tabexseriescomponents 0.0.421 → 0.0.423
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 +1442 -441
- package/dist/index.esm.js +1442 -441
- package/dist/index.umd.js +1442 -441
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -673,8 +673,8 @@ var Imagekitimagecomp = function Imagekitimagecomp(props) {
|
|
|
673
673
|
}));
|
|
674
674
|
};
|
|
675
675
|
|
|
676
|
-
function ownKeys$
|
|
677
|
-
function _objectSpread$
|
|
676
|
+
function ownKeys$2w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
677
|
+
function _objectSpread$2w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
678
678
|
var Login = function Login(props) {
|
|
679
679
|
var _css;
|
|
680
680
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -750,7 +750,7 @@ var Login = function Login(props) {
|
|
|
750
750
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
751
751
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
752
752
|
});
|
|
753
|
-
setsectionproperties(_objectSpread$
|
|
753
|
+
setsectionproperties(_objectSpread$2w({}, secpropobj));
|
|
754
754
|
}
|
|
755
755
|
}, [StatePagePropertiesContext]);
|
|
756
756
|
React.useEffect(function () {
|
|
@@ -917,9 +917,9 @@ var Login = function Login(props) {
|
|
|
917
917
|
className: "".concat(loginstyles2.form_control),
|
|
918
918
|
value: payloadobj.email,
|
|
919
919
|
onChange: function onChange(event) {
|
|
920
|
-
var temppayloadobj = _objectSpread$
|
|
920
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
921
921
|
temppayloadobj.email = event.target.value;
|
|
922
|
-
setpayloadobj(_objectSpread$
|
|
922
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
923
923
|
},
|
|
924
924
|
style: {
|
|
925
925
|
background: sectionproperties.input_bgcolor
|
|
@@ -941,9 +941,9 @@ var Login = function Login(props) {
|
|
|
941
941
|
textplaceholder: "",
|
|
942
942
|
value: payloadobj.password,
|
|
943
943
|
onChange: function onChange(event) {
|
|
944
|
-
var temppayloadobj = _objectSpread$
|
|
944
|
+
var temppayloadobj = _objectSpread$2w({}, payloadobj);
|
|
945
945
|
temppayloadobj.password = event.target.value;
|
|
946
|
-
setpayloadobj(_objectSpread$
|
|
946
|
+
setpayloadobj(_objectSpread$2w({}, temppayloadobj));
|
|
947
947
|
},
|
|
948
948
|
style: {
|
|
949
949
|
background: sectionproperties.input_bgcolor
|
|
@@ -1120,9 +1120,9 @@ var Login = function Login(props) {
|
|
|
1120
1120
|
className: "".concat(loginstyles2.form_control),
|
|
1121
1121
|
value: forgotpasswordpayload.email,
|
|
1122
1122
|
onChange: function onChange(event) {
|
|
1123
|
-
var temppayloadobj = _objectSpread$
|
|
1123
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1124
1124
|
temppayloadobj.email = event.target.value;
|
|
1125
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1125
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1126
1126
|
},
|
|
1127
1127
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
1128
1128
|
style: {
|
|
@@ -1137,9 +1137,9 @@ var Login = function Login(props) {
|
|
|
1137
1137
|
className: "".concat(loginstyles2.form_control),
|
|
1138
1138
|
value: forgotpasswordpayload.code,
|
|
1139
1139
|
onChange: function onChange(event) {
|
|
1140
|
-
var temppayloadobj = _objectSpread$
|
|
1140
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1141
1141
|
temppayloadobj.code = event.target.value;
|
|
1142
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1142
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1143
1143
|
},
|
|
1144
1144
|
style: {
|
|
1145
1145
|
background: sectionproperties.input_bgcolor
|
|
@@ -1153,9 +1153,9 @@ var Login = function Login(props) {
|
|
|
1153
1153
|
className: "".concat(loginstyles2.form_control),
|
|
1154
1154
|
value: forgotpasswordpayload.newpassword,
|
|
1155
1155
|
onChange: function onChange(event) {
|
|
1156
|
-
var temppayloadobj = _objectSpread$
|
|
1156
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1157
1157
|
temppayloadobj.newpassword = event.target.value;
|
|
1158
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1158
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1159
1159
|
},
|
|
1160
1160
|
style: {
|
|
1161
1161
|
background: sectionproperties.input_bgcolor
|
|
@@ -1169,9 +1169,9 @@ var Login = function Login(props) {
|
|
|
1169
1169
|
className: "".concat(loginstyles2.form_control),
|
|
1170
1170
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
1171
1171
|
onChange: function onChange(event) {
|
|
1172
|
-
var temppayloadobj = _objectSpread$
|
|
1172
|
+
var temppayloadobj = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1173
1173
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
1174
|
-
setforgotpasswordpayload(_objectSpread$
|
|
1174
|
+
setforgotpasswordpayload(_objectSpread$2w({}, temppayloadobj));
|
|
1175
1175
|
},
|
|
1176
1176
|
style: {
|
|
1177
1177
|
background: sectionproperties.input_bgcolor
|
|
@@ -1183,7 +1183,7 @@ var Login = function Login(props) {
|
|
|
1183
1183
|
onClick: function onClick() {
|
|
1184
1184
|
if (forgotpasswordpayload.email.length != 0) {
|
|
1185
1185
|
var runfunc = false;
|
|
1186
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
1186
|
+
var tempforgotpasswordpayload = _objectSpread$2w({}, forgotpasswordpayload);
|
|
1187
1187
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
1188
1188
|
if (forgetpasswordstage == 'verify') {
|
|
1189
1189
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -1223,7 +1223,7 @@ var Login = function Login(props) {
|
|
|
1223
1223
|
}, forgetpasswordstage == 'verify' ? langdetect == 'en' ? 'Reset password' : 'إعادة تعيين كلمة المرور' : langdetect == 'en' ? 'Send verification code' : 'أرسل رمز التحقق'))))));
|
|
1224
1224
|
};
|
|
1225
1225
|
|
|
1226
|
-
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW
|
|
1226
|
+
var css_248z$L = ".productinfo-module_variant_container__-y4Uc {\n display: flex;\n align-items: center;\n justify-content: center;\n /* min-width: 10vh;\n height: 5vh; */\n border-radius: 10px;\n background-color: #000;\n color: white;\n padding: 0 6px;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_size_variant_container__vuTAO {\n /* min-width: 5vh !important;\n max-width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important; */\n /* padding: 0 2px !important; */\n}\n.productinfo-module_variant_container__-y4Uc:hover {\n /* transform: scale(1.05); */\n}\n.productinfo-module_variant_container_active__OAhmg {\n border: 2px solid green;\n background-color: green;\n}\n.productinfo-module_color_container__c42a9 {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 4vh;\n height: 4vh;\n border: 2px solid #ccc;\n border-radius: 50%;\n overflow: hidden;\n cursor: pointer;\n transition: 0.3s;\n}\n.productinfo-module_color_container_active__Br2PW {\n padding: 10px;\n border: 2px solid var(--green);\n}\n\n.productinfo-module_color_container_active__Br2PW {\n /* display: flex;\n align-items: center;\n justify-content: center;\n content: '✓';\n color: white; */\n}\n.productinfo-module_color_container__c42a9:hover {\n /* transform: scale(1.1); */\n}\n";
|
|
1227
1227
|
var productinfostyles = {"variant_container":"productinfo-module_variant_container__-y4Uc","size_variant_container":"productinfo-module_size_variant_container__vuTAO","variant_container_active":"productinfo-module_variant_container_active__OAhmg","color_container":"productinfo-module_color_container__c42a9","color_container_active":"productinfo-module_color_container_active__Br2PW"};
|
|
1228
1228
|
styleInject(css_248z$L);
|
|
1229
1229
|
|
|
@@ -1234,11 +1234,11 @@ var css_248z$J = "@media screen and (max-width: 800px) {\n .signup-module_rig
|
|
|
1234
1234
|
var loginstyles = {"rightContainer":"signup-module_rightContainer__yEcoL","rightContainerTrans":"signup-module_rightContainerTrans__fkdBH","rightContainerText":"signup-module_rightContainerText__-pvN-","form_control":"signup-module_form_control__7s76W","anim-shadow":"signup-module_anim-shadow__CsxhG","login_input_icon":"signup-module_login_input_icon__RDTS0","form_control_border_none":"signup-module_form_control_border_none__HjUMS","disabled":"signup-module_disabled__h55ao","leftcontainer":"signup-module_leftcontainer__bqfnN","form_controltextarea":"signup-module_form_controltextarea__-LGz6","checkbox":"signup-module_checkbox__8ejBx","checkbox_label":"signup-module_checkbox_label__d84Q2","checkbox_sub":"signup-module_checkbox_sub__WQLUX","checkboxtranslated":"signup-module_checkboxtranslated__4xHR-","showpassword_input_icon":"signup-module_showpassword_input_icon__cVHRS","showpassword_input_icontrans":"signup-module_showpassword_input_icontrans__vmV5q"};
|
|
1235
1235
|
styleInject(css_248z$J);
|
|
1236
1236
|
|
|
1237
|
-
function ownKeys$
|
|
1238
|
-
function _objectSpread$
|
|
1237
|
+
function ownKeys$2v(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; }
|
|
1238
|
+
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1239
1239
|
var selectcustomStyles = {
|
|
1240
1240
|
option: function option(provided, state) {
|
|
1241
|
-
return _objectSpread$
|
|
1241
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1242
1242
|
borderBottom: '1px solid #e6e6e6',
|
|
1243
1243
|
backgroundColor: state.isSelected ? '' : '',
|
|
1244
1244
|
padding: 5,
|
|
@@ -1267,7 +1267,7 @@ var selectcustomStyles = {
|
|
|
1267
1267
|
};
|
|
1268
1268
|
var selectcustomStylesTranslated = {
|
|
1269
1269
|
option: function option(provided, state) {
|
|
1270
|
-
return _objectSpread$
|
|
1270
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1271
1271
|
borderBottom: '1px solid #e6e6e6',
|
|
1272
1272
|
backgroundColor: state.isSelected ? '' : '',
|
|
1273
1273
|
padding: 5,
|
|
@@ -1296,14 +1296,14 @@ var selectcustomStylesTranslated = {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
},
|
|
1298
1298
|
placeholder: function placeholder(provided, state) {
|
|
1299
|
-
return _objectSpread$
|
|
1299
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1300
1300
|
textAlign: 'right'
|
|
1301
1301
|
});
|
|
1302
1302
|
}
|
|
1303
1303
|
};
|
|
1304
1304
|
var defaultstyles = {
|
|
1305
1305
|
option: function option(provided, state) {
|
|
1306
|
-
return _objectSpread$
|
|
1306
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1307
1307
|
borderBottom: '1px solid #e6e6e6',
|
|
1308
1308
|
backgroundColor: state.isSelected ? '' : '',
|
|
1309
1309
|
padding: 5,
|
|
@@ -1331,7 +1331,7 @@ var defaultstyles = {
|
|
|
1331
1331
|
}), _ref;
|
|
1332
1332
|
},
|
|
1333
1333
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1334
|
-
return _objectSpread$
|
|
1334
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1335
1335
|
'&:hover': {
|
|
1336
1336
|
// color: '#eac435',
|
|
1337
1337
|
}
|
|
@@ -1340,7 +1340,7 @@ var defaultstyles = {
|
|
|
1340
1340
|
};
|
|
1341
1341
|
var defaultstylestranslated = {
|
|
1342
1342
|
option: function option(provided, state) {
|
|
1343
|
-
return _objectSpread$
|
|
1343
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1344
1344
|
borderBottom: '1px solid #e6e6e6',
|
|
1345
1345
|
backgroundColor: state.isSelected ? '' : '',
|
|
1346
1346
|
padding: 5,
|
|
@@ -1371,21 +1371,21 @@ var defaultstylestranslated = {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
},
|
|
1373
1373
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1374
|
-
return _objectSpread$
|
|
1374
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1375
1375
|
'&:hover': {
|
|
1376
1376
|
// color: '#eac435',
|
|
1377
1377
|
}
|
|
1378
1378
|
});
|
|
1379
1379
|
},
|
|
1380
1380
|
placeholder: function placeholder(provided, state) {
|
|
1381
|
-
return _objectSpread$
|
|
1381
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1382
1382
|
textAlign: 'right'
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
1386
|
var defaultstylesnone = {
|
|
1387
1387
|
option: function option(provided, state) {
|
|
1388
|
-
return _objectSpread$
|
|
1388
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1389
1389
|
borderBottom: '1px solid #e6e6e6',
|
|
1390
1390
|
backgroundColor: state.isSelected ? '' : '',
|
|
1391
1391
|
padding: 5,
|
|
@@ -1413,7 +1413,7 @@ var defaultstylesnone = {
|
|
|
1413
1413
|
};
|
|
1414
1414
|
},
|
|
1415
1415
|
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1416
|
-
return _objectSpread$
|
|
1416
|
+
return _objectSpread$2v(_objectSpread$2v({}, provided), {}, {
|
|
1417
1417
|
'&:hover': {
|
|
1418
1418
|
// color: '#eac435',
|
|
1419
1419
|
}
|
|
@@ -1435,6 +1435,10 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1435
1435
|
var sectionproperties = props.actions.sectionproperties;
|
|
1436
1436
|
props.actions.ikimagecredcontext;
|
|
1437
1437
|
var ProductInfoObj = props.actions.ProductInfoObj;
|
|
1438
|
+
var _useState = React.useState(''),
|
|
1439
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
1440
|
+
_useState2[0];
|
|
1441
|
+
var setcolorvalue = _useState2[1];
|
|
1438
1442
|
var formstyles = {
|
|
1439
1443
|
input_label_name: glamor.css({
|
|
1440
1444
|
color: sectionproperties.form_labelcolor,
|
|
@@ -1499,7 +1503,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1499
1503
|
textTransform: sectionproperties.varianttitle_texttransform,
|
|
1500
1504
|
fontSize: sectionproperties.varianttitle_fontSize + 'px'
|
|
1501
1505
|
}
|
|
1502
|
-
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1506
|
+
}, sectionproperties.showselect == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", null, lang.select), " ", '', " ", langdetect == 'en' ? item.optionname : item.optionname_ar, ":", ' ')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1503
1507
|
className: "col-lg-12 col-md-12 d-flex pb-md-3 justify-content-start align-items-start scrollhorixontalcontainer pt-1",
|
|
1504
1508
|
style: {
|
|
1505
1509
|
paddingTop: sectionproperties.showRemovebutton == 'Show' ? '1rem' : 0
|
|
@@ -1523,8 +1527,14 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1523
1527
|
onClick: function onClick() {
|
|
1524
1528
|
if (optionvaluesitem.isenabled == 1) {
|
|
1525
1529
|
selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1530
|
+
if (optionvaluesitem.valuename == '#000000') {
|
|
1531
|
+
setcolorvalue('Black');
|
|
1532
|
+
} else if (optionvaluesitem.valuename == '#c9b0a1') {
|
|
1533
|
+
setcolorvalue('Beige');
|
|
1534
|
+
}
|
|
1526
1535
|
} else {
|
|
1527
1536
|
clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
|
|
1537
|
+
setcolorvalue('');
|
|
1528
1538
|
}
|
|
1529
1539
|
},
|
|
1530
1540
|
style: {
|
|
@@ -1996,8 +2006,8 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
|
|
|
1996
2006
|
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
|
|
1997
2007
|
};
|
|
1998
2008
|
|
|
1999
|
-
function ownKeys$
|
|
2000
|
-
function _objectSpread$
|
|
2009
|
+
function ownKeys$2u(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; }
|
|
2010
|
+
function _objectSpread$2u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2001
2011
|
var ProductExtraFields = function ProductExtraFields(props) {
|
|
2002
2012
|
var _fetchProductInfoQuer, _css, _fetchProductInfoQuer2;
|
|
2003
2013
|
props.actions.lang;
|
|
@@ -2052,9 +2062,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
|
|
|
2052
2062
|
});
|
|
2053
2063
|
}
|
|
2054
2064
|
setproductextravaluesarray(_toConsumableArray__default["default"](tempproductextravaluesarray));
|
|
2055
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2065
|
+
var tempaddtocardpayloadobj = _objectSpread$2u({}, addtocardpayloadobj);
|
|
2056
2066
|
tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
|
|
2057
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2067
|
+
setaddtocardpayloadobj(_objectSpread$2u({}, tempaddtocardpayloadobj));
|
|
2058
2068
|
};
|
|
2059
2069
|
var formstyles = {
|
|
2060
2070
|
input_label_name: glamor.css({
|
|
@@ -2269,8 +2279,8 @@ var DescriptionContent = function DescriptionContent(props) {
|
|
|
2269
2279
|
})))));
|
|
2270
2280
|
};
|
|
2271
2281
|
|
|
2272
|
-
function ownKeys$
|
|
2273
|
-
function _objectSpread$
|
|
2282
|
+
function ownKeys$2t(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; }
|
|
2283
|
+
function _objectSpread$2t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2274
2284
|
var Product_itemtype = function Product_itemtype(props) {
|
|
2275
2285
|
var _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40;
|
|
2276
2286
|
var lang = props.actions.lang;
|
|
@@ -2817,11 +2827,11 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2817
2827
|
}, sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2818
2828
|
className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
2819
2829
|
onClick: function onClick() {
|
|
2820
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2830
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2821
2831
|
if (tempaddtocardpayloadobj.quantity > 0) {
|
|
2822
2832
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
|
|
2823
2833
|
}
|
|
2824
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2834
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2825
2835
|
}
|
|
2826
2836
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2827
2837
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-down' : 'h-100 allcentered',
|
|
@@ -2835,9 +2845,9 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2835
2845
|
}, addtocardpayloadobj.quantity), sectionproperties.quantitybtneditable == 'No' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2836
2846
|
className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
2837
2847
|
onClick: function onClick() {
|
|
2838
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2848
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2839
2849
|
tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
|
|
2840
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2850
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2841
2851
|
}
|
|
2842
2852
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
2843
2853
|
className: sectionproperties.quantityiconstyle == 'Arrows' ? 'fa fa-chevron-up' : 'h-100 allcentered'
|
|
@@ -2862,13 +2872,13 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2862
2872
|
value: addtocardpayloadobj.quantity,
|
|
2863
2873
|
onChange: function onChange(event) {
|
|
2864
2874
|
if (event.target.value == NaN || event.target.value == undefined || event.target.value == null || event.target.value == '') {
|
|
2865
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2875
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2866
2876
|
tempaddtocardpayloadobj.quantity = 1;
|
|
2867
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2877
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2868
2878
|
} else {
|
|
2869
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
2879
|
+
var tempaddtocardpayloadobj = _objectSpread$2t({}, addtocardpayloadobj);
|
|
2870
2880
|
tempaddtocardpayloadobj.quantity = parseInt(event.target.value);
|
|
2871
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
2881
|
+
setaddtocardpayloadobj(_objectSpread$2t({}, tempaddtocardpayloadobj));
|
|
2872
2882
|
}
|
|
2873
2883
|
}
|
|
2874
2884
|
})), sectionproperties.cartbtnalone == 'Besides Other Buttons' && sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer27 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.data) === null || _fetchProductInfoQuer27 === void 0 || (_fetchProductInfoQuer27 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
@@ -3171,8 +3181,8 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
3171
3181
|
}, ShareButtonsContainer()))))))));
|
|
3172
3182
|
};
|
|
3173
3183
|
|
|
3174
|
-
function ownKeys$
|
|
3175
|
-
function _objectSpread$
|
|
3184
|
+
function ownKeys$2s(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; }
|
|
3185
|
+
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3176
3186
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
3177
3187
|
var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer13, _fetchProductInfoQuer14;
|
|
3178
3188
|
var langdetect = props.actions.langdetect;
|
|
@@ -3213,7 +3223,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3213
3223
|
slots = _useState6[0],
|
|
3214
3224
|
setslots = _useState6[1];
|
|
3215
3225
|
React.useEffect(function () {
|
|
3216
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3226
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3217
3227
|
item_type: 'service'
|
|
3218
3228
|
}));
|
|
3219
3229
|
}, [tabsarray]);
|
|
@@ -3225,16 +3235,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3225
3235
|
if (diffDays.toString() != 'NaN') {
|
|
3226
3236
|
if (date2 <= date1) {
|
|
3227
3237
|
NotificationManager.warning('', 'Please choose another date.');
|
|
3228
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3238
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3229
3239
|
quantity: 0
|
|
3230
3240
|
}));
|
|
3231
3241
|
} else {
|
|
3232
3242
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
|
|
3233
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3243
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3234
3244
|
quantity: diffDays
|
|
3235
3245
|
}));
|
|
3236
3246
|
} else {
|
|
3237
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3247
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3238
3248
|
quantity: 0
|
|
3239
3249
|
}));
|
|
3240
3250
|
NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
|
|
@@ -3370,7 +3380,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3370
3380
|
min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer3 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.data) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.productinfo) === null || _fetchProductInfoQuer3 === void 0 || (_fetchProductInfoQuer3 = _fetchProductInfoQuer3.serviceinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.reservationstarts,
|
|
3371
3381
|
max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.serviceinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.reservationends,
|
|
3372
3382
|
onChange: function onChange(event) {
|
|
3373
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3383
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3374
3384
|
from: event.target.value
|
|
3375
3385
|
}));
|
|
3376
3386
|
}
|
|
@@ -3390,7 +3400,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3390
3400
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3391
3401
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3392
3402
|
onChange: function onChange(event) {
|
|
3393
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3403
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3394
3404
|
to: event.target.value
|
|
3395
3405
|
}));
|
|
3396
3406
|
}
|
|
@@ -3410,7 +3420,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3410
3420
|
min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
|
|
3411
3421
|
max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
|
|
3412
3422
|
onChange: function onChange(event) {
|
|
3413
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3423
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3414
3424
|
date: event.target.value
|
|
3415
3425
|
}));
|
|
3416
3426
|
setcurrentmutatestate('/fetchserviceslots');
|
|
@@ -3461,7 +3471,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3461
3471
|
color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
|
|
3462
3472
|
},
|
|
3463
3473
|
onClick: function onClick() {
|
|
3464
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3474
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3465
3475
|
time: item.slot
|
|
3466
3476
|
}));
|
|
3467
3477
|
}
|
|
@@ -3470,7 +3480,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3470
3480
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
3471
3481
|
"class": TabsStyles.booknow_btn_resp + ' allcentered ',
|
|
3472
3482
|
onClick: function onClick() {
|
|
3473
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3483
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3474
3484
|
time: item.slot
|
|
3475
3485
|
}));
|
|
3476
3486
|
}
|
|
@@ -3544,7 +3554,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
3544
3554
|
"class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
|
|
3545
3555
|
style: {},
|
|
3546
3556
|
onClick: function onClick() {
|
|
3547
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
3557
|
+
setaddtocardpayloadobj(_objectSpread$2s(_objectSpread$2s({}, addtocardpayloadobj), {}, {
|
|
3548
3558
|
time: item.slot
|
|
3549
3559
|
}));
|
|
3550
3560
|
}
|
|
@@ -4248,8 +4258,8 @@ var Service_itemtype = function Service_itemtype(props) {
|
|
|
4248
4258
|
}, StoreInfoprops()))));
|
|
4249
4259
|
};
|
|
4250
4260
|
|
|
4251
|
-
function ownKeys$
|
|
4252
|
-
function _objectSpread$
|
|
4261
|
+
function ownKeys$2r(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; }
|
|
4262
|
+
function _objectSpread$2r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4253
4263
|
var AddReview = function AddReview(props) {
|
|
4254
4264
|
var _css;
|
|
4255
4265
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -4301,7 +4311,7 @@ var AddReview = function AddReview(props) {
|
|
|
4301
4311
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4302
4312
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4303
4313
|
});
|
|
4304
|
-
setsectionproperties(_objectSpread$
|
|
4314
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4305
4315
|
}
|
|
4306
4316
|
}, [StatePagePropertiesContext]);
|
|
4307
4317
|
React.useEffect(function () {
|
|
@@ -4310,7 +4320,7 @@ var AddReview = function AddReview(props) {
|
|
|
4310
4320
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4311
4321
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4312
4322
|
});
|
|
4313
|
-
setsectionproperties(_objectSpread$
|
|
4323
|
+
setsectionproperties(_objectSpread$2r({}, secpropobj));
|
|
4314
4324
|
}, [pageindexcontext]);
|
|
4315
4325
|
var reviewstyles = {
|
|
4316
4326
|
submitreviewbtn: glamor.css({
|
|
@@ -4436,9 +4446,9 @@ var AddReview = function AddReview(props) {
|
|
|
4436
4446
|
}),
|
|
4437
4447
|
activeColor: "#ffd700",
|
|
4438
4448
|
onChange: function onChange(event) {
|
|
4439
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4449
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4440
4450
|
tempreviewpayloadobj.reviewrate = event;
|
|
4441
|
-
setreviewpayloadobj(_objectSpread$
|
|
4451
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4442
4452
|
}
|
|
4443
4453
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4444
4454
|
"class": "col-lg-12"
|
|
@@ -4452,9 +4462,9 @@ var AddReview = function AddReview(props) {
|
|
|
4452
4462
|
"class": reviewstyles.form_control,
|
|
4453
4463
|
value: reviewpayloadobj.reviewname,
|
|
4454
4464
|
onChange: function onChange(event) {
|
|
4455
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4465
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4456
4466
|
tempreviewpayloadobj.reviewname = event.target.value;
|
|
4457
|
-
setreviewpayloadobj(_objectSpread$
|
|
4467
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4458
4468
|
}
|
|
4459
4469
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4460
4470
|
"class": "col-lg-12 mb-4"
|
|
@@ -4464,9 +4474,9 @@ var AddReview = function AddReview(props) {
|
|
|
4464
4474
|
"class": reviewstyles.form_control,
|
|
4465
4475
|
value: reviewpayloadobj.reviewtitle,
|
|
4466
4476
|
onChange: function onChange(event) {
|
|
4467
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4477
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4468
4478
|
tempreviewpayloadobj.reviewtitle = event.target.value;
|
|
4469
|
-
setreviewpayloadobj(_objectSpread$
|
|
4479
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4470
4480
|
}
|
|
4471
4481
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4472
4482
|
"class": "col-lg-12 mb-4"
|
|
@@ -4477,9 +4487,9 @@ var AddReview = function AddReview(props) {
|
|
|
4477
4487
|
"class": reviewstyles.form_control + ' form_control ',
|
|
4478
4488
|
value: reviewpayloadobj.reviewbody,
|
|
4479
4489
|
onChange: function onChange(event) {
|
|
4480
|
-
var tempreviewpayloadobj = _objectSpread$
|
|
4490
|
+
var tempreviewpayloadobj = _objectSpread$2r({}, reviewpayloadobj);
|
|
4481
4491
|
tempreviewpayloadobj.reviewbody = event.target.value;
|
|
4482
|
-
setreviewpayloadobj(_objectSpread$
|
|
4492
|
+
setreviewpayloadobj(_objectSpread$2r({}, tempreviewpayloadobj));
|
|
4483
4493
|
},
|
|
4484
4494
|
style: {
|
|
4485
4495
|
resize: 'none',
|
|
@@ -4514,8 +4524,8 @@ var AddReview = function AddReview(props) {
|
|
|
4514
4524
|
}, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
|
|
4515
4525
|
};
|
|
4516
4526
|
|
|
4517
|
-
function ownKeys$
|
|
4518
|
-
function _objectSpread$
|
|
4527
|
+
function ownKeys$2q(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4528
|
+
function _objectSpread$2q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4519
4529
|
var ProductReviews = function ProductReviews(props) {
|
|
4520
4530
|
var _fetchProductInfoQuer, _fetchProductInfoQuer3, _fetchProductInfoQuer4;
|
|
4521
4531
|
props.actions.lang;
|
|
@@ -4749,7 +4759,7 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4749
4759
|
size: "md",
|
|
4750
4760
|
"class": "reviewmodal"
|
|
4751
4761
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement(AddReview, {
|
|
4752
|
-
actions: _objectSpread$
|
|
4762
|
+
actions: _objectSpread$2q(_objectSpread$2q({}, actions), {}, {
|
|
4753
4763
|
productid: productid,
|
|
4754
4764
|
canuserreview: canuserreview,
|
|
4755
4765
|
addreviewcallback: addreviewcallback
|
|
@@ -4757,8 +4767,8 @@ var ProductReviews = function ProductReviews(props) {
|
|
|
4757
4767
|
}))));
|
|
4758
4768
|
};
|
|
4759
4769
|
|
|
4760
|
-
function ownKeys$
|
|
4761
|
-
function _objectSpread$
|
|
4770
|
+
function ownKeys$2p(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; }
|
|
4771
|
+
function _objectSpread$2p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4762
4772
|
var Productinfo = function Productinfo(props) {
|
|
4763
4773
|
var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
|
|
4764
4774
|
var _useState = React.useState({}),
|
|
@@ -4787,7 +4797,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4787
4797
|
setfetchProductInfoQueryContext = _useState4[1];
|
|
4788
4798
|
React.useEffect(function () {
|
|
4789
4799
|
if (fetchProductInfoQueryContextProps.isSuccess) {
|
|
4790
|
-
setProductInfoObj(_objectSpread$
|
|
4800
|
+
setProductInfoObj(_objectSpread$2p({}, fetchProductInfoQueryContextProps.data));
|
|
4791
4801
|
setfetchProductInfoQueryContext(fetchProductInfoQueryContextProps);
|
|
4792
4802
|
}
|
|
4793
4803
|
}, [props.actions, props, fetchProductInfoQueryContextProps.data, fetchProductInfoQueryContextProps.isSuccess]);
|
|
@@ -4899,7 +4909,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4899
4909
|
StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
4900
4910
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4901
4911
|
});
|
|
4902
|
-
setsectionproperties(_objectSpread$
|
|
4912
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4903
4913
|
setTabIndex(0);
|
|
4904
4914
|
settabname('descriptiontab');
|
|
4905
4915
|
if (sectionproperties.prodCatShow == 'Hide' || sectionproperties.descriptionposition != 'Bottom') {
|
|
@@ -4939,7 +4949,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
4939
4949
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
4940
4950
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
4941
4951
|
});
|
|
4942
|
-
setsectionproperties(_objectSpread$
|
|
4952
|
+
setsectionproperties(_objectSpread$2p({}, secpropobj));
|
|
4943
4953
|
}, [pageindexcontext]);
|
|
4944
4954
|
React.useEffect(function () {
|
|
4945
4955
|
if (productidparam == undefined) {
|
|
@@ -4959,12 +4969,12 @@ var Productinfo = function Productinfo(props) {
|
|
|
4959
4969
|
}
|
|
4960
4970
|
}, [ProductInfoObj, isloaded]);
|
|
4961
4971
|
var productidassigner = function productidassigner(productid) {
|
|
4962
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
4972
|
+
var tempFetchQueriesEngineContext = _objectSpread$2p({}, FetchQueriesEngineContext);
|
|
4963
4973
|
tempFetchQueriesEngineContext.fetchproductinfo = true;
|
|
4964
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
4965
|
-
var tempfetchproductinfoObjContext = _objectSpread$
|
|
4974
|
+
setFetchQueriesEngineContext(_objectSpread$2p({}, tempFetchQueriesEngineContext));
|
|
4975
|
+
var tempfetchproductinfoObjContext = _objectSpread$2p({}, fetchproductinfoObjContext);
|
|
4966
4976
|
tempfetchproductinfoObjContext.productid = productid;
|
|
4967
|
-
setfetchproductinfoObjContext(_objectSpread$
|
|
4977
|
+
setfetchproductinfoObjContext(_objectSpread$2p({}, tempfetchproductinfoObjContext));
|
|
4968
4978
|
};
|
|
4969
4979
|
React.useEffect(function () {
|
|
4970
4980
|
if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
|
|
@@ -5001,9 +5011,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
5001
5011
|
}
|
|
5002
5012
|
setproductimagesarray([].concat(tempproductimagesarray));
|
|
5003
5013
|
variantchecker();
|
|
5004
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5014
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5005
5015
|
tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
|
|
5006
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5016
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5007
5017
|
setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
|
|
5008
5018
|
if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer4 === void 0 || (_fetchProductInfoQuer4 = _fetchProductInfoQuer4.productinfo) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : _fetchProductInfoQuer4.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer5 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.data) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer5 === void 0 || (_fetchProductInfoQuer5 = _fetchProductInfoQuer5.maintagid) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : _fetchProductInfoQuer5.length) != 0) {
|
|
5009
5019
|
GeneralAPIMutationContext.mutate({
|
|
@@ -5050,7 +5060,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5050
5060
|
});
|
|
5051
5061
|
variantchecker();
|
|
5052
5062
|
variantcompleting();
|
|
5053
|
-
setProductInfoObj(_objectSpread$
|
|
5063
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5054
5064
|
};
|
|
5055
5065
|
var variantchecker = function variantchecker() {
|
|
5056
5066
|
var productarr = ProductInfoObj;
|
|
@@ -5124,16 +5134,16 @@ var Productinfo = function Productinfo(props) {
|
|
|
5124
5134
|
});
|
|
5125
5135
|
}
|
|
5126
5136
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5127
|
-
setProductInfoObj(_objectSpread$
|
|
5137
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5128
5138
|
setisloaded(true);
|
|
5129
5139
|
}
|
|
5130
5140
|
}
|
|
5131
5141
|
};
|
|
5132
5142
|
var variantcompleting = function variantcompleting() {
|
|
5133
5143
|
setvariantindexcompleted('');
|
|
5134
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5144
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5135
5145
|
tempaddtocardpayloadobj.variantid = '';
|
|
5136
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5146
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5137
5147
|
var productarr = ProductInfoObj;
|
|
5138
5148
|
var selectedoptionsvalues = [];
|
|
5139
5149
|
productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
|
|
@@ -5166,7 +5176,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5166
5176
|
NotificationManager.warning('', 'Variant Not Found');
|
|
5167
5177
|
} else {
|
|
5168
5178
|
variantid = variantobj.variantid;
|
|
5169
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5179
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5170
5180
|
tempaddtocardpayloadobj.variantid = variantid;
|
|
5171
5181
|
var variantimageindex = 0;
|
|
5172
5182
|
productimagesarray === null || productimagesarray === void 0 || productimagesarray.forEach(function (tempimageitem, tempimageindex) {
|
|
@@ -5182,14 +5192,14 @@ var Productinfo = function Productinfo(props) {
|
|
|
5182
5192
|
setvariantsku(variantobj === null || variantobj === void 0 ? void 0 : variantobj.sku);
|
|
5183
5193
|
// alert(variantsku);
|
|
5184
5194
|
setcurrentshowingimageindex(variantimageindex);
|
|
5185
|
-
setaddtocardpayloadobj(_objectSpread$
|
|
5195
|
+
setaddtocardpayloadobj(_objectSpread$2p({}, tempaddtocardpayloadobj));
|
|
5186
5196
|
setvariantindexcompleted(ProductVariantIndex);
|
|
5187
5197
|
setvariantindex(ProductVariantIndex);
|
|
5188
5198
|
}
|
|
5189
5199
|
}
|
|
5190
5200
|
});
|
|
5191
5201
|
// queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
|
|
5192
|
-
setProductInfoObj(_objectSpread$
|
|
5202
|
+
setProductInfoObj(_objectSpread$2p({}, productarr));
|
|
5193
5203
|
};
|
|
5194
5204
|
var addtocartfunc = function addtocartfunc(forcetocheckout) {
|
|
5195
5205
|
var runfunc = false;
|
|
@@ -5210,7 +5220,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5210
5220
|
}
|
|
5211
5221
|
if (runfunc == true) {
|
|
5212
5222
|
var _fetchProductInfoQuer7, _fetchProductInfoQuer8;
|
|
5213
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5223
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5214
5224
|
tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer7 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.data) === null || _fetchProductInfoQuer7 === void 0 || (_fetchProductInfoQuer7 = _fetchProductInfoQuer7.productinfo) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.isproductforcedtocheckout;
|
|
5215
5225
|
tempaddtocardpayloadobj.vendorid = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer8 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.data) === null || _fetchProductInfoQuer8 === void 0 || (_fetchProductInfoQuer8 = _fetchProductInfoQuer8.productinfo) === null || _fetchProductInfoQuer8 === void 0 ? void 0 : _fetchProductInfoQuer8.vendorproviderid;
|
|
5216
5226
|
if (forcetocheckoutvalue != undefined) {
|
|
@@ -5234,7 +5244,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
5234
5244
|
};
|
|
5235
5245
|
var validateextrafields = function validateextrafields() {
|
|
5236
5246
|
var _fetchProductInfoQuer15;
|
|
5237
|
-
var tempaddtocardpayloadobj = _objectSpread$
|
|
5247
|
+
var tempaddtocardpayloadobj = _objectSpread$2p({}, addtocardpayloadobj);
|
|
5238
5248
|
var status = false;
|
|
5239
5249
|
var reason = '';
|
|
5240
5250
|
var missingitemsfound = [];
|
|
@@ -6273,7 +6283,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6273
6283
|
}))), /*#__PURE__*/React__default["default"].createElement(material.Box, {
|
|
6274
6284
|
"class": "w-100 mt-5 mb-4"
|
|
6275
6285
|
}, tabname == 'descriptiontab' && sectionproperties.descriptionposition == 'Bottom' && /*#__PURE__*/React__default["default"].createElement(DescriptionContent, {
|
|
6276
|
-
actions: _objectSpread$
|
|
6286
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6277
6287
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6278
6288
|
sectionproperties: sectionproperties
|
|
6279
6289
|
})
|
|
@@ -6321,7 +6331,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
6321
6331
|
})), tabname == 'reviewstab' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6322
6332
|
"class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
|
|
6323
6333
|
}, /*#__PURE__*/React__default["default"].createElement(ProductReviews, {
|
|
6324
|
-
actions: _objectSpread$
|
|
6334
|
+
actions: _objectSpread$2p(_objectSpread$2p({}, actions), {}, {
|
|
6325
6335
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
6326
6336
|
sectionproperties: sectionproperties
|
|
6327
6337
|
})
|
|
@@ -6338,8 +6348,8 @@ var css_248z$I = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
|
|
|
6338
6348
|
var staticroutersidenav = {"vertical_nav_menu":"staticroutersidenav-module_vertical_nav_menu__p0mIj","sidebar_item":"staticroutersidenav-module_sidebar_item__3F9Q1","sidenav_page_name":"staticroutersidenav-module_sidenav_page_name__46AJV","sidenav_icon_cont":"staticroutersidenav-module_sidenav_icon_cont__O8YSe","metismenu_icon":"staticroutersidenav-module_metismenu_icon__EcRZ1","sidenav_active":"staticroutersidenav-module_sidenav_active__IjRo0","horizontal_nav_menu":"staticroutersidenav-module_horizontal_nav_menu__6V32S","sidebar_itemlastchild":"staticroutersidenav-module_sidebar_itemlastchild__9O187"};
|
|
6339
6349
|
styleInject(css_248z$I);
|
|
6340
6350
|
|
|
6341
|
-
function ownKeys$
|
|
6342
|
-
function _objectSpread$
|
|
6351
|
+
function ownKeys$2o(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; }
|
|
6352
|
+
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6343
6353
|
var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
6344
6354
|
var _useState = React.useState(props.currentpageprops),
|
|
6345
6355
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -6375,7 +6385,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6375
6385
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
6376
6386
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6377
6387
|
});
|
|
6378
|
-
setsectionproperties(_objectSpread$
|
|
6388
|
+
setsectionproperties(_objectSpread$2o({}, secpropobj));
|
|
6379
6389
|
}
|
|
6380
6390
|
}, [CurrentPageId]);
|
|
6381
6391
|
var styles = {
|
|
@@ -6541,8 +6551,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
|
|
|
6541
6551
|
}))))));
|
|
6542
6552
|
};
|
|
6543
6553
|
|
|
6544
|
-
function ownKeys$
|
|
6545
|
-
function _objectSpread$
|
|
6554
|
+
function ownKeys$2n(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; }
|
|
6555
|
+
function _objectSpread$2n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6546
6556
|
var Ordershistory = function Ordershistory(props) {
|
|
6547
6557
|
var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue2, _fetchorderhistoryQue3, _fetchorderhistoryQue4, _fetchorderhistoryQue5;
|
|
6548
6558
|
var lang = props.actions.lang;
|
|
@@ -6595,9 +6605,9 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6595
6605
|
setorderindex = _useState14[1];
|
|
6596
6606
|
React.useEffect(function () {
|
|
6597
6607
|
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
|
|
6598
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
6608
|
+
var tempFetchQueriesEngineContext = _objectSpread$2n({}, FetchQueriesEngineContext);
|
|
6599
6609
|
tempFetchQueriesEngineContext.orderhistory = true;
|
|
6600
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
6610
|
+
setFetchQueriesEngineContext(_objectSpread$2n({}, tempFetchQueriesEngineContext));
|
|
6601
6611
|
}
|
|
6602
6612
|
}, []);
|
|
6603
6613
|
var _useState15 = React.useState(''),
|
|
@@ -6618,7 +6628,7 @@ var Ordershistory = function Ordershistory(props) {
|
|
|
6618
6628
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
6619
6629
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
6620
6630
|
});
|
|
6621
|
-
setsectionproperties(_objectSpread$
|
|
6631
|
+
setsectionproperties(_objectSpread$2n({}, secpropobj));
|
|
6622
6632
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
6623
6633
|
var orderhistory_cssstyles = {
|
|
6624
6634
|
variantcontainer: glamor.css({
|
|
@@ -7569,8 +7579,8 @@ var css_248z$H = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
|
|
|
7569
7579
|
var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
|
|
7570
7580
|
styleInject(css_248z$H);
|
|
7571
7581
|
|
|
7572
|
-
function ownKeys$
|
|
7573
|
-
function _objectSpread$
|
|
7582
|
+
function ownKeys$2m(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; }
|
|
7583
|
+
function _objectSpread$2m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7574
7584
|
var Wishlist = function Wishlist(props) {
|
|
7575
7585
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
7576
7586
|
var lang = props.actions.lang;
|
|
@@ -7598,13 +7608,13 @@ var Wishlist = function Wishlist(props) {
|
|
|
7598
7608
|
StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
|
|
7599
7609
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7600
7610
|
});
|
|
7601
|
-
setsectionproperties(_objectSpread$
|
|
7611
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7602
7612
|
}
|
|
7603
7613
|
}, [StatePagePropertiesContext]);
|
|
7604
7614
|
React.useEffect(function () {
|
|
7605
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
7615
|
+
var tempFetchQueriesEngineContext = _objectSpread$2m({}, FetchQueriesEngineContext);
|
|
7606
7616
|
tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
|
|
7607
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
7617
|
+
setFetchQueriesEngineContext(_objectSpread$2m({}, tempFetchQueriesEngineContext));
|
|
7608
7618
|
}, []);
|
|
7609
7619
|
React.useEffect(function () {
|
|
7610
7620
|
if (Object.keys(StatePagePropertiesContext).length != 0) {
|
|
@@ -7613,7 +7623,7 @@ var Wishlist = function Wishlist(props) {
|
|
|
7613
7623
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
7614
7624
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
7615
7625
|
});
|
|
7616
|
-
setsectionproperties(_objectSpread$
|
|
7626
|
+
setsectionproperties(_objectSpread$2m({}, secpropobj));
|
|
7617
7627
|
}
|
|
7618
7628
|
}, [StatePagePropertiesContext]);
|
|
7619
7629
|
var wishlist_cssstyles = {
|
|
@@ -8022,8 +8032,8 @@ var Wishlist = function Wishlist(props) {
|
|
|
8022
8032
|
})));
|
|
8023
8033
|
};
|
|
8024
8034
|
|
|
8025
|
-
function ownKeys$
|
|
8026
|
-
function _objectSpread$
|
|
8035
|
+
function ownKeys$2l(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; }
|
|
8036
|
+
function _objectSpread$2l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2l(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8027
8037
|
var Viewcart = function Viewcart(props) {
|
|
8028
8038
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue7, _fetchcustomercartQue8;
|
|
8029
8039
|
var lang = props.actions.lang;
|
|
@@ -8055,7 +8065,7 @@ var Viewcart = function Viewcart(props) {
|
|
|
8055
8065
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
8056
8066
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8057
8067
|
});
|
|
8058
|
-
setsectionproperties(_objectSpread$
|
|
8068
|
+
setsectionproperties(_objectSpread$2l({}, secpropobj));
|
|
8059
8069
|
}
|
|
8060
8070
|
}, [StatePagePropertiesContext]);
|
|
8061
8071
|
React.useEffect(function () {
|
|
@@ -8643,8 +8653,8 @@ var css_248z$G = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
|
|
|
8643
8653
|
var formstyles = {"form_control":"form-module_form_control__4-RGw","textarea":"form-module_textarea__zG0ed","form_control_border_none":"form-module_form_control_border_none__TJvdZ","disabled":"form-module_disabled__AtvSI","input_label_name":"form-module_input_label_name__416wN","input_label_name-bolder":"form-module_input_label_name-bolder__UQn0a","input_icon":"form-module_input_icon__X-CzC","radiobtn_label":"form-module_radiobtn_label__-4Hoi","text-grey":"form-module_text-grey__JdZMY","radiobtn_label_translated":"form-module_radiobtn_label_translated__WN5Jj","checkbox":"form-module_checkbox__XPkWy","checkbox_label":"form-module_checkbox_label__VvcKs","checkbox_sub":"form-module_checkbox_sub__QWYil","checkboxtranslated":"form-module_checkboxtranslated__zvEV-"};
|
|
8644
8654
|
styleInject(css_248z$G);
|
|
8645
8655
|
|
|
8646
|
-
function ownKeys$
|
|
8647
|
-
function _objectSpread$
|
|
8656
|
+
function ownKeys$2k(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; }
|
|
8657
|
+
function _objectSpread$2k(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2k(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2k(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8648
8658
|
var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
8649
8659
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8650
8660
|
});
|
|
@@ -8703,7 +8713,7 @@ var Checkout = function Checkout(props) {
|
|
|
8703
8713
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
8704
8714
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
8705
8715
|
});
|
|
8706
|
-
setsectionproperties(_objectSpread$
|
|
8716
|
+
setsectionproperties(_objectSpread$2k({}, secpropobj));
|
|
8707
8717
|
}, [props.actions.StatePagePropertiesContext]);
|
|
8708
8718
|
React.useEffect(function () {
|
|
8709
8719
|
var Canorder = false;
|
|
@@ -8723,10 +8733,10 @@ var Checkout = function Checkout(props) {
|
|
|
8723
8733
|
}
|
|
8724
8734
|
if (Canorder == true) {
|
|
8725
8735
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7;
|
|
8726
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
8736
|
+
var tempFetchQueriesEngineContext = _objectSpread$2k({}, FetchQueriesEngineContext);
|
|
8727
8737
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
8728
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
8729
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
8738
|
+
setFetchQueriesEngineContext(_objectSpread$2k({}, tempFetchQueriesEngineContext));
|
|
8739
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
8730
8740
|
if (
|
|
8731
8741
|
// Aya
|
|
8732
8742
|
!fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart.countryid) != null &&
|
|
@@ -8743,7 +8753,7 @@ var Checkout = function Checkout(props) {
|
|
|
8743
8753
|
var _fetchcustomercartQue8;
|
|
8744
8754
|
tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue8 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue8 === void 0 || (_fetchcustomercartQue8 = _fetchcustomercartQue8.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart.stateid;
|
|
8745
8755
|
}
|
|
8746
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
8756
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
8747
8757
|
} else {
|
|
8748
8758
|
// NotificationManager.warning('', lang.pleaselogintocheckout);
|
|
8749
8759
|
routingcountext(StaticPagesLinksContext.Login);
|
|
@@ -9610,10 +9620,10 @@ var Checkout = function Checkout(props) {
|
|
|
9610
9620
|
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.countryid);
|
|
9611
9621
|
}),
|
|
9612
9622
|
onChange: function onChange(option) {
|
|
9613
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9623
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9614
9624
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
9615
9625
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
9616
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9626
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9617
9627
|
cartinfoupdater('countryid', option.id);
|
|
9618
9628
|
},
|
|
9619
9629
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -9658,10 +9668,10 @@ var Checkout = function Checkout(props) {
|
|
|
9658
9668
|
onChange: function onChange(option) {
|
|
9659
9669
|
var _fetchcustomercartQue60;
|
|
9660
9670
|
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid.length) != 0) {
|
|
9661
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
9671
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2k({}, FetchTabexStatesPayloadobjContext);
|
|
9662
9672
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
9663
9673
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
9664
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
9674
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2k({}, tempFetchTabexStatesPayloadobjContext));
|
|
9665
9675
|
cartinfoupdater('stateid', option.id);
|
|
9666
9676
|
} else {
|
|
9667
9677
|
NotificationManager.warning('', 'Please Choose Country Or State');
|
|
@@ -10025,8 +10035,8 @@ var Checkout = function Checkout(props) {
|
|
|
10025
10035
|
}, Mycart())))));
|
|
10026
10036
|
};
|
|
10027
10037
|
|
|
10028
|
-
function ownKeys$
|
|
10029
|
-
function _objectSpread$
|
|
10038
|
+
function ownKeys$2j(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; }
|
|
10039
|
+
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10030
10040
|
var VendorPage = function VendorPage(props) {
|
|
10031
10041
|
var _useState = React.useState(''),
|
|
10032
10042
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -10059,7 +10069,7 @@ var VendorPage = function VendorPage(props) {
|
|
|
10059
10069
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
10060
10070
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
10061
10071
|
});
|
|
10062
|
-
setsectionproperties(_objectSpread$
|
|
10072
|
+
setsectionproperties(_objectSpread$2j({}, secpropobj));
|
|
10063
10073
|
}
|
|
10064
10074
|
}, [StatePagePropertiesContext]);
|
|
10065
10075
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -10182,8 +10192,8 @@ var VendorPage = function VendorPage(props) {
|
|
|
10182
10192
|
})));
|
|
10183
10193
|
};
|
|
10184
10194
|
|
|
10185
|
-
function ownKeys$
|
|
10186
|
-
function _objectSpread$
|
|
10195
|
+
function ownKeys$2i(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; }
|
|
10196
|
+
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10187
10197
|
var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
10188
10198
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
10189
10199
|
});
|
|
@@ -10293,46 +10303,46 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10293
10303
|
}
|
|
10294
10304
|
}, [fetchAuthorizationQueryContext.isSuccess]);
|
|
10295
10305
|
React.useEffect(function () {
|
|
10296
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10306
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10297
10307
|
tempFetchQueriesEngineContext.institutecustomerinfosignup = true;
|
|
10298
10308
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
10299
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
10300
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
10309
|
+
setFetchQueriesEngineContext(_objectSpread$2i({}, tempFetchQueriesEngineContext));
|
|
10310
|
+
var tempFetchQueriesEngineContext = _objectSpread$2i({}, FetchQueriesEngineContext);
|
|
10301
10311
|
}, []);
|
|
10302
10312
|
React.useEffect(function () {
|
|
10303
10313
|
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
10304
|
-
setsectionproperties(_objectSpread$
|
|
10314
|
+
setsectionproperties(_objectSpread$2i({}, props.sectionpropertiesprops));
|
|
10305
10315
|
}
|
|
10306
10316
|
}, [props.sectionpropertiesprops]);
|
|
10307
10317
|
React.useEffect(function () {
|
|
10308
10318
|
if (fetchinstitutecustomerinfosignupQueryContext.isSuccess) {
|
|
10309
10319
|
if (authdetailsContext.loggedin == true) {
|
|
10310
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10311
|
-
setpayloadobj(_objectSpread$
|
|
10312
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10320
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, fetchinstitutecustomerinfosignupQueryContext.data.data.customerinfo);
|
|
10321
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10322
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10313
10323
|
if (tempcustomerinfoobj.countryid != null) {
|
|
10314
10324
|
tempFetchTabexStatesPayloadobjContext.country_id = tempcustomerinfoobj.countryid;
|
|
10315
10325
|
}
|
|
10316
10326
|
if (tempcustomerinfoobj.stateid != null) {
|
|
10317
10327
|
tempFetchTabexStatesPayloadobjContext.state_id = tempcustomerinfoobj.stateid;
|
|
10318
10328
|
}
|
|
10319
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10329
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10320
10330
|
setdataloaded(true);
|
|
10321
10331
|
} else {
|
|
10322
10332
|
var _fetchinstitutecustom;
|
|
10323
|
-
var tempcustomerinfoobj = _objectSpread$
|
|
10333
|
+
var tempcustomerinfoobj = _objectSpread$2i({}, payloadobj);
|
|
10324
10334
|
if (Array.isArray(fetchinstitutecustomerinfosignupQueryContext === null || fetchinstitutecustomerinfosignupQueryContext === void 0 || (_fetchinstitutecustom = fetchinstitutecustomerinfosignupQueryContext.data) === null || _fetchinstitutecustom === void 0 || (_fetchinstitutecustom = _fetchinstitutecustom.data) === null || _fetchinstitutecustom === void 0 ? void 0 : _fetchinstitutecustom.instsignupformvalues)) {
|
|
10325
10335
|
tempcustomerinfoobj.instsignupformvalues = _toConsumableArray__default["default"](fetchinstitutecustomerinfosignupQueryContext.data.data.instsignupformvalues);
|
|
10326
10336
|
}
|
|
10327
|
-
setpayloadobj(_objectSpread$
|
|
10337
|
+
setpayloadobj(_objectSpread$2i({}, tempcustomerinfoobj));
|
|
10328
10338
|
setdataloaded(true);
|
|
10329
10339
|
}
|
|
10330
10340
|
}
|
|
10331
10341
|
}, [fetchinstitutecustomerinfosignupQueryContext.isSuccess, fetchinstitutecustomerinfosignupQueryContext.data, authdetailsContext]);
|
|
10332
10342
|
var payloadobjchange = function payloadobjchange(key, value) {
|
|
10333
|
-
var temppayloadobj = _objectSpread$
|
|
10343
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10334
10344
|
temppayloadobj[key] = value;
|
|
10335
|
-
setpayloadobj(_objectSpread$
|
|
10345
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10336
10346
|
};
|
|
10337
10347
|
var validateEmailstring = function validateEmailstring(email) {
|
|
10338
10348
|
return String(email).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
|
|
@@ -10404,7 +10414,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10404
10414
|
};
|
|
10405
10415
|
var signupbuttonfunc = function signupbuttonfunc() {
|
|
10406
10416
|
if (verifypayload() == true) {
|
|
10407
|
-
var temppayloadobj = _objectSpread$
|
|
10417
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10408
10418
|
if (authdetailsContext.loggedin == true) {
|
|
10409
10419
|
temppayloadobj.functype = 'edit';
|
|
10410
10420
|
} else {
|
|
@@ -10561,10 +10571,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10561
10571
|
autoFormat: true,
|
|
10562
10572
|
value: payloadobj.mobile,
|
|
10563
10573
|
onChange: function onChange(event, country) {
|
|
10564
|
-
var temp = _objectSpread$
|
|
10574
|
+
var temp = _objectSpread$2i({}, payloadobj);
|
|
10565
10575
|
temp.mobile = event;
|
|
10566
10576
|
temp.countrydialcode = country.dialCode;
|
|
10567
|
-
setpayloadobj(_objectSpread$
|
|
10577
|
+
setpayloadobj(_objectSpread$2i({}, temp));
|
|
10568
10578
|
// payloadobjchange('mobile', event);
|
|
10569
10579
|
|
|
10570
10580
|
// alert(JSON.stringify(country));
|
|
@@ -10621,10 +10631,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10621
10631
|
return option.id == payloadobj.countryid;
|
|
10622
10632
|
}),
|
|
10623
10633
|
onChange: function onChange(option) {
|
|
10624
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10634
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10625
10635
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
10626
10636
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
10627
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10637
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10628
10638
|
payloadobjchange('countryid', option.id);
|
|
10629
10639
|
},
|
|
10630
10640
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10673,10 +10683,10 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10673
10683
|
return option.id == payloadobj.stateid;
|
|
10674
10684
|
}),
|
|
10675
10685
|
onChange: function onChange(option) {
|
|
10676
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
10686
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2i({}, FetchTabexStatesPayloadobjContext);
|
|
10677
10687
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
10678
10688
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
10679
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
10689
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2i({}, tempFetchTabexStatesPayloadobjContext));
|
|
10680
10690
|
payloadobjchange('stateid', option.id);
|
|
10681
10691
|
},
|
|
10682
10692
|
styles: sectionproperties.inputfieldbordertype == 'All' ? langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated : langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -10818,9 +10828,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10818
10828
|
value: item.customersignupvalue,
|
|
10819
10829
|
textplaceholder: "",
|
|
10820
10830
|
onChange: function onChange(event) {
|
|
10821
|
-
var temppayloadobj = _objectSpread$
|
|
10831
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10822
10832
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10823
|
-
setpayloadobj(_objectSpread$
|
|
10833
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10824
10834
|
},
|
|
10825
10835
|
style: {
|
|
10826
10836
|
background: 'transparent'
|
|
@@ -10834,13 +10844,13 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10834
10844
|
className: formstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
10835
10845
|
checked: item.customersignupvalue == 1 ? true : false,
|
|
10836
10846
|
onChange: function onChange() {
|
|
10837
|
-
var temppayloadobj = _objectSpread$
|
|
10847
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10838
10848
|
if (temppayloadobj.instsignupformvalues[index].customersignupvalue == 1) {
|
|
10839
10849
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 0;
|
|
10840
10850
|
} else {
|
|
10841
10851
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = 1;
|
|
10842
10852
|
}
|
|
10843
|
-
setpayloadobj(_objectSpread$
|
|
10853
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10844
10854
|
}
|
|
10845
10855
|
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
10846
10856
|
viewBox: "0 0 21 21",
|
|
@@ -10857,9 +10867,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10857
10867
|
value: item.customersignupvalue,
|
|
10858
10868
|
textplaceholder: "",
|
|
10859
10869
|
onChange: function onChange(event) {
|
|
10860
|
-
var temppayloadobj = _objectSpread$
|
|
10870
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10861
10871
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10862
|
-
setpayloadobj(_objectSpread$
|
|
10872
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10863
10873
|
}
|
|
10864
10874
|
}, /*#__PURE__*/React__default["default"].createElement("option", {
|
|
10865
10875
|
value: '',
|
|
@@ -10874,9 +10884,9 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
10874
10884
|
value: item.customersignupvalue,
|
|
10875
10885
|
textplaceholder: "",
|
|
10876
10886
|
onChange: function onChange(event) {
|
|
10877
|
-
var temppayloadobj = _objectSpread$
|
|
10887
|
+
var temppayloadobj = _objectSpread$2i({}, payloadobj);
|
|
10878
10888
|
temppayloadobj.instsignupformvalues[index].customersignupvalue = event.target.value;
|
|
10879
|
-
setpayloadobj(_objectSpread$
|
|
10889
|
+
setpayloadobj(_objectSpread$2i({}, temppayloadobj));
|
|
10880
10890
|
},
|
|
10881
10891
|
style: {
|
|
10882
10892
|
resize: 'none'
|
|
@@ -11230,7 +11240,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11230
11240
|
className: "".concat(formstyles.form_control),
|
|
11231
11241
|
value: validateemailpayload.code,
|
|
11232
11242
|
onChange: function onChange(event) {
|
|
11233
|
-
setvalidateemailpayload(_objectSpread$
|
|
11243
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11234
11244
|
code: event.target.value
|
|
11235
11245
|
}));
|
|
11236
11246
|
},
|
|
@@ -11257,12 +11267,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11257
11267
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11258
11268
|
if (data.data.status) {
|
|
11259
11269
|
if (data.data.functype == 'sendcode') {
|
|
11260
|
-
setvalidateemailpayload(_objectSpread$
|
|
11270
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11261
11271
|
step: 'verifycode'
|
|
11262
11272
|
}));
|
|
11263
11273
|
}
|
|
11264
11274
|
if (data.data.functype == 'verifycode') {
|
|
11265
|
-
setvalidateemailpayload(_objectSpread$
|
|
11275
|
+
setvalidateemailpayload(_objectSpread$2i(_objectSpread$2i({}, validateemailpayload), {}, {
|
|
11266
11276
|
isvalidated: true
|
|
11267
11277
|
}));
|
|
11268
11278
|
setvalidateemailmodal(false);
|
|
@@ -11357,7 +11367,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11357
11367
|
className: "".concat(formstyles.form_control),
|
|
11358
11368
|
value: validatephonenumberpayload.code,
|
|
11359
11369
|
onChange: function onChange(event) {
|
|
11360
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11370
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11361
11371
|
code: event.target.value
|
|
11362
11372
|
}));
|
|
11363
11373
|
},
|
|
@@ -11384,12 +11394,12 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11384
11394
|
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
11385
11395
|
if (data.data.status) {
|
|
11386
11396
|
if (data.data.functype == 'sendcode') {
|
|
11387
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11397
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11388
11398
|
step: 'verifycode'
|
|
11389
11399
|
}));
|
|
11390
11400
|
}
|
|
11391
11401
|
if (data.data.functype == 'verifycode') {
|
|
11392
|
-
setvalidatephonenumberpayload(_objectSpread$
|
|
11402
|
+
setvalidatephonenumberpayload(_objectSpread$2i(_objectSpread$2i({}, validatephonenumberpayload), {}, {
|
|
11393
11403
|
isvalidated: true
|
|
11394
11404
|
}));
|
|
11395
11405
|
setvalidatephonenumbermodal(false);
|
|
@@ -11425,8 +11435,8 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
11425
11435
|
}, validatephonenumberpayload.step == 'sendcode' ? lang.sendcode : lang.verifycode))))))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
11426
11436
|
};
|
|
11427
11437
|
|
|
11428
|
-
function ownKeys$
|
|
11429
|
-
function _objectSpread$
|
|
11438
|
+
function ownKeys$2h(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; }
|
|
11439
|
+
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11430
11440
|
var Signup = function Signup(props) {
|
|
11431
11441
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11432
11442
|
props.actions.CurrentSrcTypeContext;
|
|
@@ -11474,7 +11484,7 @@ var Signup = function Signup(props) {
|
|
|
11474
11484
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11475
11485
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11476
11486
|
});
|
|
11477
|
-
setsectionproperties(_objectSpread$
|
|
11487
|
+
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
11478
11488
|
}
|
|
11479
11489
|
}, [StatePagePropertiesContext]);
|
|
11480
11490
|
var loginstyles2 = {
|
|
@@ -11617,8 +11627,8 @@ var Signup = function Signup(props) {
|
|
|
11617
11627
|
}, SignupContent()));
|
|
11618
11628
|
};
|
|
11619
11629
|
|
|
11620
|
-
function ownKeys$
|
|
11621
|
-
function _objectSpread$
|
|
11630
|
+
function ownKeys$2g(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; }
|
|
11631
|
+
function _objectSpread$2g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11622
11632
|
var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
11623
11633
|
var _css;
|
|
11624
11634
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -11684,7 +11694,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11684
11694
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
11685
11695
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11686
11696
|
});
|
|
11687
|
-
setsectionproperties(_objectSpread$
|
|
11697
|
+
setsectionproperties(_objectSpread$2g({}, secpropobj));
|
|
11688
11698
|
}
|
|
11689
11699
|
}, [StatePagePropertiesContext]);
|
|
11690
11700
|
var loginstyles2 = {
|
|
@@ -11785,7 +11795,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11785
11795
|
className: "".concat(loginstyles2.form_control),
|
|
11786
11796
|
value: affsignuppayload.name,
|
|
11787
11797
|
onChange: function onChange(event) {
|
|
11788
|
-
setaffsignuppayload(_objectSpread$
|
|
11798
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11789
11799
|
name: event.target.value
|
|
11790
11800
|
}));
|
|
11791
11801
|
},
|
|
@@ -11801,7 +11811,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11801
11811
|
className: "".concat(loginstyles2.form_control),
|
|
11802
11812
|
value: affsignuppayload.email,
|
|
11803
11813
|
onChange: function onChange(event) {
|
|
11804
|
-
setaffsignuppayload(_objectSpread$
|
|
11814
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11805
11815
|
email: event.target.value
|
|
11806
11816
|
}));
|
|
11807
11817
|
},
|
|
@@ -11819,10 +11829,10 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11819
11829
|
autoFormat: true,
|
|
11820
11830
|
value: affsignuppayload.phonenumber,
|
|
11821
11831
|
onChange: function onChange(event, country) {
|
|
11822
|
-
var temp = _objectSpread$
|
|
11832
|
+
var temp = _objectSpread$2g({}, affsignuppayload);
|
|
11823
11833
|
temp.phonenumber = event;
|
|
11824
11834
|
temp.countrydialcode = country.dialCode;
|
|
11825
|
-
setaffsignuppayload(_objectSpread$
|
|
11835
|
+
setaffsignuppayload(_objectSpread$2g({}, temp));
|
|
11826
11836
|
// setaffsignuppayload({ ...affsignuppayload, phonenumber: event.target.value });
|
|
11827
11837
|
},
|
|
11828
11838
|
|
|
@@ -11838,7 +11848,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11838
11848
|
className: "".concat(loginstyles2.form_control),
|
|
11839
11849
|
value: affsignuppayload.ssn,
|
|
11840
11850
|
onChange: function onChange(event) {
|
|
11841
|
-
setaffsignuppayload(_objectSpread$
|
|
11851
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11842
11852
|
ssn: event.target.value
|
|
11843
11853
|
}));
|
|
11844
11854
|
},
|
|
@@ -11854,7 +11864,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11854
11864
|
className: "".concat(loginstyles2.form_control),
|
|
11855
11865
|
value: affsignuppayload.password,
|
|
11856
11866
|
onChange: function onChange(event) {
|
|
11857
|
-
setaffsignuppayload(_objectSpread$
|
|
11867
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11858
11868
|
password: event.target.value
|
|
11859
11869
|
}));
|
|
11860
11870
|
},
|
|
@@ -11870,7 +11880,7 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11870
11880
|
className: "".concat(loginstyles2.form_control),
|
|
11871
11881
|
value: affsignuppayload.confirmpassword,
|
|
11872
11882
|
onChange: function onChange(event) {
|
|
11873
|
-
setaffsignuppayload(_objectSpread$
|
|
11883
|
+
setaffsignuppayload(_objectSpread$2g(_objectSpread$2g({}, affsignuppayload), {}, {
|
|
11874
11884
|
confirmpassword: event.target.value
|
|
11875
11885
|
}));
|
|
11876
11886
|
},
|
|
@@ -11923,8 +11933,8 @@ var Afiiliatesignup = function Afiiliatesignup(props) {
|
|
|
11923
11933
|
}), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? sectionproperties.signupbtn_contenten : sectionproperties.signupbtn_contentar)))))))));
|
|
11924
11934
|
};
|
|
11925
11935
|
|
|
11926
|
-
function ownKeys$
|
|
11927
|
-
function _objectSpread$
|
|
11936
|
+
function ownKeys$2f(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; }
|
|
11937
|
+
function _objectSpread$2f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11928
11938
|
var AccountInformation = function AccountInformation(props) {
|
|
11929
11939
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
|
|
11930
11940
|
var lang = props.actions.lang;
|
|
@@ -11951,7 +11961,7 @@ var AccountInformation = function AccountInformation(props) {
|
|
|
11951
11961
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
11952
11962
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
11953
11963
|
});
|
|
11954
|
-
setsectionproperties(_objectSpread$
|
|
11964
|
+
setsectionproperties(_objectSpread$2f({}, secpropobj));
|
|
11955
11965
|
}, [props.actions.StatePagePropertiesContext]);
|
|
11956
11966
|
React.useEffect(function () {
|
|
11957
11967
|
var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
|
|
@@ -12113,8 +12123,8 @@ var css_248z$F = ".tabs-module_tabs__36dMY {\n position: relative;\n heigh
|
|
|
12113
12123
|
var tabstyles = {"tabs":"tabs-module_tabs__36dMY","tabsul":"tabs-module_tabsul__wNZqy","tabsli":"tabs-module_tabsli__-uR10","active":"tabs-module_active__6wLfI","tabsliheaderresp":"tabs-module_tabsliheaderresp__TPNhh","accordionContainer":"tabs-module_accordionContainer__-MSW5","policiestabs":"tabs-module_policiestabs__nopXD"};
|
|
12114
12124
|
styleInject(css_248z$F);
|
|
12115
12125
|
|
|
12116
|
-
function ownKeys$
|
|
12117
|
-
function _objectSpread$
|
|
12126
|
+
function ownKeys$2e(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; }
|
|
12127
|
+
function _objectSpread$2e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2e(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12118
12128
|
var Policies = function Policies(props) {
|
|
12119
12129
|
var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchInstitutePolici, _fetchInstitutePolici2, _fetchInstitutePolici3;
|
|
12120
12130
|
var _useState = React.useState(''),
|
|
@@ -12145,7 +12155,7 @@ var Policies = function Policies(props) {
|
|
|
12145
12155
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12146
12156
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12147
12157
|
});
|
|
12148
|
-
setsectionproperties(_objectSpread$
|
|
12158
|
+
setsectionproperties(_objectSpread$2e({}, secpropobj));
|
|
12149
12159
|
}
|
|
12150
12160
|
}, [StatePagePropertiesContext]);
|
|
12151
12161
|
React.useEffect(function () {
|
|
@@ -12158,9 +12168,9 @@ var Policies = function Policies(props) {
|
|
|
12158
12168
|
}
|
|
12159
12169
|
}, []);
|
|
12160
12170
|
React.useEffect(function () {
|
|
12161
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
12171
|
+
var tempFetchQueriesEngineContext = _objectSpread$2e({}, FetchQueriesEngineContext);
|
|
12162
12172
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
12163
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
12173
|
+
setFetchQueriesEngineContext(_objectSpread$2e({}, tempFetchQueriesEngineContext));
|
|
12164
12174
|
}, []);
|
|
12165
12175
|
var _useState7 = React.useState([]),
|
|
12166
12176
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -12390,8 +12400,8 @@ var css_248z$E = ".cart-module_cartslider_container__idend {\n transition: 0.
|
|
|
12390
12400
|
var cartstyles = {"cartslider_container":"cart-module_cartslider_container__idend","close_menu_icon_cont":"cart-module_close_menu_icon_cont__uh-pE","cart_slider_imagecont":"cart-module_cart_slider_imagecont__tnHMt","checkout_cart_slider_imagecont":"cart-module_checkout_cart_slider_imagecont__UX2ct","checkout_quantity_cont":"cart-module_checkout_quantity_cont__Rr3RO","btn_circle":"cart-module_btn_circle__p-BDZ","cart_progress_card":"cart-module_cart_progress_card__jEFwg","cart_progress_card_active":"cart-module_cart_progress_card_active__gQzWT","trash_btn":"cart-module_trash_btn__bHQxy","btn_apply":"cart-module_btn_apply__phbo8","checkout_card_card":"cart-module_checkout_card_card__4zUo9"};
|
|
12391
12401
|
styleInject(css_248z$E);
|
|
12392
12402
|
|
|
12393
|
-
function ownKeys$
|
|
12394
|
-
function _objectSpread$
|
|
12403
|
+
function ownKeys$2d(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; }
|
|
12404
|
+
function _objectSpread$2d(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2d(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2d(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12395
12405
|
var CartSlider = function CartSlider(props) {
|
|
12396
12406
|
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12;
|
|
12397
12407
|
var lang = props.actions.lang;
|
|
@@ -12457,7 +12467,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12457
12467
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
12458
12468
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12459
12469
|
});
|
|
12460
|
-
setsectionproperties(_objectSpread$
|
|
12470
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12461
12471
|
}, [CurrentPageId]);
|
|
12462
12472
|
React.useEffect(function () {
|
|
12463
12473
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -12467,7 +12477,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12467
12477
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
12468
12478
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
12469
12479
|
});
|
|
12470
|
-
setsectionproperties(_objectSpread$
|
|
12480
|
+
setsectionproperties(_objectSpread$2d({}, secpropobj));
|
|
12471
12481
|
}
|
|
12472
12482
|
}
|
|
12473
12483
|
}, [StatePagePropertiesContext]);
|
|
@@ -13034,8 +13044,8 @@ var CartSlider = function CartSlider(props) {
|
|
|
13034
13044
|
}, langdetect == 'en' ? sectionproperties.checkoutButtonContenten : sectionproperties.checkoutButtonContentar))))))))));
|
|
13035
13045
|
};
|
|
13036
13046
|
|
|
13037
|
-
function ownKeys$
|
|
13038
|
-
function _objectSpread$
|
|
13047
|
+
function ownKeys$2c(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13048
|
+
function _objectSpread$2c(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2c(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2c(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13039
13049
|
var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
13040
13050
|
var _useState = React.useState(''),
|
|
13041
13051
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
@@ -13079,7 +13089,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13079
13089
|
templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 || (_templatepropcontext$ = _templatepropcontext$.pageproperties) === null || _templatepropcontext$ === void 0 || _templatepropcontext$.forEach(function (arrayItem, arrayindex) {
|
|
13080
13090
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13081
13091
|
});
|
|
13082
|
-
setsectionproperties(_objectSpread$
|
|
13092
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13083
13093
|
}, [CurrentPageId]);
|
|
13084
13094
|
React.useEffect(function () {
|
|
13085
13095
|
if (CurrentSrcTypeContext == 'workplace') {
|
|
@@ -13089,7 +13099,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13089
13099
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
13090
13100
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13091
13101
|
});
|
|
13092
|
-
setsectionproperties(_objectSpread$
|
|
13102
|
+
setsectionproperties(_objectSpread$2c({}, secpropobj));
|
|
13093
13103
|
}
|
|
13094
13104
|
}
|
|
13095
13105
|
}, [StatePagePropertiesContext]);
|
|
@@ -13317,8 +13327,8 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
13317
13327
|
}, CategoriesDropdown()));
|
|
13318
13328
|
};
|
|
13319
13329
|
|
|
13320
|
-
function ownKeys$
|
|
13321
|
-
function _objectSpread$
|
|
13330
|
+
function ownKeys$2b(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; }
|
|
13331
|
+
function _objectSpread$2b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2b(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13322
13332
|
var OrderSuccess = function OrderSuccess(props) {
|
|
13323
13333
|
var _props$actions2;
|
|
13324
13334
|
props.actions.lang;
|
|
@@ -13368,7 +13378,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
13368
13378
|
props === null || props === void 0 || (_props$actions = props.actions) === null || _props$actions === void 0 || (_props$actions = _props$actions.StatePagePropertiesContext) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageobj) === null || _props$actions === void 0 || (_props$actions = _props$actions.pageproperties) === null || _props$actions === void 0 || _props$actions.forEach(function (arrayItem, arrayindex) {
|
|
13369
13379
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
13370
13380
|
});
|
|
13371
|
-
setsectionproperties(_objectSpread$
|
|
13381
|
+
setsectionproperties(_objectSpread$2b({}, secpropobj));
|
|
13372
13382
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
13373
13383
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
13374
13384
|
var ordersuccessstyle = {
|
|
@@ -13465,12 +13475,12 @@ var css_248z$D = ".filter-module_timeline__ROm9Q .filter-module_border_left_line
|
|
|
13465
13475
|
var filterstyles = {"timeline":"filter-module_timeline__ROm9Q","border_left_line":"filter-module_border_left_line__IkxXK","btn_item":"filter-module_btn_item__GoKTf","timelineinnercont_active":"filter-module_timelineinnercont_active__2sLI7","timeline_text":"filter-module_timeline_text__NgaGy","timelineinnercont":"filter-module_timelineinnercont__Zme9K","timelinetrans":"filter-module_timelinetrans__KzVCg","filterslider_container":"filter-module_filterslider_container__I-7sG","filterslider_container_opened":"filter-module_filterslider_container_opened__2eZes","outercontainer":"filter-module_outercontainer__kmY9b","innercontainer":"filter-module_innercontainer__VKukp","card":"filter-module_card__7yDs0"};
|
|
13466
13476
|
styleInject(css_248z$D);
|
|
13467
13477
|
|
|
13468
|
-
function ownKeys$
|
|
13469
|
-
function _objectSpread$
|
|
13478
|
+
function ownKeys$2a(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; }
|
|
13479
|
+
function _objectSpread$2a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2a(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13470
13480
|
var Select$1 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
13471
13481
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
13472
13482
|
});
|
|
13473
|
-
var Filter$
|
|
13483
|
+
var Filter$2 = function Filter(props) {
|
|
13474
13484
|
var _css;
|
|
13475
13485
|
var lang = props.actions.lang;
|
|
13476
13486
|
var langdetect = props.actions.langdetect;
|
|
@@ -13542,13 +13552,13 @@ var Filter$1 = function Filter(props) {
|
|
|
13542
13552
|
payloadvalue: 'sortprice',
|
|
13543
13553
|
name: lang.price,
|
|
13544
13554
|
filterarray: [{
|
|
13545
|
-
name: lang.pricehightolow,
|
|
13546
|
-
value: 'hightolow',
|
|
13547
|
-
isfilterselected: false
|
|
13548
|
-
}, {
|
|
13549
13555
|
name: lang.pricelowtohigh,
|
|
13550
13556
|
value: 'lowtohigh',
|
|
13551
13557
|
isfilterselected: false
|
|
13558
|
+
}, {
|
|
13559
|
+
name: lang.pricehightolow,
|
|
13560
|
+
value: 'hightolow',
|
|
13561
|
+
isfilterselected: false
|
|
13552
13562
|
}]
|
|
13553
13563
|
}, {
|
|
13554
13564
|
payloadvalue: 'sortdates',
|
|
@@ -13606,11 +13616,11 @@ var Filter$1 = function Filter(props) {
|
|
|
13606
13616
|
}
|
|
13607
13617
|
timeoutRef.current = setTimeout(function () {
|
|
13608
13618
|
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
13609
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13619
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13610
13620
|
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
13611
13621
|
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
13612
13622
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13613
|
-
setProductFilterObjContext(_objectSpread$
|
|
13623
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13614
13624
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13615
13625
|
}
|
|
13616
13626
|
}, 500);
|
|
@@ -13696,33 +13706,33 @@ var Filter$1 = function Filter(props) {
|
|
|
13696
13706
|
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
13697
13707
|
React.useEffect(function () {
|
|
13698
13708
|
if (productfeatuesarr.length != 0) {
|
|
13699
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13709
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13700
13710
|
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13701
|
-
setProductFilterObjContext(_objectSpread$
|
|
13711
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13702
13712
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13703
13713
|
}
|
|
13704
13714
|
}, [productfeatuesarr]);
|
|
13705
13715
|
React.useEffect(function () {
|
|
13706
13716
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13707
13717
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
13708
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13718
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13709
13719
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
13710
13720
|
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
13711
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13721
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13712
13722
|
}
|
|
13713
13723
|
}
|
|
13714
13724
|
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
13715
13725
|
var filterupdater = function filterupdater() {
|
|
13716
13726
|
setTimeout(function () {
|
|
13717
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
13727
|
+
var tempFetchQueriesEngineContext = _objectSpread$2a({}, FetchQueriesEngineContext);
|
|
13718
13728
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
13719
13729
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
13720
13730
|
}, 100);
|
|
13721
13731
|
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
13722
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
13732
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
13723
13733
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
13724
13734
|
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
13725
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
13735
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
13726
13736
|
}
|
|
13727
13737
|
if (instfilters.length != 0) {
|
|
13728
13738
|
var _ProductFilterObjCont3;
|
|
@@ -13784,7 +13794,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13784
13794
|
}
|
|
13785
13795
|
};
|
|
13786
13796
|
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
13787
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13797
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13788
13798
|
if (type == 'clearfilters') {
|
|
13789
13799
|
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
13790
13800
|
} else {
|
|
@@ -13808,14 +13818,14 @@ var Filter$1 = function Filter(props) {
|
|
|
13808
13818
|
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
13809
13819
|
}
|
|
13810
13820
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13811
|
-
setProductFilterObjContext(_objectSpread$
|
|
13821
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13812
13822
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13813
13823
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13814
13824
|
};
|
|
13815
13825
|
|
|
13816
13826
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
13817
13827
|
var _tempfetchproductsfil2;
|
|
13818
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
13828
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
13819
13829
|
var CollectionExists = false;
|
|
13820
13830
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
|
|
13821
13831
|
if (filteritem == collectionid) {
|
|
@@ -13837,7 +13847,7 @@ var Filter$1 = function Filter(props) {
|
|
|
13837
13847
|
}
|
|
13838
13848
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
13839
13849
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
13840
|
-
setProductFilterObjContext(_objectSpread$
|
|
13850
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
13841
13851
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13842
13852
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
13843
13853
|
};
|
|
@@ -14429,14 +14439,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14429
14439
|
return option.id == ProductFilterObjContext.countryid;
|
|
14430
14440
|
}),
|
|
14431
14441
|
onChange: function onChange(option) {
|
|
14432
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14442
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14433
14443
|
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
14434
14444
|
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
14435
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14436
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14445
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14446
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14437
14447
|
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
14438
14448
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14439
|
-
setProductFilterObjContext(_objectSpread$
|
|
14449
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14440
14450
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14441
14451
|
},
|
|
14442
14452
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14473,14 +14483,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14473
14483
|
return option.id == ProductFilterObjContext.stateid;
|
|
14474
14484
|
}),
|
|
14475
14485
|
onChange: function onChange(option) {
|
|
14476
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$
|
|
14486
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$2a({}, FetchTabexStatesPayloadobjContext);
|
|
14477
14487
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
14478
14488
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
14479
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$
|
|
14480
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14489
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$2a({}, tempFetchTabexStatesPayloadobjContext));
|
|
14490
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14481
14491
|
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
14482
14492
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14483
|
-
setProductFilterObjContext(_objectSpread$
|
|
14493
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14484
14494
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14485
14495
|
},
|
|
14486
14496
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14517,10 +14527,10 @@ var Filter$1 = function Filter(props) {
|
|
|
14517
14527
|
return option.id == ProductFilterObjContext.cityid;
|
|
14518
14528
|
}),
|
|
14519
14529
|
onChange: function onChange(option) {
|
|
14520
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14530
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14521
14531
|
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
14522
14532
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14523
|
-
setProductFilterObjContext(_objectSpread$
|
|
14533
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14524
14534
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14525
14535
|
},
|
|
14526
14536
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
@@ -14624,14 +14634,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14624
14634
|
color: ischecked ? sectionproperties.activecat_color : ''
|
|
14625
14635
|
},
|
|
14626
14636
|
onClick: function onClick() {
|
|
14627
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14637
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14628
14638
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14629
14639
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14630
14640
|
} else {
|
|
14631
14641
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14632
14642
|
}
|
|
14633
14643
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14634
|
-
setProductFilterObjContext(_objectSpread$
|
|
14644
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14635
14645
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14636
14646
|
setsortbycontext(valueitem.name);
|
|
14637
14647
|
}
|
|
@@ -14640,16 +14650,12 @@ var Filter$1 = function Filter(props) {
|
|
|
14640
14650
|
}))))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Horizontal' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14641
14651
|
"class": "row m-0 w-100"
|
|
14642
14652
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14643
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start mb-3"
|
|
14644
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14645
|
-
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' m-0 p-0 ' : filter_cssstyles.collapsetitle + ' m-0 p-0 text-right'
|
|
14646
|
-
}, langdetect == 'en' ? sectionproperties.filtercollectiontitle_en : sectionproperties.filtercollectiontitle_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14647
14653
|
"class": "col-lg-12 p-0 mb-4"
|
|
14648
14654
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
14649
14655
|
transitionBehavior: 'auto',
|
|
14650
14656
|
wrapperClassName: '',
|
|
14651
14657
|
itemClassName: 'filtercard',
|
|
14652
|
-
scrollContainerClassName: '
|
|
14658
|
+
scrollContainerClassName: 'filterscrollmenuclasssubscrollbar'
|
|
14653
14659
|
}, collectionstobevisible.map(function (item, index) {
|
|
14654
14660
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14655
14661
|
className: filter_cssstyles.timeline_text + ' col-xl-12 p-0 col-lg-12 col-md-12 col-sm-12 w-100 cursor-pointer ',
|
|
@@ -14681,7 +14687,23 @@ var Filter$1 = function Filter(props) {
|
|
|
14681
14687
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
14682
14688
|
"class": ' m-0 p-0 '
|
|
14683
14689
|
}, langdetect == 'en' ? item.title_en : item.title_ar)));
|
|
14684
|
-
})))
|
|
14690
|
+
}))), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14691
|
+
"class": "col-lg-12 text-start px-4 mb-5",
|
|
14692
|
+
style: {
|
|
14693
|
+
fontSize: 15,
|
|
14694
|
+
color: '#62554a'
|
|
14695
|
+
}
|
|
14696
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14697
|
+
"class": "cursor-pointer",
|
|
14698
|
+
onClick: function onClick() {
|
|
14699
|
+
routingcountext('home', false, '');
|
|
14700
|
+
}
|
|
14701
|
+
}, 'Home', " /", ' '), ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14702
|
+
style: {
|
|
14703
|
+
textTransform: 'capitalize'
|
|
14704
|
+
},
|
|
14705
|
+
"class": "mx-2"
|
|
14706
|
+
}, props.show_product_group_titles()['title_en']))), sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14685
14707
|
className: "".concat(filterstyles.filterslider_container) + ' pb-md-5 ',
|
|
14686
14708
|
id: "filterslider",
|
|
14687
14709
|
style: {
|
|
@@ -14783,14 +14805,14 @@ var Filter$1 = function Filter(props) {
|
|
|
14783
14805
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14784
14806
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14785
14807
|
onClick: function onClick() {
|
|
14786
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14808
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14787
14809
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14788
14810
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14789
14811
|
} else {
|
|
14790
14812
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14791
14813
|
}
|
|
14792
14814
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
14793
|
-
setProductFilterObjContext(_objectSpread$
|
|
14815
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14794
14816
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
14795
14817
|
}
|
|
14796
14818
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14825,7 +14847,7 @@ var Filter$1 = function Filter(props) {
|
|
|
14825
14847
|
minValue: 0,
|
|
14826
14848
|
value: raterangevalue,
|
|
14827
14849
|
onChange: function onChange(value) {
|
|
14828
|
-
setraterangevalue(_objectSpread$
|
|
14850
|
+
setraterangevalue(_objectSpread$2a({}, value));
|
|
14829
14851
|
}
|
|
14830
14852
|
}))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14831
14853
|
className: "col-lg-9 col-md-9 col-sm-9 d-flex align-items-center d-md-none"
|
|
@@ -14968,13 +14990,13 @@ var Filter$1 = function Filter(props) {
|
|
|
14968
14990
|
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(ischecked ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
14969
14991
|
onClick: function onClick() {
|
|
14970
14992
|
// setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
14971
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
14993
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$2a({}, ProductFilterObjContext);
|
|
14972
14994
|
if (tempfetchproductsfilerobjcontext[item.payloadvalue] == valueitem.value) {
|
|
14973
14995
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = '';
|
|
14974
14996
|
} else {
|
|
14975
14997
|
tempfetchproductsfilerobjcontext[item.payloadvalue] = valueitem.value;
|
|
14976
14998
|
}
|
|
14977
|
-
setProductFilterObjContext(_objectSpread$
|
|
14999
|
+
setProductFilterObjContext(_objectSpread$2a({}, tempfetchproductsfilerobjcontext));
|
|
14978
15000
|
}
|
|
14979
15001
|
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14980
15002
|
className: " ".concat(ischecked ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
@@ -15006,8 +15028,566 @@ var Filter$1 = function Filter(props) {
|
|
|
15006
15028
|
}, DynamicFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
15007
15029
|
};
|
|
15008
15030
|
|
|
15009
|
-
function ownKeys$
|
|
15010
|
-
function _objectSpread$
|
|
15031
|
+
function ownKeys$29(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; }
|
|
15032
|
+
function _objectSpread$29(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$29(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$29(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15033
|
+
var Filter$1 = function Filter(props) {
|
|
15034
|
+
var _css;
|
|
15035
|
+
var lang = props.actions.lang;
|
|
15036
|
+
var langdetect = props.actions.langdetect;
|
|
15037
|
+
props.actions.productfiltercontext;
|
|
15038
|
+
props.actions.setproductfiltercontext;
|
|
15039
|
+
var ProductFilterObjContext = props.actions.ProductFilterObjContext;
|
|
15040
|
+
var setProductFilterObjContext = props.actions.setProductFilterObjContext;
|
|
15041
|
+
props.actions.authdetailsContext;
|
|
15042
|
+
var fetchproductoptionsQueryContext = props.actions.fetchproductoptionsQueryContext;
|
|
15043
|
+
var fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
|
|
15044
|
+
var routingcountext = props.actions.routingcountext;
|
|
15045
|
+
var fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
15046
|
+
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15047
|
+
props.actions.ikimagecredcontext;
|
|
15048
|
+
var _useState = React.useState({
|
|
15049
|
+
min: 0,
|
|
15050
|
+
max: 10000
|
|
15051
|
+
}),
|
|
15052
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
15053
|
+
_useState2[0];
|
|
15054
|
+
_useState2[1];
|
|
15055
|
+
var _useState3 = React.useState([]),
|
|
15056
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
15057
|
+
productfeatuesarr = _useState4[0];
|
|
15058
|
+
_useState4[1];
|
|
15059
|
+
props.actions.fetchTabexCountriesQueryContext;
|
|
15060
|
+
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
15061
|
+
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
15062
|
+
props.actions.fetchTabexCitiesQueryContext;
|
|
15063
|
+
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
15064
|
+
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
15065
|
+
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
15066
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
15067
|
+
var _useState5 = React.useState(''),
|
|
15068
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
15069
|
+
sectionproperties = _useState6[0],
|
|
15070
|
+
setsectionproperties = _useState6[1];
|
|
15071
|
+
// const [instfilters, setinstfilters] = useState([...authdetailsContext.instinfo.instfilters]);
|
|
15072
|
+
var _useState7 = React.useState([]),
|
|
15073
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
15074
|
+
instfilters = _useState8[0],
|
|
15075
|
+
setinstfilters = _useState8[1];
|
|
15076
|
+
var _useState9 = React.useState([]),
|
|
15077
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
15078
|
+
_useState10[0];
|
|
15079
|
+
var setcollectionstobevisible = _useState10[1];
|
|
15080
|
+
var _useState11 = React.useState([]),
|
|
15081
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15082
|
+
instcollections = _useState12[0],
|
|
15083
|
+
setinstcollections = _useState12[1];
|
|
15084
|
+
var _useState13 = React.useState([]),
|
|
15085
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15086
|
+
instcategories = _useState14[0],
|
|
15087
|
+
setinstcategories = _useState14[1];
|
|
15088
|
+
// const [sortby, setSortby] = useState('Sort by');
|
|
15089
|
+
var _useState15 = React.useState({
|
|
15090
|
+
min: 0,
|
|
15091
|
+
max: 5
|
|
15092
|
+
}),
|
|
15093
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
15094
|
+
raterangevalue = _useState16[0];
|
|
15095
|
+
_useState16[1];
|
|
15096
|
+
var timeoutRef = React__default["default"].useRef(null);
|
|
15097
|
+
var _useState17 = React.useState(''),
|
|
15098
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
15099
|
+
_useState18[0];
|
|
15100
|
+
_useState18[1];
|
|
15101
|
+
var _useState19 = React.useState([{
|
|
15102
|
+
payloadvalue: 'sortprice',
|
|
15103
|
+
name: lang.price,
|
|
15104
|
+
filterarray: [{
|
|
15105
|
+
name: lang.pricehightolow,
|
|
15106
|
+
value: 'hightolow',
|
|
15107
|
+
isfilterselected: false
|
|
15108
|
+
}, {
|
|
15109
|
+
name: lang.pricelowtohigh,
|
|
15110
|
+
value: 'lowtohigh',
|
|
15111
|
+
isfilterselected: false
|
|
15112
|
+
}]
|
|
15113
|
+
}, {
|
|
15114
|
+
payloadvalue: 'sortdates',
|
|
15115
|
+
name: lang.dates,
|
|
15116
|
+
filterarray: [{
|
|
15117
|
+
name: lang.recent,
|
|
15118
|
+
value: 'recent',
|
|
15119
|
+
isfilterselected: false
|
|
15120
|
+
}, {
|
|
15121
|
+
name: lang.oldest,
|
|
15122
|
+
value: 'old',
|
|
15123
|
+
isfilterselected: false
|
|
15124
|
+
}]
|
|
15125
|
+
}]),
|
|
15126
|
+
_useState20 = _slicedToArray__default["default"](_useState19, 2);
|
|
15127
|
+
_useState20[0];
|
|
15128
|
+
_useState20[1];
|
|
15129
|
+
React.useEffect(function () {
|
|
15130
|
+
filterupdater();
|
|
15131
|
+
}, []);
|
|
15132
|
+
React.useEffect(function () {
|
|
15133
|
+
if (fetchproductoptionsQueryContext.isSuccess) {
|
|
15134
|
+
var _fetchproductoptionsQ;
|
|
15135
|
+
setinstfilters(_toConsumableArray__default["default"](fetchproductoptionsQueryContext === null || fetchproductoptionsQueryContext === void 0 || (_fetchproductoptionsQ = fetchproductoptionsQueryContext.data) === null || _fetchproductoptionsQ === void 0 || (_fetchproductoptionsQ = _fetchproductoptionsQ.data) === null || _fetchproductoptionsQ === void 0 ? void 0 : _fetchproductoptionsQ.productoptions));
|
|
15136
|
+
}
|
|
15137
|
+
}, [fetchproductoptionsQueryContext.isSuccess]);
|
|
15138
|
+
React.useEffect(function () {
|
|
15139
|
+
if (fetchCategoriesQueryContext.isSuccess) {
|
|
15140
|
+
var _fetchCategoriesQuery;
|
|
15141
|
+
setinstcategories(_toConsumableArray__default["default"](fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery === void 0 || (_fetchCategoriesQuery = _fetchCategoriesQuery.data) === null || _fetchCategoriesQuery === void 0 ? void 0 : _fetchCategoriesQuery.categories));
|
|
15142
|
+
}
|
|
15143
|
+
}, [fetchCategoriesQueryContext.isSuccess]);
|
|
15144
|
+
React.useEffect(function () {
|
|
15145
|
+
if (fetchcollectionsQueryContext.isSuccess) {
|
|
15146
|
+
var _fetchcollectionsQuer;
|
|
15147
|
+
setinstcollections(_toConsumableArray__default["default"](fetchcollectionsQueryContext === null || fetchcollectionsQueryContext === void 0 || (_fetchcollectionsQuer = fetchcollectionsQueryContext.data) === null || _fetchcollectionsQuer === void 0 || (_fetchcollectionsQuer = _fetchcollectionsQuer.data) === null || _fetchcollectionsQuer === void 0 ? void 0 : _fetchcollectionsQuer.collections));
|
|
15148
|
+
}
|
|
15149
|
+
}, [fetchcollectionsQueryContext.isSuccess]);
|
|
15150
|
+
// useEffect(() => {
|
|
15151
|
+
// // setinstfilters([...authdetailsContext.instinfo.instfilters]);
|
|
15152
|
+
// // setinstcollections([...authdetailsContext.instinfo.instcollections]);
|
|
15153
|
+
// // setinstcategories([...authdetailsContext?.instinfo?.instcategories]);
|
|
15154
|
+
// }, [authdetailsContext]);
|
|
15155
|
+
React.useEffect(function () {
|
|
15156
|
+
if (props.sectionpropertiesprops != undefined && props.sectionpropertiesprops.length != 0) {
|
|
15157
|
+
setsectionproperties(props.sectionpropertiesprops);
|
|
15158
|
+
}
|
|
15159
|
+
}, [props.sectionpropertiesprops]);
|
|
15160
|
+
React.useEffect(function () {
|
|
15161
|
+
filterupdater();
|
|
15162
|
+
}, [ProductFilterObjContext]);
|
|
15163
|
+
React__default["default"].useEffect(function () {
|
|
15164
|
+
if (timeoutRef.current !== null) {
|
|
15165
|
+
clearTimeout(timeoutRef.current);
|
|
15166
|
+
}
|
|
15167
|
+
timeoutRef.current = setTimeout(function () {
|
|
15168
|
+
if (raterangevalue.min != 0 || raterangevalue.max != 5) {
|
|
15169
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15170
|
+
tempfetchproductsfilerobjcontext.minrate = raterangevalue.min;
|
|
15171
|
+
tempfetchproductsfilerobjcontext.maxrate = raterangevalue.max;
|
|
15172
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15173
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15174
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15175
|
+
}
|
|
15176
|
+
}, 500);
|
|
15177
|
+
}, [raterangevalue]);
|
|
15178
|
+
React.useEffect(function () {
|
|
15179
|
+
if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
|
|
15180
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
|
|
15181
|
+
if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
|
|
15182
|
+
var _parentidsfound;
|
|
15183
|
+
var collectiontobevisible = [];
|
|
15184
|
+
var parentidsfound = [];
|
|
15185
|
+
if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
|
|
15186
|
+
parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
|
|
15187
|
+
} else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
|
|
15188
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15189
|
+
var _ProductFilterObjCont;
|
|
15190
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont = ProductFilterObjContext.collections) === null || _ProductFilterObjCont === void 0 || _ProductFilterObjCont.forEach(function (colitem2, colindex2) {
|
|
15191
|
+
if (catitem.categoryid == colitem2) {
|
|
15192
|
+
var _catitem$parentcollet;
|
|
15193
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.forEach(function (parentcolitem, parentcolindex) {
|
|
15194
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15195
|
+
});
|
|
15196
|
+
}
|
|
15197
|
+
});
|
|
15198
|
+
});
|
|
15199
|
+
} else {
|
|
15200
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15201
|
+
var _catitem$parentcollet2;
|
|
15202
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet2 = catitem.parentcolletions) === null || _catitem$parentcollet2 === void 0 || _catitem$parentcollet2.forEach(function (parentcolitem, parentcolindex) {
|
|
15203
|
+
var _parentcolitem$collec;
|
|
15204
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec = parentcolitem.collections) === null || _parentcolitem$collec === void 0 || _parentcolitem$collec.forEach(function (colitem, colindex) {
|
|
15205
|
+
var _ProductFilterObjCont2;
|
|
15206
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont2 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont2 === void 0 || _ProductFilterObjCont2.forEach(function (colitem2, colindex2) {
|
|
15207
|
+
if (colitem.collectionid == colitem2) {
|
|
15208
|
+
parentidsfound.push(parentcolitem.parentcollectionid);
|
|
15209
|
+
}
|
|
15210
|
+
});
|
|
15211
|
+
});
|
|
15212
|
+
});
|
|
15213
|
+
});
|
|
15214
|
+
}
|
|
15215
|
+
parentidsfound = parentidsfound.filter(function (val, id, array) {
|
|
15216
|
+
return array.indexOf(val) == id;
|
|
15217
|
+
});
|
|
15218
|
+
if (((_parentidsfound = parentidsfound) === null || _parentidsfound === void 0 ? void 0 : _parentidsfound.length) != 0) {
|
|
15219
|
+
instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
|
|
15220
|
+
var _catitem$parentcollet3;
|
|
15221
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet3 = catitem.parentcolletions) === null || _catitem$parentcollet3 === void 0 || _catitem$parentcollet3.forEach(function (parentcolitem, parentcolindex) {
|
|
15222
|
+
var _parentidsfound2;
|
|
15223
|
+
(_parentidsfound2 = parentidsfound) === null || _parentidsfound2 === void 0 || _parentidsfound2.forEach(function (parentidfounditem, parentidfoundindex) {
|
|
15224
|
+
if (parentidfounditem == (parentcolitem === null || parentcolitem === void 0 ? void 0 : parentcolitem.parentcollectionid)) {
|
|
15225
|
+
var _parentcolitem$collec2;
|
|
15226
|
+
parentcolitem === null || parentcolitem === void 0 || (_parentcolitem$collec2 = parentcolitem.collections) === null || _parentcolitem$collec2 === void 0 || _parentcolitem$collec2.forEach(function (colitem, colindex) {
|
|
15227
|
+
var iscolexists = false;
|
|
15228
|
+
collectiontobevisible === null || collectiontobevisible === void 0 || collectiontobevisible.forEach(function (colitemex, colindexex) {
|
|
15229
|
+
if (colitemex.collectionid == colitem.collectionid) {
|
|
15230
|
+
iscolexists = true;
|
|
15231
|
+
}
|
|
15232
|
+
});
|
|
15233
|
+
if (iscolexists == false) {
|
|
15234
|
+
collectiontobevisible.push(colitem);
|
|
15235
|
+
}
|
|
15236
|
+
});
|
|
15237
|
+
}
|
|
15238
|
+
});
|
|
15239
|
+
});
|
|
15240
|
+
});
|
|
15241
|
+
if ((collectiontobevisible === null || collectiontobevisible === void 0 ? void 0 : collectiontobevisible.length) != 0) {
|
|
15242
|
+
setcollectionstobevisible(collectiontobevisible);
|
|
15243
|
+
} else {
|
|
15244
|
+
setcollectionstobevisible(instcollections);
|
|
15245
|
+
}
|
|
15246
|
+
} else {
|
|
15247
|
+
setcollectionstobevisible(instcollections);
|
|
15248
|
+
}
|
|
15249
|
+
} else {
|
|
15250
|
+
setcollectionstobevisible(instcollections);
|
|
15251
|
+
}
|
|
15252
|
+
} else {
|
|
15253
|
+
setcollectionstobevisible(instcollections);
|
|
15254
|
+
}
|
|
15255
|
+
}
|
|
15256
|
+
}, [ProductFilterObjContext, fetchCategoriesQueryContext.isSuccess, fetchcollectionsQueryContext.isSuccess, instcategories, instcollections]);
|
|
15257
|
+
React.useEffect(function () {
|
|
15258
|
+
if (productfeatuesarr.length != 0) {
|
|
15259
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15260
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
15261
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15262
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15263
|
+
}
|
|
15264
|
+
}, [productfeatuesarr]);
|
|
15265
|
+
React.useEffect(function () {
|
|
15266
|
+
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
15267
|
+
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
15268
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15269
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
15270
|
+
tempFetchTabexStatesPayloadobjContext.state_id = ProductFilterObjContext.stateid;
|
|
15271
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15272
|
+
}
|
|
15273
|
+
}
|
|
15274
|
+
}, [fetchTabexStatesQueryContext.isSuccess]);
|
|
15275
|
+
var filterupdater = function filterupdater() {
|
|
15276
|
+
setTimeout(function () {
|
|
15277
|
+
var tempFetchQueriesEngineContext = _objectSpread$29({}, FetchQueriesEngineContext);
|
|
15278
|
+
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15279
|
+
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15280
|
+
}, 100);
|
|
15281
|
+
if (ProductFilterObjContext.countryid != undefined && ProductFilterObjContext.countryid != null && ProductFilterObjContext.countryid != '' && ProductFilterObjContext.countryid != 'all') {
|
|
15282
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$29({}, FetchTabexStatesPayloadobjContext);
|
|
15283
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
15284
|
+
tempFetchTabexStatesPayloadobjContext.country_id = ProductFilterObjContext.countryid;
|
|
15285
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$29({}, tempFetchTabexStatesPayloadobjContext));
|
|
15286
|
+
}
|
|
15287
|
+
if (instfilters.length != 0) {
|
|
15288
|
+
var _ProductFilterObjCont3;
|
|
15289
|
+
var tempinstfilters = _toConsumableArray__default["default"](instfilters);
|
|
15290
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15291
|
+
instfilteritem.productvaluesfilter.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15292
|
+
valefilteritem.isfilterselected = false;
|
|
15293
|
+
});
|
|
15294
|
+
});
|
|
15295
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont3 = ProductFilterObjContext.FilterOptions) === null || _ProductFilterObjCont3 === void 0 || _ProductFilterObjCont3.forEach(function (filteritem, filterindex) {
|
|
15296
|
+
tempinstfilters === null || tempinstfilters === void 0 || tempinstfilters.forEach(function (instfilteritem, instfilterindex) {
|
|
15297
|
+
var _instfilteritem$produ;
|
|
15298
|
+
instfilteritem === null || instfilteritem === void 0 || (_instfilteritem$produ = instfilteritem.productvaluesfilter) === null || _instfilteritem$produ === void 0 || _instfilteritem$produ.forEach(function (valefilteritem, valefilteritemindex) {
|
|
15299
|
+
if (filteritem.valueid == valefilteritem.valueid) {
|
|
15300
|
+
valefilteritem.isfilterselected = true;
|
|
15301
|
+
}
|
|
15302
|
+
});
|
|
15303
|
+
});
|
|
15304
|
+
});
|
|
15305
|
+
setinstfilters(_toConsumableArray__default["default"](tempinstfilters));
|
|
15306
|
+
}
|
|
15307
|
+
if (instcategories.length != 0) {
|
|
15308
|
+
var _ProductFilterObjCont4;
|
|
15309
|
+
var tempInstcategories = _toConsumableArray__default["default"](instcategories);
|
|
15310
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15311
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15312
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15313
|
+
colitem.isfilterselected = false;
|
|
15314
|
+
});
|
|
15315
|
+
});
|
|
15316
|
+
});
|
|
15317
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont4 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont4 === void 0 || _ProductFilterObjCont4.forEach(function (filteritem, filterindex) {
|
|
15318
|
+
tempInstcategories.forEach(function (catitem, catindex) {
|
|
15319
|
+
catitem.parentcolletions.forEach(function (parentcolitem, parentcolindex) {
|
|
15320
|
+
parentcolitem.collections.forEach(function (colitem, colindex) {
|
|
15321
|
+
if (colitem.collectionid == filteritem) {
|
|
15322
|
+
colitem.isfilterselected = true;
|
|
15323
|
+
}
|
|
15324
|
+
});
|
|
15325
|
+
});
|
|
15326
|
+
});
|
|
15327
|
+
});
|
|
15328
|
+
setinstcategories(_toConsumableArray__default["default"](tempInstcategories));
|
|
15329
|
+
}
|
|
15330
|
+
if (instcollections.length != 0) {
|
|
15331
|
+
var _ProductFilterObjCont5;
|
|
15332
|
+
var tempInstcollections = _toConsumableArray__default["default"](instcollections);
|
|
15333
|
+
tempInstcollections.forEach(function (instfilteritem, valefilteritemindex) {
|
|
15334
|
+
instfilteritem.isfilterselected = false;
|
|
15335
|
+
});
|
|
15336
|
+
ProductFilterObjContext === null || ProductFilterObjContext === void 0 || (_ProductFilterObjCont5 = ProductFilterObjContext.collections) === null || _ProductFilterObjCont5 === void 0 || _ProductFilterObjCont5.forEach(function (filteritem, filterindex) {
|
|
15337
|
+
tempInstcollections === null || tempInstcollections === void 0 || tempInstcollections.forEach(function (instfilteritem, instfilterindex) {
|
|
15338
|
+
if (instfilteritem.collectionid == filteritem) {
|
|
15339
|
+
instfilteritem.isfilterselected = true;
|
|
15340
|
+
}
|
|
15341
|
+
});
|
|
15342
|
+
});
|
|
15343
|
+
setinstcollections(_toConsumableArray__default["default"](tempInstcollections));
|
|
15344
|
+
}
|
|
15345
|
+
};
|
|
15346
|
+
var setfilterfunc = function setfilterfunc(valueid, valueindex, mainparentindex, type) {
|
|
15347
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
|
|
15348
|
+
if (type == 'clearfilters') {
|
|
15349
|
+
tempfetchproductsfilerobjcontext.FilterOptions = [];
|
|
15350
|
+
} else {
|
|
15351
|
+
var _tempfetchproductsfil;
|
|
15352
|
+
var FilterExists = false;
|
|
15353
|
+
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.FilterOptions) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15354
|
+
if (filteritem.valueid == valueid) {
|
|
15355
|
+
FilterExists = true;
|
|
15356
|
+
tempfetchproductsfilerobjcontext.FilterOptions.splice(filterindex, 1);
|
|
15357
|
+
}
|
|
15358
|
+
});
|
|
15359
|
+
if (!FilterExists) {
|
|
15360
|
+
tempfetchproductsfilerobjcontext.FilterOptions.push({
|
|
15361
|
+
valueid: valueid
|
|
15362
|
+
});
|
|
15363
|
+
}
|
|
15364
|
+
}
|
|
15365
|
+
if (tempfetchproductsfilerobjcontext.FilterOptions.length == 0) {
|
|
15366
|
+
tempfetchproductsfilerobjcontext.isfilter = 0;
|
|
15367
|
+
} else {
|
|
15368
|
+
tempfetchproductsfilerobjcontext.isfilter = 1;
|
|
15369
|
+
}
|
|
15370
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
15371
|
+
setProductFilterObjContext(_objectSpread$29({}, tempfetchproductsfilerobjcontext));
|
|
15372
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15373
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15374
|
+
};
|
|
15375
|
+
var InstFilters = function InstFilters() {
|
|
15376
|
+
return /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.Accordion, {
|
|
15377
|
+
allowMultipleExpanded: true,
|
|
15378
|
+
allowZeroExpanded: true
|
|
15379
|
+
}, instfilters.map(function (item, index) {
|
|
15380
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItem, {
|
|
15381
|
+
uuid: index
|
|
15382
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemHeading, null, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemButton, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15383
|
+
className: filter_cssstyles.titlecontainer + ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '
|
|
15384
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15385
|
+
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
15386
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15387
|
+
className: langdetect == 'en' ? filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 ' : filter_cssstyles.collapsetitle + ' collapsetitle m-0 p-0 text-right'
|
|
15388
|
+
}, langdetect == 'en' ? item.optionname : item.optionname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15389
|
+
className: "col-lg-2 col-md-2 col-sm-2 p-0"
|
|
15390
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemState, null, function (state) {
|
|
15391
|
+
if (state.expanded == true) {
|
|
15392
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15393
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15394
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronDown.FiChevronDown, null));
|
|
15395
|
+
} else {
|
|
15396
|
+
return /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15397
|
+
className: filter_cssstyles.collapsetitle + ' collapsetitle h-100 d-flex align-items-center justify-content-end '
|
|
15398
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiChevronUp.FiChevronUp, null));
|
|
15399
|
+
}
|
|
15400
|
+
}))))), /*#__PURE__*/React__default["default"].createElement(reactAccessibleAccordion.AccordionItemPanel, {
|
|
15401
|
+
className: "p-0"
|
|
15402
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15403
|
+
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
15404
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15405
|
+
className: 'col-lg-12'
|
|
15406
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15407
|
+
className: langdetect == 'en' ? "".concat(filterstyles.timeline) + ' p-sm-0 ' : "".concat(filterstyles.timeline, " ").concat(filterstyles.timelinetrans) + ' p-sm-0 '
|
|
15408
|
+
}, item.productvaluesfilter.map(function (valueitem, valueindex) {
|
|
15409
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15410
|
+
className: "".concat(filterstyles.border_left_line, " ").concat(filterstyles.timelineinnercont, " ").concat(filter_cssstyles.timelineinnercont, "\n ").concat(valueitem.isfilterselected ? "".concat(filter_cssstyles.timelineinnercont_active, " ").concat(filterstyles.timelineinnercont_active) : '', "\n \n ") + ' d-flex align-items-start pb-3 ',
|
|
15411
|
+
onClick: function onClick() {
|
|
15412
|
+
setfilterfunc(valueitem.valueid, valueindex, index, 'assign');
|
|
15413
|
+
}
|
|
15414
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15415
|
+
className: " ".concat(valueitem.isfilterselected ? filter_cssstyles.btn_item_active : '', " ").concat(filterstyles.btn_item, " ").concat(filter_cssstyles.btn_item) + ' mb-2 d-flex align-items-center '
|
|
15416
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
15417
|
+
className: "h-100 d-flex align-items-center"
|
|
15418
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15419
|
+
className: langdetect == 'en' ? 'ml-3' : 'mr-3 text-right'
|
|
15420
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
15421
|
+
className: "".concat(filterstyles.timeline_text, " ").concat(filter_cssstyles.timeline_text) + ' m-0 p-0 ',
|
|
15422
|
+
style: {
|
|
15423
|
+
color: valueitem.isfilterselected ? sectionproperties.activecat_color : ''
|
|
15424
|
+
}
|
|
15425
|
+
}, langdetect == 'en' ? valueitem.valuename : valueitem.valuename_ar)));
|
|
15426
|
+
})))))), /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
15427
|
+
className: "mt-3 mb-3"
|
|
15428
|
+
}));
|
|
15429
|
+
}));
|
|
15430
|
+
};
|
|
15431
|
+
var filter_cssstyles = {
|
|
15432
|
+
form_control: glamor.css((_css = {
|
|
15433
|
+
position: 'relative',
|
|
15434
|
+
display: 'flex',
|
|
15435
|
+
alignItems: 'center'
|
|
15436
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "padding", '0 30px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "border", '1px solid #ccc'), _defineProperty__default["default"](_css, "borderRadius", '5px'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, "fontSize", '14px'), _defineProperty__default["default"](_css, ':focus', {
|
|
15437
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
15438
|
+
borderColor: '#eac435',
|
|
15439
|
+
boxShadow: 'none'
|
|
15440
|
+
}), _css)),
|
|
15441
|
+
collapsetitle: glamor.css({
|
|
15442
|
+
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
15443
|
+
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
15444
|
+
textTransform: sectionproperties.filtertitle_texttransform,
|
|
15445
|
+
color: sectionproperties.filtertitle_color,
|
|
15446
|
+
':hover': {
|
|
15447
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15448
|
+
}
|
|
15449
|
+
}),
|
|
15450
|
+
titlecontainer: glamor.css({
|
|
15451
|
+
color: sectionproperties.filtertitle_color,
|
|
15452
|
+
':hover .collapsetitle': {
|
|
15453
|
+
color: sectionproperties.filtertitle_coloronhover
|
|
15454
|
+
}
|
|
15455
|
+
}),
|
|
15456
|
+
timeline_text: glamor.css({
|
|
15457
|
+
fontSize: sectionproperties.timeline_text_fontsize + 'px',
|
|
15458
|
+
fontWeight: sectionproperties.timeline_text_fontweight,
|
|
15459
|
+
textTransform: sectionproperties.timeline_text_texttransform,
|
|
15460
|
+
color: sectionproperties.timeline_text_color,
|
|
15461
|
+
transition: '.3s',
|
|
15462
|
+
':hover': {
|
|
15463
|
+
color: sectionproperties.timeline_text_coloronhover
|
|
15464
|
+
}
|
|
15465
|
+
}),
|
|
15466
|
+
btnstyles: glamor.css({
|
|
15467
|
+
color: sectionproperties.generalbtn_textColor,
|
|
15468
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
15469
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
15470
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
15471
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
15472
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
15473
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
15474
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
15475
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
15476
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
15477
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
15478
|
+
transition: '.3s',
|
|
15479
|
+
':hover': {
|
|
15480
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
15481
|
+
color: sectionproperties.generalbtn_textColoronhover
|
|
15482
|
+
}
|
|
15483
|
+
}),
|
|
15484
|
+
close_menu_icon_cont: glamor.css({
|
|
15485
|
+
background: sectionproperties.closeSliderBgColor,
|
|
15486
|
+
width: sectionproperties.closeSliderWidth + 'px',
|
|
15487
|
+
height: sectionproperties.closeSliderHeight + 'px',
|
|
15488
|
+
borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
|
|
15489
|
+
':hover': {
|
|
15490
|
+
background: sectionproperties.closeSliderBgColorHover
|
|
15491
|
+
}
|
|
15492
|
+
}),
|
|
15493
|
+
horizontalfilter_card: glamor.css({
|
|
15494
|
+
marginBottom: sectionproperties.horizontalfilter_mb + 'px',
|
|
15495
|
+
marginTop: sectionproperties.horizontalfilter_mt + 'px',
|
|
15496
|
+
background: sectionproperties.horizontalfilter_cardbg,
|
|
15497
|
+
border: sectionproperties.horizontalfilter_cardborderwidth + 'px solid ' + sectionproperties.horizontalfilter_cardbordercolor,
|
|
15498
|
+
boxShadow: sectionproperties.horizontalfilter_cardboxShadow == 'Show' ? sectionproperties.horizontalfilter_cardboxShadowcolor : 'horizontalfilter_cardboxShadow'
|
|
15499
|
+
}),
|
|
15500
|
+
btn_item: glamor.css({
|
|
15501
|
+
width: '20px',
|
|
15502
|
+
height: '20px',
|
|
15503
|
+
background: sectionproperties.filteritembtn_bgcolor,
|
|
15504
|
+
':hover': {
|
|
15505
|
+
background: sectionproperties.filteritembtn_bghover
|
|
15506
|
+
}
|
|
15507
|
+
}),
|
|
15508
|
+
btn_item_active: glamor.css({
|
|
15509
|
+
background: sectionproperties.btn_item_activebgcolor
|
|
15510
|
+
}),
|
|
15511
|
+
timelineinnercont_active: glamor.css({
|
|
15512
|
+
fontWeight: sectionproperties.activecat_fontweight,
|
|
15513
|
+
color: sectionproperties.activecat_color
|
|
15514
|
+
}),
|
|
15515
|
+
categoryName: glamor.css({
|
|
15516
|
+
color: sectionproperties.filtertitle_color,
|
|
15517
|
+
fontWeight: sectionproperties.filterCatFontWeight,
|
|
15518
|
+
fontSize: sectionproperties.filterCatFontSize + 'px'
|
|
15519
|
+
}),
|
|
15520
|
+
pCollectionName: glamor.css({
|
|
15521
|
+
color: sectionproperties.filtertitle_color,
|
|
15522
|
+
fontWeight: sectionproperties.filterPCollFontWeight,
|
|
15523
|
+
fontSize: sectionproperties.filterPCollFontSize + 'px'
|
|
15524
|
+
}),
|
|
15525
|
+
explorebtn: glamor.css({
|
|
15526
|
+
fontSize: sectionproperties.explorebtnfontsize + 'px',
|
|
15527
|
+
fontWeight: 600,
|
|
15528
|
+
color: sectionproperties.explorebtncolor,
|
|
15529
|
+
transition: '.3s',
|
|
15530
|
+
':hover': {
|
|
15531
|
+
color: sectionproperties.explorebtncoloronhover
|
|
15532
|
+
}
|
|
15533
|
+
}),
|
|
15534
|
+
showallbtn: glamor.css({
|
|
15535
|
+
color: sectionproperties.showallcolor,
|
|
15536
|
+
':hover': {
|
|
15537
|
+
transition: '.3s',
|
|
15538
|
+
cursor: 'pointer',
|
|
15539
|
+
color: sectionproperties.showallcolorhover
|
|
15540
|
+
}
|
|
15541
|
+
}),
|
|
15542
|
+
sectiontitle: glamor.css({
|
|
15543
|
+
position: 'relative',
|
|
15544
|
+
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
|
|
15545
|
+
width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
|
|
15546
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
15547
|
+
'@media (max-width: 800px)': {
|
|
15548
|
+
fontSize: sectionproperties.sectionTitleFontSizeresp + 'px'
|
|
15549
|
+
}
|
|
15550
|
+
})
|
|
15551
|
+
};
|
|
15552
|
+
var filterrouting = function filterrouting(tempfetchproductsfilerobjcontext) {
|
|
15553
|
+
var path = window.location.pathname.split('/');
|
|
15554
|
+
var currentpagepath = path[1];
|
|
15555
|
+
var pagenamepathinstaticpagelinkcont = '';
|
|
15556
|
+
for (var key in StaticPagesLinksContext) {
|
|
15557
|
+
if (StaticPagesLinksContext[key] == currentpagepath) {
|
|
15558
|
+
pagenamepathinstaticpagelinkcont = key;
|
|
15559
|
+
}
|
|
15560
|
+
}
|
|
15561
|
+
if (pagenamepathinstaticpagelinkcont != undefined && pagenamepathinstaticpagelinkcont != '') {
|
|
15562
|
+
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15563
|
+
}
|
|
15564
|
+
};
|
|
15565
|
+
var _useState21 = React.useState(false),
|
|
15566
|
+
_useState22 = _slicedToArray__default["default"](_useState21, 2);
|
|
15567
|
+
_useState22[0];
|
|
15568
|
+
_useState22[1];
|
|
15569
|
+
// const queryParameters = new URLSearchParams(window.location.search);
|
|
15570
|
+
// useEffect(() => {
|
|
15571
|
+
// // setsortbycontext('Sort By');
|
|
15572
|
+
// if (queryParameters.get('sortprice') == undefined) {
|
|
15573
|
+
// setsortbycontext('Sort By');
|
|
15574
|
+
// } else {
|
|
15575
|
+
// var temp = { ...sortbycontext };
|
|
15576
|
+
// temp = queryParameters.get('sortprice');
|
|
15577
|
+
// alert(temp);
|
|
15578
|
+
// }
|
|
15579
|
+
// }, []);
|
|
15580
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15581
|
+
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
|
|
15582
|
+
style: {
|
|
15583
|
+
marginTop: sectionproperties.filtersection_mt + 'px',
|
|
15584
|
+
minHeight: sectionproperties.filterminheight == 0 ? 'auto' : sectionproperties.filterminheight + 'vh'
|
|
15585
|
+
}
|
|
15586
|
+
}, InstFilters());
|
|
15587
|
+
};
|
|
15588
|
+
|
|
15589
|
+
function ownKeys$28(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15590
|
+
function _objectSpread$28(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$28(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$28(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15011
15591
|
var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
15012
15592
|
var _authdetailsContext$i;
|
|
15013
15593
|
props.actions.lang;
|
|
@@ -15137,7 +15717,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15137
15717
|
}, [ProductFilterObjContext]);
|
|
15138
15718
|
var filterupdater = function filterupdater() {
|
|
15139
15719
|
setTimeout(function () {
|
|
15140
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
15720
|
+
var tempFetchQueriesEngineContext = _objectSpread$28({}, FetchQueriesEngineContext);
|
|
15141
15721
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
15142
15722
|
setFetchQueriesEngineContext(tempFetchQueriesEngineContext);
|
|
15143
15723
|
}, 100);
|
|
@@ -15182,7 +15762,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15182
15762
|
};
|
|
15183
15763
|
var setCollectionFilterFunc = function setCollectionFilterFunc(collectionid) {
|
|
15184
15764
|
var _tempfetchproductsfil;
|
|
15185
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$
|
|
15765
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$28({}, ProductFilterObjContext);
|
|
15186
15766
|
var CollectionExists = false;
|
|
15187
15767
|
tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil === void 0 || _tempfetchproductsfil.forEach(function (filteritem, filterindex) {
|
|
15188
15768
|
if (filteritem == collectionid) {
|
|
@@ -15199,7 +15779,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15199
15779
|
}
|
|
15200
15780
|
tempfetchproductsfilerobjcontext.page = 0;
|
|
15201
15781
|
tempfetchproductsfilerobjcontext.ProductFetchingType = 'Random';
|
|
15202
|
-
setProductFilterObjContext(_objectSpread$
|
|
15782
|
+
setProductFilterObjContext(_objectSpread$28({}, tempfetchproductsfilerobjcontext));
|
|
15203
15783
|
filterrouting(tempfetchproductsfilerobjcontext);
|
|
15204
15784
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
15205
15785
|
};
|
|
@@ -15256,9 +15836,14 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15256
15836
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15257
15837
|
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15258
15838
|
|
|
15259
|
-
function ownKeys$
|
|
15260
|
-
function _objectSpread$
|
|
15839
|
+
function ownKeys$27(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; }
|
|
15840
|
+
function _objectSpread$27(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$27(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$27(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15261
15841
|
var CardsSection = function CardsSection(props) {
|
|
15842
|
+
var plainString = function plainString(html) {
|
|
15843
|
+
var divContainer = document.createElement('div');
|
|
15844
|
+
divContainer.innerHTML = html;
|
|
15845
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
15846
|
+
};
|
|
15262
15847
|
var refscr = /*#__PURE__*/React.createRef();
|
|
15263
15848
|
var _useInView = reactIntersectionObserver.useInView();
|
|
15264
15849
|
_useInView.ref;
|
|
@@ -15317,11 +15902,6 @@ var CardsSection = function CardsSection(props) {
|
|
|
15317
15902
|
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15318
15903
|
maincontainerarrayofobjs = _useState12[0],
|
|
15319
15904
|
setmaincontainerarrayofobjs = _useState12[1];
|
|
15320
|
-
// React.useEffect(() => {
|
|
15321
|
-
// if (inView) {
|
|
15322
|
-
// fetchProductsQuery.fetchNextPage();
|
|
15323
|
-
// }
|
|
15324
|
-
// }, [inView]);
|
|
15325
15905
|
var _useState13 = React.useState(12),
|
|
15326
15906
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
15327
15907
|
perpageItems = _useState14[0],
|
|
@@ -15344,7 +15924,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
15344
15924
|
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
15345
15925
|
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
15346
15926
|
});
|
|
15347
|
-
setsectionproperties(_objectSpread$
|
|
15927
|
+
setsectionproperties(_objectSpread$27({}, secpropobj));
|
|
15348
15928
|
if (props.srcfromprops == 'GeneralProductsComponent') {
|
|
15349
15929
|
setfetchingtype('products');
|
|
15350
15930
|
var lcproductfetchingtype = 'Random';
|
|
@@ -15418,9 +15998,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15418
15998
|
}
|
|
15419
15999
|
tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
|
|
15420
16000
|
tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
|
|
15421
|
-
setProductFilterObjContext(_objectSpread$
|
|
16001
|
+
setProductFilterObjContext(_objectSpread$27({}, tempfetchproductsfilerobjcontext));
|
|
15422
16002
|
}
|
|
15423
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
16003
|
+
setFetchQueriesEngineContext(_objectSpread$27({}, tempFetchQueriesEngineContext));
|
|
15424
16004
|
}
|
|
15425
16005
|
}, [fetchingtype, ProductsFetchingTypeSectionObj]);
|
|
15426
16006
|
React.useEffect(function () {
|
|
@@ -15703,9 +16283,9 @@ var CardsSection = function CardsSection(props) {
|
|
|
15703
16283
|
// Example items, to simulate fetching from another resources.
|
|
15704
16284
|
var handlePageClick = function handlePageClick(event) {
|
|
15705
16285
|
props.scrolltotop();
|
|
15706
|
-
var tempProductFilterObjContext = _objectSpread$
|
|
16286
|
+
var tempProductFilterObjContext = _objectSpread$27({}, ProductFilterObjContext);
|
|
15707
16287
|
tempProductFilterObjContext.page = event === null || event === void 0 ? void 0 : event.selected;
|
|
15708
|
-
setProductFilterObjContext(_objectSpread$
|
|
16288
|
+
setProductFilterObjContext(_objectSpread$27({}, tempProductFilterObjContext));
|
|
15709
16289
|
var pasturl = '';
|
|
15710
16290
|
if (props.grouptypeprops != undefined) {
|
|
15711
16291
|
if (props.collectionidprops != undefined) {
|
|
@@ -15975,9 +16555,69 @@ var CardsSection = function CardsSection(props) {
|
|
|
15975
16555
|
}
|
|
15976
16556
|
return isloading;
|
|
15977
16557
|
};
|
|
16558
|
+
var show_product_group_titles = function show_product_group_titles() {
|
|
16559
|
+
var title_en = '';
|
|
16560
|
+
var title_ar = '';
|
|
16561
|
+
var description_en = '';
|
|
16562
|
+
var description_ar = '';
|
|
16563
|
+
var logo = '';
|
|
16564
|
+
var type = '';
|
|
16565
|
+
var id = '';
|
|
16566
|
+
if (ProductFilterObjContext['collections'] != undefined && Array.isArray(ProductFilterObjContext['collections']) && ProductFilterObjContext['collections'][0] != undefined) {
|
|
16567
|
+
id = ProductFilterObjContext['collections'][0];
|
|
16568
|
+
}
|
|
16569
|
+
if (id != null && id != '' && id != 'all') {
|
|
16570
|
+
var _fetchCategoriesQuery4;
|
|
16571
|
+
fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery4 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.data) === null || _fetchCategoriesQuery4 === void 0 || (_fetchCategoriesQuery4 = _fetchCategoriesQuery4.categories) === null || _fetchCategoriesQuery4 === void 0 || _fetchCategoriesQuery4.map(function (catitem) {
|
|
16572
|
+
if (catitem.categoryid == id) {
|
|
16573
|
+
title_en = catitem.title_en;
|
|
16574
|
+
title_ar = catitem.title_ar;
|
|
16575
|
+
description_en = catitem.description_en;
|
|
16576
|
+
description_ar = catitem.description_ar;
|
|
16577
|
+
logo = catitem.categorylogo;
|
|
16578
|
+
type = 'category';
|
|
16579
|
+
}
|
|
16580
|
+
if (title_en == '') {
|
|
16581
|
+
var _catitem$parentcollet;
|
|
16582
|
+
catitem === null || catitem === void 0 || (_catitem$parentcollet = catitem.parentcolletions) === null || _catitem$parentcollet === void 0 || _catitem$parentcollet.map(function (parentitem) {
|
|
16583
|
+
if (parentitem.parentcollectionid == id) {
|
|
16584
|
+
title_en = parentitem.title_en;
|
|
16585
|
+
title_ar = parentitem.title_ar;
|
|
16586
|
+
description_en = parentitem.description_en;
|
|
16587
|
+
description_ar = parentitem.description_ar;
|
|
16588
|
+
logo = parentitem.parentcollectionlogo;
|
|
16589
|
+
type = 'parentcollection';
|
|
16590
|
+
}
|
|
16591
|
+
if (title_en == '') {
|
|
16592
|
+
var _parentitem$collectio;
|
|
16593
|
+
parentitem === null || parentitem === void 0 || (_parentitem$collectio = parentitem.collections) === null || _parentitem$collectio === void 0 || _parentitem$collectio.map(function (colitem) {
|
|
16594
|
+
if (colitem.collectionid == id) {
|
|
16595
|
+
title_en = colitem.title_en;
|
|
16596
|
+
title_ar = colitem.title_ar;
|
|
16597
|
+
description_en = colitem.description_en;
|
|
16598
|
+
description_ar = colitem.description_ar;
|
|
16599
|
+
logo = colitem.collectionlogo;
|
|
16600
|
+
type = 'collection';
|
|
16601
|
+
}
|
|
16602
|
+
});
|
|
16603
|
+
}
|
|
16604
|
+
});
|
|
16605
|
+
}
|
|
16606
|
+
});
|
|
16607
|
+
}
|
|
16608
|
+
return {
|
|
16609
|
+
title_en: title_en,
|
|
16610
|
+
title_ar: title_ar,
|
|
16611
|
+
description_en: description_en,
|
|
16612
|
+
description_ar: description_ar,
|
|
16613
|
+
type: type,
|
|
16614
|
+
id: id,
|
|
16615
|
+
logo: logo
|
|
16616
|
+
};
|
|
16617
|
+
};
|
|
15978
16618
|
var cardsrender = function cardsrender() {
|
|
15979
16619
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15980
|
-
"class": sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
16620
|
+
"class": sectionproperties.showvariantfilter == 'Show' ? 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : sectionproperties.showFilter == 'show' && sectionproperties.filterdirection == 'Vertical' ? sectionproperties.numofcols == '2' ? 'col-lg-10 col-md-12 col-sm-12 p-sm-0' : 'col-lg-9 col-md-12 col-sm-12 p-sm-0' : 'row m-0 w-100 p-sm-0'
|
|
15981
16621
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
15982
16622
|
className: "row m-0 w-100 d-flex align-items-center p-sm-0"
|
|
15983
16623
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -16224,7 +16864,10 @@ var CardsSection = function CardsSection(props) {
|
|
|
16224
16864
|
// ? 'scrollmenuclassnameitemModernProductCard'
|
|
16225
16865
|
// : item.tabexsectioninfo.sectioncompname == 'Simplecategorycardwithtextbelow'
|
|
16226
16866
|
// ? 'scrollmenuclassnameitemSimplecategorycardwithtextbelow'
|
|
16227
|
-
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16867
|
+
item.tabexsectioninfo.sectioncompname == 'Productcard7' ? 'scrollmenuclassnameitemProductcard7' : item.tabexsectioninfo.sectioncompname == 'MenuCard' ? 'scrollmenuclassnameitemMenuCard' : item.tabexsectioninfo.sectioncompname == 'StylishProductCard' ? 'scrollmenuclassnameitemStylishProductCard' : item.tabexsectioninfo.sectioncompname == 'ProductCardWithTextOnImage' ? 'scrollmenuclassnameitemProductCardWithTextOnImage' :
|
|
16868
|
+
// : item.tabexsectioninfo.sectioncompname == 'Card23'
|
|
16869
|
+
// ? 'scrollmenuclassnameitemCard23'
|
|
16870
|
+
item.tabexsectioninfo.sectioncompname == 'Card20' ? 'scrollmenuclassnameitemCard20' : item.tabexsectioninfo.sectioncompname == 'ModernCardWithQuantityButton' ? 'scrollmenuclassnameitemModernCardWithQuantityButton' : item.tabexsectioninfo.sectioncompname == 'CategoryCardwithhoveraction' ? 'scrollmenuclassnameitemCategoryCardwithhoveraction' : item.tabexsectioninfo.sectioncompname == 'CircleCardWithVariants' ? 'scrollmenuclassnameitemCircleCardWithVariants' :
|
|
16228
16871
|
// : item.tabexsectioninfo.sectioncompname == 'UpSlideEffectCard'
|
|
16229
16872
|
// ? 'scrollmenuclassnameitemUpSlideEffectCard'
|
|
16230
16873
|
item.tabexsectioninfo.sectioncompname == 'CategoryCardTextOnImage' ? 'scrollmenuclassnameitemCategoryCardTextOnImage' : '',
|
|
@@ -16495,8 +17138,33 @@ var CardsSection = function CardsSection(props) {
|
|
|
16495
17138
|
}
|
|
16496
17139
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16497
17140
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
16498
|
-
}, sectionproperties.
|
|
17141
|
+
}, sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17142
|
+
"class": "col-lg-12 mb-3 mt-5"
|
|
17143
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17144
|
+
"class": "m-0",
|
|
17145
|
+
style: {
|
|
17146
|
+
fontWeight: 700,
|
|
17147
|
+
fontSize: 27,
|
|
17148
|
+
color: '#62554a'
|
|
17149
|
+
}
|
|
17150
|
+
}, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17151
|
+
"class": "col-lg-12 mb-3"
|
|
17152
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17153
|
+
"class": "m-0",
|
|
17154
|
+
style: {
|
|
17155
|
+
fontSize: 18,
|
|
17156
|
+
color: '#62554a'
|
|
17157
|
+
}
|
|
17158
|
+
}, plainString(show_product_group_titles()['description_en']))), sectionproperties.showFilter == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16499
17159
|
className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 d-flex p-0' : sectionproperties.numofcols == '2' ? 'col-lg-2 d-flex' : 'col-lg-3 d-flex'
|
|
17160
|
+
}, /*#__PURE__*/React__default["default"].createElement(Filter$2, {
|
|
17161
|
+
sectionpropertiesprops: sectionproperties,
|
|
17162
|
+
actions: actions,
|
|
17163
|
+
openFilterSlider: openFilterSlider,
|
|
17164
|
+
setopenFilterSlider: setopenFilterSlider,
|
|
17165
|
+
show_product_group_titles: show_product_group_titles
|
|
17166
|
+
})), sectionproperties.showvariantfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17167
|
+
className: 'col-lg-3 d-flex'
|
|
16500
17168
|
}, /*#__PURE__*/React__default["default"].createElement(Filter$1, {
|
|
16501
17169
|
sectionpropertiesprops: sectionproperties,
|
|
16502
17170
|
actions: actions,
|
|
@@ -16505,8 +17173,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
16505
17173
|
})), fetchingtype == 'custom' && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, cardsrender()), fetchingtype != 'custom' && cardsrender()));
|
|
16506
17174
|
};
|
|
16507
17175
|
|
|
16508
|
-
function ownKeys$
|
|
16509
|
-
function _objectSpread$
|
|
17176
|
+
function ownKeys$26(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; }
|
|
17177
|
+
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16510
17178
|
var InnerGroups = function InnerGroups(props) {
|
|
16511
17179
|
var _useState = React.useState(''),
|
|
16512
17180
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
@@ -16547,7 +17215,7 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16547
17215
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16548
17216
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16549
17217
|
});
|
|
16550
|
-
setsectionproperties(_objectSpread$
|
|
17218
|
+
setsectionproperties(_objectSpread$26({}, secpropobj));
|
|
16551
17219
|
}
|
|
16552
17220
|
}, [StatePagePropertiesContext]);
|
|
16553
17221
|
// useEffect(() => {
|
|
@@ -16563,14 +17231,14 @@ var InnerGroups = function InnerGroups(props) {
|
|
|
16563
17231
|
backgroundColor: sectionproperties.backgroundColor
|
|
16564
17232
|
}
|
|
16565
17233
|
}, /*#__PURE__*/React__default["default"].createElement(CardsSection, {
|
|
16566
|
-
actions: _objectSpread$
|
|
17234
|
+
actions: _objectSpread$26(_objectSpread$26({}, actions), {}, {
|
|
16567
17235
|
fetchingtype: grouptypeparams
|
|
16568
17236
|
})
|
|
16569
17237
|
}));
|
|
16570
17238
|
};
|
|
16571
17239
|
|
|
16572
|
-
function ownKeys$
|
|
16573
|
-
function _objectSpread$
|
|
17240
|
+
function ownKeys$25(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; }
|
|
17241
|
+
function _objectSpread$25(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$25(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$25(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16574
17242
|
var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
16575
17243
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16576
17244
|
var _useState = React.useState(''),
|
|
@@ -16601,7 +17269,7 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16601
17269
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16602
17270
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16603
17271
|
});
|
|
16604
|
-
setsectionproperties(_objectSpread$
|
|
17272
|
+
setsectionproperties(_objectSpread$25({}, secpropobj));
|
|
16605
17273
|
}
|
|
16606
17274
|
}, [StatePagePropertiesContext]);
|
|
16607
17275
|
React.useEffect(function () {
|
|
@@ -16614,9 +17282,9 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16614
17282
|
}
|
|
16615
17283
|
}, []);
|
|
16616
17284
|
React.useEffect(function () {
|
|
16617
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17285
|
+
var tempFetchQueriesEngineContext = _objectSpread$25({}, FetchQueriesEngineContext);
|
|
16618
17286
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16619
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17287
|
+
setFetchQueriesEngineContext(_objectSpread$25({}, tempFetchQueriesEngineContext));
|
|
16620
17288
|
}, []);
|
|
16621
17289
|
var _useState7 = React.useState([]),
|
|
16622
17290
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16692,8 +17360,8 @@ var PrivacyPolicy = function PrivacyPolicy(props) {
|
|
|
16692
17360
|
})))));
|
|
16693
17361
|
};
|
|
16694
17362
|
|
|
16695
|
-
function ownKeys$
|
|
16696
|
-
function _objectSpread$
|
|
17363
|
+
function ownKeys$24(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; }
|
|
17364
|
+
function _objectSpread$24(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$24(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$24(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16697
17365
|
var RefundPolicy = function RefundPolicy(props) {
|
|
16698
17366
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16699
17367
|
var _useState = React.useState(''),
|
|
@@ -16724,7 +17392,7 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16724
17392
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16725
17393
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16726
17394
|
});
|
|
16727
|
-
setsectionproperties(_objectSpread$
|
|
17395
|
+
setsectionproperties(_objectSpread$24({}, secpropobj));
|
|
16728
17396
|
}
|
|
16729
17397
|
}, [StatePagePropertiesContext]);
|
|
16730
17398
|
React.useEffect(function () {
|
|
@@ -16737,9 +17405,9 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16737
17405
|
}
|
|
16738
17406
|
}, []);
|
|
16739
17407
|
React.useEffect(function () {
|
|
16740
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17408
|
+
var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
|
|
16741
17409
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16742
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17410
|
+
setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
|
|
16743
17411
|
}, []);
|
|
16744
17412
|
var _useState7 = React.useState([]),
|
|
16745
17413
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16815,8 +17483,8 @@ var RefundPolicy = function RefundPolicy(props) {
|
|
|
16815
17483
|
})))));
|
|
16816
17484
|
};
|
|
16817
17485
|
|
|
16818
|
-
function ownKeys$
|
|
16819
|
-
function _objectSpread$
|
|
17486
|
+
function ownKeys$23(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; }
|
|
17487
|
+
function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16820
17488
|
var ShippingPolicy = function ShippingPolicy(props) {
|
|
16821
17489
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16822
17490
|
var _useState = React.useState(''),
|
|
@@ -16847,7 +17515,7 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16847
17515
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16848
17516
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16849
17517
|
});
|
|
16850
|
-
setsectionproperties(_objectSpread$
|
|
17518
|
+
setsectionproperties(_objectSpread$23({}, secpropobj));
|
|
16851
17519
|
}
|
|
16852
17520
|
}, [StatePagePropertiesContext]);
|
|
16853
17521
|
React.useEffect(function () {
|
|
@@ -16860,9 +17528,9 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16860
17528
|
}
|
|
16861
17529
|
}, []);
|
|
16862
17530
|
React.useEffect(function () {
|
|
16863
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17531
|
+
var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
|
|
16864
17532
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16865
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17533
|
+
setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
|
|
16866
17534
|
}, []);
|
|
16867
17535
|
var _useState7 = React.useState([]),
|
|
16868
17536
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -16938,8 +17606,8 @@ var ShippingPolicy = function ShippingPolicy(props) {
|
|
|
16938
17606
|
})))));
|
|
16939
17607
|
};
|
|
16940
17608
|
|
|
16941
|
-
function ownKeys$
|
|
16942
|
-
function _objectSpread$
|
|
17609
|
+
function ownKeys$22(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; }
|
|
17610
|
+
function _objectSpread$22(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$22(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$22(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16943
17611
|
var TermsConditions = function TermsConditions(props) {
|
|
16944
17612
|
var _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4;
|
|
16945
17613
|
var _useState = React.useState(''),
|
|
@@ -16970,7 +17638,7 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16970
17638
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
16971
17639
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
16972
17640
|
});
|
|
16973
|
-
setsectionproperties(_objectSpread$
|
|
17641
|
+
setsectionproperties(_objectSpread$22({}, secpropobj));
|
|
16974
17642
|
}
|
|
16975
17643
|
}, [StatePagePropertiesContext]);
|
|
16976
17644
|
React.useEffect(function () {
|
|
@@ -16983,9 +17651,9 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
16983
17651
|
}
|
|
16984
17652
|
}, []);
|
|
16985
17653
|
React.useEffect(function () {
|
|
16986
|
-
var tempFetchQueriesEngineContext = _objectSpread$
|
|
17654
|
+
var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
|
|
16987
17655
|
tempFetchQueriesEngineContext.fetchinstitutepolicy = true;
|
|
16988
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
17656
|
+
setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
|
|
16989
17657
|
}, []);
|
|
16990
17658
|
var _useState7 = React.useState([]),
|
|
16991
17659
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
@@ -17061,8 +17729,8 @@ var TermsConditions = function TermsConditions(props) {
|
|
|
17061
17729
|
})))));
|
|
17062
17730
|
};
|
|
17063
17731
|
|
|
17064
|
-
function ownKeys$
|
|
17065
|
-
function _objectSpread$
|
|
17732
|
+
function ownKeys$21(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; }
|
|
17733
|
+
function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17066
17734
|
var Resetpassword = function Resetpassword(props) {
|
|
17067
17735
|
var _css, _css2;
|
|
17068
17736
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -17113,7 +17781,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17113
17781
|
StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 || (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 || (_StatePagePropertiesC = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC === void 0 || _StatePagePropertiesC.forEach(function (arrayItem, arrayindex) {
|
|
17114
17782
|
secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
|
|
17115
17783
|
});
|
|
17116
|
-
setsectionproperties(_objectSpread$
|
|
17784
|
+
setsectionproperties(_objectSpread$21({}, secpropobj));
|
|
17117
17785
|
}
|
|
17118
17786
|
}, [StatePagePropertiesContext]);
|
|
17119
17787
|
React.useEffect(function () {
|
|
@@ -17240,9 +17908,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17240
17908
|
className: "".concat(loginstyles2.form_control),
|
|
17241
17909
|
value: forgotpasswordpayload.email,
|
|
17242
17910
|
onChange: function onChange(event) {
|
|
17243
|
-
var temppayloadobj = _objectSpread$
|
|
17911
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17244
17912
|
temppayloadobj.email = event.target.value;
|
|
17245
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17913
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17246
17914
|
},
|
|
17247
17915
|
disabled: forgetpasswordstage == 'verify' ? true : false,
|
|
17248
17916
|
style: {
|
|
@@ -17257,9 +17925,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17257
17925
|
className: "".concat(loginstyles2.form_control),
|
|
17258
17926
|
value: forgotpasswordpayload.code,
|
|
17259
17927
|
onChange: function onChange(event) {
|
|
17260
|
-
var temppayloadobj = _objectSpread$
|
|
17928
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17261
17929
|
temppayloadobj.code = event.target.value;
|
|
17262
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17930
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17263
17931
|
},
|
|
17264
17932
|
style: {
|
|
17265
17933
|
background: sectionproperties.input_bgcolor
|
|
@@ -17273,9 +17941,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17273
17941
|
className: "".concat(loginstyles2.form_control),
|
|
17274
17942
|
value: forgotpasswordpayload.newpassword,
|
|
17275
17943
|
onChange: function onChange(event) {
|
|
17276
|
-
var temppayloadobj = _objectSpread$
|
|
17944
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17277
17945
|
temppayloadobj.newpassword = event.target.value;
|
|
17278
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17946
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17279
17947
|
},
|
|
17280
17948
|
style: {
|
|
17281
17949
|
background: sectionproperties.input_bgcolor
|
|
@@ -17289,9 +17957,9 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17289
17957
|
className: "".concat(loginstyles2.form_control),
|
|
17290
17958
|
value: forgotpasswordpayload.confirmnewpassword,
|
|
17291
17959
|
onChange: function onChange(event) {
|
|
17292
|
-
var temppayloadobj = _objectSpread$
|
|
17960
|
+
var temppayloadobj = _objectSpread$21({}, forgotpasswordpayload);
|
|
17293
17961
|
temppayloadobj.confirmnewpassword = event.target.value;
|
|
17294
|
-
setforgotpasswordpayload(_objectSpread$
|
|
17962
|
+
setforgotpasswordpayload(_objectSpread$21({}, temppayloadobj));
|
|
17295
17963
|
},
|
|
17296
17964
|
style: {
|
|
17297
17965
|
background: sectionproperties.input_bgcolor
|
|
@@ -17303,7 +17971,7 @@ var Resetpassword = function Resetpassword(props) {
|
|
|
17303
17971
|
onClick: function onClick() {
|
|
17304
17972
|
if (forgotpasswordpayload.email.length != 0) {
|
|
17305
17973
|
var runfunc = false;
|
|
17306
|
-
var tempforgotpasswordpayload = _objectSpread$
|
|
17974
|
+
var tempforgotpasswordpayload = _objectSpread$21({}, forgotpasswordpayload);
|
|
17307
17975
|
tempforgotpasswordpayload.functype = forgetpasswordstage;
|
|
17308
17976
|
if (forgetpasswordstage == 'verify') {
|
|
17309
17977
|
if (tempforgotpasswordpayload.newpassword.length != 0 && tempforgotpasswordpayload.code.length != 0) {
|
|
@@ -17589,8 +18257,8 @@ var Searchlist$1 = function Searchlist(props) {
|
|
|
17589
18257
|
}, lang.nosearchresults)))))));
|
|
17590
18258
|
};
|
|
17591
18259
|
|
|
17592
|
-
function ownKeys$
|
|
17593
|
-
function _objectSpread$
|
|
18260
|
+
function ownKeys$20(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; }
|
|
18261
|
+
function _objectSpread$20(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$20(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$20(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17594
18262
|
var MarqueeHeader = function MarqueeHeader(props) {
|
|
17595
18263
|
var _textarray$, _textarray$2;
|
|
17596
18264
|
props.actions;
|
|
@@ -17611,12 +18279,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
17611
18279
|
settextarray = _useState6[1];
|
|
17612
18280
|
React.useEffect(function () {
|
|
17613
18281
|
if (props.sectionpropertiesprops != undefined) {
|
|
17614
|
-
setsectionproperties(_objectSpread$
|
|
18282
|
+
setsectionproperties(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17615
18283
|
}
|
|
17616
18284
|
}, [props.sectionpropertiesprops]);
|
|
17617
18285
|
React.useEffect(function () {
|
|
17618
18286
|
if (props.templateproperties_contextprops != undefined) {
|
|
17619
|
-
settemplateproperties_context(_objectSpread$
|
|
18287
|
+
settemplateproperties_context(_objectSpread$20({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
17620
18288
|
}
|
|
17621
18289
|
}, [props.templateproperties_contextprops]);
|
|
17622
18290
|
React.useEffect(function () {
|
|
@@ -17658,8 +18326,8 @@ var css_248z$B = ".subheader-module_sub_outercontainer__-z5ZD {\n position: r
|
|
|
17658
18326
|
var headerstyles$f = {"sub_outercontainer":"subheader-module_sub_outercontainer__-z5ZD","nav__item":"subheader-module_nav__item__8oLkw","link":"subheader-module_link__7IEBY","dropmenu":"subheader-module_dropmenu__lL4Sc","active":"subheader-module_active__MjZNG","subheader":"subheader-module_subheader__aW8fS"};
|
|
17659
18327
|
styleInject(css_248z$B);
|
|
17660
18328
|
|
|
17661
|
-
function ownKeys$
|
|
17662
|
-
function _objectSpread$
|
|
18329
|
+
function ownKeys$1$(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; }
|
|
18330
|
+
function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17663
18331
|
var Subheader = function Subheader(props) {
|
|
17664
18332
|
var _props$subheaderprope, _props$subheaderprope2, _props$subheaderprope3, _props$subheaderprope4, _templatepropcontext$, _fetchCategoriesQuery2, _authdetailsContext$i, _props$subheaderprope13, _templatepropcontext$2, _props$subheaderprope16, _props$subheaderprope17, _templatepropcontext$3, _fetchCategoriesQuery3, _authdetailsContext$i2, _fetchCategoriesQuery4, _authdetailsContext$i3, _fetchCategoriesQuery5, _props$subheaderprope32, _props$subheaderprope33, _props$subheaderprope34, _props$subheaderprope35, _fetchCategoriesQuery6, _fetchCategoriesQuery7, _fetchCategoriesQuery9;
|
|
17665
18333
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
@@ -17677,31 +18345,35 @@ var Subheader = function Subheader(props) {
|
|
|
17677
18345
|
setshowdownheadermenu = _useState2[1];
|
|
17678
18346
|
var _useState3 = React.useState(''),
|
|
17679
18347
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
17680
|
-
|
|
17681
|
-
|
|
17682
|
-
var _useState5 = React.useState(
|
|
18348
|
+
currentimagecollection = _useState4[0],
|
|
18349
|
+
setcurrentimagecollection = _useState4[1];
|
|
18350
|
+
var _useState5 = React.useState(''),
|
|
17683
18351
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
17684
|
-
|
|
17685
|
-
|
|
17686
|
-
var _useState7 = React.useState(
|
|
18352
|
+
Choosenindex = _useState6[0],
|
|
18353
|
+
setChoosenindex = _useState6[1];
|
|
18354
|
+
var _useState7 = React.useState({}),
|
|
17687
18355
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
17688
|
-
|
|
17689
|
-
|
|
18356
|
+
sectionproperties = _useState8[0],
|
|
18357
|
+
setsectionproperties = _useState8[1];
|
|
17690
18358
|
var _useState9 = React.useState([]),
|
|
17691
|
-
_useState10 = _slicedToArray__default["default"](_useState9, 2)
|
|
17692
|
-
_useState10[0]
|
|
17693
|
-
_useState10[1];
|
|
18359
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2),
|
|
18360
|
+
pcollarray = _useState10[0],
|
|
18361
|
+
setpcollarray = _useState10[1];
|
|
18362
|
+
var _useState11 = React.useState([]),
|
|
18363
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
18364
|
+
_useState12[0];
|
|
18365
|
+
_useState12[1];
|
|
17694
18366
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
17695
18367
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
17696
18368
|
React.useEffect(function () {
|
|
17697
18369
|
var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
|
|
17698
18370
|
tempFetchQueriesEngineContext.categories = true;
|
|
17699
|
-
setFetchQueriesEngineContext(_objectSpread$
|
|
18371
|
+
setFetchQueriesEngineContext(_objectSpread$1$({}, tempFetchQueriesEngineContext));
|
|
17700
18372
|
// alert(JSON.stringify(authdetailsContext));
|
|
17701
18373
|
}, []);
|
|
17702
18374
|
React.useEffect(function () {
|
|
17703
18375
|
if (props.sectionpropertiesprops != undefined) {
|
|
17704
|
-
setsectionproperties(_objectSpread$
|
|
18376
|
+
setsectionproperties(_objectSpread$1$({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
17705
18377
|
}
|
|
17706
18378
|
}, [props.sectionpropertiesprops]);
|
|
17707
18379
|
// useEffect(() => {
|
|
@@ -17953,6 +18625,7 @@ var Subheader = function Subheader(props) {
|
|
|
17953
18625
|
onMouseEnter: function onMouseEnter() {
|
|
17954
18626
|
setshowdownheadermenu(true);
|
|
17955
18627
|
setChoosenindex(index);
|
|
18628
|
+
setcurrentimagecollection(item.parentcollectionlogo);
|
|
17956
18629
|
},
|
|
17957
18630
|
style: {
|
|
17958
18631
|
marginLeft: props === null || props === void 0 || (_props$subheaderprope22 = props.subheaderpropertiesprops) === null || _props$subheaderprope22 === void 0 ? void 0 : _props$subheaderprope22.paddingLeftprops,
|
|
@@ -18086,7 +18759,7 @@ var Subheader = function Subheader(props) {
|
|
|
18086
18759
|
paddingRight: langdetect == 'en' ? sectionproperties.subheader_dropdown_paddingRight + 'px' : sectionproperties.subheader_dropdown_paddingLeft + 'px'
|
|
18087
18760
|
}
|
|
18088
18761
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18089
|
-
"class":
|
|
18762
|
+
"class": sectionproperties.subheaderdropdownstyle2 == 'Style 2' ? 'row m-0 w-100 d-flex px-5 py-5 d-flex align-items-center' : 'row m-0 w-100 d-flex pt-3 pb-3'
|
|
18090
18763
|
}, (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery6 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.data) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.categories[Choosenindex]) === null || _fetchCategoriesQuery6 === void 0 || (_fetchCategoriesQuery6 = _fetchCategoriesQuery6.parentcolletions) === null || _fetchCategoriesQuery6 === void 0 ? void 0 : _fetchCategoriesQuery6.length) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18091
18764
|
"class": "col-lg-12 d-flex align-items-center justify-content-center text-light flex-column h-100 pt-5 pb-5"
|
|
18092
18765
|
}, /*#__PURE__*/React__default["default"].createElement(FiLayers.FiLayers, {
|
|
@@ -18133,7 +18806,7 @@ var Subheader = function Subheader(props) {
|
|
|
18133
18806
|
"class": "mt-3 mb-0"
|
|
18134
18807
|
}))));
|
|
18135
18808
|
}
|
|
18136
|
-
})), sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18809
|
+
})), sectionproperties.subheaderParentType == 'Parent Collections' && sectionproperties.subheaderdropdownstyle2 != 'Style 2' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18137
18810
|
if (item.isshowntocustomers == 1) {
|
|
18138
18811
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18139
18812
|
"class": "col-lg-3 pl-2 pr-2 col-md-6 col-sm-12 mb-md-4",
|
|
@@ -18178,7 +18851,53 @@ var Subheader = function Subheader(props) {
|
|
|
18178
18851
|
"class": "mt-3 mb-0"
|
|
18179
18852
|
}))));
|
|
18180
18853
|
}
|
|
18181
|
-
})
|
|
18854
|
+
}), sectionproperties.subheaderdropdownstyle2 == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18855
|
+
"class": "col-lg-12 p-0"
|
|
18856
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18857
|
+
"class": "row m-0 w-100"
|
|
18858
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18859
|
+
"class": "col-6 p-0"
|
|
18860
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18861
|
+
"class": "row m-0 w-100 d-flex align-items-center"
|
|
18862
|
+
}, sectionproperties.subheaderParentType == 'Parent Collections' && pcollarray[Choosenindex].collections.map(function (item, index) {
|
|
18863
|
+
if (item.isshowntocustomers == 1) {
|
|
18864
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18865
|
+
"class": "col-12 mb-2 mt-2",
|
|
18866
|
+
style: {
|
|
18867
|
+
cursor: 'pointer'
|
|
18868
|
+
},
|
|
18869
|
+
onClick: function onClick() {
|
|
18870
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
18871
|
+
},
|
|
18872
|
+
onMouseEnter: function onMouseEnter() {
|
|
18873
|
+
setcurrentimagecollection(item.collectionlogo);
|
|
18874
|
+
}
|
|
18875
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
18876
|
+
"class": "".concat(header_cssstyles.subheader_collectiontitle) + ' wordbreak m-0 p-0 ',
|
|
18877
|
+
style: {
|
|
18878
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
18879
|
+
}
|
|
18880
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar));
|
|
18881
|
+
}
|
|
18882
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18883
|
+
"class": "col-6 p-0"
|
|
18884
|
+
}, sectionproperties.showsubheadercollimage == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18885
|
+
"class": "col-lg-12 allcentered p-0"
|
|
18886
|
+
}, currentimagecollection != '' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18887
|
+
style: {
|
|
18888
|
+
width: '60%',
|
|
18889
|
+
height: '60%'
|
|
18890
|
+
}
|
|
18891
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
18892
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
18893
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
18894
|
+
path: '/tr:w-500,h-500/' + currentimagecollection,
|
|
18895
|
+
style: {
|
|
18896
|
+
width: '100%',
|
|
18897
|
+
height: '100%',
|
|
18898
|
+
objectFit: 'contain'
|
|
18899
|
+
}
|
|
18900
|
+
})))))))), Choosenindex.length != 0 && (fetchCategoriesQueryContext === null || fetchCategoriesQueryContext === void 0 || (_fetchCategoriesQuery9 = fetchCategoriesQueryContext.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.data) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.categories[Choosenindex]) === null || _fetchCategoriesQuery9 === void 0 || (_fetchCategoriesQuery9 = _fetchCategoriesQuery9.parentcolletions) === null || _fetchCategoriesQuery9 === void 0 ? void 0 : _fetchCategoriesQuery9.length) != 0 && sectionproperties.subheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
18182
18901
|
"class": "w-100"
|
|
18183
18902
|
}, /*#__PURE__*/React__default["default"].createElement("li", {
|
|
18184
18903
|
"class": langdetect == 'en' ? ' dropdown dropdownen w-100' : ' dropdown dropdownar w-100'
|
|
@@ -18205,8 +18924,8 @@ var Subheader = function Subheader(props) {
|
|
|
18205
18924
|
})))))));
|
|
18206
18925
|
};
|
|
18207
18926
|
|
|
18208
|
-
function ownKeys$
|
|
18209
|
-
function _objectSpread$
|
|
18927
|
+
function ownKeys$1_(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; }
|
|
18928
|
+
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18210
18929
|
var Headerresponsive = function Headerresponsive(props) {
|
|
18211
18930
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _fetchCategoriesQuery2, _authdetailsContext$i9;
|
|
18212
18931
|
var actions = props.actions;
|
|
@@ -18241,7 +18960,7 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
18241
18960
|
setpcollarray = _useState6[1];
|
|
18242
18961
|
React.useEffect(function () {
|
|
18243
18962
|
if (props.sectionpropertiesprops != undefined) {
|
|
18244
|
-
setsectionproperties(_objectSpread$
|
|
18963
|
+
setsectionproperties(_objectSpread$1_({}, props.sectionpropertiesprops));
|
|
18245
18964
|
}
|
|
18246
18965
|
}, [props.sectionpropertiesprops]);
|
|
18247
18966
|
var _useState7 = React.useState([]),
|
|
@@ -19463,8 +20182,8 @@ var Headerresponsive = function Headerresponsive(props) {
|
|
|
19463
20182
|
})))))));
|
|
19464
20183
|
};
|
|
19465
20184
|
|
|
19466
|
-
function ownKeys$
|
|
19467
|
-
function _objectSpread$
|
|
20185
|
+
function ownKeys$1Z(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; }
|
|
20186
|
+
function _objectSpread$1Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19468
20187
|
var DownloadApp = function DownloadApp(props) {
|
|
19469
20188
|
props.actions;
|
|
19470
20189
|
props.actions.lang;
|
|
@@ -19489,7 +20208,7 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19489
20208
|
}, [sectionproperties]);
|
|
19490
20209
|
React.useEffect(function () {
|
|
19491
20210
|
if (props.sectionpropertiesprops != undefined) {
|
|
19492
|
-
setsectionproperties(_objectSpread$
|
|
20211
|
+
setsectionproperties(_objectSpread$1Z({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19493
20212
|
}
|
|
19494
20213
|
}, [props.sectionpropertiesprops]);
|
|
19495
20214
|
var header_cssstyles = {
|
|
@@ -19542,8 +20261,8 @@ var DownloadApp = function DownloadApp(props) {
|
|
|
19542
20261
|
}))));
|
|
19543
20262
|
};
|
|
19544
20263
|
|
|
19545
|
-
function ownKeys$
|
|
19546
|
-
function _objectSpread$
|
|
20264
|
+
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; }
|
|
20265
|
+
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; }
|
|
19547
20266
|
var SocialMediaSection = function SocialMediaSection(props) {
|
|
19548
20267
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13;
|
|
19549
20268
|
props.actions;
|
|
@@ -19559,12 +20278,12 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19559
20278
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
19560
20279
|
React.useEffect(function () {
|
|
19561
20280
|
if (props.sectionpropertiesprops != undefined) {
|
|
19562
|
-
setsectionproperties(_objectSpread$
|
|
20281
|
+
setsectionproperties(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.sectionpropertiesprops));
|
|
19563
20282
|
}
|
|
19564
20283
|
}, [props.sectionpropertiesprops]);
|
|
19565
20284
|
React.useEffect(function () {
|
|
19566
20285
|
if (props.templateproperties_contextprops != undefined) {
|
|
19567
|
-
settemplateproperties_context(_objectSpread$
|
|
20286
|
+
settemplateproperties_context(_objectSpread$1Y({}, props === null || props === void 0 ? void 0 : props.templateproperties_contextprops));
|
|
19568
20287
|
}
|
|
19569
20288
|
}, [props.templateproperties_contextprops]);
|
|
19570
20289
|
var header_cssstyles = {
|
|
@@ -19650,8 +20369,8 @@ var SocialMediaSection = function SocialMediaSection(props) {
|
|
|
19650
20369
|
})));
|
|
19651
20370
|
};
|
|
19652
20371
|
|
|
19653
|
-
function ownKeys$
|
|
19654
|
-
function _objectSpread$
|
|
20372
|
+
function ownKeys$1X(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; }
|
|
20373
|
+
function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19655
20374
|
var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
19656
20375
|
var _css, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _fetchCategoriesQuery2, _authdetailsContext$i2;
|
|
19657
20376
|
var actions = props.actions;
|
|
@@ -19690,7 +20409,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
19690
20409
|
setopenSearch = _useState8[1];
|
|
19691
20410
|
React.useEffect(function () {
|
|
19692
20411
|
if (props.sectionpropertiesprops != undefined) {
|
|
19693
|
-
setsectionproperties(_objectSpread$
|
|
20412
|
+
setsectionproperties(_objectSpread$1X({}, props.sectionpropertiesprops));
|
|
19694
20413
|
}
|
|
19695
20414
|
}, [props.sectionpropertiesprops]);
|
|
19696
20415
|
var _useState9 = React.useState([]),
|
|
@@ -20941,8 +21660,8 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
|
|
|
20941
21660
|
})))))));
|
|
20942
21661
|
};
|
|
20943
21662
|
|
|
20944
|
-
function ownKeys$
|
|
20945
|
-
function _objectSpread$
|
|
21663
|
+
function ownKeys$1W(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; }
|
|
21664
|
+
function _objectSpread$1W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1W(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20946
21665
|
var ElegantHeader = function ElegantHeader(props) {
|
|
20947
21666
|
var _authdetailsContext$i, _authdetailsContext$i3, _textarray$, _textarray$2, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i5, _authdetailsContext$i6;
|
|
20948
21667
|
var _useState = React.useState(''),
|
|
@@ -20995,7 +21714,7 @@ var ElegantHeader = function ElegantHeader(props) {
|
|
|
20995
21714
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
20996
21715
|
});
|
|
20997
21716
|
}
|
|
20998
|
-
setsectionproperties(_objectSpread$
|
|
21717
|
+
setsectionproperties(_objectSpread$1W({}, secpropobj));
|
|
20999
21718
|
}, [StatePagePropertiesContext]);
|
|
21000
21719
|
React.useEffect(function () {
|
|
21001
21720
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -21690,8 +22409,8 @@ var css_248z$A = ".Gotoheader-module_header_container__f-O-q {\n width: 100%
|
|
|
21690
22409
|
var headerstyles$e = {"header_container":"Gotoheader-module_header_container__f-O-q","topbar_item_container":"Gotoheader-module_topbar_item_container__qiBbU","topbar_item":"Gotoheader-module_topbar_item__rYdqG","badge_counter_header_notifications":"Gotoheader-module_badge_counter_header_notifications__a3aCj","header_divider":"Gotoheader-module_header_divider__KE8o6","searchbar":"Gotoheader-module_searchbar__xRQAq","searchbaractive":"Gotoheader-module_searchbaractive__ECT3T"};
|
|
21691
22410
|
styleInject(css_248z$A);
|
|
21692
22411
|
|
|
21693
|
-
function ownKeys$
|
|
21694
|
-
function _objectSpread$
|
|
22412
|
+
function ownKeys$1V(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; }
|
|
22413
|
+
function _objectSpread$1V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21695
22414
|
var Gotoheader = function Gotoheader(props) {
|
|
21696
22415
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
21697
22416
|
var _useState = React.useState(''),
|
|
@@ -21731,7 +22450,7 @@ var Gotoheader = function Gotoheader(props) {
|
|
|
21731
22450
|
});
|
|
21732
22451
|
}
|
|
21733
22452
|
}
|
|
21734
|
-
setsectionproperties(_objectSpread$
|
|
22453
|
+
setsectionproperties(_objectSpread$1V({}, secpropobj));
|
|
21735
22454
|
}, [StatePagePropertiesContext]);
|
|
21736
22455
|
var _useState3 = React.useState([]),
|
|
21737
22456
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -22432,8 +23151,8 @@ var css_248z$z = ".CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY {\
|
|
|
22432
23151
|
var headerstyles$d = {"lowerHeaderContainer":"CategoryFeaturingHeader-module_lowerHeaderContainer__bQvQY","navbar":"CategoryFeaturingHeader-module_navbar__KrZoa","navbar_item":"CategoryFeaturingHeader-module_navbar_item__x7kUB","badge_counter_header_notifications":"CategoryFeaturingHeader-module_badge_counter_header_notifications__OMiIG","searchbar":"CategoryFeaturingHeader-module_searchbar__QVi6T","searchbaractive":"CategoryFeaturingHeader-module_searchbaractive__SDflG"};
|
|
22433
23152
|
styleInject(css_248z$z);
|
|
22434
23153
|
|
|
22435
|
-
function ownKeys$
|
|
22436
|
-
function _objectSpread$
|
|
23154
|
+
function ownKeys$1U(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; }
|
|
23155
|
+
function _objectSpread$1U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1U(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22437
23156
|
var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
22438
23157
|
var _authdetailsContext$i2, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i5, _authdetailsContext$i7, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
22439
23158
|
var _useState = React.useState(''),
|
|
@@ -22481,7 +23200,7 @@ var CategoryFeaturingHeader = function CategoryFeaturingHeader(props) {
|
|
|
22481
23200
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
22482
23201
|
});
|
|
22483
23202
|
}
|
|
22484
|
-
setsectionproperties(_objectSpread$
|
|
23203
|
+
setsectionproperties(_objectSpread$1U({}, secpropobj));
|
|
22485
23204
|
}, [StatePagePropertiesContext]);
|
|
22486
23205
|
React.useEffect(function () {
|
|
22487
23206
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -23388,8 +24107,8 @@ var css_248z$y = ".classicheader-module_headercontainer__tCNl- {\n display: f
|
|
|
23388
24107
|
var headerstyles$c = {"headercontainer":"classicheader-module_headercontainer__tCNl-","navbar":"classicheader-module_navbar__3MEax"};
|
|
23389
24108
|
styleInject(css_248z$y);
|
|
23390
24109
|
|
|
23391
|
-
function ownKeys$
|
|
23392
|
-
function _objectSpread$
|
|
24110
|
+
function ownKeys$1T(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; }
|
|
24111
|
+
function _objectSpread$1T(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1T(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1T(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23393
24112
|
var ClassicHeader = function ClassicHeader(props) {
|
|
23394
24113
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _fetchcustomercartQue, _fetchcustomercartQue2, _templatepropcontext$;
|
|
23395
24114
|
var LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
@@ -23426,7 +24145,7 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
23426
24145
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
23427
24146
|
});
|
|
23428
24147
|
}
|
|
23429
|
-
setsectionproperties(_objectSpread$
|
|
24148
|
+
setsectionproperties(_objectSpread$1T({}, secpropobj));
|
|
23430
24149
|
}, [StatePagePropertiesContext]);
|
|
23431
24150
|
var _useState3 = React.useState([]),
|
|
23432
24151
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -24548,8 +25267,8 @@ var css_248z$x = ".CTAHeader-module_header_container__In9j3 .CTAHeader-module_to
|
|
|
24548
25267
|
var headerstyles$b = {"header_container":"CTAHeader-module_header_container__In9j3","topbar_item_container":"CTAHeader-module_topbar_item_container__yiKBc","badge_counter_header_notifications":"CTAHeader-module_badge_counter_header_notifications__LwrZ5","searchbar":"CTAHeader-module_searchbar__lDR8a","searchbaractive":"CTAHeader-module_searchbaractive__mPoEm"};
|
|
24549
25268
|
styleInject(css_248z$x);
|
|
24550
25269
|
|
|
24551
|
-
function ownKeys$
|
|
24552
|
-
function _objectSpread$
|
|
25270
|
+
function ownKeys$1S(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; }
|
|
25271
|
+
function _objectSpread$1S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1S(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
24553
25272
|
var CTAHeader = function CTAHeader(props) {
|
|
24554
25273
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i15, _authdetailsContext$i18, _authdetailsContext$i21;
|
|
24555
25274
|
var actions = props.actions;
|
|
@@ -24597,7 +25316,7 @@ var CTAHeader = function CTAHeader(props) {
|
|
|
24597
25316
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24598
25317
|
});
|
|
24599
25318
|
}
|
|
24600
|
-
setsectionproperties(_objectSpread$
|
|
25319
|
+
setsectionproperties(_objectSpread$1S({}, secpropobj));
|
|
24601
25320
|
}, [StatePagePropertiesContext]);
|
|
24602
25321
|
React.useEffect(function () {
|
|
24603
25322
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -25588,8 +26307,8 @@ var css_248z$w = ".Header_threesectionslogocentered-module_header_innercontainer
|
|
|
25588
26307
|
var headerstyles$a = {"header_innercontainer":"Header_threesectionslogocentered-module_header_innercontainer__yjjgZ","navbar_item":"Header_threesectionslogocentered-module_navbar_item__YMaF8","navbar_item_text":"Header_threesectionslogocentered-module_navbar_item_text__0DPls","navbar_item_active":"Header_threesectionslogocentered-module_navbar_item_active__ladUm","searchbarcont":"Header_threesectionslogocentered-module_searchbarcont__9MNXO","badge_counter_header_notifications":"Header_threesectionslogocentered-module_badge_counter_header_notifications__qekYU","searchbar":"Header_threesectionslogocentered-module_searchbar__5KdKx","searchbaractive":"Header_threesectionslogocentered-module_searchbaractive__8Pp-9"};
|
|
25589
26308
|
styleInject(css_248z$w);
|
|
25590
26309
|
|
|
25591
|
-
function ownKeys$
|
|
25592
|
-
function _objectSpread$
|
|
26310
|
+
function ownKeys$1R(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; }
|
|
26311
|
+
function _objectSpread$1R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1R(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25593
26312
|
var Header_threesectionslogocentered = function Header_threesectionslogocentered(props) {
|
|
25594
26313
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
25595
26314
|
var _useState = React.useState(''),
|
|
@@ -25625,7 +26344,7 @@ var Header_threesectionslogocentered = function Header_threesectionslogocentered
|
|
|
25625
26344
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
25626
26345
|
});
|
|
25627
26346
|
}
|
|
25628
|
-
setsectionproperties(_objectSpread$
|
|
26347
|
+
setsectionproperties(_objectSpread$1R({}, secpropobj));
|
|
25629
26348
|
}, [StatePagePropertiesContext]);
|
|
25630
26349
|
var _useState3 = React.useState([]),
|
|
25631
26350
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -26329,8 +27048,8 @@ var css_248z$v = ".Simpleheader-module_headercontainer__H09AD {\n position: a
|
|
|
26329
27048
|
var headerstyles$9 = {"headercontainer":"Simpleheader-module_headercontainer__H09AD","navbar":"Simpleheader-module_navbar__lLQ9F","header_cart":"Simpleheader-module_header_cart__GG895","header_badge":"Simpleheader-module_header_badge__cW4uV","nav__item":"Simpleheader-module_nav__item__txPCh","link":"Simpleheader-module_link__aI5DF","badge_counter_header_notifications":"Simpleheader-module_badge_counter_header_notifications__9NFCv","searchbar":"Simpleheader-module_searchbar__-iAVU","searchbaractive":"Simpleheader-module_searchbaractive__9RFRQ"};
|
|
26330
27049
|
styleInject(css_248z$v);
|
|
26331
27050
|
|
|
26332
|
-
function ownKeys$
|
|
26333
|
-
function _objectSpread$
|
|
27051
|
+
function ownKeys$1Q(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; }
|
|
27052
|
+
function _objectSpread$1Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1Q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26334
27053
|
var Simpleheader = function Simpleheader(props) {
|
|
26335
27054
|
var _css, _css2, _header_cssstyles, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
26336
27055
|
var actions = props.actions;
|
|
@@ -26375,7 +27094,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26375
27094
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
26376
27095
|
});
|
|
26377
27096
|
}
|
|
26378
|
-
setsectionproperties(_objectSpread$
|
|
27097
|
+
setsectionproperties(_objectSpread$1Q({}, secpropobj));
|
|
26379
27098
|
}, [StatePagePropertiesContext]);
|
|
26380
27099
|
React.useEffect(function () {
|
|
26381
27100
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -26589,12 +27308,18 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26589
27308
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
26590
27309
|
marginBottom: sectionproperties.header_marginBottom + 'px'
|
|
26591
27310
|
}
|
|
26592
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27311
|
+
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27312
|
+
"class": "col-lg-12 p-0"
|
|
27313
|
+
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
27314
|
+
sectionpropertiesprops: sectionproperties,
|
|
27315
|
+
templateproperties_contextprops: templateproperties_context,
|
|
27316
|
+
actions: actions
|
|
27317
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26593
27318
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
26594
27319
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26595
27320
|
"class": "row m-0 w-100 "
|
|
26596
27321
|
}, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
26597
|
-
"class": "col-lg-12 p-0"
|
|
27322
|
+
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
26598
27323
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
26599
27324
|
sectionpropertiesprops: sectionproperties,
|
|
26600
27325
|
templateproperties_contextprops: templateproperties_context,
|
|
@@ -26954,7 +27679,7 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
26954
27679
|
}), sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && /*#__PURE__*/React__default["default"].createElement(Headerresponsive, {
|
|
26955
27680
|
sectionpropertiesprops: sectionproperties,
|
|
26956
27681
|
actions: actions
|
|
26957
|
-
}), sectionproperties.responsiveheaderstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
27682
|
+
}), sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && /*#__PURE__*/React__default["default"].createElement(HeaderresponsiveStyle2, {
|
|
26958
27683
|
sectionpropertiesprops: sectionproperties,
|
|
26959
27684
|
actions: actions
|
|
26960
27685
|
}), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas, {
|
|
@@ -27037,8 +27762,8 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
27037
27762
|
}))))))));
|
|
27038
27763
|
};
|
|
27039
27764
|
|
|
27040
|
-
function ownKeys$
|
|
27041
|
-
function _objectSpread$
|
|
27765
|
+
function ownKeys$1P(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; }
|
|
27766
|
+
function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27042
27767
|
var Header8 = function Header8(props) {
|
|
27043
27768
|
var _css, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i7, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i8, _authdetailsContext$i10, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue4, _fetchcustomercartQue5;
|
|
27044
27769
|
var actions = props.actions;
|
|
@@ -27095,7 +27820,7 @@ var Header8 = function Header8(props) {
|
|
|
27095
27820
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
27096
27821
|
});
|
|
27097
27822
|
}
|
|
27098
|
-
setsectionproperties(_objectSpread$
|
|
27823
|
+
setsectionproperties(_objectSpread$1P({}, secpropobj));
|
|
27099
27824
|
}, [StatePagePropertiesContext]);
|
|
27100
27825
|
var subtotalcart = function subtotalcart() {
|
|
27101
27826
|
var _fetchcustomercartQue;
|
|
@@ -28813,8 +29538,8 @@ var css_248z$u = ".headerresturant-module_header_innercontainer__K3I1g {\n di
|
|
|
28813
29538
|
var headerstyles$8 = {"header_innercontainer":"headerresturant-module_header_innercontainer__K3I1g","navbar_item":"headerresturant-module_navbar_item__Exl8b","navbar_item_text":"headerresturant-module_navbar_item_text__psv09","navbar_item_active":"headerresturant-module_navbar_item_active__8BCbD","searchbarcont":"headerresturant-module_searchbarcont__4VPWj","language_cont":"headerresturant-module_language_cont__LwHIK","badge_counter_header_notifications":"headerresturant-module_badge_counter_header_notifications__mGA2-"};
|
|
28814
29539
|
styleInject(css_248z$u);
|
|
28815
29540
|
|
|
28816
|
-
function ownKeys$
|
|
28817
|
-
function _objectSpread$
|
|
29541
|
+
function ownKeys$1O(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; }
|
|
29542
|
+
function _objectSpread$1O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1O(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28818
29543
|
var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
28819
29544
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
28820
29545
|
var _useState = React.useState(''),
|
|
@@ -28850,7 +29575,7 @@ var HeaderRestaurant = function HeaderRestaurant(props) {
|
|
|
28850
29575
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28851
29576
|
});
|
|
28852
29577
|
}
|
|
28853
|
-
setsectionproperties(_objectSpread$
|
|
29578
|
+
setsectionproperties(_objectSpread$1O({}, secpropobj));
|
|
28854
29579
|
}, [StatePagePropertiesContext]);
|
|
28855
29580
|
var _useState3 = React.useState([]),
|
|
28856
29581
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -29459,8 +30184,8 @@ var css_248z$t = ".header_contactinfo-module_lowerHeaderContainer__toB3m {\n
|
|
|
29459
30184
|
var headerstyles$7 = {"lowerHeaderContainer":"header_contactinfo-module_lowerHeaderContainer__toB3m","navbar_item":"header_contactinfo-module_navbar_item__T6mXT","navbar_item_text":"header_contactinfo-module_navbar_item_text__dSoH9","navbar_item_active":"header_contactinfo-module_navbar_item_active__eiC3f","badge_counter_header_notifications":"header_contactinfo-module_badge_counter_header_notifications__gWKN6"};
|
|
29460
30185
|
styleInject(css_248z$t);
|
|
29461
30186
|
|
|
29462
|
-
function ownKeys$
|
|
29463
|
-
function _objectSpread$
|
|
30187
|
+
function ownKeys$1N(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; }
|
|
30188
|
+
function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
29464
30189
|
var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
29465
30190
|
var _authdetailsContext$i, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i12, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2, _logoarrayofobjects$3, _logoarrayofobjects$4;
|
|
29466
30191
|
var _useState = React.useState(''),
|
|
@@ -29497,7 +30222,7 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
29497
30222
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29498
30223
|
});
|
|
29499
30224
|
}
|
|
29500
|
-
setsectionproperties(_objectSpread$
|
|
30225
|
+
setsectionproperties(_objectSpread$1N({}, secpropobj));
|
|
29501
30226
|
}, [StatePagePropertiesContext]);
|
|
29502
30227
|
var _useState3 = React.useState(false),
|
|
29503
30228
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -30266,8 +30991,8 @@ var HeaderwithContactinfo = function HeaderwithContactinfo(props) {
|
|
|
30266
30991
|
}))))))));
|
|
30267
30992
|
};
|
|
30268
30993
|
|
|
30269
|
-
function ownKeys$
|
|
30270
|
-
function _objectSpread$
|
|
30994
|
+
function ownKeys$1M(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; }
|
|
30995
|
+
function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30271
30996
|
var Modernheader = function Modernheader(props) {
|
|
30272
30997
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
30273
30998
|
var _useState = React.useState(''),
|
|
@@ -30312,7 +31037,7 @@ var Modernheader = function Modernheader(props) {
|
|
|
30312
31037
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30313
31038
|
});
|
|
30314
31039
|
}
|
|
30315
|
-
setsectionproperties(_objectSpread$
|
|
31040
|
+
setsectionproperties(_objectSpread$1M({}, secpropobj));
|
|
30316
31041
|
}, [StatePagePropertiesContext]);
|
|
30317
31042
|
React.useEffect(function () {
|
|
30318
31043
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -30961,8 +31686,8 @@ var Modernheader = function Modernheader(props) {
|
|
|
30961
31686
|
}));
|
|
30962
31687
|
};
|
|
30963
31688
|
|
|
30964
|
-
function ownKeys$
|
|
30965
|
-
function _objectSpread$
|
|
31689
|
+
function ownKeys$1L(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; }
|
|
31690
|
+
function _objectSpread$1L(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1L(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1L(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30966
31691
|
var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
30967
31692
|
var _fetchcustomercartQue2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue7, _fetchcustomercartQue8, _fetchcustomercartQue9;
|
|
30968
31693
|
var _useState = React.useState(''),
|
|
@@ -31000,7 +31725,7 @@ var SearchCenteredHeader = function SearchCenteredHeader(props) {
|
|
|
31000
31725
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31001
31726
|
});
|
|
31002
31727
|
}
|
|
31003
|
-
setsectionproperties(_objectSpread$
|
|
31728
|
+
setsectionproperties(_objectSpread$1L({}, secpropobj));
|
|
31004
31729
|
}, [StatePagePropertiesContext]);
|
|
31005
31730
|
var _useState3 = React.useState([]),
|
|
31006
31731
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -31633,8 +32358,8 @@ var css_248z$s = ".stylishheader-module_headercontainer__FUgDo {\n display: fle
|
|
|
31633
32358
|
var headerstyles$6 = {"headercontainer":"stylishheader-module_headercontainer__FUgDo","navbar":"stylishheader-module_navbar__IX59y","badge_counter_header_notifications":"stylishheader-module_badge_counter_header_notifications__9G0T4"};
|
|
31634
32359
|
styleInject(css_248z$s);
|
|
31635
32360
|
|
|
31636
|
-
function ownKeys$
|
|
31637
|
-
function _objectSpread$
|
|
32361
|
+
function ownKeys$1K(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; }
|
|
32362
|
+
function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31638
32363
|
var StylishHeader = function StylishHeader(props) {
|
|
31639
32364
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _logoarrayofobjects$3, _logoarrayofobjects$4, _logoarrayofobjects$5, _logoarrayofobjects$6;
|
|
31640
32365
|
var _useState = React.useState(''),
|
|
@@ -31675,7 +32400,7 @@ var StylishHeader = function StylishHeader(props) {
|
|
|
31675
32400
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
31676
32401
|
});
|
|
31677
32402
|
}
|
|
31678
|
-
setsectionproperties(_objectSpread$
|
|
32403
|
+
setsectionproperties(_objectSpread$1K({}, secpropobj));
|
|
31679
32404
|
}, [StatePagePropertiesContext]);
|
|
31680
32405
|
var _useState5 = React.useState([]),
|
|
31681
32406
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -32426,8 +33151,8 @@ var css_248z$r = ".threetieredheader-module_lowerHeaderContainer__hl0gc {\n d
|
|
|
32426
33151
|
var headerstyles$5 = {"lowerHeaderContainer":"threetieredheader-module_lowerHeaderContainer__hl0gc","navbar":"threetieredheader-module_navbar__Le5Kz","navbar_item":"threetieredheader-module_navbar_item__9VQR-","navbar_item_text":"threetieredheader-module_navbar_item_text__G7M4B","navbar_item_active":"threetieredheader-module_navbar_item_active__qGXP2","badge_counter_header_notifications":"threetieredheader-module_badge_counter_header_notifications__fmXNP","searchbar":"threetieredheader-module_searchbar__CMeCp","searchbaractive":"threetieredheader-module_searchbaractive__jQeUr"};
|
|
32427
33152
|
styleInject(css_248z$r);
|
|
32428
33153
|
|
|
32429
|
-
function ownKeys$
|
|
32430
|
-
function _objectSpread$
|
|
33154
|
+
function ownKeys$1J(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; }
|
|
33155
|
+
function _objectSpread$1J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1J(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
32431
33156
|
var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
32432
33157
|
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$c, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
32433
33158
|
var actions = props.actions;
|
|
@@ -32465,7 +33190,7 @@ var ThreeTieredHeader = function ThreeTieredHeader(props) {
|
|
|
32465
33190
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
32466
33191
|
});
|
|
32467
33192
|
}
|
|
32468
|
-
setsectionproperties(_objectSpread$
|
|
33193
|
+
setsectionproperties(_objectSpread$1J({}, secpropobj));
|
|
32469
33194
|
}, [StatePagePropertiesContext]);
|
|
32470
33195
|
var _useState3 = React.useState([]),
|
|
32471
33196
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -33296,8 +34021,8 @@ var css_248z$q = ".SearchFocusedHeader-module_headerMiddleContainer__P6xTy {\n
|
|
|
33296
34021
|
var headerstyles$4 = {"headerMiddleContainer":"SearchFocusedHeader-module_headerMiddleContainer__P6xTy","navbar":"SearchFocusedHeader-module_navbar__S8cPA","navbar_item":"SearchFocusedHeader-module_navbar_item__0oxbl","badge_counter_header_notifications":"SearchFocusedHeader-module_badge_counter_header_notifications__2qUaH","searchbar":"SearchFocusedHeader-module_searchbar__uJotQ","searchbaractive":"SearchFocusedHeader-module_searchbaractive__eZgrZ"};
|
|
33297
34022
|
styleInject(css_248z$q);
|
|
33298
34023
|
|
|
33299
|
-
function ownKeys$
|
|
33300
|
-
function _objectSpread$
|
|
34024
|
+
function ownKeys$1I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
34025
|
+
function _objectSpread$1I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1I(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33301
34026
|
var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
33302
34027
|
var _css, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i7, _authdetailsContext$i10, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$i13, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$i14, _authdetailsContext$i16;
|
|
33303
34028
|
var lang = props.actions.lang;
|
|
@@ -33364,7 +34089,7 @@ var SearchFocusedHeader = function SearchFocusedHeader(props) {
|
|
|
33364
34089
|
});
|
|
33365
34090
|
}
|
|
33366
34091
|
}
|
|
33367
|
-
setsectionproperties(_objectSpread$
|
|
34092
|
+
setsectionproperties(_objectSpread$1I({}, secpropobj));
|
|
33368
34093
|
}, [StatePagePropertiesContext]);
|
|
33369
34094
|
var ButtonDropdown = function ButtonDropdown(item, index, fetchedarray) {
|
|
33370
34095
|
var _fetchedarray$Choosen, _fetchedarray$Choosen2, _pcollarray$Choosenin, _pcollarray$Choosenin2;
|
|
@@ -34290,8 +35015,8 @@ var css_248z$p = ".HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX {\n
|
|
|
34290
35015
|
var headerstyles$3 = {"headerMiddleContainer":"HeaderWithUtilityBar-module_headerMiddleContainer__5fNQX","navbar_item":"HeaderWithUtilityBar-module_navbar_item__VR64E","badge_counter_header_notifications":"HeaderWithUtilityBar-module_badge_counter_header_notifications__-I6Pm","searchbar":"HeaderWithUtilityBar-module_searchbar__3rwMD","searchbaractive":"HeaderWithUtilityBar-module_searchbaractive__3gHHs"};
|
|
34291
35016
|
styleInject(css_248z$p);
|
|
34292
35017
|
|
|
34293
|
-
function ownKeys$
|
|
34294
|
-
function _objectSpread$
|
|
35018
|
+
function ownKeys$1H(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; }
|
|
35019
|
+
function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34295
35020
|
var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
34296
35021
|
var _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2;
|
|
34297
35022
|
var lang = props.actions.lang;
|
|
@@ -34335,7 +35060,7 @@ var HeaderWithUtilityBar = function HeaderWithUtilityBar(props) {
|
|
|
34335
35060
|
});
|
|
34336
35061
|
}
|
|
34337
35062
|
}
|
|
34338
|
-
setsectionproperties(_objectSpread$
|
|
35063
|
+
setsectionproperties(_objectSpread$1H({}, secpropobj));
|
|
34339
35064
|
}, [StatePagePropertiesContext]);
|
|
34340
35065
|
var _useState5 = React.useState([]),
|
|
34341
35066
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -35067,8 +35792,8 @@ var css_248z$o = ".HeaderWithAdSlider-module_nav__item__lmbKL {\n width: 100%
|
|
|
35067
35792
|
var headerstyles$2 = {"nav__item":"HeaderWithAdSlider-module_nav__item__lmbKL","link":"HeaderWithAdSlider-module_link__9hhKh","badge_counter_header_notifications":"HeaderWithAdSlider-module_badge_counter_header_notifications__Shv1O","searchbar":"HeaderWithAdSlider-module_searchbar__Dqa-y","searchbaractive":"HeaderWithAdSlider-module_searchbaractive__c7gv6"};
|
|
35068
35793
|
styleInject(css_248z$o);
|
|
35069
35794
|
|
|
35070
|
-
function ownKeys$
|
|
35071
|
-
function _objectSpread$
|
|
35795
|
+
function ownKeys$1G(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; }
|
|
35796
|
+
function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35072
35797
|
var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
35073
35798
|
var _css, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35074
35799
|
var _useState = React.useState(''),
|
|
@@ -35106,7 +35831,7 @@ var HeaderWithAdSlider = function HeaderWithAdSlider(props) {
|
|
|
35106
35831
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35107
35832
|
});
|
|
35108
35833
|
}
|
|
35109
|
-
setsectionproperties(_objectSpread$
|
|
35834
|
+
setsectionproperties(_objectSpread$1G({}, secpropobj));
|
|
35110
35835
|
}, [StatePagePropertiesContext]);
|
|
35111
35836
|
var _useState3 = React.useState([]),
|
|
35112
35837
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -35834,8 +36559,8 @@ var css_248z$n = ".HeaderWithSearchOnCenter-module_headercontainer__hEPeK {\n
|
|
|
35834
36559
|
var headerstyles$1 = {"headercontainer":"HeaderWithSearchOnCenter-module_headercontainer__hEPeK","navbar":"HeaderWithSearchOnCenter-module_navbar__4UEjw","header_cart":"HeaderWithSearchOnCenter-module_header_cart__3m4dH","header_badge":"HeaderWithSearchOnCenter-module_header_badge__TeMF5","nav__item":"HeaderWithSearchOnCenter-module_nav__item__xRxTI","link":"HeaderWithSearchOnCenter-module_link__wYKus","badge_counter_header_notifications":"HeaderWithSearchOnCenter-module_badge_counter_header_notifications__GXHqw","searchbar":"HeaderWithSearchOnCenter-module_searchbar__H6b-F","searchbaractive":"HeaderWithSearchOnCenter-module_searchbaractive__yWggL"};
|
|
35835
36560
|
styleInject(css_248z$n);
|
|
35836
36561
|
|
|
35837
|
-
function ownKeys$
|
|
35838
|
-
function _objectSpread$
|
|
36562
|
+
function ownKeys$1F(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; }
|
|
36563
|
+
function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
35839
36564
|
var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
35840
36565
|
var _css, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
35841
36566
|
var _useState = React.useState(''),
|
|
@@ -35872,7 +36597,7 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
35872
36597
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35873
36598
|
});
|
|
35874
36599
|
}
|
|
35875
|
-
setsectionproperties(_objectSpread$
|
|
36600
|
+
setsectionproperties(_objectSpread$1F({}, secpropobj));
|
|
35876
36601
|
}, [StatePagePropertiesContext]);
|
|
35877
36602
|
var _useState3 = React.useState([]),
|
|
35878
36603
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
@@ -36479,8 +37204,8 @@ var HeaderWithSearchOnCenter = function HeaderWithSearchOnCenter(props) {
|
|
|
36479
37204
|
}));
|
|
36480
37205
|
};
|
|
36481
37206
|
|
|
36482
|
-
function ownKeys$
|
|
36483
|
-
function _objectSpread$
|
|
37207
|
+
function ownKeys$1E(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; }
|
|
37208
|
+
function _objectSpread$1E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1E(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36484
37209
|
var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
36485
37210
|
var _css, _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _fetchcustomercartQue, _fetchcustomercartQue2, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$c5, _fetchcustomercartQue3, _fetchcustomercartQue4;
|
|
36486
37211
|
var lang = props.actions.lang;
|
|
@@ -36528,7 +37253,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
|
|
|
36528
37253
|
});
|
|
36529
37254
|
}
|
|
36530
37255
|
}
|
|
36531
|
-
setsectionproperties(_objectSpread$
|
|
37256
|
+
setsectionproperties(_objectSpread$1E({}, secpropobj));
|
|
36532
37257
|
}, [StatePagePropertiesContext]);
|
|
36533
37258
|
React.useEffect(function () {
|
|
36534
37259
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -37457,8 +38182,8 @@ var css_248z$m = ".NewHeader-module_headercontainer__qY3Tj {\n position: abso
|
|
|
37457
38182
|
var headerstyles = {"headercontainer":"NewHeader-module_headercontainer__qY3Tj","navbar":"NewHeader-module_navbar__kLzIy","header_cart":"NewHeader-module_header_cart__wRj2v","header_badge":"NewHeader-module_header_badge__Et-AS","nav__item":"NewHeader-module_nav__item__jRv-r","link":"NewHeader-module_link__4ixBg","badge_counter_header_notifications":"NewHeader-module_badge_counter_header_notifications__GpVQI","searchbar":"NewHeader-module_searchbar__1aYXU","searchbaractive":"NewHeader-module_searchbaractive__Uv--y"};
|
|
37458
38183
|
styleInject(css_248z$m);
|
|
37459
38184
|
|
|
37460
|
-
function ownKeys$
|
|
37461
|
-
function _objectSpread$
|
|
38185
|
+
function ownKeys$1D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38186
|
+
function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
37462
38187
|
var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(props) {
|
|
37463
38188
|
var _textarray$, _textarray$2, _authdetailsContext$i2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$c, _authdetailsContext$c2, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
37464
38189
|
var _useState = React.useState(''),
|
|
@@ -37499,7 +38224,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
37499
38224
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
37500
38225
|
});
|
|
37501
38226
|
}
|
|
37502
|
-
setsectionproperties(_objectSpread$
|
|
38227
|
+
setsectionproperties(_objectSpread$1D({}, secpropobj));
|
|
37503
38228
|
}, [StatePagePropertiesContext]);
|
|
37504
38229
|
var _useState5 = React.useState([]),
|
|
37505
38230
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
@@ -38275,8 +39000,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
|
|
|
38275
39000
|
}));
|
|
38276
39001
|
};
|
|
38277
39002
|
|
|
38278
|
-
function ownKeys$
|
|
38279
|
-
function _objectSpread$
|
|
39003
|
+
function ownKeys$1C(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; }
|
|
39004
|
+
function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38280
39005
|
var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
|
|
38281
39006
|
var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
|
|
38282
39007
|
var _useState = React.useState(''),
|
|
@@ -38326,7 +39051,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
38326
39051
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
38327
39052
|
});
|
|
38328
39053
|
}
|
|
38329
|
-
setsectionproperties(_objectSpread$
|
|
39054
|
+
setsectionproperties(_objectSpread$1C({}, secpropobj));
|
|
38330
39055
|
}, [StatePagePropertiesContext]);
|
|
38331
39056
|
React.useEffect(function () {
|
|
38332
39057
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -39000,8 +39725,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
39000
39725
|
}));
|
|
39001
39726
|
};
|
|
39002
39727
|
|
|
39003
|
-
function ownKeys$
|
|
39004
|
-
function _objectSpread$
|
|
39728
|
+
function ownKeys$1B(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; }
|
|
39729
|
+
function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39005
39730
|
var Allinonefooter = function Allinonefooter(props) {
|
|
39006
39731
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i5, _templatepropcontext$, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
39007
39732
|
var _useState = React.useState(''),
|
|
@@ -39028,7 +39753,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39028
39753
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39029
39754
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39030
39755
|
});
|
|
39031
|
-
setsectionproperties(_objectSpread$
|
|
39756
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
39032
39757
|
} else {
|
|
39033
39758
|
var secpropobj = {};
|
|
39034
39759
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39038,7 +39763,7 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39038
39763
|
});
|
|
39039
39764
|
}
|
|
39040
39765
|
});
|
|
39041
|
-
setsectionproperties(_objectSpread$
|
|
39766
|
+
setsectionproperties(_objectSpread$1B({}, secpropobj));
|
|
39042
39767
|
}
|
|
39043
39768
|
}, [StatePagePropertiesContext]);
|
|
39044
39769
|
var footerStyles = {
|
|
@@ -39494,8 +40219,8 @@ var Allinonefooter = function Allinonefooter(props) {
|
|
|
39494
40219
|
}))))));
|
|
39495
40220
|
};
|
|
39496
40221
|
|
|
39497
|
-
function ownKeys$
|
|
39498
|
-
function _objectSpread$
|
|
40222
|
+
function ownKeys$1A(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; }
|
|
40223
|
+
function _objectSpread$1A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1A(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39499
40224
|
var Footer1 = function Footer1(props) {
|
|
39500
40225
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _returnpolicyobj15, _returnpolicyobj16, _authdetailsContext$i12, _authdetailsContext$i13;
|
|
39501
40226
|
var _useState = React.useState(''),
|
|
@@ -39522,7 +40247,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39522
40247
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
39523
40248
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
39524
40249
|
});
|
|
39525
|
-
setsectionproperties(_objectSpread$
|
|
40250
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39526
40251
|
} else {
|
|
39527
40252
|
var secpropobj = {};
|
|
39528
40253
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -39532,7 +40257,7 @@ var Footer1 = function Footer1(props) {
|
|
|
39532
40257
|
});
|
|
39533
40258
|
}
|
|
39534
40259
|
});
|
|
39535
|
-
setsectionproperties(_objectSpread$
|
|
40260
|
+
setsectionproperties(_objectSpread$1A({}, secpropobj));
|
|
39536
40261
|
}
|
|
39537
40262
|
}, [StatePagePropertiesContext]);
|
|
39538
40263
|
React.useEffect(function () {
|
|
@@ -39950,8 +40675,8 @@ var Footer1 = function Footer1(props) {
|
|
|
39950
40675
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.address_en)))))));
|
|
39951
40676
|
};
|
|
39952
40677
|
|
|
39953
|
-
function ownKeys$
|
|
39954
|
-
function _objectSpread$
|
|
40678
|
+
function ownKeys$1z(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; }
|
|
40679
|
+
function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39955
40680
|
var Footer2 = function Footer2(props) {
|
|
39956
40681
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i18, _authdetailsContext$i19;
|
|
39957
40682
|
var _useState = React.useState(''),
|
|
@@ -39981,7 +40706,7 @@ var Footer2 = function Footer2(props) {
|
|
|
39981
40706
|
});
|
|
39982
40707
|
}
|
|
39983
40708
|
});
|
|
39984
|
-
setsectionproperties(_objectSpread$
|
|
40709
|
+
setsectionproperties(_objectSpread$1z({}, secpropobj));
|
|
39985
40710
|
}, [StatePagePropertiesContext]);
|
|
39986
40711
|
React.useEffect(function () {
|
|
39987
40712
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -40339,8 +41064,8 @@ var Footer2 = function Footer2(props) {
|
|
|
40339
41064
|
})))));
|
|
40340
41065
|
};
|
|
40341
41066
|
|
|
40342
|
-
function ownKeys$
|
|
40343
|
-
function _objectSpread$
|
|
41067
|
+
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; }
|
|
41068
|
+
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; }
|
|
40344
41069
|
var Footer3 = function Footer3(props) {
|
|
40345
41070
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i16, _authdetailsContext$i17;
|
|
40346
41071
|
var _useState = React.useState(''),
|
|
@@ -40367,7 +41092,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40367
41092
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40368
41093
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40369
41094
|
});
|
|
40370
|
-
setsectionproperties(_objectSpread$
|
|
41095
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40371
41096
|
} else {
|
|
40372
41097
|
var secpropobj = {};
|
|
40373
41098
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40377,7 +41102,7 @@ var Footer3 = function Footer3(props) {
|
|
|
40377
41102
|
});
|
|
40378
41103
|
}
|
|
40379
41104
|
});
|
|
40380
|
-
setsectionproperties(_objectSpread$
|
|
41105
|
+
setsectionproperties(_objectSpread$1y({}, secpropobj));
|
|
40381
41106
|
}
|
|
40382
41107
|
}, [StatePagePropertiesContext]);
|
|
40383
41108
|
React.useEffect(function () {
|
|
@@ -40691,8 +41416,8 @@ var Footer3 = function Footer3(props) {
|
|
|
40691
41416
|
})), authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.address_en)))))));
|
|
40692
41417
|
};
|
|
40693
41418
|
|
|
40694
|
-
function ownKeys$
|
|
40695
|
-
function _objectSpread$
|
|
41419
|
+
function ownKeys$1x(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; }
|
|
41420
|
+
function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
40696
41421
|
var Footer4 = function Footer4(props) {
|
|
40697
41422
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _templatepropcontext$, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _authdetailsContext$i12, _authdetailsContext$i15;
|
|
40698
41423
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -40715,7 +41440,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40715
41440
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40716
41441
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
40717
41442
|
});
|
|
40718
|
-
setsectionproperties(_objectSpread$
|
|
41443
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40719
41444
|
} else {
|
|
40720
41445
|
var secpropobj = {};
|
|
40721
41446
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -40725,7 +41450,7 @@ var Footer4 = function Footer4(props) {
|
|
|
40725
41450
|
});
|
|
40726
41451
|
}
|
|
40727
41452
|
});
|
|
40728
|
-
setsectionproperties(_objectSpread$
|
|
41453
|
+
setsectionproperties(_objectSpread$1x({}, secpropobj));
|
|
40729
41454
|
}
|
|
40730
41455
|
}, [StatePagePropertiesContext]);
|
|
40731
41456
|
var footerStyles = {
|
|
@@ -41110,8 +41835,8 @@ var Footer4 = function Footer4(props) {
|
|
|
41110
41835
|
}))))))));
|
|
41111
41836
|
};
|
|
41112
41837
|
|
|
41113
|
-
function ownKeys$
|
|
41114
|
-
function _objectSpread$
|
|
41838
|
+
function ownKeys$1w(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; }
|
|
41839
|
+
function _objectSpread$1w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1w(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41115
41840
|
var Footer5 = function Footer5(props) {
|
|
41116
41841
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i9, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i20, _authdetailsContext$i22;
|
|
41117
41842
|
var _useState = React.useState(''),
|
|
@@ -41141,7 +41866,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41141
41866
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41142
41867
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41143
41868
|
});
|
|
41144
|
-
setsectionproperties(_objectSpread$
|
|
41869
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41145
41870
|
} else {
|
|
41146
41871
|
var secpropobj = {};
|
|
41147
41872
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41151,7 +41876,7 @@ var Footer5 = function Footer5(props) {
|
|
|
41151
41876
|
});
|
|
41152
41877
|
}
|
|
41153
41878
|
});
|
|
41154
|
-
setsectionproperties(_objectSpread$
|
|
41879
|
+
setsectionproperties(_objectSpread$1w({}, secpropobj));
|
|
41155
41880
|
}
|
|
41156
41881
|
}, [StatePagePropertiesContext]);
|
|
41157
41882
|
React.useEffect(function () {
|
|
@@ -41639,8 +42364,8 @@ var Footer5 = function Footer5(props) {
|
|
|
41639
42364
|
}))))))));
|
|
41640
42365
|
};
|
|
41641
42366
|
|
|
41642
|
-
function ownKeys$
|
|
41643
|
-
function _objectSpread$
|
|
42367
|
+
function ownKeys$1v(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; }
|
|
42368
|
+
function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41644
42369
|
var Footer6 = function Footer6(props) {
|
|
41645
42370
|
var _authdetailsContext$i2, _authdetailsContext$i3;
|
|
41646
42371
|
var _useState = React.useState(''),
|
|
@@ -41671,7 +42396,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41671
42396
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41672
42397
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41673
42398
|
});
|
|
41674
|
-
setsectionproperties(_objectSpread$
|
|
42399
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41675
42400
|
} else {
|
|
41676
42401
|
var secpropobj = {};
|
|
41677
42402
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41681,7 +42406,7 @@ var Footer6 = function Footer6(props) {
|
|
|
41681
42406
|
});
|
|
41682
42407
|
}
|
|
41683
42408
|
});
|
|
41684
|
-
setsectionproperties(_objectSpread$
|
|
42409
|
+
setsectionproperties(_objectSpread$1v({}, secpropobj));
|
|
41685
42410
|
}
|
|
41686
42411
|
}, [StatePagePropertiesContext]);
|
|
41687
42412
|
React.useEffect(function () {
|
|
@@ -41918,8 +42643,8 @@ var Footer6 = function Footer6(props) {
|
|
|
41918
42643
|
}))));
|
|
41919
42644
|
};
|
|
41920
42645
|
|
|
41921
|
-
function ownKeys$
|
|
41922
|
-
function _objectSpread$
|
|
42646
|
+
function ownKeys$1u(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; }
|
|
42647
|
+
function _objectSpread$1u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1u(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
41923
42648
|
var Footer7 = function Footer7(props) {
|
|
41924
42649
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
41925
42650
|
var _useState = React.useState(''),
|
|
@@ -41950,7 +42675,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41950
42675
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
41951
42676
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41952
42677
|
});
|
|
41953
|
-
setsectionproperties(_objectSpread$
|
|
42678
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41954
42679
|
} else {
|
|
41955
42680
|
var secpropobj = {};
|
|
41956
42681
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -41960,7 +42685,7 @@ var Footer7 = function Footer7(props) {
|
|
|
41960
42685
|
});
|
|
41961
42686
|
}
|
|
41962
42687
|
});
|
|
41963
|
-
setsectionproperties(_objectSpread$
|
|
42688
|
+
setsectionproperties(_objectSpread$1u({}, secpropobj));
|
|
41964
42689
|
}
|
|
41965
42690
|
}, [StatePagePropertiesContext]);
|
|
41966
42691
|
React.useEffect(function () {
|
|
@@ -42318,8 +43043,8 @@ var Footer7 = function Footer7(props) {
|
|
|
42318
43043
|
}))))));
|
|
42319
43044
|
};
|
|
42320
43045
|
|
|
42321
|
-
function ownKeys$
|
|
42322
|
-
function _objectSpread$
|
|
43046
|
+
function ownKeys$1t(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; }
|
|
43047
|
+
function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42323
43048
|
var Footer8 = function Footer8(props) {
|
|
42324
43049
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _templatepropcontext$;
|
|
42325
43050
|
var _useState = React.useState(''),
|
|
@@ -42346,7 +43071,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42346
43071
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
42347
43072
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
42348
43073
|
});
|
|
42349
|
-
setsectionproperties(_objectSpread$
|
|
43074
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42350
43075
|
} else {
|
|
42351
43076
|
var secpropobj = {};
|
|
42352
43077
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -42356,7 +43081,7 @@ var Footer8 = function Footer8(props) {
|
|
|
42356
43081
|
});
|
|
42357
43082
|
}
|
|
42358
43083
|
});
|
|
42359
|
-
setsectionproperties(_objectSpread$
|
|
43084
|
+
setsectionproperties(_objectSpread$1t({}, secpropobj));
|
|
42360
43085
|
}
|
|
42361
43086
|
}, [StatePagePropertiesContext]);
|
|
42362
43087
|
var footerStyles = {
|
|
@@ -42734,8 +43459,8 @@ var Footer8 = function Footer8(props) {
|
|
|
42734
43459
|
}, lang.orderhistory)))))));
|
|
42735
43460
|
};
|
|
42736
43461
|
|
|
42737
|
-
function ownKeys$
|
|
42738
|
-
function _objectSpread$
|
|
43462
|
+
function ownKeys$1s(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; }
|
|
43463
|
+
function _objectSpread$1s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
42739
43464
|
var Simplefooter = function Simplefooter(props) {
|
|
42740
43465
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i7, _authdetailsContext$i9;
|
|
42741
43466
|
var _useState = React.useState(''),
|
|
@@ -42762,7 +43487,7 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
42762
43487
|
});
|
|
42763
43488
|
}
|
|
42764
43489
|
});
|
|
42765
|
-
setsectionproperties(_objectSpread$
|
|
43490
|
+
setsectionproperties(_objectSpread$1s({}, secpropobj));
|
|
42766
43491
|
}, [StatePagePropertiesContext]);
|
|
42767
43492
|
React.useEffect(function () {
|
|
42768
43493
|
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
@@ -43029,8 +43754,8 @@ var Simplefooter = function Simplefooter(props) {
|
|
|
43029
43754
|
})));
|
|
43030
43755
|
};
|
|
43031
43756
|
|
|
43032
|
-
function ownKeys$
|
|
43033
|
-
function _objectSpread$
|
|
43757
|
+
function ownKeys$1r(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; }
|
|
43758
|
+
function _objectSpread$1r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1r(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43034
43759
|
var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
43035
43760
|
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
43036
43761
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -43053,7 +43778,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43053
43778
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
43054
43779
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
43055
43780
|
});
|
|
43056
|
-
setsectionproperties(_objectSpread$
|
|
43781
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43057
43782
|
} else {
|
|
43058
43783
|
var secpropobj = {};
|
|
43059
43784
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -43063,7 +43788,7 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43063
43788
|
});
|
|
43064
43789
|
}
|
|
43065
43790
|
});
|
|
43066
|
-
setsectionproperties(_objectSpread$
|
|
43791
|
+
setsectionproperties(_objectSpread$1r({}, secpropobj));
|
|
43067
43792
|
}
|
|
43068
43793
|
}, [StatePagePropertiesContext]);
|
|
43069
43794
|
var _useState3 = React.useState([]),
|
|
@@ -43341,8 +44066,8 @@ var FooterWithThreeColumns = function FooterWithThreeColumns(props) {
|
|
|
43341
44066
|
}, "@ ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.storename_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.storename_ar))));
|
|
43342
44067
|
};
|
|
43343
44068
|
|
|
43344
|
-
function ownKeys$
|
|
43345
|
-
function _objectSpread$
|
|
44069
|
+
function ownKeys$1q(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; }
|
|
44070
|
+
function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43346
44071
|
var ModernFooter = function ModernFooter(props) {
|
|
43347
44072
|
var _templatepropcontext$, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23;
|
|
43348
44073
|
var _useState = React.useState(''),
|
|
@@ -43368,7 +44093,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43368
44093
|
});
|
|
43369
44094
|
}
|
|
43370
44095
|
});
|
|
43371
|
-
setsectionproperties(_objectSpread$
|
|
44096
|
+
setsectionproperties(_objectSpread$1q({}, secpropobj));
|
|
43372
44097
|
}, [StatePagePropertiesContext]);
|
|
43373
44098
|
var footerStyles = {
|
|
43374
44099
|
footerContainer: glamor.css({
|
|
@@ -43819,8 +44544,8 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
43819
44544
|
})))))));
|
|
43820
44545
|
};
|
|
43821
44546
|
|
|
43822
|
-
function ownKeys$
|
|
43823
|
-
function _objectSpread$
|
|
44547
|
+
function ownKeys$1p(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; }
|
|
44548
|
+
function _objectSpread$1p(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1p(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1p(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
43824
44549
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
43825
44550
|
var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
|
|
43826
44551
|
var _useState = React.useState(''),
|
|
@@ -43850,7 +44575,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
43850
44575
|
});
|
|
43851
44576
|
}
|
|
43852
44577
|
});
|
|
43853
|
-
setsectionproperties(_objectSpread$
|
|
44578
|
+
setsectionproperties(_objectSpread$1p({}, secpropobj));
|
|
43854
44579
|
}, [StatePagePropertiesContext]);
|
|
43855
44580
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
43856
44581
|
var _authdetailsContext$i;
|
|
@@ -44410,6 +45135,254 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
44410
45135
|
}, StoreInformation()))));
|
|
44411
45136
|
};
|
|
44412
45137
|
|
|
45138
|
+
function ownKeys$1o(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; }
|
|
45139
|
+
function _objectSpread$1o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
45140
|
+
var Newsletterincenter = function Newsletterincenter(props) {
|
|
45141
|
+
var _css, _footerStyles;
|
|
45142
|
+
var _useState = React.useState(''),
|
|
45143
|
+
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
45144
|
+
sectionproperties = _useState2[0],
|
|
45145
|
+
setsectionproperties = _useState2[1];
|
|
45146
|
+
var _useState3 = React.useState([]),
|
|
45147
|
+
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
45148
|
+
_useState4[0];
|
|
45149
|
+
var setlogoarrayofobjects = _useState4[1];
|
|
45150
|
+
props.actions.history;
|
|
45151
|
+
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
45152
|
+
props.actions.lang;
|
|
45153
|
+
var langdetect = props.actions.langdetect;
|
|
45154
|
+
var routingcountext = props.actions.routingcountext;
|
|
45155
|
+
props.actions.StaticPagesLinksContext;
|
|
45156
|
+
props.actions.authdetailsContext;
|
|
45157
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
45158
|
+
var templatepropcontext = props.actions.templatepropcontext;
|
|
45159
|
+
props.actions.ikimagecredcontext;
|
|
45160
|
+
React.useEffect(function () {
|
|
45161
|
+
var secpropobj = {};
|
|
45162
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
45163
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
45164
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
45165
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
45166
|
+
});
|
|
45167
|
+
}
|
|
45168
|
+
});
|
|
45169
|
+
setsectionproperties(_objectSpread$1o({}, secpropobj));
|
|
45170
|
+
}, [StatePagePropertiesContext]);
|
|
45171
|
+
var footerStyles = (_footerStyles = {
|
|
45172
|
+
divider: glamor.css({
|
|
45173
|
+
height: '1px',
|
|
45174
|
+
width: '100%',
|
|
45175
|
+
backgroundColor: sectionproperties.vl_bg
|
|
45176
|
+
}),
|
|
45177
|
+
payimgcont: glamor.css({
|
|
45178
|
+
marginLeft: '10px',
|
|
45179
|
+
marginRight: '10px'
|
|
45180
|
+
}),
|
|
45181
|
+
payimg: glamor.css({
|
|
45182
|
+
width: '100%',
|
|
45183
|
+
height: '100%',
|
|
45184
|
+
objectFit: 'contain'
|
|
45185
|
+
}),
|
|
45186
|
+
footerContainer: glamor.css({
|
|
45187
|
+
background: sectionproperties.footerbgcolor,
|
|
45188
|
+
paddingTop: sectionproperties.footerpaddingvertical + 'px',
|
|
45189
|
+
paddingLeft: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45190
|
+
paddingRight: sectionproperties.footerpaddinghorizontal + 'px',
|
|
45191
|
+
paddingBottom: sectionproperties.footerpaddingvertical + 'px',
|
|
45192
|
+
width: '100vw'
|
|
45193
|
+
}),
|
|
45194
|
+
footerlogo: glamor.css({
|
|
45195
|
+
width: sectionproperties.logo_width + 'px',
|
|
45196
|
+
height: sectionproperties.logo_height + 'px',
|
|
45197
|
+
position: 'relative'
|
|
45198
|
+
}),
|
|
45199
|
+
apptore: glamor.css({
|
|
45200
|
+
width: '100%',
|
|
45201
|
+
objectFit: 'contain'
|
|
45202
|
+
}),
|
|
45203
|
+
googleplay: glamor.css({
|
|
45204
|
+
width: '100%',
|
|
45205
|
+
objectFit: 'contain'
|
|
45206
|
+
}),
|
|
45207
|
+
textStyles: glamor.css({
|
|
45208
|
+
fontSize: sectionproperties.footerinfotext_fontsize + 'px',
|
|
45209
|
+
color: sectionproperties.footerinfotext_color,
|
|
45210
|
+
fontWeight: sectionproperties.footerinfotext_fontweight
|
|
45211
|
+
}),
|
|
45212
|
+
logoStyles: glamor.css({
|
|
45213
|
+
width: sectionproperties.logo_width + 'px',
|
|
45214
|
+
height: sectionproperties.logo_height + 'px'
|
|
45215
|
+
}),
|
|
45216
|
+
sectionTitle: glamor.css({
|
|
45217
|
+
color: sectionproperties.sectionTitleColor,
|
|
45218
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45219
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45220
|
+
}),
|
|
45221
|
+
subPages: glamor.css({
|
|
45222
|
+
textTransform: sectionproperties.footertexttransform,
|
|
45223
|
+
fontSize: sectionproperties.footerfontsize + 'px',
|
|
45224
|
+
fontWeight: sectionproperties.footerfontweight,
|
|
45225
|
+
color: sectionproperties.footertextcolor,
|
|
45226
|
+
cursor: 'pointer',
|
|
45227
|
+
transition: '.3s',
|
|
45228
|
+
':hover': {
|
|
45229
|
+
color: sectionproperties.footertextcoloronhover
|
|
45230
|
+
}
|
|
45231
|
+
}),
|
|
45232
|
+
facebook_btn: glamor.css({
|
|
45233
|
+
cursor: 'pointer',
|
|
45234
|
+
background: sectionproperties.facebkbtnnbgColor,
|
|
45235
|
+
width: sectionproperties.facebkbtnnWidth == 0 ? 'auto' : sectionproperties.facebkbtnnWidth + 'px',
|
|
45236
|
+
height: sectionproperties.facebkbtnnHeight == 0 ? 'auto' : sectionproperties.facebkbtnnHeight + 'px',
|
|
45237
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
45238
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
45239
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
45240
|
+
transition: '.3s',
|
|
45241
|
+
':hover': {
|
|
45242
|
+
background: sectionproperties.facebkbtnnbgColoronhover,
|
|
45243
|
+
borderColor: sectionproperties.facebkbtnnTextcoloronhover,
|
|
45244
|
+
color: sectionproperties.facebkbtnnTextcoloronhover
|
|
45245
|
+
}
|
|
45246
|
+
}),
|
|
45247
|
+
youtube_btn: glamor.css({
|
|
45248
|
+
cursor: 'pointer',
|
|
45249
|
+
background: sectionproperties.youtubebtnbgColor,
|
|
45250
|
+
width: sectionproperties.youtubebtnWidth == 0 ? 'auto' : sectionproperties.youtubebtnWidth + 'px',
|
|
45251
|
+
height: sectionproperties.youtubebtnHeight == 0 ? 'auto' : sectionproperties.youtubebtnHeight + 'px',
|
|
45252
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
45253
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
45254
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
45255
|
+
transition: '.3s',
|
|
45256
|
+
':hover': {
|
|
45257
|
+
background: sectionproperties.youtubebtnbgColoronhover,
|
|
45258
|
+
borderColor: sectionproperties.youtubebtnTextcoloronhover,
|
|
45259
|
+
color: sectionproperties.youtubebtnTextcoloronhover
|
|
45260
|
+
}
|
|
45261
|
+
}),
|
|
45262
|
+
instgram_btn: glamor.css({
|
|
45263
|
+
cursor: 'pointer',
|
|
45264
|
+
background: sectionproperties.instgrambtnbgColor,
|
|
45265
|
+
width: sectionproperties.instgrambtnWidth == 0 ? 'auto' : sectionproperties.instgrambtnWidth + 'px',
|
|
45266
|
+
height: sectionproperties.instgrambtnHeight == 0 ? 'auto' : sectionproperties.instgrambtnHeight + 'px',
|
|
45267
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
45268
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
45269
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
45270
|
+
transition: '.3s',
|
|
45271
|
+
':hover': {
|
|
45272
|
+
background: sectionproperties.instgrambtnbgColoronhover,
|
|
45273
|
+
borderColor: sectionproperties.instgrambtnTextcoloronhover,
|
|
45274
|
+
color: sectionproperties.instgrambtnTextcoloronhover
|
|
45275
|
+
}
|
|
45276
|
+
}),
|
|
45277
|
+
subscribetitle: glamor.css({
|
|
45278
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
45279
|
+
color: sectionproperties.sectionTitleColor,
|
|
45280
|
+
fontWeight: sectionproperties.sectionTitleFontWeight
|
|
45281
|
+
}),
|
|
45282
|
+
subscribedescription: glamor.css({
|
|
45283
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
45284
|
+
color: sectionproperties.prodCatColor,
|
|
45285
|
+
fontWeight: sectionproperties.prodCatFontWeight
|
|
45286
|
+
})
|
|
45287
|
+
}, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
|
|
45288
|
+
width: '35%',
|
|
45289
|
+
objectFit: 'contain',
|
|
45290
|
+
'@media (max-width: 800px)': {
|
|
45291
|
+
width: '30%'
|
|
45292
|
+
}
|
|
45293
|
+
})), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
|
|
45294
|
+
width: '35%',
|
|
45295
|
+
objectFit: 'contain',
|
|
45296
|
+
'@media (max-width: 800px)': {
|
|
45297
|
+
width: '30%'
|
|
45298
|
+
}
|
|
45299
|
+
})), _defineProperty__default["default"](_footerStyles, "form_control", glamor.css((_css = {
|
|
45300
|
+
position: 'relative',
|
|
45301
|
+
display: 'flex',
|
|
45302
|
+
alignItems: 'center'
|
|
45303
|
+
}, _defineProperty__default["default"](_css, "display", 'block'), _defineProperty__default["default"](_css, "width", '100%'), _defineProperty__default["default"](_css, "height", '35px'), _defineProperty__default["default"](_css, "padding", '0 10px 10px'), _defineProperty__default["default"](_css, "transition", '.3s'), _defineProperty__default["default"](_css, "fontWeight", 500), _defineProperty__default["default"](_css, "borderBottom", ' 1 px solid #ccc'), _defineProperty__default["default"](_css, "height", '40px'), _defineProperty__default["default"](_css, "background", 'transparent'), _defineProperty__default["default"](_css, "color", '#000'), _defineProperty__default["default"](_css, ':focus', {
|
|
45304
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
45305
|
+
}), _css))), _footerStyles);
|
|
45306
|
+
React.useEffect(function () {
|
|
45307
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
45308
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
45309
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
45310
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
45311
|
+
}
|
|
45312
|
+
}
|
|
45313
|
+
}, [templateproperties_context]);
|
|
45314
|
+
var Newsletter = function Newsletter() {
|
|
45315
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45316
|
+
"class": "row m-0 w-100"
|
|
45317
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45318
|
+
"class": "col-lg-12 allcentered mb-3"
|
|
45319
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45320
|
+
style: {
|
|
45321
|
+
fontSize: 20,
|
|
45322
|
+
fontWeight: 600
|
|
45323
|
+
}
|
|
45324
|
+
}, "STAY IN THE KNOW")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45325
|
+
"class": "col-lg-12 allcentered"
|
|
45326
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45327
|
+
style: {
|
|
45328
|
+
fontSize: 15,
|
|
45329
|
+
fontWeight: 600
|
|
45330
|
+
}
|
|
45331
|
+
}, "Be the first one to receive new releases, special offers, and more")), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45332
|
+
"class": "col-lg-12 allcentered"
|
|
45333
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
45334
|
+
type: "text",
|
|
45335
|
+
className: "".concat(footerStyles.form_control),
|
|
45336
|
+
value: '',
|
|
45337
|
+
placeholder: "your email",
|
|
45338
|
+
onChange: function onChange(event) {},
|
|
45339
|
+
style: {
|
|
45340
|
+
background: sectionproperties.input_bgcolor
|
|
45341
|
+
}
|
|
45342
|
+
})));
|
|
45343
|
+
};
|
|
45344
|
+
var Section1pages = function Section1pages() {
|
|
45345
|
+
var _templatepropcontext$;
|
|
45346
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45347
|
+
"class": "col-lg-12 p-0 mt-md-3"
|
|
45348
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45349
|
+
"class": "row m-0 w-100 d-flex justify-content-start align-items-center flex-column"
|
|
45350
|
+
}, templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.map(function (item, index) {
|
|
45351
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
45352
|
+
if (item.staticpageid != '650c3c37dd5bf' && item.staticpageid != '650c591955e81' && item.staticpageid != '650c5be1dfd5d' && item.staticpageid != '6505ad75b1cdb') {
|
|
45353
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45354
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
45355
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45356
|
+
onClick: function onClick() {
|
|
45357
|
+
routingcountext(item.navigationroute);
|
|
45358
|
+
}
|
|
45359
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
45360
|
+
"class": "".concat(footerStyles.subPages) + ' wordbreak m-0 p-0 ',
|
|
45361
|
+
style: {
|
|
45362
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
45363
|
+
}
|
|
45364
|
+
}, langdetect == 'en' ? item.pagename : item.pagename_ar)));
|
|
45365
|
+
}
|
|
45366
|
+
}
|
|
45367
|
+
})));
|
|
45368
|
+
};
|
|
45369
|
+
return /*#__PURE__*/React__default["default"].createElement("footer", {
|
|
45370
|
+
"class": "row m-0 w-100 justify-content-center"
|
|
45371
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45372
|
+
style: {
|
|
45373
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
|
|
45374
|
+
paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
|
|
45375
|
+
},
|
|
45376
|
+
"class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
|
|
45377
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45378
|
+
"class": "row m-0 w-100"
|
|
45379
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45380
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45381
|
+
}, Section1pages()), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
45382
|
+
"class": "col-lg-4 col-md-12 d-flex justify-content-center justify-content-md-start"
|
|
45383
|
+
}, Newsletter()))));
|
|
45384
|
+
};
|
|
45385
|
+
|
|
44413
45386
|
function ownKeys$1n(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; }
|
|
44414
45387
|
function _objectSpread$1n(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1n(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1n(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
44415
45388
|
var CardsSection2 = function CardsSection2(props) {
|
|
@@ -61904,6 +62877,14 @@ var Card23 = function Card23(props) {
|
|
|
61904
62877
|
fontSize: sectionproperties.cashbackcontainerfontsize + 'px',
|
|
61905
62878
|
border: sectionproperties.cashbackcontainerborderwidth + 'px ' + sectionproperties.cashbackcontainerborderstyle + sectionproperties.cashbackcontainerbordercolor,
|
|
61906
62879
|
borderRadius: sectionproperties.cashbackcontainerborderradius + 'px'
|
|
62880
|
+
}),
|
|
62881
|
+
productcard: glamor.css({
|
|
62882
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62883
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
62884
|
+
'@media (max-width: 800px)': {
|
|
62885
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
62886
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
62887
|
+
}
|
|
61907
62888
|
})
|
|
61908
62889
|
};
|
|
61909
62890
|
var plainString = function plainString(html) {
|
|
@@ -62038,11 +63019,30 @@ var Card23 = function Card23(props) {
|
|
|
62038
63019
|
AddtoCartContext(tempaddtocardpayloadobj);
|
|
62039
63020
|
};
|
|
62040
63021
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62041
|
-
"class":
|
|
63022
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.productcard) + ' w-100 px-md-1 ' : " ".concat(cardsstyles2.productcard),
|
|
62042
63023
|
style: {
|
|
62043
63024
|
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
62044
63025
|
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
62045
63026
|
}
|
|
63027
|
+
// class={
|
|
63028
|
+
// langdetect == 'en'
|
|
63029
|
+
// ? sectionproperties.card_marginLeft != 0
|
|
63030
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
63031
|
+
// : sectionproperties.card_marginRight != 0
|
|
63032
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
63033
|
+
// : 'row m-0 w-100'
|
|
63034
|
+
// : langdetect == 'en'
|
|
63035
|
+
// ? sectionproperties.card_marginRight != 0
|
|
63036
|
+
// ? 'row m-0 w-100 pr-sm-2'
|
|
63037
|
+
// : sectionproperties.card_marginLeft != 0
|
|
63038
|
+
// ? 'row m-0 w-100 pl-sm-2'
|
|
63039
|
+
// : 'row m-0 w-100'
|
|
63040
|
+
// : 'row m-0 w-100'
|
|
63041
|
+
// }
|
|
63042
|
+
// style={{
|
|
63043
|
+
// paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
63044
|
+
// paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
63045
|
+
// }}
|
|
62046
63046
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62047
63047
|
"class": "".concat(cardsstyles2.card) + ' w-100 '
|
|
62048
63048
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -69445,7 +70445,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
|
|
|
69445
70445
|
})), sectionproperties.general_showtext == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69446
70446
|
"class": "col-lg-12 p-0 allcentered"
|
|
69447
70447
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69448
|
-
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center '
|
|
70448
|
+
"class": card_cssstyles.categoryname + ' m-0 p-0 categoryname wordbreak text-center font-md-13 '
|
|
69449
70449
|
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
69450
70450
|
"class": "col-lg-12 p-0 allcentered"
|
|
69451
70451
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -72011,6 +73011,7 @@ var returnLibrary = function returnLibrary() {
|
|
|
72011
73011
|
FooterWithThreeColumns: FooterWithThreeColumns,
|
|
72012
73012
|
ModernFooter: ModernFooter,
|
|
72013
73013
|
Newsletterfooter: Newsletterfooter,
|
|
73014
|
+
Newsletterincenter: Newsletterincenter,
|
|
72014
73015
|
// Cards Sections (8)
|
|
72015
73016
|
CardsSection: CardsSection,
|
|
72016
73017
|
CardsSection2: CardsSection2,
|