tabexseriescomponents 0.0.288 → 0.0.291

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.esm.js CHANGED
@@ -33,13 +33,13 @@ import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, Wha
33
33
  import { IKImage } from 'imagekitio-react';
34
34
  import ReactStars from 'react-rating-stars-component';
35
35
  import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
36
- import { Box, Tabs, Tab } from '@mui/material';
37
36
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
38
37
  import TextareaAutosize from 'react-textarea-autosize';
39
38
  import { AiOutlineClockCircle } from '@react-icons/all-files/ai/AiOutlineClockCircle';
40
39
  import { AiOutlinePlus } from '@react-icons/all-files/ai/AiOutlinePlus';
41
40
  import { AiOutlineCheck } from '@react-icons/all-files/ai/AiOutlineCheck';
42
41
  import { ScrollMenu } from 'react-horizontal-scrolling-menu';
42
+ import { Box, Tabs, Tab } from '@mui/material';
43
43
  import { HiOutlinePhone } from '@react-icons/all-files/hi/HiOutlinePhone';
44
44
  import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
45
45
  import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
@@ -123,7 +123,7 @@ import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
123
123
  import { GoLocation } from '@react-icons/all-files/go/GoLocation';
124
124
  import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
125
125
  import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
126
- import Select$3 from 'react-select';
126
+ import Select$4 from 'react-select';
127
127
  import ReactPlayer from 'react-player';
128
128
  import BackgroundSlideshow from 'react-background-slideshow';
129
129
  import _extends from '@babel/runtime/helpers/extends';
@@ -477,8 +477,8 @@ function styleInject(css, ref) {
477
477
  }
478
478
  }
479
479
 
480
- var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_login_input_icontrans__8whFD{\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
481
- var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","login_input_icontrans":"login-module_login_input_icontrans__8whFD","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
480
+ var css_248z$L = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icon__5lPiH {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n right: 25px;\n padding-left: 15px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_login_input_icontrans__8whFD {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_showpassword_input_icontrans__hKlPg {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 15px;\n left: 25px;\n\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n cursor: pointer !important;\n z-index: 10000000000000000000000 !important;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n /* padding-right: 10px; */\n}\n@media screen and (max-width: 500px) {\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n /* padding-left: 20px; */\n}\n\n/* Forms */\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n cursor: not-allowed;\n}\n";
481
+ var loginstyles$1 = {"login_input_icon":"login-module_login_input_icon__hETpJ","showpassword_input_icon":"login-module_showpassword_input_icon__5lPiH","login_input_icontrans":"login-module_login_input_icontrans__8whFD","showpassword_input_icontrans":"login-module_showpassword_input_icontrans__hKlPg","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
482
482
  styleInject(css_248z$L);
483
483
 
484
484
  var GoogleLoginButton = function GoogleLoginButton(props) {
@@ -579,40 +579,44 @@ var Login = function Login(props) {
579
579
  _useState2 = _slicedToArray(_useState, 2),
580
580
  statusreason = _useState2[0];
581
581
  _useState2[1];
582
- var _useState3 = useState({
582
+ var _useState3 = useState(false),
583
+ _useState4 = _slicedToArray(_useState3, 2),
584
+ showpassword = _useState4[0],
585
+ setshowpassword = _useState4[1];
586
+ var _useState5 = useState({
583
587
  instapikey: instapikey,
584
588
  email: '',
585
589
  code: '',
586
590
  newpassword: '',
587
591
  confirmnewpassword: ''
588
592
  }),
589
- _useState4 = _slicedToArray(_useState3, 2),
590
- forgotpasswordpayload = _useState4[0],
591
- setforgotpasswordpayload = _useState4[1];
592
- var _useState5 = useState({
593
+ _useState6 = _slicedToArray(_useState5, 2),
594
+ forgotpasswordpayload = _useState6[0],
595
+ setforgotpasswordpayload = _useState6[1];
596
+ var _useState7 = useState({
593
597
  instapikey: instapikey,
594
598
  email: '',
595
599
  password: ''
596
600
  }),
597
- _useState6 = _slicedToArray(_useState5, 2),
598
- payloadobj = _useState6[0],
599
- setpayloadobj = _useState6[1];
600
- var _useState7 = useState('send'),
601
601
  _useState8 = _slicedToArray(_useState7, 2),
602
- forgetpasswordstage = _useState8[0],
603
- setforgetpasswordstage = _useState8[1];
604
- var _useState9 = useState(false),
602
+ payloadobj = _useState8[0],
603
+ setpayloadobj = _useState8[1];
604
+ var _useState9 = useState('send'),
605
605
  _useState10 = _slicedToArray(_useState9, 2),
606
- forgetpasswordmodal = _useState10[0],
607
- setforgetpasswordmodal = _useState10[1];
608
- var _useState11 = useState(''),
609
- _useState12 = _slicedToArray(_useState11, 2);
610
- _useState12[0];
611
- var setCurrentPageId = _useState12[1];
606
+ forgetpasswordstage = _useState10[0],
607
+ setforgetpasswordstage = _useState10[1];
608
+ var _useState11 = useState(false),
609
+ _useState12 = _slicedToArray(_useState11, 2),
610
+ forgetpasswordmodal = _useState12[0],
611
+ setforgetpasswordmodal = _useState12[1];
612
612
  var _useState13 = useState(''),
613
- _useState14 = _slicedToArray(_useState13, 2),
614
- sectionproperties = _useState14[0],
615
- setsectionproperties = _useState14[1];
613
+ _useState14 = _slicedToArray(_useState13, 2);
614
+ _useState14[0];
615
+ var setCurrentPageId = _useState14[1];
616
+ var _useState15 = useState(''),
617
+ _useState16 = _slicedToArray(_useState15, 2),
618
+ sectionproperties = _useState16[0],
619
+ setsectionproperties = _useState16[1];
616
620
  useEffect(function () {
617
621
  var cartindex = templatepropcontext.pagesnprop.findIndex(function (x) {
618
622
  return x.staticpageid == '6218bccb77283';
@@ -798,9 +802,16 @@ var Login = function Login(props) {
798
802
  className: "col-lg-12 col-md-12 col-sm-12 p-sm-0"
799
803
  }, /*#__PURE__*/React.createElement("label", {
800
804
  className: "".concat(loginstyles2.logininputLabel) + ' text-transform-none d-flex justify-content-start '
801
- }, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React.createElement("input", {
805
+ }, langdetect == 'en' ? 'Password' : 'كلمة السر'), /*#__PURE__*/React.createElement("div", {
806
+ onClick: function onClick() {
807
+ setshowpassword(!showpassword);
808
+ },
809
+ className: langdetect == 'en' ? loginstyles$1.showpassword_input_icon : loginstyles$1.showpassword_input_icontrans
810
+ }, /*#__PURE__*/React.createElement("i", {
811
+ className: "fa fa-eye h-100 d-flex align-items-center justify-content-center"
812
+ })), /*#__PURE__*/React.createElement("input", {
802
813
  className: "".concat(loginstyles$1.form_control, " ").concat(loginstyles2.form_control),
803
- type: "password",
814
+ type: showpassword ? 'text' : 'password',
804
815
  textplaceholder: "",
805
816
  value: payloadobj.password,
806
817
  onChange: function onChange(event) {
@@ -1068,8 +1079,133 @@ var css_248z$H = "@media screen and (max-width: 800px) {\n .signup-module_rig
1068
1079
  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-"};
1069
1080
  styleInject(css_248z$H);
1070
1081
 
1082
+ function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1083
+ function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1084
+ var defaultstyles = {
1085
+ option: function option(provided, state) {
1086
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1087
+ borderBottom: '1px solid #e6e6e6',
1088
+ backgroundColor: state.isSelected ? '' : '',
1089
+ padding: 5,
1090
+ textTransform: 'capitalize',
1091
+ color: state.isSelected ? '#eac435' : 'black',
1092
+ transition: '.3s',
1093
+ '&:hover': {
1094
+ // color: '#eac435',
1095
+ cursor: 'pointer'
1096
+ }
1097
+ });
1098
+ },
1099
+ control: function control() {
1100
+ return {
1101
+ borderBottom: '1px solid #ccc',
1102
+ backgroundColor: 'white',
1103
+ display: 'flex',
1104
+ cursor: 'pointer',
1105
+ padding: 0,
1106
+ transition: '.3s',
1107
+ '&:hover': {
1108
+ // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1109
+ // borderRadius: '10px',
1110
+ }
1111
+ };
1112
+ },
1113
+ dropdownIndicator: function dropdownIndicator(provided) {
1114
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1115
+ '&:hover': {
1116
+ // color: '#eac435',
1117
+ }
1118
+ });
1119
+ }
1120
+ };
1121
+ var defaultstylestranslated = {
1122
+ option: function option(provided, state) {
1123
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1124
+ borderBottom: '1px solid #e6e6e6',
1125
+ backgroundColor: state.isSelected ? '' : '',
1126
+ padding: 5,
1127
+ textTransform: 'capitalize',
1128
+ // color: state.isSelected ? '#eac435' : '#022648',
1129
+ color: state.isSelected ? '#eac435' : 'black',
1130
+ transition: '.3s',
1131
+ textAlign: 'right',
1132
+ '&:hover': {
1133
+ // color: '#eac435',
1134
+ cursor: 'pointer'
1135
+ }
1136
+ });
1137
+ },
1138
+ control: function control() {
1139
+ return {
1140
+ borderBottom: '1px solid #ccc',
1141
+ backgroundColor: 'white',
1142
+ display: 'flex',
1143
+ cursor: 'pointer',
1144
+ padding: 0,
1145
+ transition: '.3s',
1146
+ textAlign: 'right',
1147
+ '&:hover': {
1148
+ // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1149
+ // borderRadius: '10px',
1150
+ }
1151
+ };
1152
+ },
1153
+ dropdownIndicator: function dropdownIndicator(provided) {
1154
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1155
+ '&:hover': {
1156
+ // color: '#eac435',
1157
+ }
1158
+ });
1159
+ },
1160
+ placeholder: function placeholder(provided, state) {
1161
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1162
+ textAlign: 'right'
1163
+ });
1164
+ }
1165
+ };
1166
+ var defaultstylesnone = {
1167
+ option: function option(provided, state) {
1168
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1169
+ borderBottom: '1px solid #e6e6e6',
1170
+ backgroundColor: state.isSelected ? '' : '',
1171
+ padding: 5,
1172
+ textTransform: 'capitalize',
1173
+ color: state.isSelected ? '#eac435' : 'black',
1174
+ transition: '.3s',
1175
+ '&:hover': {
1176
+ // color: '#eac435',
1177
+ cursor: 'pointer'
1178
+ }
1179
+ });
1180
+ },
1181
+ control: function control() {
1182
+ return {
1183
+ borderBottom: 'none',
1184
+ backgroundColor: 'transparent',
1185
+ display: 'flex',
1186
+ cursor: 'pointer',
1187
+ padding: 0,
1188
+ transition: '.3s',
1189
+ '&:hover': {
1190
+ // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
1191
+ // borderRadius: '10px',
1192
+ }
1193
+ };
1194
+ },
1195
+ dropdownIndicator: function dropdownIndicator(provided) {
1196
+ return _objectSpread$29(_objectSpread$29({}, provided), {}, {
1197
+ '&:hover': {
1198
+ // color: '#eac435',
1199
+ }
1200
+ });
1201
+ }
1202
+ };
1203
+
1204
+ var Select$3 = /*#__PURE__*/React.lazy(function () {
1205
+ return import('react-select');
1206
+ });
1071
1207
  var Variantoptions = function Variantoptions(props) {
1072
- var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2;
1208
+ var _css, _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _ProductInfoObj$data2, _ProductInfoObj$data3, _ProductInfoObj$data4;
1073
1209
  var lang = props.actions.lang;
1074
1210
  var langdetect = props.actions.langdetect;
1075
1211
  var selectproductoptionvalue = props.actions.selectproductoptionvalue;
@@ -1225,23 +1361,74 @@ var Variantoptions = function Variantoptions(props) {
1225
1361
  }, langdetect == 'en' ? optionvaluesitem.valuename : optionvaluesitem.valuename_ar));
1226
1362
  }
1227
1363
  }))));
1228
- })), sectionproperties.variantstyle == 'Select Box' && /*#__PURE__*/React.createElement("div", {
1229
- "class": "col-lg-12"
1230
- }, /*#__PURE__*/React.createElement("label", {
1231
- className: ' d-flex align-items-start mb-2 ',
1232
- style: {
1233
- color: sectionproperties.varianttitle_color,
1234
- fontWeight: sectionproperties.varianttitle_fontweight,
1235
- textTransform: sectionproperties.varianttitle_texttransform,
1236
- fontSize: sectionproperties.varianttitle_fontSize + 'px'
1237
- }
1238
- }, "label"), /*#__PURE__*/React.createElement("select", {
1239
- className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control)
1240
- }, /*#__PURE__*/React.createElement("option", {
1241
- value: ''
1242
- }, langdetect == 'en' ? 'Choose' : 'إختر'), /*#__PURE__*/React.createElement("option", {
1243
- value: 'asd'
1244
- }, "asdasd")))));
1364
+ })), sectionproperties.variantstyle == 'Select Box' && (ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : (_ProductInfoObj$data3 = _ProductInfoObj$data2.productinfo) === null || _ProductInfoObj$data3 === void 0 ? void 0 : (_ProductInfoObj$data4 = _ProductInfoObj$data3.productoptions) === null || _ProductInfoObj$data4 === void 0 ? void 0 : _ProductInfoObj$data4.map(function (item, index) {
1365
+ var orgselectoptions = [];
1366
+ var selecteditemid = null;
1367
+ var placeholdervalue = '';
1368
+ placeholdervalue = 'Choose' + ' ' + (langdetect == 'en' ? item.optionname : item.optionname_ar);
1369
+ if (item.optionvalues != undefined && Array.isArray(item.optionvalues)) {
1370
+ orgselectoptions = item.optionvalues;
1371
+ // optionvaluesitem.isselected
1372
+ }
1373
+
1374
+ orgselectoptions.forEach(function (getselcitem, getselindex) {
1375
+ if (getselcitem.isselected == 1) {
1376
+ selecteditemid = getselcitem.valueid;
1377
+ }
1378
+ });
1379
+ return /*#__PURE__*/React.createElement("div", {
1380
+ "class": sectionproperties.numberofcolsperrow == '2' ? 'col-lg-2 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '3' ? ' col-lg-3 col-md-3 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '4' ? 'col-lg-4 col-md-4 col-sm-12 mb-3 p-sm-0' : sectionproperties.numberofcolsperrow == '6' ? 'col-lg-6 col-md-6 col-sm-12 mb-3 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0'
1381
+ }, /*#__PURE__*/React.createElement("label", {
1382
+ className: ' d-flex align-items-start mb-2 ',
1383
+ style: {
1384
+ color: sectionproperties.varianttitle_color,
1385
+ fontWeight: sectionproperties.varianttitle_fontweight,
1386
+ textTransform: sectionproperties.varianttitle_texttransform,
1387
+ fontSize: sectionproperties.varianttitle_fontSize + 'px'
1388
+ }
1389
+ }, langdetect == 'en' ? item.optionname : item.optionname_ar), /*#__PURE__*/React.createElement("div", {
1390
+ style: {
1391
+ width: '100%'
1392
+ },
1393
+ className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control) + ' variantselectbox '
1394
+ }, /*#__PURE__*/React.createElement(Select$3, {
1395
+ options: orgselectoptions,
1396
+ getOptionLabel: function getOptionLabel(option) {
1397
+ var crname = '';
1398
+ if (langdetect == 'en') {
1399
+ crname = option.valuename;
1400
+ } else if (langdetect == 'ar') {
1401
+ crname = option.valuename_ar;
1402
+ }
1403
+ return crname;
1404
+ },
1405
+ getOptionValue: function getOptionValue(option) {
1406
+ return option.valueid;
1407
+ },
1408
+ value: orgselectoptions.filter(function (option) {
1409
+ return option.valueid == selecteditemid;
1410
+ }),
1411
+ onChange: function onChange(optionvaluesitem) {
1412
+ var _orgselectoptions;
1413
+ var optionvaluesindex = null;
1414
+ (_orgselectoptions = orgselectoptions) === null || _orgselectoptions === void 0 ? void 0 : _orgselectoptions.forEach(function (tempitm, tempind) {
1415
+ if (tempitm.valueid == optionvaluesitem.valueid) {
1416
+ optionvaluesindex = tempind;
1417
+ }
1418
+ });
1419
+ if (optionvaluesindex != null) {
1420
+ if (optionvaluesitem.isenabled == 1) {
1421
+ selectproductoptionvalue(index, optionvaluesitem, optionvaluesindex);
1422
+ } else {
1423
+ clearchoosenvaluesbutkeepcurrentvalue(index, optionvaluesitem, optionvaluesindex);
1424
+ }
1425
+ }
1426
+ },
1427
+ styles: defaultstylesnone,
1428
+ placeholder: placeholdervalue,
1429
+ isSearchable: true
1430
+ })));
1431
+ }))));
1245
1432
  };
1246
1433
 
1247
1434
  //productidprops
@@ -1252,10 +1439,26 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1252
1439
  var sectionproperties = props.actions.sectionproperties;
1253
1440
  var authdetailsContext = props.actions.authdetailsContext;
1254
1441
  var variantindexcompleted = props.actions.variantindexcompleted;
1255
- props.actions.ikimagecredcontext;
1256
1442
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1257
1443
  var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1258
- return /*#__PURE__*/React.createElement(React.Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
1444
+ var productinfo_cssstyles = {
1445
+ profitcontainer: css({
1446
+ width: sectionproperties.profitcontainerwidth + '%',
1447
+ height: sectionproperties.profitcontainerheight + 'px',
1448
+ background: sectionproperties.profitcontainerbgcolor,
1449
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
1450
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
1451
+ color: sectionproperties.profitcontainercolor,
1452
+ '@media (max-width: 800px)': {
1453
+ width: '90%'
1454
+ }
1455
+ })
1456
+ };
1457
+ return /*#__PURE__*/React.createElement("div", {
1458
+ "class": "col-lg-12 p-0"
1459
+ }, /*#__PURE__*/React.createElement("div", {
1460
+ "class": "row m-0 w-100"
1461
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
1259
1462
  "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1260
1463
  style: {
1261
1464
  background: sectionproperties.reservation_bgcolor,
@@ -1332,11 +1535,26 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1332
1535
  fontSize: '13px',
1333
1536
  lineHeight: '25px'
1334
1537
  }
1335
- }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1538
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
1539
+ "class": "col-lg-12 p-0 mb-2"
1540
+ }, /*#__PURE__*/React.createElement("div", {
1541
+ "class": productinfo_cssstyles.profitcontainer + ' allcentered '
1542
+ }, /*#__PURE__*/React.createElement("p", {
1543
+ "class": ' m-0 p-0 d-flex align-items-center justify-content-center '
1544
+ }, /*#__PURE__*/React.createElement("span", {
1545
+ style: {
1546
+ fontWeight: sectionproperties.profitcontainerfontweight
1547
+ }
1548
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
1549
+ "class": "mx-1",
1550
+ style: {
1551
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
1552
+ }
1553
+ }, 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))))));
1336
1554
  };
1337
1555
 
1338
- function ownKeys$29(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1339
- function _objectSpread$29(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$29(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$29(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1556
+ function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1557
+ function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1340
1558
  var ProductExtraFields = function ProductExtraFields(props) {
1341
1559
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _css, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7;
1342
1560
  props.actions.lang;
@@ -1390,9 +1608,9 @@ var ProductExtraFields = function ProductExtraFields(props) {
1390
1608
  });
1391
1609
  }
1392
1610
  setproductextravaluesarray(_toConsumableArray(tempproductextravaluesarray));
1393
- var tempaddtocardpayloadobj = _objectSpread$29({}, addtocardpayloadobj);
1611
+ var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
1394
1612
  tempaddtocardpayloadobj.extrafields = tempproductextravaluesarray;
1395
- setaddtocardpayloadobj(_objectSpread$29({}, tempaddtocardpayloadobj));
1613
+ setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
1396
1614
  };
1397
1615
  var formstyles = {
1398
1616
  loginbtn: css({
@@ -1575,8 +1793,8 @@ var ProductExtraFields = function ProductExtraFields(props) {
1575
1793
  }))));
1576
1794
  };
1577
1795
 
1578
- function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1579
- function _objectSpread$28(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$28(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$28(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1796
+ function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1797
+ function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1580
1798
  var Product_itemtype = function Product_itemtype(props) {
1581
1799
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52;
1582
1800
  var lang = props.actions.lang;
@@ -1882,11 +2100,11 @@ var Product_itemtype = function Product_itemtype(props) {
1882
2100
  }, /*#__PURE__*/React.createElement("span", {
1883
2101
  className: "".concat(productinfo_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
1884
2102
  onClick: function onClick() {
1885
- var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
2103
+ var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
1886
2104
  if (tempaddtocardpayloadobj.quantity > 0) {
1887
2105
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity - 1;
1888
2106
  }
1889
- setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
2107
+ setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
1890
2108
  }
1891
2109
  }, /*#__PURE__*/React.createElement("i", {
1892
2110
  className: "fa fa-chevron-down",
@@ -1898,9 +2116,9 @@ var Product_itemtype = function Product_itemtype(props) {
1898
2116
  }, addtocardpayloadobj.quantity), /*#__PURE__*/React.createElement("span", {
1899
2117
  className: "".concat(productinfo_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
1900
2118
  onClick: function onClick() {
1901
- var tempaddtocardpayloadobj = _objectSpread$28({}, addtocardpayloadobj);
2119
+ var tempaddtocardpayloadobj = _objectSpread$27({}, addtocardpayloadobj);
1902
2120
  tempaddtocardpayloadobj.quantity = tempaddtocardpayloadobj.quantity + 1;
1903
- setaddtocardpayloadobj(_objectSpread$28({}, tempaddtocardpayloadobj));
2121
+ setaddtocardpayloadobj(_objectSpread$27({}, tempaddtocardpayloadobj));
1904
2122
  }
1905
2123
  }, /*#__PURE__*/React.createElement("i", {
1906
2124
  className: "fa fa-chevron-up",
@@ -1938,7 +2156,7 @@ var Product_itemtype = function Product_itemtype(props) {
1938
2156
  size: sectionproperties.cartBtn_iconFontSize
1939
2157
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
1940
2158
  size: sectionproperties.cartBtn_iconFontSize
1941
- })), lang.addtocart), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
2159
+ })), langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), AddtoCartMutationContext.isLoading && /*#__PURE__*/React.createElement("div", {
1942
2160
  className: ' d-flex align-items-center justify-content-center '
1943
2161
  }, /*#__PURE__*/React.createElement(CircularProgress, {
1944
2162
  color: "white",
@@ -2102,8 +2320,8 @@ var Product_itemtype = function Product_itemtype(props) {
2102
2320
  }, StoreInfoprops())))));
2103
2321
  };
2104
2322
 
2105
- function ownKeys$27(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2106
- function _objectSpread$27(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$27(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$27(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2323
+ function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2324
+ function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2107
2325
  var Serviceinfotabs = function Serviceinfotabs(props) {
2108
2326
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24;
2109
2327
  var langdetect = props.actions.langdetect;
@@ -2144,7 +2362,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2144
2362
  slots = _useState6[0],
2145
2363
  setslots = _useState6[1];
2146
2364
  useEffect(function () {
2147
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2365
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2148
2366
  item_type: 'service'
2149
2367
  }));
2150
2368
  }, [tabsarray]);
@@ -2156,16 +2374,16 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2156
2374
  if (diffDays.toString() != 'NaN') {
2157
2375
  if (date2 <= date1) {
2158
2376
  NotificationManager.warning('', 'Please choose another date.');
2159
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2377
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2160
2378
  quantity: 0
2161
2379
  }));
2162
2380
  } else {
2163
2381
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= diffDays && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= diffDays) {
2164
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2382
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2165
2383
  quantity: diffDays
2166
2384
  }));
2167
2385
  } else {
2168
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2386
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2169
2387
  quantity: 0
2170
2388
  }));
2171
2389
  NotificationManager.warning('', 'Max: ' + fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant + ', Min: ' + fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant);
@@ -2301,7 +2519,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2301
2519
  min: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer9 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer9 === void 0 ? void 0 : (_fetchProductInfoQuer10 = _fetchProductInfoQuer9.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.productinfo) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.serviceinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.reservationstarts,
2302
2520
  max: fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.serviceinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.reservationends,
2303
2521
  onChange: function onChange(event) {
2304
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2522
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2305
2523
  from: event.target.value
2306
2524
  }));
2307
2525
  }
@@ -2321,7 +2539,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2321
2539
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2322
2540
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2323
2541
  onChange: function onChange(event) {
2324
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2542
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2325
2543
  to: event.target.value
2326
2544
  }));
2327
2545
  }
@@ -2341,7 +2559,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2341
2559
  min: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationstarts,
2342
2560
  max: fetchProductInfoQueryContext.data.data.productinfo.serviceinfo.reservationends,
2343
2561
  onChange: function onChange(event) {
2344
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2562
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2345
2563
  date: event.target.value
2346
2564
  }));
2347
2565
  setcurrentmutatestate('/fetchserviceslots');
@@ -2392,7 +2610,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2392
2610
  color: ischoosed ? sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? sectionproperties.generalbtn_textColoronhover : sectionproperties.generalbtn_textColor : ''
2393
2611
  },
2394
2612
  onClick: function onClick() {
2395
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2613
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2396
2614
  time: item.slot
2397
2615
  }));
2398
2616
  }
@@ -2401,7 +2619,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2401
2619
  }, /*#__PURE__*/React.createElement("button", {
2402
2620
  "class": TabsStyles.booknow_btn_resp + ' allcentered ',
2403
2621
  onClick: function onClick() {
2404
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2622
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2405
2623
  time: item.slot
2406
2624
  }));
2407
2625
  }
@@ -2443,7 +2661,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
2443
2661
  "class": ischoosed == true ? TabsStyles.timeSlotContainer_active + ' allcentered cursor-pointer px-1 ' : TabsStyles.timeSlotContainer + ' allcentered cursor-pointer px-1 ',
2444
2662
  style: {},
2445
2663
  onClick: function onClick() {
2446
- setaddtocardpayloadobj(_objectSpread$27(_objectSpread$27({}, addtocardpayloadobj), {}, {
2664
+ setaddtocardpayloadobj(_objectSpread$26(_objectSpread$26({}, addtocardpayloadobj), {}, {
2447
2665
  time: item.slot
2448
2666
  }));
2449
2667
  }
@@ -3028,8 +3246,8 @@ var Service_itemtype = function Service_itemtype(props) {
3028
3246
  }, StoreInfoprops()))));
3029
3247
  };
3030
3248
 
3031
- function ownKeys$26(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3032
- function _objectSpread$26(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$26(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$26(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3249
+ function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3250
+ function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3033
3251
  var AddReview = function AddReview(props) {
3034
3252
  var _css;
3035
3253
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -3083,7 +3301,7 @@ var AddReview = function AddReview(props) {
3083
3301
  StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
3084
3302
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3085
3303
  });
3086
- setsectionproperties(_objectSpread$26({}, secpropobj));
3304
+ setsectionproperties(_objectSpread$25({}, secpropobj));
3087
3305
  }
3088
3306
  }, [StatePagePropertiesContext]);
3089
3307
  useEffect(function () {
@@ -3092,7 +3310,7 @@ var AddReview = function AddReview(props) {
3092
3310
  templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
3093
3311
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3094
3312
  });
3095
- setsectionproperties(_objectSpread$26({}, secpropobj));
3313
+ setsectionproperties(_objectSpread$25({}, secpropobj));
3096
3314
  }, [pageindexcontext]);
3097
3315
  var reviewstyles = {
3098
3316
  submitreviewbtn: css({
@@ -3218,9 +3436,9 @@ var AddReview = function AddReview(props) {
3218
3436
  }),
3219
3437
  activeColor: "#ffd700",
3220
3438
  onChange: function onChange(event) {
3221
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3439
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3222
3440
  tempreviewpayloadobj.reviewrate = event;
3223
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3441
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3224
3442
  }
3225
3443
  })))))), /*#__PURE__*/React.createElement("div", {
3226
3444
  "class": "col-lg-12"
@@ -3234,9 +3452,9 @@ var AddReview = function AddReview(props) {
3234
3452
  "class": reviewstyles.form_control,
3235
3453
  value: reviewpayloadobj.reviewname,
3236
3454
  onChange: function onChange(event) {
3237
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3455
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3238
3456
  tempreviewpayloadobj.reviewname = event.target.value;
3239
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3457
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3240
3458
  }
3241
3459
  })), /*#__PURE__*/React.createElement("div", {
3242
3460
  "class": "col-lg-12 mb-4"
@@ -3246,9 +3464,9 @@ var AddReview = function AddReview(props) {
3246
3464
  "class": reviewstyles.form_control,
3247
3465
  value: reviewpayloadobj.reviewtitle,
3248
3466
  onChange: function onChange(event) {
3249
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3467
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3250
3468
  tempreviewpayloadobj.reviewtitle = event.target.value;
3251
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3469
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3252
3470
  }
3253
3471
  })), /*#__PURE__*/React.createElement("div", {
3254
3472
  "class": "col-lg-12 mb-4"
@@ -3259,9 +3477,9 @@ var AddReview = function AddReview(props) {
3259
3477
  "class": reviewstyles.form_control + ' form_control ',
3260
3478
  value: reviewpayloadobj.reviewbody,
3261
3479
  onChange: function onChange(event) {
3262
- var tempreviewpayloadobj = _objectSpread$26({}, reviewpayloadobj);
3480
+ var tempreviewpayloadobj = _objectSpread$25({}, reviewpayloadobj);
3263
3481
  tempreviewpayloadobj.reviewbody = event.target.value;
3264
- setreviewpayloadobj(_objectSpread$26({}, tempreviewpayloadobj));
3482
+ setreviewpayloadobj(_objectSpread$25({}, tempreviewpayloadobj));
3265
3483
  },
3266
3484
  style: {
3267
3485
  resize: 'none',
@@ -3296,8 +3514,8 @@ var AddReview = function AddReview(props) {
3296
3514
  }, langdetect == 'en' ? sectionproperties.reviewbtn_contenten : sectionproperties.reviewbtn_contentar)));
3297
3515
  };
3298
3516
 
3299
- function ownKeys$25(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3300
- function _objectSpread$25(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$25(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$25(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3517
+ function ownKeys$24(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3518
+ function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3301
3519
  var ProductReviews = function ProductReviews(props) {
3302
3520
  var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12;
3303
3521
  props.actions.lang;
@@ -3531,7 +3749,7 @@ var ProductReviews = function ProductReviews(props) {
3531
3749
  size: "md",
3532
3750
  "class": "reviewmodal"
3533
3751
  }, /*#__PURE__*/React.createElement(Modal.Body, null, /*#__PURE__*/React.createElement(AddReview, {
3534
- actions: _objectSpread$25(_objectSpread$25({}, actions), {}, {
3752
+ actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
3535
3753
  productid: productid,
3536
3754
  canuserreview: canuserreview,
3537
3755
  addreviewcallback: addreviewcallback
@@ -3539,8 +3757,8 @@ var ProductReviews = function ProductReviews(props) {
3539
3757
  }))));
3540
3758
  };
3541
3759
 
3542
- function ownKeys$24(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3543
- function _objectSpread$24(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$24(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$24(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3760
+ function ownKeys$23(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3761
+ function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3544
3762
  var Productinfo = function Productinfo(props) {
3545
3763
  var _css, _ref, _ref2, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _fetchProductInfoQuer58, _fetchProductInfoQuer59, _fetchProductInfoQuer60, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer61, _fetchProductInfoQuer62, _fetchProductInfoQuer63, _fetchProductInfoQuer64, _fetchProductInfoQuer65, _fetchProductInfoQuer66, _fetchProductInfoQuer67, _fetchProductInfoQuer68, _fetchProductInfoQuer69, _fetchProductInfoQuer70, _fetchProductInfoQuer71, _fetchProductInfoQuer72, _fetchProductInfoQuer73, _fetchProductInfoQuer74, _fetchProductInfoQuer75, _fetchProductInfoQuer76, _fetchProductInfoQuer77, _fetchProductInfoQuer78, _fetchProductInfoQuer79, _fetchProductInfoQuer80, _fetchProductInfoQuer81, _fetchProductInfoQuer82, _fetchProductInfoQuer83, _fetchProductInfoQuer84, _fetchProductInfoQuer85, _fetchProductInfoQuer86, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101, _returnpolicyobj9, _returnpolicyobj10, _returnpolicyobj11, _returnpolicyobj12;
3546
3764
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -3653,7 +3871,7 @@ var Productinfo = function Productinfo(props) {
3653
3871
  StatePagePropertiesContext.pageobj != undefined && StatePagePropertiesContext.pageobj.pageproperties != undefined && StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
3654
3872
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3655
3873
  });
3656
- setsectionproperties(_objectSpread$24({}, secpropobj));
3874
+ setsectionproperties(_objectSpread$23({}, secpropobj));
3657
3875
  }
3658
3876
  }, [StatePagePropertiesContext]);
3659
3877
  useEffect(function () {
@@ -3674,7 +3892,7 @@ var Productinfo = function Productinfo(props) {
3674
3892
  templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[pageindexcontext]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
3675
3893
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
3676
3894
  });
3677
- setsectionproperties(_objectSpread$24({}, secpropobj));
3895
+ setsectionproperties(_objectSpread$23({}, secpropobj));
3678
3896
  }, [pageindexcontext]);
3679
3897
  useEffect(function () {
3680
3898
  if (productidparam == undefined) {
@@ -3694,12 +3912,12 @@ var Productinfo = function Productinfo(props) {
3694
3912
  }
3695
3913
  }, [ProductInfoObj, isloaded]);
3696
3914
  var productidassigner = function productidassigner(productid) {
3697
- var tempFetchQueriesEngineContext = _objectSpread$24({}, FetchQueriesEngineContext);
3915
+ var tempFetchQueriesEngineContext = _objectSpread$23({}, FetchQueriesEngineContext);
3698
3916
  tempFetchQueriesEngineContext.fetchproductinfo = true;
3699
- setFetchQueriesEngineContext(_objectSpread$24({}, tempFetchQueriesEngineContext));
3700
- var tempfetchproductinfoObjContext = _objectSpread$24({}, fetchproductinfoObjContext);
3917
+ setFetchQueriesEngineContext(_objectSpread$23({}, tempFetchQueriesEngineContext));
3918
+ var tempfetchproductinfoObjContext = _objectSpread$23({}, fetchproductinfoObjContext);
3701
3919
  tempfetchproductinfoObjContext.productid = productid;
3702
- setfetchproductinfoObjContext(_objectSpread$24({}, tempfetchproductinfoObjContext));
3920
+ setfetchproductinfoObjContext(_objectSpread$23({}, tempfetchproductinfoObjContext));
3703
3921
  };
3704
3922
  useEffect(function () {
3705
3923
  if (!fetchProductInfoQueryContext.isFetching && fetchProductInfoQueryContext.isSuccess && ikimagecredcontext != undefined) {
@@ -3725,9 +3943,9 @@ var Productinfo = function Productinfo(props) {
3725
3943
  }
3726
3944
  setproductimagesarray([].concat(tempproductimagesarray));
3727
3945
  variantchecker();
3728
- var tempaddtocardpayloadobj = _objectSpread$24({}, addtocardpayloadobj);
3946
+ var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
3729
3947
  tempaddtocardpayloadobj.productid = fetchProductInfoQueryContext.data.data.productinfo.productid;
3730
- setaddtocardpayloadobj(_objectSpread$24({}, tempaddtocardpayloadobj));
3948
+ setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
3731
3949
  setRelatedProductsTagid(fetchProductInfoQueryContext.data.data.productinfo.maintagid);
3732
3950
  if ((fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer === void 0 ? void 0 : (_fetchProductInfoQuer2 = _fetchProductInfoQuer.data) === null || _fetchProductInfoQuer2 === void 0 ? void 0 : (_fetchProductInfoQuer3 = _fetchProductInfoQuer2.productinfo) === null || _fetchProductInfoQuer3 === void 0 ? void 0 : _fetchProductInfoQuer3.maintagid) != null && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer4 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer4 === void 0 ? void 0 : (_fetchProductInfoQuer5 = _fetchProductInfoQuer4.data) === null || _fetchProductInfoQuer5 === void 0 ? void 0 : (_fetchProductInfoQuer6 = _fetchProductInfoQuer5.productinfo) === null || _fetchProductInfoQuer6 === void 0 ? void 0 : (_fetchProductInfoQuer7 = _fetchProductInfoQuer6.maintagid) === null || _fetchProductInfoQuer7 === void 0 ? void 0 : _fetchProductInfoQuer7.length) != 0) {
3733
3951
  GeneralAPIMutationContext.mutate({
@@ -3774,7 +3992,7 @@ var Productinfo = function Productinfo(props) {
3774
3992
  });
3775
3993
  variantchecker();
3776
3994
  variantcompleting();
3777
- setProductInfoObj(_objectSpread$24({}, productarr));
3995
+ setProductInfoObj(_objectSpread$23({}, productarr));
3778
3996
  };
3779
3997
  var variantchecker = function variantchecker() {
3780
3998
  var productarr = ProductInfoObj;
@@ -3848,16 +4066,16 @@ var Productinfo = function Productinfo(props) {
3848
4066
  });
3849
4067
  }
3850
4068
  // queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
3851
- setProductInfoObj(_objectSpread$24({}, productarr));
4069
+ setProductInfoObj(_objectSpread$23({}, productarr));
3852
4070
  setisloaded(true);
3853
4071
  }
3854
4072
  }
3855
4073
  };
3856
4074
  var variantcompleting = function variantcompleting() {
3857
4075
  setvariantindexcompleted('');
3858
- var tempaddtocardpayloadobj = _objectSpread$24({}, addtocardpayloadobj);
4076
+ var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
3859
4077
  tempaddtocardpayloadobj.variantid = '';
3860
- setaddtocardpayloadobj(_objectSpread$24({}, tempaddtocardpayloadobj));
4078
+ setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
3861
4079
  var productarr = ProductInfoObj;
3862
4080
  var selectedoptionsvalues = [];
3863
4081
  productarr.data.productinfo.productoptions.forEach(function (productoptionsitem, productoptionsindex) {
@@ -3889,7 +4107,7 @@ var Productinfo = function Productinfo(props) {
3889
4107
  NotificationManager.warning('', 'Variant Not Found');
3890
4108
  } else {
3891
4109
  variantid = variantobj.variantid;
3892
- var tempaddtocardpayloadobj = _objectSpread$24({}, addtocardpayloadobj);
4110
+ var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
3893
4111
  tempaddtocardpayloadobj.variantid = variantid;
3894
4112
  var variantimageindex = 0;
3895
4113
  productimagesarray === null || productimagesarray === void 0 ? void 0 : productimagesarray.forEach(function (tempimageitem, tempimageindex) {
@@ -3898,13 +4116,13 @@ var Productinfo = function Productinfo(props) {
3898
4116
  }
3899
4117
  });
3900
4118
  setcurrentshowingimageindex(variantimageindex);
3901
- setaddtocardpayloadobj(_objectSpread$24({}, tempaddtocardpayloadobj));
4119
+ setaddtocardpayloadobj(_objectSpread$23({}, tempaddtocardpayloadobj));
3902
4120
  setvariantindexcompleted(ProductVariantIndex);
3903
4121
  }
3904
4122
  }
3905
4123
  });
3906
4124
  // queryClient.setQueryData('fetchProductInfo_API' + JSON.stringify(fetchproductinfoObjContext), productarr);
3907
- setProductInfoObj(_objectSpread$24({}, productarr));
4125
+ setProductInfoObj(_objectSpread$23({}, productarr));
3908
4126
  };
3909
4127
  var addtocartfunc = function addtocartfunc() {
3910
4128
  var runfunc = false;
@@ -3924,7 +4142,7 @@ var Productinfo = function Productinfo(props) {
3924
4142
  }
3925
4143
  if (runfunc == true) {
3926
4144
  var _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13;
3927
- var tempaddtocardpayloadobj = _objectSpread$24({}, addtocardpayloadobj);
4145
+ var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
3928
4146
  tempaddtocardpayloadobj.isproductforcedtocheckout = fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer11 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.data) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : (_fetchProductInfoQuer13 = _fetchProductInfoQuer12.productinfo) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : _fetchProductInfoQuer13.isproductforcedtocheckout;
3929
4147
  var Extrafieldvalidationresponse = validateextrafields();
3930
4148
  if (Extrafieldvalidationresponse.status) {
@@ -3934,7 +4152,7 @@ var Productinfo = function Productinfo(props) {
3934
4152
  };
3935
4153
  var validateextrafields = function validateextrafields() {
3936
4154
  var _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16;
3937
- var tempaddtocardpayloadobj = _objectSpread$24({}, addtocardpayloadobj);
4155
+ var tempaddtocardpayloadobj = _objectSpread$23({}, addtocardpayloadobj);
3938
4156
  var status = false;
3939
4157
  var reason = '';
3940
4158
  var missingitemsfound = [];
@@ -4827,7 +5045,7 @@ var Productinfo = function Productinfo(props) {
4827
5045
  })), tabname == 'reviewstab' && /*#__PURE__*/React.createElement("div", {
4828
5046
  "class": "col-lg-12 p-0 w-100 pl-5 pr-5 p-md-0"
4829
5047
  }, /*#__PURE__*/React.createElement(ProductReviews, {
4830
- actions: _objectSpread$24(_objectSpread$24({}, actions), {}, {
5048
+ actions: _objectSpread$23(_objectSpread$23({}, actions), {}, {
4831
5049
  productinfo_cssstyles: productinfo_cssstyles,
4832
5050
  sectionproperties: sectionproperties
4833
5051
  })
@@ -4844,8 +5062,8 @@ var css_248z$G = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu_
4844
5062
  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"};
4845
5063
  styleInject(css_248z$G);
4846
5064
 
4847
- function ownKeys$23(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4848
- function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5065
+ function ownKeys$22(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5066
+ function _objectSpread$22(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$22(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$22(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4849
5067
  var Staticpagesrouter = function Staticpagesrouter(props) {
4850
5068
  var _useState = useState(props.currentpageprops),
4851
5069
  _useState2 = _slicedToArray(_useState, 2),
@@ -4881,7 +5099,7 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
4881
5099
  templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$ === void 0 ? void 0 : (_templatepropcontext$2 = _templatepropcontext$.pageproperties) === null || _templatepropcontext$2 === void 0 ? void 0 : _templatepropcontext$2.forEach(function (arrayItem, arrayindex) {
4882
5100
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
4883
5101
  });
4884
- setsectionproperties(_objectSpread$23({}, secpropobj));
5102
+ setsectionproperties(_objectSpread$22({}, secpropobj));
4885
5103
  }
4886
5104
  }, [CurrentPageId]);
4887
5105
  var styles = {
@@ -5043,8 +5261,8 @@ var Staticpagesrouter = function Staticpagesrouter(props) {
5043
5261
  }))))));
5044
5262
  };
5045
5263
 
5046
- function ownKeys$22(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5047
- function _objectSpread$22(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$22(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$22(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5264
+ function ownKeys$21(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5265
+ function _objectSpread$21(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$21(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$21(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5048
5266
  var Ordershistory = function Ordershistory(props) {
5049
5267
  var _props$actions2, _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchorderhistoryQue4, _fetchorderhistoryQue5, _fetchorderhistoryQue6, _fetchorderhistoryQue7, _fetchorderhistoryQue8, _fetchorderhistoryQue9, _fetchorderhistoryQue10, _fetchorderhistoryQue11, _fetchorderhistoryQue12, _fetchorderhistoryQue13, _fetchorderhistoryQue14;
5050
5268
  var lang = props.actions.lang;
@@ -5097,9 +5315,9 @@ var Ordershistory = function Ordershistory(props) {
5097
5315
  setorderindex = _useState14[1];
5098
5316
  useEffect(function () {
5099
5317
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
5100
- var tempFetchQueriesEngineContext = _objectSpread$22({}, FetchQueriesEngineContext);
5318
+ var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
5101
5319
  tempFetchQueriesEngineContext.orderhistory = true;
5102
- setFetchQueriesEngineContext(_objectSpread$22({}, tempFetchQueriesEngineContext));
5320
+ setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
5103
5321
  }
5104
5322
  }, []);
5105
5323
  var _useState15 = useState(''),
@@ -5120,7 +5338,7 @@ var Ordershistory = function Ordershistory(props) {
5120
5338
  props === null || props === void 0 ? void 0 : (_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : (_props$actions$StateP = _props$actions.StatePagePropertiesContext) === null || _props$actions$StateP === void 0 ? void 0 : (_props$actions$StateP2 = _props$actions$StateP.pageobj) === null || _props$actions$StateP2 === void 0 ? void 0 : (_props$actions$StateP3 = _props$actions$StateP2.pageproperties) === null || _props$actions$StateP3 === void 0 ? void 0 : _props$actions$StateP3.forEach(function (arrayItem, arrayindex) {
5121
5339
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
5122
5340
  });
5123
- setsectionproperties(_objectSpread$22({}, secpropobj));
5341
+ setsectionproperties(_objectSpread$21({}, secpropobj));
5124
5342
  }, [props === null || props === void 0 ? void 0 : (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
5125
5343
  var orderhistory_cssstyles = {
5126
5344
  variantcontainer: css({
@@ -5977,8 +6195,8 @@ var css_248z$F = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_c
5977
6195
  var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
5978
6196
  styleInject(css_248z$F);
5979
6197
 
5980
- function ownKeys$21(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5981
- function _objectSpread$21(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$21(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$21(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6198
+ function ownKeys$20(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6199
+ function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5982
6200
  var Wishlist = function Wishlist(props) {
5983
6201
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8;
5984
6202
  var lang = props.actions.lang;
@@ -6006,13 +6224,13 @@ var Wishlist = function Wishlist(props) {
6006
6224
  StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
6007
6225
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
6008
6226
  });
6009
- setsectionproperties(_objectSpread$21({}, secpropobj));
6227
+ setsectionproperties(_objectSpread$20({}, secpropobj));
6010
6228
  }
6011
6229
  }, [StatePagePropertiesContext]);
6012
6230
  useEffect(function () {
6013
- var tempFetchQueriesEngineContext = _objectSpread$21({}, FetchQueriesEngineContext);
6231
+ var tempFetchQueriesEngineContext = _objectSpread$20({}, FetchQueriesEngineContext);
6014
6232
  tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
6015
- setFetchQueriesEngineContext(_objectSpread$21({}, tempFetchQueriesEngineContext));
6233
+ setFetchQueriesEngineContext(_objectSpread$20({}, tempFetchQueriesEngineContext));
6016
6234
  }, []);
6017
6235
  useEffect(function () {
6018
6236
  if (Object.keys(StatePagePropertiesContext).length != 0) {
@@ -6021,7 +6239,7 @@ var Wishlist = function Wishlist(props) {
6021
6239
  StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
6022
6240
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
6023
6241
  });
6024
- setsectionproperties(_objectSpread$21({}, secpropobj));
6242
+ setsectionproperties(_objectSpread$20({}, secpropobj));
6025
6243
  }
6026
6244
  }, [StatePagePropertiesContext]);
6027
6245
  var wishlist_cssstyles = {
@@ -6426,8 +6644,8 @@ var Wishlist = function Wishlist(props) {
6426
6644
  })));
6427
6645
  };
6428
6646
 
6429
- function ownKeys$20(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6430
- function _objectSpread$20(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$20(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$20(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6647
+ function ownKeys$1$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6648
+ function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6431
6649
  var Viewcart = function Viewcart(props) {
6432
6650
  var _bgimagesarray$, _bgimagesarray$5, _bgimagesarray$6, _bgimagesarray$7, _bgimagesarray$8, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25;
6433
6651
  var lang = props.actions.lang;
@@ -6459,7 +6677,7 @@ var Viewcart = function Viewcart(props) {
6459
6677
  StatePagePropertiesContext === null || StatePagePropertiesContext === void 0 ? void 0 : (_StatePagePropertiesC = StatePagePropertiesContext.pageobj) === null || _StatePagePropertiesC === void 0 ? void 0 : (_StatePagePropertiesC2 = _StatePagePropertiesC.pageproperties) === null || _StatePagePropertiesC2 === void 0 ? void 0 : _StatePagePropertiesC2.forEach(function (arrayItem, arrayindex) {
6460
6678
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
6461
6679
  });
6462
- setsectionproperties(_objectSpread$20({}, secpropobj));
6680
+ setsectionproperties(_objectSpread$1$({}, secpropobj));
6463
6681
  }
6464
6682
  }, [StatePagePropertiesContext]);
6465
6683
  useEffect(function () {
@@ -7043,91 +7261,6 @@ var css_248z$E = "/* Forms */\n.form-module_form_control__4-RGw {\n display:
7043
7261
  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-"};
7044
7262
  styleInject(css_248z$E);
7045
7263
 
7046
- function ownKeys$1$(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7047
- function _objectSpread$1$(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1$(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1$(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7048
- var defaultstyles = {
7049
- option: function option(provided, state) {
7050
- return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
7051
- borderBottom: '1px solid #e6e6e6',
7052
- backgroundColor: state.isSelected ? '' : '',
7053
- padding: 5,
7054
- textTransform: 'capitalize',
7055
- color: state.isSelected ? '#eac435' : 'black',
7056
- transition: '.3s',
7057
- '&:hover': {
7058
- // color: '#eac435',
7059
- cursor: 'pointer'
7060
- }
7061
- });
7062
- },
7063
- control: function control() {
7064
- return {
7065
- borderBottom: '1px solid #ccc',
7066
- backgroundColor: 'white',
7067
- display: 'flex',
7068
- cursor: 'pointer',
7069
- padding: 0,
7070
- transition: '.3s',
7071
- '&:hover': {
7072
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
7073
- // borderRadius: '10px',
7074
- }
7075
- };
7076
- },
7077
- dropdownIndicator: function dropdownIndicator(provided) {
7078
- return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
7079
- '&:hover': {
7080
- // color: '#eac435',
7081
- }
7082
- });
7083
- }
7084
- };
7085
- var defaultstylestranslated = {
7086
- option: function option(provided, state) {
7087
- return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
7088
- borderBottom: '1px solid #e6e6e6',
7089
- backgroundColor: state.isSelected ? '' : '',
7090
- padding: 5,
7091
- textTransform: 'capitalize',
7092
- // color: state.isSelected ? '#eac435' : '#022648',
7093
- color: state.isSelected ? '#eac435' : 'black',
7094
- transition: '.3s',
7095
- textAlign: 'right',
7096
- '&:hover': {
7097
- // color: '#eac435',
7098
- cursor: 'pointer'
7099
- }
7100
- });
7101
- },
7102
- control: function control() {
7103
- return {
7104
- borderBottom: '1px solid #ccc',
7105
- backgroundColor: 'white',
7106
- display: 'flex',
7107
- cursor: 'pointer',
7108
- padding: 0,
7109
- transition: '.3s',
7110
- textAlign: 'right',
7111
- '&:hover': {
7112
- // boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
7113
- // borderRadius: '10px',
7114
- }
7115
- };
7116
- },
7117
- dropdownIndicator: function dropdownIndicator(provided) {
7118
- return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
7119
- '&:hover': {
7120
- // color: '#eac435',
7121
- }
7122
- });
7123
- },
7124
- placeholder: function placeholder(provided, state) {
7125
- return _objectSpread$1$(_objectSpread$1$({}, provided), {}, {
7126
- textAlign: 'right'
7127
- });
7128
- }
7129
- };
7130
-
7131
7264
  function ownKeys$1_(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7132
7265
  function _objectSpread$1_(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1_(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1_(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7133
7266
  var Select$2 = /*#__PURE__*/React.lazy(function () {
@@ -12523,6 +12656,7 @@ var CardsSection = function CardsSection(props) {
12523
12656
  cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
12524
12657
  cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
12525
12658
  cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
12659
+ cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
12526
12660
  if (langdetect == 'en') {
12527
12661
  cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
12528
12662
  } else {
@@ -40477,14 +40611,14 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
40477
40611
  className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
40478
40612
  }, /*#__PURE__*/React.createElement("label", {
40479
40613
  className: "".concat(sectionstyles.input_label_name) + ' m-0 '
40480
- }, lang.country), /*#__PURE__*/React.createElement(Select$3, {
40614
+ }, lang.country), /*#__PURE__*/React.createElement(Select$4, {
40481
40615
  options: countries,
40482
40616
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated
40483
40617
  })), /*#__PURE__*/React.createElement("div", {
40484
40618
  className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
40485
40619
  }, /*#__PURE__*/React.createElement("label", {
40486
40620
  className: "".concat(sectionstyles.input_label_name) + ' m-0 '
40487
- }, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React.createElement(Select$3, {
40621
+ }, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React.createElement(Select$4, {
40488
40622
  options: states,
40489
40623
  styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated
40490
40624
  })), /*#__PURE__*/React.createElement("div", {
@@ -43288,7 +43422,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43288
43422
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43289
43423
  "class": "col-lg-12 p-0"
43290
43424
  }, /*#__PURE__*/React.createElement("button", {
43291
- "class": "".concat(section_styles.btn)
43425
+ "class": "".concat(section_styles.btn),
43426
+ onClick: function onClick() {
43427
+ if (sectionproperties.btntype == 'WhatsApp') {
43428
+ var _authdetailsContext$i;
43429
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
43430
+ var _authdetailsContext$i2;
43431
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
43432
+ }
43433
+ } else {
43434
+ window.open(sectionproperties.btnlink, '_blank');
43435
+ }
43436
+ }
43292
43437
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
43293
43438
  "class": "col-lg-12 p-0 d-flex justify-content-sm-center mb-sm-4 align-items-center",
43294
43439
  style: {
@@ -43298,10 +43443,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43298
43443
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43299
43444
  "class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43300
43445
  onClick: function onClick() {
43301
- var _authdetailsContext$i;
43302
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
43303
- var _authdetailsContext$i2;
43304
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
43446
+ var _authdetailsContext$i3;
43447
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
43448
+ var _authdetailsContext$i4;
43449
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
43305
43450
  }
43306
43451
  }
43307
43452
  }, /*#__PURE__*/React.createElement(FaFacebookF, {
@@ -43309,10 +43454,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43309
43454
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43310
43455
  "class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43311
43456
  onClick: function onClick() {
43312
- var _authdetailsContext$i3;
43313
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
43314
- var _authdetailsContext$i4;
43315
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink, '_blank');
43457
+ var _authdetailsContext$i5;
43458
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
43459
+ var _authdetailsContext$i6;
43460
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
43316
43461
  }
43317
43462
  }
43318
43463
  }, /*#__PURE__*/React.createElement(AiFillInstagram, {
@@ -43320,10 +43465,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43320
43465
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43321
43466
  "class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43322
43467
  onClick: function onClick() {
43323
- var _authdetailsContext$i5;
43324
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
43325
- var _authdetailsContext$i6;
43326
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
43468
+ var _authdetailsContext$i7;
43469
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
43470
+ var _authdetailsContext$i8;
43471
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
43327
43472
  }
43328
43473
  }
43329
43474
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
@@ -48140,6 +48285,21 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48140
48285
  transition: '.3s',
48141
48286
  color: sectionproperties.remove_quantitybtn_textcoloronhover
48142
48287
  }
48288
+ }),
48289
+ outstockbadge: css({
48290
+ width: sectionproperties.outstock_width + 'px',
48291
+ height: sectionproperties.outstock_height + 'px',
48292
+ background: sectionproperties.outstock_bg,
48293
+ color: sectionproperties.outstock_color,
48294
+ fontSize: sectionproperties.outstock_fontSize + 'px',
48295
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
48296
+ position: 'absolute',
48297
+ zIndex: 2,
48298
+ top: 0,
48299
+ bottom: 0,
48300
+ left: 0,
48301
+ right: 0,
48302
+ margin: 'auto'
48143
48303
  })
48144
48304
  };
48145
48305
  return /*#__PURE__*/React.createElement("div", {
@@ -48194,7 +48354,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48194
48354
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
48195
48355
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
48196
48356
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
48197
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
48357
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
48358
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
48359
+
48198
48360
  // border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
48199
48361
  },
48200
48362
 
@@ -48226,7 +48388,11 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48226
48388
  fontSize: sectionproperties.pillfontSize + 'px',
48227
48389
  direction: 'ltr'
48228
48390
  }
48229
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')))), /*#__PURE__*/React.createElement("div", {
48391
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
48392
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
48393
+ }, /*#__PURE__*/React.createElement("p", {
48394
+ "class": "m-0 p-0"
48395
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)))), /*#__PURE__*/React.createElement("div", {
48230
48396
  "class": "col-lg-12 p-0"
48231
48397
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
48232
48398
  "class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
@@ -48273,7 +48439,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48273
48439
  }))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
48274
48440
  "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-md-130px w-sm-100px font-sm-12 ',
48275
48441
  onClick: function onClick() {
48276
- if (sectionproperties.quantitybtn_show == 'Show') {
48442
+ if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
48443
+ NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
48444
+ } else if (sectionproperties.quantitybtn_show == 'Show') {
48277
48445
  setshowquantity(true);
48278
48446
  } else {
48279
48447
  setShowProductInfoModalContext(true);
@@ -57526,7 +57694,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57526
57694
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
57527
57695
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
57528
57696
  transition: '.3s',
57529
- opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
57697
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
57698
+ '@media (max-width: 800px)': {
57699
+ height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
57700
+ }
57530
57701
  }),
57531
57702
  productNameStyles: css({
57532
57703
  color: sectionproperties.prodNameColor,
@@ -57596,6 +57767,17 @@ var Simpleproductcard = function Simpleproductcard(props) {
57596
57767
  left: 0,
57597
57768
  right: 0,
57598
57769
  margin: 'auto'
57770
+ }),
57771
+ profitcontainer: css({
57772
+ width: sectionproperties.profitcontainerwidth + '%',
57773
+ height: sectionproperties.profitcontainerheight + 'px',
57774
+ background: sectionproperties.profitcontainerbgcolor,
57775
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
57776
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
57777
+ color: sectionproperties.profitcontainercolor,
57778
+ '@media (max-width: 800px)': {
57779
+ width: '100%'
57780
+ }
57599
57781
  })
57600
57782
  };
57601
57783
  return /*#__PURE__*/React.createElement("div", {
@@ -57708,7 +57890,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
57708
57890
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57709
57891
  }
57710
57892
  },
57711
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
57893
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
57712
57894
  style: {
57713
57895
  zIndex: 1,
57714
57896
  marginBottom: sectionproperties.image_mb + 'px'
@@ -57723,31 +57905,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
57723
57905
  height: sectionproperties.imageInnerWidth_Height + '%',
57724
57906
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57725
57907
  }
57726
- })), /*#__PURE__*/React.createElement("div", {
57727
- onClick: function onClick() {
57728
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
57729
- setShowProductInfoModalContext(true);
57730
- setProductIdProdutInfoModalContext(item.productid);
57731
- } else {
57732
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57733
- }
57734
- },
57735
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
57736
- style: {
57737
- zIndex: 1,
57738
- marginBottom: sectionproperties.image_mb + 'px',
57739
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
57740
- }
57741
- }, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
57742
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57743
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57744
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
57745
- loading: "lazy",
57746
- style: {
57747
- width: sectionproperties.imageInnerWidth_Height + '%',
57748
- height: sectionproperties.imageInnerWidth_Height + '%',
57749
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57750
- }
57751
57908
  })), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
57752
57909
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
57753
57910
  }, /*#__PURE__*/React.createElement("p", {
@@ -57760,7 +57917,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57760
57917
  onClick: function onClick() {
57761
57918
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57762
57919
  },
57763
- "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 text-center m-0 '
57920
+ "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ',
57921
+ style: {
57922
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57923
+ }
57764
57924
  }, item.name)), /*#__PURE__*/React.createElement("div", {
57765
57925
  style: {
57766
57926
  flexDirection: 'column'
@@ -57769,16 +57929,46 @@ var Simpleproductcard = function Simpleproductcard(props) {
57769
57929
  }, /*#__PURE__*/React.createElement("div", {
57770
57930
  "class": "row m-0 w-100 "
57771
57931
  }, /*#__PURE__*/React.createElement("div", {
57772
- "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
57932
+ "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
57933
+ style: {
57934
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57935
+ }
57773
57936
  }, /*#__PURE__*/React.createElement("div", {
57774
- "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
57937
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
57938
+ style: {
57939
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57940
+ }
57775
57941
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57776
57942
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
57777
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
57778
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
57943
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
57944
+ "class": " d-flex align-items-center p-0 mb-0"
57779
57945
  }, /*#__PURE__*/React.createElement("p", {
57780
57946
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
57781
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57947
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
57948
+ "class": "col-lg-12 p-0",
57949
+ style: {
57950
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57951
+ }
57952
+ }, /*#__PURE__*/React.createElement("div", {
57953
+ "class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
57954
+ style: {
57955
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57956
+ }
57957
+ }, /*#__PURE__*/React.createElement("p", {
57958
+ "class": ' m-0 p-0 d-flex align-items-center ',
57959
+ style: {
57960
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57961
+ }
57962
+ }, /*#__PURE__*/React.createElement("span", {
57963
+ style: {
57964
+ fontWeight: sectionproperties.profitcontainerfontweight
57965
+ }
57966
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
57967
+ "class": "mx-1",
57968
+ style: {
57969
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
57970
+ }
57971
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57782
57972
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
57783
57973
  onClick: function onClick() {
57784
57974
  if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {