tabexseriescomponents 0.0.45 → 0.0.49

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
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-icons/ai'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('react-icons/fa'), require('@babel/runtime/helpers/toConsumableArray'), require('react-bootstrap'), require('react-icons/io5'), require('imagekitio-react'), require('react-icons/hi'), require('react-icons/go'), require('react-icons/bs'), require('react-icons/fi'), require('react-icons/md'), require('react-icons/io'), require('react-icons/cg'), require('react-textarea-autosize'), require('react-icons/gr'), require('react-accessible-accordion'), require('react-bootstrap/Dropdown'), require('react-intersection-observer'), require('axios'), require('react-horizontal-scrolling-menu'), require('react-background-slideshow'), require('react-slideshow-image'), require('@babel/runtime/helpers/extends'), require('react-router-dom'), require('react-icons/bi'), require('react-icons/ri'), require('react-notifications')) :
3
3
  typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-icons/ai', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', 'react-icons/fa', '@babel/runtime/helpers/toConsumableArray', 'react-bootstrap', 'react-icons/io5', 'imagekitio-react', 'react-icons/hi', 'react-icons/go', 'react-icons/bs', 'react-icons/fi', 'react-icons/md', 'react-icons/io', 'react-icons/cg', 'react-textarea-autosize', 'react-icons/gr', 'react-accessible-accordion', 'react-bootstrap/Dropdown', 'react-intersection-observer', 'axios', 'react-horizontal-scrolling-menu', 'react-background-slideshow', 'react-slideshow-image', '@babel/runtime/helpers/extends', 'react-router-dom', 'react-icons/bi', 'react-icons/ri', 'react-notifications'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.ai, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.fa, global._toConsumableArray, global.reactBootstrap, global.io5, global.imagekitioReact, global.hi, global.go, global.bs, global.fi, global.md, global.io, global.cg, null, null, global.reactAccessibleAccordion, global.Dropdown, global.reactIntersectionObserver, null, global.reactHorizontalScrollingMenu, global.BackgroundSlideshow, global.reactSlideshowImage, global._extends, global.reactRouterDom, global.bi, global.ri));
5
- })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, ai, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, fa, _toConsumableArray, reactBootstrap, io5, imagekitioReact, hi, go, bs, fi, md, io, cg, reactTextareaAutosize, gr, reactAccessibleAccordion, Dropdown, reactIntersectionObserver, axios, reactHorizontalScrollingMenu, BackgroundSlideshow, reactSlideshowImage, _extends, reactRouterDom, bi, ri) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.ai, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.fa, global._toConsumableArray, global.reactBootstrap, global.io5, global.imagekitioReact, global.hi, global.go, global.bs, global.fi, global.md, global.io, global.cg, global.TextareaAutosize, global.gr, global.reactAccessibleAccordion, global.Dropdown, global.reactIntersectionObserver, null, global.reactHorizontalScrollingMenu, global.BackgroundSlideshow, global.reactSlideshowImage, global._extends, global.reactRouterDom, global.bi, global.ri));
5
+ })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, ai, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, fa, _toConsumableArray, reactBootstrap, io5, imagekitioReact, hi, go, bs, fi, md, io, cg, TextareaAutosize, gr, reactAccessibleAccordion, Dropdown, reactIntersectionObserver, axios, reactHorizontalScrollingMenu, BackgroundSlideshow, reactSlideshowImage, _extends, reactRouterDom, bi, ri) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -19,6 +19,7 @@
19
19
  var jwtDecode__default = /*#__PURE__*/_interopDefaultLegacy(jwtDecode);
20
20
  var FacebookLogin__default = /*#__PURE__*/_interopDefaultLegacy(FacebookLogin);
21
21
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
22
+ var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
22
23
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
23
24
  var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
24
25
  var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
@@ -443,9 +444,9 @@
443
444
  }));
444
445
  };
445
446
 
446
- function ownKeys$15(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; }
447
+ function ownKeys$17(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; }
447
448
 
448
- function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
449
+ function _objectSpread$17(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$17(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$17(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
449
450
 
450
451
  var Login = function Login(props) {
451
452
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -491,7 +492,7 @@
491
492
  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) {
492
493
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
493
494
  });
494
- setsectionproperties(_objectSpread$15({}, secpropobj));
495
+ setsectionproperties(_objectSpread$17({}, secpropobj));
495
496
  }
496
497
  }, [StatePagePropertiesContext]);
497
498
 
@@ -605,10 +606,10 @@
605
606
  className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
606
607
  value: payloadobj.email,
607
608
  onChange: function onChange(event) {
608
- var temppayloadobj = _objectSpread$15({}, payloadobj);
609
+ var temppayloadobj = _objectSpread$17({}, payloadobj);
609
610
 
610
611
  temppayloadobj.email = event.target.value;
611
- setpayloadobj(_objectSpread$15({}, temppayloadobj));
612
+ setpayloadobj(_objectSpread$17({}, temppayloadobj));
612
613
  }
613
614
  }), /*#__PURE__*/React__default["default"].createElement("span", {
614
615
  className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
@@ -626,10 +627,10 @@
626
627
  textplaceholder: "",
627
628
  value: payloadobj.password,
628
629
  onChange: function onChange(event) {
629
- var temppayloadobj = _objectSpread$15({}, payloadobj);
630
+ var temppayloadobj = _objectSpread$17({}, payloadobj);
630
631
 
631
632
  temppayloadobj.password = event.target.value;
632
- setpayloadobj(_objectSpread$15({}, temppayloadobj));
633
+ setpayloadobj(_objectSpread$17({}, temppayloadobj));
633
634
  }
634
635
  }), /*#__PURE__*/React__default["default"].createElement("span", {
635
636
  className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
@@ -752,9 +753,9 @@
752
753
  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"};
753
754
  styleInject(css_248z$v);
754
755
 
755
- function ownKeys$14(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; }
756
+ function ownKeys$16(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; }
756
757
 
757
- function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
758
+ function _objectSpread$16(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$16(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$16(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
758
759
  // import { useMutation, useQuery, useQueryClient } from 'react-query';
759
760
  // import { useHistory, Link } from 'react-router-dom';
760
761
  // import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
@@ -862,7 +863,7 @@
862
863
  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) {
863
864
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
864
865
  });
865
- setsectionproperties(_objectSpread$14({}, secpropobj));
866
+ setsectionproperties(_objectSpread$16({}, secpropobj));
866
867
  setnavigationstyle('Upper Navigation'); // }
867
868
  // }
868
869
  }, [CurrentPageId]);
@@ -1018,9 +1019,9 @@
1018
1019
  }))))));
1019
1020
  };
1020
1021
 
1021
- function ownKeys$13(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; }
1022
+ function ownKeys$15(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; }
1022
1023
 
1023
- function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1024
+ function _objectSpread$15(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$15(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$15(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1024
1025
 
1025
1026
  var Ordershistory = function Ordershistory(props) {
1026
1027
  var _bgimagesarray$, _bgimagesarray$2;
@@ -1065,10 +1066,10 @@
1065
1066
 
1066
1067
  React.useEffect(function () {
1067
1068
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
1068
- var tempFetchQueriesEngineContext = _objectSpread$13({}, FetchQueriesEngineContext);
1069
+ var tempFetchQueriesEngineContext = _objectSpread$15({}, FetchQueriesEngineContext);
1069
1070
 
1070
1071
  tempFetchQueriesEngineContext.orderhistory = true;
1071
- setFetchQueriesEngineContext(_objectSpread$13({}, tempFetchQueriesEngineContext));
1072
+ setFetchQueriesEngineContext(_objectSpread$15({}, tempFetchQueriesEngineContext));
1072
1073
  } else {
1073
1074
  routingcountext('');
1074
1075
  }
@@ -1094,7 +1095,7 @@
1094
1095
  StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
1095
1096
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1096
1097
  });
1097
- setsectionproperties(_objectSpread$13({}, secpropobj));
1098
+ setsectionproperties(_objectSpread$15({}, secpropobj));
1098
1099
  }
1099
1100
  }, [StatePagePropertiesContext]);
1100
1101
  var orderhistory_cssstyles = {
@@ -1878,9 +1879,9 @@
1878
1879
  var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
1879
1880
  styleInject(css_248z$u);
1880
1881
 
1881
- function ownKeys$12(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; }
1882
+ function ownKeys$14(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; }
1882
1883
 
1883
- function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$12(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1884
+ function _objectSpread$14(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$14(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$14(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1884
1885
 
1885
1886
  var Wishlist = function Wishlist(props) {
1886
1887
  var _bgimagesarray$, _bgimagesarray$2;
@@ -1917,7 +1918,7 @@
1917
1918
  StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
1918
1919
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1919
1920
  });
1920
- setsectionproperties(_objectSpread$12({}, secpropobj));
1921
+ setsectionproperties(_objectSpread$14({}, secpropobj));
1921
1922
  }
1922
1923
  }, [StatePagePropertiesContext]);
1923
1924
 
@@ -1927,10 +1928,10 @@
1927
1928
  _useState2[1];
1928
1929
 
1929
1930
  React.useEffect(function () {
1930
- var tempFetchQueriesEngineContext = _objectSpread$12({}, FetchQueriesEngineContext);
1931
+ var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
1931
1932
 
1932
1933
  tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
1933
- setFetchQueriesEngineContext(_objectSpread$12({}, tempFetchQueriesEngineContext));
1934
+ setFetchQueriesEngineContext(_objectSpread$14({}, tempFetchQueriesEngineContext));
1934
1935
  }, []);
1935
1936
 
1936
1937
  var _useState3 = React.useState(''),
@@ -1962,7 +1963,7 @@
1962
1963
  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) {
1963
1964
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1964
1965
  });
1965
- setsectionproperties(_objectSpread$12({}, secpropobj));
1966
+ setsectionproperties(_objectSpread$14({}, secpropobj));
1966
1967
  }
1967
1968
  }, [StatePagePropertiesContext]);
1968
1969
  var wishlist_cssstyles = {
@@ -2398,658 +2399,1168 @@
2398
2399
  };
2399
2400
 
2400
2401
  var css_248z$t = "/* Forms */\n.form-module_form_control__4-RGw {\n display: block;\n width: 100%;\n height: 25px;\n font-size: 1rem;\n font-weight: 500;\n color: #444054;\n background-color: white;\n border-radius: 20px;\n box-shadow: 0 0 10px #e6e6e6;\n height: 40px;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 10px;\n}\n.form-module_form_controlcheckout__IoXvi{\n display: block;\n width: 100%;\n height: 25px;\n /* font-size: 1rem; */\n /* font-weight: 500; */\n /* color: #444054; */\n /* background-color: #eee; */\n /* border-radius: 10px; */\n height: 40px;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 10px;\n}\n.form-module_textarea__zG0ed{\n resize: none;\n /* background-color: #eee; */\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .form-module_form_control__4-RGw {\n transition: none;\n }\n}\n.form-module_form_control__4-RGw::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.form-module_form_control__4-RGw::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.form-module_form_control__4-RGw {\n min-height: 100px !important;\n padding-top: 10px;\n padding-bottom: 10px;\n}\n.form-module_form_control__4-RGw:focus {\n transition-duration: 0.3s;\n box-shadow: none;\n box-shadow: 0 0 10px #ccc;\n}\n.form-module_form_control__4-RGw::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.form-module_form_control__4-RGw::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n\n.form-module_form_control_border_none__TJvdZ {\n background-image: none;\n}\n.form-module_form_control__4-RGw.form-module_disabled__AtvSI,\n.form-module_form_control__4-RGw:disabled,\n.form-module_form_control__4-RGw[disabled] {\n cursor: not-allowed;\n}\n.form-module_input_label_name__416wN {\n font-size: 16px;\n text-transform: capitalize;\n color: var(--cardheader);\n font-weight: 500;\n}\n.form-module_input_label_name-bolder__UQn0a {\n font-weight: 500;\n}\n.form-module_input_icon__X-CzC {\n position: absolute;\n bottom: 5px;\n left: 0;\n color: #d9d9d9;\n}\n/* Radio Buttons */\n.form-module_radiobtn_label__-4Hoi {\n display: flex;\n cursor: pointer;\n font-weight: 500;\n position: relative;\n overflow: hidden;\n margin-bottom: 0;\n}\n.form-module_radiobtn_label__-4Hoi input {\n position: absolute;\n left: -9999px;\n display: none;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span {\n background-color: #f0f5f5;\n color: var(--focus);\n font-weight: 500;\n}\n.form-module_radiobtn_label__-4Hoi input:checked + span:before {\n box-shadow: inset 0 0 0 0.3em #eac435;\n}\n.form-module_radiobtn_label__-4Hoi span {\n display: flex;\n align-items: center;\n text-transform: capitalize;\n padding: 0.375em 0.75em 0.375em 0.375em;\n border-radius: 99em;\n transition: 0.25s ease;\n font-weight: normal;\n color: var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi span:hover {\n background-color: #e6e6e6;\n}\n.form-module_radiobtn_label__-4Hoi span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-right: 0.375em;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label__-4Hoi.form-module_text-grey__JdZMY span:before {\n box-shadow: inset 0 0 0 0.125em grey;\n}\n.form-module_radiobtn_label__-4Hoi input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n.form-module_radiobtn_label_translated__WN5Jj span:before {\n display: flex;\n flex-shrink: 0;\n content: '';\n background-color: #fff;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin-left: 0.375em;\n margin-right: 0;\n transition: 0.25s ease;\n box-shadow: inset 0 0 0 0.125em var(--focus);\n}\n.form-module_radiobtn_label_translated__WN5Jj input.form-module_disabled__AtvSI {\n cursor: not-allowed;\n}\n\n/* Checkbox */\n.form-module_checkbox__XPkWy {\n --border: #022648;\n --border-hover: #959ed0;\n --tick: #fff;\n position: relative;\n /* color: var(--cardheader); */\n}\n.form-module_checkbox_label__VvcKs {\n font-size: 16px;\n text-transform: capitalize;\n font-weight: 500;\n cursor: pointer;\n}\n.form-module_checkbox__XPkWy:hover {\n /* color: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input,\n.form-module_checkbox__XPkWy svg {\n width: 16px;\n height: 16px;\n display: block;\n}\n.form-module_checkbox_sub__QWYil input {\n width: 15px;\n height: 15px;\n}\n.form-module_checkbox__XPkWy input {\n -webkit-appearance: none;\n -moz-appearance: none;\n position: relative;\n outline: none;\n background: white;\n border: none;\n margin: 0;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n transition: box-shadow 0.3s;\n box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));\n}\n.form-module_checkbox__XPkWy input:disabled {\n cursor: not-allowed;\n}\n.form-module_checkbox__XPkWy input:hover {\n /* --s: 2px; */\n /* --b: var(--border-hover); */\n}\n.form-module_checkbox__XPkWy input:checked {\n /* --b: var(--secondary); */\n}\n.form-module_checkbox__XPkWy svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n /* stroke: var(--stroke, var(--secondary)); */\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkbox_sub__QWYil svg {\n pointer-events: none;\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke: var(--stroke, var(--secondary));\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 21px;\n transform: scale(var(--scale, 1)) translateZ(0);\n}\n.form-module_checkboxtranslated__zvEV- svg {\n right: 0;\n}\n.form-module_checkbox__XPkWy input:checked {\n --s: 2px;\n transition-delay: 0.4s;\n}\n.form-module_checkbox__XPkWy input:checked + svg {\n --a: 16.1 86.12;\n --o: 102.22;\n}\n.form-module_checkbox__XPkWy svg {\n stroke-dasharray: var(--a, 86.12);\n stroke-dashoffset: var(--o, 86.12);\n transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;\n}\n";
2402
+ var formstyles = {"form_control":"form-module_form_control__4-RGw","form_controlcheckout":"form-module_form_controlcheckout__IoXvi","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-"};
2401
2403
  styleInject(css_248z$t);
2402
2404
 
2405
+ function ownKeys$13(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; }
2406
+
2407
+ function _objectSpread$13(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$13(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$13(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2408
+ var defaultstyles = {
2409
+ option: function option(provided, state) {
2410
+ return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2411
+ borderBottom: '1px solid #e6e6e6',
2412
+ backgroundColor: state.isSelected ? '' : '',
2413
+ padding: 5,
2414
+ textTransform: 'capitalize',
2415
+ color: state.isSelected ? '#eac435' : '#022648',
2416
+ transition: '.3s',
2417
+ '&:hover': {
2418
+ // color: '#eac435',
2419
+ cursor: 'pointer'
2420
+ }
2421
+ });
2422
+ },
2423
+ control: function control() {
2424
+ return {
2425
+ borderBottom: '1px solid #ccc',
2426
+ backgroundColor: 'white',
2427
+ display: 'flex',
2428
+ cursor: 'pointer',
2429
+ padding: 0,
2430
+ transition: '.3s',
2431
+ '&:hover': {// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
2432
+ // borderRadius: '10px',
2433
+ }
2434
+ };
2435
+ },
2436
+ dropdownIndicator: function dropdownIndicator(provided) {
2437
+ return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2438
+ '&:hover': {// color: '#eac435',
2439
+ }
2440
+ });
2441
+ }
2442
+ };
2443
+ var defaultstylestranslated = {
2444
+ option: function option(provided, state) {
2445
+ return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2446
+ borderBottom: '1px solid #e6e6e6',
2447
+ backgroundColor: state.isSelected ? '' : '',
2448
+ padding: 5,
2449
+ textTransform: 'capitalize',
2450
+ // color: state.isSelected ? '#eac435' : '#022648',
2451
+ transition: '.3s',
2452
+ textAlign: 'right',
2453
+ '&:hover': {
2454
+ // color: '#eac435',
2455
+ cursor: 'pointer'
2456
+ }
2457
+ });
2458
+ },
2459
+ control: function control() {
2460
+ return {
2461
+ borderBottom: '1px solid #ccc',
2462
+ backgroundColor: 'white',
2463
+ display: 'flex',
2464
+ cursor: 'pointer',
2465
+ padding: 0,
2466
+ transition: '.3s',
2467
+ textAlign: 'right',
2468
+ '&:hover': {// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
2469
+ // borderRadius: '10px',
2470
+ }
2471
+ };
2472
+ },
2473
+ dropdownIndicator: function dropdownIndicator(provided) {
2474
+ return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2475
+ '&:hover': {// color: '#eac435',
2476
+ }
2477
+ });
2478
+ },
2479
+ placeholder: function placeholder(provided, state) {
2480
+ return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2481
+ textAlign: 'right'
2482
+ });
2483
+ }
2484
+ };
2485
+
2486
+ function ownKeys$12(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; }
2487
+
2488
+ function _objectSpread$12(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$12(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$12(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2489
+ var Select = dynamic(function () {
2490
+ return import('react-select').then(function (mod) {
2491
+ return mod["default"];
2492
+ });
2493
+ }, {
2494
+ ssr: false,
2495
+ loading: function loading() {
2496
+ return null;
2497
+ }
2498
+ });
2499
+
2403
2500
  var Checkout = function Checkout(props) {
2404
- // const [timer, settimer] = useState(null);
2405
- // const langdetect = props.actions.langdetect;
2406
- // const lang = props.actions.lang;
2407
- // const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2408
- // const routingcountext = props.actions.routingcountext;
2409
- // const ApplyPromoCodeMutationContext = props.actions.ApplyPromoCodeMutationContext;
2410
- // const CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
2411
- // const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
2412
- // const templatepropcontext = props.actions.templatepropcontext;
2413
- // const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
2414
- // const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
2415
- // const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
2416
- // const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
2417
- // const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
2418
- // const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
2419
- // const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
2420
- // const ChooseState_CountryMutationContext = props.actions.ChooseState_CountryMutationContext;
2421
- // const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
2422
- // const AddOrderMutationContext = props.actions.AddOrderMutationContext;
2423
- // const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
2424
- // const authdetailsContext = props.actions.authdetailsContext;
2425
- // const NotificationManager = props.actions.NotificationManager;
2426
- // const queryClient = props.actions.queryClient;
2427
- // const [sectionproperties, setsectionproperties] = useState('');
2428
- // const [CurrentPageId, setCurrentPageId] = useState('');
2429
- // useEffect(() => {
2430
- // var cartindex = templatepropcontext?.pagesnprop?.findIndex((x) => x.staticpageid == '6218bccb82af8');
2431
- // if (cartindex >= 0) {
2432
- // setCurrentPageId(cartindex);
2433
- // }
2434
- // }, []);
2435
- // useEffect(() => {
2436
- // var secpropobj = {};
2437
- // templatepropcontext?.pagesnprop[CurrentPageId]?.pageproperties?.forEach(function (arrayItem, arrayindex) {
2438
- // secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2439
- // });
2440
- // setsectionproperties({ ...secpropobj });
2441
- // }, [CurrentPageId]);
2442
- // useEffect(() => {
2443
- // if (CurrentSrcTypeContext == 'workplace') {
2444
- // if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
2445
- // var secpropobj = {};
2446
- // StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
2447
- // secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2448
- // });
2449
- // setsectionproperties({ ...secpropobj });
2450
- // }
2451
- // }
2452
- // }, [StatePagePropertiesContext]);
2453
- // useEffect(() => {
2454
- // // if (authdetailsContext.loggedin == true) {
2455
- // var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
2456
- // tempFetchQueriesEngineContext.fetchtabexcountries = true;
2457
- // setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
2458
- // var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
2459
- // if (
2460
- // // Aya
2461
- // !fetchcustomercartQueryContext.isFetching &&
2462
- // fetchcustomercartQueryContext.isSuccess &&
2463
- // fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
2464
- // fetchcustomercartQueryContext?.data?.data?.customercart.countryid != null &&
2465
- // // End
2466
- // fetchcustomercartQueryContext?.data?.data?.customercart.countryid.length != 0
2467
- // ) {
2468
- // tempFetchTabexStatesPayloadobjContext.country_id = fetchcustomercartQueryContext?.data?.data?.customercart.countryid;
2469
- // }
2470
- // if (
2471
- // // aya
2472
- // !fetchcustomercartQueryContext.isFetching &&
2473
- // fetchcustomercartQueryContext.isSuccess &&
2474
- // fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
2475
- // fetchcustomercartQueryContext?.data?.data?.customercart.stateid != null &&
2476
- // // end
2477
- // fetchcustomercartQueryContext?.data?.data?.customercart.stateid.length != 0
2478
- // ) {
2479
- // tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext?.data?.data?.customercart.stateid;
2480
- // }
2481
- // setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
2482
- // // } else {
2483
- // // routingcountext('');
2484
- // // }
2485
- // }, []);
2486
- // const cartinfoupdater = (key, value) => {
2487
- // var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2488
- // cartarr.data.customercart[key] = value;
2489
- // queryClient.setQueryData('fetchcustomercart_API', cartarr);
2490
- // var payloadobj = {
2491
- // stateid: fetchcustomercartQueryContext?.data?.data?.customercart.stateid,
2492
- // countryid: fetchcustomercartQueryContext?.data?.data?.customercart.countryid,
2493
- // cityid: fetchcustomercartQueryContext?.data?.data?.customercart.cityid,
2494
- // address: fetchcustomercartQueryContext?.data?.data?.customercart.address,
2495
- // paymentmethod: fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod,
2496
- // name: fetchcustomercartQueryContext?.data?.data?.customercart.name,
2497
- // email: fetchcustomercartQueryContext?.data?.data?.customercart.email,
2498
- // mobile: fetchcustomercartQueryContext?.data?.data?.customercart.mobile,
2499
- // };
2500
- // if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email') {
2501
- // clearTimeout(timer);
2502
- // settimer(
2503
- // setTimeout(() => {
2504
- // ChooseState_CountryMutationContext.mutate(payloadobj);
2505
- // }, 1500),
2506
- // );
2507
- // } else {
2508
- // ChooseState_CountryMutationContext.mutate(payloadobj);
2509
- // }
2510
- // };
2511
- // const checkoutstyles = {
2512
- // Salepricestyless: css({
2513
- // fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2514
- // fontWeight: sectionproperties.prodsalePriceFontWeight,
2515
- // color: sectionproperties.prodsalePriceColor,
2516
- // show: sectionproperties.prodsalePriceshow,
2517
- // transition: '.3s',
2518
- // }),
2519
- // userinfo_iconcont: css({
2520
- // width: sectionproperties.userinfo_iconwidth + 'px',
2521
- // height: sectionproperties.userinfo_iconheight + 'px',
2522
- // background: sectionproperties.userinfo_iconbg,
2523
- // borderRadius: sectionproperties.userinfo_iconborderbottomleftradius + 'px',
2524
- // color: sectionproperties.userinfo_iconcolor,
2525
- // }),
2526
- // userinfotextstyles: css({
2527
- // color: sectionproperties.userinfo_color,
2528
- // fontWeight: sectionproperties.userinfo_fontweight,
2529
- // fontSize: sectionproperties.userinfo_fontsize + 'px',
2530
- // }),
2531
- // input_label_name: css({
2532
- // color: sectionproperties.form_labelcolor,
2533
- // textTransform: sectionproperties.form_labeltexttransform,
2534
- // fontWeight: sectionproperties.form_labelfontweight,
2535
- // fontSize: sectionproperties.form_labelfontsize + 'px',
2536
- // }),
2537
- // checkbox: css({
2538
- // color: sectionproperties.checkbox_color,
2539
- // textTransform: sectionproperties.form_labeltexttransform,
2540
- // fontWeight: sectionproperties.form_labelfontweight,
2541
- // fontSize: sectionproperties.form_labelfontsize + 'px',
2542
- // transition: '.3s',
2543
- // ':hover': {
2544
- // color: sectionproperties.checkbox_texthovercolor,
2545
- // },
2546
- // 'input:checked': {
2547
- // color: sectionproperties.checkbox_checkedcolor,
2548
- // },
2549
- // }),
2550
- // checkboxinputstyles: css({
2551
- // ':hover:not(:checked)': {
2552
- // boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor,
2553
- // },
2554
- // ':checked': {
2555
- // boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor,
2556
- // },
2557
- // }),
2558
- // svgstyles: css({
2559
- // stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')',
2560
- // }),
2561
- // innersectiontitlestyles: css({
2562
- // color: sectionproperties.innersection_titlecolor,
2563
- // fontSize: sectionproperties.innersection_titlefontsize + 'px',
2564
- // fontWeight: sectionproperties.innersection_titlefontweight,
2565
- // textTransform: sectionproperties.innersection_titletextTransform,
2566
- // }),
2567
- // summarysectionstyles: css({
2568
- // fontSize: sectionproperties.summary_fontsize + 'px',
2569
- // color: sectionproperties.summary_textcolor,
2570
- // fontWeight: sectionproperties.summary_textfontweight,
2571
- // textTransform: sectionproperties.summary_texttransform,
2572
- // textAlign: langdetect == 'en' ? 'left' : 'right',
2573
- // }),
2574
- // checkoutbtnstyles: css({
2575
- // background: sectionproperties.checkoutBtnbgColor,
2576
- // width: sectionproperties.checkoutBtnWidth,
2577
- // height: sectionproperties.checkoutBtnHeight,
2578
- // borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
2579
- // color: sectionproperties.checkoutBtnTextcolor,
2580
- // textTransform: sectionproperties.checkoutBtnTexttransform,
2581
- // fontWeight: sectionproperties.checkoutBtnTextfontweight,
2582
- // fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
2583
- // border: sectionproperties.checkoutBtn_borderwidth + 'px solid ' + sectionproperties.checkoutBtn_bordercolor,
2584
- // transition: '.3s',
2585
- // ':hover': {
2586
- // background: sectionproperties.checkoutBtnbgColoronhover_tranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColoronhover,
2587
- // color: sectionproperties.checkoutBtnTextcoloronhover,
2588
- // },
2589
- // }),
2590
- // productNameStyles: css({
2591
- // color: sectionproperties.prodNameColor,
2592
- // fontSize: sectionproperties.prodNameFontSize + 'px',
2593
- // textTransform: sectionproperties.prodNameTextTranform,
2594
- // fontWeight: sectionproperties.prodNameFontWeight,
2595
- // }),
2596
- // productPricestyles: css({
2597
- // color: sectionproperties.prodPriceColor,
2598
- // fontSize: sectionproperties.prodpriceFontSize + 'px',
2599
- // fontWeight: sectionproperties.prodPriceFontWeight,
2600
- // }),
2601
- // productSalePricestyles: css({
2602
- // color: sectionproperties.prodsalePriceColor,
2603
- // fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2604
- // fontWeight: sectionproperties.prodsalePriceFontWeight,
2605
- // }),
2606
- // imagecont: css({
2607
- // width: '8vh',
2608
- // height: '8vh',
2609
- // border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
2610
- // backgroundColor: sectionproperties.prodimage_bgcolor,
2611
- // borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
2612
- // borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
2613
- // borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
2614
- // borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
2615
- // display: 'flex',
2616
- // alignItems: 'center',
2617
- // justifyContent: 'center',
2618
- // backgroundRepeat: 'no-repeat',
2619
- // backgroundSize: 'cover',
2620
- // backgroundPosition: 'center',
2621
- // position: 'relative',
2622
- // }),
2623
- // applybtnstyles: css({
2624
- // width: sectionproperties.applybtn_width + 'px',
2625
- // height: sectionproperties.applybtn_height + 'px',
2626
- // borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
2627
- // textTransform: sectionproperties.applybtn_texttransform,
2628
- // fontSize: sectionproperties.applybtn_fontsize + 'px',
2629
- // color: sectionproperties.applybtn_textColor,
2630
- // fontWeight: sectionproperties.applybtn_Textfontweight,
2631
- // background: sectionproperties.applybtn_bgColor,
2632
- // border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
2633
- // transition: '.3s',
2634
- // ':hover': {
2635
- // background: sectionproperties.applybtn_bgColoronhover,
2636
- // color: sectionproperties.applybtn_Textcoloronhover,
2637
- // },
2638
- // }),
2639
- // inputfiledstyles: css({}),
2640
- // checkorderbtnstyles: css({
2641
- // background: sectionproperties.generalbtn_bgColor,
2642
- // width: sectionproperties.generalbtn_width,
2643
- // height: sectionproperties.generalbtn_height,
2644
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
2645
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
2646
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
2647
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
2648
- // color: sectionproperties.generalbtn_textColor,
2649
- // textTransform: sectionproperties.generalbtn_texttransform,
2650
- // fontWeight: sectionproperties.generalbtn_fontweight,
2651
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
2652
- // border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
2653
- // transition: '.3s',
2654
- // ':hover': {
2655
- // background: sectionproperties.generalbtn_bgColoronhover,
2656
- // color: sectionproperties.generalbtn_textColoronhover,
2657
- // },
2658
- // }),
2659
- // input_label_name: css({
2660
- // color: sectionproperties.form_labelcolor,
2661
- // textTransform: sectionproperties.form_labeltexttransform,
2662
- // fontWeight: sectionproperties.form_labelfontweight,
2663
- // fontSize: sectionproperties.form_labelfontsize + 'px',
2664
- // }),
2665
- // };
2666
- // const Mycart = () => {
2667
- // return (
2668
- // <div className="row m-0 w-100">
2669
- // <div className="col-lg-12 d-flex align-items-center p-0">
2670
- // <p
2671
- // style={{
2672
- // fontSize: sectionproperties.sectionTitleFontSize + 'px',
2673
- // color: sectionproperties.sectionTitleColor,
2674
- // marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2675
- // marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2676
- // textTransform: sectionproperties.sectionTitleTextTransform,
2677
- // fontWeight: sectionproperties.sectionTitleFontWeight,
2678
- // }}
2679
- // >
2680
- // {lang.mycart}
2681
- // </p>
2682
- // </div>
2683
- // {ChooseState_CountryMutationContext.isLoading && <CircularProgress />}
2684
- // {!ChooseState_CountryMutationContext.isLoading && (
2685
- // <div className="row m-0 w-100">
2686
- // <div className="col-lg-12 p-0">
2687
- // {fetchcustomercartQueryContext?.data?.data?.customercart.cartitems.map((item, index) => {
2688
- // return (
2689
- // <div
2690
- // className={langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3'}
2691
- // style={{
2692
- // background: sectionproperties.summary_sectionbgcolor,
2693
- // borderRadius: sectionproperties.summary_sectionborderbottomleftradius + 'px',
2694
- // border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
2695
- // }}
2696
- // >
2697
- // <div className="row m-0 w-100 d-flex">
2698
- // <div className={`${checkoutstyles.imagecont}`}>
2699
- // <IKImage
2700
- // urlEndpoint={IKurlEndpoint}
2701
- // publicKey={IKpublicKey}
2702
- // path={
2703
- // item.productinfo.hasvariants == 0
2704
- // ? '/tr:w-300,h-300/' + item.productinfo.productmainimage
2705
- // : '/tr:w-300,h-300/' + item.productinfo.variantinfo.variantimageurl
2706
- // }
2707
- // style={{
2708
- // width: '100%',
2709
- // height: '100%',
2710
- // objectFit: 'cover',
2711
- // }}
2712
- // loading="lazy"
2713
- // />
2714
- // </div>
2715
- // <div className="col-lg-7 col-md-7 col-sm-7">
2716
- // <div className="row m-0 w-100">
2717
- // <div className="col-lg-12 col-md-12 col-sm-12 p-0">
2718
- // <p className={`${checkoutstyles.productNameStyles}` + ' m-0 p-0 d-flex justify-content-start '}>
2719
- // {langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar}
2720
- // </p>
2721
- // </div>
2722
- // <div className="col-lg-12 p-0">
2723
- // <p className="m-0 p-0 font-weight-500 text-light d-flex justify-content-start">
2724
- // {lang.qty}: {item.quantity}
2725
- // </p>
2726
- // </div>
2727
- // {item.productinfo.hasvariants == 1 &&
2728
- // item.productinfo.variantinfo.variantoptions.map((variantitem, variantindex) => {
2729
- // return (
2730
- // <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex">
2731
- // <p className={'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '}>{variantitem.optionname}:</p>
2732
- // <p className={' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '}>{variantitem.optionvalue}</p>
2733
- // </div>
2734
- // );
2735
- // })}
2736
- // </div>
2737
- // </div>
2738
- // <div className="col-lg-3 col-md-3 col-sm-2 p-0">
2739
- // <div className="row m-0 w-100 h-100">
2740
- // <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto">
2741
- // {item.productinfo.hasvariants == 0 && (
2742
- // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2743
- // {item.productinfo.hassale == 0 && (
2744
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2745
- // <p
2746
- // className={
2747
- // langdetect == 'en'
2748
- // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2749
- // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2750
- // }
2751
- // >
2752
- // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
2753
- // </p>
2754
- // </div>
2755
- // )}
2756
- // {item.productinfo.hassale == 1 && (
2757
- // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2758
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2759
- // <p
2760
- // className={
2761
- // langdetect == 'en'
2762
- // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2763
- // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2764
- // }
2765
- // >
2766
- // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultsaleprice} {langdetect == 'en' ? '' : 'ج.م'}
2767
- // </p>
2768
- // </div>
2769
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2770
- // <p
2771
- // className={
2772
- // langdetect == 'en'
2773
- // ? `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-right '
2774
- // : `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-left '
2775
- // }
2776
- // >
2777
- // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
2778
- // </p>
2779
- // </div>
2780
- // </div>
2781
- // )}
2782
- // </div>
2783
- // )}
2784
- // {item.productinfo.hasvariants == 1 && (
2785
- // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2786
- // {item.productinfo.variantinfo.hassale == 0 && (
2787
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2788
- // <p
2789
- // className={
2790
- // langdetect == 'en'
2791
- // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2792
- // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2793
- // }
2794
- // >
2795
- // {langdetect == 'en' ? 'EGP' : 'ج.م'} {item.productinfo.variantinfo.variantprice}
2796
- // </p>
2797
- // </div>
2798
- // )}
2799
- // {item.productinfo.variantinfo.hassale == 1 && (
2800
- // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2801
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2802
- // <p
2803
- // className={
2804
- // langdetect == 'en'
2805
- // ? `${checkoutstyles.productPricestyles}` +
2806
- // ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
2807
- // : `${checkoutstyles.productPricestyles}` +
2808
- // ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2809
- // }
2810
- // >
2811
- // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.variantinfo.variantsaleprice}
2812
- // {langdetect == 'en' ? '' : 'ج.م'}
2813
- // </p>
2814
- // </div>
2815
- // <div className="col-lg-12 p-0 d-flex justify-content-end">
2816
- // <p
2817
- // className={
2818
- // langdetect == 'en'
2819
- // ? `${checkoutstyles.Salepricestyless}` +
2820
- // ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
2821
- // : `${checkoutstyles.Salepricestyless}` +
2822
- // ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2823
- // }
2824
- // >
2825
- // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.variantinfo.variantprice} {langdetect == 'en' ? '' : 'ج.م'}
2826
- // </p>
2827
- // </div>
2828
- // </div>
2829
- // )}
2830
- // </div>
2831
- // )}
2832
- // </div>
2833
- // </div>
2834
- // </div>
2835
- // </div>
2836
- // </div>
2837
- // );
2838
- // })}
2839
- // <div
2840
- // className={' row m-0 w-100 p-3'}
2841
- // style={{
2842
- // background: sectionproperties.summary_sectionbgcolor,
2843
- // borderRadius: sectionproperties.summary_sectionborderradius + 'px',
2844
- // border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
2845
- // }}
2846
- // >
2847
- // <div className="col-lg-12 p-0 mb-1">
2848
- // <div className="col-lg-12 p-0 mb-4">
2849
- // <label className={`${checkoutstyles.input_label_name}` + ' m-0 p-0 mb-2 d-flex justify-content-start '}>{lang.doyouhavepromocode}</label>
2850
- // <div className={' row m-0 w-100 d-flex justify-content-center align-items-center '}>
2851
- // <div className={'col-lg-12 col-md-12 col-sm-12 p-0 mb-3'}>
2852
- // <input
2853
- // type="text"
2854
- // className={`${formstyles.form_control}`}
2855
- // style={{
2856
- // borderRadius: sectionproperties.inputfieldborderradius + 'px',
2857
- // fontSize: sectionproperties.inputfieldfontsize + 'px',
2858
- // color: sectionproperties.inputfieldcolor,
2859
- // backgroundColor: sectionproperties.input_bgcolor,
2860
- // }}
2861
- // placeholder={lang.giftcarddicountcode}
2862
- // value={fetchcustomercartQueryContext?.data?.data?.customercart.couponname}
2863
- // onChange={(event) => {
2864
- // var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2865
- // cartarr.data.customercart.couponname = event.target.value;
2866
- // queryClient.setQueryData('fetchcustomercart_API', cartarr);
2867
- // }}
2868
- // disabled={fetchcustomercartQueryContext?.data?.data?.customercart.couponexists ? true : false}
2869
- // />
2870
- // </div>
2871
- // <div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
2872
- // <button
2873
- // className={` ${checkoutstyles.applybtnstyles}`}
2874
- // onClick={() => {
2875
- // if (!fetchcustomercartQueryContext?.data?.data?.customercart.couponexists) {
2876
- // var payloadobj = {
2877
- // couponname: fetchcustomercartQueryContext?.data?.data?.customercart.couponname,
2878
- // functype: 'add',
2879
- // };
2880
- // if (fetchcustomercartQueryContext?.data?.data?.customercart.couponname.length != 0) {
2881
- // ApplyPromoCodeMutationContext.mutate(payloadobj);
2882
- // } else {
2883
- // NotificationManager.warning('', 'Please Type Promo Code');
2884
- // }
2885
- // } else {
2886
- // var payloadobj = {
2887
- // functype: 'delete',
2888
- // };
2889
- // ApplyPromoCodeMutationContext.mutate(payloadobj);
2890
- // }
2891
- // }}
2892
- // disabled={ApplyPromoCodeMutationContext.isLoading ? true : false}
2893
- // >
2894
- // <span className={ApplyPromoCodeMutationContext.isLoading ? `${generalstyles.fadeOutButton}` : `${generalstyles.fadeInButton}`}>
2895
- // {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists
2896
- // ? langdetect == 'en'
2897
- // ? 'Remove'
2898
- // : 'حذف'
2899
- // : langdetect == 'en'
2900
- // ? 'Apply'
2901
- // : 'تطبيق'}
2902
- // </span>
2903
- // <div
2904
- // className={
2905
- // ApplyPromoCodeMutationContext.isLoading
2906
- // ? `${generalstyles.fadeInButton} ${generalstyles.btn_preloader}` + ' d-flex align-items-center justify-content-center '
2907
- // : `${generalstyles.fadeOutButton}` + ' align-items-center justify-content-center '
2908
- // }
2909
- // >
2910
- // <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />
2911
- // </div>
2912
- // </button>
2913
- // </div>
2914
- // </div>
2915
- // </div>
2916
- // <div className="row m-0 w-100">
2917
- // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2918
- // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}>{lang.subtotal}</p>
2919
- // </div>
2920
- // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2921
- // <p
2922
- // className={
2923
- // langdetect == 'en'
2924
- // ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
2925
- // : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
2926
- // }
2927
- // >
2928
- // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.totalprice} {langdetect == 'en' ? '' : 'ج.م'}
2929
- // </p>
2930
- // </div>
2931
- // </div>
2932
- // </div>
2933
- // {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists && fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
2934
- // <div className="col-lg-12 p-0 mb-1">
2935
- // <div className="row m-0 w-100">
2936
- // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2937
- // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 text-danger d-flex align-items-start wordbreak '}>{lang.discount}</p>
2938
- // </div>
2939
- // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2940
- // <p
2941
- // className={
2942
- // langdetect == 'en'
2943
- // ? `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-right '
2944
- // : `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-left '
2945
- // }
2946
- // >
2947
- // {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
2948
- // <span>
2949
- // - {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice}{' '}
2950
- // {langdetect == 'en' ? '' : 'ج.م'}
2951
- // </span>
2952
- // )}
2953
- // {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice == 0 && <span>0</span>}
2954
- // </p>
2955
- // </div>
2956
- // </div>
2957
- // </div>
2958
- // )}
2959
- // <div className="col-lg-12 p-0">
2960
- // <div className="row m-0 w-100">
2961
- // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2962
- // <p className={`${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 d-flex align-items-start wordbreak '}>{lang.shippingfees}</p>
2963
- // </div>
2964
- // {fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
2965
- // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2966
- // <p
2967
- // className={
2968
- // langdetect == 'en'
2969
- // ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
2970
- // : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
2971
- // }
2972
- // >
2973
- // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.zoneprice} {langdetect == 'en' ? '' : 'ج.م'}
2974
- // </p>
2975
- // </div>
2976
- // )}
2977
- // {!fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
2978
- // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2979
- // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-start wordbreak '} style={{ color: 'red' }}>
2980
- // {lang.outofzone}
2981
- // </p>
2982
- // </div>
2983
- // )}
2984
- // </div>
2985
- // </div>
2986
- // <div className="col-lg-12 p-0">
2987
- // <hr className="mt-2 mb-2" />
2988
- // </div>
2989
- // <div className="col-lg-12 p-0">
2990
- // <div className="row m-0 w-100">
2991
- // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2992
- // <p
2993
- // className="d-flex align-items-start"
2994
- // style={{
2995
- // fontSize: sectionproperties.total_fontsize + 'px',
2996
- // fontWeight: sectionproperties.total_fontweight,
2997
- // textTransform: sectionproperties.total_texttransform,
2998
- // color: sectionproperties.total_color,
2999
- // }}
3000
- // >
3001
- // {lang.total}
3002
- // </p>
3003
- // </div>
3004
- // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
3005
- // <div className="row m-0 w-100">
3006
- // <div className="col-lg-12 p-0 d-flex justify-content-end ">
3007
- // <p
3008
- // className={langdetect == 'en' ? ' wordbreak text-right ' : 'wordbreak text-left '}
3009
- // style={{
3010
- // fontSize: sectionproperties.total_fontsize + 'px',
3011
- // fontWeight: sectionproperties.total_fontweight,
3012
- // textTransform: sectionproperties.total_texttransform,
3013
- // color: sectionproperties.total_color,
3014
- // }}
3015
- // >
3016
- // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.totalpriceafterdiscount}{' '}
3017
- // {langdetect == 'en' ? '' : 'ج.م'}
3018
- // </p>
3019
- // </div>
3020
- // </div>
3021
- // </div>
3022
- // </div>
3023
- // </div>
3024
- // <div className="col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3">
3025
- // <button
3026
- // className={` ${checkoutstyles.checkoutbtnstyles}` + ' d-flex align-items-center justify-content-center '}
3027
- // onClick={() => {
3028
- // var payloadobj = {};
3029
- // AddOrderMutationContext.mutate(payloadobj);
3030
- // }}
3031
- // disabled={AddOrderMutationContext.isLoading ? true : false}
3032
- // >
3033
- // {AddOrderMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
3034
- // {!AddOrderMutationContext.isLoading
3035
- // ? fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'onlinepayment'
3036
- // ? lang.continuetopayment
3037
- // : authdetailsContext.loggedin
3038
- // ? lang.confirmorder
3039
- // : lang.confirmorder + ' ' + lang.asaguest
3040
- // : ''}
3041
- // </button>
3042
- // </div>
3043
- // </div>
3044
- // </div>
3045
- // </div>
3046
- // )}
3047
- // </div>
3048
- // );
3049
- // };
3050
- return /*#__PURE__*/React__default["default"].createElement("div", {
3051
- className: 'row m-0 w-100 mb-3 d-flex justify-content-center p-sm-0 mt-sm-3'
3052
- }, "adsdss");
2501
+ var _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue89, _fetchcustomercartQue90, _fetchcustomercartQue93, _fetchcustomercartQue94, _fetchcustomercartQue97, _fetchcustomercartQue98;
2502
+
2503
+ var _useState = React.useState(null),
2504
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
2505
+ timer = _useState2[0],
2506
+ settimer = _useState2[1];
2507
+
2508
+ var langdetect = props.actions.langdetect;
2509
+ var lang = props.actions.lang;
2510
+ var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2511
+ var routingcountext = props.actions.routingcountext;
2512
+ var ApplyPromoCodeMutationContext = props.actions.ApplyPromoCodeMutationContext;
2513
+ var CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
2514
+ var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
2515
+ var templatepropcontext = props.actions.templatepropcontext;
2516
+ var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
2517
+ var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
2518
+ var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
2519
+ var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
2520
+ var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
2521
+ var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
2522
+ var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
2523
+ var ChooseState_CountryMutationContext = props.actions.ChooseState_CountryMutationContext;
2524
+ var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
2525
+ var AddOrderMutationContext = props.actions.AddOrderMutationContext;
2526
+ props.actions.fetchAuthorizationQueryContext;
2527
+ var authdetailsContext = props.actions.authdetailsContext;
2528
+ var NotificationManager = props.actions.NotificationManager;
2529
+ var queryClient = props.actions.queryClient;
2530
+
2531
+ var _useState3 = React.useState(''),
2532
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
2533
+ sectionproperties = _useState4[0],
2534
+ setsectionproperties = _useState4[1];
2535
+
2536
+ var _useState5 = React.useState(''),
2537
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
2538
+ CurrentPageId = _useState6[0],
2539
+ setCurrentPageId = _useState6[1];
2540
+
2541
+ React.useEffect(function () {
2542
+ var _templatepropcontext$;
2543
+
2544
+ var cartindex = templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
2545
+ return x.staticpageid == '6218bccb82af8';
2546
+ });
2547
+
2548
+ if (cartindex >= 0) {
2549
+ setCurrentPageId(cartindex);
2550
+ }
2551
+ }, []);
2552
+ React.useEffect(function () {
2553
+ var _templatepropcontext$2, _templatepropcontext$3;
2554
+
2555
+ var secpropobj = {};
2556
+ templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$2 = templatepropcontext.pagesnprop[CurrentPageId]) === null || _templatepropcontext$2 === void 0 ? void 0 : (_templatepropcontext$3 = _templatepropcontext$2.pageproperties) === null || _templatepropcontext$3 === void 0 ? void 0 : _templatepropcontext$3.forEach(function (arrayItem, arrayindex) {
2557
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2558
+ });
2559
+ setsectionproperties(_objectSpread$12({}, secpropobj));
2560
+ }, [CurrentPageId]);
2561
+ React.useEffect(function () {
2562
+ if (CurrentSrcTypeContext == 'workplace') {
2563
+ if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
2564
+ var _StatePagePropertiesC, _StatePagePropertiesC2;
2565
+
2566
+ var secpropobj = {};
2567
+ 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) {
2568
+ secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2569
+ });
2570
+ setsectionproperties(_objectSpread$12({}, secpropobj));
2571
+ }
2572
+ }
2573
+ }, [StatePagePropertiesContext]);
2574
+ React.useEffect(function () {
2575
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
2576
+
2577
+ // if (authdetailsContext.loggedin == true) {
2578
+ var tempFetchQueriesEngineContext = _objectSpread$12({}, FetchQueriesEngineContext);
2579
+
2580
+ tempFetchQueriesEngineContext.fetchtabexcountries = true;
2581
+ setFetchQueriesEngineContext(_objectSpread$12({}, tempFetchQueriesEngineContext));
2582
+
2583
+ var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
2584
+
2585
+ if ( // Aya
2586
+ !fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 ? void 0 : (_fetchcustomercartQue2 = _fetchcustomercartQue.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : (_fetchcustomercartQue4 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart.countryid) != null && // End
2587
+ (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart.countryid.length) != 0) {
2588
+ var _fetchcustomercartQue7, _fetchcustomercartQue8;
2589
+
2590
+ tempFetchTabexStatesPayloadobjContext.country_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : _fetchcustomercartQue8.customercart.countryid;
2591
+ }
2592
+
2593
+ if ( // aya
2594
+ !fetchcustomercartQueryContext.isFetching && fetchcustomercartQueryContext.isSuccess && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue9 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.data) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.customercart) != undefined && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue11 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue11 === void 0 ? void 0 : (_fetchcustomercartQue12 = _fetchcustomercartQue11.data) === null || _fetchcustomercartQue12 === void 0 ? void 0 : _fetchcustomercartQue12.customercart.stateid) != null && // end
2595
+ (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue13 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue13 === void 0 ? void 0 : (_fetchcustomercartQue14 = _fetchcustomercartQue13.data) === null || _fetchcustomercartQue14 === void 0 ? void 0 : _fetchcustomercartQue14.customercart.stateid.length) != 0) {
2596
+ var _fetchcustomercartQue15, _fetchcustomercartQue16;
2597
+
2598
+ tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue15 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue15 === void 0 ? void 0 : (_fetchcustomercartQue16 = _fetchcustomercartQue15.data) === null || _fetchcustomercartQue16 === void 0 ? void 0 : _fetchcustomercartQue16.customercart.stateid;
2599
+ }
2600
+
2601
+ setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext)); // } else {
2602
+ // routingcountext('');
2603
+ // }
2604
+ }, []);
2605
+
2606
+ var cartinfoupdater = function cartinfoupdater(key, value) {
2607
+ var _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
2608
+
2609
+ var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2610
+ cartarr.data.customercart[key] = value;
2611
+ queryClient.setQueryData('fetchcustomercart_API', cartarr);
2612
+ var payloadobj = {
2613
+ stateid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue17 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue17 === void 0 ? void 0 : (_fetchcustomercartQue18 = _fetchcustomercartQue17.data) === null || _fetchcustomercartQue18 === void 0 ? void 0 : _fetchcustomercartQue18.customercart.stateid,
2614
+ countryid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue19 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue19 === void 0 ? void 0 : (_fetchcustomercartQue20 = _fetchcustomercartQue19.data) === null || _fetchcustomercartQue20 === void 0 ? void 0 : _fetchcustomercartQue20.customercart.countryid,
2615
+ cityid: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue21 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue21 === void 0 ? void 0 : (_fetchcustomercartQue22 = _fetchcustomercartQue21.data) === null || _fetchcustomercartQue22 === void 0 ? void 0 : _fetchcustomercartQue22.customercart.cityid,
2616
+ address: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue23 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue23 === void 0 ? void 0 : (_fetchcustomercartQue24 = _fetchcustomercartQue23.data) === null || _fetchcustomercartQue24 === void 0 ? void 0 : _fetchcustomercartQue24.customercart.address,
2617
+ paymentmethod: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue25 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue25 === void 0 ? void 0 : (_fetchcustomercartQue26 = _fetchcustomercartQue25.data) === null || _fetchcustomercartQue26 === void 0 ? void 0 : _fetchcustomercartQue26.customercart.paymentmethod,
2618
+ name: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue27 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue27 === void 0 ? void 0 : (_fetchcustomercartQue28 = _fetchcustomercartQue27.data) === null || _fetchcustomercartQue28 === void 0 ? void 0 : _fetchcustomercartQue28.customercart.name,
2619
+ email: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue29 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue29 === void 0 ? void 0 : (_fetchcustomercartQue30 = _fetchcustomercartQue29.data) === null || _fetchcustomercartQue30 === void 0 ? void 0 : _fetchcustomercartQue30.customercart.email,
2620
+ mobile: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue31 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue31 === void 0 ? void 0 : (_fetchcustomercartQue32 = _fetchcustomercartQue31.data) === null || _fetchcustomercartQue32 === void 0 ? void 0 : _fetchcustomercartQue32.customercart.mobile
2621
+ };
2622
+
2623
+ if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email') {
2624
+ clearTimeout(timer);
2625
+ settimer(setTimeout(function () {
2626
+ ChooseState_CountryMutationContext.mutate(payloadobj);
2627
+ }, 1500));
2628
+ } else {
2629
+ ChooseState_CountryMutationContext.mutate(payloadobj);
2630
+ }
2631
+ };
2632
+
2633
+ var checkoutstyles = _defineProperty__default["default"]({
2634
+ Salepricestyless: glamor.css({
2635
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2636
+ fontWeight: sectionproperties.prodsalePriceFontWeight,
2637
+ color: sectionproperties.prodsalePriceColor,
2638
+ show: sectionproperties.prodsalePriceshow,
2639
+ transition: '.3s'
2640
+ }),
2641
+ userinfo_iconcont: glamor.css({
2642
+ width: sectionproperties.userinfo_iconwidth + 'px',
2643
+ height: sectionproperties.userinfo_iconheight + 'px',
2644
+ background: sectionproperties.userinfo_iconbg,
2645
+ borderRadius: sectionproperties.userinfo_iconborderbottomleftradius + 'px',
2646
+ color: sectionproperties.userinfo_iconcolor
2647
+ }),
2648
+ userinfotextstyles: glamor.css({
2649
+ color: sectionproperties.userinfo_color,
2650
+ fontWeight: sectionproperties.userinfo_fontweight,
2651
+ fontSize: sectionproperties.userinfo_fontsize + 'px'
2652
+ }),
2653
+ input_label_name: glamor.css({
2654
+ color: sectionproperties.form_labelcolor,
2655
+ textTransform: sectionproperties.form_labeltexttransform,
2656
+ fontWeight: sectionproperties.form_labelfontweight,
2657
+ fontSize: sectionproperties.form_labelfontsize + 'px'
2658
+ }),
2659
+ checkbox: glamor.css({
2660
+ color: sectionproperties.checkbox_color,
2661
+ textTransform: sectionproperties.form_labeltexttransform,
2662
+ fontWeight: sectionproperties.form_labelfontweight,
2663
+ fontSize: sectionproperties.form_labelfontsize + 'px',
2664
+ transition: '.3s',
2665
+ ':hover': {
2666
+ color: sectionproperties.checkbox_texthovercolor
2667
+ },
2668
+ 'input:checked': {
2669
+ color: sectionproperties.checkbox_checkedcolor
2670
+ }
2671
+ }),
2672
+ checkboxinputstyles: glamor.css({
2673
+ ':hover:not(:checked)': {
2674
+ boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor
2675
+ },
2676
+ ':checked': {
2677
+ boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor
2678
+ }
2679
+ }),
2680
+ svgstyles: glamor.css({
2681
+ stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
2682
+ }),
2683
+ innersectiontitlestyles: glamor.css({
2684
+ color: sectionproperties.innersection_titlecolor,
2685
+ fontSize: sectionproperties.innersection_titlefontsize + 'px',
2686
+ fontWeight: sectionproperties.innersection_titlefontweight,
2687
+ textTransform: sectionproperties.innersection_titletextTransform
2688
+ }),
2689
+ summarysectionstyles: glamor.css({
2690
+ fontSize: sectionproperties.summary_fontsize + 'px',
2691
+ color: sectionproperties.summary_textcolor,
2692
+ fontWeight: sectionproperties.summary_textfontweight,
2693
+ textTransform: sectionproperties.summary_texttransform,
2694
+ textAlign: langdetect == 'en' ? 'left' : 'right'
2695
+ }),
2696
+ checkoutbtnstyles: glamor.css({
2697
+ background: sectionproperties.checkoutBtnbgColor,
2698
+ width: sectionproperties.checkoutBtnWidth,
2699
+ height: sectionproperties.checkoutBtnHeight,
2700
+ borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
2701
+ color: sectionproperties.checkoutBtnTextcolor,
2702
+ textTransform: sectionproperties.checkoutBtnTexttransform,
2703
+ fontWeight: sectionproperties.checkoutBtnTextfontweight,
2704
+ fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
2705
+ border: sectionproperties.checkoutBtn_borderwidth + 'px solid ' + sectionproperties.checkoutBtn_bordercolor,
2706
+ transition: '.3s',
2707
+ ':hover': {
2708
+ background: sectionproperties.checkoutBtnbgColoronhover_tranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColoronhover,
2709
+ color: sectionproperties.checkoutBtnTextcoloronhover
2710
+ }
2711
+ }),
2712
+ productNameStyles: glamor.css({
2713
+ color: sectionproperties.prodNameColor,
2714
+ fontSize: sectionproperties.prodNameFontSize + 'px',
2715
+ textTransform: sectionproperties.prodNameTextTranform,
2716
+ fontWeight: sectionproperties.prodNameFontWeight
2717
+ }),
2718
+ productPricestyles: glamor.css({
2719
+ color: sectionproperties.prodPriceColor,
2720
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
2721
+ fontWeight: sectionproperties.prodPriceFontWeight
2722
+ }),
2723
+ productSalePricestyles: glamor.css({
2724
+ color: sectionproperties.prodsalePriceColor,
2725
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2726
+ fontWeight: sectionproperties.prodsalePriceFontWeight
2727
+ }),
2728
+ imagecont: glamor.css({
2729
+ width: '8vh',
2730
+ height: '8vh',
2731
+ border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
2732
+ backgroundColor: sectionproperties.prodimage_bgcolor,
2733
+ borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
2734
+ borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
2735
+ borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
2736
+ borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
2737
+ display: 'flex',
2738
+ alignItems: 'center',
2739
+ justifyContent: 'center',
2740
+ backgroundRepeat: 'no-repeat',
2741
+ backgroundSize: 'cover',
2742
+ backgroundPosition: 'center',
2743
+ position: 'relative'
2744
+ }),
2745
+ applybtnstyles: glamor.css({
2746
+ width: sectionproperties.applybtn_width + 'px',
2747
+ height: sectionproperties.applybtn_height + 'px',
2748
+ borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
2749
+ textTransform: sectionproperties.applybtn_texttransform,
2750
+ fontSize: sectionproperties.applybtn_fontsize + 'px',
2751
+ color: sectionproperties.applybtn_textColor,
2752
+ fontWeight: sectionproperties.applybtn_Textfontweight,
2753
+ background: sectionproperties.applybtn_bgColor,
2754
+ border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
2755
+ transition: '.3s',
2756
+ ':hover': {
2757
+ background: sectionproperties.applybtn_bgColoronhover,
2758
+ color: sectionproperties.applybtn_Textcoloronhover
2759
+ }
2760
+ }),
2761
+ inputfiledstyles: glamor.css({}),
2762
+ checkorderbtnstyles: glamor.css({
2763
+ background: sectionproperties.generalbtn_bgColor,
2764
+ width: sectionproperties.generalbtn_width,
2765
+ height: sectionproperties.generalbtn_height,
2766
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
2767
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
2768
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
2769
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
2770
+ color: sectionproperties.generalbtn_textColor,
2771
+ textTransform: sectionproperties.generalbtn_texttransform,
2772
+ fontWeight: sectionproperties.generalbtn_fontweight,
2773
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
2774
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
2775
+ transition: '.3s',
2776
+ ':hover': {
2777
+ background: sectionproperties.generalbtn_bgColoronhover,
2778
+ color: sectionproperties.generalbtn_textColoronhover
2779
+ }
2780
+ })
2781
+ }, "input_label_name", glamor.css({
2782
+ color: sectionproperties.form_labelcolor,
2783
+ textTransform: sectionproperties.form_labeltexttransform,
2784
+ fontWeight: sectionproperties.form_labelfontweight,
2785
+ fontSize: sectionproperties.form_labelfontsize + 'px'
2786
+ }));
2787
+
2788
+ var Mycart = function Mycart() {
2789
+ var _fetchcustomercartQue33, _fetchcustomercartQue34, _fetchcustomercartQue35, _fetchcustomercartQue36, _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue45, _fetchcustomercartQue46, _fetchcustomercartQue47, _fetchcustomercartQue48, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68;
2790
+
2791
+ return /*#__PURE__*/React__default["default"].createElement("div", {
2792
+ className: "row m-0 w-100"
2793
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2794
+ className: "col-lg-12 d-flex align-items-center p-0"
2795
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2796
+ style: {
2797
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
2798
+ color: sectionproperties.sectionTitleColor,
2799
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2800
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2801
+ textTransform: sectionproperties.sectionTitleTextTransform,
2802
+ fontWeight: sectionproperties.sectionTitleFontWeight
2803
+ }
2804
+ }, lang.mycart)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, null), !ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2805
+ className: "row m-0 w-100"
2806
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2807
+ className: "col-lg-12 p-0"
2808
+ }, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue33 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue33 === void 0 ? void 0 : (_fetchcustomercartQue34 = _fetchcustomercartQue33.data) === null || _fetchcustomercartQue34 === void 0 ? void 0 : _fetchcustomercartQue34.customercart.cartitems.map(function (item, index) {
2809
+ return /*#__PURE__*/React__default["default"].createElement("div", {
2810
+ className: langdetect == 'en' ? 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pl-2 pr-0 mb-3' : 'col-lg-12 col-md-12 col-sm-12 pt-3 pb-3 pr-2 pl-0 mb-3',
2811
+ style: {
2812
+ background: sectionproperties.summary_sectionbgcolor,
2813
+ borderRadius: sectionproperties.summary_sectionborderbottomleftradius + 'px',
2814
+ border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
2815
+ }
2816
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2817
+ className: "row m-0 w-100 d-flex"
2818
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2819
+ className: "".concat(checkoutstyles.imagecont)
2820
+ }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
2821
+ urlEndpoint: IKurlEndpoint,
2822
+ publicKey: IKpublicKey,
2823
+ path: item.productinfo.hasvariants == 0 ? '/tr:w-300,h-300/' + item.productinfo.productmainimage : '/tr:w-300,h-300/' + item.productinfo.variantinfo.variantimageurl,
2824
+ style: {
2825
+ width: '100%',
2826
+ height: '100%',
2827
+ objectFit: 'cover'
2828
+ },
2829
+ loading: "lazy"
2830
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
2831
+ className: "col-lg-7 col-md-7 col-sm-7"
2832
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2833
+ className: "row m-0 w-100"
2834
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2835
+ className: "col-lg-12 col-md-12 col-sm-12 p-0"
2836
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2837
+ className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 d-flex justify-content-start '
2838
+ }, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
2839
+ className: "col-lg-12 p-0"
2840
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2841
+ className: "m-0 p-0 font-weight-500 text-light d-flex justify-content-start"
2842
+ }, lang.qty, ": ", item.quantity)), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
2843
+ return /*#__PURE__*/React__default["default"].createElement("div", {
2844
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
2845
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2846
+ className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
2847
+ }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
2848
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
2849
+ }, variantitem.optionvalue));
2850
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
2851
+ className: "col-lg-3 col-md-3 col-sm-2 p-0"
2852
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2853
+ className: "row m-0 w-100 h-100"
2854
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2855
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto"
2856
+ }, item.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2857
+ className: "row m-0 w-100 d-flex flex-column justify-content-end"
2858
+ }, item.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2859
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2860
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2861
+ className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
2862
+ }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2863
+ className: "row m-0 w-100 d-flex flex-column justify-content-end"
2864
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2865
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2866
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2867
+ className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
2868
+ }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultsaleprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
2869
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2870
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2871
+ className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
2872
+ }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2873
+ className: "row m-0 w-100 d-flex flex-column justify-content-end"
2874
+ }, item.productinfo.variantinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2875
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2876
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2877
+ className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
2878
+ }, langdetect == 'en' ? 'EGP' : 'ج.م', " ", item.productinfo.variantinfo.variantprice)), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2879
+ className: "row m-0 w-100 d-flex flex-column justify-content-end"
2880
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2881
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2882
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2883
+ className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2884
+ }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.variantinfo.variantsaleprice, langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React__default["default"].createElement("div", {
2885
+ className: "col-lg-12 p-0 d-flex justify-content-end"
2886
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2887
+ className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2888
+ }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.variantinfo.variantprice, " ", langdetect == 'en' ? '' : 'ج.م')))))))));
2889
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
2890
+ className: ' row m-0 w-100 p-3',
2891
+ style: {
2892
+ background: sectionproperties.summary_sectionbgcolor,
2893
+ borderRadius: sectionproperties.summary_sectionborderradius + 'px',
2894
+ border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
2895
+ }
2896
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2897
+ className: "col-lg-12 p-0 mb-1"
2898
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2899
+ className: "col-lg-12 p-0 mb-4"
2900
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
2901
+ className: "".concat(checkoutstyles.input_label_name) + ' m-0 p-0 mb-2 d-flex justify-content-start '
2902
+ }, lang.doyouhavepromocode), /*#__PURE__*/React__default["default"].createElement("div", {
2903
+ className: ' row m-0 w-100 d-flex justify-content-center align-items-center '
2904
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2905
+ className: 'col-lg-12 col-md-12 col-sm-12 p-0 mb-3'
2906
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
2907
+ type: "text",
2908
+ className: "".concat(formstyles.form_control),
2909
+ style: {
2910
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
2911
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
2912
+ color: sectionproperties.inputfieldcolor,
2913
+ backgroundColor: sectionproperties.input_bgcolor
2914
+ },
2915
+ placeholder: lang.giftcarddicountcode,
2916
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue35 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue35 === void 0 ? void 0 : (_fetchcustomercartQue36 = _fetchcustomercartQue35.data) === null || _fetchcustomercartQue36 === void 0 ? void 0 : _fetchcustomercartQue36.customercart.couponname,
2917
+ onChange: function onChange(event) {
2918
+ var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2919
+ cartarr.data.customercart.couponname = event.target.value;
2920
+ queryClient.setQueryData('fetchcustomercart_API', cartarr);
2921
+ },
2922
+ disabled: fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue37 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue37 !== void 0 && (_fetchcustomercartQue38 = _fetchcustomercartQue37.data) !== null && _fetchcustomercartQue38 !== void 0 && _fetchcustomercartQue38.customercart.couponexists ? true : false
2923
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
2924
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
2925
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
2926
+ className: " ".concat(checkoutstyles.applybtnstyles),
2927
+ onClick: function onClick() {
2928
+ var _fetchcustomercartQue39, _fetchcustomercartQue40;
2929
+
2930
+ if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue39 !== void 0 && (_fetchcustomercartQue40 = _fetchcustomercartQue39.data) !== null && _fetchcustomercartQue40 !== void 0 && _fetchcustomercartQue40.customercart.couponexists)) {
2931
+ var _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44;
2932
+
2933
+ var payloadobj = {
2934
+ couponname: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue41 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue41 === void 0 ? void 0 : (_fetchcustomercartQue42 = _fetchcustomercartQue41.data) === null || _fetchcustomercartQue42 === void 0 ? void 0 : _fetchcustomercartQue42.customercart.couponname,
2935
+ functype: 'add'
2936
+ };
2937
+
2938
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue43 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue43 === void 0 ? void 0 : (_fetchcustomercartQue44 = _fetchcustomercartQue43.data) === null || _fetchcustomercartQue44 === void 0 ? void 0 : _fetchcustomercartQue44.customercart.couponname.length) != 0) {
2939
+ ApplyPromoCodeMutationContext.mutate(payloadobj);
2940
+ } else {
2941
+ NotificationManager.warning('', 'Please Type Promo Code');
2942
+ }
2943
+ } else {
2944
+ var payloadobj = {
2945
+ functype: 'delete'
2946
+ };
2947
+ ApplyPromoCodeMutationContext.mutate(payloadobj);
2948
+ }
2949
+ },
2950
+ disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
2951
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
2952
+ className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
2953
+ }, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue45 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue45 !== void 0 && (_fetchcustomercartQue46 = _fetchcustomercartQue45.data) !== null && _fetchcustomercartQue46 !== void 0 && _fetchcustomercartQue46.customercart.couponexists ? langdetect == 'en' ? 'Remove' : 'حذف' : langdetect == 'en' ? 'Apply' : 'تطبيق'), /*#__PURE__*/React__default["default"].createElement("div", {
2954
+ 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 '
2955
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2956
+ color: "#fff",
2957
+ width: "20px",
2958
+ height: "20px",
2959
+ duration: "1s"
2960
+ })))))), /*#__PURE__*/React__default["default"].createElement("div", {
2961
+ className: "row m-0 w-100"
2962
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2963
+ className: "col-lg-6 col-md-6 col-sm-6 p-0"
2964
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2965
+ className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
2966
+ }, lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
2967
+ className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2968
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2969
+ className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
2970
+ }, langdetect == 'en' ? 'EGP' : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue47 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue47 === void 0 ? void 0 : (_fetchcustomercartQue48 = _fetchcustomercartQue47.data) === null || _fetchcustomercartQue48 === void 0 ? void 0 : _fetchcustomercartQue48.customercart.totalprice, " ", langdetect == 'en' ? '' : 'ج.م')))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue49 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue49 === void 0 ? void 0 : (_fetchcustomercartQue50 = _fetchcustomercartQue49.data) === null || _fetchcustomercartQue50 === void 0 ? void 0 : _fetchcustomercartQue50.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue51 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue51 === void 0 ? void 0 : (_fetchcustomercartQue52 = _fetchcustomercartQue51.data) === null || _fetchcustomercartQue52 === void 0 ? void 0 : _fetchcustomercartQue52.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2971
+ className: "col-lg-12 p-0 mb-1"
2972
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2973
+ className: "row m-0 w-100"
2974
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2975
+ className: "col-lg-6 col-md-6 col-sm-6 p-0"
2976
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2977
+ className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 text-danger d-flex align-items-start wordbreak '
2978
+ }, lang.discount)), /*#__PURE__*/React__default["default"].createElement("div", {
2979
+ className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2980
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2981
+ 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 '
2982
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue53 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue53 === void 0 ? void 0 : (_fetchcustomercartQue54 = _fetchcustomercartQue53.data) === null || _fetchcustomercartQue54 === void 0 ? void 0 : _fetchcustomercartQue54.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? 'EGP' : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue55 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue55 === void 0 ? void 0 : (_fetchcustomercartQue56 = _fetchcustomercartQue55.data) === null || _fetchcustomercartQue56 === void 0 ? void 0 : _fetchcustomercartQue56.customercart.discountprice, ' ', langdetect == 'en' ? '' : 'ج.م'), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue57 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue57 === void 0 ? void 0 : (_fetchcustomercartQue58 = _fetchcustomercartQue57.data) === null || _fetchcustomercartQue58 === void 0 ? void 0 : _fetchcustomercartQue58.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), /*#__PURE__*/React__default["default"].createElement("div", {
2983
+ className: "col-lg-12 p-0"
2984
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2985
+ className: "row m-0 w-100"
2986
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2987
+ className: "col-lg-6 col-md-6 col-sm-6 p-0"
2988
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2989
+ className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
2990
+ }, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue59 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue59 === void 0 ? void 0 : (_fetchcustomercartQue60 = _fetchcustomercartQue59.data) === null || _fetchcustomercartQue60 === void 0 ? void 0 : _fetchcustomercartQue60.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
2991
+ className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2992
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2993
+ className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
2994
+ }, langdetect == 'en' ? 'EGP' : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue61 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue61 === void 0 ? void 0 : (_fetchcustomercartQue62 = _fetchcustomercartQue61.data) === null || _fetchcustomercartQue62 === void 0 ? void 0 : _fetchcustomercartQue62.customercart.zoneprice, " ", langdetect == 'en' ? '' : 'ج.م')), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue63 !== void 0 && (_fetchcustomercartQue64 = _fetchcustomercartQue63.data) !== null && _fetchcustomercartQue64 !== void 0 && _fetchcustomercartQue64.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
2995
+ className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2996
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
2997
+ className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
2998
+ style: {
2999
+ color: 'red'
3000
+ }
3001
+ }, lang.outofzone)))), /*#__PURE__*/React__default["default"].createElement("div", {
3002
+ className: "col-lg-12 p-0"
3003
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
3004
+ className: "mt-2 mb-2"
3005
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3006
+ className: "col-lg-12 p-0"
3007
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3008
+ className: "row m-0 w-100"
3009
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3010
+ className: "col-lg-6 col-md-6 col-sm-6 p-0"
3011
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3012
+ className: "d-flex align-items-start",
3013
+ style: {
3014
+ fontSize: sectionproperties.total_fontsize + 'px',
3015
+ fontWeight: sectionproperties.total_fontweight,
3016
+ textTransform: sectionproperties.total_texttransform,
3017
+ color: sectionproperties.total_color
3018
+ }
3019
+ }, lang.total)), /*#__PURE__*/React__default["default"].createElement("div", {
3020
+ className: "col-lg-6 col-md-6 col-sm-6 p-0"
3021
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3022
+ className: "row m-0 w-100"
3023
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3024
+ className: "col-lg-12 p-0 d-flex justify-content-end "
3025
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3026
+ className: langdetect == 'en' ? ' wordbreak text-right ' : 'wordbreak text-left ',
3027
+ style: {
3028
+ fontSize: sectionproperties.total_fontsize + 'px',
3029
+ fontWeight: sectionproperties.total_fontweight,
3030
+ textTransform: sectionproperties.total_texttransform,
3031
+ color: sectionproperties.total_color
3032
+ }
3033
+ }, langdetect == 'en' ? 'EGP' : '', " ", fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : (_fetchcustomercartQue66 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : _fetchcustomercartQue66.customercart.totalpriceafterdiscount, ' ', langdetect == 'en' ? '' : 'ج.م')))))), /*#__PURE__*/React__default["default"].createElement("div", {
3034
+ className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
3035
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
3036
+ className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
3037
+ onClick: function onClick() {
3038
+ var payloadobj = {};
3039
+ AddOrderMutationContext.mutate(payloadobj);
3040
+ },
3041
+ disabled: AddOrderMutationContext.isLoading ? true : false
3042
+ }, AddOrderMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3043
+ color: "#fff",
3044
+ width: "20px",
3045
+ height: "20px",
3046
+ duration: "1s"
3047
+ }), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue67 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue67 === void 0 ? void 0 : (_fetchcustomercartQue68 = _fetchcustomercartQue67.data) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? lang.confirmorder : lang.confirmorder + ' ' + lang.asaguest : ''))))));
3048
+ };
3049
+
3050
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3051
+ className: 'row m-0 w-100 mb-3 d-flex justify-content-center p-sm-0 mt-sm-3'
3052
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3053
+ className: 'col-lg-12 w-100 d-flex justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
3054
+ style: {
3055
+ marginTop: sectionproperties.marginTop + 'px',
3056
+ marginBottom: sectionproperties.marginBottom + 'px',
3057
+ paddingLeft: sectionproperties.paddingLeft + 'px',
3058
+ paddingRight: sectionproperties.paddingRight + 'px',
3059
+ paddingTop: sectionproperties.paddingTop + 'px',
3060
+ paddingBottom: sectionproperties.paddingBottom + 'px',
3061
+ background: sectionproperties.backgroundColor,
3062
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
3063
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
3064
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
3065
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
3066
+ }
3067
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3068
+ className: 'row m-0 w-100 justify-content-center '
3069
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3070
+ className: langdetect == 'en' ? ' col-lg-8 col-md-12 pl-0 p-md-0 ' : ' col-lg-8 col-md-12 pr-0 p-md-0 '
3071
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3072
+ className: "col-lg-12 d-flex align-items-center p-0"
3073
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3074
+ style: {
3075
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
3076
+ color: sectionproperties.sectionTitleColor,
3077
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
3078
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
3079
+ textTransform: sectionproperties.sectionTitleTextTransform,
3080
+ fontWeight: sectionproperties.sectionTitleFontWeight
3081
+ }
3082
+ }, lang.checkout)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
3083
+ className: "col-lg-12 p-0"
3084
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3085
+ className: "pl-3 pr-3 pt-2 pb-2",
3086
+ style: {
3087
+ background: sectionproperties.userinfo_sectionbgcolor,
3088
+ borderRadius: sectionproperties.userinfo_borderradius + 'px',
3089
+ marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
3090
+ marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
3091
+ border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor
3092
+ }
3093
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3094
+ className: "row m-0 w-100"
3095
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3096
+ className: "".concat(checkoutstyles.userinfo_iconcont) + ' d-flex align-items-center justify-content-center '
3097
+ }, /*#__PURE__*/React__default["default"].createElement(bs.BsCheck2Circle, {
3098
+ size: 20
3099
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3100
+ className: "col-lg-11 col-md-10 col-sm-10 p-0"
3101
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3102
+ className: "row m-0 w-100"
3103
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3104
+ className: "col-lg-12 d-flex align-items-center pl-2 pr-2",
3105
+ style: {
3106
+ fontSize: sectionproperties.userinfo_titlefontsize + 'px',
3107
+ color: sectionproperties.userinfo_titlecolor,
3108
+ fontWeight: sectionproperties.userinfo_titlefontweight
3109
+ }
3110
+ }, lang.loggedinas), /*#__PURE__*/React__default["default"].createElement("div", {
3111
+ className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 text-capitalize '
3112
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3113
+ className: "m-0 p-0 d-flex align-items-center"
3114
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
3115
+ className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3116
+ style: {
3117
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3118
+ color: sectionproperties.userinfotext_iconcolor,
3119
+ marginRight: langdetect == 'en' ? '5px' : 0,
3120
+ marginLeft: langdetect == 'en' ? 0 : '5px'
3121
+ }
3122
+ }, /*#__PURE__*/React__default["default"].createElement(hi.HiUser, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3123
+ className: "m-0 p-0 wordbreak"
3124
+ }, authdetailsContext.customerinfo.name))), /*#__PURE__*/React__default["default"].createElement("div", {
3125
+ className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
3126
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3127
+ className: "m-0 p-0 d-flex align-items-center"
3128
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
3129
+ className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3130
+ style: {
3131
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3132
+ color: sectionproperties.userinfotext_iconcolor,
3133
+ marginRight: langdetect == 'en' ? '5px' : 0,
3134
+ marginLeft: langdetect == 'en' ? 0 : '5px'
3135
+ }
3136
+ }, /*#__PURE__*/React__default["default"].createElement(bs.BsFillTelephoneFill, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3137
+ className: "m-0 p-0 wordbreak"
3138
+ }, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React__default["default"].createElement("div", {
3139
+ className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
3140
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3141
+ className: "m-0 p-0 d-flex align-items-center"
3142
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
3143
+ className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3144
+ style: {
3145
+ fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3146
+ color: sectionproperties.userinfotext_iconcolor,
3147
+ marginRight: langdetect == 'en' ? '5px' : 0,
3148
+ marginLeft: langdetect == 'en' ? 0 : '5px'
3149
+ }
3150
+ }, /*#__PURE__*/React__default["default"].createElement(gr.GrMail, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3151
+ className: "m-0 p-0 wordbreak"
3152
+ }, authdetailsContext.customerinfo.email))))), /*#__PURE__*/React__default["default"].createElement("div", {
3153
+ className: "col-lg-12 justify-content-end float-right pl-2 pr-2",
3154
+ style: {
3155
+ fontSize: sectionproperties.userinfo_titlefontsize + 'px',
3156
+ color: sectionproperties.userinfo_titlecolor,
3157
+ fontWeight: sectionproperties.userinfo_titlefontweight,
3158
+ textAlign: 'right',
3159
+ textDecoration: 'underline',
3160
+ cursor: 'pointer',
3161
+ position: 'absolute',
3162
+ right: 10,
3163
+ top: 10
3164
+ },
3165
+ onClick: function onClick() {
3166
+ routingcountext(StaticPagesLinksContext.accountinfo);
3167
+ }
3168
+ }, lang.update)))), /*#__PURE__*/React__default["default"].createElement("div", {
3169
+ className: "col-lg-12 p-0"
3170
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3171
+ style: {
3172
+ marginTop: sectionproperties.contactinfo_sectionmarginTop + 'px',
3173
+ marginBottom: sectionproperties.contactinfo_sectionmarginbottom + 'px',
3174
+ background: sectionproperties.contactinfo_sectionbgcolor,
3175
+ borderRadius: sectionproperties.contactinfo_sectionborderradius + 'px',
3176
+ border: sectionproperties.contactinfo_borderwidth + 'px solid ' + sectionproperties.contactinfo_sectionbordercolor
3177
+ }
3178
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3179
+ className: "col-lg-12 pl-3 pr-3 pt-2"
3180
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3181
+ className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3182
+ }, authdetailsContext.loggedin ? lang.addressdetails : lang.contactdetails)), /*#__PURE__*/React__default["default"].createElement("div", {
3183
+ className: "col-lg-12 p-0"
3184
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
3185
+ className: "mt-2 mb-2"
3186
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3187
+ className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
3188
+ }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3189
+ className: "col-lg-4 col-md-12 mb-3"
3190
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3191
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3192
+ }, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
3193
+ type: 'text',
3194
+ className: "".concat(formstyles.form_control),
3195
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : (_fetchcustomercartQue70 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : _fetchcustomercartQue70.customercart.name,
3196
+ onChange: function onChange(event) {
3197
+ cartinfoupdater('name', event.target.value);
3198
+ },
3199
+ style: {
3200
+ resize: 'none',
3201
+ fontWeight: sectionproperties.inputtextfontweight,
3202
+ background: sectionproperties.input_bgcolor,
3203
+ color: sectionproperties.inputfieldcolor,
3204
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3205
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
3206
+ boxShadow: 'none'
3207
+ }
3208
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3209
+ className: "col-lg-4 col-md-12 mb-3"
3210
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3211
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3212
+ }, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
3213
+ type: 'text',
3214
+ className: "".concat(formstyles.form_control),
3215
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue71 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue71 === void 0 ? void 0 : (_fetchcustomercartQue72 = _fetchcustomercartQue71.data) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.customercart.mobile,
3216
+ onChange: function onChange(event) {
3217
+ cartinfoupdater('mobile', event.target.value);
3218
+ },
3219
+ style: {
3220
+ resize: 'none',
3221
+ fontWeight: sectionproperties.inputtextfontweight,
3222
+ background: sectionproperties.input_bgcolor,
3223
+ color: sectionproperties.inputfieldcolor,
3224
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3225
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
3226
+ boxShadow: 'none'
3227
+ }
3228
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3229
+ className: "col-lg-4 col-md-12 mb-3"
3230
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3231
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3232
+ }, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
3233
+ type: 'text',
3234
+ className: "".concat(formstyles.form_control),
3235
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : (_fetchcustomercartQue74 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : _fetchcustomercartQue74.customercart.email,
3236
+ onChange: function onChange(event) {
3237
+ cartinfoupdater('email', event.target.value);
3238
+ },
3239
+ style: {
3240
+ resize: 'none',
3241
+ fontWeight: sectionproperties.inputtextfontweight,
3242
+ background: sectionproperties.input_bgcolor,
3243
+ color: sectionproperties.inputfieldcolor,
3244
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3245
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
3246
+ boxShadow: 'none'
3247
+ }
3248
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
3249
+ className: "col-lg-4 col-md-12 mb-3"
3250
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3251
+ className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3252
+ }, " ", lang.country), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3253
+ className: "w-100"
3254
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3255
+ color: "black",
3256
+ width: "20px",
3257
+ height: "20px",
3258
+ duration: "1s"
3259
+ })), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
3260
+ options: fetchTabexCountriesQueryContext.data.data.countries,
3261
+ getOptionLabel: function getOptionLabel(option) {
3262
+ return option.name;
3263
+ },
3264
+ getOptionValue: function getOptionValue(option) {
3265
+ return option.id;
3266
+ },
3267
+ value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
3268
+ var _fetchcustomercartQue75, _fetchcustomercartQue76;
3269
+
3270
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 ? void 0 : (_fetchcustomercartQue76 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.customercart.countryid);
3271
+ }),
3272
+ onChange: function onChange(option) {
3273
+ var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
3274
+
3275
+ tempFetchTabexStatesPayloadobjContext.functype = 'states';
3276
+ tempFetchTabexStatesPayloadobjContext.country_id = option.id;
3277
+ setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
3278
+ cartinfoupdater('countryid', option.id);
3279
+ },
3280
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3281
+ placeholder: lang.choosecountry,
3282
+ isSearchable: true
3283
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3284
+ className: "col-lg-4 col-md-12 mb-3"
3285
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3286
+ className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3287
+ }, lang.stategov), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3288
+ className: "w-100"
3289
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3290
+ color: "black",
3291
+ width: "20px",
3292
+ height: "20px",
3293
+ duration: "1s"
3294
+ })), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
3295
+ options: fetchTabexStatesQueryContext.data.data.states,
3296
+ getOptionLabel: function getOptionLabel(option) {
3297
+ return option.name;
3298
+ },
3299
+ getOptionValue: function getOptionValue(option) {
3300
+ return option.id;
3301
+ },
3302
+ value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
3303
+ var _fetchcustomercartQue77, _fetchcustomercartQue78;
3304
+
3305
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : (_fetchcustomercartQue78 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.customercart.stateid);
3306
+ }),
3307
+ onChange: function onChange(option) {
3308
+ var _fetchcustomercartQue79, _fetchcustomercartQue80;
3309
+
3310
+ if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : (_fetchcustomercartQue80 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.countryid.length) != 0) {
3311
+ var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
3312
+
3313
+ tempFetchTabexStatesPayloadobjContext.functype = 'cities';
3314
+ tempFetchTabexStatesPayloadobjContext.state_id = option.id;
3315
+ setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
3316
+ cartinfoupdater('stateid', option.id);
3317
+ } else {
3318
+ NotificationManager.warning('', 'Please Choose Country Or State');
3319
+ }
3320
+ },
3321
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3322
+ placeholder: lang.choosestategov,
3323
+ isSearchable: true
3324
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3325
+ className: "col-lg-4 col-md-12 mb-3"
3326
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3327
+ className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3328
+ }, lang.city), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3329
+ className: "w-100"
3330
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3331
+ color: "black",
3332
+ width: "20px",
3333
+ height: "20px",
3334
+ duration: "1s"
3335
+ })), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select, {
3336
+ options: fetchTabexCitiesQueryContext.data.data.cities,
3337
+ getOptionLabel: function getOptionLabel(option) {
3338
+ return option.name;
3339
+ },
3340
+ getOptionValue: function getOptionValue(option) {
3341
+ return option.id;
3342
+ },
3343
+ value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
3344
+ var _fetchcustomercartQue81, _fetchcustomercartQue82;
3345
+
3346
+ return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : (_fetchcustomercartQue82 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.cityid);
3347
+ }),
3348
+ onChange: function onChange(option) {
3349
+ cartinfoupdater('cityid', option.id);
3350
+ },
3351
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3352
+ placeholder: lang.choosecity,
3353
+ isSearchable: true
3354
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3355
+ className: "col-lg-12 mb-3"
3356
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3357
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3358
+ }, lang.shippingaddress), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
3359
+ type: 'text',
3360
+ className: "".concat(formstyles.form_control),
3361
+ value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : (_fetchcustomercartQue84 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.address,
3362
+ onChange: function onChange(event) {
3363
+ cartinfoupdater('address', event.target.value);
3364
+ },
3365
+ style: {
3366
+ resize: 'none',
3367
+ fontWeight: sectionproperties.inputtextfontweight,
3368
+ background: sectionproperties.input_bgcolor,
3369
+ color: sectionproperties.inputfieldcolor,
3370
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3371
+ borderRadius: sectionproperties.inputfieldborderradius + 'px',
3372
+ boxShadow: 'none'
3373
+ }
3374
+ }))))), /*#__PURE__*/React__default["default"].createElement("div", {
3375
+ className: "col-lg-12 p-0 w-100"
3376
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3377
+ style: {
3378
+ background: sectionproperties.payment_sectionbgcolor,
3379
+ borderRadius: sectionproperties.payment_borderradius + 'px',
3380
+ border: sectionproperties.payment_borderwidth + 'px solid ' + sectionproperties.payment_sectionbordercolor
3381
+ }
3382
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3383
+ className: "col-lg-12 pl-3 pr-3 pt-2"
3384
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3385
+ className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3386
+ }, lang.paymentmethod)), /*#__PURE__*/React__default["default"].createElement("div", {
3387
+ className: "col-lg-12 p-0"
3388
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
3389
+ className: "mt-2 mb-2"
3390
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3391
+ className: "row m-0 w-100 mb-3 pl-3 pr-3"
3392
+ }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3393
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3394
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3395
+ className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
3396
+ "for": "codcheckbox"
3397
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
3398
+ id: 'codcheckbox',
3399
+ type: "checkbox",
3400
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3401
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : (_fetchcustomercartQue86 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.paymentmethod) == 'cod' ? true : false,
3402
+ onChange: function onChange() {
3403
+ var _fetchcustomercartQue87, _fetchcustomercartQue88;
3404
+
3405
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : (_fetchcustomercartQue88 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.paymentmethod) != 'cod') {
3406
+ cartinfoupdater('paymentmethod', 'cod');
3407
+ }
3408
+ }
3409
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
3410
+ viewBox: "0 0 21 21",
3411
+ className: checkoutstyles.svgstyles + ' h-100 '
3412
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3413
+ 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"
3414
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
3415
+ className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
3416
+ style: {}
3417
+ }, lang.cod))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3418
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3419
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3420
+ 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 '
3421
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
3422
+ type: "checkbox",
3423
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3424
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : (_fetchcustomercartQue90 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.paymentmethod) == 'cardondelivery' ? true : false,
3425
+ onChange: function onChange() {
3426
+ var _fetchcustomercartQue91, _fetchcustomercartQue92;
3427
+
3428
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : (_fetchcustomercartQue92 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.paymentmethod) != 'cardondelivery') {
3429
+ cartinfoupdater('paymentmethod', 'cardondelivery');
3430
+ }
3431
+ }
3432
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
3433
+ viewBox: "0 0 21 21",
3434
+ className: checkoutstyles.svgstyles + ' h-100 '
3435
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3436
+ 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"
3437
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
3438
+ className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
3439
+ }, " ", lang.cardondelivery))), authdetailsContext.instinfo.acceptOnlineCardPayment == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
3440
+ className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3441
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3442
+ 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 '
3443
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
3444
+ type: "checkbox",
3445
+ className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3446
+ checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 ? void 0 : (_fetchcustomercartQue94 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.customercart.paymentmethod) == 'onlinepayment' ? true : false,
3447
+ onChange: function onChange() {
3448
+ var _fetchcustomercartQue95, _fetchcustomercartQue96;
3449
+
3450
+ if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : (_fetchcustomercartQue96 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) != 'onlinepayment') {
3451
+ cartinfoupdater('paymentmethod', 'onlinepayment');
3452
+ }
3453
+ }
3454
+ }), /*#__PURE__*/React__default["default"].createElement("svg", {
3455
+ viewBox: "0 0 21 21",
3456
+ className: checkoutstyles.svgstyles + ' h-100 '
3457
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3458
+ 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"
3459
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
3460
+ className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
3461
+ }, " ", lang.onlinepayment)))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : (_fetchcustomercartQue98 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
3462
+ className: "col-lg-12 p-0 w-100 mb-3"
3463
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3464
+ style: {
3465
+ background: sectionproperties.payment_sectionbgcolor,
3466
+ borderRadius: sectionproperties.payment_borderradius + 'px',
3467
+ borderColor: sectionproperties.payment_sectionbordercolor
3468
+ }
3469
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3470
+ className: "col-lg-12 pl-3 pr-3 pt-2"
3471
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
3472
+ className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3473
+ }, lang.paymentcardinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
3474
+ className: "col-lg-12 p-0"
3475
+ }, /*#__PURE__*/React__default["default"].createElement("hr", {
3476
+ className: "mt-2 mb-2"
3477
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3478
+ className: "w-100 row m-0 pl-3 pr-3 pt-2 pb-2"
3479
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3480
+ className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
3481
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3482
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3483
+ }, lang.cardnumber), /*#__PURE__*/React__default["default"].createElement("input", {
3484
+ className: formstyles.form_controlcheckout,
3485
+ type: "text",
3486
+ textplaceholder: "",
3487
+ onChange: function onChange(event) {},
3488
+ style: {
3489
+ fontWeight: sectionproperties.inputtextfontweight,
3490
+ background: sectionproperties.input_bgcolor,
3491
+ color: sectionproperties.inputfieldcolor,
3492
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3493
+ borderRadius: sectionproperties.inputfieldborderradius + 'px'
3494
+ }
3495
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3496
+ className: "w-100 row m-0"
3497
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3498
+ className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3499
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3500
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3501
+ }, lang.year), /*#__PURE__*/React__default["default"].createElement("input", {
3502
+ className: formstyles.form_controlcheckout,
3503
+ type: "text",
3504
+ textplaceholder: "",
3505
+ onChange: function onChange(event) {},
3506
+ style: {
3507
+ fontWeight: sectionproperties.inputtextfontweight,
3508
+ background: sectionproperties.input_bgcolor,
3509
+ color: sectionproperties.inputfieldcolor,
3510
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3511
+ borderRadius: sectionproperties.inputfieldborderradius + 'px'
3512
+ }
3513
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3514
+ className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3515
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3516
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3517
+ }, lang.month), /*#__PURE__*/React__default["default"].createElement("input", {
3518
+ className: formstyles.form_controlcheckout,
3519
+ type: "text",
3520
+ textplaceholder: "",
3521
+ onChange: function onChange(event) {},
3522
+ style: {
3523
+ fontWeight: sectionproperties.inputtextfontweight,
3524
+ background: sectionproperties.input_bgcolor,
3525
+ color: sectionproperties.inputfieldcolor,
3526
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3527
+ borderRadius: sectionproperties.inputfieldborderradius + 'px'
3528
+ }
3529
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
3530
+ className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3531
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3532
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3533
+ }, lang.cvv), /*#__PURE__*/React__default["default"].createElement("input", {
3534
+ className: formstyles.form_controlcheckout,
3535
+ type: "text",
3536
+ textplaceholder: "",
3537
+ onChange: function onChange(event) {},
3538
+ style: {
3539
+ fontWeight: sectionproperties.inputtextfontweight,
3540
+ background: sectionproperties.input_bgcolor,
3541
+ color: sectionproperties.inputfieldcolor,
3542
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3543
+ borderRadius: sectionproperties.inputfieldborderradius + 'px'
3544
+ }
3545
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
3546
+ className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0 mb-3"
3547
+ }, /*#__PURE__*/React__default["default"].createElement("label", {
3548
+ className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3549
+ }, lang.nameoncard), /*#__PURE__*/React__default["default"].createElement("input", {
3550
+ className: formstyles.form_controlcheckout,
3551
+ type: "text",
3552
+ textplaceholder: "",
3553
+ onChange: function onChange(event) {},
3554
+ style: {
3555
+ fontWeight: sectionproperties.inputtextfontweight,
3556
+ background: sectionproperties.input_bgcolor,
3557
+ color: sectionproperties.inputfieldcolor,
3558
+ fontSize: sectionproperties.inputfieldfontsize + 'px',
3559
+ borderRadius: sectionproperties.inputfieldborderradius + 'px'
3560
+ }
3561
+ })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3562
+ className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
3563
+ }, Mycart()))));
3053
3564
  };
3054
3565
 
3055
3566
  var css_248z$s = ".tabs-module_tabs__36dMY {\n position: relative;\n height: auto;\n display: flex;\n width: 100% !important;\n flex-direction: column;\n word-wrap: break-word;\n}\n.tabs-module_tabs__36dMY input[name='tab-control'] {\n display: none;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n list-style-type: none;\n padding-left: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n /* width: 30%; */\n height: 100%;\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n box-sizing: border-box;\n flex: 1;\n display: inline-block;\n width: 100% !important;\n text-align: left;\n /* border-right: 1px solid #ccc; */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n font-size: 16px;\n font-weight: 500;\n transition: all 0.3s ease-in-out;\n padding: 10px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: block;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n white-space: nowrap;\n /* color: var(--light2); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label:hover {\n outline: 0;\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label.tabs-module_active__6wLfI {\n /* border-right: 5px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(1):checked ~ ul li:nth-child(1) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(2):checked ~ ul li:nth-child(2) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(3):checked ~ ul li:nth-child(3) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n.tabs-module_tabs__36dMY input[name='tab-control']:nth-of-type(4):checked ~ ul li:nth-child(4) label {\n cursor: default;\n background: white;\n /* border-top: 3px solid var(--secondary); */\n}\n@media screen and (max-width: 800px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy {\n width: 100%;\n display: block;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 50% !important;\n float: none;\n display: inline-block;\n zoom: 1;\n border-right: 0 !important;\n }\n label:hover {\n border-right: 0 !important;\n border-top: 3px solid !important;\n }\n}\n@media (max-width: 576px) {\n .tabs-module_tabs__36dMY .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n width: 100% !important;\n }\n}\n\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy {\n flex-direction: row !important;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 {\n /* border-top: 5px solid #fff; */\n margin: 0 5px;\n}\n.tabs-module_policiestabs__nopXD .tabs-module_tabsul__wNZqy .tabs-module_tabsli__-uR10 label {\n padding: 0 !important;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";