@salesgenterp/ui-components 0.4.562 → 0.4.564

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.js CHANGED
@@ -473,6 +473,11 @@ var jsonParse = function jsonParse(value) {
473
473
  var convertToBoolean = function convertToBoolean(value) {
474
474
  return lodash.toNumber(value) === 1;
475
475
  };
476
+ var inDevelopment = function inDevelopment() {
477
+ if (typeof window === 'undefined') return false;
478
+ var list = ['localhost', 'calikulture-git-develop-salesgent-techgrow.vercel.app', 'calikulture-git-staging-salesgent-techgrow.vercel.app', 'aa-cell-sc-git-develop-salesgent-techgrow.vercel.app', 'aa-cell-sc-git-staging-salesgent-techgrow.vercel.app'];
479
+ return lodash.includes(list, window.location.hostname);
480
+ };
476
481
 
477
482
  function useSystemFeatureList(_ref) {
478
483
  var apiEndPoint = _ref.apiEndPoint,
@@ -2006,7 +2011,120 @@ var TypographyContainer$1 = styled__default(material.Typography)(_templateObject
2006
2011
  return props.fontColor;
2007
2012
  });
2008
2013
 
2009
- var _templateObject$6;
2014
+ var _templateObject$6, _templateObject2$3, _templateObject3$2;
2015
+ var PdfPreviewModal = function PdfPreviewModal(_ref) {
2016
+ var open = _ref.open,
2017
+ url = _ref.url,
2018
+ title = _ref.title,
2019
+ onClose = _ref.onClose,
2020
+ fontColor = _ref.fontColor,
2021
+ primaryColor = _ref.primaryColor,
2022
+ secondaryColor = _ref.secondaryColor;
2023
+ var _useState = React.useState(''),
2024
+ src = _useState[0],
2025
+ setSrc = _useState[1];
2026
+ var _useState2 = React.useState(false),
2027
+ loading = _useState2[0],
2028
+ setLoading = _useState2[1];
2029
+ var iframeRef = React.useRef(null);
2030
+ React.useEffect(function () {
2031
+ if (!open || !url) return undefined;
2032
+ var objectUrl;
2033
+ var cancelled = false;
2034
+ setLoading(true);
2035
+ (function () {
2036
+ try {
2037
+ return _finallyRethrows(function () {
2038
+ return _catch(function () {
2039
+ return Promise.resolve(fetch(url)).then(function (response) {
2040
+ if (!response.ok) throw new Error(response.statusText);
2041
+ return Promise.resolve(response.blob()).then(function (blob) {
2042
+ objectUrl = URL.createObjectURL(blob);
2043
+ if (!cancelled) setSrc(objectUrl);
2044
+ });
2045
+ });
2046
+ }, function () {
2047
+ if (!cancelled) setSrc(url);
2048
+ });
2049
+ }, function (_wasThrown, _result) {
2050
+ if (!cancelled) setLoading(false);
2051
+ if (_wasThrown) throw _result;
2052
+ return _result;
2053
+ });
2054
+ } catch (e) {
2055
+ Promise.reject(e);
2056
+ }
2057
+ })();
2058
+ return function () {
2059
+ cancelled = true;
2060
+ if (objectUrl) URL.revokeObjectURL(objectUrl);
2061
+ setSrc('');
2062
+ };
2063
+ }, [open, url]);
2064
+ var handlePrint = function handlePrint() {
2065
+ try {
2066
+ var _iframeRef$current, _iframeRef$current$co, _iframeRef$current2, _iframeRef$current2$c;
2067
+ (_iframeRef$current = iframeRef.current) === null || _iframeRef$current === void 0 ? void 0 : (_iframeRef$current$co = _iframeRef$current.contentWindow) === null || _iframeRef$current$co === void 0 ? void 0 : _iframeRef$current$co.focus();
2068
+ (_iframeRef$current2 = iframeRef.current) === null || _iframeRef$current2 === void 0 ? void 0 : (_iframeRef$current2$c = _iframeRef$current2.contentWindow) === null || _iframeRef$current2$c === void 0 ? void 0 : _iframeRef$current2$c.print();
2069
+ } catch (error) {}
2070
+ };
2071
+ return /*#__PURE__*/React__default.createElement(ModalContainer, {
2072
+ open: open,
2073
+ onClose: onClose,
2074
+ fullWidth: true,
2075
+ maxWidth: "lg",
2076
+ secondaryColor: secondaryColor
2077
+ }, /*#__PURE__*/React__default.createElement(material.DialogTitle, {
2078
+ sx: {
2079
+ m: 0,
2080
+ p: 2,
2081
+ pr: 14,
2082
+ color: fontColor,
2083
+ display: 'flex',
2084
+ alignItems: 'center'
2085
+ }
2086
+ }, title || 'Preview', /*#__PURE__*/React__default.createElement(Actions, null, /*#__PURE__*/React__default.createElement(material.Button, {
2087
+ size: "small",
2088
+ variant: "contained",
2089
+ startIcon: /*#__PURE__*/React__default.createElement(md.MdPrint, null),
2090
+ onClick: handlePrint,
2091
+ disabled: loading || !src,
2092
+ style: primaryColor ? {
2093
+ background: primaryColor
2094
+ } : undefined
2095
+ }, "Print"), /*#__PURE__*/React__default.createElement(material.IconButton, {
2096
+ "aria-label": "close",
2097
+ onClick: onClose,
2098
+ sx: {
2099
+ color: fontColor,
2100
+ '& svg': {
2101
+ fontSize: 20
2102
+ }
2103
+ }
2104
+ }, /*#__PURE__*/React__default.createElement(md.MdClose, null)))), /*#__PURE__*/React__default.createElement(material.DialogContent, {
2105
+ dividers: true,
2106
+ sx: {
2107
+ p: 0,
2108
+ height: '80vh'
2109
+ }
2110
+ }, loading || !src ? /*#__PURE__*/React__default.createElement(Center, null, /*#__PURE__*/React__default.createElement(material.CircularProgress, null)) : /*#__PURE__*/React__default.createElement("iframe", {
2111
+ ref: iframeRef,
2112
+ src: src,
2113
+ title: title || 'Preview',
2114
+ style: {
2115
+ width: '100%',
2116
+ height: '100%',
2117
+ border: 0
2118
+ }
2119
+ })));
2120
+ };
2121
+ var ModalContainer = styled__default(material.Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2122
+ return props.secondaryColor;
2123
+ });
2124
+ var Actions = styled__default.div(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 8px;\n top: 8px;\n display: flex;\n align-items: center;\n gap: 8px;\n"])));
2125
+ var Center = styled__default.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
2126
+
2127
+ var _templateObject$7;
2010
2128
  var _excluded$2 = ["children", "onClose", "fontColor"];
2011
2129
  var MuiModal = function MuiModal(props) {
2012
2130
  var fontColor = props.fontColor,
@@ -2015,7 +2133,7 @@ var MuiModal = function MuiModal(props) {
2015
2133
  title = props.title,
2016
2134
  secondaryColor = props.secondaryColor,
2017
2135
  actions = props.actions;
2018
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer, _extends({}, props, {
2136
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalContainer$1, _extends({}, props, {
2019
2137
  onClose: onClose,
2020
2138
  secondaryColor: secondaryColor
2021
2139
  }), /*#__PURE__*/React__default.createElement(BootstrapDialogTitle, {
@@ -2053,11 +2171,11 @@ function BootstrapDialogTitle(props) {
2053
2171
  }
2054
2172
  }, /*#__PURE__*/React__default.createElement(md.MdClose, null)) : null);
2055
2173
  }
2056
- var ModalContainer = styled__default(material.Dialog)(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2174
+ var ModalContainer$1 = styled__default(material.Dialog)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n .MuiPaper-root {\n background: ", ";\n }\n"])), function (props) {
2057
2175
  return props.secondaryColor;
2058
2176
  });
2059
2177
 
2060
- var _templateObject$7, _templateObject2$3, _templateObject3$2, _templateObject4$1;
2178
+ var _templateObject$8, _templateObject2$4, _templateObject3$3, _templateObject4$1;
2061
2179
  var FormRadiogroup = function FormRadiogroup(props) {
2062
2180
  var label = props.label,
2063
2181
  name = props.name,
@@ -2109,20 +2227,20 @@ var FormRadiogroup = function FormRadiogroup(props) {
2109
2227
  }
2110
2228
  });
2111
2229
  };
2112
- var RadiogroupField = styled__default(material.RadioGroup)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2230
+ var RadiogroupField = styled__default(material.RadioGroup)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2113
2231
  return props.primaryColor;
2114
2232
  });
2115
- var RadioField = styled__default(material.Radio)(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2233
+ var RadioField = styled__default(material.Radio)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
2116
2234
  return props.primaryColor;
2117
2235
  });
2118
- var FormControlLabelContainer = styled__default(material.FormControlLabel)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
2236
+ var FormControlLabelContainer = styled__default(material.FormControlLabel)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
2119
2237
  return props.fontColor;
2120
2238
  });
2121
2239
  var InputContainer = styled__default(material.FormLabel)(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2122
2240
  return props.fontColor;
2123
2241
  });
2124
2242
 
2125
- var _templateObject$8, _templateObject2$4;
2243
+ var _templateObject$9, _templateObject2$5;
2126
2244
  var FormSelect = function FormSelect(props) {
2127
2245
  var label = props.label,
2128
2246
  name = props.name,
@@ -2175,14 +2293,14 @@ var FormSelect = function FormSelect(props) {
2175
2293
  }
2176
2294
  });
2177
2295
  };
2178
- var SelectField = styled__default(material.Select)(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
2296
+ var SelectField = styled__default(material.Select)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n"])), function (props) {
2179
2297
  return props.fontColor;
2180
2298
  }, function (props) {
2181
2299
  return props.fontColor;
2182
2300
  }, function (props) {
2183
2301
  return props.fontColor;
2184
2302
  });
2185
- var InputContainer$1 = styled__default(material.InputLabel)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2303
+ var InputContainer$1 = styled__default(material.InputLabel)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
2186
2304
  return props.fontColor;
2187
2305
  });
2188
2306
 
@@ -2491,7 +2609,7 @@ var AddAuthorizeDotNetCard = function AddAuthorizeDotNetCard(_ref) {
2491
2609
  }))))));
2492
2610
  };
2493
2611
 
2494
- var _templateObject$9;
2612
+ var _templateObject$a;
2495
2613
  var PaymentModal = function PaymentModal(_ref) {
2496
2614
  var _customerCreditCards$, _customerCreditCards$2, _orderData$orderDto6, _orderData$orderDto7, _orderData$orderDto8, _orderData$orderDto9, _orderData$customerDt, _orderData$customerDt2, _orderData$orderDto10, _orderData$orderDto11, _authorizeDotNetCardD, _authorizeDotNetCardD2, _authorizeDotNetCardD3, _authorizeDotNetCardD4, _authorizeDotNetCardD5, _authorizeDotNetCardD6, _authorizeDotNetCardD7, _authorizeDotNetCardD8, _customerCreditCards$4, _customerCreditCards$5;
2497
2615
  var apiEndPoint = _ref.apiEndPoint,
@@ -2810,7 +2928,7 @@ var PaymentModal = function PaymentModal(_ref) {
2810
2928
  })
2811
2929
  }, /*#__PURE__*/React__default.createElement("span", null, "Add New Card")))))))))));
2812
2930
  };
2813
- var InfoContainer = styled__default.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #00000040;\n padding-bottom: 1rem;\n margin-bottom: 1rem;\n color: ", ";\n h2 {\n margin-bottom: 0.6rem;\n }\n p {\n font-size: 1.2rem;\n margin-bottom: 0.6rem;\n }\n"])), function (props) {
2931
+ var InfoContainer = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid #00000040;\n padding-bottom: 1rem;\n margin-bottom: 1rem;\n color: ", ";\n h2 {\n margin-bottom: 0.6rem;\n }\n p {\n font-size: 1.2rem;\n margin-bottom: 0.6rem;\n }\n"])), function (props) {
2814
2932
  return props.fontColor;
2815
2933
  });
2816
2934
 
@@ -3149,7 +3267,124 @@ var ExcessPaymentDialog = function ExcessPaymentDialog(_ref2) {
3149
3267
  })));
3150
3268
  };
3151
3269
 
3152
- var _templateObject$a, _templateObject2$5, _templateObject3$3, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
3270
+ var CloneOrderDialog = function CloneOrderDialog(_ref) {
3271
+ var visible = _ref.visible,
3272
+ onClose = _ref.onClose,
3273
+ onSubmit = _ref.onSubmit,
3274
+ loading = _ref.loading,
3275
+ styles = _ref.styles;
3276
+ var _useState = React.useState(null),
3277
+ combineProduct = _useState[0],
3278
+ setCombineProduct = _useState[1];
3279
+ React.useEffect(function () {
3280
+ if (!visible) {
3281
+ setCombineProduct(null);
3282
+ }
3283
+ }, [visible]);
3284
+ var checkboxSx = {
3285
+ '&.Mui-checked': {
3286
+ color: styles === null || styles === void 0 ? void 0 : styles.primaryColor
3287
+ }
3288
+ };
3289
+ return /*#__PURE__*/React__default.createElement(material.Dialog, {
3290
+ open: !!visible,
3291
+ onClose: loading ? undefined : function () {
3292
+ return onClose === null || onClose === void 0 ? void 0 : onClose();
3293
+ },
3294
+ fullWidth: true,
3295
+ maxWidth: "xs"
3296
+ }, /*#__PURE__*/React__default.createElement(material.DialogTitle, null, "Clone Order"), /*#__PURE__*/React__default.createElement(material.DialogContent, null, /*#__PURE__*/React__default.createElement(material.Typography, {
3297
+ sx: {
3298
+ fontWeight: 600,
3299
+ mb: 1
3300
+ }
3301
+ }, "Do you want to combine the products?"), /*#__PURE__*/React__default.createElement(material.Typography, {
3302
+ variant: "body2",
3303
+ sx: {
3304
+ mb: 1
3305
+ }
3306
+ }, "Some products in this order may already be in your cart. Choose how their quantities should be handled:"), /*#__PURE__*/React__default.createElement(material.Typography, {
3307
+ component: "ul",
3308
+ variant: "body2",
3309
+ sx: {
3310
+ pl: 2.5,
3311
+ mb: 1
3312
+ }
3313
+ }, /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement("b", null, "Yes"), " - add the order quantity to what is already in your cart."), /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement("b", null, "No"), " - replace the cart quantity with the order quantity.")), /*#__PURE__*/React__default.createElement(material.Typography, {
3314
+ variant: "body2",
3315
+ sx: {
3316
+ mb: 1,
3317
+ p: 1.5,
3318
+ borderRadius: 1,
3319
+ bgcolor: 'action.hover'
3320
+ }
3321
+ }, /*#__PURE__*/React__default.createElement("b", null, "Example:"), " Your cart has 5 of Product X and this order has 10 of Product X.", /*#__PURE__*/React__default.createElement("br", null), "Yes \u2192 your cart will have ", /*#__PURE__*/React__default.createElement("b", null, "15"), " (5 + 10).", /*#__PURE__*/React__default.createElement("br", null), "No \u2192 your cart will have ", /*#__PURE__*/React__default.createElement("b", null, "10"), "."), /*#__PURE__*/React__default.createElement(material.Grid, {
3322
+ container: true,
3323
+ spacing: 2
3324
+ }, /*#__PURE__*/React__default.createElement(material.Grid, {
3325
+ item: true
3326
+ }, /*#__PURE__*/React__default.createElement(material.FormControlLabel, {
3327
+ label: "Yes",
3328
+ control: /*#__PURE__*/React__default.createElement(material.Checkbox, {
3329
+ checked: combineProduct === true,
3330
+ onChange: function onChange() {
3331
+ return setCombineProduct(true);
3332
+ },
3333
+ disabled: loading,
3334
+ sx: checkboxSx
3335
+ })
3336
+ })), /*#__PURE__*/React__default.createElement(material.Grid, {
3337
+ item: true
3338
+ }, /*#__PURE__*/React__default.createElement(material.FormControlLabel, {
3339
+ label: "No",
3340
+ control: /*#__PURE__*/React__default.createElement(material.Checkbox, {
3341
+ checked: combineProduct === false,
3342
+ onChange: function onChange() {
3343
+ return setCombineProduct(false);
3344
+ },
3345
+ disabled: loading,
3346
+ sx: checkboxSx
3347
+ })
3348
+ }))), /*#__PURE__*/React__default.createElement(material.DialogActions, {
3349
+ sx: {
3350
+ justifyContent: 'center',
3351
+ px: 0,
3352
+ pt: 2
3353
+ }
3354
+ }, /*#__PURE__*/React__default.createElement(material.Grid, {
3355
+ container: true,
3356
+ spacing: 4,
3357
+ alignItems: "center",
3358
+ justifyContent: "center"
3359
+ }, /*#__PURE__*/React__default.createElement(material.Grid, {
3360
+ item: true
3361
+ }, /*#__PURE__*/React__default.createElement(MuiButton, {
3362
+ primaryColor: combineProduct !== null && (styles === null || styles === void 0 ? void 0 : styles.primaryColor),
3363
+ sx: {
3364
+ fontSize: '1.3rem'
3365
+ },
3366
+ onClick: function onClick() {
3367
+ return onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(combineProduct);
3368
+ },
3369
+ loading: loading,
3370
+ disabled: combineProduct === null,
3371
+ size: "small"
3372
+ }, "Submit")), /*#__PURE__*/React__default.createElement(material.Grid, {
3373
+ item: true
3374
+ }, /*#__PURE__*/React__default.createElement(MuiButton, {
3375
+ primaryColor: styles === null || styles === void 0 ? void 0 : styles.primaryColor,
3376
+ sx: {
3377
+ fontSize: '1.3rem'
3378
+ },
3379
+ onClick: function onClick() {
3380
+ return onClose === null || onClose === void 0 ? void 0 : onClose();
3381
+ },
3382
+ disabled: loading,
3383
+ size: "small"
3384
+ }, "Cancel"))))));
3385
+ };
3386
+
3387
+ var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19;
3153
3388
  var totalIcons = [{
3154
3389
  name: '',
3155
3390
  icon: /*#__PURE__*/React__default.createElement(ai.AiOutlineShoppingCart, null)
@@ -3228,6 +3463,7 @@ var Dashboard = function Dashboard(_ref) {
3228
3463
  showOnlyRecentOrder = _ref$showOnlyRecentOr === void 0 ? false : _ref$showOnlyRecentOr,
3229
3464
  hidePayActionButton = _ref.hidePayActionButton,
3230
3465
  paymentProvider = _ref.paymentProvider;
3466
+ var showCloneOrderButton = inDevelopment();
3231
3467
  var _useState = React.useState({}),
3232
3468
  customerData = _useState[0],
3233
3469
  setCustomerData = _useState[1];
@@ -3270,6 +3506,20 @@ var Dashboard = function Dashboard(_ref) {
3270
3506
  }),
3271
3507
  isExcessPaymentModal = _useState7[0],
3272
3508
  setIsExcessPaymentModal = _useState7[1];
3509
+ var _useState8 = React.useState({
3510
+ url: '',
3511
+ title: ''
3512
+ }),
3513
+ invoicePreview = _useState8[0],
3514
+ setInvoicePreview = _useState8[1];
3515
+ var _useState9 = React.useState({
3516
+ open: false
3517
+ }),
3518
+ cloneOrderDialog = _useState9[0],
3519
+ setCloneOrderDialog = _useState9[1];
3520
+ var _useState10 = React.useState(false),
3521
+ cloneOrderLoading = _useState10[0],
3522
+ setCloneOrderLoading = _useState10[1];
3273
3523
  var _ref2 = useSystemFeatureByFieldName({
3274
3524
  apiEndPoint: apiEndPoint,
3275
3525
  token: token,
@@ -3297,9 +3547,9 @@ var Dashboard = function Dashboard(_ref) {
3297
3547
  return featureName ? DASHBOARD_ORDER_LIST_BY_NAME === null || DASHBOARD_ORDER_LIST_BY_NAME === void 0 ? void 0 : DASHBOARD_ORDER_LIST_BY_NAME[featureName] : null;
3298
3548
  }).filter(Boolean);
3299
3549
  }, [selectedDashboardOrderIds, featureValueListById]);
3300
- var _useState8 = React.useState(null),
3301
- value = _useState8[0],
3302
- setValue = _useState8[1];
3550
+ var _useState11 = React.useState(null),
3551
+ value = _useState11[0],
3552
+ setValue = _useState11[1];
3303
3553
  React.useEffect(function () {
3304
3554
  if (!(visibleTabs !== null && visibleTabs !== void 0 && visibleTabs.length)) return;
3305
3555
  var isCurrentVisible = value != null && visibleTabs.some(function (tab) {
@@ -3329,7 +3579,10 @@ var Dashboard = function Dashboard(_ref) {
3329
3579
  };
3330
3580
  var openInvoiceData = function openInvoiceData(orderId) {
3331
3581
  if (serviceApiEndPoint) {
3332
- window.open(serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true", '_blank', 'noopener,noreferrer');
3582
+ setInvoicePreview({
3583
+ url: serviceApiEndPoint + "/" + getInvoicePathByTab(value) + "/invoice/" + orderId + "?token=" + token + "&defaultStoreId=" + defaultStoreId + "&storeIdList=" + storeIdList + "&isEcommerce=true",
3584
+ title: "#" + orderId
3585
+ });
3333
3586
  }
3334
3587
  };
3335
3588
  var getDateKey = function getDateKey(tabValue) {
@@ -3379,6 +3632,74 @@ var Dashboard = function Dashboard(_ref) {
3379
3632
  return Promise.reject(e);
3380
3633
  }
3381
3634
  };
3635
+ var closeCloneOrderDialog = function closeCloneOrderDialog() {
3636
+ if (cloneOrderLoading) return;
3637
+ setCloneOrderDialog({
3638
+ open: false
3639
+ });
3640
+ };
3641
+ var handleCloneOrder = function handleCloneOrder(combineProduct) {
3642
+ try {
3643
+ var documentType = cloneOrderDialog.documentType,
3644
+ documentId = cloneOrderDialog.documentId;
3645
+ if (documentId == null || cloneOrderLoading) return Promise.resolve();
3646
+ setCloneOrderLoading(true);
3647
+ var _temp = _finallyRethrows(function () {
3648
+ return _catch(function () {
3649
+ return Promise.resolve(API({
3650
+ url: "/ecommerce/addToCart",
3651
+ method: 'post',
3652
+ apiEndPoint: apiEndPoint,
3653
+ token: token,
3654
+ body: {
3655
+ documentType: documentType,
3656
+ combineProduct: !!combineProduct,
3657
+ documentId: String(documentId),
3658
+ storeId: defaultStoreId != null ? String(defaultStoreId) : undefined
3659
+ }
3660
+ })).then(function () {
3661
+ setCloneOrderDialog({
3662
+ open: false
3663
+ });
3664
+ alert('Order items added to cart successfully.');
3665
+ window.location.reload();
3666
+ });
3667
+ }, function () {});
3668
+ }, function (_wasThrown, _result) {
3669
+ setCloneOrderLoading(false);
3670
+ if (_wasThrown) throw _result;
3671
+ return _result;
3672
+ });
3673
+ return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
3674
+ } catch (e) {
3675
+ return Promise.reject(e);
3676
+ }
3677
+ };
3678
+ var getCloneOrderColumn = function getCloneOrderColumn(_ref3) {
3679
+ var documentType = _ref3.documentType,
3680
+ idKey = _ref3.idKey;
3681
+ return {
3682
+ id: 'cloneOrder',
3683
+ label: 'Clone Order',
3684
+ align: 'center',
3685
+ format: function format(_value, record) {
3686
+ return /*#__PURE__*/React__default.createElement(MuiButton, {
3687
+ primaryColor: (record === null || record === void 0 ? void 0 : record[idKey]) != null && primaryColor,
3688
+ disabled: (record === null || record === void 0 ? void 0 : record[idKey]) == null,
3689
+ onClick: function onClick() {
3690
+ return setCloneOrderDialog({
3691
+ open: true,
3692
+ documentType: documentType,
3693
+ documentId: record === null || record === void 0 ? void 0 : record[idKey]
3694
+ });
3695
+ },
3696
+ style: {
3697
+ whiteSpace: 'nowrap'
3698
+ }
3699
+ }, "Clone Order");
3700
+ }
3701
+ };
3702
+ };
3382
3703
  var columns = [{
3383
3704
  id: 'orderId',
3384
3705
  label: 'Invoice #'
@@ -3468,7 +3789,10 @@ var Dashboard = function Dashboard(_ref) {
3468
3789
  disabled: (record === null || record === void 0 ? void 0 : record.dueBalance) <= 0
3469
3790
  }, "Pay"));
3470
3791
  }
3471
- }];
3792
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3793
+ documentType: 'ORDER',
3794
+ idKey: 'orderId'
3795
+ })] : []);
3472
3796
  var salesOrderColumns = [{
3473
3797
  id: 'salesOrderId',
3474
3798
  label: 'SO #'
@@ -3522,7 +3846,10 @@ var Dashboard = function Dashboard(_ref) {
3522
3846
  }
3523
3847
  })));
3524
3848
  }
3525
- }];
3849
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3850
+ documentType: 'SALES_ORDER',
3851
+ idKey: 'salesOrderId'
3852
+ })] : []);
3526
3853
  var quotaionColumns = [{
3527
3854
  id: 'quotationId',
3528
3855
  label: 'ID'
@@ -3570,7 +3897,10 @@ var Dashboard = function Dashboard(_ref) {
3570
3897
  }
3571
3898
  })));
3572
3899
  }
3573
- }];
3900
+ }].concat(showCloneOrderButton ? [getCloneOrderColumn({
3901
+ documentType: 'QUOTATION',
3902
+ idKey: 'quotationId'
3903
+ })] : []);
3574
3904
  var returnOrderColumns = [{
3575
3905
  id: 'returnOrderId',
3576
3906
  label: 'ID'
@@ -3621,7 +3951,7 @@ var Dashboard = function Dashboard(_ref) {
3621
3951
  React.useEffect(function () {
3622
3952
  (function () {
3623
3953
  try {
3624
- var _temp = _catch(function () {
3954
+ var _temp2 = _catch(function () {
3625
3955
  return Promise.resolve(API({
3626
3956
  url: "/ecommerce/customer",
3627
3957
  apiEndPoint: apiEndPoint,
@@ -3638,7 +3968,7 @@ var Dashboard = function Dashboard(_ref) {
3638
3968
  });
3639
3969
  });
3640
3970
  }, function () {});
3641
- return _temp && _temp.then ? _temp.then(function () {}) : void 0;
3971
+ return _temp2 && _temp2.then ? _temp2.then(function () {}) : void 0;
3642
3972
  } catch (e) {
3643
3973
  Promise.reject(e);
3644
3974
  }
@@ -3675,7 +4005,20 @@ var Dashboard = function Dashboard(_ref) {
3675
4005
  var list = ['totalNumberOfOrders', 'totalAmountSpend'];
3676
4006
  return hideTotalCardInDashboardSummary ? !includesCaseInsensitive(list, data === null || data === void 0 ? void 0 : data.name) : data;
3677
4007
  });
3678
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
4008
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
4009
+ open: !!(invoicePreview !== null && invoicePreview !== void 0 && invoicePreview.url),
4010
+ url: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.url,
4011
+ title: invoicePreview === null || invoicePreview === void 0 ? void 0 : invoicePreview.title,
4012
+ onClose: function onClose() {
4013
+ return setInvoicePreview({
4014
+ url: '',
4015
+ title: ''
4016
+ });
4017
+ },
4018
+ fontColor: fontColor,
4019
+ primaryColor: primaryColor,
4020
+ secondaryColor: secondaryColor
4021
+ }), (isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.open) && /*#__PURE__*/React__default.createElement(PaymentModal, {
3679
4022
  apiEndPoint: apiEndPoint,
3680
4023
  token: token,
3681
4024
  paymentProvider: paymentProvider,
@@ -3710,6 +4053,12 @@ var Dashboard = function Dashboard(_ref) {
3710
4053
  orderId: isPaymentModal === null || isPaymentModal === void 0 ? void 0 : isPaymentModal.orderId,
3711
4054
  setTriggerTableData: setTriggerTableData,
3712
4055
  styles: styles
4056
+ }), /*#__PURE__*/React__default.createElement(CloneOrderDialog, {
4057
+ visible: !!(cloneOrderDialog !== null && cloneOrderDialog !== void 0 && cloneOrderDialog.open),
4058
+ onClose: closeCloneOrderDialog,
4059
+ onSubmit: handleCloneOrder,
4060
+ loading: cloneOrderLoading,
4061
+ styles: styles
3713
4062
  }), (isExcessPaymentModal === null || isExcessPaymentModal === void 0 ? void 0 : isExcessPaymentModal.open) && /*#__PURE__*/React__default.createElement(ExcessPaymentDialog, {
3714
4063
  excessPaymentToken: (_queryParams$excessPa = queryParams === null || queryParams === void 0 ? void 0 : queryParams.excessPayment) != null ? _queryParams$excessPa : '',
3715
4064
  customerData: customerData,
@@ -4056,13 +4405,13 @@ var Dashboard = function Dashboard(_ref) {
4056
4405
  }
4057
4406
  }))))))))));
4058
4407
  };
4059
- var Root$2 = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose([""])));
4060
- var TitleContainer = styled__default.h4(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n span {\n color: ", ";\n font-size: 2.7rem;\n font-weight: 500;\n }\n b {\n color: ", ";\n font-size: 2.7rem;\n }\n"])), function (props) {
4408
+ var Root$2 = styled__default.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose([""])));
4409
+ var TitleContainer = styled__default.h4(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n span {\n color: ", ";\n font-size: 2.7rem;\n font-weight: 500;\n }\n b {\n color: ", ";\n font-size: 2.7rem;\n }\n"])), function (props) {
4061
4410
  return props.fontColor;
4062
4411
  }, function (props) {
4063
4412
  return props.primaryColor;
4064
4413
  });
4065
- var MeetContainer = styled__default.h4(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-bottom: 1rem;\n span > b {\n color: ", ";\n font-size: 1.3rem;\n }\n span {\n color: ", ";\n font-size: 1.3rem;\n }\n"])), function (props) {
4414
+ var MeetContainer = styled__default.h4(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 1rem;\n span > b {\n color: ", ";\n font-size: 1.3rem;\n }\n span {\n color: ", ";\n font-size: 1.3rem;\n }\n"])), function (props) {
4066
4415
  return props.primaryColor;
4067
4416
  }, function (props) {
4068
4417
  return props.fontColor;
@@ -4136,7 +4485,7 @@ var TabsContainer = styled__default(material.Tabs)(_templateObject19 || (_templa
4136
4485
  return props.primaryColor;
4137
4486
  });
4138
4487
 
4139
- var _templateObject$b, _templateObject2$6, _templateObject3$4, _templateObject4$3, _templateObject5$2;
4488
+ var _templateObject$c, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$2;
4140
4489
  var MyProfile = function MyProfile(_ref) {
4141
4490
  var apiEndPoint = _ref.apiEndPoint,
4142
4491
  token = _ref.token,
@@ -4383,15 +4732,15 @@ var MyProfile = function MyProfile(_ref) {
4383
4732
  disabled: disabledUpdateProfileFromDashboard
4384
4733
  }, "Update Profile"))));
4385
4734
  };
4386
- var MeetContainer$1 = styled__default.h4(_templateObject$b || (_templateObject$b = _taggedTemplateLiteralLoose(["\n span > b {\n color: ", ";\n font-size: 1.5rem;\n }\n b {\n color: ", ";\n font-size: 1.5rem;\n }\n"])), function (props) {
4735
+ var MeetContainer$1 = styled__default.h4(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n span > b {\n color: ", ";\n font-size: 1.5rem;\n }\n b {\n color: ", ";\n font-size: 1.5rem;\n }\n"])), function (props) {
4387
4736
  return props.primaryColor;
4388
4737
  }, function (props) {
4389
4738
  return props.fontColor;
4390
4739
  });
4391
- var TypographyContainer$3 = styled__default(material.Typography)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
4740
+ var TypographyContainer$3 = styled__default(material.Typography)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
4392
4741
  return props.fontColor;
4393
4742
  });
4394
- var CardMediaContainer$1 = styled__default(material.CardMedia)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
4743
+ var CardMediaContainer$1 = styled__default(material.CardMedia)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n border-radius: 14px;\n max-width: 150px;\n"])));
4395
4744
  var CardContainer$1 = styled__default(material.Stack)(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n margin: 1.2rem 0;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
4396
4745
  return props.secondaryColor;
4397
4746
  });
@@ -4399,7 +4748,7 @@ var RootContainer$1 = styled__default(material.Stack)(_templateObject5$2 || (_te
4399
4748
  return props.secondaryColor;
4400
4749
  });
4401
4750
 
4402
- var _templateObject$c;
4751
+ var _templateObject$d;
4403
4752
  var SideMenuItemComponent = function SideMenuItemComponent(props) {
4404
4753
  var className = props.className,
4405
4754
  onClick = props.onClick,
@@ -4495,7 +4844,7 @@ var _SideMenuItem = function SideMenuItem(props) {
4495
4844
  }))) : null;
4496
4845
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, MenuItemRoot, MenuItemChildren);
4497
4846
  };
4498
- var ListItemIconContainer = styled__default(material.ListItemIcon)(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
4847
+ var ListItemIconContainer = styled__default(material.ListItemIcon)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n min-width: 40px !important;\n"])));
4499
4848
  var SideMenuItemComponentContainer = styles.styled(SideMenuItemComponent)(function (_ref) {
4500
4849
  var primaryColor = _ref.primaryColor,
4501
4850
  list = _ref.list,
@@ -4587,7 +4936,7 @@ var SideMenu = function SideMenu(props) {
4587
4936
  }));
4588
4937
  };
4589
4938
 
4590
- var _templateObject$d, _templateObject2$7;
4939
+ var _templateObject$e, _templateObject2$8;
4591
4940
  var _excluded$3 = ["label", "onChange", "defaultValue", "options", "valueKey", "labelKey", "addNone", "fontColor", "maxWidth", "checkAllOption", "multiple"];
4592
4941
  function MuiSelect(_ref) {
4593
4942
  var label = _ref.label,
@@ -4660,18 +5009,18 @@ function MuiSelect(_ref) {
4660
5009
  }));
4661
5010
  })));
4662
5011
  }
4663
- var SelectContainer = styled__default(Select$1)(_templateObject$d || (_templateObject$d = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n .MuiCheckbox-root {\n padding: 0;\n }\n"])), function (props) {
5012
+ var SelectContainer = styled__default(Select$1)(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n svg,\n input {\n color: ", " !important;\n }\n fieldset {\n border-color: ", " !important;\n }\n .MuiCheckbox-root {\n padding: 0;\n }\n"])), function (props) {
4664
5013
  return props.fontColor;
4665
5014
  }, function (props) {
4666
5015
  return props.fontColor;
4667
5016
  }, function (props) {
4668
5017
  return props.fontColor;
4669
5018
  });
4670
- var InputContainer$2 = styled__default(InputLabel)(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
5019
+ var InputContainer$2 = styled__default(InputLabel)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", " !important;\n"])), function (props) {
4671
5020
  return props.fontColor;
4672
5021
  });
4673
5022
 
4674
- var _templateObject$e, _templateObject2$8, _templateObject3$5, _templateObject4$4;
5023
+ var _templateObject$f, _templateObject2$9, _templateObject3$6, _templateObject4$4;
4675
5024
  var Statement = function Statement(_ref) {
4676
5025
  var apiEndPoint = _ref.apiEndPoint,
4677
5026
  serviceApiEndPoint = _ref.serviceApiEndPoint,
@@ -4704,6 +5053,9 @@ var Statement = function Statement(_ref) {
4704
5053
  var _useState5 = React.useState(getRandomString()),
4705
5054
  triggerTableData = _useState5[0],
4706
5055
  setTriggerTableData = _useState5[1];
5056
+ var _useState6 = React.useState(''),
5057
+ previewUrl = _useState6[0],
5058
+ setPreviewUrl = _useState6[1];
4707
5059
  var onDateChange = function onDateChange(data) {
4708
5060
  setQueryParams(_extends({}, queryParams, {
4709
5061
  startDate: getUTCTime({
@@ -4796,9 +5148,7 @@ var Statement = function Statement(_ref) {
4796
5148
  var print = function print() {
4797
5149
  var _customerData$custome, _customerData$custome2;
4798
5150
  var location = "/cusomter/statement?token=" + token + "&startDate=" + queryParams.startDate + "&endDate=" + queryParams.endDate + "&customerIds=" + (queryParams !== null && queryParams !== void 0 && queryParams.customerIds ? (queryParams === null || queryParams === void 0 ? void 0 : queryParams.customerIds) + "," + (customerData === null || customerData === void 0 ? void 0 : (_customerData$custome = customerData.customerDto) === null || _customerData$custome === void 0 ? void 0 : _customerData$custome.id) : customerData === null || customerData === void 0 ? void 0 : (_customerData$custome2 = customerData.customerDto) === null || _customerData$custome2 === void 0 ? void 0 : _customerData$custome2.id) + "&storeIdList=" + storeIdList + "&defaultStoreId=" + defaultStoreId;
4799
- var pdfUrl = "" + serviceApiEndPoint + location;
4800
- var w = window.open(pdfUrl);
4801
- w.print();
5151
+ setPreviewUrl("" + serviceApiEndPoint + location);
4802
5152
  };
4803
5153
  var getStatementAPIData = function getStatementAPIData(_ref2) {
4804
5154
  var params = _ref2.params;
@@ -4823,7 +5173,17 @@ var Statement = function Statement(_ref) {
4823
5173
  };
4824
5174
  return /*#__PURE__*/React__default.createElement(Root$3, {
4825
5175
  backgroundColor: backgroundColor
4826
- }, /*#__PURE__*/React__default.createElement(TableContainer$1, null, !lodash.isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
5176
+ }, /*#__PURE__*/React__default.createElement(PdfPreviewModal, {
5177
+ open: !!previewUrl,
5178
+ url: previewUrl,
5179
+ title: "Statement",
5180
+ onClose: function onClose() {
5181
+ return setPreviewUrl('');
5182
+ },
5183
+ fontColor: fontColor,
5184
+ primaryColor: primaryColor,
5185
+ secondaryColor: secondaryColor
5186
+ }), /*#__PURE__*/React__default.createElement(TableContainer$1, null, !lodash.isEmpty(customerData) && /*#__PURE__*/React__default.createElement(APITable, {
4827
5187
  cacheFilters: true,
4828
5188
  extraFilterParams: queryParams,
4829
5189
  tableHeaderContent: /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(material.Grid, {
@@ -4895,14 +5255,14 @@ var Statement = function Statement(_ref) {
4895
5255
  fontColor: fontColor
4896
5256
  })));
4897
5257
  };
4898
- var Root$3 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteralLoose([""])));
4899
- var TypographyContainer$4 = styled__default(material.Typography)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5258
+ var Root$3 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose([""])));
5259
+ var TypographyContainer$4 = styled__default(material.Typography)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
4900
5260
  return props.fontColor;
4901
5261
  });
4902
- var StatusContainer$1 = styled__default(material.Grid)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n padding: 2px 4px;\n"])));
5262
+ var StatusContainer$1 = styled__default(material.Grid)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n display: initial;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n padding: 2px 4px;\n"])));
4903
5263
  var TableContainer$1 = styled__default.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
4904
5264
 
4905
- var _templateObject$f, _templateObject2$9;
5265
+ var _templateObject$g, _templateObject2$a;
4906
5266
  var FormCheckbox = function FormCheckbox(props) {
4907
5267
  var label = props.label,
4908
5268
  name = props.name,
@@ -4944,14 +5304,14 @@ var FormCheckbox = function FormCheckbox(props) {
4944
5304
  }
4945
5305
  });
4946
5306
  };
4947
- var CheckboxField = styled__default(material.Checkbox)(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
5307
+ var CheckboxField = styled__default(material.Checkbox)(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n svg {\n color: ", " !important;\n }\n"])), function (props) {
4948
5308
  return props.primaryColor;
4949
5309
  });
4950
- var FormControlLabelContainer$1 = styled__default(material.FormControlLabel)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
5310
+ var FormControlLabelContainer$1 = styled__default(material.FormControlLabel)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n .MuiTypography-root {\n color: ", " !important;\n }\n"])), function (props) {
4951
5311
  return props.fontColor;
4952
5312
  });
4953
5313
 
4954
- var _templateObject$g;
5314
+ var _templateObject$h;
4955
5315
  var AddEditAddress = function AddEditAddress(_ref) {
4956
5316
  var apiEndPoint = _ref.apiEndPoint,
4957
5317
  token = _ref.token,
@@ -5168,11 +5528,11 @@ var AddEditAddress = function AddEditAddress(_ref) {
5168
5528
  loading: isLoading
5169
5529
  }, addressDetails ? 'Update Address' : 'Add Address')));
5170
5530
  };
5171
- var HeaderContainer = styled__default.h2(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
5531
+ var HeaderContainer = styled__default.h2(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-top: 1rem;\n font-size: 1.3rem;\n font-weight: 500;\n"])), function (props) {
5172
5532
  return props.fontColor;
5173
5533
  });
5174
5534
 
5175
- var _templateObject$h, _templateObject2$a, _templateObject3$6, _templateObject4$5, _templateObject5$3, _templateObject6$2;
5535
+ var _templateObject$i, _templateObject2$b, _templateObject3$7, _templateObject4$5, _templateObject5$3, _templateObject6$2;
5176
5536
  var StoreDetails = function StoreDetails(_ref) {
5177
5537
  var _storeAddresses$filte;
5178
5538
  var apiEndPoint = _ref.apiEndPoint,
@@ -5258,17 +5618,17 @@ var StoreDetails = function StoreDetails(_ref) {
5258
5618
  }).join(', ')), (address === null || address === void 0 ? void 0 : address.country) && /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.country), /*#__PURE__*/React__default.createElement("p", null, address === null || address === void 0 ? void 0 : address.phone), (address === null || address === void 0 ? void 0 : address.billingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "billing address")), (address === null || address === void 0 ? void 0 : address.shippingAddress) && /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement("span", null, "shipping address"))))));
5259
5619
  })));
5260
5620
  };
5261
- var RootContainer$2 = styled__default(material.Stack)(_templateObject$h || (_templateObject$h = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
5621
+ var RootContainer$2 = styled__default(material.Stack)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
5262
5622
  return props.secondaryColor;
5263
5623
  });
5264
- var AddressContainer = styled__default(material.Card)(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n border-radius: 14px !important;\n background-color: ", " !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px !important;\n .MuiCardHeader-root {\n background-color: ", ";\n padding: 4px 14px;\n svg,\n h3 {\n color: #fff;\n font-size: 1.3rem;\n }\n h3 {\n font-weight: 500;\n margin-left: 6px;\n }\n }\n p {\n font-size: 0.9rem;\n font-weight: 400;\n color: ", ";\n margin-bottom: 1rem;\n word-break: break-word;\n }\n"])), function (props) {
5624
+ var AddressContainer = styled__default(material.Card)(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n border-radius: 14px !important;\n background-color: ", " !important;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px !important;\n .MuiCardHeader-root {\n background-color: ", ";\n padding: 4px 14px;\n svg,\n h3 {\n color: #fff;\n font-size: 1.3rem;\n }\n h3 {\n font-weight: 500;\n margin-left: 6px;\n }\n }\n p {\n font-size: 0.9rem;\n font-weight: 400;\n color: ", ";\n margin-bottom: 1rem;\n word-break: break-word;\n }\n"])), function (props) {
5265
5625
  return props.secondaryColor;
5266
5626
  }, function (props) {
5267
5627
  return props.primaryColor;
5268
5628
  }, function (props) {
5269
5629
  return props.fontColor;
5270
5630
  });
5271
- var Modal = styled__default(MuiModal)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose([""])));
5631
+ var Modal = styled__default(MuiModal)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose([""])));
5272
5632
  var TypographyContainer$5 = styled__default(material.Typography)(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5273
5633
  return props.fontColor;
5274
5634
  });
@@ -5277,7 +5637,7 @@ var AddressCardContainer = styled__default.div(_templateObject6$2 || (_templateO
5277
5637
  return props.primaryColor;
5278
5638
  });
5279
5639
 
5280
- var _templateObject$i;
5640
+ var _templateObject$j;
5281
5641
  var _excluded$4 = ["children", "value", "index"];
5282
5642
  function TabPanel(props) {
5283
5643
  var children = props.children,
@@ -5382,7 +5742,7 @@ var StoreTabs = function StoreTabs(_ref) {
5382
5742
  customer: customer
5383
5743
  })))));
5384
5744
  };
5385
- var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$i || (_templateObject$i = _taggedTemplateLiteralLoose(["\n button {\n color: ", " !important;\n font-size: 1.1rem;\n }\n .Mui-selected {\n color: ", " !important;\n }\n .MuiTabs-indicator {\n background-color: ", " !important;\n }\n"])), function (props) {
5745
+ var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n button {\n color: ", " !important;\n font-size: 1.1rem;\n }\n .Mui-selected {\n color: ", " !important;\n }\n .MuiTabs-indicator {\n background-color: ", " !important;\n }\n"])), function (props) {
5386
5746
  return props.fontColor;
5387
5747
  }, function (props) {
5388
5748
  return props.primaryColor;
@@ -5390,7 +5750,7 @@ var TabsContainer$1 = styled__default(material.Tabs)(_templateObject$i || (_temp
5390
5750
  return props.primaryColor;
5391
5751
  });
5392
5752
 
5393
- var _templateObject$j, _templateObject2$b, _templateObject3$7;
5753
+ var _templateObject$k, _templateObject2$c, _templateObject3$8;
5394
5754
  var StoreList = function StoreList(_ref) {
5395
5755
  var apiEndPoint = _ref.apiEndPoint,
5396
5756
  token = _ref.token,
@@ -5437,9 +5797,9 @@ var StoreList = function StoreList(_ref) {
5437
5797
  customer: customer
5438
5798
  }));
5439
5799
  };
5440
- var Modal$1 = styled__default(MuiModal)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose([""])));
5441
- var StoreHeader = styled__default.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 1rem 0;\n .manageStore {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n"])));
5442
- var TypographyContainer$6 = styled__default(material.Typography)(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5800
+ var Modal$1 = styled__default(MuiModal)(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose([""])));
5801
+ var StoreHeader = styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 1rem 0;\n .manageStore {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n"])));
5802
+ var TypographyContainer$6 = styled__default(material.Typography)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
5443
5803
  return props.fontColor;
5444
5804
  });
5445
5805
 
@@ -5463,11 +5823,11 @@ var getDropzoneRejectionError = function getDropzoneRejectionError(fileRejection
5463
5823
  return (error === null || error === void 0 ? void 0 : error.message) || 'Invalid file';
5464
5824
  };
5465
5825
 
5466
- var _templateObject$k, _templateObject2$c, _templateObject3$8, _templateObject4$6, _templateObject5$4, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
5826
+ var _templateObject$l, _templateObject2$d, _templateObject3$9, _templateObject4$6, _templateObject5$4, _templateObject6$3, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
5467
5827
  var DEFAULT_PRIMARY_COLOR = "#437c0f";
5468
- var Container = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n min-height: 80vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #f6f6f6;\n padding: 2rem 1rem;\n"])));
5469
- var Card = styled__default.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n width: min(100%, 720px);\n background: #fff;\n border: 1px solid #cac8c8;\n border-radius: 8px;\n padding: 1.5rem;\n"])));
5470
- var Title = styled__default.h2(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n color: ", ";\n margin: 0 0 1.25rem;\n"])), function (_ref) {
5828
+ var Container = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n min-height: 80vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background: #f6f6f6;\n padding: 2rem 1rem;\n"])));
5829
+ var Card = styled__default.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n width: min(100%, 720px);\n background: #fff;\n border: 1px solid #cac8c8;\n border-radius: 8px;\n padding: 1.5rem;\n"])));
5830
+ var Title = styled__default.h2(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n color: ", ";\n margin: 0 0 1.25rem;\n"])), function (_ref) {
5471
5831
  var $primaryColor = _ref.$primaryColor;
5472
5832
  return $primaryColor;
5473
5833
  });
@@ -5819,7 +6179,7 @@ var getDocumentTypes = function getDocumentTypes(_ref3) {
5819
6179
  }
5820
6180
  };
5821
6181
 
5822
- var _templateObject$l;
6182
+ var _templateObject$m;
5823
6183
  var columns = [{
5824
6184
  id: 'orderId',
5825
6185
  label: 'Order Id',
@@ -5879,9 +6239,9 @@ var UpcomingACHPayments = function UpcomingACHPayments(_ref) {
5879
6239
  fontColor: fontColor
5880
6240
  }));
5881
6241
  };
5882
- var TableContainer$2 = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
6242
+ var TableContainer$2 = styled__default.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n border-radius: 14px;\n"])));
5883
6243
 
5884
- var _templateObject$m, _templateObject2$d, _templateObject3$9, _templateObject4$7;
6244
+ var _templateObject$n, _templateObject2$e, _templateObject3$a, _templateObject4$7;
5885
6245
  var _excluded$5 = ["apiEndPoint", "serviceApiEndPoint", "token", "primaryColor", "secondaryColor", "backgroundColor", "fontColor", "darkMode", "onChangeColors", "path", "onChangePath", "maxWidth", "logoUrl", "sectionLeftImageSection", "exploreCategoryImage", "sectionRightImageSection", "discountImageSection", "disabledUpdateProfileFromDashboard", "hideTotalCardInDashboardSummary", "showOnlyRecentOrder", "hidePayActionButton", "hideAddAccessPaymentButton"];
5886
6246
  var AccountDetails = function AccountDetails(_ref) {
5887
6247
  var _storeData$map, _storeData$find, _storeData$;
@@ -6259,14 +6619,14 @@ var AccountDetails = function AccountDetails(_ref) {
6259
6619
  skeleton: true
6260
6620
  }, apiEndPoint && token && renderListItemComponent(tabValue))))))));
6261
6621
  };
6262
- var Root$4 = styled__default(material.Box)(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n // background-image: url(", ");\n // background-position: center;\n // background-repeat: no-repeat;\n // background-size: cover;\n padding: 1.4rem;\n background-color: ", ";\n"])), function (props) {
6622
+ var Root$4 = styled__default(material.Box)(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n // background-image: url(", ");\n // background-position: center;\n // background-repeat: no-repeat;\n // background-size: cover;\n padding: 1.4rem;\n background-color: ", ";\n"])), function (props) {
6263
6623
  var _props$theme;
6264
6624
  return (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.backgroundImage;
6265
6625
  }, function (props) {
6266
6626
  var _props$theme2, _props$theme3, _props$theme4;
6267
6627
  return (_props$theme2 = props.theme) !== null && _props$theme2 !== void 0 && _props$theme2.isNightMode ? (_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.secondaryColor : "rgba(" + hexToRgbA((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.primaryColor) + ",0.1)";
6268
6628
  });
6269
- var MainContainer = styled__default.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: ", ";\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
6629
+ var MainContainer = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: ", ";\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n"])), function (props) {
6270
6630
  return props.backgroundColor;
6271
6631
  }, function (props) {
6272
6632
  return props.open ? '1800px' : '1600px';
@@ -6301,7 +6661,7 @@ var Main = styles.styled('main', {
6301
6661
  overflow: 'auto'
6302
6662
  });
6303
6663
  });
6304
- var ContainerDrawer = styled__default(material.Drawer)(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
6664
+ var ContainerDrawer = styled__default(material.Drawer)(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
6305
6665
  return props.open && '2rem';
6306
6666
  }, function (props) {
6307
6667
  return props.primaryColor || transparent;
@@ -6310,7 +6670,7 @@ var TypographyContainer$7 = styled__default(material.Typography)(_templateObject
6310
6670
  return props.fontColor;
6311
6671
  });
6312
6672
 
6313
- var _templateObject$n, _templateObject2$e, _templateObject3$a;
6673
+ var _templateObject$o, _templateObject2$f, _templateObject3$b;
6314
6674
  var BannerImages = function BannerImages(_ref) {
6315
6675
  var eager = _ref.eager,
6316
6676
  config = _ref.config,
@@ -6378,16 +6738,16 @@ var BannerImages = function BannerImages(_ref) {
6378
6738
  }))));
6379
6739
  })));
6380
6740
  };
6381
- var Video = styled__default.video(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6741
+ var Video = styled__default.video(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6382
6742
  var Image = styled__default.img.attrs(function (props) {
6383
6743
  return {
6384
6744
  loading: props.loading || 'lazy',
6385
6745
  decoding: 'async'
6386
6746
  };
6387
- })(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6388
- var BannerContainer$1 = styled__default.section(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n font-size: 0;\n"])));
6747
+ })(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n cursor: pointer;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.02);\n }\n"])));
6748
+ var BannerContainer$1 = styled__default.section(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n font-size: 0;\n"])));
6389
6749
 
6390
- var _templateObject$o, _templateObject2$f, _templateObject3$b, _templateObject4$8;
6750
+ var _templateObject$p, _templateObject2$g, _templateObject3$c, _templateObject4$8;
6391
6751
  var LandingCarousel = function LandingCarousel(_ref) {
6392
6752
  var _config$spaceBetweenC, _config$colLg, _ref2, _ref3, _config$colSm, _ref4, _config$colMd, _config$colLg2;
6393
6753
  var eager = _ref.eager,
@@ -6477,16 +6837,16 @@ var Image$1 = styled__default.img.attrs(function (props) {
6477
6837
  loading: props.loading || 'lazy',
6478
6838
  decoding: 'async'
6479
6839
  };
6480
- })(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6481
- var Video$1 = styled__default.video(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6482
- var Root$5 = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6840
+ })(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6841
+ var Video$1 = styled__default.video(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6842
+ var Root$5 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6483
6843
  var ReactSlick = styled__default(Slider)(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n .slideItem {\n height: 100%;\n padding: 0 ", "px;\n overflow: hidden;\n }\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
6484
6844
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6485
6845
  }, function (props) {
6486
6846
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6487
6847
  });
6488
6848
 
6489
- var _templateObject$p, _templateObject2$g;
6849
+ var _templateObject$q, _templateObject2$h;
6490
6850
  var JUSTIFY = {
6491
6851
  Left: {
6492
6852
  marginRight: 'auto'
@@ -6693,8 +7053,8 @@ var HomeBanner = function HomeBanner(_ref) {
6693
7053
  }, item === null || item === void 0 ? void 0 : item.component);
6694
7054
  }))))));
6695
7055
  };
6696
- var Root$6 = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose([""])));
6697
- var MainContainer$1 = styled__default.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose([""])));
7056
+ var Root$6 = styled__default.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose([""])));
7057
+ var MainContainer$1 = styled__default.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose([""])));
6698
7058
  var NearViewport = function NearViewport(_ref3) {
6699
7059
  var skip = _ref3.skip,
6700
7060
  height = _ref3.height,
@@ -6797,7 +7157,7 @@ var adjustResponsiveSpace = function adjustResponsiveSpace(_ref6) {
6797
7157
  return spaceValue;
6798
7158
  };
6799
7159
 
6800
- var _templateObject$q, _templateObject2$h, _templateObject3$c, _templateObject4$9, _templateObject5$5;
7160
+ var _templateObject$r, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$5;
6801
7161
  var LandingCarousel$1 = function LandingCarousel(_ref) {
6802
7162
  var _brandData2;
6803
7163
  var brandList = _ref.brandList,
@@ -6928,9 +7288,9 @@ var Image$2 = styled__default.img.attrs(function (props) {
6928
7288
  loading: props.loading || 'lazy',
6929
7289
  decoding: 'async'
6930
7290
  };
6931
- })(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: contain;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6932
- var Video$2 = styled__default.video(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
6933
- var Root$7 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
7291
+ })(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: contain;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
7292
+ var Video$2 = styled__default.video(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n transition: all 0.5s;\n height: 100%;\n min-height: 100px;\n max-width: 150px;\n object-fit: cover;\n object-position: center;\n &:hover {\n transform: scale(1.05);\n }\n"])));
7293
+ var Root$7 = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n height: 100%;\n"])));
6934
7294
  var ReactSlick$1 = styled__default(Slider)(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n height: 100%;\n .slick-track {\n height: 100%;\n }\n .slick-slide {\n height: 100%;\n div:first-child {\n height: 100%;\n }\n }\n .slick-list {\n height: 100%;\n margin: 0 -", "px;\n }\n\n line-height: 0;\n .slick-dots {\n bottom: 0;\n li {\n margin: 0;\n button:before {\n color: #ffffff !important;\n font-size: 10px;\n }\n }\n }\n .slick-prev,\n .slick-next {\n color: #464646 !important;\n z-index: 1;\n width: 26px;\n height: 26px;\n }\n .slick-prev {\n left: 12px;\n }\n .slick-next {\n right: 12px;\n }\n"])), function (props) {
6935
7295
  return props === null || props === void 0 ? void 0 : props.spaceBetweenCol;
6936
7296
  });
@@ -6938,7 +7298,7 @@ var SliderItem = styled__default.div(_templateObject5$5 || (_templateObject5$5 =
6938
7298
  return (props === null || props === void 0 ? void 0 : props.spaceBetweenCol) || 0;
6939
7299
  });
6940
7300
 
6941
- var _templateObject$r, _templateObject2$i;
7301
+ var _templateObject$s, _templateObject2$j;
6942
7302
  var BrandList = function BrandList(_ref) {
6943
7303
  var apiEndPoint = _ref.apiEndPoint,
6944
7304
  _ref$colors = _ref.colors,
@@ -7000,10 +7360,10 @@ var BrandList = function BrandList(_ref) {
7000
7360
  autoplaySpeed: autoplaySpeed
7001
7361
  }))));
7002
7362
  };
7003
- var Root$8 = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose([""])));
7004
- var MainContainer$2 = styled__default.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose([""])));
7363
+ var Root$8 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose([""])));
7364
+ var MainContainer$2 = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose([""])));
7005
7365
 
7006
- var _templateObject$s, _templateObject2$j, _templateObject3$d, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
7366
+ var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$6, _templateObject6$4, _templateObject7$3, _templateObject8$3, _templateObject9$3;
7007
7367
  var BrandStock = function BrandStock(_ref) {
7008
7368
  var _data$brands, _Object$keys, _Object$keys2, _data$brands2;
7009
7369
  var storeData = _ref.storeData,
@@ -7158,9 +7518,9 @@ var BrandStock = function BrandStock(_ref) {
7158
7518
  height: 80
7159
7519
  }), brandList), (data === null || data === void 0 ? void 0 : data.returnPolicy) && /*#__PURE__*/React__default.createElement(ReturnPolicyContainer, null, /*#__PURE__*/React__default.createElement("h2", null, (data === null || data === void 0 ? void 0 : data.returnPolicyTitle) || 'Return Policy'), data === null || data === void 0 ? void 0 : data.returnPolicy))));
7160
7520
  };
7161
- var Root$9 = styled__default.div(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
7162
- var TitleContainer$1 = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
7163
- var MainContainer$3 = styled__default.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n max-width: 600px;\n margin: auto;\n .logo {\n display: flex;\n }\n .logoImage {\n max-width: min(400px, 100%);\n max-height: 200px;\n margin: auto;\n }\n"])));
7521
+ var Root$9 = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n"])));
7522
+ var TitleContainer$1 = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n padding: 0 1rem;\n display: flex;\n justify-content: space-between;\n"])));
7523
+ var MainContainer$3 = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n max-width: 600px;\n margin: auto;\n .logo {\n display: flex;\n }\n .logoImage {\n max-width: min(400px, 100%);\n max-height: 200px;\n margin: auto;\n }\n"])));
7164
7524
  var DetailsContainer = styled__default.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n text-align: center;\n p {\n font-size: 16px;\n font-weight: 500;\n }\n span {\n font-size: 15px;\n }\n .lineContainer {\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 0.5rem 0;\n span {\n margin-right: 6px;\n }\n }\n"])));
7165
7525
  var BrandContainer = styled__default.div(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n .brandImage {\n max-width: 100%;\n margin: 1rem auto;\n }\n"])));
7166
7526
  var ReturnPolicyContainer = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n h2 {\n text-align: center;\n }\n margin: 1rem 0;\n p {\n font-size: 16px;\n }\n"])));
@@ -7172,12 +7532,12 @@ var TableCellContainer$1 = styled__default(TableCell)(_templateObject9$3 || (_te
7172
7532
  return props.availableQuantity ? props.stockCol && 'green' : '#ffffff';
7173
7533
  });
7174
7534
 
7175
- var _templateObject$t, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
7176
- var CartDrawerContainer = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n height: 100%;\n /* padding: 1em;\n padding-top: 0rem; */\n position: relative;\n /* min-width: 100%; */\n min-height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n /* border: 1px solid; */\n"])), function (props) {
7535
+ var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$7, _templateObject6$5, _templateObject7$4;
7536
+ var CartDrawerContainer = styled__default.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n height: 100%;\n /* padding: 1em;\n padding-top: 0rem; */\n position: relative;\n /* min-width: 100%; */\n min-height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n box-sizing: border-box;\n\n display: flex;\n flex-direction: column;\n /* border: 1px solid; */\n"])), function (props) {
7177
7537
  return props.maxWidth || '650px';
7178
7538
  });
7179
- var CartDrawerBar = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n box-sizing: border-box;\n top: 0;\n left: 0;\n padding: 1em;\n height: 4.6rem;\n font-size: 1.6rem;\n background-color: white;\n font-weight: bold;\n padding-left: 1rem;\n z-index: 2;\n h2 {\n font-size: 1.5em;\n }\n .icon {\n cursor: pointer;\n font-size: 1em;\n }\n @media only screen and (max-width: 600px) {\n font-size: 1rem;\n height: 4rem;\n }\n"])));
7180
- var CartDrawerProductContainer = styled__default.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n padding-top: 1rem;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n opacity: ", ";\n /* background-color: red; */\n"])), function (props) {
7539
+ var CartDrawerBar = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n position: sticky;\n box-sizing: border-box;\n top: 0;\n left: 0;\n padding: 1em;\n height: 4.6rem;\n font-size: 1.6rem;\n background-color: white;\n font-weight: bold;\n padding-left: 1rem;\n z-index: 2;\n h2 {\n font-size: 1.5em;\n }\n .icon {\n cursor: pointer;\n font-size: 1em;\n }\n @media only screen and (max-width: 600px) {\n font-size: 1rem;\n height: 4rem;\n }\n"])));
7540
+ var CartDrawerProductContainer = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n padding-top: 1rem;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n box-sizing: border-box;\n opacity: ", ";\n /* background-color: red; */\n"])), function (props) {
7181
7541
  return props.opacity;
7182
7542
  });
7183
7543
  var CartDrawerBottomSection = styled__default.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n /* height: 8rem; */\n background-color: white;\n box-shadow: 3px -2px 10px #b1b1b1;\n display: flex;\n flex-direction: column;\n // min-height: 7rem;\n position: sticky;\n bottom: 0;\n margin-top: auto;\n /* padding-bottom: 0.5rem; */\n\n /* left: 0; */\n align-items: center;\n .row {\n width: 100%;\n padding: 0rem 1rem;\n padding-top: 1rem;\n /* padding-left: 1rem; */\n h5 {\n font-weight: bold;\n font-size: 1.1rem;\n span {\n font-weight: 400;\n padding-left: 0.5rem;\n }\n }\n }\n @media only screen and (max-width: 340px) {\n min-height: 6rem;\n .row h5 {\n font-size: 0.8rem;\n }\n }\n"])));
@@ -7281,13 +7641,13 @@ function useGridSize() {
7281
7641
  return layout;
7282
7642
  }
7283
7643
 
7284
- var _templateObject$u, _templateObject2$l, _templateObject3$f, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
7285
- var CartPageSection = styled__default.section(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 20px;\n max-width: 1600px;\n width: min(1600px, 100%);\n margin: auto;\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n"])), function (props) {
7644
+ var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$8, _templateObject6$6, _templateObject7$5, _templateObject8$4, _templateObject9$4, _templateObject10$3;
7645
+ var CartPageSection = styled__default.section(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 20px;\n max-width: 1600px;\n width: min(1600px, 100%);\n margin: auto;\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n"])), function (props) {
7286
7646
  return props.bg;
7287
7647
  }, function (props) {
7288
7648
  return props.bg || '#FAE8E5';
7289
7649
  });
7290
- var CartPageContainer = styled__default.div(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n padding: 2rem;\n padding-bottom: 2em;\n border-radius: 12px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 1rem 0;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n // padding: 0 0.4em;\n }\n }\n"])), function (props) {
7650
+ var CartPageContainer = styled__default.div(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n padding: 2rem;\n padding-bottom: 2em;\n border-radius: 12px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 1rem 0;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n // padding: 0 0.4em;\n }\n }\n"])), function (props) {
7291
7651
  return props.maxWidth || '1600px';
7292
7652
  }, function (props) {
7293
7653
  return "min(" + (props.maxWidth || '1600px') + ",100%)";
@@ -7300,7 +7660,7 @@ var CartPageContainer = styled__default.div(_templateObject2$l || (_templateObje
7300
7660
  var _props$scroll2;
7301
7661
  return (props === null || props === void 0 ? void 0 : (_props$scroll2 = props.scroll) === null || _props$scroll2 === void 0 ? void 0 : _props$scroll2.color) || '#BFC3CA';
7302
7662
  });
7303
- var CardsBox = styled__default.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n margin-right: auto;\n padding: 1em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 12px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 768px) {\n padding: 0;\n }\n"])), function (props) {
7663
+ var CardsBox = styled__default.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n margin-right: auto;\n padding: 1em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 12px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 768px) {\n padding: 0;\n }\n"])), function (props) {
7304
7664
  return props.retail ? 'grid' : 'flex';
7305
7665
  });
7306
7666
  var CartHeading = styled__default.div(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2em;\n margin-top: 2em;\n @media only screen and (max-width: 1200px) {\n margin-left: 1em;\n }\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
@@ -8457,7 +8817,7 @@ var TotalAfterDiscount = function TotalAfterDiscount(_ref2) {
8457
8817
  }, renderMoney(totalAmount)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement("b", null, renderMoney(total))));
8458
8818
  };
8459
8819
 
8460
- var _templateObject$v, _templateObject2$m, _templateObject3$g, _templateObject4$d, _templateObject5$9, _templateObject6$7, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59;
8820
+ var _templateObject$w, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$9, _templateObject6$7, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59;
8461
8821
  var DEFAULT_PRIMARY_COLOR$1 = '#437C0F';
8462
8822
  var formatCurrency = function formatCurrency(amount) {
8463
8823
  return Number(amount).toLocaleString('en-US', {
@@ -9094,9 +9454,9 @@ var DiscountSuggestionsModal = function DiscountSuggestionsModal(_ref4) {
9094
9454
  })))));
9095
9455
  })))))), document.body);
9096
9456
  };
9097
- var fadeSlideUp = styled.keyframes(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(14px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9098
- var shimmer = styled.keyframes(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
9099
- var copyPop = styled.keyframes(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n 45% {\n transform: scale(1.06);\n }\n 100% {\n transform: scale(1);\n }\n"])));
9457
+ var fadeSlideUp = styled.keyframes(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(14px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9458
+ var shimmer = styled.keyframes(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n 0% {\n background-position: -120% 0;\n }\n 100% {\n background-position: 220% 0;\n }\n"])));
9459
+ var copyPop = styled.keyframes(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n 45% {\n transform: scale(1.06);\n }\n 100% {\n transform: scale(1);\n }\n"])));
9100
9460
  var chipIn = styled.keyframes(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n from {\n opacity: 0;\n transform: translateY(6px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n"])));
9101
9461
  var progressGrow = styled.keyframes(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n from {\n width: 0;\n }\n"])));
9102
9462
  var sparkleFloat = styled.keyframes(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteralLoose(["\n 0%, 100% {\n opacity: 0.15;\n transform: translateY(0) scale(1);\n }\n 50% {\n opacity: 0.55;\n transform: translateY(-6px) scale(1.15);\n }\n"])));
@@ -9353,7 +9713,7 @@ var PrimaryCopyButton = styled__default.button(_templateObject59 || (_templateOb
9353
9713
  return $accentColor;
9354
9714
  }, reducedMotion);
9355
9715
 
9356
- var _templateObject$w, _templateObject2$n, _templateObject3$h, _templateObject4$e, _templateObject5$a, _templateObject6$8;
9716
+ var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$a, _templateObject6$8;
9357
9717
  var DEFAULT_PRIMARY_COLOR$2 = '#437C0F';
9358
9718
  var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
9359
9719
  var coupon = _ref.coupon,
@@ -9428,12 +9788,12 @@ var DiscountSuggestionPreview = function DiscountSuggestionPreview(_ref) {
9428
9788
  }
9429
9789
  }, viewOffersLabel));
9430
9790
  };
9431
- var SuggestionRow = styled__default.div(_templateObject$w || (_templateObject$w = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 0.5rem;\n margin-top: 0.35rem;\n margin-bottom: 0.35rem;\n max-width: 100%;\n"])));
9432
- var SuggestionText = styled__default.p(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n margin: 0;\n flex: 1;\n min-width: 0;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1.45;\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])), function (_ref2) {
9791
+ var SuggestionRow = styled__default.div(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 0.5rem;\n margin-top: 0.35rem;\n margin-bottom: 0.35rem;\n max-width: 100%;\n"])));
9792
+ var SuggestionText = styled__default.p(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n margin: 0;\n flex: 1;\n min-width: 0;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1.45;\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n"])), function (_ref2) {
9433
9793
  var $accentColor = _ref2.$accentColor;
9434
9794
  return $accentColor || DEFAULT_PRIMARY_COLOR$2;
9435
9795
  });
9436
- var CodeWrap = styled__default.span(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 0.2rem;\n vertical-align: middle;\n margin-right: 0.25rem;\n"])));
9796
+ var CodeWrap = styled__default.span(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 0.2rem;\n vertical-align: middle;\n margin-right: 0.25rem;\n"])));
9437
9797
  var CodeValue$1 = styled__default.span(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n font-weight: 800;\n letter-spacing: 0.02em;\n color: ", ";\n"])), function (_ref3) {
9438
9798
  var $accentColor = _ref3.$accentColor;
9439
9799
  return $accentColor || DEFAULT_PRIMARY_COLOR$2;
@@ -9467,17 +9827,17 @@ var ViewOffersBtn = styled__default.button(_templateObject6$8 || (_templateObjec
9467
9827
  return $accentColor ? $accentColor + "12" : '#437C0F12';
9468
9828
  });
9469
9829
 
9470
- var _templateObject$x, _templateObject2$o, _templateObject3$i, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
9830
+ var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$b, _templateObject6$9, _templateObject7$7, _templateObject8$6;
9471
9831
  var ProductImage = styled__default.img.attrs(function (props) {
9472
9832
  return {
9473
9833
  loading: props.loading || 'lazy',
9474
9834
  decoding: 'async'
9475
9835
  };
9476
- })(_templateObject$x || (_templateObject$x = _taggedTemplateLiteralLoose(["\n min-width: 60px;\n min-height: 60px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
9477
- var ProductName = styled__default.h6(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n cursor: pointer;\n"])), function (props) {
9836
+ })(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n min-width: 60px;\n min-height: 60px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
9837
+ var ProductName = styled__default.h6(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n cursor: pointer;\n"])), function (props) {
9478
9838
  return props.size || '1em';
9479
9839
  });
9480
- var CartTableRow = styled__default(material.TableRow)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
9840
+ var CartTableRow = styled__default(material.TableRow)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
9481
9841
  return props.size || '1.19em';
9482
9842
  }, function (prop) {
9483
9843
  return prop.bg;
@@ -10057,26 +10417,26 @@ function EnhancedTable(_ref2) {
10057
10417
  }))))));
10058
10418
  }
10059
10419
 
10060
- var _templateObject$y, _templateObject2$p, _templateObject3$j, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
10061
- var CartPageCard = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteralLoose(["\n // width: min(97%, 485px);\n width: 98%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 1em;\n background: #ffffff;\n box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05);\n border-radius: 12px;\n position: relative;\n"])));
10420
+ var _templateObject$z, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$c, _templateObject6$a, _templateObject7$8;
10421
+ var CartPageCard = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n // width: min(97%, 485px);\n width: 98%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 1em;\n background: #ffffff;\n box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05);\n border-radius: 12px;\n position: relative;\n"])));
10062
10422
  var CartPageImg = styled__default.img.attrs(function (props) {
10063
10423
  return {
10064
10424
  loading: props.loading || 'lazy',
10065
10425
  decoding: 'async'
10066
10426
  };
10067
- })(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 60px;\n max-height: 60px;\n position: relative;\n margin-right: 0.5em;\n"])), function (props) {
10427
+ })(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: ", ";\n max-width: 60px;\n max-height: 60px;\n position: relative;\n margin-right: 0.5em;\n"])), function (props) {
10068
10428
  return props.width || 'auto';
10069
10429
  }, function (props) {
10070
10430
  return props.height || 'auto';
10071
10431
  });
10072
- var NameAndQtBox = styled__default.div(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n width: 90%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n position: relative;\n"])));
10432
+ var NameAndQtBox = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n width: 90%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n position: relative;\n"])));
10073
10433
  var CartPageCardName = styled__default.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 90%;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-bottom: 0.6em;\n h6 {\n color: #323232;\n font-size: 0.9em;\n margin-bottom: 0.6em;\n line-height: 1.3em;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n p {\n font-size: 1.1em;\n font-weight: 600;\n color: #323232;\n }\n"])));
10074
10434
  var QtAndPriceBox = styled__default.div(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n font-size: 1.1em;\n"])));
10075
10435
  var CartPageQtBox = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n .icon {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n height: 100%;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n"])));
10076
10436
  var CloseBtn = styled__default.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n width: 25px;\n height: 25px;\n display: grid;\n place-items: center;\n position: absolute;\n top: 1em;\n right: 1em;\n cursor: pointer;\n border-radius: 50%;\n background: #eef1f4;\n font-size: 12px;\n &:hover {\n color: #ffffff;\n background: red;\n }\n"])));
10077
10437
 
10078
- var _templateObject$z;
10079
- var DiscountBtn$1 = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n display: grid;\n place-items: center;\n cursor: pointer;\n border-radius: 50%;\n width: 25px;\n height: 25px;\n background: #eef1f4;\n color: ", ";\n font-size: 12px;\n position: absolute;\n top: 1em;\n right: 3.2em;\n\n &:hover {\n background: ", ";\n color: white;\n }\n"])), function (_ref) {
10438
+ var _templateObject$A;
10439
+ var DiscountBtn$1 = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n display: grid;\n place-items: center;\n cursor: pointer;\n border-radius: 50%;\n width: 25px;\n height: 25px;\n background: #eef1f4;\n color: ", ";\n font-size: 12px;\n position: absolute;\n top: 1em;\n right: 3.2em;\n\n &:hover {\n background: ", ";\n color: white;\n }\n"])), function (_ref) {
10080
10440
  var $accentColor = _ref.$accentColor;
10081
10441
  return $accentColor || '#437C0F';
10082
10442
  }, function (_ref2) {
@@ -10338,20 +10698,20 @@ var CartPageMainRetail = function CartPageMainRetail(_ref) {
10338
10698
  })))));
10339
10699
  };
10340
10700
 
10341
- var _templateObject$A, _templateObject2$q, _templateObject3$k, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
10342
- var CartSummaryContainer = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n width: 25rem;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: 2em;\n align-items: center;\n /* margin-top: 3em; */\n p {\n font-size: 1.189em;\n font-weight: 600;\n align-self: flex-start;\n color: inherit;\n margin: 0;\n padding: 0;\n }\n .continueShopping {\n font-size: 0.75em;\n color: inherit;\n text-transform: capitalize;\n height: 20px;\n border-bottom: 1px solid;\n border-color: ", ";\n cursor: pointer;\n }\n"])), function (props) {
10701
+ var _templateObject$B, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$d, _templateObject6$b, _templateObject7$9, _templateObject8$7;
10702
+ var CartSummaryContainer = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n width: 25rem;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: 2em;\n align-items: center;\n /* margin-top: 3em; */\n p {\n font-size: 1.189em;\n font-weight: 600;\n align-self: flex-start;\n color: inherit;\n margin: 0;\n padding: 0;\n }\n .continueShopping {\n font-size: 0.75em;\n color: inherit;\n text-transform: capitalize;\n height: 20px;\n border-bottom: 1px solid;\n border-color: ", ";\n cursor: pointer;\n }\n"])), function (props) {
10343
10703
  return props.background || '#667080';
10344
10704
  }, function (props) {
10345
10705
  return props.color || 'white';
10346
10706
  }, function (props) {
10347
10707
  return props.color || 'white';
10348
10708
  });
10349
- var CartSummaryRow = styled__default.div(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n color: inherit;\n h6,\n h5 {\n margin: 0;\n font-size: 1em;\n font-weight: 700;\n color: inherit;\n text-transform: capitalize;\n }\n h5 {\n font-size: ", ";\n }\n"])), function (props) {
10709
+ var CartSummaryRow = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n color: inherit;\n h6,\n h5 {\n margin: 0;\n font-size: 1em;\n font-weight: 700;\n color: inherit;\n text-transform: capitalize;\n }\n h5 {\n font-size: ", ";\n }\n"])), function (props) {
10350
10710
  return props.justify || 'space-between';
10351
10711
  }, function (props) {
10352
10712
  return props.h5 || '1.31em';
10353
10713
  });
10354
- var CartSummaryHr = styled__default.span(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n height: 1px;\n background-color: ", ";\n margin: 1em 0;\n"])), function (props) {
10714
+ var CartSummaryHr = styled__default.span(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n border: none;\n width: 100%;\n height: 1px;\n background-color: ", ";\n margin: 1em 0;\n"])), function (props) {
10355
10715
  return props.color || 'rgba(255, 255, 255, 0.5)';
10356
10716
  });
10357
10717
  var CartSummaryInputBox = styled__default.form(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding-bottom: ", ";\n background-color: transparent;\n width: 100%;\n input {\n width: 65%;\n height: 2.5rem;\n padding: 0.2rem 0.8rem;\n font-size: 0.89rem;\n border: none;\n outline: none;\n background: ", ";\n color: ", ";\n &::placeholder {\n color: ", ";\n }\n }\n button {\n width: 35%;\n height: 2.5rem;\n line-height: 0.8rem;\n background: ", ";\n display: grid;\n color: ", ";\n place-items: center;\n border: none;\n border-radius: 0;\n outline: none;\n text-transform: uppercase;\n cursor: pointer;\n font-size: 0.75em;\n transition: 0.3s;\n &:hover {\n letter-spacing: 1px;\n background: ", ";\n }\n }\n"])), function (props) {
@@ -10789,12 +11149,12 @@ var checkMinMaxQty = function checkMinMaxQty(_ref2) {
10789
11149
  return quantityReturn;
10790
11150
  };
10791
11151
 
10792
- var _templateObject$B, _templateObject2$r, _templateObject3$l;
10793
- var CartDrawerProduct = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n height: 113px;\n justify-content: space-around;\n align-items: center;\n overflow: hidden;\n margin-bottom: 1rem;\n user-select: none;\n background: #f2f2f290;\n border: 1px solid #f2f2f290;\n padding: 0.5rem;\n border-radius: 12px;\n box-sizing: border-box;\n\n img {\n width: 20%;\n max-height: 100%;\n /* aspect-ratio: 1; */\n object-fit: contain;\n }\n .middleSection {\n width: 60%;\n padding-left: 0.8rem;\n height: 100%;\n h6 {\n font-size: 1.1rem;\n font-weight: bold;\n margin: 0;\n }\n .name {\n font-size: 0.9rem;\n line-height: 1.2rem;\n width: 100%;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: 0.3s;\n cursor: pointer;\n &:hover {\n color: ", ";\n }\n }\n }\n .endSection {\n // width: 20%;\n height: 95%;\n .icon {\n cursor: pointer;\n transition: 0.4s;\n &:hover {\n color: red;\n }\n }\n }\n @media only screen and (max-width: 768px) {\n .closeIcon {\n font-size: 1rem;\n }\n }\n @media only screen and (max-width: 340px) {\n .middleSection {\n h6 {\n font-size: 0.9rem;\n }\n }\n }\n"])), function (props) {
11152
+ var _templateObject$C, _templateObject2$s, _templateObject3$m;
11153
+ var CartDrawerProduct = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 100%;\n display: flex;\n flex-direction: row;\n height: 113px;\n justify-content: space-around;\n align-items: center;\n overflow: hidden;\n margin-bottom: 1rem;\n user-select: none;\n background: #f2f2f290;\n border: 1px solid #f2f2f290;\n padding: 0.5rem;\n border-radius: 12px;\n box-sizing: border-box;\n\n img {\n width: 20%;\n max-height: 100%;\n /* aspect-ratio: 1; */\n object-fit: contain;\n }\n .middleSection {\n width: 60%;\n padding-left: 0.8rem;\n height: 100%;\n h6 {\n font-size: 1.1rem;\n font-weight: bold;\n margin: 0;\n }\n .name {\n font-size: 0.9rem;\n line-height: 1.2rem;\n width: 100%;\n word-wrap: break-word;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: 0.3s;\n cursor: pointer;\n &:hover {\n color: ", ";\n }\n }\n }\n .endSection {\n // width: 20%;\n height: 95%;\n .icon {\n cursor: pointer;\n transition: 0.4s;\n &:hover {\n color: red;\n }\n }\n }\n @media only screen and (max-width: 768px) {\n .closeIcon {\n font-size: 1rem;\n }\n }\n @media only screen and (max-width: 340px) {\n .middleSection {\n h6 {\n font-size: 0.9rem;\n }\n }\n }\n"])), function (props) {
10794
11154
  return props.color || 'grey';
10795
11155
  });
10796
- var CartDrawerQtBox = styled__default.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n span {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n @media only screen and (max-width: 600px) {\n min-width: 55px;\n aspect-ratio: 1/2;\n font-size: 10px;\n }\n @media only screen and (max-width: 340px) {\n min-width: 50px;\n aspect-ratio: 1/2;\n height: 22px;\n font-size: 8px;\n }\n"])));
10797
- var CartDrawerLoader = styled__default.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 30%;\n width: 100px;\n height: 100px;\n display: grid;\n place-items: center;\n"])));
11156
+ var CartDrawerQtBox = styled__default.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n height: 30px;\n width: 86px;\n border: 1px solid rgb(211, 210, 210);\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-size: 13.5px;\n color: #323232;\n padding: 0 0.5rem;\n border-radius: 5px;\n max-width: 100%;\n span {\n cursor: pointer;\n height: 100%;\n display: grid;\n place-items: center;\n }\n .qt {\n font-size: 12px;\n color: black;\n font-weight: 500;\n cursor: auto;\n input {\n width: 40px;\n height: 100%;\n text-align: center;\n border: none;\n }\n }\n @media only screen and (max-width: 600px) {\n min-width: 55px;\n aspect-ratio: 1/2;\n font-size: 10px;\n }\n @media only screen and (max-width: 340px) {\n min-width: 50px;\n aspect-ratio: 1/2;\n height: 22px;\n font-size: 8px;\n }\n"])));
11157
+ var CartDrawerLoader = styled__default.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 30%;\n width: 100px;\n height: 100px;\n display: grid;\n place-items: center;\n"])));
10798
11158
 
10799
11159
  var CartDrawerProductCard = function CartDrawerProductCard(_ref) {
10800
11160
  var product = _ref.product,
@@ -11057,7 +11417,7 @@ var GTagManager = function GTagManager(_ref) {
11057
11417
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
11058
11418
  };
11059
11419
 
11060
- var _templateObject$C, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$e, _templateObject6$c;
11420
+ var _templateObject$D, _templateObject2$t, _templateObject3$n, _templateObject4$i, _templateObject5$e, _templateObject6$c;
11061
11421
  var OutOfStock = function OutOfStock(_ref) {
11062
11422
  var _product$body, _product$body$content, _product$body2, _product$body2$conten, _product$masterProduc, _product$header;
11063
11423
  var product = _ref.product,
@@ -11288,11 +11648,11 @@ var OutOfStock = function OutOfStock(_ref) {
11288
11648
  }
11289
11649
  }), /*#__PURE__*/React__default.createElement("span", null, subscribed ? 'Subscribed Successfully' : 'Subscribe')))))));
11290
11650
  };
11291
- var VariantsContainer = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 5px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(178, 169, 169, 1);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n"])));
11292
- var MainCheckbox = styled__default(Checkbox)(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
11651
+ var VariantsContainer = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 5px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(178, 169, 169, 1);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n"])));
11652
+ var MainCheckbox = styled__default(Checkbox)(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n &.Mui-checked,\n &.MuiCheckbox-indeterminate {\n color: ", ";\n }\n"])), function (props) {
11293
11653
  return props.theme.primaryColor;
11294
11654
  });
11295
- var EmailInput = styled__default(InputBase)(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n border: 1px solid #a9a9a9;\n padding: 3px 10px;\n fontsize: 12px;\n width: 100%;\n border-radius: 3px;\n"])));
11655
+ var EmailInput = styled__default(InputBase)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n border: 1px solid #a9a9a9;\n padding: 3px 10px;\n fontsize: 12px;\n width: 100%;\n border-radius: 3px;\n"])));
11296
11656
  var Root$a = styled__default.div(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 1px solid #d3d3d3;\n border-radius: 3px;\n box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.4);\n padding: 10px;\n"])));
11297
11657
  var ContainerDiv = styled__default.div(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteralLoose(["\n display: flex;\n font-size: 14px;\n height: ", ";\n margin: ", ";\n width: 100%;\n flex-direction: ", ";\n align-items: ", ";\n justify-content: ", ";\n color: #000000de;\n"])), function (props) {
11298
11658
  return props.height ? props.height : 'auto';
@@ -11325,12 +11685,12 @@ var StyledSubscribe = styled__default.button(_templateObject6$c || (_templateObj
11325
11685
  return props.Loading || props.subscribed ? 'none' : 'auto';
11326
11686
  });
11327
11687
 
11328
- var _templateObject$D;
11688
+ var _templateObject$E;
11329
11689
  var NoData = function NoData(_ref) {
11330
11690
  _objectDestructuringEmpty(_ref);
11331
11691
  return /*#__PURE__*/React__default.createElement(CustomNoRowsOverlay, null);
11332
11692
  };
11333
- var Container$1 = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n & .ant-empty-img-1 {\n fill: #aeb8c2;\n }\n & .ant-empty-img-2 {\n fill: #f5f5f7;\n }\n & .ant-empty-img-3 {\n fill: #dce0e6;\n }\n & .ant-empty-img-4 {\n fill: #fff;\n }\n & ant-empty-img-5 {\n fill-opacity: 0.8;\n fill: #f5f5f5;\n }\n"])));
11693
+ var Container$1 = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n & .ant-empty-img-1 {\n fill: #aeb8c2;\n }\n & .ant-empty-img-2 {\n fill: #f5f5f7;\n }\n & .ant-empty-img-3 {\n fill: #dce0e6;\n }\n & .ant-empty-img-4 {\n fill: #fff;\n }\n & ant-empty-img-5 {\n fill-opacity: 0.8;\n fill: #f5f5f5;\n }\n"])));
11334
11694
  var CustomNoRowsOverlay = function CustomNoRowsOverlay(_ref2) {
11335
11695
  _objectDestructuringEmpty(_ref2);
11336
11696
  return /*#__PURE__*/React__default.createElement(Container$1, null, /*#__PURE__*/React__default.createElement("svg", {
@@ -11797,24 +12157,24 @@ var AsyncSelect = function AsyncSelect(_ref3) {
11797
12157
  return /*#__PURE__*/React__default.createElement(AsyncSelectField, props);
11798
12158
  };
11799
12159
 
11800
- var _templateObject$E;
11801
- var Container$2 = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose([""])));
12160
+ var _templateObject$F;
12161
+ var Container$2 = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose([""])));
11802
12162
 
11803
- var _templateObject$F, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$f, _templateObject6$d;
12163
+ var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$j, _templateObject5$f, _templateObject6$d;
11804
12164
  var ProductImage$1 = styled__default.img.attrs(function (props) {
11805
12165
  return {
11806
12166
  loading: props.loading || 'lazy',
11807
12167
  decoding: 'async'
11808
12168
  };
11809
- })(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n min-width: 50px;\n min-height: 50px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
11810
- var ProductName$1 = styled__default.h6(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n max-height: ", ";\n height: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n"])), function (props) {
12169
+ })(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n min-width: 50px;\n min-height: 50px;\n object-fit: contain;\n @media only screen and (max-width: 600px) {\n margin: 0.5em 0;\n padding-right: 0.5em;\n }\n"])));
12170
+ var ProductName$1 = styled__default.h6(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n font-size: ", ";\n padding: 0;\n line-height: 1.3em;\n max-height: ", ";\n height: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n height: fit-content;\n"])), function (props) {
11811
12171
  return props.size || '1em';
11812
12172
  }, function (props) {
11813
12173
  return props.maxHeight ? props.maxHeight + "em" : '2.75em';
11814
12174
  }, function (props) {
11815
12175
  return props.maxHeight ? props.maxHeight + "em" : '2.80em';
11816
12176
  });
11817
- var CartTableRow$1 = styled__default(material.TableRow)(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
12177
+ var CartTableRow$1 = styled__default(material.TableRow)(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: 0.3s;\n background: white;\n /* &:hover {\n td:first-child,\n td:last-child {\n border-left-style: solid;\n border-top-style: solid;\n border-top-right-radius: 10px;\n }\n } */\n .outOfStock {\n font-size: 0.75em;\n color: red;\n text-transform: uppercase;\n font-weight: 500;\n }\n .price {\n font-size: ", ";\n font-weight: bold;\n color: #323232;\n /* font-size: 1.15em; */\n }\n .borderLeft {\n height: 100%;\n background: ", ";\n transition: 0.2s;\n width: 0px;\n position: absolute;\n left: 0;\n top: 0;\n border-top-left-radius: 10px;\n display: none;\n border-bottom-left-radius: 10px;\n }\n .cartCheckBox {\n &.Mui-checked {\n svg {\n color: ", ";\n }\n }\n }\n &:hover {\n background: white !important;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);\n border-radius: 10px;\n /* opacity: 1;\n box-shadow: 1px 2px 6px 2px rgba(0, 0, 0, 0.2); */\n z-index: 2;\n /* border-radius: 20px; */\n .borderLeft {\n width: 12px;\n display: inline-block;\n }\n }\n @media only screen and (max-width: 600px) {\n .CartnoPaddingSm {\n padding: 0 !important;\n }\n .price {\n font-size: 0.8em;\n }\n margin: 0.5em 0;\n .cartCheckBox {\n .css-i4bv87-MuiSvgIcon-root {\n font-size: 10px !important;\n }\n }\n }\n"])), function (props) {
11818
12178
  return props.size || '1.19em';
11819
12179
  }, function (prop) {
11820
12180
  return prop.bg;
@@ -11941,13 +12301,13 @@ var CardRow$1 = function CardRow(_ref) {
11941
12301
  }))));
11942
12302
  };
11943
12303
 
11944
- var _templateObject$G, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
11945
- var CartPageSection$1 = styled__default.section(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 28px;\n\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n @media screen and (max-width: 600px) {\n padding: 0 1em;\n }\n"])), function (props) {
12304
+ var _templateObject$H, _templateObject2$v, _templateObject3$p, _templateObject4$k, _templateObject5$g, _templateObject6$e, _templateObject7$a, _templateObject8$8, _templateObject9$6;
12305
+ var CartPageSection$1 = styled__default.section(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n border-radius: 28px;\n\n @media screen and (max-width: 1200px) {\n padding: 0 1em;\n }\n @media screen and (max-width: 600px) {\n padding: 0 1em;\n }\n"])), function (props) {
11946
12306
  return props.bg;
11947
12307
  }, function (props) {
11948
12308
  return props.bg || '#FAE8E5';
11949
12309
  });
11950
- var CartPageContainer$1 = styled__default.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n border-radius: 28px 28px 28px 14px;\n padding: 2em 2.5em;\n padding-bottom: 3em;\n border-radius: 28px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n border: 2px solid;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 0.5em;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n padding: 0 0.4em;\n }\n }\n"])), function (props) {
12310
+ var CartPageContainer$1 = styled__default.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n max-width: ", ";\n width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n border-radius: 28px 28px 28px 14px;\n padding: 2em 2.5em;\n padding-bottom: 3em;\n border-radius: 28px;\n opacity: ", ";\n .scrollDiv {\n width: 68%;\n max-height: 630px;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n\n margin-right: 0.3em;\n &::-webkit-scrollbar {\n width: 10px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: ", ";\n\n border-radius: 16px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n border: 2px solid;\n }\n /* box-shadow: 0px 20px 35px rgba(0, 0, 0, 0.05); */\n }\n table {\n border-collapse: separate;\n border-spacing: 0 4px;\n row-gap: 4px;\n }\n\n td {\n /* border: solid 1px #000; */\n border-style: none solid solid none;\n /* padding: 10px; */\n /* margin-bottom:5px; */\n }\n\n tr:first-child td:first-child {\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n }\n\n tr td:first-child {\n border-bottom-left-radius: 10px;\n border-top-left-radius: 10px;\n }\n tr td:last-child {\n border-bottom-right-radius: 10px;\n }\n\n tr td {\n border-top-style: solid;\n }\n tr td:first-child {\n border-left-style: solid;\n }\n\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n padding: 0.5em;\n .scrollDiv {\n width: 100%;\n margin: 0;\n margin-bottom: 2em;\n padding: 0 0.4em;\n }\n }\n"])), function (props) {
11951
12311
  return props.maxWidth || '1600px';
11952
12312
  }, function (props) {
11953
12313
  return "min(" + (props.maxWidth || '1600px') + ",100%)";
@@ -11958,7 +12318,7 @@ var CartPageContainer$1 = styled__default.div(_templateObject2$u || (_templateOb
11958
12318
  }, function (props) {
11959
12319
  return props.color || '#BFC3CA';
11960
12320
  });
11961
- var CardsBox$1 = styled__default.div(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n max-width: 860px;\n margin-right: auto;\n padding: 1em 2em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 20px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 600px) {\n padding: 1em 0.2em;\n }\n"])), function (props) {
12321
+ var CardsBox$1 = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n /* min-height: 1000px; */\n position: relative;\n max-width: 860px;\n margin-right: auto;\n padding: 1em 2em;\n display: ", ";\n grid-template-columns: 1fr 1fr;\n flex-direction: column;\n align-items: flex-start;\n grid-gap: 1em;\n justify-content: flex-start;\n align-items: center;\n border-radius: 20px;\n @media only screen and (max-width: 900px) {\n display: flex;\n }\n @media only screen and (max-width: 600px) {\n padding: 1em 0.2em;\n }\n"])), function (props) {
11962
12322
  return props.retail ? 'grid' : 'flex';
11963
12323
  });
11964
12324
  var CartHeading$1 = styled__default.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n /* margin-bottom: 2em; */\n margin-left: 2.3em;\n margin-top: 2em;\n\n color: ", ";\n h1 {\n font-weight: 600;\n font-size: 2.0375em;\n text-transform: capitalize;\n color: ", ";\n /* margin-bottom: 1em; */\n }\n p {\n font-size: 0.875em;\n color: inherit;\n margin-top: 0.5em;\n }\n"])), function (props) {
@@ -12391,7 +12751,7 @@ var SnowfallComponent = function SnowfallComponent(_ref) {
12391
12751
  }) : null;
12392
12752
  };
12393
12753
 
12394
- var _templateObject$H, _templateObject2$v;
12754
+ var _templateObject$I, _templateObject2$w;
12395
12755
  var ContactUsForm = function ContactUsForm(_ref) {
12396
12756
  var apiEndPoint = _ref.apiEndPoint,
12397
12757
  serviceApiEndPoint = _ref.serviceApiEndPoint,
@@ -12516,15 +12876,15 @@ var ContactUsForm = function ContactUsForm(_ref) {
12516
12876
  }
12517
12877
  }, "Submit"))));
12518
12878
  };
12519
- var TypographyContainer$8 = styled__default(material.Typography)(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
12879
+ var TypographyContainer$8 = styled__default(material.Typography)(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n font-size: 1.2rem !important;\n align-items: center;\n"])), function (props) {
12520
12880
  return props.fontColor;
12521
12881
  });
12522
- var RootContainer$3 = styled__default(material.Stack)(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n margin-bottom: 1rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n p {\n margin: 0 !important;\n }\n"])), function (props) {
12882
+ var RootContainer$3 = styled__default(material.Stack)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n background-color: ", " !important;\n border-radius: 14px !important;\n padding: 1.3rem;\n margin-bottom: 1rem;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n p {\n margin: 0 !important;\n }\n"])), function (props) {
12523
12883
  return props.secondaryColor;
12524
12884
  });
12525
12885
 
12526
- var _templateObject$I;
12527
- var StaticContainer = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n font-size: 1.2rem;\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12886
+ var _templateObject$J;
12887
+ var StaticContainer = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n font-size: 1.2rem;\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12528
12888
  return props.theme.fontColor || '#606060';
12529
12889
  }, function (props) {
12530
12890
  return props.theme.primaryColor;
@@ -12536,7 +12896,7 @@ var StaticContainer = styled__default.div(_templateObject$I || (_templateObject$
12536
12896
  return props.theme.fontColor || '#606060';
12537
12897
  });
12538
12898
 
12539
- var _templateObject$J;
12899
+ var _templateObject$K;
12540
12900
  var APIStaticPage = function APIStaticPage(_ref) {
12541
12901
  var _ref$colors = _ref.colors,
12542
12902
  colors = _ref$colors === void 0 ? {
@@ -12724,10 +13084,10 @@ var APIStaticPage = function APIStaticPage(_ref) {
12724
13084
  }
12725
13085
  }, "Not found"))));
12726
13086
  };
12727
- var Root$b = styled__default(material.Box)(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
13087
+ var Root$b = styled__default(material.Box)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n img {\n max-width: 100%;\n }\n"])));
12728
13088
 
12729
- var _templateObject$K;
12730
- var StaticContainer$1 = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
13089
+ var _templateObject$L;
13090
+ var StaticContainer$1 = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n padding: 1rem;\n width: 100%;\n color: ", ";\n .top-bar {\n background-color: #f5f5f5;\n padding: 1rem;\n text-align: center;\n font-size: 3.2rem;\n font-weight: bold;\n text-transform: uppercase;\n color: ", ";\n @media only screen and (max-width: 769px) {\n font-size: 1.5rem;\n }\n }\n .route-bar {\n text-transform: capitalize;\n p {\n padding: 0;\n word-spacing: 5px;\n display: flex;\n align-items: center;\n color: ", ";\n }\n }\n .data-container {\n margin: auto;\n }\n hr {\n border-bottom: 2px solid #eceff8;\n border-top: 0px;\n margin: 1rem 0;\n }\n li {\n margin-left: 1rem;\n }\n a {\n color: ", ";\n }\n p {\n margin: 1rem 0;\n width: 100%;\n color: ", ";\n }\n"])), function (props) {
12731
13091
  return props.theme.fontColor || '#606060';
12732
13092
  }, function (props) {
12733
13093
  return props.theme.primaryColor;
@@ -12739,7 +13099,7 @@ var StaticContainer$1 = styled__default.div(_templateObject$K || (_templateObjec
12739
13099
  return props.theme.fontColor || '#606060';
12740
13100
  });
12741
13101
 
12742
- var _templateObject$L;
13102
+ var _templateObject$M;
12743
13103
  var StaticPage = function StaticPage(_ref) {
12744
13104
  var _data$content;
12745
13105
  var _ref$colors = _ref.colors,
@@ -12807,9 +13167,9 @@ var StaticPage = function StaticPage(_ref) {
12807
13167
  referrerPolicy: "no-referrer-when-downgrade"
12808
13168
  })))));
12809
13169
  };
12810
- var Root$c = styled__default(material.Box)(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose([""])));
13170
+ var Root$c = styled__default(material.Box)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose([""])));
12811
13171
 
12812
- var _templateObject$M;
13172
+ var _templateObject$N;
12813
13173
  var StaticPageList = function StaticPageList(_ref) {
12814
13174
  var _sortBy;
12815
13175
  var apiEndPoint = _ref.apiEndPoint,
@@ -12919,7 +13279,7 @@ var StaticPageList = function StaticPageList(_ref) {
12919
13279
  }
12920
13280
  }, "Not found")))));
12921
13281
  };
12922
- var TitleContainer$2 = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n padding: 1.2rem;\n cursor: pointer;\n color: #323232;\n img {\n max-width: 100%;\n }\n &:hover {\n img {\n transform: scale(1.01);\n }\n }\n"])));
13282
+ var TitleContainer$2 = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n padding: 1.2rem;\n cursor: pointer;\n color: #323232;\n img {\n max-width: 100%;\n }\n &:hover {\n img {\n transform: scale(1.01);\n }\n }\n"])));
12923
13283
 
12924
13284
  var _excluded$7 = ["userName", "children", "style"];
12925
13285
  var colors$1 = ['#FFB900', '#D83B01', '#B50E0E', '#E81123', '#B4009E', '#5C2D91', '#0078D7', '#00B4FF', '#008272', '#107C10'];
@@ -12955,7 +13315,7 @@ var Avatar = function Avatar(_ref) {
12955
13315
  }));
12956
13316
  };
12957
13317
 
12958
- var _templateObject$N, _templateObject2$w;
13318
+ var _templateObject$O, _templateObject2$x;
12959
13319
  var SwitchUser = function SwitchUser(_ref) {
12960
13320
  var _customerData$filter, _customerData$filter$;
12961
13321
  var apiEndPoint = _ref.apiEndPoint,
@@ -13042,14 +13402,14 @@ var SwitchUser = function SwitchUser(_ref) {
13042
13402
  }, /*#__PURE__*/React__default.createElement(ai.AiOutlineShop, null), /*#__PURE__*/React__default.createElement("span", null, (item === null || item === void 0 ? void 0 : item.dbaName) || (item === null || item === void 0 ? void 0 : item.company)))));
13043
13403
  }))));
13044
13404
  };
13045
- var RootContainer$4 = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
13046
- var CustomerContainer = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n transition: all 0.5s;\n padding: 1.1rem;\n border-radius: 1rem;\n box-shadow: 2px 2px 6px 0px #00000020;\n &:hover {\n transform: scale(1.05);\n }\n .name {\n color: ", ";\n font-size: 2.5rem;\n font-weight: 700;\n }\n .infoDetails {\n font-size: 1.1rem;\n color: #46464680;\n margin: 1rem 0;\n display: flex;\n align-items: center;\n svg {\n color: ", ";\n font-size: 1.5rem;\n margin-right: 0.5rem;\n }\n }\n"])), function (props) {
13405
+ var RootContainer$4 = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n margin: auto;\n padding: 2.4rem;\n max-width: 1920px;\n"])));
13406
+ var CustomerContainer = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n transition: all 0.5s;\n padding: 1.1rem;\n border-radius: 1rem;\n box-shadow: 2px 2px 6px 0px #00000020;\n &:hover {\n transform: scale(1.05);\n }\n .name {\n color: ", ";\n font-size: 2.5rem;\n font-weight: 700;\n }\n .infoDetails {\n font-size: 1.1rem;\n color: #46464680;\n margin: 1rem 0;\n display: flex;\n align-items: center;\n svg {\n color: ", ";\n font-size: 1.5rem;\n margin-right: 0.5rem;\n }\n }\n"])), function (props) {
13047
13407
  return props.theme.primaryColor || '#000000d9';
13048
13408
  }, function (props) {
13049
13409
  return props.theme.primaryColor || '#000000d9';
13050
13410
  });
13051
13411
 
13052
- var _templateObject$O, _templateObject2$x;
13412
+ var _templateObject$P, _templateObject2$y;
13053
13413
  var ThankYou = function ThankYou(_ref) {
13054
13414
  var _ref$id = _ref.id,
13055
13415
  id = _ref$id === void 0 ? 0 : _ref$id,
@@ -13108,8 +13468,8 @@ var ThankYou = function ThankYou(_ref) {
13108
13468
  onClick: onContinue
13109
13469
  }, /*#__PURE__*/React__default.createElement("p", null, "Continue Shopping"))))))));
13110
13470
  };
13111
- var Root$d = styled__default(material.Box)(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose([""])));
13112
- var StyledButton = styled__default.button(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n outline: none;\n border: 1px solid;\n border-color: ", ";\n background: none;\n border-radius: 14px;\n padding: 10px 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: background 0.5s ease;\n width: 200px;\n color: ", ";\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n background: ", ";\n color: #fff;\n }\n"])), function (props) {
13471
+ var Root$d = styled__default(material.Box)(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose([""])));
13472
+ var StyledButton = styled__default.button(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n outline: none;\n border: 1px solid;\n border-color: ", ";\n background: none;\n border-radius: 14px;\n padding: 10px 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n transition: background 0.5s ease;\n width: 200px;\n color: ", ";\n text-transform: uppercase;\n &:hover {\n cursor: pointer;\n background: ", ";\n color: #fff;\n }\n"])), function (props) {
13113
13473
  return props.theme.primaryColor;
13114
13474
  }, function (props) {
13115
13475
  return props.theme.primaryColor;
@@ -13263,18 +13623,18 @@ var DiscountSummaryModal = function DiscountSummaryModal(_ref) {
13263
13623
  }, "Okay"))));
13264
13624
  };
13265
13625
 
13266
- var _templateObject$P, _templateObject2$y, _templateObject3$p, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
13267
- var CheckoutRootContainer = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 2rem;\n background-color: ", ";\n font-size: 16px;\n\n div,\n button,\n span {\n font-size: 16px;\n }\n @media only screen and (max-width: 1600px) {\n padding: 3em 0.5em;\n }\n @media screen and (max-width: 900px) {\n div,\n button,\n span {\n font-size: 12px;\n }\n padding: 2rem 0.5rem;\n }\n"])), function (props) {
13626
+ var _templateObject$Q, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$h, _templateObject6$f, _templateObject7$b, _templateObject8$9;
13627
+ var CheckoutRootContainer = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n width: 100%;\n padding: 2rem;\n background-color: ", ";\n font-size: 16px;\n\n div,\n button,\n span {\n font-size: 16px;\n }\n @media only screen and (max-width: 1600px) {\n padding: 3em 0.5em;\n }\n @media screen and (max-width: 900px) {\n div,\n button,\n span {\n font-size: 12px;\n }\n padding: 2rem 0.5rem;\n }\n"])), function (props) {
13268
13628
  return props.bg;
13269
13629
  });
13270
- var CheckoutPageContainer = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2em;\n padding-left: min(4.5em, 2.5vw);\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n /* background-color: #fff8f6; */\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 768px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n ////////////checkout and cart fonts\n /////////////////\n /* /////remove arrows from number input */\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n /* //////mui inputs */\n\n .Mui-checked {\n color: ", ";\n }\n\n .MuiOutlinedInput-notchedOutline {\n border: none;\n outline: none;\n }\n\n .MuiInputBase-root .MuiOutlinedInput-root,\n .MuiInputBase-colorPrimary,\n .MuiInputBase-fullWidth,\n .MuiInputBase-formControl {\n border-radius: 10px;\n }\n // /* /////stepper length */\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 60px !important;\n }\n\n @media only screen and (max-width: 900px) {\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 40px !important;\n }\n }\n"])), function (props) {
13630
+ var CheckoutPageContainer = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2em;\n padding-left: min(4.5em, 2.5vw);\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n /* background-color: #fff8f6; */\n @media only screen and (max-width: 1200px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 768px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n ////////////checkout and cart fonts\n /////////////////\n /* /////remove arrows from number input */\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n /* Firefox */\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n /* //////mui inputs */\n\n .Mui-checked {\n color: ", ";\n }\n\n .MuiOutlinedInput-notchedOutline {\n border: none;\n outline: none;\n }\n\n .MuiInputBase-root .MuiOutlinedInput-root,\n .MuiInputBase-colorPrimary,\n .MuiInputBase-fullWidth,\n .MuiInputBase-formControl {\n border-radius: 10px;\n }\n // /* /////stepper length */\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 60px !important;\n }\n\n @media only screen and (max-width: 900px) {\n .MuiStepConnector-line,\n .MuiStepConnector-lineVertical {\n min-height: 40px !important;\n }\n }\n"])), function (props) {
13271
13631
  return props.maxWidth || '1605px';
13272
13632
  }, function (props) {
13273
13633
  return props.bg || '#fff8f6';
13274
13634
  }, function (props) {
13275
13635
  return props.primaryColor || 'rgba(50, 50, 50, 1)';
13276
13636
  });
13277
- var Row = styled__default.div(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
13637
+ var Row = styled__default.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n"])));
13278
13638
  var CheckoutMainWithHeader = styled__default(material.Stack)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 100%;\n"])));
13279
13639
  var CheckoutMain = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 1008px;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n margin-right: 2em;\n max-height: 65vh;\n padding-right: 2em;\n overflow-y: auto;\n position: relative;\n padding-top: 2em;\n padding-bottom: 3em;\n /* width */\n ::-webkit-scrollbar {\n width: 10px;\n background: ", ";\n border-radius: 16px;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ", ";\n border-radius: 16px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 16px;\n }\n @media only screen and (max-width: 1200px) {\n margin-bottom: 3em;\n min-height: max-content;\n max-height: max-content;\n margin-right: 0;\n overflow: visible;\n }\n @media only screen and (max-width: 768px) {\n // max-width: 100vw;\n padding-right: 0;\n // width: 98vw;\n // min-width: 90vw;\n padding-top: 1em;\n }\n /* overflow: hidden; */\n"])), function (props) {
13280
13640
  return props.bg || 'rgba(102,112,128,0.5)';
@@ -13287,14 +13647,14 @@ var CheckoutHeading = styled__default.div(_templateObject6$f || (_templateObject
13287
13647
  var CheckoutHeader = styled__default(Row)(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteralLoose(["\n width: 100%;\n overflow: auto;\n justify-content: space-around;\n display: flex;\n flex-direction: row;\n align-items: center;\n position: sticky;\n top: 0;\n background-color: white;\n z-index: 1;\n justify-content: flex-start;\n min-height: 4em;\n max-height: 4em;\n max-width: 60em;\n background: #ffffff;\n border-radius: 20px;\n color: #7d7b7b;\n padding: 0 2em;\n margin: 0 2em 1em 1em;\n .row {\n display: flex;\n color: inherit;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n text-transform: capitalize;\n margin-right: 2.4%;\n .icon {\n font-size: 14px;\n font-weight: 400;\n display: grid;\n place-items: center;\n margin-right: 6px;\n color: inherit;\n }\n p,\n span {\n font-size: 0.95em;\n color: inherit;\n }\n }\n .checked {\n p,\n span {\n color: #323232;\n }\n .icon {\n color: #249937;\n }\n }\n @media only screen and (max-width: 1200px) {\n margin-right: 0em;\n }\n @media only screen and (max-width: 768px) {\n width: 100%;\n padding: 2em 1em;\n margin: 1.4em 0;\n .row {\n margin-right: 4.5%;\n p {\n font-size: 12px;\n }\n span {\n display: none;\n }\n }\n }\n"])));
13288
13648
  var CheckoutStepIcon = styled__default.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n margin-left: 2px;\n .circle {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n font-size: 5px;\n display: grid;\n place-items: center;\n margin: auto;\n padding: 0;\n }\n .ic {\n font-size: 8px;\n }\n"])));
13289
13649
 
13290
- var _templateObject$Q, _templateObject2$z, _templateObject3$q;
13291
- var CheckoutSummaryContainer = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: max(1.5em, 30px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n max-width: 25rem;\n min-width: min(25rem, 95%);\n font-size: 16px;\n margin-top: 6.15em;\n @media only screen and (max-width: 1200px) {\n margin-top: 0;\n }\n"])), function (props) {
13650
+ var _templateObject$R, _templateObject2$A, _templateObject3$r;
13651
+ var CheckoutSummaryContainer = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n border-radius: 20px;\n padding: max(1.5em, 30px);\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n max-width: 25rem;\n min-width: min(25rem, 95%);\n font-size: 16px;\n margin-top: 6.15em;\n @media only screen and (max-width: 1200px) {\n margin-top: 0;\n }\n"])), function (props) {
13292
13652
  return props.bg || 'rgba(255, 240, 236, 1)';
13293
13653
  }, function (props) {
13294
13654
  return props.color || ' rgba(50, 50, 50, 1)';
13295
13655
  });
13296
- var TextRow = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n max-width: 90%;\n margin-bottom: 0.8rem;\n padding-bottom: 0.8rem;\n width: 90%;\n border-bottom: 1px solid #f7f7f7;\n .text {\n font-size: 1.1em;\n text-transform: capitalize;\n }\n .total {\n font-size: 1.65em;\n font-weight: 800;\n }\n"])));
13297
- var FilledInfo = styled__default.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n margin-bottom: 2em;\n .heading {\n font-size: 1.25em;\n font-weight: 800;\n margin-bottom: 0.8em;\n }\n\n p {\n font-size: 0.875em;\n text-transform: capitalize;\n max-width: 60%;\n }\n .bold {\n font-weight: 700;\n margin-bottom: 0.8em;\n max-width: 300px;\n width: fit-content;\n }\n .payment {\n width: 70px;\n height: 48px;\n background: #ffffff;\n border-radius: 15.875px;\n display: grid;\n place-items: center;\n overflow: hidden;\n }\n .blank {\n opacity: 0;\n }\n"])));
13656
+ var TextRow = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n max-width: 90%;\n margin-bottom: 0.8rem;\n padding-bottom: 0.8rem;\n width: 90%;\n border-bottom: 1px solid #f7f7f7;\n .text {\n font-size: 1.1em;\n text-transform: capitalize;\n }\n .total {\n font-size: 1.65em;\n font-weight: 800;\n }\n"])));
13657
+ var FilledInfo = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n margin-bottom: 2em;\n .heading {\n font-size: 1.25em;\n font-weight: 800;\n margin-bottom: 0.8em;\n }\n\n p {\n font-size: 0.875em;\n text-transform: capitalize;\n max-width: 60%;\n }\n .bold {\n font-weight: 700;\n margin-bottom: 0.8em;\n max-width: 300px;\n width: fit-content;\n }\n .payment {\n width: 70px;\n height: 48px;\n background: #ffffff;\n border-radius: 15.875px;\n display: grid;\n place-items: center;\n overflow: hidden;\n }\n .blank {\n opacity: 0;\n }\n"])));
13298
13658
 
13299
13659
  var CheckoutSummary = function CheckoutSummary(_ref) {
13300
13660
  var billingInformation = _ref.billingInformation,
@@ -13366,14 +13726,14 @@ var CheckoutSummary = function CheckoutSummary(_ref) {
13366
13726
  }, renderMoney(orderTotal === null || orderTotal === void 0 ? void 0 : orderTotal.adjustmentValue))));
13367
13727
  };
13368
13728
 
13369
- var _templateObject$R, _templateObject2$A, _templateObject3$r, _templateObject4$m, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$a, _templateObject9$7, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3;
13370
- var StepContainer = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 60em;\n background: white;\n padding: 1em 2em;\n background: #ffffff;\n border-radius: 20px;\n margin-left: 2em;\n margin-top: -2em;\n margin-bottom: 1em;\n // @media screen and (max-width: 1200px) {\n // width: 80vw;\n // min-width: 0;\n // }\n @media screen and (max-width: 768px) {\n // width: 96%;\n margin-left: 1em;\n padding: 0.8em;\n }\n @media screen and (max-width: 600px) {\n // width: 94%;\n margin-left: 1.2em;\n }\n"])));
13371
- var StepsContent = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n padding-left: 1.565em;\n min-height: max-content;\n .MuiOutlinedInput-root {\n background: ", ";\n }\n\n p {\n font-size: 0.75em;\n }\n .bold {\n text-transform: uppercase;\n word-spacing: 5px;\n margin-top: 0.95em;\n span {\n font-weight: 600;\n cursor: pointer;\n font-size: 0.94rem;\n }\n .red {\n color: ", ";\n }\n }\n @media screen and (max-width: 768px) {\n padding: 0;\n width: 100%;\n }\n"])), function (props) {
13729
+ var _templateObject$S, _templateObject2$B, _templateObject3$s, _templateObject4$m, _templateObject5$i, _templateObject6$g, _templateObject7$c, _templateObject8$a, _templateObject9$7, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3;
13730
+ var StepContainer = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 60em;\n background: white;\n padding: 1em 2em;\n background: #ffffff;\n border-radius: 20px;\n margin-left: 2em;\n margin-top: -2em;\n margin-bottom: 1em;\n // @media screen and (max-width: 1200px) {\n // width: 80vw;\n // min-width: 0;\n // }\n @media screen and (max-width: 768px) {\n // width: 96%;\n margin-left: 1em;\n padding: 0.8em;\n }\n @media screen and (max-width: 600px) {\n // width: 94%;\n margin-left: 1.2em;\n }\n"])));
13731
+ var StepsContent = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n padding-left: 1.565em;\n min-height: max-content;\n .MuiOutlinedInput-root {\n background: ", ";\n }\n\n p {\n font-size: 0.75em;\n }\n .bold {\n text-transform: uppercase;\n word-spacing: 5px;\n margin-top: 0.95em;\n span {\n font-weight: 600;\n cursor: pointer;\n font-size: 0.94rem;\n }\n .red {\n color: ", ";\n }\n }\n @media screen and (max-width: 768px) {\n padding: 0;\n width: 100%;\n }\n"])), function (props) {
13372
13732
  return 'transparent' + '!important';
13373
13733
  }, function (props) {
13374
13734
  return props.bg || 'red';
13375
13735
  });
13376
- var StepsHeaderContainer = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n color: #323232;\n /* padding: ", "; */\n margin-bottom: ", ";\n margin-top: ", ";\n margin-left: ", ";\n /* color: grey; */\n border-bottom: 1px solid #f6f6f6;\n background: #ffffff;\n border-radius: 20px;\n // max-width: 900px;\n min-height: 4.35em;\n max-height: 4.35em;\n padding: ", ";\n h5 {\n font-size: 16px;\n font-weight: 600;\n text-transform: capitalize;\n margin-left: 0.6em;\n }\n .icon {\n font-size: 1.3em;\n margin-right: 8px;\n }\n .dropIcon {\n font-size: 1.4em;\n cursor: pointer;\n transform: rotate(-90deg);\n transition: 0.3s;\n color: rgba(50, 50, 50, 0.75);\n cursor: ", ";\n }\n .red {\n font-weight: 600;\n color: #fd0015;\n font-size: inherit;\n }\n @media screen and (max-width: 768px) {\n max-width: 97%;\n margin-left: 0.5em;\n padding-right: 1em;\n h5 {\n font-size: 12px;\n }\n }\n"])), function (props) {
13736
+ var StepsHeaderContainer = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n color: #323232;\n /* padding: ", "; */\n margin-bottom: ", ";\n margin-top: ", ";\n margin-left: ", ";\n /* color: grey; */\n border-bottom: 1px solid #f6f6f6;\n background: #ffffff;\n border-radius: 20px;\n // max-width: 900px;\n min-height: 4.35em;\n max-height: 4.35em;\n padding: ", ";\n h5 {\n font-size: 16px;\n font-weight: 600;\n text-transform: capitalize;\n margin-left: 0.6em;\n }\n .icon {\n font-size: 1.3em;\n margin-right: 8px;\n }\n .dropIcon {\n font-size: 1.4em;\n cursor: pointer;\n transform: rotate(-90deg);\n transition: 0.3s;\n color: rgba(50, 50, 50, 0.75);\n cursor: ", ";\n }\n .red {\n font-weight: 600;\n color: #fd0015;\n font-size: inherit;\n }\n @media screen and (max-width: 768px) {\n max-width: 97%;\n margin-left: 0.5em;\n padding-right: 1em;\n h5 {\n font-size: 12px;\n }\n }\n"])), function (props) {
13377
13737
  return props.single ? '1.8em 2em' : '1em 0';
13378
13738
  }, function (props) {
13379
13739
  return props.single ? '-1.56em' : '1em';
@@ -14940,7 +15300,7 @@ var erSessionStorage = {
14940
15300
  }
14941
15301
  };
14942
15302
 
14943
- var _templateObject$S, _templateObject2$B;
15303
+ var _templateObject$T, _templateObject2$C;
14944
15304
  var ConsentForm = function ConsentForm(_ref) {
14945
15305
  var apiEndPoint = _ref.apiEndPoint,
14946
15306
  token = _ref.token,
@@ -15106,7 +15466,7 @@ var InfoComponent = function InfoComponent(_ref2) {
15106
15466
  });
15107
15467
  }))));
15108
15468
  };
15109
- var InfoContainer$1 = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n h2 {\n border-bottom: 1px solid #00000040;\n margin-bottom: 0.8rem;\n }\n p {\n font-size: 1.2rem;\n }\n"])));
15469
+ var InfoContainer$1 = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n h2 {\n border-bottom: 1px solid #00000040;\n margin-bottom: 0.8rem;\n }\n p {\n font-size: 1.2rem;\n }\n"])));
15110
15470
  var InfoItem = function InfoItem(_ref3) {
15111
15471
  var name = _ref3.name,
15112
15472
  value = _ref3.value;
@@ -15119,7 +15479,7 @@ var InfoItem = function InfoItem(_ref3) {
15119
15479
  item: true
15120
15480
  }, /*#__PURE__*/React__default.createElement("p", null, value))));
15121
15481
  };
15122
- var InfoItemContainer = styled__default.div(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
15482
+ var InfoItemContainer = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n background: #00000010;\n padding: 0.5rem;\n"])));
15123
15483
 
15124
15484
  var PaypalComponent = function PaypalComponent(_ref) {
15125
15485
  var apiEndPoint = _ref.apiEndPoint,
@@ -16508,7 +16868,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref9) {
16508
16868
  }, props)));
16509
16869
  };
16510
16870
 
16511
- var _templateObject$T, _templateObject2$C, _templateObject3$s;
16871
+ var _templateObject$U, _templateObject2$D, _templateObject3$t;
16512
16872
  var columns$1 = [{
16513
16873
  id: 'id',
16514
16874
  label: 'Id',
@@ -16623,11 +16983,11 @@ var PurchaseOrderList = function PurchaseOrderList(_ref) {
16623
16983
  setTriggerTableData: setTriggerTableData
16624
16984
  })));
16625
16985
  };
16626
- var TableContainer$3 = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
16627
- var TypographyContainer$9 = styled__default(material.Typography)(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
16986
+ var TableContainer$3 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n border-radius: 14px;\n"])));
16987
+ var TypographyContainer$9 = styled__default(material.Typography)(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
16628
16988
  return props.fontColor;
16629
16989
  });
16630
- var TitleContainer$3 = styled__default.h4(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n font-size: 2.7rem;\n span {\n color: '#000';\n font-weight: 500;\n }\n b {\n color: ", ";\n }\n @media only screen and (max-width: 608px) {\n font-size: 2.2rem;\n }\n"])), function (props) {
16990
+ var TitleContainer$3 = styled__default.h4(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n font-size: 2.7rem;\n span {\n color: '#000';\n font-weight: 500;\n }\n b {\n color: ", ";\n }\n @media only screen and (max-width: 608px) {\n font-size: 2.2rem;\n }\n"])), function (props) {
16631
16991
  return props.primaryColor;
16632
16992
  });
16633
16993
 
@@ -17198,7 +17558,7 @@ var VendorInventory = function VendorInventory(_ref) {
17198
17558
  })));
17199
17559
  };
17200
17560
 
17201
- var _templateObject$U, _templateObject2$D, _templateObject3$t, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
17561
+ var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$n, _templateObject5$j, _templateObject6$h, _templateObject7$d, _templateObject8$b;
17202
17562
  var VendorLogin = function VendorLogin(_ref) {
17203
17563
  var primaryColor = _ref.primaryColor,
17204
17564
  API_BASE_URL = _ref.API_BASE_URL;
@@ -17304,16 +17664,16 @@ var VendorLogin = function VendorLogin(_ref) {
17304
17664
  color: "inherit"
17305
17665
  }) : 'sign in'))))));
17306
17666
  };
17307
- var Container$3 = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgb(255, 255, 255);\n font-size: 16px !important;\n padding: 1rem;\n @media only screen and (max-width: 640px) {\n font-size: 14px !important;\n }\n"])));
17308
- var StyledLogin = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n height: 70%;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 1em;\n align-items: center;\n"])));
17309
- var StyledCard = styled__default(material.Card)(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: min(100%, 489px);\n height: 100%;\n max-height: 450px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #cac8c8;\n flex-direction: column;\n background: white;\n // min-height: 500px;\n h4 {\n font-size: 1.5em;\n margin-bottom: 1em;\n margin-top: -2em;\n text-transform: uppercase;\n font-weight: 500;\n }\n button {\n text-transform: capitalize;\n letter-spacing: 1px;\n font-size: 1em;\n font-weight: 500;\n }\n"])));
17667
+ var Container$3 = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: rgb(255, 255, 255);\n font-size: 16px !important;\n padding: 1rem;\n @media only screen and (max-width: 640px) {\n font-size: 14px !important;\n }\n"])));
17668
+ var StyledLogin = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n height: 70%;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 1em;\n align-items: center;\n"])));
17669
+ var StyledCard = styled__default(material.Card)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n width: min(100%, 489px);\n height: 100%;\n max-height: 450px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid #cac8c8;\n flex-direction: column;\n background: white;\n // min-height: 500px;\n h4 {\n font-size: 1.5em;\n margin-bottom: 1em;\n margin-top: -2em;\n text-transform: uppercase;\n font-weight: 500;\n }\n button {\n text-transform: capitalize;\n letter-spacing: 1px;\n font-size: 1em;\n font-weight: 500;\n }\n"])));
17310
17670
  var H1 = styled__default(material.Typography)(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n margin-top: 1rem;\n"])));
17311
17671
  var StyleInputBx = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n border: 1px solid rgb(202, 200, 200);\n // padding:.5em;\n min-width: min(80vw, 360px);\n // border-radius: 20px;\n overflow: hidden;\n margin: 0.6em 0;\n // padding:.2em 0;\n .icon {\n border-right: 1px solid rgb(202, 200, 200);\n height: 100%;\n padding: 1em;\n display: grid;\n place-items: center;\n width: 15%;\n box-sizing: border-box;\n color: grey;\n }\n input {\n width: 85%;\n height: 100%;\n outline: none;\n padding: 0 1em;\n font-size: 1.1em;\n border: none;\n &:focus,\n &:hover {\n outline: none !important;\n }\n }\n"])));
17312
17672
  var ShowPassBtn = styled__default.span(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n padding-right: 0.4em;\n display: grid;\n place-items: center;\n font-size: 25px;\n color: grey;\n cursor: pointer;\n"])));
17313
17673
  var ButtonContianer = styled__default.span(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: 360px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n // @include flexRow(space-between);\n margin-top: 1em;\n @media only screen and (max-width: 640px) {\n padding: 0 1em;\n }\n"])));
17314
17674
  var StyledButton$1 = styled__default(material.Button)(_templateObject8$b || (_templateObject8$b = _taggedTemplateLiteralLoose(["\n width: 100px;\n height: 46px;\n box-sizing: border-box;\n\n span {\n padding: 0.5em;\n }\n @media only screen and (max-width: 640px) {\n height: 35px;\n }\n"])));
17315
17675
 
17316
- var _templateObject$V, _templateObject2$E, _templateObject3$u, _templateObject4$o;
17676
+ var _templateObject$W, _templateObject2$F, _templateObject3$v, _templateObject4$o;
17317
17677
  var menuItems = [{
17318
17678
  name: 'My Account',
17319
17679
  Icon: ri.RiAccountBoxLine,
@@ -17521,8 +17881,8 @@ var VendorAccountDetails = function VendorAccountDetails(_ref) {
17521
17881
  height: 200
17522
17882
  }) : /*#__PURE__*/React__default.createElement(React.Fragment, null, API_BASE_URL && token && renderListItemComponent(tabValue)))))));
17523
17883
  };
17524
- var Root$e = styled__default(material.Box)(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n padding: 1.4rem;\n background-color: #fff;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])));
17525
- var MainContainer$4 = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: #fff;\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])), function (props) {
17884
+ var Root$e = styled__default(material.Box)(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n padding: 1.4rem;\n background-color: #fff;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])));
17885
+ var MainContainer$4 = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin: auto;\n min-height: 100vh;\n background-color: #fff;\n max-width: ", ";\n padding: 2rem;\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n @media only screen and (max-width: 608px) {\n padding: 0.5rem;\n }\n"])), function (props) {
17526
17886
  return props.open ? '1800px' : '1600px';
17527
17887
  });
17528
17888
  var Main$1 = styles.styled('main', {
@@ -17555,7 +17915,7 @@ var Main$1 = styles.styled('main', {
17555
17915
  overflow: 'auto'
17556
17916
  });
17557
17917
  });
17558
- var ContainerDrawer$1 = styled__default(material.Drawer)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
17918
+ var ContainerDrawer$1 = styled__default(material.Drawer)(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n // height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n padding: 1rem;\n position: relative;\n z-index: 1;\n background: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n }\n"])), function (props) {
17559
17919
  return props.open && '2rem';
17560
17920
  }, function (props) {
17561
17921
  return props.primaryColor || transparent;
@@ -17665,7 +18025,7 @@ var getRestockedData = function getRestockedData(_ref3) {
17665
18025
  }
17666
18026
  };
17667
18027
 
17668
- var _templateObject$W;
18028
+ var _templateObject$X;
17669
18029
  var NewArrival = function NewArrival(_ref) {
17670
18030
  var _newArrivalItems$cont;
17671
18031
  var apiEndPoint = _ref.apiEndPoint,
@@ -17816,7 +18176,7 @@ var DateCard = function DateCard(_ref2) {
17816
18176
  }
17817
18177
  }, item === null || item === void 0 ? void 0 : item.count));
17818
18178
  };
17819
- var ProductsGrid = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-gap: 1.4rem;\n padding: 2rem 0;\n grid-row-gap: 22px;\n margin-bottom: 4em;\n @media only screen and (max-width: 1445px) {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 1200px) {\n grid-template-columns: 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 580px) {\n grid-template-columns: 1fr 1fr;\n padding-top: 0rem;\n /* width: 100vw; */\n margin-top: 1em;\n grid-gap: 1rem;\n }\n"])));
18179
+ var ProductsGrid = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-gap: 1.4rem;\n padding: 2rem 0;\n grid-row-gap: 22px;\n margin-bottom: 4em;\n @media only screen and (max-width: 1445px) {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 1200px) {\n grid-template-columns: 1fr 1fr 1fr;\n }\n @media only screen and (max-width: 580px) {\n grid-template-columns: 1fr 1fr;\n padding-top: 0rem;\n /* width: 100vw; */\n margin-top: 1em;\n grid-gap: 1rem;\n }\n"])));
17820
18180
 
17821
18181
  var ReStockedItem = function ReStockedItem(_ref) {
17822
18182
  var _newArrivalItems$cont;
@@ -18176,10 +18536,10 @@ var moveToCart = function moveToCart(_ref3) {
18176
18536
  }
18177
18537
  };
18178
18538
 
18179
- var _templateObject$X, _templateObject2$F, _templateObject3$v, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
18180
- var EmptyStateText = styled__default.p(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18181
- var ProductCardWrapper = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18182
- var TopBar = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18539
+ var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$e, _templateObject8$c, _templateObject9$8, _templateObject10$6, _templateObject11$5;
18540
+ var EmptyStateText = styled__default.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18541
+ var ProductCardWrapper = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18542
+ var TopBar = styled__default.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18183
18543
  var SearchWrapper = styled__default(material.Box)(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
18184
18544
  var TotalItemsText = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
18185
18545
  var DeleteButton = styled__default.button(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));
@@ -18666,10 +19026,10 @@ var moveToCartFromFavoriteItems = function moveToCartFromFavoriteItems(_ref3) {
18666
19026
  }
18667
19027
  };
18668
19028
 
18669
- var _templateObject$Y, _templateObject2$G, _templateObject3$w, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
18670
- var EmptyStateText$1 = styled__default.p(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
18671
- var ProductCardWrapper$1 = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
18672
- var TopBar$1 = styled__default.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
19029
+ var _templateObject$Z, _templateObject2$H, _templateObject3$x, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$f, _templateObject8$d, _templateObject9$9, _templateObject10$7, _templateObject11$6;
19030
+ var EmptyStateText$1 = styled__default.p(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n color: #4b4b4b;\n margin: 16px 0;\n"])));
19031
+ var ProductCardWrapper$1 = styled__default.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: #ffffff;\n border: 1px solid #d3d3d3;\n border-radius: 10px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 10px;\n gap: 10px;\n cursor: pointer;\n"])));
19032
+ var TopBar$1 = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n"])));
18673
19033
  var SearchWrapper$1 = styled__default(material.Box)(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 24px;\n max-width: 400px;\n width: 100%;\n }\n"])));
18674
19034
  var TotalItemsText$1 = styled__default.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n color: #4b4b4b;\n margin-bottom: 24px;\n white-space: nowrap;\n"])));
18675
19035
  var DeleteButton$1 = styled__default.button(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 8px;\n opacity: 1;\n pointer-events: auto;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: #ffffff;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n cursor: pointer;\n color: #ff0000;\n"])));