tabexseriescomponents 0.0.593 → 0.0.594

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.umd.js CHANGED
@@ -9940,7 +9940,7 @@
9940
9940
  return import('react-select');
9941
9941
  });
9942
9942
  var Checkout = function Checkout(props) {
9943
- var _css, _checkoutstyles, _ref, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75, _authdetailsContext$i4, _fetchcustomercartQue77, _authdetailsContext$i5, _fetchcustomercartQue79, _authdetailsContext$i6, _fetchcustomercartQue81, _fetchcustomercartQue83;
9943
+ var _css, _checkoutstyles, _ref, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue70, _fetchcustomercartQue72, _fetchcustomercartQue74, _fetchcustomercartQue76, _authdetailsContext$i4, _fetchcustomercartQue78, _authdetailsContext$i5, _fetchcustomercartQue80, _authdetailsContext$i6, _fetchcustomercartQue82, _fetchcustomercartQue84;
9944
9944
  var _useState = React.useState(null),
9945
9945
  _useState2 = _slicedToArray__default["default"](_useState, 2);
9946
9946
  _useState2[0];
@@ -9979,6 +9979,14 @@
9979
9979
  _useState8 = _slicedToArray__default["default"](_useState7, 2),
9980
9980
  insthasaffiliate = _useState8[0],
9981
9981
  setinsthasaffiliate = _useState8[1];
9982
+ var _useState9 = React.useState(false),
9983
+ _useState10 = _slicedToArray__default["default"](_useState9, 2),
9984
+ land = _useState10[0],
9985
+ setland = _useState10[1];
9986
+ var _useState11 = React.useState(false),
9987
+ _useState12 = _slicedToArray__default["default"](_useState11, 2),
9988
+ air = _useState12[0],
9989
+ setair = _useState12[1];
9982
9990
  React.useEffect(function () {
9983
9991
  var _templatepropcontext$;
9984
9992
  var cartindex = templatepropcontext === null || templatepropcontext === void 0 || (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
@@ -10047,7 +10055,7 @@
10047
10055
  });
10048
10056
  }, [authdetailsContext]);
10049
10057
  var cartinfoupdater = function cartinfoupdater(key, value) {
10050
- var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18;
10058
+ var _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14, _fetchcustomercartQue15, _fetchcustomercartQue16, _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19;
10051
10059
  var cartarr = queryClient.getQueryData('fetchcustomercart_API');
10052
10060
  cartarr.data.customercart[key] = value;
10053
10061
  queryClient.setQueryData('fetchcustomercart_API', cartarr);
@@ -10061,7 +10069,8 @@
10061
10069
  email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 || (_fetchcustomercartQue15 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : _fetchcustomercartQue15.customercart.email,
10062
10070
  mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue16 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue16 === void 0 || (_fetchcustomercartQue16 = _fetchcustomercartQue16.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.mobile,
10063
10071
  notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue17 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue17 === void 0 || (_fetchcustomercartQue17 = _fetchcustomercartQue17.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : _fetchcustomercartQue17.customercart.notes,
10064
- aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 || (_fetchcustomercartQue18 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.aff_code
10072
+ aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue18 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue18 === void 0 || (_fetchcustomercartQue18 = _fetchcustomercartQue18.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.aff_code,
10073
+ shippingmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 || (_fetchcustomercartQue19 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : _fetchcustomercartQue19.customercart.shippingmethod
10065
10074
  };
10066
10075
  if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email' || key == 'notes' || key == 'aff_code') ; else {
10067
10076
  ChooseState_CountryMutationContext.mutate(payloadobj);
@@ -10260,7 +10269,7 @@
10260
10269
  })), _checkoutstyles);
10261
10270
  var addorderfuncrunner = function addorderfuncrunner() {
10262
10271
  return (_ref = _ref || _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
10263
- var _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28;
10272
+ var _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29;
10264
10273
  return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
10265
10274
  while (1) switch (_context.prev = _context.next) {
10266
10275
  case 0:
@@ -10269,19 +10278,19 @@
10269
10278
  // temppayload.endpointurl = '/ChooseState_Country';
10270
10279
  GeneralAPIMutationContext.mutate({
10271
10280
  endpointurl: '/ChooseState_Country',
10272
- stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 || (_fetchcustomercartQue19 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : _fetchcustomercartQue19.customercart.stateid,
10273
- countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue20 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue20 === void 0 || (_fetchcustomercartQue20 = _fetchcustomercartQue20.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.customercart.countryid,
10274
- cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 || (_fetchcustomercartQue21 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue21 === void 0 ? void 0 : _fetchcustomercartQue21.customercart.cityid,
10275
- address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.address,
10276
- paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.paymentmethod,
10277
- name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.name,
10278
- email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 || (_fetchcustomercartQue25 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : _fetchcustomercartQue25.customercart.email,
10279
- mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue26 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue26 === void 0 || (_fetchcustomercartQue26 = _fetchcustomercartQue26.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.mobile,
10280
- notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 || (_fetchcustomercartQue27 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : _fetchcustomercartQue27.customercart.notes,
10281
- aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue28 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue28 === void 0 || (_fetchcustomercartQue28 = _fetchcustomercartQue28.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.aff_code,
10281
+ stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue20 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue20 === void 0 || (_fetchcustomercartQue20 = _fetchcustomercartQue20.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.customercart.stateid,
10282
+ countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 || (_fetchcustomercartQue21 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue21 === void 0 ? void 0 : _fetchcustomercartQue21.customercart.countryid,
10283
+ cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue22 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue22 === void 0 || (_fetchcustomercartQue22 = _fetchcustomercartQue22.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.cityid,
10284
+ address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 || (_fetchcustomercartQue23 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : _fetchcustomercartQue23.customercart.address,
10285
+ paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue24 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue24 === void 0 || (_fetchcustomercartQue24 = _fetchcustomercartQue24.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.paymentmethod,
10286
+ name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 || (_fetchcustomercartQue25 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : _fetchcustomercartQue25.customercart.name,
10287
+ email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue26 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue26 === void 0 || (_fetchcustomercartQue26 = _fetchcustomercartQue26.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.email,
10288
+ mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 || (_fetchcustomercartQue27 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : _fetchcustomercartQue27.customercart.mobile,
10289
+ notes: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue28 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue28 === void 0 || (_fetchcustomercartQue28 = _fetchcustomercartQue28.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.notes,
10290
+ aff_code: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 || (_fetchcustomercartQue29 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : _fetchcustomercartQue29.customercart.aff_code,
10282
10291
  mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
10283
10292
  if (data.data.status) {
10284
- var _fetchcustomercartQue29, _fetchcustomercartQue30;
10293
+ var _fetchcustomercartQue30, _fetchcustomercartQue31;
10285
10294
  var cartarr = queryClient.getQueryData('fetchcustomercart_API');
10286
10295
  cartarr.data = data.data.cartresponse;
10287
10296
  queryClient.setQueryData('fetchcustomercart_API', cartarr);
@@ -10289,9 +10298,9 @@
10289
10298
  // const cookies = new Cookies();
10290
10299
  localStorage.setItem('cdata', data.data.cdata);
10291
10300
  }
10292
- if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 || (_fetchcustomercartQue29 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : _fetchcustomercartQue29.customercart.name.length) < 3) {
10301
+ if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue30 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue30 === void 0 || (_fetchcustomercartQue30 = _fetchcustomercartQue30.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.name.length) < 3) {
10293
10302
  NotificationManager.warning('', langdetect == 'en' ? 'Write your full name' : 'اكتب الاسم كاملا');
10294
- } else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue30 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue30 === void 0 || (_fetchcustomercartQue30 = _fetchcustomercartQue30.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.mobile.length) < 11) {
10303
+ } else if (sectionproperties.verifyemailandphone == 'Yes' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 || (_fetchcustomercartQue31 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : _fetchcustomercartQue31.customercart.mobile.length) < 11) {
10295
10304
  NotificationManager.warning('', langdetect == 'en' ? 'Write valid mobile number' : 'اكتب رقم تليفون صحيح');
10296
10305
  } else {
10297
10306
  AddOrderMutationContext.mutate();
@@ -10319,7 +10328,7 @@
10319
10328
  return isloading;
10320
10329
  };
10321
10330
  var Mycart = function Mycart() {
10322
- var _fetchcustomercartQue31, _fetchcustomercartQue32, _fetchcustomercartQue33, _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56;
10331
+ var _fetchcustomercartQue32, _fetchcustomercartQue33, _fetchcustomercartQue34, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57;
10323
10332
  return /*#__PURE__*/React__default["default"].createElement("div", {
10324
10333
  className: "row m-0 w-100 mb-md-3"
10325
10334
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -10344,7 +10353,7 @@
10344
10353
  className: "row m-0 w-100"
10345
10354
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10346
10355
  className: "col-lg-12 p-0"
10347
- }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 || (_fetchcustomercartQue31 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : _fetchcustomercartQue31.customercart.cartitems.map(function (item, index) {
10356
+ }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue32 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue32 === void 0 || (_fetchcustomercartQue32 = _fetchcustomercartQue32.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.cartitems.map(function (item, index) {
10348
10357
  if (item.product_extrafields != null) {
10349
10358
  var product_extrafields = JSON.parse(item.product_extrafields);
10350
10359
  // var product_extrafields_parsed = JSON.stringify(product_extrafields);
@@ -10467,13 +10476,13 @@
10467
10476
  type: "text",
10468
10477
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
10469
10478
  placeholder: lang.giftcarddicountcode,
10470
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue32 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue32 === void 0 || (_fetchcustomercartQue32 = _fetchcustomercartQue32.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.couponname,
10479
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 || (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : _fetchcustomercartQue33.customercart.couponname,
10471
10480
  onChange: function onChange(event) {
10472
10481
  var cartarr = queryClient.getQueryData('fetchcustomercart_API');
10473
10482
  cartarr.data.customercart.couponname = event.target.value;
10474
10483
  queryClient.setQueryData('fetchcustomercart_API', cartarr);
10475
10484
  },
10476
- disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue33 !== void 0 && (_fetchcustomercartQue33 = _fetchcustomercartQue33.data) !== null && _fetchcustomercartQue33 !== void 0 && _fetchcustomercartQue33.customercart.couponexists ? true : false,
10485
+ disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue34 !== void 0 && (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) !== null && _fetchcustomercartQue34 !== void 0 && _fetchcustomercartQue34.customercart.couponexists ? true : false,
10477
10486
  style: {
10478
10487
  boxShadow: 'none'
10479
10488
  }
@@ -10482,14 +10491,14 @@
10482
10491
  }, /*#__PURE__*/React__default["default"].createElement("button", {
10483
10492
  className: " ".concat(checkoutstyles.applybtnstyles),
10484
10493
  onClick: function onClick() {
10485
- var _fetchcustomercartQue34;
10486
- if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue34 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue34 !== void 0 && (_fetchcustomercartQue34 = _fetchcustomercartQue34.data) !== null && _fetchcustomercartQue34 !== void 0 && _fetchcustomercartQue34.customercart.couponexists)) {
10487
- var _fetchcustomercartQue35, _fetchcustomercartQue36;
10494
+ var _fetchcustomercartQue35;
10495
+ if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue35 !== void 0 && (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) !== null && _fetchcustomercartQue35 !== void 0 && _fetchcustomercartQue35.customercart.couponexists)) {
10496
+ var _fetchcustomercartQue36, _fetchcustomercartQue37;
10488
10497
  var payloadobj = {
10489
- couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 || (_fetchcustomercartQue35 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue35 === void 0 ? void 0 : _fetchcustomercartQue35.customercart.couponname,
10498
+ couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
10490
10499
  functype: 'add'
10491
10500
  };
10492
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue36 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue36 === void 0 || (_fetchcustomercartQue36 = _fetchcustomercartQue36.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname.length) != 0) {
10501
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue37 === void 0 || (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) === null || _fetchcustomercartQue37 === void 0 ? void 0 : _fetchcustomercartQue37.customercart.couponname.length) != 0) {
10493
10502
  ApplyPromoCodeMutationContext.mutate(payloadobj);
10494
10503
  } else {
10495
10504
  NotificationManager.warning('', langdetect == 'en' ? 'Please Write Your Promo Code' : 'من فضلك اكتب كود الخصم');
@@ -10504,14 +10513,14 @@
10504
10513
  disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
10505
10514
  }, /*#__PURE__*/React__default["default"].createElement("span", {
10506
10515
  className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
10507
- }, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue37 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue37 !== void 0 && _fetchcustomercartQue37.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
10516
+ }, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue38 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
10508
10517
  className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeInButton, " ").concat(generalstyles.btn_preloader) + ' d-flex align-items-center justify-content-center ' : "".concat(generalstyles.fadeOutButton) + ' align-items-center justify-content-center '
10509
10518
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
10510
10519
  color: "#fff",
10511
10520
  width: "20px",
10512
10521
  height: "20px",
10513
10522
  duration: "1s"
10514
- })))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue38 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue38 === void 0 || (_fetchcustomercartQue38 = _fetchcustomercartQue38.data) === null || _fetchcustomercartQue38 === void 0 || (_fetchcustomercartQue38 = _fetchcustomercartQue38.customercart) === null || _fetchcustomercartQue38 === void 0 ? void 0 : _fetchcustomercartQue38.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10523
+ })))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.customercart) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.availablewalletbalance) > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10515
10524
  className: "row m-0 w-100"
10516
10525
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10517
10526
  className: "col-lg-6 col-md-6 col-sm-6 p-0"
@@ -10521,7 +10530,7 @@
10521
10530
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
10522
10531
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10523
10532
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
10524
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.data) === null || _fetchcustomercartQue39 === void 0 || (_fetchcustomercartQue39 = _fetchcustomercartQue39.customercart) === null || _fetchcustomercartQue39 === void 0 ? void 0 : _fetchcustomercartQue39.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.customercart) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10533
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue40 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.data) === null || _fetchcustomercartQue40 === void 0 || (_fetchcustomercartQue40 = _fetchcustomercartQue40.customercart) === null || _fetchcustomercartQue40 === void 0 ? void 0 : _fetchcustomercartQue40.availablewalletbalance, langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.customercart) === null || _fetchcustomercartQue41 === void 0 ? void 0 : _fetchcustomercartQue41.usewalletpoints) == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10525
10534
  className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
10526
10535
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10527
10536
  style: {
@@ -10531,7 +10540,7 @@
10531
10540
  onClick: function onClick() {
10532
10541
  usewalletpoints();
10533
10542
  }
10534
- }, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.data) === null || _fetchcustomercartQue41 === void 0 || (_fetchcustomercartQue41 = _fetchcustomercartQue41.customercart) === null || _fetchcustomercartQue41 === void 0 ? void 0 : _fetchcustomercartQue41.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
10543
+ }, langdetect == 'en' ? 'Use Points' : 'إستخدام النقاط'))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.customercart) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
10535
10544
  className: "row m-0 w-100"
10536
10545
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10537
10546
  className: "col-lg-12 col-md-12 col-sm-6 d-flex justify-content-center p-0"
@@ -10553,9 +10562,9 @@
10553
10562
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
10554
10563
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10555
10564
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
10556
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue42 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue42 === void 0 || (_fetchcustomercartQue42 = _fetchcustomercartQue42.data) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.customercart) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.genpayments) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10565
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 || (_fetchcustomercartQue43 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : _fetchcustomercartQue43.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.genpayments) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10557
10566
  className: "row m-0 w-100"
10558
- }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue44 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.data) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.customercart) === null || _fetchcustomercartQue44 === void 0 || (_fetchcustomercartQue44 = _fetchcustomercartQue44.genpayments) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.map(function (item, index) {
10567
+ }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.genpayments) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.map(function (item, index) {
10559
10568
  return /*#__PURE__*/React__default["default"].createElement("div", {
10560
10569
  "class": "col-lg-12 p-0"
10561
10570
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -10575,7 +10584,7 @@
10575
10584
  color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
10576
10585
  }
10577
10586
  }, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
10578
- }))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.data) === null || _fetchcustomercartQue45 === void 0 || (_fetchcustomercartQue45 = _fetchcustomercartQue45.customercart) === null || _fetchcustomercartQue45 === void 0 ? void 0 : _fetchcustomercartQue45.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
10587
+ }))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.customercart) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
10579
10588
  className: "row m-0 w-100"
10580
10589
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10581
10590
  className: "col-lg-6 col-md-6 col-sm-6 p-0"
@@ -10588,7 +10597,7 @@
10588
10597
  style: {
10589
10598
  color: 'red'
10590
10599
  }
10591
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue46 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.data) === null || _fetchcustomercartQue46 === void 0 || (_fetchcustomercartQue46 = _fetchcustomercartQue46.customercart) === null || _fetchcustomercartQue46 === void 0 ? void 0 : _fetchcustomercartQue46.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10600
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue47 === void 0 || (_fetchcustomercartQue47 = _fetchcustomercartQue47.customercart) === null || _fetchcustomercartQue47 === void 0 ? void 0 : _fetchcustomercartQue47.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue48 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue48 === void 0 || (_fetchcustomercartQue48 = _fetchcustomercartQue48.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
10592
10601
  className: "col-lg-12 p-0 mb-1"
10593
10602
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10594
10603
  className: "row m-0 w-100"
@@ -10600,7 +10609,7 @@
10600
10609
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
10601
10610
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10602
10611
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
10603
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 || (_fetchcustomercartQue49 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : _fetchcustomercartQue49.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10612
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue50 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue50 === void 0 || (_fetchcustomercartQue50 = _fetchcustomercartQue50.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 || (_fetchcustomercartQue51 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : _fetchcustomercartQue51.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10604
10613
  className: "col-lg-12 p-0"
10605
10614
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10606
10615
  className: "row m-0 w-100"
@@ -10608,11 +10617,11 @@
10608
10617
  className: "col-lg-6 col-md-6 col-sm-6 p-0"
10609
10618
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10610
10619
  className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
10611
- }, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue52 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue52 === void 0 || (_fetchcustomercartQue52 = _fetchcustomercartQue52.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
10620
+ }, langdetect == 'en' ? sectionproperties.shippingfeestitle_en : sectionproperties.shippingfeestitle_ar)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
10612
10621
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
10613
10622
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10614
10623
  className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
10615
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 || (_fetchcustomercartQue53 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : _fetchcustomercartQue53.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue54 !== void 0 && (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) !== null && _fetchcustomercartQue54 !== void 0 && _fetchcustomercartQue54.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
10624
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue54 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue54 === void 0 || (_fetchcustomercartQue54 = _fetchcustomercartQue54.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue55 !== void 0 && (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) !== null && _fetchcustomercartQue55 !== void 0 && _fetchcustomercartQue55.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
10616
10625
  className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
10617
10626
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10618
10627
  className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
@@ -10651,7 +10660,7 @@
10651
10660
  textTransform: sectionproperties.total_texttransform,
10652
10661
  color: sectionproperties.total_color
10653
10662
  }
10654
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 || (_fetchcustomercartQue55 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : _fetchcustomercartQue55.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10663
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10655
10664
  "class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
10656
10665
  style: {
10657
10666
  background: '#eee',
@@ -10686,7 +10695,7 @@
10686
10695
  width: "20px",
10687
10696
  height: "20px",
10688
10697
  duration: "1s"
10689
- }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue56 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue56 === void 0 || (_fetchcustomercartQue56 = _fetchcustomercartQue56.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10698
+ }), !ischeckoutbuttonloading() ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : '')), authdetailsContext.loggedin == false && sectionproperties.loginbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10690
10699
  className: "col-lg-12 d-flex align-items-center justify-content-center mt-4 p-0 mb-2 mt-sm-3",
10691
10700
  style: {
10692
10701
  marginTop: sectionproperties.showtotalsection == 'Show' ? 0 : '0.5rem'
@@ -10853,7 +10862,7 @@
10853
10862
  }, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
10854
10863
  type: 'text',
10855
10864
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
10856
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 || (_fetchcustomercartQue57 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : _fetchcustomercartQue57.customercart.name,
10865
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.name,
10857
10866
  onChange: function onChange(event) {
10858
10867
  cartinfoupdater('name', event.target.value);
10859
10868
  },
@@ -10868,7 +10877,7 @@
10868
10877
  }, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
10869
10878
  type: 'text',
10870
10879
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
10871
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue58 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue58 === void 0 || (_fetchcustomercartQue58 = _fetchcustomercartQue58.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.mobile,
10880
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.mobile,
10872
10881
  onChange: function onChange(event) {
10873
10882
  cartinfoupdater('mobile', event.target.value);
10874
10883
  },
@@ -10883,7 +10892,7 @@
10883
10892
  }, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
10884
10893
  type: 'text',
10885
10894
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
10886
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 || (_fetchcustomercartQue59 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : _fetchcustomercartQue59.customercart.email,
10895
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.email,
10887
10896
  onChange: function onChange(event) {
10888
10897
  cartinfoupdater('email', event.target.value);
10889
10898
  },
@@ -10927,8 +10936,8 @@
10927
10936
  return option.id;
10928
10937
  },
10929
10938
  value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
10930
- var _fetchcustomercartQue60;
10931
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue60 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue60 === void 0 || (_fetchcustomercartQue60 = _fetchcustomercartQue60.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.countryid);
10939
+ var _fetchcustomercartQue61;
10940
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.countryid);
10932
10941
  }),
10933
10942
  onChange: function onChange(option) {
10934
10943
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
@@ -10973,12 +10982,12 @@
10973
10982
  return option.id;
10974
10983
  },
10975
10984
  value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
10976
- var _fetchcustomercartQue61;
10977
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 || (_fetchcustomercartQue61 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : _fetchcustomercartQue61.customercart.stateid);
10985
+ var _fetchcustomercartQue62;
10986
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.stateid);
10978
10987
  }),
10979
10988
  onChange: function onChange(option) {
10980
- var _fetchcustomercartQue62;
10981
- if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue62 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue62 === void 0 || (_fetchcustomercartQue62 = _fetchcustomercartQue62.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.countryid.length) != 0) {
10989
+ var _fetchcustomercartQue63;
10990
+ if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.countryid.length) != 0) {
10982
10991
  var tempFetchTabexStatesPayloadobjContext = _objectSpread$2l({}, FetchTabexStatesPayloadobjContext);
10983
10992
  tempFetchTabexStatesPayloadobjContext.functype = 'cities';
10984
10993
  tempFetchTabexStatesPayloadobjContext.state_id = option.id;
@@ -11021,8 +11030,8 @@
11021
11030
  return option.id;
11022
11031
  },
11023
11032
  value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
11024
- var _fetchcustomercartQue63;
11025
- return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 || (_fetchcustomercartQue63 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : _fetchcustomercartQue63.customercart.cityid);
11033
+ var _fetchcustomercartQue64;
11034
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.cityid);
11026
11035
  }),
11027
11036
  onChange: function onChange(option) {
11028
11037
  cartinfoupdater('cityid', option.id);
@@ -11037,7 +11046,7 @@
11037
11046
  }, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
11038
11047
  type: 'text',
11039
11048
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
11040
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue64 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue64 === void 0 || (_fetchcustomercartQue64 = _fetchcustomercartQue64.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.address,
11049
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.address,
11041
11050
  onChange: function onChange(event) {
11042
11051
  cartinfoupdater('address', event.target.value);
11043
11052
  },
@@ -11052,7 +11061,7 @@
11052
11061
  }, langdetect == 'en' ? sectionproperties.notesinen : sectionproperties.notesinar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
11053
11062
  type: 'text',
11054
11063
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
11055
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 || (_fetchcustomercartQue65 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : _fetchcustomercartQue65.customercart.notes,
11064
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.notes,
11056
11065
  onChange: function onChange(event) {
11057
11066
  cartinfoupdater('notes', event.target.value);
11058
11067
  },
@@ -11067,7 +11076,7 @@
11067
11076
  }, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
11068
11077
  type: 'number',
11069
11078
  className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
11070
- value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue66 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.data) === null || _fetchcustomercartQue66 === void 0 || (_fetchcustomercartQue66 = _fetchcustomercartQue66.customercart) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.aff_code,
11079
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.customercart) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.aff_code,
11071
11080
  onChange: function onChange(event) {
11072
11081
  cartinfoupdater('aff_code', event.target.value);
11073
11082
  },
@@ -11075,7 +11084,64 @@
11075
11084
  resize: 'none',
11076
11085
  boxShadow: 'none'
11077
11086
  }
11078
- }))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11087
+ }))))), sectionproperties.showshippingmethod == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11088
+ className: "col-lg-12 p-0 w-100"
11089
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11090
+ "class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
11091
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11092
+ className: "col-lg-12 pl-3 pr-3 pt-2"
11093
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
11094
+ className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
11095
+ }, langdetect == 'en' ? 'Shipping Method' : 'طريقة الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
11096
+ className: "col-lg-12 p-0"
11097
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
11098
+ className: "mt-2 mb-2"
11099
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
11100
+ className: "row m-0 w-100 mb-3 pl-3 pr-3"
11101
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11102
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
11103
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
11104
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
11105
+ "for": "codcheckbox"
11106
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
11107
+ id: 'codcheckbox',
11108
+ type: "checkbox",
11109
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11110
+ checked: land == true ? true : false,
11111
+ onChange: function onChange() {
11112
+ setland(true);
11113
+ setair(false);
11114
+ }
11115
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
11116
+ viewBox: "0 0 21 21",
11117
+ className: checkoutstyles.svgstyles + ' h-100 '
11118
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
11119
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
11120
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
11121
+ className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
11122
+ style: {
11123
+ color: sectionproperties.checkbox_color
11124
+ }
11125
+ }, langdetect == 'en' ? 'Land Shipping' : 'شحن بري'))), /*#__PURE__*/React__default["default"].createElement("div", {
11126
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
11127
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
11128
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
11129
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
11130
+ type: "checkbox",
11131
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11132
+ checked: air == true ? true : false,
11133
+ onChange: function onChange() {
11134
+ setland(false);
11135
+ setair(true);
11136
+ }
11137
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
11138
+ viewBox: "0 0 21 21",
11139
+ className: checkoutstyles.svgstyles + ' h-100 '
11140
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
11141
+ d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
11142
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
11143
+ className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
11144
+ }, " ", langdetect == 'en' ? 'Air Shipping' : 'شحن جوي')))))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11079
11145
  className: "col-lg-12 p-0 w-100"
11080
11146
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11081
11147
  "class": "".concat(checkoutstyles.innersection) + ' w-100 mb-3 '
@@ -11098,10 +11164,10 @@
11098
11164
  id: 'codcheckbox',
11099
11165
  type: "checkbox",
11100
11166
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11101
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 || (_fetchcustomercartQue67 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : _fetchcustomercartQue67.customercart.paymentmethod) == 'cod' ? true : false,
11167
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.paymentmethod) == 'cod' ? true : false,
11102
11168
  onChange: function onChange() {
11103
- var _fetchcustomercartQue68;
11104
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue68 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue68 === void 0 || (_fetchcustomercartQue68 = _fetchcustomercartQue68.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.paymentmethod) != 'cod') {
11169
+ var _fetchcustomercartQue69;
11170
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.paymentmethod) != 'cod') {
11105
11171
  cartinfoupdater('paymentmethod', 'cod');
11106
11172
  }
11107
11173
  }
@@ -11122,10 +11188,10 @@
11122
11188
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11123
11189
  type: "checkbox",
11124
11190
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11125
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 || (_fetchcustomercartQue69 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : _fetchcustomercartQue69.customercart.paymentmethod) == 'cardondelivery' ? true : false,
11191
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) == 'cardondelivery' ? true : false,
11126
11192
  onChange: function onChange() {
11127
- var _fetchcustomercartQue70;
11128
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue70 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue70 === void 0 || (_fetchcustomercartQue70 = _fetchcustomercartQue70.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.paymentmethod) != 'cardondelivery') {
11193
+ var _fetchcustomercartQue71;
11194
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.paymentmethod) != 'cardondelivery') {
11129
11195
  cartinfoupdater('paymentmethod', 'cardondelivery');
11130
11196
  }
11131
11197
  }
@@ -11143,10 +11209,10 @@
11143
11209
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11144
11210
  type: "checkbox",
11145
11211
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11146
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 || (_fetchcustomercartQue71 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : _fetchcustomercartQue71.customercart.paymentmethod) == 'onlinepayment' ? true : false,
11212
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) == 'onlinepayment' ? true : false,
11147
11213
  onChange: function onChange() {
11148
- var _fetchcustomercartQue72;
11149
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue72 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue72 === void 0 || (_fetchcustomercartQue72 = _fetchcustomercartQue72.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.paymentmethod) != 'onlinepayment') {
11214
+ var _fetchcustomercartQue73;
11215
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) != 'onlinepayment') {
11150
11216
  cartinfoupdater('paymentmethod', 'onlinepayment');
11151
11217
  }
11152
11218
  }
@@ -11164,10 +11230,10 @@
11164
11230
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11165
11231
  type: "checkbox",
11166
11232
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11167
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 || (_fetchcustomercartQue73 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : _fetchcustomercartQue73.customercart.paymentmethod) == 'valU' ? true : false,
11233
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) == 'valU' ? true : false,
11168
11234
  onChange: function onChange() {
11169
- var _fetchcustomercartQue74;
11170
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue74 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue74 === void 0 || (_fetchcustomercartQue74 = _fetchcustomercartQue74.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.paymentmethod) != 'valU') {
11235
+ var _fetchcustomercartQue75;
11236
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) != 'valU') {
11171
11237
  cartinfoupdater('paymentmethod', 'valU');
11172
11238
  }
11173
11239
  }
@@ -11185,10 +11251,10 @@
11185
11251
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11186
11252
  type: "checkbox",
11187
11253
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11188
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.customercart.paymentmethod) == 'mobilewallet' ? true : false,
11254
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) == 'mobilewallet' ? true : false,
11189
11255
  onChange: function onChange() {
11190
- var _fetchcustomercartQue76;
11191
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.paymentmethod) != 'mobilewallet') {
11256
+ var _fetchcustomercartQue77;
11257
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.customercart.paymentmethod) != 'mobilewallet') {
11192
11258
  cartinfoupdater('paymentmethod', 'mobilewallet');
11193
11259
  }
11194
11260
  }
@@ -11206,10 +11272,10 @@
11206
11272
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11207
11273
  type: "checkbox",
11208
11274
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11209
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'forsa' ? true : false,
11275
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) == 'forsa' ? true : false,
11210
11276
  onChange: function onChange() {
11211
- var _fetchcustomercartQue78;
11212
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'forsa') {
11277
+ var _fetchcustomercartQue79;
11278
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.customercart) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.paymentmethod) != 'forsa') {
11213
11279
  cartinfoupdater('paymentmethod', 'forsa');
11214
11280
  }
11215
11281
  }
@@ -11227,10 +11293,10 @@
11227
11293
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11228
11294
  type: "checkbox",
11229
11295
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11230
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.customercart) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.paymentmethod) == 'bankinstallments' ? true : false,
11296
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.paymentmethod) == 'bankinstallments' ? true : false,
11231
11297
  onChange: function onChange() {
11232
- var _fetchcustomercartQue80;
11233
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue80 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.data) === null || _fetchcustomercartQue80 === void 0 || (_fetchcustomercartQue80 = _fetchcustomercartQue80.customercart) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.paymentmethod) != 'bankinstallments') {
11298
+ var _fetchcustomercartQue81;
11299
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.customercart) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.paymentmethod) != 'bankinstallments') {
11234
11300
  cartinfoupdater('paymentmethod', 'bankinstallments');
11235
11301
  }
11236
11302
  }
@@ -11248,10 +11314,10 @@
11248
11314
  }, /*#__PURE__*/React__default["default"].createElement("input", {
11249
11315
  type: "checkbox",
11250
11316
  className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
11251
- checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue81 === void 0 || (_fetchcustomercartQue81 = _fetchcustomercartQue81.customercart) === null || _fetchcustomercartQue81 === void 0 ? void 0 : _fetchcustomercartQue81.paymentmethod) == 'Aman' ? true : false,
11317
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.paymentmethod) == 'Aman' ? true : false,
11252
11318
  onChange: function onChange() {
11253
- var _fetchcustomercartQue82;
11254
- if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue82 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.data) === null || _fetchcustomercartQue82 === void 0 || (_fetchcustomercartQue82 = _fetchcustomercartQue82.customercart) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.paymentmethod) != 'Aman') {
11319
+ var _fetchcustomercartQue83;
11320
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.customercart) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.paymentmethod) != 'Aman') {
11255
11321
  cartinfoupdater('paymentmethod', 'Aman');
11256
11322
  }
11257
11323
  }
@@ -11262,7 +11328,7 @@
11262
11328
  d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
11263
11329
  })), /*#__PURE__*/React__default["default"].createElement("p", {
11264
11330
  className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
11265
- }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 || (_fetchcustomercartQue83 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : _fetchcustomercartQue83.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
11331
+ }, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue84 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue84 === void 0 || (_fetchcustomercartQue84 = _fetchcustomercartQue84.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
11266
11332
  className: "col-lg-12 p-0 w-100 mb-3"
11267
11333
  }, /*#__PURE__*/React__default["default"].createElement("div", {
11268
11334
  style: {