@everlywell/consumer-ui 1.35.0 → 1.35.1

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.
Files changed (3) hide show
  1. package/index.js +2 -4
  2. package/index.mjs +230 -243
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -20,11 +20,9 @@
20
20
  `),T=p.length-1,k=O.length-1;T>=1&&k>=0&&p[T]!==O[k];)k--;for(;T>=1&&k>=0;T--,k--)if(p[T]!==O[k]){if(T!==1||k!==1)do if(T--,k--,k<0||p[T]!==O[k]){var M=`
21
21
  `+p[T].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),typeof e=="function"&&le.set(e,M),M}while(T>=1&&k>=0);break}}}finally{he=!1,W.current=w,ne(),Error.prepareStackTrace=b}var ie=e?e.displayName||e.name:"",q=ie?re(ie):"";return typeof e=="function"&&le.set(e,q),q}function Pe(e,n,l){return _e(e,!1)}function Ie(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function ae(e,n,l){if(e==null)return"";if(typeof e=="function")return _e(e,Ie(e));if(typeof e=="string")return re(e);switch(e){case m:return re("Suspense");case s:return re("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Pe(e.render);case j:return ae(e.type,n,l);case v:{var i=e,b=i._payload,w=i._init;try{return ae(w(b),n,l)}catch{}}}return""}var z=Object.prototype.hasOwnProperty,xe={},ve=F.ReactDebugCurrentFrame;function o(e){if(e){var n=e._owner,l=ae(e.type,e._source,n?n.type:null);ve.setExtraStackFrame(l)}else ve.setExtraStackFrame(null)}function D(e,n,l,i,b){{var w=Function.call.bind(z);for(var x in e)if(w(e,x)){var p=void 0;try{if(typeof e[x]!="function"){var O=Error((i||"React class")+": "+l+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}p=e[x](n,x,i,l,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(T){p=T}p&&!(p instanceof Error)&&(o(b),_("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",l,x,typeof p),o(null)),p instanceof Error&&!(p.message in xe)&&(xe[p.message]=!0,o(b),_("Failed %s type: %s",l,p.message),o(null))}}}var U=Array.isArray;function B(e){return U(e)}function Fe(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,l=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return l}}function Z(e){try{return ze(e),!1}catch{return!0}}function ze(e){return""+e}function Ue(e){if(Z(e))return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fe(e)),ze(e)}var ge=F.ReactCurrentOwner,ct={key:!0,ref:!0,__self:!0,__source:!0},Ge,Ze,Ae;Ae={};function ft(e){if(z.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function dt(e){if(z.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function pt(e,n){if(typeof e.ref=="string"&&ge.current&&n&&ge.current.stateNode!==n){var l=I(ge.current.type);Ae[l]||(_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(ge.current.type),e.ref),Ae[l]=!0)}}function ht(e,n){{var l=function(){Ge||(Ge=!0,_("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};l.isReactWarning=!0,Object.defineProperty(e,"key",{get:l,configurable:!0})}}function xt(e,n){{var l=function(){Ze||(Ze=!0,_("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};l.isReactWarning=!0,Object.defineProperty(e,"ref",{get:l,configurable:!0})}}var vt=function(e,n,l,i,b,w,x){var p={$$typeof:u,type:e,key:n,ref:l,props:x,_owner:w};return p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(p,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(p,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p};function gt(e,n,l,i,b){{var w,x={},p=null,O=null;l!==void 0&&(Ue(l),p=""+l),dt(n)&&(Ue(n.key),p=""+n.key),ft(n)&&(O=n.ref,pt(n,b));for(w in n)z.call(n,w)&&!ct.hasOwnProperty(w)&&(x[w]=n[w]);if(e&&e.defaultProps){var T=e.defaultProps;for(w in T)x[w]===void 0&&(x[w]=T[w])}if(p||O){var k=typeof e=="function"?e.displayName||e.name||"Unknown":e;p&&ht(x,k),O&&xt(x,k)}return vt(e,p,O,b,i,ge.current,x)}}var Me=F.ReactCurrentOwner,qe=F.ReactDebugCurrentFrame;function oe(e){if(e){var n=e._owner,l=ae(e.type,e._source,n?n.type:null);qe.setExtraStackFrame(l)}else qe.setExtraStackFrame(null)}var He;He=!1;function $e(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function Ke(){{if(Me.current){var e=I(Me.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function bt(e){{if(e!==void 0){var n=e.fileName.replace(/^.*[\\\/]/,""),l=e.lineNumber;return`
23
+ Check the render method of \``+e+"`."}return""}}function bt(e){return""}var Xe={};function mt(e){{var n=Ke();if(!n){var l=typeof e=="string"?e:e.displayName||e.name;l&&(n=`
24
24
 
25
- Check your code at `+n+":"+l+"."}return""}}var Xe={};function mt(e){{var n=Ke();if(!n){var l=typeof e=="string"?e:e.displayName||e.name;l&&(n=`
26
-
27
- Check the top-level render call using <`+l+">.")}return n}}function Je(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var l=mt(n);if(Xe[l])return;Xe[l]=!0;var i="";e&&e._owner&&e._owner!==Me.current&&(i=" It was passed a child from "+I(e._owner.type)+"."),oe(e),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',l,i),oe(null)}}function Qe(e,n){{if(typeof e!="object")return;if(B(e))for(var l=0;l<e.length;l++){var i=e[l];$e(i)&&Je(i,n)}else if($e(e))e._store&&(e._store.validated=!0);else if(e){var b=J(e);if(typeof b=="function"&&b!==e.entries)for(var w=b.call(e),x;!(x=w.next()).done;)$e(x.value)&&Je(x.value,n)}}}function Ct(e){{var n=e.type;if(n==null||typeof n=="string")return;var l;if(typeof n=="function")l=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===f||n.$$typeof===j))l=n.propTypes;else return;if(l){var i=I(n);D(l,e.props,"prop",i,e)}else if(n.PropTypes!==void 0&&!He){He=!0;var b=I(n);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jt(e){{for(var n=Object.keys(e.props),l=0;l<n.length;l++){var i=n[l];if(i!=="children"&&i!=="key"){oe(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),oe(null);break}}e.ref!==null&&(oe(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}}var et={};function tt(e,n,l,i,b,w){{var x=H(e);if(!x){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=bt(b);O?p+=O:p+=Ke();var T;e===null?T="null":B(e)?T="array":e!==void 0&&e.$$typeof===u?(T="<"+(I(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,p)}var k=gt(e,n,l,b,w);if(k==null)return k;if(x){var M=n.children;if(M!==void 0)if(i)if(B(M)){for(var ie=0;ie<M.length;ie++)Qe(M[ie],e);Object.freeze&&Object.freeze(M)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qe(M,e)}if(z.call(n,"key")){var q=I(e),P=Object.keys(n).filter(function(_t){return _t!=="key"}),We=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";if(!et[q+We]){var Rt=P.length>0?"{"+P.join(": ..., ")+": ...}":"{}";_(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+l+">.")}return n}}function Je(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var l=mt(n);if(Xe[l])return;Xe[l]=!0;var i="";e&&e._owner&&e._owner!==Me.current&&(i=" It was passed a child from "+I(e._owner.type)+"."),oe(e),_('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',l,i),oe(null)}}function Qe(e,n){{if(typeof e!="object")return;if(B(e))for(var l=0;l<e.length;l++){var i=e[l];$e(i)&&Je(i,n)}else if($e(e))e._store&&(e._store.validated=!0);else if(e){var b=J(e);if(typeof b=="function"&&b!==e.entries)for(var w=b.call(e),x;!(x=w.next()).done;)$e(x.value)&&Je(x.value,n)}}}function Ct(e){{var n=e.type;if(n==null||typeof n=="string")return;var l;if(typeof n=="function")l=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===f||n.$$typeof===j))l=n.propTypes;else return;if(l){var i=I(n);D(l,e.props,"prop",i,e)}else if(n.PropTypes!==void 0&&!He){He=!0;var b=I(n);_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&_("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function jt(e){{for(var n=Object.keys(e.props),l=0;l<n.length;l++){var i=n[l];if(i!=="children"&&i!=="key"){oe(e),_("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",i),oe(null);break}}e.ref!==null&&(oe(e),_("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}}var et={};function tt(e,n,l,i,b,w){{var x=H(e);if(!x){var p="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(p+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=bt();O?p+=O:p+=Ke();var T;e===null?T="null":B(e)?T="array":e!==void 0&&e.$$typeof===u?(T="<"+(I(e.type)||"Unknown")+" />",p=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,_("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,p)}var k=gt(e,n,l,b,w);if(k==null)return k;if(x){var M=n.children;if(M!==void 0)if(i)if(B(M)){for(var ie=0;ie<M.length;ie++)Qe(M[ie],e);Object.freeze&&Object.freeze(M)}else _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qe(M,e)}if(z.call(n,"key")){var q=I(e),P=Object.keys(n).filter(function(_t){return _t!=="key"}),We=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";if(!et[q+We]){var Rt=P.length>0?"{"+P.join(": ..., ")+": ...}":"{}";_(`A props object containing a "key" prop is being spread into JSX:
28
26
  let props = %s;
29
27
  <%s {...props} />
30
28
  React keys must be passed directly to JSX without using spread:
package/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { useSteps as $t, Box as y, Stepper as Bt, Icon as ue, Flex as D, Text as K, Link as z, Button as xt, Image as Wt, IconButton as Vt, VStack as Nt, Skeleton as Ne, HStack as ut, SkeletonCircle as De, DrawerContent as Yt, DrawerOverlay as zt, Drawer as Ut, DrawerHeader as Gt, DrawerBody as Zt, Grid as Kt, GridItem as Xt } from "@everlywell/ui-kit";
2
2
  import Ke, { useEffect as Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as W } from "react";
3
- import { Text as qt, useBreakpointValue as Xe, InputGroup as Qt, Input as en, InputRightElement as tn, Icon as nn } from "@chakra-ui/react";
4
- import { CaretRight as ct, MagnifyingGlass as jt, List as rn, Basket as ln, CaretLeft as an, X as on, User as dt, QrCode as sn } from "@phosphor-icons/react";
5
- import { motion as Je, AnimatePresence as un } from "framer-motion";
3
+ import { Text as qt, useBreakpointValue as Xe, InputGroup as Qt, Input as er, InputRightElement as tr, Icon as rr } from "@chakra-ui/react";
4
+ import { CaretRight as ct, MagnifyingGlass as jt, List as nr, Basket as lr, CaretLeft as ar, X as or, User as dt, QrCode as ir } from "@phosphor-icons/react";
5
+ import { motion as Je, AnimatePresence as sr } from "framer-motion";
6
6
  var Ge = { exports: {} }, Ce = {};
7
7
  /**
8
8
  * @license React
@@ -14,19 +14,15 @@ var Ge = { exports: {} }, Ce = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var ft;
17
- function cn() {
18
- if (ft)
19
- return Ce;
17
+ function ur() {
18
+ if (ft) return Ce;
20
19
  ft = 1;
21
20
  var l = Ke, s = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, w = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
22
21
  function m(R, c, b) {
23
- var o, j = {}, v = null, u = null;
22
+ var i, j = {}, v = null, u = null;
24
23
  b !== void 0 && (v = "" + b), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (u = c.ref);
25
- for (o in c)
26
- d.call(c, o) && !g.hasOwnProperty(o) && (j[o] = c[o]);
27
- if (R && R.defaultProps)
28
- for (o in c = R.defaultProps, c)
29
- j[o] === void 0 && (j[o] = c[o]);
24
+ for (i in c) d.call(c, i) && !g.hasOwnProperty(i) && (j[i] = c[i]);
25
+ if (R && R.defaultProps) for (i in c = R.defaultProps, c) j[i] === void 0 && (j[i] = c[i]);
30
26
  return { $$typeof: s, type: R, key: v, ref: u, props: j, _owner: w.current };
31
27
  }
32
28
  return Ce.Fragment = p, Ce.jsx = m, Ce.jsxs = m, Ce;
@@ -42,48 +38,48 @@ var we = {};
42
38
  * LICENSE file in the root directory of this source tree.
43
39
  */
44
40
  var pt;
45
- function dn() {
41
+ function cr() {
46
42
  return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
47
- var l = Ke, s = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), O = Symbol.iterator, q = "@@iterator";
43
+ var l = Ke, s = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), O = Symbol.iterator, q = "@@iterator";
48
44
  function Q(e) {
49
45
  if (e === null || typeof e != "object")
50
46
  return null;
51
- var n = O && e[O] || e[q];
52
- return typeof n == "function" ? n : null;
47
+ var r = O && e[O] || e[q];
48
+ return typeof r == "function" ? r : null;
53
49
  }
54
50
  var F = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
51
  function _(e) {
56
52
  {
57
- for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
58
- r[i - 1] = arguments[i];
59
- de("error", e, r);
53
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
54
+ n[o - 1] = arguments[o];
55
+ de("error", e, n);
60
56
  }
61
57
  }
62
- function de(e, n, r) {
58
+ function de(e, r, n) {
63
59
  {
64
- var i = F.ReactDebugCurrentFrame, x = i.getStackAddendum();
65
- x !== "" && (n += "%s", r = r.concat([x]));
66
- var C = r.map(function(h) {
60
+ var o = F.ReactDebugCurrentFrame, x = o.getStackAddendum();
61
+ x !== "" && (r += "%s", n = n.concat([x]));
62
+ var C = n.map(function(h) {
67
63
  return String(h);
68
64
  });
69
- C.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, C);
65
+ C.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, C);
70
66
  }
71
67
  }
72
68
  var fe = !1, pe = !1, M = !1, ee = !1, V = !1, E;
73
69
  E = Symbol.for("react.module.reference");
74
70
  function $(e) {
75
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === g || V || e === w || e === b || e === o || ee || e === u || fe || pe || M || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === j || e.$$typeof === m || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === g || V || e === w || e === b || e === i || ee || e === u || fe || pe || M || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === j || e.$$typeof === m || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
76
72
  // types supported by any Flight configuration anywhere since
77
73
  // we don't know which Flight build this will end up being used
78
74
  // with.
79
75
  e.$$typeof === E || e.getModuleId !== void 0));
80
76
  }
81
- function ye(e, n, r) {
82
- var i = e.displayName;
83
- if (i)
84
- return i;
85
- var x = n.displayName || n.name || "";
86
- return x !== "" ? r + "(" + x + ")" : r;
77
+ function ye(e, r, n) {
78
+ var o = e.displayName;
79
+ if (o)
80
+ return o;
81
+ var x = r.displayName || r.name || "";
82
+ return x !== "" ? n + "(" + x + ")" : n;
87
83
  }
88
84
  function he(e) {
89
85
  return e.displayName || "Context";
@@ -106,22 +102,22 @@ function dn() {
106
102
  return "StrictMode";
107
103
  case b:
108
104
  return "Suspense";
109
- case o:
105
+ case i:
110
106
  return "SuspenseList";
111
107
  }
112
108
  if (typeof e == "object")
113
109
  switch (e.$$typeof) {
114
110
  case R:
115
- var n = e;
116
- return he(n) + ".Consumer";
117
- case m:
118
111
  var r = e;
119
- return he(r._context) + ".Provider";
112
+ return he(r) + ".Consumer";
113
+ case m:
114
+ var n = e;
115
+ return he(n._context) + ".Provider";
120
116
  case c:
121
117
  return ye(e, e.render, "ForwardRef");
122
118
  case j:
123
- var i = e.displayName || null;
124
- return i !== null ? i : A(e.type) || "Memo";
119
+ var o = e.displayName || null;
120
+ return o !== null ? o : A(e.type) || "Memo";
125
121
  case v: {
126
122
  var x = e, C = x._payload, h = x._init;
127
123
  try {
@@ -133,14 +129,14 @@ function dn() {
133
129
  }
134
130
  return null;
135
131
  }
136
- var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ve, ne;
132
+ var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ve, re;
137
133
  function Te() {
138
134
  }
139
135
  Te.__reactDisabledLog = !0;
140
136
  function Ie() {
141
137
  {
142
138
  if (Y === 0) {
143
- Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ve = console.groupCollapsed, ne = console.groupEnd;
139
+ Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ve = console.groupCollapsed, re = console.groupEnd;
144
140
  var e = {
145
141
  configurable: !0,
146
142
  enumerable: !0,
@@ -160,7 +156,7 @@ function dn() {
160
156
  Y++;
161
157
  }
162
158
  }
163
- function re() {
159
+ function ne() {
164
160
  {
165
161
  if (Y--, Y === 0) {
166
162
  var e = {
@@ -188,7 +184,7 @@ function dn() {
188
184
  value: ve
189
185
  }),
190
186
  groupEnd: N({}, e, {
191
- value: ne
187
+ value: re
192
188
  })
193
189
  });
194
190
  }
@@ -196,14 +192,14 @@ function dn() {
196
192
  }
197
193
  }
198
194
  var B = F.ReactCurrentDispatcher, ge;
199
- function le(e, n, r) {
195
+ function le(e, r, n) {
200
196
  {
201
197
  if (ge === void 0)
202
198
  try {
203
199
  throw Error();
204
200
  } catch (x) {
205
- var i = x.stack.trim().match(/\n( *(at )?)/);
206
- ge = i && i[1] || "";
201
+ var o = x.stack.trim().match(/\n( *(at )?)/);
202
+ ge = o && o[1] || "";
207
203
  }
208
204
  return `
209
205
  ` + ge + e;
@@ -214,22 +210,22 @@ function dn() {
214
210
  var Le = typeof WeakMap == "function" ? WeakMap : Map;
215
211
  ae = new Le();
216
212
  }
217
- function ke(e, n) {
213
+ function ke(e, r) {
218
214
  if (!e || xe)
219
215
  return "";
220
216
  {
221
- var r = ae.get(e);
222
- if (r !== void 0)
223
- return r;
217
+ var n = ae.get(e);
218
+ if (n !== void 0)
219
+ return n;
224
220
  }
225
- var i;
221
+ var o;
226
222
  xe = !0;
227
223
  var x = Error.prepareStackTrace;
228
224
  Error.prepareStackTrace = void 0;
229
225
  var C;
230
226
  C = B.current, B.current = null, Ie();
231
227
  try {
232
- if (n) {
228
+ if (r) {
233
229
  var h = function() {
234
230
  throw Error();
235
231
  };
@@ -241,14 +237,14 @@ function dn() {
241
237
  try {
242
238
  Reflect.construct(h, []);
243
239
  } catch (L) {
244
- i = L;
240
+ o = L;
245
241
  }
246
242
  Reflect.construct(e, [], h);
247
243
  } else {
248
244
  try {
249
245
  h.call();
250
246
  } catch (L) {
251
- i = L;
247
+ o = L;
252
248
  }
253
249
  e.call(h.prototype);
254
250
  }
@@ -256,14 +252,14 @@ function dn() {
256
252
  try {
257
253
  throw Error();
258
254
  } catch (L) {
259
- i = L;
255
+ o = L;
260
256
  }
261
257
  e();
262
258
  }
263
259
  } catch (L) {
264
- if (L && i && typeof L.stack == "string") {
260
+ if (L && o && typeof L.stack == "string") {
265
261
  for (var f = L.stack.split(`
266
- `), I = i.stack.split(`
262
+ `), I = o.stack.split(`
267
263
  `), S = f.length - 1, T = I.length - 1; S >= 1 && T >= 0 && f[S] !== I[T]; )
268
264
  T--;
269
265
  for (; S >= 1 && T >= 0; S--, T--)
@@ -280,19 +276,19 @@ function dn() {
280
276
  }
281
277
  }
282
278
  } finally {
283
- xe = !1, B.current = C, re(), Error.prepareStackTrace = x;
279
+ xe = !1, B.current = C, ne(), Error.prepareStackTrace = x;
284
280
  }
285
281
  var se = e ? e.displayName || e.name : "", J = se ? le(se) : "";
286
282
  return typeof e == "function" && ae.set(e, J), J;
287
283
  }
288
- function Ae(e, n, r) {
284
+ function Ae(e, r, n) {
289
285
  return ke(e, !1);
290
286
  }
291
287
  function Fe(e) {
292
- var n = e.prototype;
293
- return !!(n && n.isReactComponent);
288
+ var r = e.prototype;
289
+ return !!(r && r.isReactComponent);
294
290
  }
295
- function ie(e, n, r) {
291
+ function oe(e, r, n) {
296
292
  if (e == null)
297
293
  return "";
298
294
  if (typeof e == "function")
@@ -302,7 +298,7 @@ function dn() {
302
298
  switch (e) {
303
299
  case b:
304
300
  return le("Suspense");
305
- case o:
301
+ case i:
306
302
  return le("SuspenseList");
307
303
  }
308
304
  if (typeof e == "object")
@@ -310,11 +306,11 @@ function dn() {
310
306
  case c:
311
307
  return Ae(e.render);
312
308
  case j:
313
- return ie(e.type, n, r);
309
+ return oe(e.type, r, n);
314
310
  case v: {
315
- var i = e, x = i._payload, C = i._init;
311
+ var o = e, x = o._payload, C = o._init;
316
312
  try {
317
- return ie(C(x), n, r);
313
+ return oe(C(x), r, n);
318
314
  } catch {
319
315
  }
320
316
  }
@@ -324,12 +320,12 @@ function dn() {
324
320
  var U = Object.prototype.hasOwnProperty, be = {}, me = F.ReactDebugCurrentFrame;
325
321
  function a(e) {
326
322
  if (e) {
327
- var n = e._owner, r = ie(e.type, e._source, n ? n.type : null);
328
- me.setExtraStackFrame(r);
323
+ var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
324
+ me.setExtraStackFrame(n);
329
325
  } else
330
326
  me.setExtraStackFrame(null);
331
327
  }
332
- function k(e, n, r, i, x) {
328
+ function k(e, r, n, o, x) {
333
329
  {
334
330
  var C = Function.call.bind(U);
335
331
  for (var h in e)
@@ -337,14 +333,14 @@ function dn() {
337
333
  var f = void 0;
338
334
  try {
339
335
  if (typeof e[h] != "function") {
340
- var I = Error((i || "React class") + ": " + r + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var I = Error((o || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
337
  throw I.name = "Invariant Violation", I;
342
338
  }
343
- f = e[h](n, h, i, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ f = e[h](r, h, o, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
340
  } catch (S) {
345
341
  f = S;
346
342
  }
347
- f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", r, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", r, f.message), a(null));
343
+ f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", n, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", n, f.message), a(null));
348
344
  }
349
345
  }
350
346
  }
@@ -354,8 +350,8 @@ function dn() {
354
350
  }
355
351
  function Me(e) {
356
352
  {
357
- var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
- return r;
353
+ var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return n;
359
355
  }
360
356
  }
361
357
  function X(e) {
@@ -381,56 +377,56 @@ function dn() {
381
377
  He = {};
382
378
  function wt(e) {
383
379
  if (U.call(e, "ref")) {
384
- var n = Object.getOwnPropertyDescriptor(e, "ref").get;
385
- if (n && n.isReactWarning)
380
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (r && r.isReactWarning)
386
382
  return !1;
387
383
  }
388
384
  return e.ref !== void 0;
389
385
  }
390
386
  function yt(e) {
391
387
  if (U.call(e, "key")) {
392
- var n = Object.getOwnPropertyDescriptor(e, "key").get;
393
- if (n && n.isReactWarning)
388
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (r && r.isReactWarning)
394
390
  return !1;
395
391
  }
396
392
  return e.key !== void 0;
397
393
  }
398
- function Et(e, n) {
399
- if (typeof e.ref == "string" && je.current && n && je.current.stateNode !== n) {
400
- var r = A(je.current.type);
401
- He[r] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(je.current.type), e.ref), He[r] = !0);
394
+ function Et(e, r) {
395
+ if (typeof e.ref == "string" && je.current && r && je.current.stateNode !== r) {
396
+ var n = A(je.current.type);
397
+ He[n] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(je.current.type), e.ref), He[n] = !0);
402
398
  }
403
399
  }
404
- function Rt(e, n) {
400
+ function Rt(e, r) {
405
401
  {
406
- var r = function() {
407
- et || (et = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
402
+ var n = function() {
403
+ et || (et = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
408
404
  };
409
- r.isReactWarning = !0, Object.defineProperty(e, "key", {
410
- get: r,
405
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: n,
411
407
  configurable: !0
412
408
  });
413
409
  }
414
410
  }
415
- function _t(e, n) {
411
+ function _t(e, r) {
416
412
  {
417
- var r = function() {
418
- tt || (tt = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
413
+ var n = function() {
414
+ tt || (tt = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
419
415
  };
420
- r.isReactWarning = !0, Object.defineProperty(e, "ref", {
421
- get: r,
416
+ n.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: n,
422
418
  configurable: !0
423
419
  });
424
420
  }
425
421
  }
426
- var St = function(e, n, r, i, x, C, h) {
422
+ var St = function(e, r, n, o, x, C, h) {
427
423
  var f = {
428
424
  // This tag allows us to uniquely identify this as a React Element
429
425
  $$typeof: s,
430
426
  // Built-in properties that belong on the element
431
427
  type: e,
432
- key: n,
433
- ref: r,
428
+ key: r,
429
+ ref: n,
434
430
  props: h,
435
431
  // Record the component responsible for creating this element.
436
432
  _owner: C
@@ -444,7 +440,7 @@ function dn() {
444
440
  configurable: !1,
445
441
  enumerable: !1,
446
442
  writable: !1,
447
- value: i
443
+ value: o
448
444
  }), Object.defineProperty(f, "_source", {
449
445
  configurable: !1,
450
446
  enumerable: !1,
@@ -452,12 +448,12 @@ function dn() {
452
448
  value: x
453
449
  }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
454
450
  };
455
- function Tt(e, n, r, i, x) {
451
+ function Tt(e, r, n, o, x) {
456
452
  {
457
453
  var C, h = {}, f = null, I = null;
458
- r !== void 0 && (Qe(r), f = "" + r), yt(n) && (Qe(n.key), f = "" + n.key), wt(n) && (I = n.ref, Et(n, x));
459
- for (C in n)
460
- U.call(n, C) && !Ct.hasOwnProperty(C) && (h[C] = n[C]);
454
+ n !== void 0 && (Qe(n), f = "" + n), yt(r) && (Qe(r.key), f = "" + r.key), wt(r) && (I = r.ref, Et(r, x));
455
+ for (C in r)
456
+ U.call(r, C) && !Ct.hasOwnProperty(C) && (h[C] = r[C]);
461
457
  if (e && e.defaultProps) {
462
458
  var S = e.defaultProps;
463
459
  for (C in S)
@@ -467,23 +463,23 @@ function dn() {
467
463
  var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
468
464
  f && Rt(h, T), I && _t(h, T);
469
465
  }
470
- return St(e, f, I, x, i, je.current, h);
466
+ return St(e, f, I, x, o, je.current, h);
471
467
  }
472
468
  }
473
- var $e = F.ReactCurrentOwner, nt = F.ReactDebugCurrentFrame;
474
- function oe(e) {
469
+ var $e = F.ReactCurrentOwner, rt = F.ReactDebugCurrentFrame;
470
+ function ie(e) {
475
471
  if (e) {
476
- var n = e._owner, r = ie(e.type, e._source, n ? n.type : null);
477
- nt.setExtraStackFrame(r);
472
+ var r = e._owner, n = oe(e.type, e._source, r ? r.type : null);
473
+ rt.setExtraStackFrame(n);
478
474
  } else
479
- nt.setExtraStackFrame(null);
475
+ rt.setExtraStackFrame(null);
480
476
  }
481
477
  var Be;
482
478
  Be = !1;
483
479
  function We(e) {
484
480
  return typeof e == "object" && e !== null && e.$$typeof === s;
485
481
  }
486
- function rt() {
482
+ function nt() {
487
483
  {
488
484
  if ($e.current) {
489
485
  var e = A($e.current.type);
@@ -496,50 +492,42 @@ Check the render method of \`` + e + "`.";
496
492
  }
497
493
  }
498
494
  function kt(e) {
499
- {
500
- if (e !== void 0) {
501
- var n = e.fileName.replace(/^.*[\\\/]/, ""), r = e.lineNumber;
502
- return `
503
-
504
- Check your code at ` + n + ":" + r + ".";
505
- }
506
- return "";
507
- }
495
+ return "";
508
496
  }
509
497
  var lt = {};
510
498
  function Dt(e) {
511
499
  {
512
- var n = rt();
513
- if (!n) {
514
- var r = typeof e == "string" ? e : e.displayName || e.name;
515
- r && (n = `
500
+ var r = nt();
501
+ if (!r) {
502
+ var n = typeof e == "string" ? e : e.displayName || e.name;
503
+ n && (r = `
516
504
 
517
- Check the top-level render call using <` + r + ">.");
505
+ Check the top-level render call using <` + n + ">.");
518
506
  }
519
- return n;
507
+ return r;
520
508
  }
521
509
  }
522
- function at(e, n) {
510
+ function at(e, r) {
523
511
  {
524
512
  if (!e._store || e._store.validated || e.key != null)
525
513
  return;
526
514
  e._store.validated = !0;
527
- var r = Dt(n);
528
- if (lt[r])
515
+ var n = Dt(r);
516
+ if (lt[n])
529
517
  return;
530
- lt[r] = !0;
531
- var i = "";
532
- e && e._owner && e._owner !== $e.current && (i = " It was passed a child from " + A(e._owner.type) + "."), oe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, i), oe(null);
518
+ lt[n] = !0;
519
+ var o = "";
520
+ e && e._owner && e._owner !== $e.current && (o = " It was passed a child from " + A(e._owner.type) + "."), ie(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, o), ie(null);
533
521
  }
534
522
  }
535
- function it(e, n) {
523
+ function ot(e, r) {
536
524
  {
537
525
  if (typeof e != "object")
538
526
  return;
539
527
  if (P(e))
540
- for (var r = 0; r < e.length; r++) {
541
- var i = e[r];
542
- We(i) && at(i, n);
528
+ for (var n = 0; n < e.length; n++) {
529
+ var o = e[n];
530
+ We(o) && at(o, r);
543
531
  }
544
532
  else if (We(e))
545
533
  e._store && (e._store.validated = !0);
@@ -547,105 +535,105 @@ Check the top-level render call using <` + r + ">.");
547
535
  var x = Q(e);
548
536
  if (typeof x == "function" && x !== e.entries)
549
537
  for (var C = x.call(e), h; !(h = C.next()).done; )
550
- We(h.value) && at(h.value, n);
538
+ We(h.value) && at(h.value, r);
551
539
  }
552
540
  }
553
541
  }
554
542
  function Ot(e) {
555
543
  {
556
- var n = e.type;
557
- if (n == null || typeof n == "string")
544
+ var r = e.type;
545
+ if (r == null || typeof r == "string")
558
546
  return;
559
- var r;
560
- if (typeof n == "function")
561
- r = n.propTypes;
562
- else if (typeof n == "object" && (n.$$typeof === c || // Note: Memo only checks outer props here.
547
+ var n;
548
+ if (typeof r == "function")
549
+ n = r.propTypes;
550
+ else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
563
551
  // Inner props are checked in the reconciler.
564
- n.$$typeof === j))
565
- r = n.propTypes;
552
+ r.$$typeof === j))
553
+ n = r.propTypes;
566
554
  else
567
555
  return;
568
- if (r) {
569
- var i = A(n);
570
- k(r, e.props, "prop", i, e);
571
- } else if (n.PropTypes !== void 0 && !Be) {
556
+ if (n) {
557
+ var o = A(r);
558
+ k(n, e.props, "prop", o, e);
559
+ } else if (r.PropTypes !== void 0 && !Be) {
572
560
  Be = !0;
573
- var x = A(n);
561
+ var x = A(r);
574
562
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
575
563
  }
576
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
565
  }
578
566
  }
579
567
  function Pt(e) {
580
568
  {
581
- for (var n = Object.keys(e.props), r = 0; r < n.length; r++) {
582
- var i = n[r];
583
- if (i !== "children" && i !== "key") {
584
- oe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), oe(null);
569
+ for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
570
+ var o = r[n];
571
+ if (o !== "children" && o !== "key") {
572
+ ie(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), ie(null);
585
573
  break;
586
574
  }
587
575
  }
588
- e.ref !== null && (oe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
576
+ e.ref !== null && (ie(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
589
577
  }
590
578
  }
591
- var ot = {};
592
- function st(e, n, r, i, x, C) {
579
+ var it = {};
580
+ function st(e, r, n, o, x, C) {
593
581
  {
594
582
  var h = $(e);
595
583
  if (!h) {
596
584
  var f = "";
597
585
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
598
- var I = kt(x);
599
- I ? f += I : f += rt();
586
+ var I = kt();
587
+ I ? f += I : f += nt();
600
588
  var S;
601
589
  e === null ? S = "null" : P(e) ? S = "array" : e !== void 0 && e.$$typeof === s ? (S = "<" + (A(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
602
590
  }
603
- var T = Tt(e, n, r, x, C);
591
+ var T = Tt(e, r, n, x, C);
604
592
  if (T == null)
605
593
  return T;
606
594
  if (h) {
607
- var H = n.children;
595
+ var H = r.children;
608
596
  if (H !== void 0)
609
- if (i)
597
+ if (o)
610
598
  if (P(H)) {
611
599
  for (var se = 0; se < H.length; se++)
612
- it(H[se], e);
600
+ ot(H[se], e);
613
601
  Object.freeze && Object.freeze(H);
614
602
  } else
615
603
  _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
616
604
  else
617
- it(H, e);
605
+ ot(H, e);
618
606
  }
619
- if (U.call(n, "key")) {
620
- var J = A(e), L = Object.keys(n).filter(function(Ht) {
607
+ if (U.call(r, "key")) {
608
+ var J = A(e), L = Object.keys(r).filter(function(Ht) {
621
609
  return Ht !== "key";
622
610
  }), Ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
623
- if (!ot[J + Ve]) {
611
+ if (!it[J + Ve]) {
624
612
  var Mt = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
625
613
  _(`A props object containing a "key" prop is being spread into JSX:
626
614
  let props = %s;
627
615
  <%s {...props} />
628
616
  React keys must be passed directly to JSX without using spread:
629
617
  let props = %s;
630
- <%s key={someKey} {...props} />`, Ve, J, Mt, J), ot[J + Ve] = !0;
618
+ <%s key={someKey} {...props} />`, Ve, J, Mt, J), it[J + Ve] = !0;
631
619
  }
632
620
  }
633
621
  return e === d ? Pt(T) : Ot(T), T;
634
622
  }
635
623
  }
636
- function It(e, n, r) {
637
- return st(e, n, r, !0);
624
+ function It(e, r, n) {
625
+ return st(e, r, n, !0);
638
626
  }
639
- function Lt(e, n, r) {
640
- return st(e, n, r, !1);
627
+ function Lt(e, r, n) {
628
+ return st(e, r, n, !1);
641
629
  }
642
630
  var At = Lt, Ft = It;
643
631
  we.Fragment = d, we.jsx = At, we.jsxs = Ft;
644
632
  }()), we;
645
633
  }
646
- process.env.NODE_ENV === "production" ? Ge.exports = cn() : Ge.exports = dn();
634
+ process.env.NODE_ENV === "production" ? Ge.exports = ur() : Ge.exports = cr();
647
635
  var t = Ge.exports;
648
- const Ye = 60, ht = 6, fn = (l) => {
636
+ const Ye = 60, ht = 6, dr = (l) => {
649
637
  const {
650
638
  activeStepIndex: s,
651
639
  hideIndicators: p = !1,
@@ -671,16 +659,16 @@ const Ye = 60, ht = 6, fn = (l) => {
671
659
  display: "flex",
672
660
  flexWrap: "nowrap",
673
661
  children: d.map((R, c) => {
674
- const b = g === c, o = c === 0, j = c === d.length - 1, v = g > c;
662
+ const b = g === c, i = c === 0, j = c === d.length - 1, v = g > c;
675
663
  let u = `${Ye}px`;
676
664
  const O = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${ht * 2}px)))`;
677
- return b ? u = O : (o || j) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
665
+ return b ? u = O : (i || j) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
678
666
  y,
679
667
  {
680
668
  width: u,
681
669
  opacity: v || b ? 1 : 0.2,
682
670
  paddingRight: j ? "0" : "6px",
683
- paddingLeft: o ? "0" : "6px",
671
+ paddingLeft: i ? "0" : "6px",
684
672
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
685
673
  children: /* @__PURE__ */ t.jsx(
686
674
  y,
@@ -709,7 +697,7 @@ const Ye = 60, ht = 6, fn = (l) => {
709
697
  }
710
698
  ) }
711
699
  );
712
- }, Sn = Ke.memo(fn), Tn = ({
700
+ }, _r = Ke.memo(dr), Sr = ({
713
701
  children: l,
714
702
  ...s
715
703
  }) => /* @__PURE__ */ t.jsx(
@@ -841,7 +829,7 @@ const Ye = 60, ht = 6, fn = (l) => {
841
829
  }
842
830
  );
843
831
  }
844
- ), pn = ({
832
+ ), fr = ({
845
833
  title: l,
846
834
  description: s,
847
835
  imageSrc: p,
@@ -852,7 +840,7 @@ const Ye = 60, ht = 6, fn = (l) => {
852
840
  href: R,
853
841
  linkComponent: c
854
842
  }) => {
855
- const b = "80px", o = "200px", j = "272px", v = c || z, u = Pe(R, !!c), O = Xe({
843
+ const b = "80px", i = "200px", j = "272px", v = c || z, u = Pe(R, !!c), O = Xe({
856
844
  base: !1,
857
845
  tablet: !1,
858
846
  largeTablet: !1,
@@ -894,7 +882,7 @@ const Ye = 60, ht = 6, fn = (l) => {
894
882
  {
895
883
  src: p,
896
884
  objectFit: "cover",
897
- height: [b, null, null, o],
885
+ height: [b, null, null, i],
898
886
  width: "100%",
899
887
  alt: "",
900
888
  "data-testid": "spotlight-card-image"
@@ -902,7 +890,7 @@ const Ye = 60, ht = 6, fn = (l) => {
902
890
  ) : /* @__PURE__ */ t.jsx(
903
891
  y,
904
892
  {
905
- height: [b, null, null, o],
893
+ height: [b, null, null, i],
906
894
  overflow: "hidden",
907
895
  children: d
908
896
  }
@@ -964,7 +952,7 @@ const Ye = 60, ht = 6, fn = (l) => {
964
952
  },
965
953
  ...l
966
954
  }
967
- ), hn = () => /* @__PURE__ */ t.jsx(
955
+ ), pr = () => /* @__PURE__ */ t.jsx(
968
956
  "svg",
969
957
  {
970
958
  width: "116",
@@ -988,7 +976,7 @@ const Ye = 60, ht = 6, fn = (l) => {
988
976
  ) }
989
977
  )
990
978
  }
991
- ), vn = ({
979
+ ), hr = ({
992
980
  desktopTopButtons: l,
993
981
  kitRegistrationElement: s,
994
982
  profileElement: p,
@@ -999,7 +987,7 @@ const Ye = 60, ht = 6, fn = (l) => {
999
987
  logoLink: R = "https://www.everlywell.com",
1000
988
  setTopOffset: c,
1001
989
  linkComponent: b,
1002
- onLogoClick: o
990
+ onLogoClick: i
1003
991
  }) => {
1004
992
  const j = Jt(null), v = mt(() => {
1005
993
  if (j.current) {
@@ -1033,10 +1021,10 @@ const Ye = 60, ht = 6, fn = (l) => {
1033
1021
  y,
1034
1022
  {
1035
1023
  "aria-label": "Go to homepage",
1036
- onClick: o,
1024
+ onClick: i,
1037
1025
  as: b || z,
1038
1026
  ...Pe(R, !!b),
1039
- children: /* @__PURE__ */ t.jsx(hn, {})
1027
+ children: /* @__PURE__ */ t.jsx(pr, {})
1040
1028
  }
1041
1029
  ),
1042
1030
  /* @__PURE__ */ t.jsx(
@@ -1066,7 +1054,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1066
1054
  { display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
1067
1055
  ce,
1068
1056
  {
1069
- icon: /* @__PURE__ */ t.jsx(rn, {}),
1057
+ icon: /* @__PURE__ */ t.jsx(nr, {}),
1070
1058
  "aria-label": "menu",
1071
1059
  "data-testid": "menu-button",
1072
1060
  onClick: g
@@ -1080,13 +1068,13 @@ const Ye = 60, ht = 6, fn = (l) => {
1080
1068
  )
1081
1069
  }
1082
1070
  );
1083
- }, gn = ({
1071
+ }, vr = ({
1084
1072
  count: l = 0,
1085
1073
  ...s
1086
1074
  }) => /* @__PURE__ */ t.jsxs(
1087
1075
  y,
1088
1076
  { position: "relative", display: "inline-block", children: [
1089
- /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ln, {}), ...s }),
1077
+ /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(lr, {}), ...s }),
1090
1078
  l > 0 && /* @__PURE__ */ t.jsx(
1091
1079
  y,
1092
1080
  {
@@ -1109,7 +1097,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1109
1097
  }
1110
1098
  )
1111
1099
  ] }
1112
- ), kn = ({
1100
+ ), Tr = ({
1113
1101
  numDesktopLinks: l = 5,
1114
1102
  showPromoButton: s = !1
1115
1103
  }) => /* @__PURE__ */ t.jsx(
@@ -1165,7 +1153,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1165
1153
  )
1166
1154
  }
1167
1155
  ) }
1168
- ), xn = (l, s) => {
1156
+ ), gr = (l, s) => {
1169
1157
  let p;
1170
1158
  return (...d) => {
1171
1159
  p && clearTimeout(p), p = setTimeout(() => {
@@ -1180,7 +1168,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1180
1168
  cancelable: !0
1181
1169
  })
1182
1170
  );
1183
- }, bn = (l = !1, s = !1, p = !1) => l || !s ? "column" : p ? "row" : "row-reverse", mn = Je(Yt), jn = Je(zt), Ue = ({
1171
+ }, xr = (l = !1, s = !1, p = !1) => l || !s ? "column" : p ? "row" : "row-reverse", br = Je(Yt), mr = Je(zt), Ue = ({
1184
1172
  isOpen: l = !1,
1185
1173
  onClose: s,
1186
1174
  title: p,
@@ -1191,7 +1179,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1191
1179
  hasBackButton: R = !0,
1192
1180
  onBackClick: c,
1193
1181
  hasOnlySpotlightCards: b = !1,
1194
- hasSearch: o = !1,
1182
+ hasSearch: i = !1,
1195
1183
  onSearch: j = () => ({}),
1196
1184
  topOffset: v
1197
1185
  }) => {
@@ -1203,7 +1191,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1203
1191
  }), O = u ? "top" : "left", [q, Q] = W(0), [F, _] = W(!1), de = () => {
1204
1192
  Q((M) => M + 1);
1205
1193
  }, fe = mt(
1206
- xn((M) => {
1194
+ gr((M) => {
1207
1195
  j(M), de();
1208
1196
  }, 100),
1209
1197
  []
@@ -1225,12 +1213,12 @@ const Ye = 60, ht = 6, fn = (l) => {
1225
1213
  blockScrollOnMount: !1,
1226
1214
  autoFocus: !1,
1227
1215
  children: /* @__PURE__ */ t.jsx(
1228
- un,
1216
+ sr,
1229
1217
  { children: l ? /* @__PURE__ */ t.jsxs(
1230
1218
  t.Fragment,
1231
1219
  { children: [
1232
1220
  /* @__PURE__ */ t.jsx(
1233
- jn,
1221
+ mr,
1234
1222
  {
1235
1223
  backgroundColor: "tints.black",
1236
1224
  top: ["0", null, null, `${v}px`],
@@ -1248,7 +1236,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1248
1236
  }
1249
1237
  ),
1250
1238
  /* @__PURE__ */ t.jsxs(
1251
- mn,
1239
+ br,
1252
1240
  {
1253
1241
  onClick: (M) => {
1254
1242
  const V = M.target.closest("a");
@@ -1275,12 +1263,12 @@ const Ye = 60, ht = 6, fn = (l) => {
1275
1263
  transition: { duration: 0.3 }
1276
1264
  } : {},
1277
1265
  children: [
1278
- !o && u ? null : /* @__PURE__ */ t.jsxs(
1266
+ !i && u ? null : /* @__PURE__ */ t.jsxs(
1279
1267
  Gt,
1280
1268
  {
1281
1269
  padding: "0",
1282
- flexDirection: o ? "column" : "row",
1283
- gap: o ? "4" : "0",
1270
+ flexDirection: i ? "column" : "row",
1271
+ gap: i ? "4" : "0",
1284
1272
  children: [
1285
1273
  u ? null : /* @__PURE__ */ t.jsxs(
1286
1274
  D,
@@ -1292,7 +1280,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1292
1280
  R ? /* @__PURE__ */ t.jsx(
1293
1281
  ce,
1294
1282
  {
1295
- icon: /* @__PURE__ */ t.jsx(an, {}),
1283
+ icon: /* @__PURE__ */ t.jsx(ar, {}),
1296
1284
  onClick: () => {
1297
1285
  c && c();
1298
1286
  },
@@ -1310,7 +1298,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1310
1298
  /* @__PURE__ */ t.jsx(
1311
1299
  ce,
1312
1300
  {
1313
- icon: /* @__PURE__ */ t.jsx(on, {}),
1301
+ icon: /* @__PURE__ */ t.jsx(or, {}),
1314
1302
  onClick: s,
1315
1303
  "aria-label": "Close"
1316
1304
  }
@@ -1318,11 +1306,11 @@ const Ye = 60, ht = 6, fn = (l) => {
1318
1306
  ]
1319
1307
  }
1320
1308
  ),
1321
- o && /* @__PURE__ */ t.jsxs(
1309
+ i && /* @__PURE__ */ t.jsxs(
1322
1310
  Qt,
1323
1311
  { width: "100%", children: [
1324
1312
  /* @__PURE__ */ t.jsx(
1325
- en,
1313
+ er,
1326
1314
  {
1327
1315
  onChange: (M) => {
1328
1316
  fe(M.target.value);
@@ -1334,8 +1322,8 @@ const Ye = 60, ht = 6, fn = (l) => {
1334
1322
  }
1335
1323
  ),
1336
1324
  /* @__PURE__ */ t.jsx(
1337
- tn,
1338
- { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(nn, { as: jt, color: "gray.500" }) }
1325
+ tr,
1326
+ { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(rr, { as: jt, color: "gray.500" }) }
1339
1327
  )
1340
1328
  ] }
1341
1329
  )
@@ -1368,10 +1356,10 @@ const Ye = 60, ht = 6, fn = (l) => {
1368
1356
  } : {},
1369
1357
  style: {
1370
1358
  display: "flex",
1371
- flexDirection: bn(
1359
+ flexDirection: xr(
1372
1360
  b,
1373
1361
  u,
1374
- o
1362
+ i
1375
1363
  ),
1376
1364
  gap: "24px",
1377
1365
  justifyContent: "space-between"
@@ -1399,7 +1387,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1399
1387
  position: [null, null, null, "relative"],
1400
1388
  flexDirection: "column",
1401
1389
  gap: "6",
1402
- width: ["100%", null, null, o ? null : "auto"],
1390
+ width: ["100%", null, null, i ? null : "auto"],
1403
1391
  children: [
1404
1392
  d ? /* @__PURE__ */ t.jsx(y, { children: d }) : null,
1405
1393
  w && !u ? /* @__PURE__ */ t.jsx(y, { children: w }) : null,
@@ -1439,26 +1427,25 @@ const Ye = 60, ht = 6, fn = (l) => {
1439
1427
  }, [])) ?? [];
1440
1428
  return [...p, ...w];
1441
1429
  }, []);
1442
- }, Cn = ({
1430
+ }, jr = ({
1443
1431
  source: l,
1444
1432
  onSearchCallback: s,
1445
1433
  isActive: p
1446
1434
  }) => {
1447
- const [d, w] = W(""), [g, m] = W([]), R = (o, j) => {
1448
- if (!o)
1449
- return [];
1450
- const v = o.toLowerCase();
1435
+ const [d, w] = W(""), [g, m] = W([]), R = (i, j) => {
1436
+ if (!i) return [];
1437
+ const v = i.toLowerCase();
1451
1438
  return j.filter((u) => {
1452
1439
  const O = u.label.toLowerCase().includes(v), q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(v);
1453
1440
  return O || q;
1454
1441
  }).sort((u, O) => u.label.localeCompare(O.label));
1455
- }, c = (o) => {
1456
- if (w(o), !o) {
1442
+ }, c = (i) => {
1443
+ if (w(i), !i) {
1457
1444
  m([]);
1458
1445
  return;
1459
1446
  }
1460
- const j = R(o, l);
1461
- m(j), s && s(o, j);
1447
+ const j = R(i, l);
1448
+ m(j), s && s(i, j);
1462
1449
  }, b = () => {
1463
1450
  w(""), m([]);
1464
1451
  };
@@ -1470,7 +1457,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1470
1457
  handleClose: b,
1471
1458
  handleSearch: c
1472
1459
  };
1473
- }, Dn = ({
1460
+ }, kr = ({
1474
1461
  categories: l = [],
1475
1462
  onCartClick: s,
1476
1463
  mainCategoryLabel: p = "Menu",
@@ -1481,7 +1468,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1481
1468
  profileUrl: R = "https://secure.everlywell.com/login",
1482
1469
  mobileBottomButtons: c = [],
1483
1470
  numberOfCartItems: b = 0,
1484
- linkComponent: o,
1471
+ linkComponent: i,
1485
1472
  onSearchCallback: j,
1486
1473
  onLinkClick: v,
1487
1474
  onCategoryOpen: u,
@@ -1501,17 +1488,17 @@ const Ye = 60, ht = 6, fn = (l) => {
1501
1488
  desktop: !0
1502
1489
  }) ?? !1;
1503
1490
  Z(() => {
1504
- re(), $(null);
1491
+ ne(), $(null);
1505
1492
  }, [Re]);
1506
1493
  const {
1507
1494
  query: _e,
1508
1495
  results: te,
1509
1496
  handleSearch: Se
1510
- } = Cn({
1497
+ } = jr({
1511
1498
  source: gt(l),
1512
1499
  onSearchCallback: j,
1513
1500
  isActive: ee
1514
- }), ve = te.length > 0, ne = o || z, Te = Pe(de, !!o), Ie = _e && /* @__PURE__ */ t.jsxs(
1501
+ }), ve = te.length > 0, re = i || z, Te = Pe(de, !!i), Ie = _e && /* @__PURE__ */ t.jsxs(
1515
1502
  D,
1516
1503
  { gap: ve ? "6" : 0, direction: "column", children: [
1517
1504
  ve ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
@@ -1524,7 +1511,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1524
1511
  /* @__PURE__ */ t.jsx(
1525
1512
  xt,
1526
1513
  {
1527
- as: ne,
1514
+ as: re,
1528
1515
  onClick: fe,
1529
1516
  _hover: { textDecoration: "none" },
1530
1517
  width: ["100%", null, null, "auto"],
@@ -1545,7 +1532,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1545
1532
  href: a.href,
1546
1533
  label: a.label,
1547
1534
  additionalContent: a == null ? void 0 : a.additionalContent,
1548
- linkComponent: o
1535
+ linkComponent: i
1549
1536
  }
1550
1537
  ) },
1551
1538
  `${a.label}-${k}`
@@ -1553,7 +1540,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1553
1540
  ) }
1554
1541
  )
1555
1542
  ] }
1556
- ), re = () => {
1543
+ ), ne = () => {
1557
1544
  M(!1), $(null);
1558
1545
  }, B = (a) => "href" in a, ge = (a) => {
1559
1546
  B(a) ? v == null || v(a.label) : $(a);
@@ -1581,7 +1568,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1581
1568
  let a = window.location.href;
1582
1569
  const k = () => {
1583
1570
  const P = window.location.href;
1584
- P !== a && (a = P, re(), $(null));
1571
+ P !== a && (a = P, ne(), $(null));
1585
1572
  }, G = setInterval(k, 100);
1586
1573
  return window.addEventListener("popstate", k), () => {
1587
1574
  window.removeEventListener("popstate", k), clearInterval(G);
@@ -1598,7 +1585,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1598
1585
  },
1599
1586
  onMouseLeave: xe,
1600
1587
  isSelected: (E == null ? void 0 : E.label) === a.label,
1601
- as: B(a) && ne ? ne : z,
1588
+ as: B(a) && re ? re : z,
1602
1589
  href: B(a) ? a.href : void 0,
1603
1590
  onClick: B(a) ? () => v == null ? void 0 : v(a.label) : void 0,
1604
1591
  ...a.buttonProps,
@@ -1624,7 +1611,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1624
1611
  role: "link",
1625
1612
  additionalContent: k.additionalContent,
1626
1613
  mainTextFontSize: "3xl",
1627
- linkComponent: o
1614
+ linkComponent: i
1628
1615
  }
1629
1616
  )
1630
1617
  },
@@ -1665,7 +1652,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1665
1652
  D,
1666
1653
  { gap: "2", children: [
1667
1654
  "Register kit",
1668
- /* @__PURE__ */ t.jsx(ue, { as: sn, size: 24 })
1655
+ /* @__PURE__ */ t.jsx(ue, { as: ir, size: 24 })
1669
1656
  ] }
1670
1657
  )
1671
1658
  },
@@ -1715,7 +1702,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1715
1702
  label: X.label,
1716
1703
  href: X.href,
1717
1704
  additionalContent: X.additionalContent,
1718
- linkComponent: o,
1705
+ linkComponent: i,
1719
1706
  onClick: () => v == null ? void 0 : v(X.label)
1720
1707
  },
1721
1708
  X.label
@@ -1731,14 +1718,14 @@ const Ye = 60, ht = 6, fn = (l) => {
1731
1718
  `${a.title}-${k}`
1732
1719
  );
1733
1720
  }) }
1734
- ) : null, ie = E != null && E.spotlightCards ? (me = E.spotlightCards) == null ? void 0 : me.map(
1735
- (a) => /* @__PURE__ */ t.jsx(pn, { ...a }, a.title)
1721
+ ) : null, oe = E != null && E.spotlightCards ? (me = E.spotlightCards) == null ? void 0 : me.map(
1722
+ (a) => /* @__PURE__ */ t.jsx(fr, { ...a }, a.title)
1736
1723
  ) : /* @__PURE__ */ t.jsx(y, {});
1737
1724
  return /* @__PURE__ */ t.jsxs(
1738
1725
  t.Fragment,
1739
1726
  { children: [
1740
1727
  /* @__PURE__ */ t.jsx(
1741
- vn,
1728
+ hr,
1742
1729
  {
1743
1730
  desktopTopButtons: ae,
1744
1731
  kitRegistrationElement: /* @__PURE__ */ t.jsx(
@@ -1756,7 +1743,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1756
1743
  { href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: dt }), "aria-label": "Profile" }) }
1757
1744
  ),
1758
1745
  cartElement: /* @__PURE__ */ t.jsx(
1759
- gn,
1746
+ vr,
1760
1747
  {
1761
1748
  "aria-label": "Cart",
1762
1749
  count: b,
@@ -1771,7 +1758,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1771
1758
  },
1772
1759
  hasSearch: w,
1773
1760
  logoLink: d,
1774
- linkComponent: o,
1761
+ linkComponent: i,
1775
1762
  onLogoClick: _,
1776
1763
  setTopOffset: Ee
1777
1764
  }
@@ -1783,7 +1770,7 @@ const Ye = 60, ht = 6, fn = (l) => {
1783
1770
  Ue,
1784
1771
  {
1785
1772
  isOpen: pe,
1786
- onClose: re,
1773
+ onClose: ne,
1787
1774
  title: p,
1788
1775
  navDrawerLinks: Le,
1789
1776
  bottomNavButtons: Ae,
@@ -1796,12 +1783,12 @@ const Ye = 60, ht = 6, fn = (l) => {
1796
1783
  {
1797
1784
  isOpen: !!E,
1798
1785
  onClose: () => {
1799
- re(), $(null);
1786
+ ne(), $(null);
1800
1787
  },
1801
1788
  title: (E == null ? void 0 : E.label) || "",
1802
1789
  navDrawerLinks: Fe,
1803
1790
  onBackClick: () => $(null),
1804
- spotlightCards: ie,
1791
+ spotlightCards: oe,
1805
1792
  hasOnlySpotlightCards: E == null ? void 0 : E.hasOnlySpotlightCards,
1806
1793
  bottomButton: E == null ? void 0 : E.bottomButton,
1807
1794
  topOffset: Y
@@ -1826,15 +1813,15 @@ const Ye = 60, ht = 6, fn = (l) => {
1826
1813
  );
1827
1814
  };
1828
1815
  export {
1829
- gn as BasketButton,
1830
- Tn as CategoryLabel,
1816
+ vr as BasketButton,
1817
+ Sr as CategoryLabel,
1831
1818
  Oe as NavButton,
1832
- kn as NavSkeleton,
1819
+ Tr as NavSkeleton,
1833
1820
  Ue as NavbarDrawer,
1834
1821
  ze as NavbarDrawerLink,
1835
- Dn as NavigationBar,
1836
- pn as SpotlightCard,
1837
- Sn as Stepper,
1822
+ kr as NavigationBar,
1823
+ fr as SpotlightCard,
1824
+ _r as Stepper,
1838
1825
  ce as TopNavIconButton,
1839
- vn as TopNavigation
1826
+ hr as TopNavigation
1840
1827
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everlywell/consumer-ui",
3
- "version": "1.35.0",
3
+ "version": "1.35.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {