@everlywell/consumer-ui 1.13.1 → 1.15.0
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/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +11 -11
- package/index.mjs +348 -282
- package/package.json +1 -1
package/index.d.mts
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("@everlywell/ui-kit"),J=require("react");var ne={exports:{}},L={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Oe;function pr(){if(Oe)return L;Oe=1;var P=J,y=Symbol.for("react.element"),S=Symbol.for("react.fragment"),g=Object.prototype.hasOwnProperty,j=P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,T={key:!0,ref:!0,__self:!0,__source:!0};function x(w,u,_){var f,h={},m=null,C=null;_!==void 0&&(m=""+_),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(C=u.ref);for(f in u)g.call(u,f)&&!T.hasOwnProperty(f)&&(h[f]=u[f]);if(w&&w.defaultProps)for(f in u=w.defaultProps,u)h[f]===void 0&&(h[f]=u[f]);return{$$typeof:y,type:w,key:m,ref:C,props:h,_owner:j.current}}return L.Fragment=S,L.jsx=x,L.jsxs=x,L}var V={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Pe;function
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+a[
|
|
17
|
+
*/var Pe;function gr(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&function(){var P=J,y=Symbol.for("react.element"),S=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),w=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),M=Symbol.iterator,ke="@@iterator";function De(e){if(e===null||typeof e!="object")return null;var r=M&&e[M]||e[ke];return typeof r=="function"?r:null}var A=P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function d(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ae("error",e,t)}}function Ae(e,r,t){{var n=A.ReactDebugCurrentFrame,o=n.getStackAddendum();o!==""&&(r+="%s",t=t.concat([o]));var s=t.map(function(i){return String(i)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Fe=!1,Ie=!1,$e=!1,We=!1,Ye=!1,ae;ae=Symbol.for("react.module.reference");function Le(e){return!!(typeof e=="string"||typeof e=="function"||e===g||e===T||Ye||e===j||e===_||e===f||We||e===C||Fe||Ie||$e||typeof e=="object"&&e!==null&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===x||e.$$typeof===w||e.$$typeof===u||e.$$typeof===ae||e.getModuleId!==void 0))}function Ve(e,r,t){var n=e.displayName;if(n)return n;var o=r.displayName||r.name||"";return o!==""?t+"("+o+")":t}function ie(e){return e.displayName||"Context"}function E(e){if(e==null)return null;if(typeof e.tag=="number"&&d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case g:return"Fragment";case S:return"Portal";case T:return"Profiler";case j:return"StrictMode";case _:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case w:var r=e;return ie(r)+".Consumer";case x:var t=e;return ie(t._context)+".Provider";case u:return Ve(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:E(e.type)||"Memo";case m:{var o=e,s=o._payload,i=o._init;try{return E(i(s))}catch{return null}}}return null}var k=Object.assign,$=0,oe,se,ue,le,ce,fe,de;function ve(){}ve.__reactDisabledLog=!0;function Me(){{if($===0){oe=console.log,se=console.info,ue=console.warn,le=console.error,ce=console.group,fe=console.groupCollapsed,de=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ve,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function Ne(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},e,{value:oe}),info:k({},e,{value:se}),warn:k({},e,{value:ue}),error:k({},e,{value:le}),group:k({},e,{value:ce}),groupCollapsed:k({},e,{value:fe}),groupEnd:k({},e,{value:de})})}$<0&&d("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var K=A.ReactCurrentDispatcher,G;function N(e,r,t){{if(G===void 0)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);G=n&&n[1]||""}return`
|
|
18
|
+
`+G+e}}var z=!1,U;{var Ue=typeof WeakMap=="function"?WeakMap:Map;U=new Ue}function pe(e,r){if(!e||z)return"";{var t=U.get(e);if(t!==void 0)return t}var n;z=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=K.current,K.current=null,Me();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(p){n=p}Reflect.construct(e,[],i)}else{try{i.call()}catch(p){n=p}e.call(i.prototype)}}else{try{throw Error()}catch(p){n=p}e()}}catch(p){if(p&&n&&typeof p.stack=="string"){for(var a=p.stack.split(`
|
|
19
|
+
`),v=n.stack.split(`
|
|
20
|
+
`),l=a.length-1,c=v.length-1;l>=1&&c>=0&&a[l]!==v[c];)c--;for(;l>=1&&c>=0;l--,c--)if(a[l]!==v[c]){if(l!==1||c!==1)do if(l--,c--,c<0||a[l]!==v[c]){var b=`
|
|
21
|
+
`+a[l].replace(" at new "," at ");return e.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,b),b}while(l>=1&&c>=0);break}}}finally{z=!1,K.current=s,Ne(),Error.prepareStackTrace=o}var I=e?e.displayName||e.name:"",D=I?N(I):"";return typeof e=="function"&&U.set(e,D),D}function Be(e,r,t){return pe(e,!1)}function qe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function B(e,r,t){if(e==null)return"";if(typeof e=="function")return pe(e,qe(e));if(typeof e=="string")return N(e);switch(e){case _:return N("Suspense");case f:return N("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case h:return B(e.type,r,t);case m:{var n=e,o=n._payload,s=n._init;try{return B(s(o),r,t)}catch{}}}return""}var W=Object.prototype.hasOwnProperty,ge={},he=A.ReactDebugCurrentFrame;function q(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Je(e,r,t,n,o){{var s=Function.call.bind(W);for(var i in e)if(s(e,i)){var a=void 0;try{if(typeof e[i]!="function"){var v=Error((n||"React class")+": "+t+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}a=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(l){a=l}a&&!(a instanceof Error)&&(q(o),d("%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).",n||"React class",t,i,typeof a),q(null)),a instanceof Error&&!(a.message in ge)&&(ge[a.message]=!0,q(o),d("Failed %s type: %s",t,a.message),q(null))}}}var Ke=Array.isArray;function H(e){return Ke(e)}function Ge(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ze(e){try{return be(e),!1}catch{return!0}}function be(e){return""+e}function ye(e){if(ze(e))return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ge(e)),be(e)}var Y=A.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},me,Ee,X;X={};function Xe(e){if(W.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(W.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){if(typeof e.ref=="string"&&Y.current&&r&&Y.current.stateNode!==r){var t=E(Y.current.type);X[t]||(d('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',E(Y.current.type),e.ref),X[t]=!0)}}function er(e,r){{var t=function(){me||(me=!0,d("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Ee||(Ee=!0,d("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,o,s,i){var a={$$typeof:y,type:e,key:r,ref:t,props:i,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function nr(e,r,t,n,o){{var s,i={},a=null,v=null;t!==void 0&&(ye(t),a=""+t),Ze(r)&&(ye(r.key),a=""+r.key),Xe(r)&&(v=r.ref,Qe(r,o));for(s in r)W.call(r,s)&&!He.hasOwnProperty(s)&&(i[s]=r[s]);if(e&&e.defaultProps){var l=e.defaultProps;for(s in l)i[s]===void 0&&(i[s]=l[s])}if(a||v){var c=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&er(i,c),v&&rr(i,c)}return tr(e,a,v,o,n,Y.current,i)}}var Z=A.ReactCurrentOwner,_e=A.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=B(e.type,e._source,r?r.type:null);_e.setExtraStackFrame(t)}else _e.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function Re(){{if(Z.current){var e=E(Z.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function ar(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+r+":"+t+"."}return""}}var
|
|
25
|
+
Check your code at `+r+":"+t+"."}return""}}var Se={};function ir(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+t+">.")}return r}}function
|
|
27
|
+
Check the top-level render call using <`+t+">.")}return r}}function Te(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(Se[t])return;Se[t]=!0;var n="";e&&e._owner&&e._owner!==Z.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),F(e),d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),F(null)}}function xe(e,r){{if(typeof e!="object")return;if(H(e))for(var t=0;t<e.length;t++){var n=e[t];ee(n)&&Te(n,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=De(e);if(typeof o=="function"&&o!==e.entries)for(var s=o.call(e),i;!(i=s.next()).done;)ee(i.value)&&Te(i.value,r)}}}function or(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=E(r);Je(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var o=E(r);d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){F(e),d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),F(null);break}}e.ref!==null&&(F(e),d("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var we={};function Ce(e,r,t,n,o,s){{var i=Le(e);if(!i){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 v=ar(o);v?a+=v:a+=Re();var l;e===null?l="null":H(e)?l="array":e!==void 0&&e.$$typeof===y?(l="<"+(E(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,a)}var c=nr(e,r,t,o,s);if(c==null)return c;if(i){var b=r.children;if(b!==void 0)if(n)if(H(b)){for(var I=0;I<b.length;I++)xe(b[I],e);Object.freeze&&Object.freeze(b)}else d("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 xe(b,e)}if(W.call(r,"key")){var D=E(e),p=Object.keys(r).filter(function(vr){return vr!=="key"}),re=p.length>0?"{key: someKey, "+p.join(": ..., ")+": ...}":"{key: someKey}";if(!we[D+re]){var dr=p.length>0?"{"+p.join(": ..., ")+": ...}":"{}";d(`A props object containing a "key" prop is being spread into JSX:
|
|
28
28
|
let props = %s;
|
|
29
29
|
<%s {...props} />
|
|
30
30
|
React keys must be passed directly to JSX without using spread:
|
|
31
31
|
let props = %s;
|
|
32
|
-
<%s key={someKey} {...props} />`,
|
|
32
|
+
<%s key={someKey} {...props} />`,re,D,dr,D),we[D+re]=!0}}return e===g?sr(c):or(c),c}}function ur(e,r,t){return Ce(e,r,t,!0)}function lr(e,r,t){return Ce(e,r,t,!1)}var cr=lr,fr=ur;V.Fragment=g,V.jsx=cr,V.jsxs=fr}()),V}process.env.NODE_ENV==="production"?ne.exports=pr():ne.exports=gr();var O=ne.exports;function hr({title:P,subtitle:y,children:S}){return O.jsxs(R.Flex,{flexDirection:"column",border:"1px solid",borderColor:"tints.black",padding:"8",alignItems:"center",children:[O.jsx(R.Heading,{as:"h3",marginBottom:"10",children:P}),O.jsx(R.Heading,{as:"h4",marginBottom:"4",fontSize:"xl",children:y}),S]})}const te=60,je=6,br=P=>{const{activeStepIndex:y,hideIndicators:S=!1,steps:g,stepperTheme:j={light:"eggplant.light",base:"eggplant.base"}}=P,{activeStep:T,setActiveStep:x}=R.useSteps({index:y,count:g.length});return J.useEffect(()=>{x(y)},[y,x]),O.jsx(R.Box,{position:"relative",width:"100%","data-testid":"stepper",children:O.jsx(R.Stepper,{role:"progressbar",index:T,width:"100%",display:"flex",flexWrap:"nowrap",children:g.map((w,u)=>{const _=T===u,f=u===0,h=u===g.length-1,m=T>u;let C=`${te}px`;const M=`calc(100% - ((${te*(g.length-1)}px) - (${g.length-1} * ${je*2}px)))`;return _?C=M:(f||h)&&(C=`${te-je}px`),O.jsx(R.Box,{width:C,opacity:m||_?1:.2,paddingRight:h?"0":"6px",paddingLeft:f?"0":"6px",transition:"width 0.4s ease-in-out, opacity 0.4s ease-in-out",children:O.jsx(R.Box,{paddingTop:S?2:5,position:"relative",width:"100%",children:O.jsx(R.Box,{width:"100%",position:"absolute",top:"0",backgroundColor:m?j.light:j.base,height:S?"4px":"8px",borderRadius:"4",left:"0"})})},`step-${u}`)})})})},yr=J.memo(br);exports.Stepper=yr;exports.TemporaryCard=hr;
|
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Flex as
|
|
2
|
-
import
|
|
3
|
-
var
|
|
1
|
+
import { Flex as hr, Heading as Oe, useSteps as gr, Box as J, Stepper as br } from "@everlywell/ui-kit";
|
|
2
|
+
import ne, { useEffect as yr } from "react";
|
|
3
|
+
var te = { exports: {} }, Y = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,25 @@ var Q = { exports: {} }, A = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function x
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
for (
|
|
26
|
-
|
|
27
|
-
return { $$typeof:
|
|
13
|
+
var Pe;
|
|
14
|
+
function mr() {
|
|
15
|
+
if (Pe)
|
|
16
|
+
return Y;
|
|
17
|
+
Pe = 1;
|
|
18
|
+
var O = ne, y = Symbol.for("react.element"), R = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, P = O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function T(x, u, _) {
|
|
20
|
+
var c, g = {}, m = null, w = null;
|
|
21
|
+
_ !== void 0 && (m = "" + _), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (w = u.ref);
|
|
22
|
+
for (c in u)
|
|
23
|
+
h.call(u, c) && !S.hasOwnProperty(c) && (g[c] = u[c]);
|
|
24
|
+
if (x && x.defaultProps)
|
|
25
|
+
for (c in u = x.defaultProps, u)
|
|
26
|
+
g[c] === void 0 && (g[c] = u[c]);
|
|
27
|
+
return { $$typeof: y, type: x, key: m, ref: w, props: g, _owner: P.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Y.Fragment = R, Y.jsx = T, Y.jsxs = T, Y;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var L = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,91 +38,91 @@ var I = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var
|
|
45
|
-
function
|
|
41
|
+
var je;
|
|
42
|
+
function Er() {
|
|
43
|
+
return je || (je = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var O = ne, y = Symbol.for("react.element"), R = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), V = Symbol.iterator, De = "@@iterator";
|
|
45
|
+
function Ae(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var r =
|
|
48
|
+
var r = V && e[V] || e[De];
|
|
49
49
|
return typeof r == "function" ? r : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var D = O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function d(e) {
|
|
53
53
|
{
|
|
54
54
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
55
55
|
t[n - 1] = arguments[n];
|
|
56
|
-
|
|
56
|
+
Fe("error", e, t);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Fe(e, r, t) {
|
|
60
60
|
{
|
|
61
|
-
var n =
|
|
61
|
+
var n = D.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
62
62
|
o !== "" && (r += "%s", t = t.concat([o]));
|
|
63
|
-
var
|
|
63
|
+
var s = t.map(function(i) {
|
|
64
64
|
return String(i);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
69
|
+
var Ie = !1, $e = !1, We = !1, Ye = !1, Le = !1, ae;
|
|
70
|
+
ae = Symbol.for("react.module.reference");
|
|
71
|
+
function Ve(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === S || Le || e === P || e === _ || e === c || Ye || e === w || Ie || $e || We || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === T || e.$$typeof === x || e.$$typeof === u || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Ne(e, r, t) {
|
|
79
79
|
var n = e.displayName;
|
|
80
80
|
if (n)
|
|
81
81
|
return n;
|
|
82
82
|
var o = r.displayName || r.name || "";
|
|
83
83
|
return o !== "" ? t + "(" + o + ")" : t;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function ie(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function E(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
95
95
|
switch (e) {
|
|
96
|
-
case
|
|
96
|
+
case h:
|
|
97
97
|
return "Fragment";
|
|
98
|
-
case
|
|
98
|
+
case R:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case S:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case P:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case _:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case c:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case m:
|
|
112
|
-
var r = e;
|
|
113
|
-
return te(r) + ".Consumer";
|
|
114
111
|
case x:
|
|
112
|
+
var r = e;
|
|
113
|
+
return ie(r) + ".Consumer";
|
|
114
|
+
case T:
|
|
115
115
|
var t = e;
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
return
|
|
119
|
-
case
|
|
116
|
+
return ie(t._context) + ".Provider";
|
|
117
|
+
case u:
|
|
118
|
+
return Ne(e, e.render, "ForwardRef");
|
|
119
|
+
case g:
|
|
120
120
|
var n = e.displayName || null;
|
|
121
|
-
return n !== null ? n :
|
|
122
|
-
case
|
|
123
|
-
var o = e,
|
|
121
|
+
return n !== null ? n : E(e.type) || "Memo";
|
|
122
|
+
case m: {
|
|
123
|
+
var o = e, s = o._payload, i = o._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return E(i(s));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function pr() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
133
|
+
var j = Object.assign, I = 0, oe, se, ue, le, fe, ce, de;
|
|
134
|
+
function ve() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
ve.__reactDisabledLog = !0;
|
|
137
|
+
function Me() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (I === 0) {
|
|
140
|
+
oe = console.log, se = console.info, ue = console.warn, le = console.error, fe = console.group, ce = console.groupCollapsed, de = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: ve,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -154,77 +154,77 @@ function pr() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
I++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Ue() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (I--, I === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value:
|
|
169
|
+
log: j({}, e, {
|
|
170
|
+
value: oe
|
|
171
171
|
}),
|
|
172
|
-
info:
|
|
173
|
-
value:
|
|
172
|
+
info: j({}, e, {
|
|
173
|
+
value: se
|
|
174
174
|
}),
|
|
175
|
-
warn:
|
|
176
|
-
value:
|
|
175
|
+
warn: j({}, e, {
|
|
176
|
+
value: ue
|
|
177
177
|
}),
|
|
178
|
-
error:
|
|
179
|
-
value:
|
|
178
|
+
error: j({}, e, {
|
|
179
|
+
value: le
|
|
180
180
|
}),
|
|
181
|
-
group:
|
|
182
|
-
value:
|
|
181
|
+
group: j({}, e, {
|
|
182
|
+
value: fe
|
|
183
183
|
}),
|
|
184
|
-
groupCollapsed:
|
|
185
|
-
value:
|
|
184
|
+
groupCollapsed: j({}, e, {
|
|
185
|
+
value: ce
|
|
186
186
|
}),
|
|
187
|
-
groupEnd:
|
|
188
|
-
value:
|
|
187
|
+
groupEnd: j({}, e, {
|
|
188
|
+
value: de
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
I < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var q = D.ReactCurrentDispatcher, K;
|
|
196
|
+
function N(e, r, t) {
|
|
197
197
|
{
|
|
198
|
-
if (
|
|
198
|
+
if (K === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
201
|
} catch (o) {
|
|
202
202
|
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
-
|
|
203
|
+
K = n && n[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` +
|
|
206
|
+
` + K + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var G = !1, M;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
M = new Be();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
214
|
+
function pe(e, r) {
|
|
215
|
+
if (!e || G)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var t =
|
|
218
|
+
var t = M.get(e);
|
|
219
219
|
if (t !== void 0)
|
|
220
220
|
return t;
|
|
221
221
|
}
|
|
222
222
|
var n;
|
|
223
|
-
|
|
223
|
+
G = !0;
|
|
224
224
|
var o = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var s;
|
|
227
|
+
s = q.current, q.current = null, Me();
|
|
228
228
|
try {
|
|
229
229
|
if (r) {
|
|
230
230
|
var i = function() {
|
|
@@ -237,171 +237,171 @@ function pr() {
|
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
239
|
Reflect.construct(i, []);
|
|
240
|
-
} catch (
|
|
241
|
-
n =
|
|
240
|
+
} catch (p) {
|
|
241
|
+
n = p;
|
|
242
242
|
}
|
|
243
243
|
Reflect.construct(e, [], i);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
246
|
i.call();
|
|
247
|
-
} catch (
|
|
248
|
-
n =
|
|
247
|
+
} catch (p) {
|
|
248
|
+
n = p;
|
|
249
249
|
}
|
|
250
250
|
e.call(i.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
n =
|
|
255
|
+
} catch (p) {
|
|
256
|
+
n = p;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var a =
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (a[
|
|
268
|
-
if (
|
|
260
|
+
} catch (p) {
|
|
261
|
+
if (p && n && typeof p.stack == "string") {
|
|
262
|
+
for (var a = p.stack.split(`
|
|
263
|
+
`), v = n.stack.split(`
|
|
264
|
+
`), l = a.length - 1, f = v.length - 1; l >= 1 && f >= 0 && a[l] !== v[f]; )
|
|
265
|
+
f--;
|
|
266
|
+
for (; l >= 1 && f >= 0; l--, f--)
|
|
267
|
+
if (a[l] !== v[f]) {
|
|
268
|
+
if (l !== 1 || f !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` + a[
|
|
273
|
-
return e.displayName &&
|
|
270
|
+
if (l--, f--, f < 0 || a[l] !== v[f]) {
|
|
271
|
+
var b = `
|
|
272
|
+
` + a[l].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && b.includes("<anonymous>") && (b = b.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, b), b;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (l >= 1 && f >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
G = !1, q.current = s, Ue(), Error.prepareStackTrace = o;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var F = e ? e.displayName || e.name : "", k = F ? N(F) : "";
|
|
283
|
+
return typeof e == "function" && M.set(e, k), k;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function Je(e, r, t) {
|
|
286
|
+
return pe(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function qe(e) {
|
|
289
289
|
var r = e.prototype;
|
|
290
290
|
return !!(r && r.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function U(e, r, t) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return pe(e, qe(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return N(e);
|
|
299
299
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
300
|
+
case _:
|
|
301
|
+
return N("Suspense");
|
|
302
|
+
case c:
|
|
303
|
+
return N("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var n = e, o = n._payload,
|
|
307
|
+
case u:
|
|
308
|
+
return Je(e.render);
|
|
309
|
+
case g:
|
|
310
|
+
return U(e.type, r, t);
|
|
311
|
+
case m: {
|
|
312
|
+
var n = e, o = n._payload, s = n._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return U(s(o), r, t);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var $ = Object.prototype.hasOwnProperty, he = {}, ge = D.ReactDebugCurrentFrame;
|
|
322
|
+
function B(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var r = e._owner, t =
|
|
325
|
-
|
|
324
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
325
|
+
ge.setExtraStackFrame(t);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
ge.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ke(e, r, t, n, o) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
331
|
+
var s = Function.call.bind($);
|
|
332
332
|
for (var i in e)
|
|
333
|
-
if (
|
|
333
|
+
if (s(e, i)) {
|
|
334
334
|
var a = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[i] != "function") {
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
337
|
+
var v = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw v.name = "Invariant Violation", v;
|
|
339
339
|
}
|
|
340
340
|
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
-
} catch (
|
|
342
|
-
a =
|
|
341
|
+
} catch (l) {
|
|
342
|
+
a = l;
|
|
343
343
|
}
|
|
344
|
-
a && !(a instanceof Error) && (
|
|
344
|
+
a && !(a instanceof Error) && (B(o), d("%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).", n || "React class", t, i, typeof a), B(null)), a instanceof Error && !(a.message in he) && (he[a.message] = !0, B(o), d("Failed %s type: %s", t, a.message), B(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var Ge = Array.isArray;
|
|
349
|
+
function z(e) {
|
|
350
|
+
return Ge(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ze(e) {
|
|
353
353
|
{
|
|
354
354
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return t;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function He(e) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return be(e), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function be(e) {
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
368
|
+
function ye(e) {
|
|
369
|
+
if (He(e))
|
|
370
|
+
return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), be(e);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var W = D.ReactCurrentOwner, Xe = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
377
|
+
}, me, Ee, H;
|
|
378
|
+
H = {};
|
|
379
|
+
function Ze(e) {
|
|
380
|
+
if ($.call(e, "ref")) {
|
|
381
381
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (r && r.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function Qe(e) {
|
|
388
|
+
if ($.call(e, "key")) {
|
|
389
389
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (r && r.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof e.ref == "string" &&
|
|
397
|
-
var t =
|
|
398
|
-
|
|
395
|
+
function er(e, r) {
|
|
396
|
+
if (typeof e.ref == "string" && W.current && r && W.current.stateNode !== r) {
|
|
397
|
+
var t = E(W.current.type);
|
|
398
|
+
H[t] || (d('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', E(W.current.type), e.ref), H[t] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function rr(e, r) {
|
|
402
402
|
{
|
|
403
403
|
var t = function() {
|
|
404
|
-
|
|
404
|
+
me || (me = !0, d("%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));
|
|
405
405
|
};
|
|
406
406
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: t,
|
|
@@ -409,10 +409,10 @@ function pr() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function tr(e, r) {
|
|
413
413
|
{
|
|
414
414
|
var t = function() {
|
|
415
|
-
|
|
415
|
+
Ee || (Ee = !0, d("%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));
|
|
416
416
|
};
|
|
417
417
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: t,
|
|
@@ -420,17 +420,17 @@ function pr() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
423
|
+
var nr = function(e, r, t, n, o, s, i) {
|
|
424
424
|
var a = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
426
|
+
$$typeof: y,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
428
|
type: e,
|
|
429
429
|
key: r,
|
|
430
430
|
ref: t,
|
|
431
431
|
props: i,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: s
|
|
434
434
|
};
|
|
435
435
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
@@ -449,41 +449,41 @@ function pr() {
|
|
|
449
449
|
value: o
|
|
450
450
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function ar(e, r, t, n, o) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
t !== void 0 && (
|
|
456
|
-
for (
|
|
457
|
-
|
|
454
|
+
var s, i = {}, a = null, v = null;
|
|
455
|
+
t !== void 0 && (ye(t), a = "" + t), Qe(r) && (ye(r.key), a = "" + r.key), Ze(r) && (v = r.ref, er(r, o));
|
|
456
|
+
for (s in r)
|
|
457
|
+
$.call(r, s) && !Xe.hasOwnProperty(s) && (i[s] = r[s]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
i[
|
|
459
|
+
var l = e.defaultProps;
|
|
460
|
+
for (s in l)
|
|
461
|
+
i[s] === void 0 && (i[s] = l[s]);
|
|
462
462
|
}
|
|
463
|
-
if (a ||
|
|
464
|
-
var
|
|
465
|
-
a &&
|
|
463
|
+
if (a || v) {
|
|
464
|
+
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
a && rr(i, f), v && tr(i, f);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return nr(e, a, v, o, n, W.current, i);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
470
|
+
var X = D.ReactCurrentOwner, _e = D.ReactDebugCurrentFrame;
|
|
471
|
+
function A(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var r = e._owner, t =
|
|
474
|
-
|
|
473
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
474
|
+
_e.setExtraStackFrame(t);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
_e.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
481
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
478
|
+
var Z;
|
|
479
|
+
Z = !1;
|
|
480
|
+
function Q(e) {
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === y;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Re() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var e =
|
|
485
|
+
if (X.current) {
|
|
486
|
+
var e = E(X.current.type);
|
|
487
487
|
if (e)
|
|
488
488
|
return `
|
|
489
489
|
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function ir(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
498
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
@@ -503,10 +503,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function
|
|
506
|
+
var Se = {};
|
|
507
|
+
function or(e) {
|
|
508
508
|
{
|
|
509
|
-
var r =
|
|
509
|
+
var r = Re();
|
|
510
510
|
if (!r) {
|
|
511
511
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
512
|
t && (r = `
|
|
@@ -516,39 +516,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
516
516
|
return r;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Te(e, r) {
|
|
520
520
|
{
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var t =
|
|
525
|
-
if (
|
|
524
|
+
var t = or(r);
|
|
525
|
+
if (Se[t])
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
Se[t] = !0;
|
|
528
528
|
var n = "";
|
|
529
|
-
e && e._owner && e._owner !==
|
|
529
|
+
e && e._owner && e._owner !== X.current && (n = " It was passed a child from " + E(e._owner.type) + "."), A(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), A(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function xe(e, r) {
|
|
533
533
|
{
|
|
534
534
|
if (typeof e != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
536
|
+
if (z(e))
|
|
537
537
|
for (var t = 0; t < e.length; t++) {
|
|
538
538
|
var n = e[t];
|
|
539
|
-
|
|
539
|
+
Q(n) && Te(n, r);
|
|
540
540
|
}
|
|
541
|
-
else if (
|
|
541
|
+
else if (Q(e))
|
|
542
542
|
e._store && (e._store.validated = !0);
|
|
543
543
|
else if (e) {
|
|
544
|
-
var o =
|
|
544
|
+
var o = Ae(e);
|
|
545
545
|
if (typeof o == "function" && o !== e.entries)
|
|
546
|
-
for (var
|
|
547
|
-
|
|
546
|
+
for (var s = o.call(e), i; !(i = s.next()).done; )
|
|
547
|
+
Q(i.value) && Te(i.value, r);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function sr(e) {
|
|
552
552
|
{
|
|
553
553
|
var r = e.type;
|
|
554
554
|
if (r == null || typeof r == "string")
|
|
@@ -556,99 +556,99 @@ Check the top-level render call using <` + t + ">.");
|
|
|
556
556
|
var t;
|
|
557
557
|
if (typeof r == "function")
|
|
558
558
|
t = r.propTypes;
|
|
559
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
559
|
+
else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
|
-
r.$$typeof ===
|
|
561
|
+
r.$$typeof === g))
|
|
562
562
|
t = r.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
565
|
if (t) {
|
|
566
|
-
var n =
|
|
567
|
-
|
|
568
|
-
} else if (r.PropTypes !== void 0 && !
|
|
569
|
-
|
|
570
|
-
var o =
|
|
571
|
-
|
|
566
|
+
var n = E(r);
|
|
567
|
+
Ke(t, e.props, "prop", n, e);
|
|
568
|
+
} else if (r.PropTypes !== void 0 && !Z) {
|
|
569
|
+
Z = !0;
|
|
570
|
+
var o = E(r);
|
|
571
|
+
d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
573
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function ur(e) {
|
|
577
577
|
{
|
|
578
578
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
579
579
|
var n = r[t];
|
|
580
580
|
if (n !== "children" && n !== "key") {
|
|
581
|
-
|
|
581
|
+
A(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (
|
|
585
|
+
e.ref !== null && (A(e), d("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
588
|
+
var we = {};
|
|
589
|
+
function Ce(e, r, t, n, o, s) {
|
|
590
590
|
{
|
|
591
|
-
var i =
|
|
591
|
+
var i = Ve(e);
|
|
592
592
|
if (!i) {
|
|
593
593
|
var a = "";
|
|
594
594
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
|
-
var
|
|
596
|
-
|
|
597
|
-
var
|
|
598
|
-
e === null ?
|
|
595
|
+
var v = ir(o);
|
|
596
|
+
v ? a += v : a += Re();
|
|
597
|
+
var l;
|
|
598
|
+
e === null ? l = "null" : z(e) ? l = "array" : e !== void 0 && e.$$typeof === y ? (l = "<" + (E(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, a);
|
|
599
599
|
}
|
|
600
|
-
var
|
|
601
|
-
if (
|
|
602
|
-
return
|
|
600
|
+
var f = ar(e, r, t, o, s);
|
|
601
|
+
if (f == null)
|
|
602
|
+
return f;
|
|
603
603
|
if (i) {
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
604
|
+
var b = r.children;
|
|
605
|
+
if (b !== void 0)
|
|
606
606
|
if (n)
|
|
607
|
-
if (
|
|
608
|
-
for (var
|
|
609
|
-
|
|
610
|
-
Object.freeze && Object.freeze(
|
|
607
|
+
if (z(b)) {
|
|
608
|
+
for (var F = 0; F < b.length; F++)
|
|
609
|
+
xe(b[F], e);
|
|
610
|
+
Object.freeze && Object.freeze(b);
|
|
611
611
|
} else
|
|
612
|
-
|
|
612
|
+
d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
613
613
|
else
|
|
614
|
-
|
|
614
|
+
xe(b, e);
|
|
615
615
|
}
|
|
616
|
-
if (
|
|
617
|
-
var
|
|
618
|
-
return
|
|
619
|
-
}),
|
|
620
|
-
if (!
|
|
621
|
-
var
|
|
622
|
-
|
|
616
|
+
if ($.call(r, "key")) {
|
|
617
|
+
var k = E(e), p = Object.keys(r).filter(function(pr) {
|
|
618
|
+
return pr !== "key";
|
|
619
|
+
}), ee = p.length > 0 ? "{key: someKey, " + p.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
620
|
+
if (!we[k + ee]) {
|
|
621
|
+
var vr = p.length > 0 ? "{" + p.join(": ..., ") + ": ...}" : "{}";
|
|
622
|
+
d(`A props object containing a "key" prop is being spread into JSX:
|
|
623
623
|
let props = %s;
|
|
624
624
|
<%s {...props} />
|
|
625
625
|
React keys must be passed directly to JSX without using spread:
|
|
626
626
|
let props = %s;
|
|
627
|
-
<%s key={someKey} {...props} />`,
|
|
627
|
+
<%s key={someKey} {...props} />`, ee, k, vr, k), we[k + ee] = !0;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
return e ===
|
|
630
|
+
return e === h ? ur(f) : sr(f), f;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
function
|
|
634
|
-
return
|
|
633
|
+
function lr(e, r, t) {
|
|
634
|
+
return Ce(e, r, t, !0);
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function fr(e, r, t) {
|
|
637
|
+
return Ce(e, r, t, !1);
|
|
638
638
|
}
|
|
639
|
-
var
|
|
640
|
-
|
|
641
|
-
}()),
|
|
639
|
+
var cr = fr, dr = lr;
|
|
640
|
+
L.Fragment = h, L.jsx = cr, L.jsxs = dr;
|
|
641
|
+
}()), L;
|
|
642
642
|
}
|
|
643
|
-
process.env.NODE_ENV === "production" ?
|
|
644
|
-
var
|
|
645
|
-
function
|
|
646
|
-
title:
|
|
647
|
-
subtitle:
|
|
648
|
-
children:
|
|
643
|
+
process.env.NODE_ENV === "production" ? te.exports = mr() : te.exports = Er();
|
|
644
|
+
var C = te.exports;
|
|
645
|
+
function Tr({
|
|
646
|
+
title: O,
|
|
647
|
+
subtitle: y,
|
|
648
|
+
children: R
|
|
649
649
|
}) {
|
|
650
|
-
return /* @__PURE__ */
|
|
651
|
-
|
|
650
|
+
return /* @__PURE__ */ C.jsxs(
|
|
651
|
+
hr,
|
|
652
652
|
{
|
|
653
653
|
flexDirection: "column",
|
|
654
654
|
border: "1px solid",
|
|
@@ -656,19 +656,85 @@ function yr({
|
|
|
656
656
|
padding: "8",
|
|
657
657
|
alignItems: "center",
|
|
658
658
|
children: [
|
|
659
|
-
/* @__PURE__ */
|
|
660
|
-
|
|
661
|
-
{ as: "h3", marginBottom: "10", children:
|
|
659
|
+
/* @__PURE__ */ C.jsx(
|
|
660
|
+
Oe,
|
|
661
|
+
{ as: "h3", marginBottom: "10", children: O }
|
|
662
662
|
),
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
|
|
665
|
-
{ as: "h4", marginBottom: "4", fontSize: "xl", children:
|
|
663
|
+
/* @__PURE__ */ C.jsx(
|
|
664
|
+
Oe,
|
|
665
|
+
{ as: "h4", marginBottom: "4", fontSize: "xl", children: y }
|
|
666
666
|
),
|
|
667
|
-
|
|
667
|
+
R
|
|
668
668
|
]
|
|
669
669
|
}
|
|
670
670
|
);
|
|
671
671
|
}
|
|
672
|
+
const re = 60, ke = 6, _r = (O) => {
|
|
673
|
+
const {
|
|
674
|
+
activeStepIndex: y,
|
|
675
|
+
hideIndicators: R = !1,
|
|
676
|
+
steps: h,
|
|
677
|
+
stepperTheme: P = {
|
|
678
|
+
light: "eggplant.light",
|
|
679
|
+
base: "eggplant.base"
|
|
680
|
+
}
|
|
681
|
+
} = O, { activeStep: S, setActiveStep: T } = gr({
|
|
682
|
+
index: y,
|
|
683
|
+
count: h.length
|
|
684
|
+
});
|
|
685
|
+
return yr(() => {
|
|
686
|
+
T(y);
|
|
687
|
+
}, [y, T]), /* @__PURE__ */ C.jsx(
|
|
688
|
+
J,
|
|
689
|
+
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ C.jsx(
|
|
690
|
+
br,
|
|
691
|
+
{
|
|
692
|
+
role: "progressbar",
|
|
693
|
+
index: S,
|
|
694
|
+
width: "100%",
|
|
695
|
+
display: "flex",
|
|
696
|
+
flexWrap: "nowrap",
|
|
697
|
+
children: h.map((x, u) => {
|
|
698
|
+
const _ = S === u, c = u === 0, g = u === h.length - 1, m = S > u;
|
|
699
|
+
let w = `${re}px`;
|
|
700
|
+
const V = `calc(100% - ((${re * (h.length - 1)}px) - (${h.length - 1} * ${ke * 2}px)))`;
|
|
701
|
+
return _ ? w = V : (c || g) && (w = `${re - ke}px`), /* @__PURE__ */ C.jsx(
|
|
702
|
+
J,
|
|
703
|
+
{
|
|
704
|
+
width: w,
|
|
705
|
+
opacity: m || _ ? 1 : 0.2,
|
|
706
|
+
paddingRight: g ? "0" : "6px",
|
|
707
|
+
paddingLeft: c ? "0" : "6px",
|
|
708
|
+
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
709
|
+
children: /* @__PURE__ */ C.jsx(
|
|
710
|
+
J,
|
|
711
|
+
{
|
|
712
|
+
paddingTop: R ? 2 : 5,
|
|
713
|
+
position: "relative",
|
|
714
|
+
width: "100%",
|
|
715
|
+
children: /* @__PURE__ */ C.jsx(
|
|
716
|
+
J,
|
|
717
|
+
{
|
|
718
|
+
width: "100%",
|
|
719
|
+
position: "absolute",
|
|
720
|
+
top: "0",
|
|
721
|
+
backgroundColor: m ? P.light : P.base,
|
|
722
|
+
height: R ? "4px" : "8px",
|
|
723
|
+
borderRadius: "4",
|
|
724
|
+
left: "0"
|
|
725
|
+
}
|
|
726
|
+
)
|
|
727
|
+
}
|
|
728
|
+
)
|
|
729
|
+
},
|
|
730
|
+
`step-${u}`
|
|
731
|
+
);
|
|
732
|
+
})
|
|
733
|
+
}
|
|
734
|
+
) }
|
|
735
|
+
);
|
|
736
|
+
}, xr = ne.memo(_r);
|
|
672
737
|
export {
|
|
673
|
-
|
|
738
|
+
xr as Stepper,
|
|
739
|
+
Tr as TemporaryCard
|
|
674
740
|
};
|