tabexseriescomponents 0.0.38 → 0.0.41

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
- 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-select'), require('react-notifications'), 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')) :
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-select', 'react-notifications', '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'], 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, global.TextareaAutosize, global.Select, global.reactNotifications, 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, Select, reactNotifications, gr, reactAccessibleAccordion, Dropdown, reactIntersectionObserver, axios, reactHorizontalScrollingMenu, BackgroundSlideshow, reactSlideshowImage, _extends, reactRouterDom, bi, ri) { 'use strict';
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-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
+ 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-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, 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, 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,8 +19,6 @@
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);
23
- var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select);
24
22
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
25
23
  var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
26
24
  var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
@@ -361,9 +359,9 @@
361
359
  }
362
360
  }
363
361
 
364
- var css_248z$x = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_login_input_icontrans__8whFD{\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n padding-right: 10px;\n}\n\n@media screen and (max-width: 500px) {\n .login-module_form_control__-41tV {\n /* padding: 0 5px !important; */\n }\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n padding-left: 20px;\n}\n\n/* Forms */\n.login-module_form_control__-41tV {\n display: block;\n width: 100%;\n height: 35px;\n font-size: 1rem;\n color: var(--cardtitle);\n background: no-repeat center bottom, center calc(100% - 1px);\n background-size: 0 100%, 100% 100%;\n background-clip: padding-box;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 30px;\n font-weight: 600;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n background-size: 100% 100%, 100% 100%;\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV {\n background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%);\n background-repeat: repeat-x;\n background-size: 3px 1px;\n cursor: not-allowed;\n}\n";
362
+ var css_248z$w = ".login-module_login_input_icon__hETpJ {\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n left: 0;\n padding-left: 15px;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n}\n.login-module_login_input_icontrans__8whFD{\n font-size: 15px;\n color: #999999;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n align-items: center;\n position: absolute;\n border-radius: 25px;\n bottom: 10px;\n right: 5;\n pointer-events: none;\n -webkit-transition: all 0.4s;\n -o-transition: all 0.4s;\n -moz-transition: all 0.4s;\n transition: all 0.4s;\n\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icontrans__8whFD {\n padding-right: 10px;\n}\n\n@media screen and (max-width: 500px) {\n .login-module_form_control__-41tV {\n /* padding: 0 5px !important; */\n }\n .login-module_login_input_icon__hETpJ {\n padding-left: 0 !important;\n }\n .login-module_rightContainer__Nt9tD {\n border-radius: 0 0 15px 15px !important;\n }\n .login-module_leftcontainer__Rlat- {\n border-radius: 15px 15px 0 0 !important;\n }\n}\n.login-module_form_control__-41tV:focus {\n -webkit-animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n animation: login-module_anim-shadow__4SiKH 0.5s ease-in-out forwards;\n}\n.login-module_form_control__-41tV:focus + .login-module_login_input_icon__hETpJ {\n padding-left: 20px;\n}\n\n/* Forms */\n.login-module_form_control__-41tV {\n display: block;\n width: 100%;\n height: 35px;\n font-size: 1rem;\n color: var(--cardtitle);\n background: no-repeat center bottom, center calc(100% - 1px);\n background-size: 0 100%, 100% 100%;\n background-clip: padding-box;\n padding-left: 0;\n padding-right: 0;\n font-size: 14px;\n transition: background 0s ease-out;\n border: 0;\n padding: 0 30px;\n font-weight: 600;\n display: flex;\n align-items: center;\n position: relative;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .login-module_form_control__-41tV {\n transition: none;\n }\n}\n.login-module_form_control__-41tV::-ms-expand {\n background-color: transparent;\n border: 0;\n}\n.login-module_form_control__-41tV:focus {\n outline: 0;\n}\n.login-module_form_control__-41tV::placeholder {\n color: #eac435;\n opacity: 1;\n}\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[readonly] {\n background-color: #e9ecef;\n opacity: 1;\n cursor: not-allowed;\n}\ntextarea.login-module_form_control__-41tV {\n height: auto;\n}\n.login-module_form_control__-41tV:focus {\n background-size: 100% 100%, 100% 100%;\n transition-duration: 0.3s;\n box-shadow: none;\n}\n.login-module_form_control__-41tV::-moz-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV:-ms-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV::-webkit-input-placeholder {\n color: #aaaaaa;\n font-weight: 400;\n font-size: 14px;\n}\n.login-module_form_control__-41tV {\n background-image: linear-gradient(to top, #000 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);\n}\n.login-module_form_control_border_none__dkr-m {\n background-image: none;\n}\n.login-module_form_control__-41tV.login-module_disabled__fUlAg,\n.login-module_form_control__-41tV:disabled,\n.login-module_form_control__-41tV[disabled] {\n background-image: linear-gradient(to right, #d2d2d2 0%, #d2d2d2 30%, transparent 30%, transparent 100%);\n background-repeat: repeat-x;\n background-size: 3px 1px;\n cursor: not-allowed;\n}\n";
365
363
  var loginstyles = {"login_input_icon":"login-module_login_input_icon__hETpJ","login_input_icontrans":"login-module_login_input_icontrans__8whFD","form_control":"login-module_form_control__-41tV","rightContainer":"login-module_rightContainer__Nt9tD","leftcontainer":"login-module_leftcontainer__Rlat-","anim-shadow":"login-module_anim-shadow__4SiKH","form_control_border_none":"login-module_form_control_border_none__dkr-m","disabled":"login-module_disabled__fUlAg"};
366
- styleInject(css_248z$x);
364
+ styleInject(css_248z$w);
367
365
 
368
366
  var GoogleLoginButton = function GoogleLoginButton(props) {
369
367
  var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
@@ -393,9 +391,9 @@
393
391
  })))));
394
392
  };
395
393
 
396
- var css_248z$w = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');\n:root {\n --cimon: #f76566;\n --primary: #022648; /* rgba (2,38,72) */\n --secondary: #eac435;\n --success: #2f9d64;\n --successhover: #1d623f;\n --info: #16aaff; /*rgb(22, 170, 255)*/\n --infohover: #0071b3; /*rgb(0, 113, 179)*/\n --danger: #d92550; /* rgb(217, 37, 80) */\n --dangerhover: #991a37; /* rgb(153, 26, 55) */\n --fav: #ff1a75; /* rgb(255, 26, 117) */\n --favhover: #cc0052; /* rgb(204, 0, 82) */\n --light: #999999;\n --light2: #808080;\n --dark: #454d54;\n --darkhover: #343a40;\n --focus: #444054;\n --cardtitle: rgba(13, 27, 62, 0.7);\n --cardheader: #008eb3;\n --cardHeaderHover: #007a99;\n --darkblue: #0000b3;\n --orange: #ff6600;\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n font-family: 'Poppins', sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n margin: 0;\n font-family: 'Poppins', sans-serif;\n font-size: 0.88rem;\n font-weight: 400;\n line-height: 1.5;\n /* color: #022648; */\n text-align: left;\n background: #fff;\n overflow-x: hidden;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody::-webkit-scrollbar {\n width: 5px;\n}\nbody::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px grey;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb {\n background: #022648;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb:hover {\n background: #eac435;\n}\n.general-module_shadow_bottom__YcJR3 {\n box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);\n transition: 0.3s;\n}\n.general-module_shadow_bottom__YcJR3:hover {\n box-shadow: 0px 9px 20px rgba(75, 72, 72, 0.3);\n}\n.general-module_overflowY_scroll__m5upZ {\n overflow-y: scroll;\n}\n\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar {\n width: 5px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-track {\n /* box-shadow: inset 0 0 5px grey; */\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb {\n background: #4d4d4d;\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb:hover {\n background: #999999;\n}\n/* badges */\n.general-module_badge__GTiMs {\n display: inline-block;\n padding: 0.25em;\n font-size: 90%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 50%;\n margin-left: -15%;\n width: 3vh;\n height: 3vh;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .general-module_badge__GTiMs {\n transition: none;\n }\n}\n.general-module_badge__GTiMs:empty {\n display: none;\n}\n.general-module_badge_secondary__p6ErJ {\n min-width: 2.5vh;\n height: 2.5vh;\n border-radius: 5px;\n background: #eac435;\n color: white;\n font-size: 12px;\n /* line-height: 3vh; */\n}\na {\n color: #022648;\n text-decoration: none;\n background-color: transparent;\n}\n\n.general-module_divider__WFV-A {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 1px;\n overflow: hidden;\n background: #e9ecef;\n}\n.general-module_verical_divider__u5DxE {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 40px;\n overflow: hidden;\n background: #e1e6ea;\n width: 1px;\n}\n\n/* Table */\ntable {\n border-collapse: collapse;\n}\nth {\n text-align: inherit;\n}\n.general-module_table__hdcWN {\n width: 100%;\n margin-bottom: 1rem;\n background-color: rgba(0, 0, 0, 0);\n}\n.general-module_table__hdcWN th,\n.general-module_table__hdcWN td {\n padding: 0.55rem;\n border-top: 1px solid #e9ecef;\n}\n.general-module_table__hdcWN th.general-module_mw-200__PaU8G,\n.general-module_table__hdcWN td.general-module_mw-200__PaU8G {\n max-width: 200px;\n}\n.general-module_table__hdcWN thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #e9ecef;\n font-size: 15px;\n}\n.general-module_table__hdcWN td {\n color: var(--focus);\n font-size: 15px;\n}\n.general-module_table_bordered__JKIJp {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp th,\n.general-module_table_bordered__JKIJp td {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp thead th,\n.general-module_table_bordered__JKIJp thead td {\n border-bottom-width: 2px;\n}\n.general-module_table_borderless__OF0cl th,\n.general-module_table_borderless__OF0cl td,\n.general-module_table_borderless__OF0cl thead th,\n.general-module_table_borderless__OF0cl tbody + tbody {\n border: 0;\n}\n.general-module_table_striped__wWBA6 tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.general-module_table_hover__EiJha tbody tr:hover {\n background-color: #e0f3ff;\n}\n.general-module_table_responsive__JPCKF {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.general-module_table_responsive__JPCKF > .general-module_table_bordered__JKIJp {\n border: 0;\n}\n.general-module_table_translation__x1Rpf {\n background: rgba(0, 0, 0, 0.1);\n border-radius: 20px;\n padding: 5px;\n font-weight: 500;\n width: 100px;\n /* margin-left: auto;\n margin-right: auto; */\n}\n.general-module_table_translation__x1Rpf i {\n font-size: 20px;\n}\n.general-module_table_icon__EMMDI {\n font-size: 20px;\n transition: 0.3s;\n cursor: pointer;\n}\n.general-module_table_icon__EMMDI:hover {\n color: var(--secondary);\n}\n.general-module_image_table__HqRaH {\n width: 5vh;\n height: 5vh;\n box-shadow: 0 0 10px #ccc;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n border-radius: 5px;\n}\n.general-module_image_table__HqRaH img {\n max-width: 95%;\n max-height: 95%;\n border-radius: 5px;\n}\n.general-module_shownumber_cont__34Y5j {\n min-width: 3rem;\n background: white;\n box-shadow: 0 0 10px #ccc;\n border: 1px solid #ccc;\n border-radius: 10px;\n cursor: pointer;\n}\n.general-module_card_input_table__vVK0p {\n min-width: 90%;\n height: 35px;\n}\n.general-module_card_input_table__vVK0p imput {\n height: 35px;\n}\n\n/* Buttons */\n.general-module_btn__FAb1b {\n display: inline-block;\n font-weight: 500;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border-radius: 20px;\n height: 35px;\n padding: 0 10px;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n font-size: 13px;\n}\n.general-module_btn_rounded__Rkb8o {\n width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .general-module_btn__FAb1b {\n transition: none;\n }\n}\n.general-module_btn__FAb1b:hover {\n text-decoration: none;\n}\n.general-module_btn__FAb1b:focus,\n.general-module_btn__FAb1b.general-module_focus__8-F6p {\n outline: 0;\n box-shadow: none;\n}\n.general-module_btn__FAb1b.general-module_disabled__PRzt-,\n.general-module_btn__FAb1b:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-) {\n cursor: pointer;\n}\na.general-module_btn__FAb1b.general-module_disabled__PRzt- {\n pointer-events: none;\n cursor: not-allowed;\n}\n.general-module_btn_tranparent__GFTRs {\n color: #fff;\n background-color: tranparent;\n border-color: tranparent;\n}\n.general-module_btn_circle__lOyd4 {\n border-radius: 100%;\n width: 35px;\n height: 35px;\n line-height: 20px;\n padding: 10px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.general-module_btn_white__H0esd {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n color: var(--primary);\n}\n.general-module_btn_white__H0esd:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_white__H0esd.general-module_disabled__PRzt-,\n.general-module_btn_white__H0esd:disabled {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_black__NcqLp {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n.general-module_btn_black__NcqLp:hover {\n color: #fff;\n background-color: #595959;\n border-color: #595959;\n}\n.general-module_btn_black__NcqLp.general-module_disabled__PRzt-,\n.general-module_btn_black__NcqLp:disabled {\n color: #fff;\n background-color: #000;\n border-color: #000;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_primary__C5oTz {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n}\n.general-module_btn_primary__C5oTz:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_primary__C5oTz.general-module_disabled__PRzt-,\n.general-module_btn_primary__C5oTz:disabled {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_secondary__MbOCN {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_secondary__MbOCN:hover {\n color: #fff;\n background-color: #5a6268;\n border-color: #545b62;\n}\n.general-module_btn_secondary__MbOCN.general-module_disabled__PRzt-,\n.general-module_btn_secondary__MbOCN:disabled {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_success__iV5-t {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n}\n.general-module_btn_success__iV5-t:hover {\n color: #fff;\n background-color: var(--successhover);\n border-color: var(--successhover);\n}\n.general-module_btn_success__iV5-t.general-module_disabled__PRzt-,\n.general-module_btn_success__iV5-t:disabled {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_info__-ClLB {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n}\n.general-module_btn_info__-ClLB:hover {\n color: #fff;\n background-color: var(--infohover);\n border-color: var(--infohover);\n}\n.general-module_btn_info__-ClLB.general-module_disabled__PRzt-,\n.general-module_btn_info__-ClLB:disabled {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_danger__b0QkM {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n}\n.general-module_btn_danger__b0QkM:hover {\n color: #fff;\n background-color: var(--dangerhover);\n border-color: var(--dangerhover);\n}\n.general-module_btn_danger__b0QkM.general-module_disabled__PRzt-,\n.general-module_btn_danger__b0QkM:disabled {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_dark__hSWyC {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_dark__hSWyC:hover {\n color: #fff;\n background-color: var(--darkhover);\n border-color: var(--darkhover);\n}\n.general-module_btn_dark__hSWyC.general-module_disabled__PRzt-,\n.general-module_btn_dark__hSWyC:disabled {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-):active,\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-).general-module_active__MPpsF {\n color: #fff;\n background-color: #ccc;\n border-color: #ccc;\n}\n.general-module_btn_grey__fGIYU {\n color: #fff;\n background-color: var(--focus);\n border-color: var(--focus);\n}\n.general-module_btn_grey__fGIYU:hover {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_cardheader__vccWl {\n color: #fff;\n background-color: var(--cardheader);\n border-color: var(--cardheader);\n}\n.general-module_btn_cardheader__vccWl:hover {\n color: #fff;\n background-color: #007a99;\n border-color: #007a99;\n}\n.general-module_btn_cardheader__vccWl.general-module_disabled__PRzt-,\n.general-module_btn_cardheader__vccWl:disabled {\n color: #fff;\n background-color: #005166;\n border-color: #005166;\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n/* Borders */\n.general-module_border_primary__Jqm8o {\n border-color: #022648;\n}\n.general-module_border_secondary__xiHt3 {\n border-color: #eac435;\n}\n.general-module_border_success__kWv6N {\n border-color: var(--success);\n}\n.general-module_border_info__wfOF- {\n border-color: #16aaff;\n}\n.general-module_border_warning__mSIRm {\n border-color: #f7b924;\n}\n.general-module_border_danger__U7veI {\n border-color: #d92550;\n}\n.general-module_border__Pvp44 {\n border: 1px solid #dee2e6 !important;\n}\n.general-module_border_top__0-KRU {\n border-top: 1px solid #dee2e6 !important;\n}\n.general-module_border_right__7QXHH {\n border-right: 1px solid #dee2e6 !important;\n}\n.general-module_border_bottom__Xyy95 {\n border-bottom: 1px solid #dee2e6 !important;\n}\n.general-module_border_left__90qSD {\n border-left: 1px solid #dee2e6 !important;\n}\n.general-module_border_0__YO9qY {\n border: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_right_0__FaED6 {\n border-right: 0 !important;\n}\n.general-module_border_bottom_0__NZhJm {\n border-bottom: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_left_0__gjITr {\n border-left: 0 !important;\n}\n/* Inner Content */\n.general-module_app_container__-NNzK {\n display: flex;\n flex-direction: column;\n margin: 0;\n position: relative !important;\n}\n.general-module_app_main__3s9rd {\n z-index: 8;\n position: relative;\n}\n.general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n flex: 1;\n padding: 130px 40px 0;\n}\n.general-module_app_main_inner_headertwo__UkOlN {\n padding: 100px 40px 0 !important;\n}\n.general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 20px 0 280px !important;\n}\n@media screen and (max-width: 1025px) {\n .general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 10px !important;\n }\n}\n/* Card */\n.general-module_card__KT-JI {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: white !important;\n background-clip: border-box;\n border-radius: 15px;\n padding: 0.5em 0.8em;\n transition: all 0.2s;\n}\n.general-module_card_border_10__M-cl- {\n border-radius: 10px !important;\n}\n/* Responsive */\n@media (max-width: 991.98px) {\n .general-module_app_main__3s9rd {\n display: block;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outer__gNSLc {\n padding-left: 0 !important;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outertranslated__IZRx2 {\n padding-right: 0;\n padding-left: 0;\n }\n}\n@media (max-width: 1025px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0;\n }\n}\n@media (max-width: 800px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0 !important;\n }\n}\n\n@media (max-width: 600px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 70px 20px !important;\n }\n}\n\n/* Pills */\n.general-module_pill__gHCcE {\n min-width: 9vh;\n height: 4vh;\n color: white;\n padding: 0 1%;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-size: 12px;\n}\n.general-module_fadeIn__bUx2u {\n /* opacity: 1; */\n display: block;\n visibility: visible;\n transition: 1s ease-in-out;\n transition-delay: 0s;\n}\n.general-module_fadeOut__R13Fc {\n /* opacity: 0; */\n display: none;\n visibility: hidden;\n transition: 1s ease-in-out;\n}\n.general-module_fadeInButton__1daVD {\n display: block;\n}\n.general-module_fadeOutButton__8BRUG {\n display: none;\n}\n\n/* Section Title */\n.general-module_sectiontitlecont__F-e6k {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont__F-e6k span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont__F-e6k span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n height: 3px;\n border-radius: 20px;\n z-index: 1000;\n}\n.general-module_homesectiontitlecont__ZfXNm span {\n font-size: 25px !important;\n}\n\n.general-module_sectiontitlecont2__mfEaP {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont2__mfEaP span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont2__mfEaP span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n border-radius: 20px;\n z-index: 1000;\n}\n";
394
+ var css_248z$v = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');\n:root {\n --cimon: #f76566;\n --primary: #022648; /* rgba (2,38,72) */\n --secondary: #eac435;\n --success: #2f9d64;\n --successhover: #1d623f;\n --info: #16aaff; /*rgb(22, 170, 255)*/\n --infohover: #0071b3; /*rgb(0, 113, 179)*/\n --danger: #d92550; /* rgb(217, 37, 80) */\n --dangerhover: #991a37; /* rgb(153, 26, 55) */\n --fav: #ff1a75; /* rgb(255, 26, 117) */\n --favhover: #cc0052; /* rgb(204, 0, 82) */\n --light: #999999;\n --light2: #808080;\n --dark: #454d54;\n --darkhover: #343a40;\n --focus: #444054;\n --cardtitle: rgba(13, 27, 62, 0.7);\n --cardheader: #008eb3;\n --cardHeaderHover: #007a99;\n --darkblue: #0000b3;\n --orange: #ff6600;\n}\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\nhtml {\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n font-family: 'Poppins', sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nbody {\n margin: 0;\n font-family: 'Poppins', sans-serif;\n font-size: 0.88rem;\n font-weight: 400;\n line-height: 1.5;\n /* color: #022648; */\n text-align: left;\n background: #fff;\n overflow-x: hidden;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n}\nbody::-webkit-scrollbar {\n width: 5px;\n}\nbody::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px grey;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb {\n background: #022648;\n border-radius: 10px;\n}\nbody::-webkit-scrollbar-thumb:hover {\n background: #eac435;\n}\n.general-module_shadow_bottom__YcJR3 {\n box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);\n transition: 0.3s;\n}\n.general-module_shadow_bottom__YcJR3:hover {\n box-shadow: 0px 9px 20px rgba(75, 72, 72, 0.3);\n}\n.general-module_overflowY_scroll__m5upZ {\n overflow-y: scroll;\n}\n\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar {\n width: 5px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-track {\n /* box-shadow: inset 0 0 5px grey; */\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb {\n background: #4d4d4d;\n border-radius: 10px;\n}\n.general-module_sub_scrollbar__mpHTI::-webkit-scrollbar-thumb:hover {\n background: #999999;\n}\n/* badges */\n.general-module_badge__GTiMs {\n display: inline-block;\n padding: 0.25em;\n font-size: 90%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 50%;\n margin-left: -15%;\n width: 3vh;\n height: 3vh;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .general-module_badge__GTiMs {\n transition: none;\n }\n}\n.general-module_badge__GTiMs:empty {\n display: none;\n}\n.general-module_badge_secondary__p6ErJ {\n min-width: 2.5vh;\n height: 2.5vh;\n border-radius: 5px;\n background: #eac435;\n color: white;\n font-size: 12px;\n /* line-height: 3vh; */\n}\na {\n color: #022648;\n text-decoration: none;\n background-color: transparent;\n}\n\n.general-module_divider__WFV-A {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 1px;\n overflow: hidden;\n background: #e9ecef;\n}\n.general-module_verical_divider__u5DxE {\n margin-top: 1rem;\n margin-bottom: 1rem;\n height: 40px;\n overflow: hidden;\n background: #e1e6ea;\n width: 1px;\n}\n\n/* Table */\ntable {\n border-collapse: collapse;\n}\nth {\n text-align: inherit;\n}\n.general-module_table__hdcWN {\n width: 100%;\n margin-bottom: 1rem;\n background-color: rgba(0, 0, 0, 0);\n}\n.general-module_table__hdcWN th,\n.general-module_table__hdcWN td {\n padding: 0.55rem;\n border-top: 1px solid #e9ecef;\n}\n.general-module_table__hdcWN th.general-module_mw-200__PaU8G,\n.general-module_table__hdcWN td.general-module_mw-200__PaU8G {\n max-width: 200px;\n}\n.general-module_table__hdcWN thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #e9ecef;\n font-size: 15px;\n}\n.general-module_table__hdcWN td {\n color: var(--focus);\n font-size: 15px;\n}\n.general-module_table_bordered__JKIJp {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp th,\n.general-module_table_bordered__JKIJp td {\n border: 1px solid #e9ecef;\n}\n.general-module_table_bordered__JKIJp thead th,\n.general-module_table_bordered__JKIJp thead td {\n border-bottom-width: 2px;\n}\n.general-module_table_borderless__OF0cl th,\n.general-module_table_borderless__OF0cl td,\n.general-module_table_borderless__OF0cl thead th,\n.general-module_table_borderless__OF0cl tbody + tbody {\n border: 0;\n}\n.general-module_table_striped__wWBA6 tbody tr:nth-of-type(odd) {\n background-color: rgba(0, 0, 0, 0.03);\n}\n.general-module_table_hover__EiJha tbody tr:hover {\n background-color: #e0f3ff;\n}\n.general-module_table_responsive__JPCKF {\n display: block;\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.general-module_table_responsive__JPCKF > .general-module_table_bordered__JKIJp {\n border: 0;\n}\n.general-module_table_translation__x1Rpf {\n background: rgba(0, 0, 0, 0.1);\n border-radius: 20px;\n padding: 5px;\n font-weight: 500;\n width: 100px;\n /* margin-left: auto;\n margin-right: auto; */\n}\n.general-module_table_translation__x1Rpf i {\n font-size: 20px;\n}\n.general-module_table_icon__EMMDI {\n font-size: 20px;\n transition: 0.3s;\n cursor: pointer;\n}\n.general-module_table_icon__EMMDI:hover {\n color: var(--secondary);\n}\n.general-module_image_table__HqRaH {\n width: 5vh;\n height: 5vh;\n box-shadow: 0 0 10px #ccc;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n border-radius: 5px;\n}\n.general-module_image_table__HqRaH img {\n max-width: 95%;\n max-height: 95%;\n border-radius: 5px;\n}\n.general-module_shownumber_cont__34Y5j {\n min-width: 3rem;\n background: white;\n box-shadow: 0 0 10px #ccc;\n border: 1px solid #ccc;\n border-radius: 10px;\n cursor: pointer;\n}\n.general-module_card_input_table__vVK0p {\n min-width: 90%;\n height: 35px;\n}\n.general-module_card_input_table__vVK0p imput {\n height: 35px;\n}\n\n/* Buttons */\n.general-module_btn__FAb1b {\n display: inline-block;\n font-weight: 500;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border-radius: 20px;\n height: 35px;\n padding: 0 10px;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n font-size: 13px;\n}\n.general-module_btn_rounded__Rkb8o {\n width: 5vh !important;\n height: 5vh !important;\n border-radius: 50% !important;\n}\n@media screen and (prefers-reduced-motion: reduce) {\n .general-module_btn__FAb1b {\n transition: none;\n }\n}\n.general-module_btn__FAb1b:hover {\n text-decoration: none;\n}\n.general-module_btn__FAb1b:focus,\n.general-module_btn__FAb1b.general-module_focus__8-F6p {\n outline: 0;\n box-shadow: none;\n}\n.general-module_btn__FAb1b.general-module_disabled__PRzt-,\n.general-module_btn__FAb1b:disabled {\n opacity: 0.65;\n cursor: not-allowed;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-) {\n cursor: pointer;\n}\na.general-module_btn__FAb1b.general-module_disabled__PRzt- {\n pointer-events: none;\n cursor: not-allowed;\n}\n.general-module_btn_tranparent__GFTRs {\n color: #fff;\n background-color: tranparent;\n border-color: tranparent;\n}\n.general-module_btn_circle__lOyd4 {\n border-radius: 100%;\n width: 35px;\n height: 35px;\n line-height: 20px;\n padding: 10px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.general-module_btn_white__H0esd {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n color: var(--primary);\n}\n.general-module_btn_white__H0esd:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_white__H0esd.general-module_disabled__PRzt-,\n.general-module_btn_white__H0esd:disabled {\n color: #fff;\n background-color: #fff;\n border-color: #fff;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_black__NcqLp {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n.general-module_btn_black__NcqLp:hover {\n color: #fff;\n background-color: #595959;\n border-color: #595959;\n}\n.general-module_btn_black__NcqLp.general-module_disabled__PRzt-,\n.general-module_btn_black__NcqLp:disabled {\n color: #fff;\n background-color: #000;\n border-color: #000;\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_primary__C5oTz {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n}\n.general-module_btn_primary__C5oTz:hover {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_primary__C5oTz.general-module_disabled__PRzt-,\n.general-module_btn_primary__C5oTz:disabled {\n color: #fff;\n background-color: var(--primary);\n border-color: var(--primary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_secondary__MbOCN {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n}\n.general-module_btn_secondary__MbOCN:hover {\n color: #fff;\n background-color: #5a6268;\n border-color: #545b62;\n}\n.general-module_btn_secondary__MbOCN.general-module_disabled__PRzt-,\n.general-module_btn_secondary__MbOCN:disabled {\n color: #fff;\n background-color: var(--secondary);\n border-color: var(--secondary);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_success__iV5-t {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n}\n.general-module_btn_success__iV5-t:hover {\n color: #fff;\n background-color: var(--successhover);\n border-color: var(--successhover);\n}\n.general-module_btn_success__iV5-t.general-module_disabled__PRzt-,\n.general-module_btn_success__iV5-t:disabled {\n color: #fff;\n background-color: var(--success);\n border-color: var(--success);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_info__-ClLB {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n}\n.general-module_btn_info__-ClLB:hover {\n color: #fff;\n background-color: var(--infohover);\n border-color: var(--infohover);\n}\n.general-module_btn_info__-ClLB.general-module_disabled__PRzt-,\n.general-module_btn_info__-ClLB:disabled {\n color: #fff;\n background-color: var(--info);\n border-color: var(--info);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_danger__b0QkM {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n}\n.general-module_btn_danger__b0QkM:hover {\n color: #fff;\n background-color: var(--dangerhover);\n border-color: var(--dangerhover);\n}\n.general-module_btn_danger__b0QkM.general-module_disabled__PRzt-,\n.general-module_btn_danger__b0QkM:disabled {\n color: #fff;\n background-color: var(--danger);\n border-color: var(--danger);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn_dark__hSWyC {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_dark__hSWyC:hover {\n color: #fff;\n background-color: var(--darkhover);\n border-color: var(--darkhover);\n}\n.general-module_btn_dark__hSWyC.general-module_disabled__PRzt-,\n.general-module_btn_dark__hSWyC:disabled {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n cursor: not-allowed;\n opacity: 0.7;\n}\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-):active,\n.general-module_btn__FAb1b:not(:disabled):not(.general-module_disabled__PRzt-).general-module_active__MPpsF {\n color: #fff;\n background-color: #ccc;\n border-color: #ccc;\n}\n.general-module_btn_grey__fGIYU {\n color: #fff;\n background-color: var(--focus);\n border-color: var(--focus);\n}\n.general-module_btn_grey__fGIYU:hover {\n color: #fff;\n background-color: var(--dark);\n border-color: var(--dark);\n}\n.general-module_btn_cardheader__vccWl {\n color: #fff;\n background-color: var(--cardheader);\n border-color: var(--cardheader);\n}\n.general-module_btn_cardheader__vccWl:hover {\n color: #fff;\n background-color: #007a99;\n border-color: #007a99;\n}\n.general-module_btn_cardheader__vccWl.general-module_disabled__PRzt-,\n.general-module_btn_cardheader__vccWl:disabled {\n color: #fff;\n background-color: #005166;\n border-color: #005166;\n cursor: not-allowed;\n opacity: 0.7;\n}\n\n/* Borders */\n.general-module_border_primary__Jqm8o {\n border-color: #022648;\n}\n.general-module_border_secondary__xiHt3 {\n border-color: #eac435;\n}\n.general-module_border_success__kWv6N {\n border-color: var(--success);\n}\n.general-module_border_info__wfOF- {\n border-color: #16aaff;\n}\n.general-module_border_warning__mSIRm {\n border-color: #f7b924;\n}\n.general-module_border_danger__U7veI {\n border-color: #d92550;\n}\n.general-module_border__Pvp44 {\n border: 1px solid #dee2e6 !important;\n}\n.general-module_border_top__0-KRU {\n border-top: 1px solid #dee2e6 !important;\n}\n.general-module_border_right__7QXHH {\n border-right: 1px solid #dee2e6 !important;\n}\n.general-module_border_bottom__Xyy95 {\n border-bottom: 1px solid #dee2e6 !important;\n}\n.general-module_border_left__90qSD {\n border-left: 1px solid #dee2e6 !important;\n}\n.general-module_border_0__YO9qY {\n border: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_right_0__FaED6 {\n border-right: 0 !important;\n}\n.general-module_border_bottom_0__NZhJm {\n border-bottom: 0 !important;\n}\n.general-module_border_top_0__KFIha {\n border-top: 0 !important;\n}\n.general-module_border_left_0__gjITr {\n border-left: 0 !important;\n}\n/* Inner Content */\n.general-module_app_container__-NNzK {\n display: flex;\n flex-direction: column;\n margin: 0;\n position: relative !important;\n}\n.general-module_app_main__3s9rd {\n z-index: 8;\n position: relative;\n}\n.general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n flex: 1;\n padding: 130px 40px 0;\n}\n.general-module_app_main_inner_headertwo__UkOlN {\n padding: 100px 40px 0 !important;\n}\n.general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 20px 0 280px !important;\n}\n@media screen and (max-width: 1025px) {\n .general-module_app_main_inner_headerfour__slUk1 {\n padding: 80px 10px !important;\n }\n}\n/* Card */\n.general-module_card__KT-JI {\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n word-wrap: break-word;\n background-color: white !important;\n background-clip: border-box;\n border-radius: 15px;\n padding: 0.5em 0.8em;\n transition: all 0.2s;\n}\n.general-module_card_border_10__M-cl- {\n border-radius: 10px !important;\n}\n/* Responsive */\n@media (max-width: 991.98px) {\n .general-module_app_main__3s9rd {\n display: block;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outer__gNSLc {\n padding-left: 0 !important;\n }\n .general-module_app_main__3s9rd .general-module_app_main_outertranslated__IZRx2 {\n padding-right: 0;\n padding-left: 0;\n }\n}\n@media (max-width: 1025px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0;\n }\n}\n@media (max-width: 800px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 130px 20px 0 !important;\n }\n}\n\n@media (max-width: 600px) {\n .general-module_app_main__3s9rd .general-module_app_main_inner__OdEv- {\n padding: 70px 20px !important;\n }\n}\n\n/* Pills */\n.general-module_pill__gHCcE {\n min-width: 9vh;\n height: 4vh;\n color: white;\n padding: 0 1%;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n border-radius: 20px;\n font-size: 12px;\n}\n.general-module_fadeIn__bUx2u {\n /* opacity: 1; */\n display: block;\n visibility: visible;\n transition: 1s ease-in-out;\n transition-delay: 0s;\n}\n.general-module_fadeOut__R13Fc {\n /* opacity: 0; */\n display: none;\n visibility: hidden;\n transition: 1s ease-in-out;\n}\n.general-module_fadeInButton__1daVD {\n display: block;\n}\n.general-module_fadeOutButton__8BRUG {\n display: none;\n}\n\n/* Section Title */\n.general-module_sectiontitlecont__F-e6k {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont__F-e6k span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont__F-e6k span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n height: 3px;\n border-radius: 20px;\n z-index: 1000;\n}\n.general-module_homesectiontitlecont__ZfXNm span {\n font-size: 25px !important;\n}\n\n.general-module_sectiontitlecont2__mfEaP {\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.general-module_sectiontitlecont2__mfEaP span {\n position: relative;\n white-space: nowrap;\n transition: 0.3s;\n}\n.general-module_sectiontitlecont2__mfEaP span::after {\n content: '';\n position: absolute;\n bottom: -3px;\n left: 0;\n display: block;\n border-radius: 20px;\n z-index: 1000;\n}\n";
397
395
  var generalstyles = {"shadow_bottom":"general-module_shadow_bottom__YcJR3","overflowY_scroll":"general-module_overflowY_scroll__m5upZ","sub_scrollbar":"general-module_sub_scrollbar__mpHTI","badge":"general-module_badge__GTiMs","badge_secondary":"general-module_badge_secondary__p6ErJ","divider":"general-module_divider__WFV-A","verical_divider":"general-module_verical_divider__u5DxE","table":"general-module_table__hdcWN","mw-200":"general-module_mw-200__PaU8G","table_bordered":"general-module_table_bordered__JKIJp","table_borderless":"general-module_table_borderless__OF0cl","table_striped":"general-module_table_striped__wWBA6","table_hover":"general-module_table_hover__EiJha","table_responsive":"general-module_table_responsive__JPCKF","table_translation":"general-module_table_translation__x1Rpf","table_icon":"general-module_table_icon__EMMDI","image_table":"general-module_image_table__HqRaH","shownumber_cont":"general-module_shownumber_cont__34Y5j","card_input_table":"general-module_card_input_table__vVK0p","btn":"general-module_btn__FAb1b","btn_rounded":"general-module_btn_rounded__Rkb8o","focus":"general-module_focus__8-F6p","disabled":"general-module_disabled__PRzt-","btn_tranparent":"general-module_btn_tranparent__GFTRs","btn_circle":"general-module_btn_circle__lOyd4","btn_white":"general-module_btn_white__H0esd","btn_black":"general-module_btn_black__NcqLp","btn_primary":"general-module_btn_primary__C5oTz","btn_secondary":"general-module_btn_secondary__MbOCN","btn_success":"general-module_btn_success__iV5-t","btn_info":"general-module_btn_info__-ClLB","btn_danger":"general-module_btn_danger__b0QkM","btn_dark":"general-module_btn_dark__hSWyC","active":"general-module_active__MPpsF","btn_grey":"general-module_btn_grey__fGIYU","btn_cardheader":"general-module_btn_cardheader__vccWl","border_primary":"general-module_border_primary__Jqm8o","border_secondary":"general-module_border_secondary__xiHt3","border_success":"general-module_border_success__kWv6N","border_info":"general-module_border_info__wfOF-","border_warning":"general-module_border_warning__mSIRm","border_danger":"general-module_border_danger__U7veI","border":"general-module_border__Pvp44","border_top":"general-module_border_top__0-KRU","border_right":"general-module_border_right__7QXHH","border_bottom":"general-module_border_bottom__Xyy95","border_left":"general-module_border_left__90qSD","border_0":"general-module_border_0__YO9qY","border_top_0":"general-module_border_top_0__KFIha","border_right_0":"general-module_border_right_0__FaED6","border_bottom_0":"general-module_border_bottom_0__NZhJm","border_left_0":"general-module_border_left_0__gjITr","app_container":"general-module_app_container__-NNzK","app_main":"general-module_app_main__3s9rd","app_main_inner":"general-module_app_main_inner__OdEv-","app_main_inner_headertwo":"general-module_app_main_inner_headertwo__UkOlN","app_main_inner_headerfour":"general-module_app_main_inner_headerfour__slUk1","card":"general-module_card__KT-JI","card_border_10":"general-module_card_border_10__M-cl-","app_main_outer":"general-module_app_main_outer__gNSLc","app_main_outertranslated":"general-module_app_main_outertranslated__IZRx2","pill":"general-module_pill__gHCcE","fadeIn":"general-module_fadeIn__bUx2u","fadeOut":"general-module_fadeOut__R13Fc","fadeInButton":"general-module_fadeInButton__1daVD","fadeOutButton":"general-module_fadeOutButton__8BRUG","sectiontitlecont":"general-module_sectiontitlecont__F-e6k","homesectiontitlecont":"general-module_homesectiontitlecont__ZfXNm","sectiontitlecont2":"general-module_sectiontitlecont2__mfEaP"};
398
- styleInject(css_248z$w);
396
+ styleInject(css_248z$v);
399
397
 
400
398
  var FacebookLoginButton = function FacebookLoginButton(props) {
401
399
  var _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
@@ -445,9 +443,9 @@
445
443
  }));
446
444
  };
447
445
 
448
- 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; }
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; }
449
447
 
450
- 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; }
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; }
451
449
 
452
450
  var Login = function Login(props) {
453
451
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
@@ -493,7 +491,7 @@
493
491
  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) {
494
492
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
495
493
  });
496
- setsectionproperties(_objectSpread$17({}, secpropobj));
494
+ setsectionproperties(_objectSpread$15({}, secpropobj));
497
495
  }
498
496
  }, [StatePagePropertiesContext]);
499
497
 
@@ -607,10 +605,10 @@
607
605
  className: "".concat(loginstyles.form_control, " ").concat(loginstyles2.form_control),
608
606
  value: payloadobj.email,
609
607
  onChange: function onChange(event) {
610
- var temppayloadobj = _objectSpread$17({}, payloadobj);
608
+ var temppayloadobj = _objectSpread$15({}, payloadobj);
611
609
 
612
610
  temppayloadobj.email = event.target.value;
613
- setpayloadobj(_objectSpread$17({}, temppayloadobj));
611
+ setpayloadobj(_objectSpread$15({}, temppayloadobj));
614
612
  }
615
613
  }), /*#__PURE__*/React__default["default"].createElement("span", {
616
614
  className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
@@ -628,10 +626,10 @@
628
626
  textplaceholder: "",
629
627
  value: payloadobj.password,
630
628
  onChange: function onChange(event) {
631
- var temppayloadobj = _objectSpread$17({}, payloadobj);
629
+ var temppayloadobj = _objectSpread$15({}, payloadobj);
632
630
 
633
631
  temppayloadobj.password = event.target.value;
634
- setpayloadobj(_objectSpread$17({}, temppayloadobj));
632
+ setpayloadobj(_objectSpread$15({}, temppayloadobj));
635
633
  }
636
634
  }), /*#__PURE__*/React__default["default"].createElement("span", {
637
635
  className: langdetect == 'en' ? loginstyles.login_input_icon : loginstyles.login_input_icontrans
@@ -750,13 +748,13 @@
750
748
  var IKpublicKey = 'public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=';
751
749
  var serverbaselink = 'https://tabex-co.com';
752
750
 
753
- var css_248z$v = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj {\n margin: 0;\n padding: 0;\n position: relative;\n list-style: none;\n transition: 0.3s ease-in-out;\n border-radius: 20px;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n flex-direction: row;\n padding: 5px !important;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1::after {\n content: '';\n position: absolute;\n bottom: -3px;\n display: block;\n border-radius: 100px 0 100px 0;\n width: 0;\n height: 0;\n transition: 0.2s !important;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_page_name__46AJV {\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n /* width: 35px; */\n /* height: 35px; */\n /* background-color: rgba(0, 28, 105); */\n /* border-radius: 10px; */\n /* color: white; */\n transition: all 0.3s;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj i.staticroutersidenav-module_metismenu_icon__EcRZ1 {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #022648;\n transition: 0.3s;\n opacity: 1;\n font-size: 16px;\n}\n/* active */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0::after {\n content: '';\n position: absolute;\n bottom: -3px;\n /* right: -5%; */\n display: block;\n border-radius: 100px 0 100px 0;\n width: 10px;\n height: 100%;\n /* background: red !important; */\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_page_name__46AJV {\n font-weight: 600;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n /* background-color: rgba(249, 128, 100) !important; */\n box-shadow: none !important;\n}\n/* hover */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover {\n cursor: pointer;\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover::after {\n width: 10px;\n height: 100%;\n}\n\n.staticroutersidenav-module_horizontal_nav_menu__6V32S{\n display: flex;\n flex-direction: row;\n}\n.staticroutersidenav-module_horizontal_nav_menu__6V32S li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 5px !important;\n position: relative;\n}\n@media screen and (max-width:800px) {\n .staticroutersidenav-module_horizontal_nav_menu__6V32S{\n width: 100%;\n display: block !important;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n width: 30% !important;\n float: none;\n display: inline-block;\n zoom: 1; \n } \n}\n@media screen and (max-width:700px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 40% !important;\n }\n}\n@media screen and (max-width:500px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 60% !important;\n }\n}\n\n\n.staticroutersidenav-module_sidebar_itemlastchild__9O187{\n margin-right: 0 !important;\n margin-left: 0 !important;\n}";
751
+ var css_248z$u = "/* Side Nav */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj {\n margin: 0;\n padding: 0;\n position: relative;\n list-style: none;\n transition: 0.3s ease-in-out;\n border-radius: 20px;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n flex-direction: row;\n padding: 5px !important;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1::after {\n content: '';\n position: absolute;\n bottom: -3px;\n display: block;\n border-radius: 100px 0 100px 0;\n width: 0;\n height: 0;\n transition: 0.2s !important;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_page_name__46AJV {\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj li .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n /* width: 35px; */\n /* height: 35px; */\n /* background-color: rgba(0, 28, 105); */\n /* border-radius: 10px; */\n /* color: white; */\n transition: all 0.3s;\n position: relative;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj i.staticroutersidenav-module_metismenu_icon__EcRZ1 {\n display: flex;\n align-items: center;\n justify-content: center;\n color: #022648;\n transition: 0.3s;\n opacity: 1;\n font-size: 16px;\n}\n/* active */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0::after {\n content: '';\n position: absolute;\n bottom: -3px;\n /* right: -5%; */\n display: block;\n border-radius: 100px 0 100px 0;\n width: 10px;\n height: 100%;\n /* background: red !important; */\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_page_name__46AJV {\n font-weight: 600;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidenav_active__IjRo0 .staticroutersidenav-module_sidenav_icon_cont__O8YSe {\n /* background-color: rgba(249, 128, 100) !important; */\n box-shadow: none !important;\n}\n/* hover */\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover {\n cursor: pointer;\n transition: 0.3s;\n}\n.staticroutersidenav-module_vertical_nav_menu__p0mIj .staticroutersidenav-module_sidebar_item__3F9Q1:hover::after {\n width: 10px;\n height: 100%;\n}\n\n.staticroutersidenav-module_horizontal_nav_menu__6V32S{\n display: flex;\n flex-direction: row;\n}\n.staticroutersidenav-module_horizontal_nav_menu__6V32S li.staticroutersidenav-module_sidebar_item__3F9Q1 {\n transition: 0.3s !important;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: 5px !important;\n position: relative;\n}\n@media screen and (max-width:800px) {\n .staticroutersidenav-module_horizontal_nav_menu__6V32S{\n width: 100%;\n display: block !important;\n white-space: nowrap;\n position: relative;\n overflow-x: scroll;\n overflow-y: hidden;\n -webkit-overflow-scrolling: touch;\n }\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n width: 30% !important;\n float: none;\n display: inline-block;\n zoom: 1; \n } \n}\n@media screen and (max-width:700px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 40% !important;\n }\n}\n@media screen and (max-width:500px) {\n .staticroutersidenav-module_sidebar_item__3F9Q1{\n min-width: 60% !important;\n }\n}\n\n\n.staticroutersidenav-module_sidebar_itemlastchild__9O187{\n margin-right: 0 !important;\n margin-left: 0 !important;\n}";
754
752
  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"};
755
- styleInject(css_248z$v);
753
+ styleInject(css_248z$u);
756
754
 
757
- 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; }
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; }
758
756
 
759
- 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; }
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; }
760
758
  // import { useMutation, useQuery, useQueryClient } from 'react-query';
761
759
  // import { useHistory, Link } from 'react-router-dom';
762
760
  // import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
@@ -864,7 +862,7 @@
864
862
  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) {
865
863
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
866
864
  });
867
- setsectionproperties(_objectSpread$16({}, secpropobj));
865
+ setsectionproperties(_objectSpread$14({}, secpropobj));
868
866
  setnavigationstyle('Upper Navigation'); // }
869
867
  // }
870
868
  }, [CurrentPageId]);
@@ -1020,9 +1018,9 @@
1020
1018
  }))))));
1021
1019
  };
1022
1020
 
1023
- 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; }
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; }
1024
1022
 
1025
- 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; }
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; }
1026
1024
 
1027
1025
  var Ordershistory = function Ordershistory(props) {
1028
1026
  var _bgimagesarray$, _bgimagesarray$2;
@@ -1067,10 +1065,10 @@
1067
1065
 
1068
1066
  React.useEffect(function () {
1069
1067
  if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.loggedin) == true) {
1070
- var tempFetchQueriesEngineContext = _objectSpread$15({}, FetchQueriesEngineContext);
1068
+ var tempFetchQueriesEngineContext = _objectSpread$13({}, FetchQueriesEngineContext);
1071
1069
 
1072
1070
  tempFetchQueriesEngineContext.orderhistory = true;
1073
- setFetchQueriesEngineContext(_objectSpread$15({}, tempFetchQueriesEngineContext));
1071
+ setFetchQueriesEngineContext(_objectSpread$13({}, tempFetchQueriesEngineContext));
1074
1072
  } else {
1075
1073
  routingcountext('');
1076
1074
  }
@@ -1096,7 +1094,7 @@
1096
1094
  StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
1097
1095
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1098
1096
  });
1099
- setsectionproperties(_objectSpread$15({}, secpropobj));
1097
+ setsectionproperties(_objectSpread$13({}, secpropobj));
1100
1098
  }
1101
1099
  }, [StatePagePropertiesContext]);
1102
1100
  var orderhistory_cssstyles = {
@@ -1876,13 +1874,13 @@
1876
1874
  }, lang.cod))))))))))));
1877
1875
  };
1878
1876
 
1879
- var css_248z$u = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px;\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n box-shadow: 0 0 10px #e6e6e6;\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n opacity: 0;\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
1877
+ var css_248z$t = ".wishlist-module_wishlist_card__sUXul .wishlist-module_image_container__FuptA {\n height: 300px;\n border-radius: 10px;\n background-size: cover !important;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #e6e6e6;\n width: 100% !important;\n box-shadow: 0 0 10px #e6e6e6;\n}\n.wishlist-module_floatbtn__PZDvQ {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n transition: 0.3s;\n opacity: 0;\n}\n.wishlist-module_wishlist_card__sUXul:hover .wishlist-module_floatbtn__PZDvQ {\n opacity: 1;\n}\n@media screen and (max-width: 800px) {\n .wishlist-module_floatbtn__PZDvQ {\n opacity: 1 !important;\n }\n}\n";
1880
1878
  var wishliststyles = {"wishlist_card":"wishlist-module_wishlist_card__sUXul","image_container":"wishlist-module_image_container__FuptA","floatbtn":"wishlist-module_floatbtn__PZDvQ"};
1881
- styleInject(css_248z$u);
1879
+ styleInject(css_248z$t);
1882
1880
 
1883
- 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; }
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; }
1884
1882
 
1885
- 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; }
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; }
1886
1884
 
1887
1885
  var Wishlist = function Wishlist(props) {
1888
1886
  var _bgimagesarray$, _bgimagesarray$2;
@@ -1919,7 +1917,7 @@
1919
1917
  StatePagePropertiesContext.pageobj.pageproperties.forEach(function (arrayItem, arrayindex) {
1920
1918
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1921
1919
  });
1922
- setsectionproperties(_objectSpread$14({}, secpropobj));
1920
+ setsectionproperties(_objectSpread$12({}, secpropobj));
1923
1921
  }
1924
1922
  }, [StatePagePropertiesContext]);
1925
1923
 
@@ -1929,10 +1927,10 @@
1929
1927
  _useState2[1];
1930
1928
 
1931
1929
  React.useEffect(function () {
1932
- var tempFetchQueriesEngineContext = _objectSpread$14({}, FetchQueriesEngineContext);
1930
+ var tempFetchQueriesEngineContext = _objectSpread$12({}, FetchQueriesEngineContext);
1933
1931
 
1934
1932
  tempFetchQueriesEngineContext.fetchfavoriteproducts = true;
1935
- setFetchQueriesEngineContext(_objectSpread$14({}, tempFetchQueriesEngineContext));
1933
+ setFetchQueriesEngineContext(_objectSpread$12({}, tempFetchQueriesEngineContext));
1936
1934
  }, []);
1937
1935
 
1938
1936
  var _useState3 = React.useState(''),
@@ -1964,7 +1962,7 @@
1964
1962
  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) {
1965
1963
  secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
1966
1964
  });
1967
- setsectionproperties(_objectSpread$14({}, secpropobj));
1965
+ setsectionproperties(_objectSpread$12({}, secpropobj));
1968
1966
  }
1969
1967
  }, [StatePagePropertiesContext]);
1970
1968
  var wishlist_cssstyles = {
@@ -2399,1158 +2397,680 @@
2399
2397
  })));
2400
2398
  };
2401
2399
 
2402
- 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";
2403
- 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-"};
2404
- styleInject(css_248z$t);
2405
-
2406
- 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; }
2407
-
2408
- 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; }
2409
- var defaultstyles = {
2410
- option: function option(provided, state) {
2411
- return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2412
- borderBottom: '1px solid #e6e6e6',
2413
- backgroundColor: state.isSelected ? '' : '',
2414
- padding: 5,
2415
- textTransform: 'capitalize',
2416
- color: state.isSelected ? '#eac435' : '#022648',
2417
- transition: '.3s',
2418
- '&:hover': {
2419
- // color: '#eac435',
2420
- cursor: 'pointer'
2421
- }
2422
- });
2423
- },
2424
- control: function control() {
2425
- return {
2426
- borderBottom: '1px solid #ccc',
2427
- backgroundColor: 'white',
2428
- display: 'flex',
2429
- cursor: 'pointer',
2430
- padding: 0,
2431
- transition: '.3s',
2432
- '&:hover': {// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
2433
- // borderRadius: '10px',
2434
- }
2435
- };
2436
- },
2437
- dropdownIndicator: function dropdownIndicator(provided) {
2438
- return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2439
- '&:hover': {// color: '#eac435',
2440
- }
2441
- });
2442
- }
2443
- };
2444
- var defaultstylestranslated = {
2445
- option: function option(provided, state) {
2446
- return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2447
- borderBottom: '1px solid #e6e6e6',
2448
- backgroundColor: state.isSelected ? '' : '',
2449
- padding: 5,
2450
- textTransform: 'capitalize',
2451
- // color: state.isSelected ? '#eac435' : '#022648',
2452
- transition: '.3s',
2453
- textAlign: 'right',
2454
- '&:hover': {
2455
- // color: '#eac435',
2456
- cursor: 'pointer'
2457
- }
2458
- });
2459
- },
2460
- control: function control() {
2461
- return {
2462
- borderBottom: '1px solid #ccc',
2463
- backgroundColor: 'white',
2464
- display: 'flex',
2465
- cursor: 'pointer',
2466
- padding: 0,
2467
- transition: '.3s',
2468
- textAlign: 'right',
2469
- '&:hover': {// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
2470
- // borderRadius: '10px',
2471
- }
2472
- };
2473
- },
2474
- dropdownIndicator: function dropdownIndicator(provided) {
2475
- return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2476
- '&:hover': {// color: '#eac435',
2477
- }
2478
- });
2479
- },
2480
- placeholder: function placeholder(provided, state) {
2481
- return _objectSpread$13(_objectSpread$13({}, provided), {}, {
2482
- textAlign: 'right'
2483
- });
2484
- }
2485
- };
2486
-
2487
- 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; }
2488
-
2489
- 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; }
2400
+ // // import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
2401
+ // // import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
2402
+ // // import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
2403
+ // import formstyles from '../../../styles/general/form.module.css';
2404
+ // import TextareaAutosize from 'react-textarea-autosize';
2405
+ // // import { BrowserRouter as Router, Switch, Route, Redirect, useParams, useHistory, Link } from 'react-router-dom';
2406
+ // // import '../../../../../../../styles/general/react-phone-input-2.module.css';
2407
+ // import generalstyles from '../../../styles/general/general.module.css';
2408
+ // // import cartstyles from '../Viewcart/viewcart.module.css';
2409
+ // import { CircularProgress } from 'react-cssfx-loading';
2410
+ // import Select from 'react-select';
2411
+ // // import { NotificationManager } from 'react-notifications';
2412
+ // // import Pagepreloader from '../Pagepreloader/Pagepreloader';
2413
+ // // import { useQuery, useQueryClient, useMutation } from 'react-query';
2414
+ // import { css } from 'glamor';
2415
+ // import { BsCheck2Circle, BsFillTelephoneFill } from 'react-icons/bs';
2416
+ // import { defaultstyles, defaultstylestranslated } from '../../../StylesJS/Customstyles';
2417
+ // // import { Page_Template_Fetch_API } from '../../../../../../../components/API/WebsiteDesign_API';
2418
+ // import { IKImage } from 'imagekitio-react';
2419
+ // import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
2420
+ // import { HiUser } from 'react-icons/hi';
2421
+ // import { GrMail } from 'react-icons/gr';
2422
+ // import { BsBagCheck } from 'react-icons/bs';
2490
2423
 
2491
2424
  var Checkout = function Checkout(props) {
2492
- var _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue89, _fetchcustomercartQue90, _fetchcustomercartQue93, _fetchcustomercartQue94, _fetchcustomercartQue97, _fetchcustomercartQue98;
2493
-
2494
- var _useState = React.useState(null),
2495
- _useState2 = _slicedToArray__default["default"](_useState, 2),
2496
- timer = _useState2[0],
2497
- settimer = _useState2[1];
2498
-
2499
- var langdetect = props.actions.langdetect;
2500
- var lang = props.actions.lang;
2501
- var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2502
- var routingcountext = props.actions.routingcountext;
2503
- var ApplyPromoCodeMutationContext = props.actions.ApplyPromoCodeMutationContext;
2504
- var CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
2505
- var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
2506
- var templatepropcontext = props.actions.templatepropcontext;
2507
- var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
2508
- var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
2509
- var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
2510
- var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
2511
- var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
2512
- var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
2513
- var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
2514
- var ChooseState_CountryMutationContext = props.actions.ChooseState_CountryMutationContext;
2515
- var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
2516
- var AddOrderMutationContext = props.actions.AddOrderMutationContext;
2517
- props.actions.fetchAuthorizationQueryContext;
2518
- var authdetailsContext = props.actions.authdetailsContext;
2519
- var queryClient = props.actions.queryClient;
2520
-
2521
- var _useState3 = React.useState(''),
2522
- _useState4 = _slicedToArray__default["default"](_useState3, 2),
2523
- sectionproperties = _useState4[0],
2524
- setsectionproperties = _useState4[1];
2525
-
2526
- var _useState5 = React.useState(''),
2527
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
2528
- CurrentPageId = _useState6[0],
2529
- setCurrentPageId = _useState6[1];
2530
-
2531
- React.useEffect(function () {
2532
- var _templatepropcontext$;
2533
-
2534
- var cartindex = templatepropcontext === null || templatepropcontext === void 0 ? void 0 : (_templatepropcontext$ = templatepropcontext.pagesnprop) === null || _templatepropcontext$ === void 0 ? void 0 : _templatepropcontext$.findIndex(function (x) {
2535
- return x.staticpageid == '6218bccb82af8';
2536
- });
2537
-
2538
- if (cartindex >= 0) {
2539
- setCurrentPageId(cartindex);
2540
- }
2541
- }, []);
2542
- React.useEffect(function () {
2543
- var _templatepropcontext$2, _templatepropcontext$3;
2544
-
2545
- var secpropobj = {};
2546
- 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) {
2547
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2548
- });
2549
- setsectionproperties(_objectSpread$12({}, secpropobj));
2550
- }, [CurrentPageId]);
2551
- React.useEffect(function () {
2552
- if (CurrentSrcTypeContext == 'workplace') {
2553
- if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
2554
- var _StatePagePropertiesC, _StatePagePropertiesC2;
2555
-
2556
- var secpropobj = {};
2557
- 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) {
2558
- secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2559
- });
2560
- setsectionproperties(_objectSpread$12({}, secpropobj));
2561
- }
2562
- }
2563
- }, [StatePagePropertiesContext]);
2564
- React.useEffect(function () {
2565
- var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _fetchcustomercartQue5, _fetchcustomercartQue6, _fetchcustomercartQue9, _fetchcustomercartQue10, _fetchcustomercartQue11, _fetchcustomercartQue12, _fetchcustomercartQue13, _fetchcustomercartQue14;
2566
-
2567
- // if (authdetailsContext.loggedin == true) {
2568
- var tempFetchQueriesEngineContext = _objectSpread$12({}, FetchQueriesEngineContext);
2569
-
2570
- tempFetchQueriesEngineContext.fetchtabexcountries = true;
2571
- setFetchQueriesEngineContext(_objectSpread$12({}, tempFetchQueriesEngineContext));
2572
-
2573
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
2574
-
2575
- if ( // Aya
2576
- !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
2577
- (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) {
2578
- var _fetchcustomercartQue7, _fetchcustomercartQue8;
2579
-
2580
- 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;
2581
- }
2582
-
2583
- if ( // aya
2584
- !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
2585
- (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) {
2586
- var _fetchcustomercartQue15, _fetchcustomercartQue16;
2587
-
2588
- 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;
2589
- }
2590
-
2591
- setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext)); // } else {
2592
- // routingcountext('');
2593
- // }
2594
- }, []);
2595
-
2596
- var cartinfoupdater = function cartinfoupdater(key, value) {
2597
- var _fetchcustomercartQue17, _fetchcustomercartQue18, _fetchcustomercartQue19, _fetchcustomercartQue20, _fetchcustomercartQue21, _fetchcustomercartQue22, _fetchcustomercartQue23, _fetchcustomercartQue24, _fetchcustomercartQue25, _fetchcustomercartQue26, _fetchcustomercartQue27, _fetchcustomercartQue28, _fetchcustomercartQue29, _fetchcustomercartQue30, _fetchcustomercartQue31, _fetchcustomercartQue32;
2598
-
2599
- var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2600
- cartarr.data.customercart[key] = value;
2601
- queryClient.setQueryData('fetchcustomercart_API', cartarr);
2602
- var payloadobj = {
2603
- 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,
2604
- 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,
2605
- 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,
2606
- 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,
2607
- 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,
2608
- 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,
2609
- 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,
2610
- 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
2611
- };
2612
-
2613
- if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email') {
2614
- clearTimeout(timer);
2615
- settimer(setTimeout(function () {
2616
- ChooseState_CountryMutationContext.mutate(payloadobj);
2617
- }, 1500));
2618
- } else {
2619
- ChooseState_CountryMutationContext.mutate(payloadobj);
2620
- }
2621
- };
2622
-
2623
- var checkoutstyles = _defineProperty__default["default"]({
2624
- Salepricestyless: glamor.css({
2625
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2626
- fontWeight: sectionproperties.prodsalePriceFontWeight,
2627
- color: sectionproperties.prodsalePriceColor,
2628
- show: sectionproperties.prodsalePriceshow,
2629
- transition: '.3s'
2630
- }),
2631
- userinfo_iconcont: glamor.css({
2632
- width: sectionproperties.userinfo_iconwidth + 'px',
2633
- height: sectionproperties.userinfo_iconheight + 'px',
2634
- background: sectionproperties.userinfo_iconbg,
2635
- borderRadius: sectionproperties.userinfo_iconborderbottomleftradius + 'px',
2636
- color: sectionproperties.userinfo_iconcolor
2637
- }),
2638
- userinfotextstyles: glamor.css({
2639
- color: sectionproperties.userinfo_color,
2640
- fontWeight: sectionproperties.userinfo_fontweight,
2641
- fontSize: sectionproperties.userinfo_fontsize + 'px'
2642
- }),
2643
- input_label_name: glamor.css({
2644
- color: sectionproperties.form_labelcolor,
2645
- textTransform: sectionproperties.form_labeltexttransform,
2646
- fontWeight: sectionproperties.form_labelfontweight,
2647
- fontSize: sectionproperties.form_labelfontsize + 'px'
2648
- }),
2649
- checkbox: glamor.css({
2650
- color: sectionproperties.checkbox_color,
2651
- textTransform: sectionproperties.form_labeltexttransform,
2652
- fontWeight: sectionproperties.form_labelfontweight,
2653
- fontSize: sectionproperties.form_labelfontsize + 'px',
2654
- transition: '.3s',
2655
- ':hover': {
2656
- color: sectionproperties.checkbox_texthovercolor
2657
- },
2658
- 'input:checked': {
2659
- color: sectionproperties.checkbox_checkedcolor
2660
- }
2661
- }),
2662
- checkboxinputstyles: glamor.css({
2663
- ':hover:not(:checked)': {
2664
- boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor
2665
- },
2666
- ':checked': {
2667
- boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor
2668
- }
2669
- }),
2670
- svgstyles: glamor.css({
2671
- stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')'
2672
- }),
2673
- innersectiontitlestyles: glamor.css({
2674
- color: sectionproperties.innersection_titlecolor,
2675
- fontSize: sectionproperties.innersection_titlefontsize + 'px',
2676
- fontWeight: sectionproperties.innersection_titlefontweight,
2677
- textTransform: sectionproperties.innersection_titletextTransform
2678
- }),
2679
- summarysectionstyles: glamor.css({
2680
- fontSize: sectionproperties.summary_fontsize + 'px',
2681
- color: sectionproperties.summary_textcolor,
2682
- fontWeight: sectionproperties.summary_textfontweight,
2683
- textTransform: sectionproperties.summary_texttransform,
2684
- textAlign: langdetect == 'en' ? 'left' : 'right'
2685
- }),
2686
- checkoutbtnstyles: glamor.css({
2687
- background: sectionproperties.checkoutBtnbgColor,
2688
- width: sectionproperties.checkoutBtnWidth,
2689
- height: sectionproperties.checkoutBtnHeight,
2690
- borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
2691
- color: sectionproperties.checkoutBtnTextcolor,
2692
- textTransform: sectionproperties.checkoutBtnTexttransform,
2693
- fontWeight: sectionproperties.checkoutBtnTextfontweight,
2694
- fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
2695
- border: sectionproperties.checkoutBtn_borderwidth + 'px solid ' + sectionproperties.checkoutBtn_bordercolor,
2696
- transition: '.3s',
2697
- ':hover': {
2698
- background: sectionproperties.checkoutBtnbgColoronhover_tranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColoronhover,
2699
- color: sectionproperties.checkoutBtnTextcoloronhover
2700
- }
2701
- }),
2702
- productNameStyles: glamor.css({
2703
- color: sectionproperties.prodNameColor,
2704
- fontSize: sectionproperties.prodNameFontSize + 'px',
2705
- textTransform: sectionproperties.prodNameTextTranform,
2706
- fontWeight: sectionproperties.prodNameFontWeight
2707
- }),
2708
- productPricestyles: glamor.css({
2709
- color: sectionproperties.prodPriceColor,
2710
- fontSize: sectionproperties.prodpriceFontSize + 'px',
2711
- fontWeight: sectionproperties.prodPriceFontWeight
2712
- }),
2713
- productSalePricestyles: glamor.css({
2714
- color: sectionproperties.prodsalePriceColor,
2715
- fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2716
- fontWeight: sectionproperties.prodsalePriceFontWeight
2717
- }),
2718
- imagecont: glamor.css({
2719
- width: '8vh',
2720
- height: '8vh',
2721
- border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
2722
- backgroundColor: sectionproperties.prodimage_bgcolor,
2723
- borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
2724
- borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
2725
- borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
2726
- borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
2727
- display: 'flex',
2728
- alignItems: 'center',
2729
- justifyContent: 'center',
2730
- backgroundRepeat: 'no-repeat',
2731
- backgroundSize: 'cover',
2732
- backgroundPosition: 'center',
2733
- position: 'relative'
2734
- }),
2735
- applybtnstyles: glamor.css({
2736
- width: sectionproperties.applybtn_width + 'px',
2737
- height: sectionproperties.applybtn_height + 'px',
2738
- borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
2739
- textTransform: sectionproperties.applybtn_texttransform,
2740
- fontSize: sectionproperties.applybtn_fontsize + 'px',
2741
- color: sectionproperties.applybtn_textColor,
2742
- fontWeight: sectionproperties.applybtn_Textfontweight,
2743
- background: sectionproperties.applybtn_bgColor,
2744
- border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
2745
- transition: '.3s',
2746
- ':hover': {
2747
- background: sectionproperties.applybtn_bgColoronhover,
2748
- color: sectionproperties.applybtn_Textcoloronhover
2749
- }
2750
- }),
2751
- inputfiledstyles: glamor.css({}),
2752
- checkorderbtnstyles: glamor.css({
2753
- background: sectionproperties.generalbtn_bgColor,
2754
- width: sectionproperties.generalbtn_width,
2755
- height: sectionproperties.generalbtn_height,
2756
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
2757
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
2758
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
2759
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
2760
- color: sectionproperties.generalbtn_textColor,
2761
- textTransform: sectionproperties.generalbtn_texttransform,
2762
- fontWeight: sectionproperties.generalbtn_fontweight,
2763
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
2764
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
2765
- transition: '.3s',
2766
- ':hover': {
2767
- background: sectionproperties.generalbtn_bgColoronhover,
2768
- color: sectionproperties.generalbtn_textColoronhover
2769
- }
2770
- })
2771
- }, "input_label_name", glamor.css({
2772
- color: sectionproperties.form_labelcolor,
2773
- textTransform: sectionproperties.form_labeltexttransform,
2774
- fontWeight: sectionproperties.form_labelfontweight,
2775
- fontSize: sectionproperties.form_labelfontsize + 'px'
2776
- }));
2777
-
2778
- var Mycart = function Mycart() {
2779
- 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;
2780
-
2781
- return /*#__PURE__*/React__default["default"].createElement("div", {
2782
- className: "row m-0 w-100"
2783
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2784
- className: "col-lg-12 d-flex align-items-center p-0"
2785
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2786
- style: {
2787
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
2788
- color: sectionproperties.sectionTitleColor,
2789
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2790
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2791
- textTransform: sectionproperties.sectionTitleTextTransform,
2792
- fontWeight: sectionproperties.sectionTitleFontWeight
2793
- }
2794
- }, lang.mycart)), ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, null), !ChooseState_CountryMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("div", {
2795
- className: "row m-0 w-100"
2796
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2797
- className: "col-lg-12 p-0"
2798
- }, 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) {
2799
- return /*#__PURE__*/React__default["default"].createElement("div", {
2800
- 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',
2801
- style: {
2802
- background: sectionproperties.summary_sectionbgcolor,
2803
- borderRadius: sectionproperties.summary_sectionborderbottomleftradius + 'px',
2804
- border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
2805
- }
2806
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2807
- className: "row m-0 w-100 d-flex"
2808
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2809
- className: "".concat(checkoutstyles.imagecont)
2810
- }, /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKImage, {
2811
- urlEndpoint: IKurlEndpoint,
2812
- publicKey: IKpublicKey,
2813
- path: item.productinfo.hasvariants == 0 ? '/tr:w-300,h-300/' + item.productinfo.productmainimage : '/tr:w-300,h-300/' + item.productinfo.variantinfo.variantimageurl,
2814
- style: {
2815
- width: '100%',
2816
- height: '100%',
2817
- objectFit: 'cover'
2818
- },
2819
- loading: "lazy"
2820
- })), /*#__PURE__*/React__default["default"].createElement("div", {
2821
- className: "col-lg-7 col-md-7 col-sm-7"
2822
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2823
- className: "row m-0 w-100"
2824
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2825
- className: "col-lg-12 col-md-12 col-sm-12 p-0"
2826
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2827
- className: "".concat(checkoutstyles.productNameStyles) + ' m-0 p-0 d-flex justify-content-start '
2828
- }, langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
2829
- className: "col-lg-12 p-0"
2830
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2831
- className: "m-0 p-0 font-weight-500 text-light d-flex justify-content-start"
2832
- }, lang.qty, ": ", item.quantity)), item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
2833
- return /*#__PURE__*/React__default["default"].createElement("div", {
2834
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
2835
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2836
- className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
2837
- }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
2838
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
2839
- }, variantitem.optionvalue));
2840
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
2841
- className: "col-lg-3 col-md-3 col-sm-2 p-0"
2842
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2843
- className: "row m-0 w-100 h-100"
2844
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2845
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto"
2846
- }, item.productinfo.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2847
- className: "row m-0 w-100 d-flex flex-column justify-content-end"
2848
- }, item.productinfo.hassale == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
2849
- className: "col-lg-12 p-0 d-flex justify-content-end"
2850
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2851
- className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
2852
- }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2853
- className: "row m-0 w-100 d-flex flex-column justify-content-end"
2854
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2855
- className: "col-lg-12 p-0 d-flex justify-content-end"
2856
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2857
- className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
2858
- }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultsaleprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__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.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
2862
- }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')))), item.productinfo.hasvariants == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2863
- className: "row m-0 w-100 d-flex flex-column justify-content-end"
2864
- }, item.productinfo.variantinfo.hassale == 0 && /*#__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.variantinfo.variantprice)), item.productinfo.variantinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2869
- className: "row m-0 w-100 d-flex flex-column justify-content-end"
2870
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2871
- className: "col-lg-12 p-0 d-flex justify-content-end"
2872
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2873
- 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 '
2874
- }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.variantinfo.variantsaleprice, langdetect == 'en' ? '' : 'ج.م')), /*#__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.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 '
2878
- }, langdetect == 'en' ? 'EGP' : '', " ", item.productinfo.variantinfo.variantprice, " ", langdetect == 'en' ? '' : 'ج.م')))))))));
2879
- }), /*#__PURE__*/React__default["default"].createElement("div", {
2880
- className: ' row m-0 w-100 p-3',
2881
- style: {
2882
- background: sectionproperties.summary_sectionbgcolor,
2883
- borderRadius: sectionproperties.summary_sectionborderradius + 'px',
2884
- border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor
2885
- }
2886
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2887
- className: "col-lg-12 p-0 mb-1"
2888
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2889
- className: "col-lg-12 p-0 mb-4"
2890
- }, /*#__PURE__*/React__default["default"].createElement("label", {
2891
- className: "".concat(checkoutstyles.input_label_name) + ' m-0 p-0 mb-2 d-flex justify-content-start '
2892
- }, lang.doyouhavepromocode), /*#__PURE__*/React__default["default"].createElement("div", {
2893
- className: ' row m-0 w-100 d-flex justify-content-center align-items-center '
2894
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2895
- className: 'col-lg-12 col-md-12 col-sm-12 p-0 mb-3'
2896
- }, /*#__PURE__*/React__default["default"].createElement("input", {
2897
- type: "text",
2898
- className: "".concat(formstyles.form_control),
2899
- style: {
2900
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
2901
- fontSize: sectionproperties.inputfieldfontsize + 'px',
2902
- color: sectionproperties.inputfieldcolor,
2903
- backgroundColor: sectionproperties.input_bgcolor
2904
- },
2905
- placeholder: lang.giftcarddicountcode,
2906
- 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,
2907
- onChange: function onChange(event) {
2908
- var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2909
- cartarr.data.customercart.couponname = event.target.value;
2910
- queryClient.setQueryData('fetchcustomercart_API', cartarr);
2911
- },
2912
- 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
2913
- })), /*#__PURE__*/React__default["default"].createElement("div", {
2914
- className: "col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center"
2915
- }, /*#__PURE__*/React__default["default"].createElement("button", {
2916
- className: " ".concat(checkoutstyles.applybtnstyles),
2917
- onClick: function onClick() {
2918
- var _fetchcustomercartQue39, _fetchcustomercartQue40;
2919
-
2920
- if (!(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue39 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue39 !== void 0 && (_fetchcustomercartQue40 = _fetchcustomercartQue39.data) !== null && _fetchcustomercartQue40 !== void 0 && _fetchcustomercartQue40.customercart.couponexists)) {
2921
- var _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue43, _fetchcustomercartQue44;
2922
-
2923
- var payloadobj = {
2924
- 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,
2925
- functype: 'add'
2926
- };
2927
-
2928
- 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) {
2929
- ApplyPromoCodeMutationContext.mutate(payloadobj);
2930
- } else {
2931
- reactNotifications.NotificationManager.warning('', 'Please Type Promo Code');
2932
- }
2933
- } else {
2934
- var payloadobj = {
2935
- functype: 'delete'
2936
- };
2937
- ApplyPromoCodeMutationContext.mutate(payloadobj);
2938
- }
2939
- },
2940
- disabled: ApplyPromoCodeMutationContext.isLoading ? true : false
2941
- }, /*#__PURE__*/React__default["default"].createElement("span", {
2942
- className: ApplyPromoCodeMutationContext.isLoading ? "".concat(generalstyles.fadeOutButton) : "".concat(generalstyles.fadeInButton)
2943
- }, 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", {
2944
- 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 '
2945
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
2946
- color: "#fff",
2947
- width: "20px",
2948
- height: "20px",
2949
- duration: "1s"
2950
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
2951
- className: "row m-0 w-100"
2952
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2953
- className: "col-lg-6 col-md-6 col-sm-6 p-0"
2954
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2955
- className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak '
2956
- }, lang.subtotal)), /*#__PURE__*/React__default["default"].createElement("div", {
2957
- className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2958
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2959
- className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
2960
- }, 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", {
2961
- className: "col-lg-12 p-0 mb-1"
2962
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2963
- className: "row m-0 w-100"
2964
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2965
- className: "col-lg-6 col-md-6 col-sm-6 p-0"
2966
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2967
- className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 text-danger d-flex align-items-start wordbreak '
2968
- }, lang.discount)), /*#__PURE__*/React__default["default"].createElement("div", {
2969
- className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2970
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2971
- 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 '
2972
- }, (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", {
2973
- className: "col-lg-12 p-0"
2974
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2975
- className: "row m-0 w-100"
2976
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2977
- className: "col-lg-6 col-md-6 col-sm-6 p-0"
2978
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2979
- className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
2980
- }, 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", {
2981
- className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2982
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2983
- className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
2984
- }, 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", {
2985
- className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
2986
- }, /*#__PURE__*/React__default["default"].createElement("p", {
2987
- className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
2988
- style: {
2989
- color: 'red'
2990
- }
2991
- }, lang.outofzone)))), /*#__PURE__*/React__default["default"].createElement("div", {
2992
- className: "col-lg-12 p-0"
2993
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
2994
- className: "mt-2 mb-2"
2995
- })), /*#__PURE__*/React__default["default"].createElement("div", {
2996
- className: "col-lg-12 p-0"
2997
- }, /*#__PURE__*/React__default["default"].createElement("div", {
2998
- className: "row m-0 w-100"
2999
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3000
- className: "col-lg-6 col-md-6 col-sm-6 p-0"
3001
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3002
- className: "d-flex align-items-start",
3003
- style: {
3004
- fontSize: sectionproperties.total_fontsize + 'px',
3005
- fontWeight: sectionproperties.total_fontweight,
3006
- textTransform: sectionproperties.total_texttransform,
3007
- color: sectionproperties.total_color
3008
- }
3009
- }, lang.total)), /*#__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("div", {
3012
- className: "row m-0 w-100"
3013
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3014
- className: "col-lg-12 p-0 d-flex justify-content-end "
3015
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3016
- className: langdetect == 'en' ? ' wordbreak text-right ' : 'wordbreak text-left ',
3017
- style: {
3018
- fontSize: sectionproperties.total_fontsize + 'px',
3019
- fontWeight: sectionproperties.total_fontweight,
3020
- textTransform: sectionproperties.total_texttransform,
3021
- color: sectionproperties.total_color
3022
- }
3023
- }, 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", {
3024
- className: "col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3"
3025
- }, /*#__PURE__*/React__default["default"].createElement("button", {
3026
- className: " ".concat(checkoutstyles.checkoutbtnstyles) + ' d-flex align-items-center justify-content-center ',
3027
- onClick: function onClick() {
3028
- var payloadobj = {};
3029
- AddOrderMutationContext.mutate(payloadobj);
3030
- },
3031
- disabled: AddOrderMutationContext.isLoading ? true : false
3032
- }, AddOrderMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3033
- color: "#fff",
3034
- width: "20px",
3035
- height: "20px",
3036
- duration: "1s"
3037
- }), !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 : ''))))));
3038
- };
3039
-
2425
+ // const [timer, settimer] = useState(null);
2426
+ // const langdetect = props.actions.langdetect;
2427
+ // const lang = props.actions.lang;
2428
+ // const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
2429
+ // const routingcountext = props.actions.routingcountext;
2430
+ // const ApplyPromoCodeMutationContext = props.actions.ApplyPromoCodeMutationContext;
2431
+ // const CurrentSrcTypeContext = props.actions.CurrentSrcTypeContext;
2432
+ // const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
2433
+ // const templatepropcontext = props.actions.templatepropcontext;
2434
+ // const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
2435
+ // const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
2436
+ // const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
2437
+ // const fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
2438
+ // const fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
2439
+ // const FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
2440
+ // const setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
2441
+ // const ChooseState_CountryMutationContext = props.actions.ChooseState_CountryMutationContext;
2442
+ // const fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
2443
+ // const AddOrderMutationContext = props.actions.AddOrderMutationContext;
2444
+ // const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
2445
+ // const authdetailsContext = props.actions.authdetailsContext;
2446
+ // const NotificationManager = props.actions.NotificationManager;
2447
+ // const queryClient = props.actions.queryClient;
2448
+ // const [sectionproperties, setsectionproperties] = useState('');
2449
+ // const [CurrentPageId, setCurrentPageId] = useState('');
2450
+ // useEffect(() => {
2451
+ // var cartindex = templatepropcontext?.pagesnprop?.findIndex((x) => x.staticpageid == '6218bccb82af8');
2452
+ // if (cartindex >= 0) {
2453
+ // setCurrentPageId(cartindex);
2454
+ // }
2455
+ // }, []);
2456
+ // useEffect(() => {
2457
+ // var secpropobj = {};
2458
+ // templatepropcontext?.pagesnprop[CurrentPageId]?.pageproperties?.forEach(function (arrayItem, arrayindex) {
2459
+ // secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2460
+ // });
2461
+ // setsectionproperties({ ...secpropobj });
2462
+ // }, [CurrentPageId]);
2463
+ // useEffect(() => {
2464
+ // if (CurrentSrcTypeContext == 'workplace') {
2465
+ // if (StatePagePropertiesContext != null && StatePagePropertiesContext != undefined && StatePagePropertiesContext.length != 0) {
2466
+ // var secpropobj = {};
2467
+ // StatePagePropertiesContext?.pageobj?.pageproperties?.forEach(function (arrayItem, arrayindex) {
2468
+ // secpropobj[arrayItem.property_css_name] = arrayItem.property_value;
2469
+ // });
2470
+ // setsectionproperties({ ...secpropobj });
2471
+ // }
2472
+ // }
2473
+ // }, [StatePagePropertiesContext]);
2474
+ // useEffect(() => {
2475
+ // // if (authdetailsContext.loggedin == true) {
2476
+ // var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
2477
+ // tempFetchQueriesEngineContext.fetchtabexcountries = true;
2478
+ // setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
2479
+ // var tempFetchTabexStatesPayloadobjContext = { ...FetchTabexStatesPayloadobjContext };
2480
+ // if (
2481
+ // // Aya
2482
+ // !fetchcustomercartQueryContext.isFetching &&
2483
+ // fetchcustomercartQueryContext.isSuccess &&
2484
+ // fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
2485
+ // fetchcustomercartQueryContext?.data?.data?.customercart.countryid != null &&
2486
+ // // End
2487
+ // fetchcustomercartQueryContext?.data?.data?.customercart.countryid.length != 0
2488
+ // ) {
2489
+ // tempFetchTabexStatesPayloadobjContext.country_id = fetchcustomercartQueryContext?.data?.data?.customercart.countryid;
2490
+ // }
2491
+ // if (
2492
+ // // aya
2493
+ // !fetchcustomercartQueryContext.isFetching &&
2494
+ // fetchcustomercartQueryContext.isSuccess &&
2495
+ // fetchcustomercartQueryContext?.data?.data?.customercart != undefined &&
2496
+ // fetchcustomercartQueryContext?.data?.data?.customercart.stateid != null &&
2497
+ // // end
2498
+ // fetchcustomercartQueryContext?.data?.data?.customercart.stateid.length != 0
2499
+ // ) {
2500
+ // tempFetchTabexStatesPayloadobjContext.state_id = fetchcustomercartQueryContext?.data?.data?.customercart.stateid;
2501
+ // }
2502
+ // setFetchTabexStatesPayloadobjContext({ ...tempFetchTabexStatesPayloadobjContext });
2503
+ // // } else {
2504
+ // // routingcountext('');
2505
+ // // }
2506
+ // }, []);
2507
+ // const cartinfoupdater = (key, value) => {
2508
+ // var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2509
+ // cartarr.data.customercart[key] = value;
2510
+ // queryClient.setQueryData('fetchcustomercart_API', cartarr);
2511
+ // var payloadobj = {
2512
+ // stateid: fetchcustomercartQueryContext?.data?.data?.customercart.stateid,
2513
+ // countryid: fetchcustomercartQueryContext?.data?.data?.customercart.countryid,
2514
+ // cityid: fetchcustomercartQueryContext?.data?.data?.customercart.cityid,
2515
+ // address: fetchcustomercartQueryContext?.data?.data?.customercart.address,
2516
+ // paymentmethod: fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod,
2517
+ // name: fetchcustomercartQueryContext?.data?.data?.customercart.name,
2518
+ // email: fetchcustomercartQueryContext?.data?.data?.customercart.email,
2519
+ // mobile: fetchcustomercartQueryContext?.data?.data?.customercart.mobile,
2520
+ // };
2521
+ // if (key == 'address' || key == 'name' || key == 'mobile' || key == 'email') {
2522
+ // clearTimeout(timer);
2523
+ // settimer(
2524
+ // setTimeout(() => {
2525
+ // ChooseState_CountryMutationContext.mutate(payloadobj);
2526
+ // }, 1500),
2527
+ // );
2528
+ // } else {
2529
+ // ChooseState_CountryMutationContext.mutate(payloadobj);
2530
+ // }
2531
+ // };
2532
+ // const checkoutstyles = {
2533
+ // Salepricestyless: css({
2534
+ // fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2535
+ // fontWeight: sectionproperties.prodsalePriceFontWeight,
2536
+ // color: sectionproperties.prodsalePriceColor,
2537
+ // show: sectionproperties.prodsalePriceshow,
2538
+ // transition: '.3s',
2539
+ // }),
2540
+ // userinfo_iconcont: css({
2541
+ // width: sectionproperties.userinfo_iconwidth + 'px',
2542
+ // height: sectionproperties.userinfo_iconheight + 'px',
2543
+ // background: sectionproperties.userinfo_iconbg,
2544
+ // borderRadius: sectionproperties.userinfo_iconborderbottomleftradius + 'px',
2545
+ // color: sectionproperties.userinfo_iconcolor,
2546
+ // }),
2547
+ // userinfotextstyles: css({
2548
+ // color: sectionproperties.userinfo_color,
2549
+ // fontWeight: sectionproperties.userinfo_fontweight,
2550
+ // fontSize: sectionproperties.userinfo_fontsize + 'px',
2551
+ // }),
2552
+ // input_label_name: css({
2553
+ // color: sectionproperties.form_labelcolor,
2554
+ // textTransform: sectionproperties.form_labeltexttransform,
2555
+ // fontWeight: sectionproperties.form_labelfontweight,
2556
+ // fontSize: sectionproperties.form_labelfontsize + 'px',
2557
+ // }),
2558
+ // checkbox: css({
2559
+ // color: sectionproperties.checkbox_color,
2560
+ // textTransform: sectionproperties.form_labeltexttransform,
2561
+ // fontWeight: sectionproperties.form_labelfontweight,
2562
+ // fontSize: sectionproperties.form_labelfontsize + 'px',
2563
+ // transition: '.3s',
2564
+ // ':hover': {
2565
+ // color: sectionproperties.checkbox_texthovercolor,
2566
+ // },
2567
+ // 'input:checked': {
2568
+ // color: sectionproperties.checkbox_checkedcolor,
2569
+ // },
2570
+ // }),
2571
+ // checkboxinputstyles: css({
2572
+ // ':hover:not(:checked)': {
2573
+ // boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_texthovercolor,
2574
+ // },
2575
+ // ':checked': {
2576
+ // boxShadow: 'inset 0 0 0 2px ' + sectionproperties.checkbox_checkedcolor,
2577
+ // },
2578
+ // }),
2579
+ // svgstyles: css({
2580
+ // stroke: 'var(--stroke, ' + sectionproperties.checkbox_checkedcolor + ')',
2581
+ // }),
2582
+ // innersectiontitlestyles: css({
2583
+ // color: sectionproperties.innersection_titlecolor,
2584
+ // fontSize: sectionproperties.innersection_titlefontsize + 'px',
2585
+ // fontWeight: sectionproperties.innersection_titlefontweight,
2586
+ // textTransform: sectionproperties.innersection_titletextTransform,
2587
+ // }),
2588
+ // summarysectionstyles: css({
2589
+ // fontSize: sectionproperties.summary_fontsize + 'px',
2590
+ // color: sectionproperties.summary_textcolor,
2591
+ // fontWeight: sectionproperties.summary_textfontweight,
2592
+ // textTransform: sectionproperties.summary_texttransform,
2593
+ // textAlign: langdetect == 'en' ? 'left' : 'right',
2594
+ // }),
2595
+ // checkoutbtnstyles: css({
2596
+ // background: sectionproperties.checkoutBtnbgColor,
2597
+ // width: sectionproperties.checkoutBtnWidth,
2598
+ // height: sectionproperties.checkoutBtnHeight,
2599
+ // borderRadius: sectionproperties.checkout_borderBottomLeftRadius + 'px',
2600
+ // color: sectionproperties.checkoutBtnTextcolor,
2601
+ // textTransform: sectionproperties.checkoutBtnTexttransform,
2602
+ // fontWeight: sectionproperties.checkoutBtnTextfontweight,
2603
+ // fontSize: sectionproperties.checkoutBtnTextfontsize + 'px',
2604
+ // border: sectionproperties.checkoutBtn_borderwidth + 'px solid ' + sectionproperties.checkoutBtn_bordercolor,
2605
+ // transition: '.3s',
2606
+ // ':hover': {
2607
+ // background: sectionproperties.checkoutBtnbgColoronhover_tranparent == 'Transparent' ? 'transparent' : sectionproperties.checkoutBtnbgColoronhover,
2608
+ // color: sectionproperties.checkoutBtnTextcoloronhover,
2609
+ // },
2610
+ // }),
2611
+ // productNameStyles: css({
2612
+ // color: sectionproperties.prodNameColor,
2613
+ // fontSize: sectionproperties.prodNameFontSize + 'px',
2614
+ // textTransform: sectionproperties.prodNameTextTranform,
2615
+ // fontWeight: sectionproperties.prodNameFontWeight,
2616
+ // }),
2617
+ // productPricestyles: css({
2618
+ // color: sectionproperties.prodPriceColor,
2619
+ // fontSize: sectionproperties.prodpriceFontSize + 'px',
2620
+ // fontWeight: sectionproperties.prodPriceFontWeight,
2621
+ // }),
2622
+ // productSalePricestyles: css({
2623
+ // color: sectionproperties.prodsalePriceColor,
2624
+ // fontSize: sectionproperties.prodsalepriceFontSize + 'px',
2625
+ // fontWeight: sectionproperties.prodsalePriceFontWeight,
2626
+ // }),
2627
+ // imagecont: css({
2628
+ // width: '8vh',
2629
+ // height: '8vh',
2630
+ // border: sectionproperties.prodimage_borderwidth + 'px solid ' + sectionproperties.prodimage_color,
2631
+ // backgroundColor: sectionproperties.prodimage_bgcolor,
2632
+ // borderBottomLeftRadius: sectionproperties.prodimage__borderBottomLeftRadius + 'px',
2633
+ // borderBottomRightRadius: sectionproperties.prodimage__borderBottomRightRadius + 'px',
2634
+ // borderTopLeftRadius: sectionproperties.prodimage__borderTopLeftRadius + 'px',
2635
+ // borderTopRightRadius: sectionproperties.prodimage__borderTopRightRadius + 'px',
2636
+ // display: 'flex',
2637
+ // alignItems: 'center',
2638
+ // justifyContent: 'center',
2639
+ // backgroundRepeat: 'no-repeat',
2640
+ // backgroundSize: 'cover',
2641
+ // backgroundPosition: 'center',
2642
+ // position: 'relative',
2643
+ // }),
2644
+ // applybtnstyles: css({
2645
+ // width: sectionproperties.applybtn_width + 'px',
2646
+ // height: sectionproperties.applybtn_height + 'px',
2647
+ // borderRadius: sectionproperties.applybtn_borderBottomLeftRadius + 'px',
2648
+ // textTransform: sectionproperties.applybtn_texttransform,
2649
+ // fontSize: sectionproperties.applybtn_fontsize + 'px',
2650
+ // color: sectionproperties.applybtn_textColor,
2651
+ // fontWeight: sectionproperties.applybtn_Textfontweight,
2652
+ // background: sectionproperties.applybtn_bgColor,
2653
+ // border: sectionproperties.applybtnborderwidth + 'px solid ' + sectionproperties.applybtnbordercolor,
2654
+ // transition: '.3s',
2655
+ // ':hover': {
2656
+ // background: sectionproperties.applybtn_bgColoronhover,
2657
+ // color: sectionproperties.applybtn_Textcoloronhover,
2658
+ // },
2659
+ // }),
2660
+ // inputfiledstyles: css({}),
2661
+ // checkorderbtnstyles: css({
2662
+ // background: sectionproperties.generalbtn_bgColor,
2663
+ // width: sectionproperties.generalbtn_width,
2664
+ // height: sectionproperties.generalbtn_height,
2665
+ // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
2666
+ // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
2667
+ // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
2668
+ // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
2669
+ // color: sectionproperties.generalbtn_textColor,
2670
+ // textTransform: sectionproperties.generalbtn_texttransform,
2671
+ // fontWeight: sectionproperties.generalbtn_fontweight,
2672
+ // fontSize: sectionproperties.generalbtn_fontsize + 'px',
2673
+ // border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
2674
+ // transition: '.3s',
2675
+ // ':hover': {
2676
+ // background: sectionproperties.generalbtn_bgColoronhover,
2677
+ // color: sectionproperties.generalbtn_textColoronhover,
2678
+ // },
2679
+ // }),
2680
+ // input_label_name: css({
2681
+ // color: sectionproperties.form_labelcolor,
2682
+ // textTransform: sectionproperties.form_labeltexttransform,
2683
+ // fontWeight: sectionproperties.form_labelfontweight,
2684
+ // fontSize: sectionproperties.form_labelfontsize + 'px',
2685
+ // }),
2686
+ // };
2687
+ // const Mycart = () => {
2688
+ // return (
2689
+ // <div className="row m-0 w-100">
2690
+ // <div className="col-lg-12 d-flex align-items-center p-0">
2691
+ // <p
2692
+ // style={{
2693
+ // fontSize: sectionproperties.sectionTitleFontSize + 'px',
2694
+ // color: sectionproperties.sectionTitleColor,
2695
+ // marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2696
+ // marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2697
+ // textTransform: sectionproperties.sectionTitleTextTransform,
2698
+ // fontWeight: sectionproperties.sectionTitleFontWeight,
2699
+ // }}
2700
+ // >
2701
+ // {lang.mycart}
2702
+ // </p>
2703
+ // </div>
2704
+ // {ChooseState_CountryMutationContext.isLoading && <CircularProgress />}
2705
+ // {!ChooseState_CountryMutationContext.isLoading && (
2706
+ // <div className="row m-0 w-100">
2707
+ // <div className="col-lg-12 p-0">
2708
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.cartitems.map((item, index) => {
2709
+ // return (
2710
+ // <div
2711
+ // 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'}
2712
+ // style={{
2713
+ // background: sectionproperties.summary_sectionbgcolor,
2714
+ // borderRadius: sectionproperties.summary_sectionborderbottomleftradius + 'px',
2715
+ // border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
2716
+ // }}
2717
+ // >
2718
+ // <div className="row m-0 w-100 d-flex">
2719
+ // <div className={`${checkoutstyles.imagecont}`}>
2720
+ // <IKImage
2721
+ // urlEndpoint={IKurlEndpoint}
2722
+ // publicKey={IKpublicKey}
2723
+ // path={
2724
+ // item.productinfo.hasvariants == 0
2725
+ // ? '/tr:w-300,h-300/' + item.productinfo.productmainimage
2726
+ // : '/tr:w-300,h-300/' + item.productinfo.variantinfo.variantimageurl
2727
+ // }
2728
+ // style={{
2729
+ // width: '100%',
2730
+ // height: '100%',
2731
+ // objectFit: 'cover',
2732
+ // }}
2733
+ // loading="lazy"
2734
+ // />
2735
+ // </div>
2736
+ // <div className="col-lg-7 col-md-7 col-sm-7">
2737
+ // <div className="row m-0 w-100">
2738
+ // <div className="col-lg-12 col-md-12 col-sm-12 p-0">
2739
+ // <p className={`${checkoutstyles.productNameStyles}` + ' m-0 p-0 d-flex justify-content-start '}>
2740
+ // {langdetect == 'en' ? item.productinfo.name_en : item.productinfo.name_ar}
2741
+ // </p>
2742
+ // </div>
2743
+ // <div className="col-lg-12 p-0">
2744
+ // <p className="m-0 p-0 font-weight-500 text-light d-flex justify-content-start">
2745
+ // {lang.qty}: {item.quantity}
2746
+ // </p>
2747
+ // </div>
2748
+ // {item.productinfo.hasvariants == 1 &&
2749
+ // item.productinfo.variantinfo.variantoptions.map((variantitem, variantindex) => {
2750
+ // return (
2751
+ // <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex">
2752
+ // <p className={'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '}>{variantitem.optionname}:</p>
2753
+ // <p className={' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '}>{variantitem.optionvalue}</p>
2754
+ // </div>
2755
+ // );
2756
+ // })}
2757
+ // </div>
2758
+ // </div>
2759
+ // <div className="col-lg-3 col-md-3 col-sm-2 p-0">
2760
+ // <div className="row m-0 w-100 h-100">
2761
+ // <div className="col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-end mb-auto">
2762
+ // {item.productinfo.hasvariants == 0 && (
2763
+ // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2764
+ // {item.productinfo.hassale == 0 && (
2765
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2766
+ // <p
2767
+ // className={
2768
+ // langdetect == 'en'
2769
+ // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2770
+ // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2771
+ // }
2772
+ // >
2773
+ // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
2774
+ // </p>
2775
+ // </div>
2776
+ // )}
2777
+ // {item.productinfo.hassale == 1 && (
2778
+ // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2779
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2780
+ // <p
2781
+ // className={
2782
+ // langdetect == 'en'
2783
+ // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2784
+ // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2785
+ // }
2786
+ // >
2787
+ // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultsaleprice} {langdetect == 'en' ? '' : 'ج.م'}
2788
+ // </p>
2789
+ // </div>
2790
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2791
+ // <p
2792
+ // className={
2793
+ // langdetect == 'en'
2794
+ // ? `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-right '
2795
+ // : `${checkoutstyles.Salepricestyless}` + ' linethrough mb-0 p-0 wordbreak text-left '
2796
+ // }
2797
+ // >
2798
+ // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
2799
+ // </p>
2800
+ // </div>
2801
+ // </div>
2802
+ // )}
2803
+ // </div>
2804
+ // )}
2805
+ // {item.productinfo.hasvariants == 1 && (
2806
+ // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2807
+ // {item.productinfo.variantinfo.hassale == 0 && (
2808
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2809
+ // <p
2810
+ // className={
2811
+ // langdetect == 'en'
2812
+ // ? `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-right '
2813
+ // : `${checkoutstyles.productPricestyles}` + ' m-0 p-0 wordbreak text-left '
2814
+ // }
2815
+ // >
2816
+ // {langdetect == 'en' ? 'EGP' : 'ج.م'} {item.productinfo.variantinfo.variantprice}
2817
+ // </p>
2818
+ // </div>
2819
+ // )}
2820
+ // {item.productinfo.variantinfo.hassale == 1 && (
2821
+ // <div className="row m-0 w-100 d-flex flex-column justify-content-end">
2822
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2823
+ // <p
2824
+ // className={
2825
+ // langdetect == 'en'
2826
+ // ? `${checkoutstyles.productPricestyles}` +
2827
+ // ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
2828
+ // : `${checkoutstyles.productPricestyles}` +
2829
+ // ' m-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2830
+ // }
2831
+ // >
2832
+ // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.variantinfo.variantsaleprice}
2833
+ // {langdetect == 'en' ? '' : 'ج.م'}
2834
+ // </p>
2835
+ // </div>
2836
+ // <div className="col-lg-12 p-0 d-flex justify-content-end">
2837
+ // <p
2838
+ // className={
2839
+ // langdetect == 'en'
2840
+ // ? `${checkoutstyles.Salepricestyless}` +
2841
+ // ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right '
2842
+ // : `${checkoutstyles.Salepricestyless}` +
2843
+ // ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
2844
+ // }
2845
+ // >
2846
+ // {langdetect == 'en' ? 'EGP' : ''} {item.productinfo.variantinfo.variantprice} {langdetect == 'en' ? '' : 'ج.م'}
2847
+ // </p>
2848
+ // </div>
2849
+ // </div>
2850
+ // )}
2851
+ // </div>
2852
+ // )}
2853
+ // </div>
2854
+ // </div>
2855
+ // </div>
2856
+ // </div>
2857
+ // </div>
2858
+ // );
2859
+ // })}
2860
+ // <div
2861
+ // className={' row m-0 w-100 p-3'}
2862
+ // style={{
2863
+ // background: sectionproperties.summary_sectionbgcolor,
2864
+ // borderRadius: sectionproperties.summary_sectionborderradius + 'px',
2865
+ // border: sectionproperties.summary_sectionborderwidth + 'px solid ' + sectionproperties.summary_sectionbordercolor,
2866
+ // }}
2867
+ // >
2868
+ // <div className="col-lg-12 p-0 mb-1">
2869
+ // <div className="col-lg-12 p-0 mb-4">
2870
+ // <label className={`${checkoutstyles.input_label_name}` + ' m-0 p-0 mb-2 d-flex justify-content-start '}>{lang.doyouhavepromocode}</label>
2871
+ // <div className={' row m-0 w-100 d-flex justify-content-center align-items-center '}>
2872
+ // <div className={'col-lg-12 col-md-12 col-sm-12 p-0 mb-3'}>
2873
+ // <input
2874
+ // type="text"
2875
+ // className={`${formstyles.form_control}`}
2876
+ // style={{
2877
+ // borderRadius: sectionproperties.inputfieldborderradius + 'px',
2878
+ // fontSize: sectionproperties.inputfieldfontsize + 'px',
2879
+ // color: sectionproperties.inputfieldcolor,
2880
+ // backgroundColor: sectionproperties.input_bgcolor,
2881
+ // }}
2882
+ // placeholder={lang.giftcarddicountcode}
2883
+ // value={fetchcustomercartQueryContext?.data?.data?.customercart.couponname}
2884
+ // onChange={(event) => {
2885
+ // var cartarr = queryClient.getQueryData('fetchcustomercart_API');
2886
+ // cartarr.data.customercart.couponname = event.target.value;
2887
+ // queryClient.setQueryData('fetchcustomercart_API', cartarr);
2888
+ // }}
2889
+ // disabled={fetchcustomercartQueryContext?.data?.data?.customercart.couponexists ? true : false}
2890
+ // />
2891
+ // </div>
2892
+ // <div className="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center justify-content-center">
2893
+ // <button
2894
+ // className={` ${checkoutstyles.applybtnstyles}`}
2895
+ // onClick={() => {
2896
+ // if (!fetchcustomercartQueryContext?.data?.data?.customercart.couponexists) {
2897
+ // var payloadobj = {
2898
+ // couponname: fetchcustomercartQueryContext?.data?.data?.customercart.couponname,
2899
+ // functype: 'add',
2900
+ // };
2901
+ // if (fetchcustomercartQueryContext?.data?.data?.customercart.couponname.length != 0) {
2902
+ // ApplyPromoCodeMutationContext.mutate(payloadobj);
2903
+ // } else {
2904
+ // NotificationManager.warning('', 'Please Type Promo Code');
2905
+ // }
2906
+ // } else {
2907
+ // var payloadobj = {
2908
+ // functype: 'delete',
2909
+ // };
2910
+ // ApplyPromoCodeMutationContext.mutate(payloadobj);
2911
+ // }
2912
+ // }}
2913
+ // disabled={ApplyPromoCodeMutationContext.isLoading ? true : false}
2914
+ // >
2915
+ // <span className={ApplyPromoCodeMutationContext.isLoading ? `${generalstyles.fadeOutButton}` : `${generalstyles.fadeInButton}`}>
2916
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists
2917
+ // ? langdetect == 'en'
2918
+ // ? 'Remove'
2919
+ // : 'حذف'
2920
+ // : langdetect == 'en'
2921
+ // ? 'Apply'
2922
+ // : 'تطبيق'}
2923
+ // </span>
2924
+ // <div
2925
+ // className={
2926
+ // ApplyPromoCodeMutationContext.isLoading
2927
+ // ? `${generalstyles.fadeInButton} ${generalstyles.btn_preloader}` + ' d-flex align-items-center justify-content-center '
2928
+ // : `${generalstyles.fadeOutButton}` + ' align-items-center justify-content-center '
2929
+ // }
2930
+ // >
2931
+ // <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />
2932
+ // </div>
2933
+ // </button>
2934
+ // </div>
2935
+ // </div>
2936
+ // </div>
2937
+ // <div className="row m-0 w-100">
2938
+ // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2939
+ // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-center wordbreak '}>{lang.subtotal}</p>
2940
+ // </div>
2941
+ // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2942
+ // <p
2943
+ // className={
2944
+ // langdetect == 'en'
2945
+ // ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
2946
+ // : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
2947
+ // }
2948
+ // >
2949
+ // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.totalprice} {langdetect == 'en' ? '' : 'ج.م'}
2950
+ // </p>
2951
+ // </div>
2952
+ // </div>
2953
+ // </div>
2954
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.couponexists && fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
2955
+ // <div className="col-lg-12 p-0 mb-1">
2956
+ // <div className="row m-0 w-100">
2957
+ // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2958
+ // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 text-danger d-flex align-items-start wordbreak '}>{lang.discount}</p>
2959
+ // </div>
2960
+ // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2961
+ // <p
2962
+ // className={
2963
+ // langdetect == 'en'
2964
+ // ? `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-right '
2965
+ // : `${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 text-danger wordbreak text-left '
2966
+ // }
2967
+ // >
2968
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice != 0 && (
2969
+ // <span>
2970
+ // - {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice}{' '}
2971
+ // {langdetect == 'en' ? '' : 'ج.م'}
2972
+ // </span>
2973
+ // )}
2974
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.discountprice == 0 && <span>0</span>}
2975
+ // </p>
2976
+ // </div>
2977
+ // </div>
2978
+ // </div>
2979
+ // )}
2980
+ // <div className="col-lg-12 p-0">
2981
+ // <div className="row m-0 w-100">
2982
+ // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
2983
+ // <p className={`${checkoutstyles.summarysectionstyles} ` + ' m-0 p-0 d-flex align-items-start wordbreak '}>{lang.shippingfees}</p>
2984
+ // </div>
2985
+ // {fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
2986
+ // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
2987
+ // <p
2988
+ // className={
2989
+ // langdetect == 'en'
2990
+ // ? `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-right '
2991
+ // : `${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 wordbreak text-left '
2992
+ // }
2993
+ // >
2994
+ // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.zoneprice} {langdetect == 'en' ? '' : 'ج.م'}
2995
+ // </p>
2996
+ // </div>
2997
+ // )}
2998
+ // {!fetchcustomercartQueryContext?.data?.data?.customercart.zoneexists && (
2999
+ // <div className="col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0">
3000
+ // <p className={`${checkoutstyles.summarysectionstyles}` + ' m-0 p-0 d-flex align-items-start wordbreak '} style={{ color: 'red' }}>
3001
+ // {lang.outofzone}
3002
+ // </p>
3003
+ // </div>
3004
+ // )}
3005
+ // </div>
3006
+ // </div>
3007
+ // <div className="col-lg-12 p-0">
3008
+ // <hr className="mt-2 mb-2" />
3009
+ // </div>
3010
+ // <div className="col-lg-12 p-0">
3011
+ // <div className="row m-0 w-100">
3012
+ // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
3013
+ // <p
3014
+ // className="d-flex align-items-start"
3015
+ // style={{
3016
+ // fontSize: sectionproperties.total_fontsize + 'px',
3017
+ // fontWeight: sectionproperties.total_fontweight,
3018
+ // textTransform: sectionproperties.total_texttransform,
3019
+ // color: sectionproperties.total_color,
3020
+ // }}
3021
+ // >
3022
+ // {lang.total}
3023
+ // </p>
3024
+ // </div>
3025
+ // <div className="col-lg-6 col-md-6 col-sm-6 p-0">
3026
+ // <div className="row m-0 w-100">
3027
+ // <div className="col-lg-12 p-0 d-flex justify-content-end ">
3028
+ // <p
3029
+ // className={langdetect == 'en' ? ' wordbreak text-right ' : 'wordbreak text-left '}
3030
+ // style={{
3031
+ // fontSize: sectionproperties.total_fontsize + 'px',
3032
+ // fontWeight: sectionproperties.total_fontweight,
3033
+ // textTransform: sectionproperties.total_texttransform,
3034
+ // color: sectionproperties.total_color,
3035
+ // }}
3036
+ // >
3037
+ // {langdetect == 'en' ? 'EGP' : ''} {fetchcustomercartQueryContext?.data?.data?.customercart.totalpriceafterdiscount}{' '}
3038
+ // {langdetect == 'en' ? '' : 'ج.م'}
3039
+ // </p>
3040
+ // </div>
3041
+ // </div>
3042
+ // </div>
3043
+ // </div>
3044
+ // </div>
3045
+ // <div className="col-lg-12 d-flex align-items-center justify-content-center mb-2 mt-sm-3">
3046
+ // <button
3047
+ // className={` ${checkoutstyles.checkoutbtnstyles}` + ' d-flex align-items-center justify-content-center '}
3048
+ // onClick={() => {
3049
+ // var payloadobj = {};
3050
+ // AddOrderMutationContext.mutate(payloadobj);
3051
+ // }}
3052
+ // disabled={AddOrderMutationContext.isLoading ? true : false}
3053
+ // >
3054
+ // {AddOrderMutationContext.isLoading && <CircularProgress color="#fff" width="20px" height="20px" duration="1s" />}
3055
+ // {!AddOrderMutationContext.isLoading
3056
+ // ? fetchcustomercartQueryContext?.data?.data?.customercart.paymentmethod == 'onlinepayment'
3057
+ // ? lang.continuetopayment
3058
+ // : authdetailsContext.loggedin
3059
+ // ? lang.confirmorder
3060
+ // : lang.confirmorder + ' ' + lang.asaguest
3061
+ // : ''}
3062
+ // </button>
3063
+ // </div>
3064
+ // </div>
3065
+ // </div>
3066
+ // </div>
3067
+ // )}
3068
+ // </div>
3069
+ // );
3070
+ // };
3040
3071
  return /*#__PURE__*/React__default["default"].createElement("div", {
3041
3072
  className: 'row m-0 w-100 mb-3 d-flex justify-content-center p-sm-0 mt-sm-3'
3042
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3043
- className: 'col-lg-12 w-100 d-flex justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2',
3044
- style: {
3045
- marginTop: sectionproperties.marginTop + 'px',
3046
- marginBottom: sectionproperties.marginBottom + 'px',
3047
- paddingLeft: sectionproperties.paddingLeft + 'px',
3048
- paddingRight: sectionproperties.paddingRight + 'px',
3049
- paddingTop: sectionproperties.paddingTop + 'px',
3050
- paddingBottom: sectionproperties.paddingBottom + 'px',
3051
- background: sectionproperties.backgroundColor,
3052
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
3053
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
3054
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
3055
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px'
3056
- }
3057
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3058
- className: 'row m-0 w-100 justify-content-center '
3059
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3060
- 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 '
3061
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3062
- className: "col-lg-12 d-flex align-items-center p-0"
3063
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3064
- style: {
3065
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
3066
- color: sectionproperties.sectionTitleColor,
3067
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
3068
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
3069
- textTransform: sectionproperties.sectionTitleTextTransform,
3070
- fontWeight: sectionproperties.sectionTitleFontWeight
3071
- }
3072
- }, lang.checkout)), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
3073
- className: "col-lg-12 p-0"
3074
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3075
- className: "pl-3 pr-3 pt-2 pb-2",
3076
- style: {
3077
- background: sectionproperties.userinfo_sectionbgcolor,
3078
- borderRadius: sectionproperties.userinfo_borderradius + 'px',
3079
- marginTop: sectionproperties.userinfo_sectionmarginTop + 'px',
3080
- marginBottom: sectionproperties.userinfo_sectionmarginbottom + 'px',
3081
- border: sectionproperties.userinfo_borderwidth + 'px solid ' + sectionproperties.usserinfo_sectionbordercolor
3082
- }
3083
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3084
- className: "row m-0 w-100"
3085
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3086
- className: "".concat(checkoutstyles.userinfo_iconcont) + ' d-flex align-items-center justify-content-center '
3087
- }, /*#__PURE__*/React__default["default"].createElement(bs.BsCheck2Circle, {
3088
- size: 20
3089
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3090
- className: "col-lg-11 col-md-10 col-sm-10 p-0"
3091
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3092
- className: "row m-0 w-100"
3093
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3094
- className: "col-lg-12 d-flex align-items-center pl-2 pr-2",
3095
- style: {
3096
- fontSize: sectionproperties.userinfo_titlefontsize + 'px',
3097
- color: sectionproperties.userinfo_titlecolor,
3098
- fontWeight: sectionproperties.userinfo_titlefontweight
3099
- }
3100
- }, lang.loggedinas), /*#__PURE__*/React__default["default"].createElement("div", {
3101
- className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 text-capitalize '
3102
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3103
- className: "m-0 p-0 d-flex align-items-center"
3104
- }, /*#__PURE__*/React__default["default"].createElement("i", {
3105
- className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3106
- style: {
3107
- fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3108
- color: sectionproperties.userinfotext_iconcolor,
3109
- marginRight: langdetect == 'en' ? '5px' : 0,
3110
- marginLeft: langdetect == 'en' ? 0 : '5px'
3111
- }
3112
- }, /*#__PURE__*/React__default["default"].createElement(hi.HiUser, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3113
- className: "m-0 p-0 wordbreak"
3114
- }, authdetailsContext.customerinfo.name))), /*#__PURE__*/React__default["default"].createElement("div", {
3115
- className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
3116
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3117
- className: "m-0 p-0 d-flex align-items-center"
3118
- }, /*#__PURE__*/React__default["default"].createElement("i", {
3119
- className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3120
- style: {
3121
- fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3122
- color: sectionproperties.userinfotext_iconcolor,
3123
- marginRight: langdetect == 'en' ? '5px' : 0,
3124
- marginLeft: langdetect == 'en' ? 0 : '5px'
3125
- }
3126
- }, /*#__PURE__*/React__default["default"].createElement(bs.BsFillTelephoneFill, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3127
- className: "m-0 p-0 wordbreak"
3128
- }, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React__default["default"].createElement("div", {
3129
- className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
3130
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3131
- className: "m-0 p-0 d-flex align-items-center"
3132
- }, /*#__PURE__*/React__default["default"].createElement("i", {
3133
- className: "h-100 d-flex align-items-center justify-content-center mb-auto mt-1",
3134
- style: {
3135
- fontSize: sectionproperties.userinfotext_iconfontsize + 'px',
3136
- color: sectionproperties.userinfotext_iconcolor,
3137
- marginRight: langdetect == 'en' ? '5px' : 0,
3138
- marginLeft: langdetect == 'en' ? 0 : '5px'
3139
- }
3140
- }, /*#__PURE__*/React__default["default"].createElement(gr.GrMail, null)), /*#__PURE__*/React__default["default"].createElement("p", {
3141
- className: "m-0 p-0 wordbreak"
3142
- }, authdetailsContext.customerinfo.email))))), /*#__PURE__*/React__default["default"].createElement("div", {
3143
- className: "col-lg-12 justify-content-end float-right pl-2 pr-2",
3144
- style: {
3145
- fontSize: sectionproperties.userinfo_titlefontsize + 'px',
3146
- color: sectionproperties.userinfo_titlecolor,
3147
- fontWeight: sectionproperties.userinfo_titlefontweight,
3148
- textAlign: 'right',
3149
- textDecoration: 'underline',
3150
- cursor: 'pointer',
3151
- position: 'absolute',
3152
- right: 10,
3153
- top: 10
3154
- },
3155
- onClick: function onClick() {
3156
- routingcountext(StaticPagesLinksContext.accountinfo);
3157
- }
3158
- }, lang.update)))), /*#__PURE__*/React__default["default"].createElement("div", {
3159
- className: "col-lg-12 p-0"
3160
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3161
- style: {
3162
- marginTop: sectionproperties.contactinfo_sectionmarginTop + 'px',
3163
- marginBottom: sectionproperties.contactinfo_sectionmarginbottom + 'px',
3164
- background: sectionproperties.contactinfo_sectionbgcolor,
3165
- borderRadius: sectionproperties.contactinfo_sectionborderradius + 'px',
3166
- border: sectionproperties.contactinfo_borderwidth + 'px solid ' + sectionproperties.contactinfo_sectionbordercolor
3167
- }
3168
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3169
- className: "col-lg-12 pl-3 pr-3 pt-2"
3170
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3171
- className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3172
- }, authdetailsContext.loggedin ? lang.addressdetails : lang.contactdetails)), /*#__PURE__*/React__default["default"].createElement("div", {
3173
- className: "col-lg-12 p-0"
3174
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
3175
- className: "mt-2 mb-2"
3176
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3177
- className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
3178
- }, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3179
- className: "col-lg-4 col-md-12 mb-3"
3180
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3181
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3182
- }, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
3183
- type: 'text',
3184
- className: "".concat(formstyles.form_control),
3185
- 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,
3186
- onChange: function onChange(event) {
3187
- cartinfoupdater('name', event.target.value);
3188
- },
3189
- style: {
3190
- resize: 'none',
3191
- fontWeight: sectionproperties.inputtextfontweight,
3192
- background: sectionproperties.input_bgcolor,
3193
- color: sectionproperties.inputfieldcolor,
3194
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3195
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
3196
- boxShadow: 'none'
3197
- }
3198
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3199
- className: "col-lg-4 col-md-12 mb-3"
3200
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3201
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3202
- }, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
3203
- type: 'text',
3204
- className: "".concat(formstyles.form_control),
3205
- 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,
3206
- onChange: function onChange(event) {
3207
- cartinfoupdater('mobile', event.target.value);
3208
- },
3209
- style: {
3210
- resize: 'none',
3211
- fontWeight: sectionproperties.inputtextfontweight,
3212
- background: sectionproperties.input_bgcolor,
3213
- color: sectionproperties.inputfieldcolor,
3214
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3215
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
3216
- boxShadow: 'none'
3217
- }
3218
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3219
- className: "col-lg-4 col-md-12 mb-3"
3220
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3221
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3222
- }, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
3223
- type: 'text',
3224
- className: "".concat(formstyles.form_control),
3225
- 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,
3226
- onChange: function onChange(event) {
3227
- cartinfoupdater('email', event.target.value);
3228
- },
3229
- style: {
3230
- resize: 'none',
3231
- fontWeight: sectionproperties.inputtextfontweight,
3232
- background: sectionproperties.input_bgcolor,
3233
- color: sectionproperties.inputfieldcolor,
3234
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3235
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
3236
- boxShadow: 'none'
3237
- }
3238
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
3239
- className: "col-lg-4 col-md-12 mb-3"
3240
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3241
- className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3242
- }, " ", lang.country), fetchTabexCountriesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3243
- className: "w-100"
3244
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3245
- color: "black",
3246
- width: "20px",
3247
- height: "20px",
3248
- duration: "1s"
3249
- })), !fetchTabexCountriesQueryContext.isFetching && fetchTabexCountriesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
3250
- options: fetchTabexCountriesQueryContext.data.data.countries,
3251
- getOptionLabel: function getOptionLabel(option) {
3252
- return option.name;
3253
- },
3254
- getOptionValue: function getOptionValue(option) {
3255
- return option.id;
3256
- },
3257
- value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
3258
- var _fetchcustomercartQue75, _fetchcustomercartQue76;
3259
-
3260
- 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);
3261
- }),
3262
- onChange: function onChange(option) {
3263
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
3264
-
3265
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
3266
- tempFetchTabexStatesPayloadobjContext.country_id = option.id;
3267
- setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
3268
- cartinfoupdater('countryid', option.id);
3269
- },
3270
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3271
- placeholder: lang.choosecountry,
3272
- isSearchable: true
3273
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3274
- className: "col-lg-4 col-md-12 mb-3"
3275
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3276
- className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3277
- }, lang.stategov), fetchTabexStatesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3278
- className: "w-100"
3279
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3280
- color: "black",
3281
- width: "20px",
3282
- height: "20px",
3283
- duration: "1s"
3284
- })), !fetchTabexStatesQueryContext.isFetching && fetchTabexStatesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
3285
- options: fetchTabexStatesQueryContext.data.data.states,
3286
- getOptionLabel: function getOptionLabel(option) {
3287
- return option.name;
3288
- },
3289
- getOptionValue: function getOptionValue(option) {
3290
- return option.id;
3291
- },
3292
- value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
3293
- var _fetchcustomercartQue77, _fetchcustomercartQue78;
3294
-
3295
- 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);
3296
- }),
3297
- onChange: function onChange(option) {
3298
- var _fetchcustomercartQue79, _fetchcustomercartQue80;
3299
-
3300
- 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) {
3301
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$12({}, FetchTabexStatesPayloadobjContext);
3302
-
3303
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
3304
- tempFetchTabexStatesPayloadobjContext.state_id = option.id;
3305
- setFetchTabexStatesPayloadobjContext(_objectSpread$12({}, tempFetchTabexStatesPayloadobjContext));
3306
- cartinfoupdater('stateid', option.id);
3307
- } else {
3308
- reactNotifications.NotificationManager.warning('', 'Please Choose Country Or State');
3309
- }
3310
- },
3311
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3312
- placeholder: lang.choosestategov,
3313
- isSearchable: true
3314
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3315
- className: "col-lg-4 col-md-12 mb-3"
3316
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3317
- className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
3318
- }, lang.city), fetchTabexCitiesQueryContext.isFetching && /*#__PURE__*/React__default["default"].createElement("div", {
3319
- className: "w-100"
3320
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
3321
- color: "black",
3322
- width: "20px",
3323
- height: "20px",
3324
- duration: "1s"
3325
- })), !fetchTabexCitiesQueryContext.isFetching && fetchTabexCitiesQueryContext.isSuccess && /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
3326
- options: fetchTabexCitiesQueryContext.data.data.cities,
3327
- getOptionLabel: function getOptionLabel(option) {
3328
- return option.name;
3329
- },
3330
- getOptionValue: function getOptionValue(option) {
3331
- return option.id;
3332
- },
3333
- value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
3334
- var _fetchcustomercartQue81, _fetchcustomercartQue82;
3335
-
3336
- 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);
3337
- }),
3338
- onChange: function onChange(option) {
3339
- cartinfoupdater('cityid', option.id);
3340
- },
3341
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
3342
- placeholder: lang.choosecity,
3343
- isSearchable: true
3344
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3345
- className: "col-lg-12 mb-3"
3346
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3347
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3348
- }, lang.shippingaddress), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
3349
- type: 'text',
3350
- className: "".concat(formstyles.form_control),
3351
- 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,
3352
- onChange: function onChange(event) {
3353
- cartinfoupdater('address', event.target.value);
3354
- },
3355
- style: {
3356
- resize: 'none',
3357
- fontWeight: sectionproperties.inputtextfontweight,
3358
- background: sectionproperties.input_bgcolor,
3359
- color: sectionproperties.inputfieldcolor,
3360
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3361
- borderRadius: sectionproperties.inputfieldborderradius + 'px',
3362
- boxShadow: 'none'
3363
- }
3364
- }))))), /*#__PURE__*/React__default["default"].createElement("div", {
3365
- className: "col-lg-12 p-0 w-100"
3366
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3367
- style: {
3368
- background: sectionproperties.payment_sectionbgcolor,
3369
- borderRadius: sectionproperties.payment_borderradius + 'px',
3370
- border: sectionproperties.payment_borderwidth + 'px solid ' + sectionproperties.payment_sectionbordercolor
3371
- }
3372
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3373
- className: "col-lg-12 pl-3 pr-3 pt-2"
3374
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3375
- className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3376
- }, lang.paymentmethod)), /*#__PURE__*/React__default["default"].createElement("div", {
3377
- className: "col-lg-12 p-0"
3378
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
3379
- className: "mt-2 mb-2"
3380
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3381
- className: "row m-0 w-100 mb-3 pl-3 pr-3"
3382
- }, authdetailsContext.instinfo.acceptCOD == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3383
- className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3384
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3385
- className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated) + ' d-flex mb-0 ',
3386
- "for": "codcheckbox"
3387
- }, /*#__PURE__*/React__default["default"].createElement("input", {
3388
- id: 'codcheckbox',
3389
- type: "checkbox",
3390
- className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3391
- 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,
3392
- onChange: function onChange() {
3393
- var _fetchcustomercartQue87, _fetchcustomercartQue88;
3394
-
3395
- 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') {
3396
- cartinfoupdater('paymentmethod', 'cod');
3397
- }
3398
- }
3399
- }), /*#__PURE__*/React__default["default"].createElement("svg", {
3400
- viewBox: "0 0 21 21",
3401
- className: checkoutstyles.svgstyles + ' h-100 '
3402
- }, /*#__PURE__*/React__default["default"].createElement("path", {
3403
- 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"
3404
- })), /*#__PURE__*/React__default["default"].createElement("p", {
3405
- className: ' ml-2 mb-0 cursor-pointer wordbreak mr-2',
3406
- style: {}
3407
- }, lang.cod))), authdetailsContext.instinfo.acceptCardOnDelivery == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
3408
- className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3409
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3410
- 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 '
3411
- }, /*#__PURE__*/React__default["default"].createElement("input", {
3412
- type: "checkbox",
3413
- className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3414
- 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,
3415
- onChange: function onChange() {
3416
- var _fetchcustomercartQue91, _fetchcustomercartQue92;
3417
-
3418
- 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') {
3419
- cartinfoupdater('paymentmethod', 'cardondelivery');
3420
- }
3421
- }
3422
- }), /*#__PURE__*/React__default["default"].createElement("svg", {
3423
- viewBox: "0 0 21 21",
3424
- className: checkoutstyles.svgstyles + ' h-100 '
3425
- }, /*#__PURE__*/React__default["default"].createElement("path", {
3426
- 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"
3427
- })), /*#__PURE__*/React__default["default"].createElement("p", {
3428
- className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
3429
- }, " ", lang.cardondelivery))), authdetailsContext.instinfo.acceptOnlineCardPayment == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
3430
- className: "col-xl-4 col-lg-4 col-md-12 mb-3"
3431
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3432
- 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 '
3433
- }, /*#__PURE__*/React__default["default"].createElement("input", {
3434
- type: "checkbox",
3435
- className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
3436
- 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,
3437
- onChange: function onChange() {
3438
- var _fetchcustomercartQue95, _fetchcustomercartQue96;
3439
-
3440
- 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') {
3441
- cartinfoupdater('paymentmethod', 'onlinepayment');
3442
- }
3443
- }
3444
- }), /*#__PURE__*/React__default["default"].createElement("svg", {
3445
- viewBox: "0 0 21 21",
3446
- className: checkoutstyles.svgstyles + ' h-100 '
3447
- }, /*#__PURE__*/React__default["default"].createElement("path", {
3448
- 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"
3449
- })), /*#__PURE__*/React__default["default"].createElement("p", {
3450
- className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
3451
- }, " ", 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", {
3452
- className: "col-lg-12 p-0 w-100 mb-3"
3453
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3454
- style: {
3455
- background: sectionproperties.payment_sectionbgcolor,
3456
- borderRadius: sectionproperties.payment_borderradius + 'px',
3457
- borderColor: sectionproperties.payment_sectionbordercolor
3458
- }
3459
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3460
- className: "col-lg-12 pl-3 pr-3 pt-2"
3461
- }, /*#__PURE__*/React__default["default"].createElement("p", {
3462
- className: checkoutstyles.innersectiontitlestyles + ' m-0 p-0 d-flex align-items-start '
3463
- }, lang.paymentcardinformation)), /*#__PURE__*/React__default["default"].createElement("div", {
3464
- className: "col-lg-12 p-0"
3465
- }, /*#__PURE__*/React__default["default"].createElement("hr", {
3466
- className: "mt-2 mb-2"
3467
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3468
- className: "w-100 row m-0 pl-3 pr-3 pt-2 pb-2"
3469
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3470
- className: "col-lg-12 col-md-12 col-sm-12 mb-3 p-sm-0"
3471
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3472
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3473
- }, lang.cardnumber), /*#__PURE__*/React__default["default"].createElement("input", {
3474
- className: formstyles.form_controlcheckout,
3475
- type: "text",
3476
- textplaceholder: "",
3477
- onChange: function onChange(event) {},
3478
- style: {
3479
- fontWeight: sectionproperties.inputtextfontweight,
3480
- background: sectionproperties.input_bgcolor,
3481
- color: sectionproperties.inputfieldcolor,
3482
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3483
- borderRadius: sectionproperties.inputfieldborderradius + 'px'
3484
- }
3485
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3486
- className: "w-100 row m-0"
3487
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3488
- className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3489
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3490
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3491
- }, lang.year), /*#__PURE__*/React__default["default"].createElement("input", {
3492
- className: formstyles.form_controlcheckout,
3493
- type: "text",
3494
- textplaceholder: "",
3495
- onChange: function onChange(event) {},
3496
- style: {
3497
- fontWeight: sectionproperties.inputtextfontweight,
3498
- background: sectionproperties.input_bgcolor,
3499
- color: sectionproperties.inputfieldcolor,
3500
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3501
- borderRadius: sectionproperties.inputfieldborderradius + 'px'
3502
- }
3503
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3504
- className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3505
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3506
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3507
- }, lang.month), /*#__PURE__*/React__default["default"].createElement("input", {
3508
- className: formstyles.form_controlcheckout,
3509
- type: "text",
3510
- textplaceholder: "",
3511
- onChange: function onChange(event) {},
3512
- style: {
3513
- fontWeight: sectionproperties.inputtextfontweight,
3514
- background: sectionproperties.input_bgcolor,
3515
- color: sectionproperties.inputfieldcolor,
3516
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3517
- borderRadius: sectionproperties.inputfieldborderradius + 'px'
3518
- }
3519
- })), /*#__PURE__*/React__default["default"].createElement("div", {
3520
- className: "col-lg-4 col-md-12 col-sm-12 p-sm-0 mb-3"
3521
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3522
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3523
- }, lang.cvv), /*#__PURE__*/React__default["default"].createElement("input", {
3524
- className: formstyles.form_controlcheckout,
3525
- type: "text",
3526
- textplaceholder: "",
3527
- onChange: function onChange(event) {},
3528
- style: {
3529
- fontWeight: sectionproperties.inputtextfontweight,
3530
- background: sectionproperties.input_bgcolor,
3531
- color: sectionproperties.inputfieldcolor,
3532
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3533
- borderRadius: sectionproperties.inputfieldborderradius + 'px'
3534
- }
3535
- }))), /*#__PURE__*/React__default["default"].createElement("div", {
3536
- className: "col-lg-12 col-md-12 col-sm-12 mb-2 p-sm-0 mb-3"
3537
- }, /*#__PURE__*/React__default["default"].createElement("label", {
3538
- className: "".concat(checkoutstyles.input_label_name) + ' mb-2 d-flex align-items-start '
3539
- }, lang.nameoncard), /*#__PURE__*/React__default["default"].createElement("input", {
3540
- className: formstyles.form_controlcheckout,
3541
- type: "text",
3542
- textplaceholder: "",
3543
- onChange: function onChange(event) {},
3544
- style: {
3545
- fontWeight: sectionproperties.inputtextfontweight,
3546
- background: sectionproperties.input_bgcolor,
3547
- color: sectionproperties.inputfieldcolor,
3548
- fontSize: sectionproperties.inputfieldfontsize + 'px',
3549
- borderRadius: sectionproperties.inputfieldborderradius + 'px'
3550
- }
3551
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
3552
- className: langdetect == 'en' ? 'col-lg-4 col-md-12 pr-0' : 'col-lg-4 col-md-12 pl-0'
3553
- }, Mycart()))));
3073
+ }, "adsdss");
3554
3074
  };
3555
3075
 
3556
3076
  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";