react-luminus-components 1.2.44 → 1.2.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +42 -42
- package/dist/{EventType-DWq5GS3Y.cjs → EventType-CjShHN5A.cjs} +1 -1
- package/dist/{EventType-CL8n-SeO.js → EventType-Usf1H64d.js} +1 -1
- package/dist/{NoInputContainer-DoFfFTND.cjs → NoInputContainer-Bqi3DDyO.cjs} +22 -22
- package/dist/{NoInputContainer-BKmw3xdm.js → NoInputContainer-DZZ_-i8t.js} +76 -74
- package/dist/{SimpleTooltip-BePxo0C-.cjs → SimpleTooltip-3zifUay1.cjs} +1 -1
- package/dist/{SimpleTooltip-DyYYVmG7.js → SimpleTooltip-BkXQMkQn.js} +1 -1
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +1 -1
- package/dist/components/common/SimplePicker/SimplePicker.d.ts +1 -2
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +3 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useGetApiData/useGetApiData.d.ts +4 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +368 -349
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1596 -1597
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/{useConfirm-DwMSFZPV.js → useConfirm-BX2uDQ2n.js} +1 -1
- package/dist/{useConfirm-D4nT0q-h.cjs → useConfirm-CWoEv2JQ.cjs} +1 -1
- package/dist/{usePermissions-BVj_U7jR.js → usePermissions-5LpuGywv.js} +1 -1
- package/dist/{usePermissions-BoWWZ7Z8.cjs → usePermissions-DcA0BYz0.cjs} +1 -1
- package/dist/utils/hookForm/hookFormUtils.d.ts +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +19 -13
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const m=require("react"),bn=require("./textUtils-CHVVh2oi.cjs");require("react-hook-form");const bt=require("react-dom");function Ha(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const
|
|
1
|
+
"use strict";const m=require("react"),bn=require("./textUtils-CHVVh2oi.cjs");require("react-hook-form");const bt=require("react-dom");function Ha(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const q=Ha(m);function Or(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xr={exports:{}},At={};/**
|
|
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 to;function Va(){if(to)return At;to=1;var e=m,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,u){var l,d={},v=null,g=null;u!==void 0&&(v=""+u),c.key!==void 0&&(v=""+c.key),c.ref!==void 0&&(g=c.ref);for(l in c)n.call(c,l)&&!i.hasOwnProperty(l)&&(d[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)d[l]===void 0&&(d[l]=c[l]);return{$$typeof:t,type:s,key:v,ref:g,props:d,_owner:o.current}}return At.Fragment=r,At.jsx=a,At.jsxs=a,At}var
|
|
9
|
+
*/var to;function Va(){if(to)return At;to=1;var e=m,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,u){var l,d={},v=null,g=null;u!==void 0&&(v=""+u),c.key!==void 0&&(v=""+c.key),c.ref!==void 0&&(g=c.ref);for(l in c)n.call(c,l)&&!i.hasOwnProperty(l)&&(d[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)d[l]===void 0&&(d[l]=c[l]);return{$$typeof:t,type:s,key:v,ref:g,props:d,_owner:o.current}}return At.Fragment=r,At.jsx=a,At.jsxs=a,At}var Mt={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,24 +14,24 @@
|
|
|
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 ro;function Wa(){return ro||(ro=1,process.env.NODE_ENV!=="production"&&function(){var e=m,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,y="@@iterator";function E(f){if(f===null||typeof f!="object")return null;var x=h&&f[h]||f[y];return typeof x=="function"?x:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(f){{for(var x=arguments.length,P=new Array(x>1?x-1:0),F=1;F<x;F++)P[F-1]=arguments[F];R("error",f,P)}}function R(f,x,P){{var F=S.ReactDebugCurrentFrame,ee=F.getStackAddendum();ee!==""&&(x+="%s",P=P.concat([ee]));var se=P.map(function(
|
|
18
|
-
`+I+f}}var H=!1,B;{var fe=typeof WeakMap=="function"?WeakMap:Map;B=new fe}function b(f,x){if(!f||H)return"";{var P=B.get(f);if(P!==void 0)return P}var F;H=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=N.current,N.current=null,
|
|
17
|
+
*/var ro;function Wa(){return ro||(ro=1,process.env.NODE_ENV!=="production"&&function(){var e=m,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),h=Symbol.iterator,y="@@iterator";function E(f){if(f===null||typeof f!="object")return null;var x=h&&f[h]||f[y];return typeof x=="function"?x:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(f){{for(var x=arguments.length,P=new Array(x>1?x-1:0),F=1;F<x;F++)P[F-1]=arguments[F];R("error",f,P)}}function R(f,x,P){{var F=S.ReactDebugCurrentFrame,ee=F.getStackAddendum();ee!==""&&(x+="%s",P=P.concat([ee]));var se=P.map(function(Y){return String(Y)});se.unshift("Warning: "+x),Function.prototype.apply.call(console[f],console,se)}}var C=!1,p=!1,A=!1,k=!1,J=!1,Z;Z=Symbol.for("react.module.reference");function K(f){return!!(typeof f=="string"||typeof f=="function"||f===n||f===i||J||f===o||f===u||f===l||k||f===g||C||p||A||typeof f=="object"&&f!==null&&(f.$$typeof===v||f.$$typeof===d||f.$$typeof===a||f.$$typeof===s||f.$$typeof===c||f.$$typeof===Z||f.getModuleId!==void 0))}function ie(f,x,P){var F=f.displayName;if(F)return F;var ee=x.displayName||x.name||"";return ee!==""?P+"("+ee+")":P}function le(f){return f.displayName||"Context"}function V(f){if(f==null)return null;if(typeof f.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case l:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case s:var x=f;return le(x)+".Consumer";case a:var P=f;return le(P._context)+".Provider";case c:return ie(f,f.render,"ForwardRef");case d:var F=f.displayName||null;return F!==null?F:V(f.type)||"Memo";case v:{var ee=f,se=ee._payload,Y=ee._init;try{return V(Y(se))}catch{return null}}}return null}var X=Object.assign,Q=0,ae,ue,xe,we,O,_,L;function $(){}$.__reactDisabledLog=!0;function j(){{if(Q===0){ae=console.log,ue=console.info,xe=console.warn,we=console.error,O=console.group,_=console.groupCollapsed,L=console.groupEnd;var f={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:f,log:f,warn:f,error:f,group:f,groupCollapsed:f,groupEnd:f})}Q++}}function U(){{if(Q--,Q===0){var f={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},f,{value:ae}),info:X({},f,{value:ue}),warn:X({},f,{value:xe}),error:X({},f,{value:we}),group:X({},f,{value:O}),groupCollapsed:X({},f,{value:_}),groupEnd:X({},f,{value:L})})}Q<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var N=S.ReactCurrentDispatcher,I;function D(f,x,P){{if(I===void 0)try{throw Error()}catch(ee){var F=ee.stack.trim().match(/\n( *(at )?)/);I=F&&F[1]||""}return`
|
|
18
|
+
`+I+f}}var H=!1,B;{var fe=typeof WeakMap=="function"?WeakMap:Map;B=new fe}function b(f,x){if(!f||H)return"";{var P=B.get(f);if(P!==void 0)return P}var F;H=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=N.current,N.current=null,j();try{if(x){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Se){F=Se}Reflect.construct(f,[],Y)}else{try{Y.call()}catch(Se){F=Se}f.call(Y.prototype)}}else{try{throw Error()}catch(Se){F=Se}f()}}catch(Se){if(Se&&F&&typeof Se.stack=="string"){for(var W=Se.stack.split(`
|
|
19
19
|
`),Te=F.stack.split(`
|
|
20
|
-
`),pe=W.length-1,me=Te.length-1;pe>=1&&me>=0&&W[pe]!==Te[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(W[pe]!==Te[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||W[pe]!==Te[me]){var
|
|
21
|
-
`+W[pe].replace(" at new "," at ");return f.displayName&&
|
|
20
|
+
`),pe=W.length-1,me=Te.length-1;pe>=1&&me>=0&&W[pe]!==Te[me];)me--;for(;pe>=1&&me>=0;pe--,me--)if(W[pe]!==Te[me]){if(pe!==1||me!==1)do if(pe--,me--,me<0||W[pe]!==Te[me]){var je=`
|
|
21
|
+
`+W[pe].replace(" at new "," at ");return f.displayName&&je.includes("<anonymous>")&&(je=je.replace("<anonymous>",f.displayName)),typeof f=="function"&&B.set(f,je),je}while(pe>=1&&me>=0);break}}}finally{H=!1,N.current=se,U(),Error.prepareStackTrace=ee}var vt=f?f.displayName||f.name:"",at=vt?D(vt):"";return typeof f=="function"&&B.set(f,at),at}function ge(f,x,P){return b(f,!1)}function _e(f){var x=f.prototype;return!!(x&&x.isReactComponent)}function Me(f,x,P){if(f==null)return"";if(typeof f=="function")return b(f,_e(f));if(typeof f=="string")return D(f);switch(f){case u:return D("Suspense");case l:return D("SuspenseList")}if(typeof f=="object")switch(f.$$typeof){case c:return ge(f.render);case d:return Me(f.type,x,P);case v:{var F=f,ee=F._payload,se=F._init;try{return Me(se(ee),x,P)}catch{}}}return""}var Ye=Object.prototype.hasOwnProperty,Ct={},Jt=S.ReactDebugCurrentFrame;function dt(f){if(f){var x=f._owner,P=Me(f.type,f._source,x?x.type:null);Jt.setExtraStackFrame(P)}else Jt.setExtraStackFrame(null)}function Be(f,x,P,F,ee){{var se=Function.call.bind(Ye);for(var Y in f)if(se(f,Y)){var W=void 0;try{if(typeof f[Y]!="function"){var Te=Error((F||"React class")+": "+P+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof f[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Te.name="Invariant Violation",Te}W=f[Y](x,Y,F,P,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){W=pe}W&&!(W instanceof Error)&&(dt(ee),T("%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).",F||"React class",P,Y,typeof W),dt(null)),W instanceof Error&&!(W.message in Ct)&&(Ct[W.message]=!0,dt(ee),T("Failed %s type: %s",P,W.message),dt(null))}}}var pt=Array.isArray;function ht(f){return pt(f)}function Xt(f){{var x=typeof Symbol=="function"&&Symbol.toStringTag,P=x&&f[Symbol.toStringTag]||f.constructor.name||"Object";return P}}function Rt(f){try{return _t(f),!1}catch{return!0}}function _t(f){return""+f}function Pt(f){if(Rt(f))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xt(f)),_t(f)}var Ge=S.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},qn,Yn,kr;kr={};function Ca(f){if(Ye.call(f,"ref")){var x=Object.getOwnPropertyDescriptor(f,"ref").get;if(x&&x.isReactWarning)return!1}return f.ref!==void 0}function Ra(f){if(Ye.call(f,"key")){var x=Object.getOwnPropertyDescriptor(f,"key").get;if(x&&x.isReactWarning)return!1}return f.key!==void 0}function _a(f,x){if(typeof f.ref=="string"&&Ge.current&&x&&Ge.current.stateNode!==x){var P=V(Ge.current.type);kr[P]||(T('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',V(Ge.current.type),f.ref),kr[P]=!0)}}function Pa(f,x){{var P=function(){qn||(qn=!0,T("%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)",x))};P.isReactWarning=!0,Object.defineProperty(f,"key",{get:P,configurable:!0})}}function Aa(f,x){{var P=function(){Yn||(Yn=!0,T("%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)",x))};P.isReactWarning=!0,Object.defineProperty(f,"ref",{get:P,configurable:!0})}}var Ma=function(f,x,P,F,ee,se,Y){var W={$$typeof:t,type:f,key:x,ref:P,props:Y,_owner:se};return W._store={},Object.defineProperty(W._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(W,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(W,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(W.props),Object.freeze(W)),W};function ja(f,x,P,F,ee){{var se,Y={},W=null,Te=null;P!==void 0&&(Pt(P),W=""+P),Ra(x)&&(Pt(x.key),W=""+x.key),Ca(x)&&(Te=x.ref,_a(x,ee));for(se in x)Ye.call(x,se)&&!Zt.hasOwnProperty(se)&&(Y[se]=x[se]);if(f&&f.defaultProps){var pe=f.defaultProps;for(se in pe)Y[se]===void 0&&(Y[se]=pe[se])}if(W||Te){var me=typeof f=="function"?f.displayName||f.name||"Unknown":f;W&&Pa(Y,me),Te&&Aa(Y,me)}return Ma(f,W,Te,ee,F,Ge.current,Y)}}var Nr=S.ReactCurrentOwner,Gn=S.ReactDebugCurrentFrame;function mt(f){if(f){var x=f._owner,P=Me(f.type,f._source,x?x.type:null);Gn.setExtraStackFrame(P)}else Gn.setExtraStackFrame(null)}var Ir;Ir=!1;function Dr(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function Kn(){{if(Nr.current){var f=V(Nr.current.type);if(f)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+f+"`."}return""}}function ka(f){return""}var Jn={};function Na(f){{var x=Kn();if(!x){var P=typeof f=="string"?f:f.displayName||f.name;P&&(x=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+P+">.")}return x}}function Xn(f,x){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var P=Na(x);if(Jn[P])return;Jn[P]=!0;var F="";f&&f._owner&&f._owner!==Nr.current&&(F=" It was passed a child from "+V(f._owner.type)+"."),mt(f),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,F),mt(null)}}function Zn(f,x){{if(typeof f!="object")return;if(ht(f))for(var P=0;P<f.length;P++){var F=f[P];Dr(F)&&Xn(F,x)}else if(Dr(f))f._store&&(f._store.validated=!0);else if(f){var ee=E(f);if(typeof ee=="function"&&ee!==f.entries)for(var se=ee.call(f),
|
|
25
|
+
Check the top-level render call using <`+P+">.")}return x}}function Xn(f,x){{if(!f._store||f._store.validated||f.key!=null)return;f._store.validated=!0;var P=Na(x);if(Jn[P])return;Jn[P]=!0;var F="";f&&f._owner&&f._owner!==Nr.current&&(F=" It was passed a child from "+V(f._owner.type)+"."),mt(f),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,F),mt(null)}}function Zn(f,x){{if(typeof f!="object")return;if(ht(f))for(var P=0;P<f.length;P++){var F=f[P];Dr(F)&&Xn(F,x)}else if(Dr(f))f._store&&(f._store.validated=!0);else if(f){var ee=E(f);if(typeof ee=="function"&&ee!==f.entries)for(var se=ee.call(f),Y;!(Y=se.next()).done;)Dr(Y.value)&&Xn(Y.value,x)}}}function Ia(f){{var x=f.type;if(x==null||typeof x=="string")return;var P;if(typeof x=="function")P=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===c||x.$$typeof===d))P=x.propTypes;else return;if(P){var F=V(x);Be(P,f.props,"prop",F,f)}else if(x.PropTypes!==void 0&&!Ir){Ir=!0;var ee=V(x);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Da(f){{for(var x=Object.keys(f.props),P=0;P<x.length;P++){var F=x[P];if(F!=="children"&&F!=="key"){mt(f),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),mt(null);break}}f.ref!==null&&(mt(f),T("Invalid attribute `ref` supplied to `React.Fragment`."),mt(null))}}var Qn={};function eo(f,x,P,F,ee,se){{var Y=K(f);if(!Y){var W="";(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(W+=" 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 Te=ka();Te?W+=Te:W+=Kn();var pe;f===null?pe="null":ht(f)?pe="array":f!==void 0&&f.$$typeof===t?(pe="<"+(V(f.type)||"Unknown")+" />",W=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof f,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,W)}var me=ja(f,x,P,ee,se);if(me==null)return me;if(Y){var je=x.children;if(je!==void 0)if(F)if(ht(je)){for(var vt=0;vt<je.length;vt++)Zn(je[vt],f);Object.freeze&&Object.freeze(je)}else T("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 Zn(je,f)}if(Ye.call(x,"key")){var at=V(f),Se=Object.keys(x).filter(function(za){return za!=="key"}),Lr=Se.length>0?"{key: someKey, "+Se.join(": ..., ")+": ...}":"{key: someKey}";if(!Qn[at+Lr]){var Ba=Se.length>0?"{"+Se.join(": ..., ")+": ...}":"{}";T(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Lr,at,Ba,at),Qn[at+Lr]=!0}}return f===n?Da(me):Ia(me),me}}function La(f,x,P){return eo(f,x,P,!0)}function $a(f,x,P){return eo(f,x,P,!1)}var Fa=$a,Ua=La;
|
|
30
|
+
<%s key={someKey} {...props} />`,Lr,at,Ba,at),Qn[at+Lr]=!0}}return f===n?Da(me):Ia(me),me}}function La(f,x,P){return eo(f,x,P,!0)}function $a(f,x,P){return eo(f,x,P,!1)}var Fa=$a,Ua=La;Mt.Fragment=n,Mt.jsx=Fa,Mt.jsxs=Ua}()),Mt}process.env.NODE_ENV==="production"?Xr.exports=Va():Xr.exports=Wa();var M=Xr.exports,Xo={exports:{}};/*!
|
|
31
31
|
Copyright (c) 2018 Jed Watson.
|
|
32
32
|
Licensed under the MIT License (MIT), see
|
|
33
33
|
http://jedwatson.github.io/classnames
|
|
34
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Xo);var Ya=Xo.exports;const ce=Or(Ya);function Zo(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Qo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function qa(e,t){const r=+Zo(e);return Qo(e,r+t)}function Ga(e,t){return qa(e,t*bn.millisecondsInHour)}var ei={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},no=m.createContext&&m.createContext(ei),Ka=["attr","size","title"];function Ja(e,t){if(e==null)return{};var r=Xa(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Xa(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dr.apply(this,arguments)}function oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oo(Object(r),!0).forEach(function(n){Za(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Za(e,t,r){return t=Qa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){var t=es(e,"string");return typeof t=="symbol"?t:t+""}function es(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ti(e){return e&&e.map((t,r)=>m.createElement(t.tag,pr({key:r},t.attr),ti(t.child)))}function ve(e){return t=>m.createElement(ts,dr({attr:pr({},e.attr)},t),ti(e.child))}function ts(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=Ja(e,Ka),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),m.createElement("svg",dr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:pr(pr({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&m.createElement("title",null,i),e.children)};return no!==void 0?m.createElement(no.Consumer,null,r=>t(r)):t(ei)}function rs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function ns(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function os(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function is(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function as(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function ss(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function cs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function us(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function ls(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function fs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function ds(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function ps(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function hs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function ms(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function vs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function ri(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function gs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function ni(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function ys(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}const En=m.createContext({cookieDomain:"",axiosInstance:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{}});let bs={data:""},Es=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||bs,ws=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Os=/\/\*[^]*?\*\/| +/g,io=/\n+/g,Ze=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Ze(a,i):i+"{"+Ze(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Ze(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Ze.p?Ze.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},ze={},oi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+oi(e[r]);return t}return e},xs=(e,t,r,n,o)=>{let i=oi(e),a=ze[i]||(ze[i]=(c=>{let u=0,l=11;for(;u<c.length;)l=101*l+c.charCodeAt(u++)>>>0;return"go"+l})(i));if(!ze[a]){let c=i!==e?e:(u=>{let l,d,v=[{}];for(;l=ws.exec(u.replace(Os,""));)l[4]?v.shift():l[3]?(d=l[3].replace(io," ").trim(),v.unshift(v[0][d]=v[0][d]||{})):v[0][l[1]]=l[2].replace(io," ").trim();return v[0]})(e);ze[a]=Ze(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&ze.g?ze.g:null;return r&&(ze.g=ze[a]),((c,u,l,d)=>{d?u.data=u.data.replace(d,c):u.data.indexOf(c)===-1&&(u.data=l?c+u.data:u.data+c)})(ze[a],t,n,s),a},Ts=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Ze(s,""):s===!1?"":s}return n+o+(a??"")},"");function xr(e){let t=this||{},r=e.call?e(t.p):e;return xs(r.unshift?r.raw?Ts(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Es(t.target),t.g,t.o,t.k)}let ii,Zr,Qr;xr.bind({g:1});let Ve=xr.bind({k:1});function Ss(e,t,r,n){Ze.p=t,ii=e,Zr=r,Qr=n}function nt(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:Zr&&Zr()},s),r.o=/ *go\d+/.test(c),s.className=xr.apply(r,n)+(c?" "+c:"");let u=e;return e[0]&&(u=s.as||e,delete s.as),Qr&&u[0]&&Qr(s),ii(u,s)}return o}}var Cs=e=>typeof e=="function",hr=(e,t)=>Cs(e)?e(t):e,Rs=(()=>{let e=0;return()=>(++e).toString()})(),ai=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),_s=20,ir=new Map,Ps=1e3,ao=e=>{if(ir.has(e))return;let t=setTimeout(()=>{ir.delete(e),ft({type:4,toastId:e})},Ps);ir.set(e,t)},As=e=>{let t=ir.get(e);t&&clearTimeout(t)},en=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,_s)};case 1:return t.toast.id&&As(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?en(e,{type:1,toast:r}):en(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?ao(n):e.toasts.forEach(i=>{ao(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ar=[],sr={toasts:[],pausedAt:void 0},ft=e=>{sr=en(sr,e),ar.forEach(t=>{t(sr)})},js={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Ms=(e={})=>{let[t,r]=m.useState(sr);m.useEffect(()=>(ar.push(r),()=>{let o=ar.indexOf(r);o>-1&&ar.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||js[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},ks=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Rs()}),Ht=e=>(t,r)=>{let n=ks(t,e,r);return ft({type:2,toast:n}),n.id},Pe=(e,t)=>Ht("blank")(e,t);Pe.error=Ht("error");Pe.success=Ht("success");Pe.loading=Ht("loading");Pe.custom=Ht("custom");Pe.dismiss=e=>{ft({type:3,toastId:e})};Pe.remove=e=>ft({type:4,toastId:e});Pe.promise=(e,t,r)=>{let n=Pe.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Pe.success(hr(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Pe.error(hr(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Ns=(e,t)=>{ft({type:1,toast:{id:e,height:t}})},Is=()=>{ft({type:5,time:Date.now()})},Ds=e=>{let{toasts:t,pausedAt:r}=Ms(e);m.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&Pe.dismiss(s.id);return}return setTimeout(()=>Pe.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=m.useCallback(()=>{r&&ft({type:6,time:Date.now()})},[r]),o=m.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:u}=a||{},l=t.filter(g=>(g.position||u)===(i.position||u)&&g.height),d=l.findIndex(g=>g.id===i.id),v=l.filter((g,h)=>h<d&&g.visible).length;return l.filter(g=>g.visible).slice(...s?[v+1]:[0,v]).reduce((g,h)=>g+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Ns,startPause:Is,endPause:n,calculateOffset:o}}},Ls=Ve`
|
|
34
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Xo);var qa=Xo.exports;const ce=Or(qa);function Zo(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Qo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ya(e,t){const r=+Zo(e);return Qo(e,r+t)}function Ga(e,t){return Ya(e,t*bn.millisecondsInHour)}var ei={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},no=m.createContext&&m.createContext(ei),Ka=["attr","size","title"];function Ja(e,t){if(e==null)return{};var r=Xa(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Xa(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dr.apply(this,arguments)}function oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oo(Object(r),!0).forEach(function(n){Za(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Za(e,t,r){return t=Qa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){var t=es(e,"string");return typeof t=="symbol"?t:t+""}function es(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ti(e){return e&&e.map((t,r)=>m.createElement(t.tag,pr({key:r},t.attr),ti(t.child)))}function ve(e){return t=>m.createElement(ts,dr({attr:pr({},e.attr)},t),ti(e.child))}function ts(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=Ja(e,Ka),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),m.createElement("svg",dr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:pr(pr({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&m.createElement("title",null,i),e.children)};return no!==void 0?m.createElement(no.Consumer,null,r=>t(r)):t(ei)}function rs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function ns(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function os(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function is(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function as(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function ss(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function cs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function us(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function ls(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function fs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function ds(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function ps(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function hs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function ms(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function vs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function ri(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function gs(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function ni(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function ys(e){return ve({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}const En=m.createContext({cookieDomain:"",axiosInstance:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{}});let bs={data:""},Es=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||bs,ws=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Os=/\/\*[^]*?\*\/| +/g,io=/\n+/g,Ze=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Ze(a,i):i+"{"+Ze(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Ze(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Ze.p?Ze.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},ze={},oi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+oi(e[r]);return t}return e},xs=(e,t,r,n,o)=>{let i=oi(e),a=ze[i]||(ze[i]=(c=>{let u=0,l=11;for(;u<c.length;)l=101*l+c.charCodeAt(u++)>>>0;return"go"+l})(i));if(!ze[a]){let c=i!==e?e:(u=>{let l,d,v=[{}];for(;l=ws.exec(u.replace(Os,""));)l[4]?v.shift():l[3]?(d=l[3].replace(io," ").trim(),v.unshift(v[0][d]=v[0][d]||{})):v[0][l[1]]=l[2].replace(io," ").trim();return v[0]})(e);ze[a]=Ze(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&ze.g?ze.g:null;return r&&(ze.g=ze[a]),((c,u,l,d)=>{d?u.data=u.data.replace(d,c):u.data.indexOf(c)===-1&&(u.data=l?c+u.data:u.data+c)})(ze[a],t,n,s),a},Ts=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Ze(s,""):s===!1?"":s}return n+o+(a??"")},"");function xr(e){let t=this||{},r=e.call?e(t.p):e;return xs(r.unshift?r.raw?Ts(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Es(t.target),t.g,t.o,t.k)}let ii,Zr,Qr;xr.bind({g:1});let Ve=xr.bind({k:1});function Ss(e,t,r,n){Ze.p=t,ii=e,Zr=r,Qr=n}function nt(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:Zr&&Zr()},s),r.o=/ *go\d+/.test(c),s.className=xr.apply(r,n)+(c?" "+c:"");let u=e;return e[0]&&(u=s.as||e,delete s.as),Qr&&u[0]&&Qr(s),ii(u,s)}return o}}var Cs=e=>typeof e=="function",hr=(e,t)=>Cs(e)?e(t):e,Rs=(()=>{let e=0;return()=>(++e).toString()})(),ai=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),_s=20,ir=new Map,Ps=1e3,ao=e=>{if(ir.has(e))return;let t=setTimeout(()=>{ir.delete(e),ft({type:4,toastId:e})},Ps);ir.set(e,t)},As=e=>{let t=ir.get(e);t&&clearTimeout(t)},en=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,_s)};case 1:return t.toast.id&&As(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?en(e,{type:1,toast:r}):en(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?ao(n):e.toasts.forEach(i=>{ao(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ar=[],sr={toasts:[],pausedAt:void 0},ft=e=>{sr=en(sr,e),ar.forEach(t=>{t(sr)})},Ms={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},js=(e={})=>{let[t,r]=m.useState(sr);m.useEffect(()=>(ar.push(r),()=>{let o=ar.indexOf(r);o>-1&&ar.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||Ms[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},ks=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Rs()}),Ht=e=>(t,r)=>{let n=ks(t,e,r);return ft({type:2,toast:n}),n.id},Pe=(e,t)=>Ht("blank")(e,t);Pe.error=Ht("error");Pe.success=Ht("success");Pe.loading=Ht("loading");Pe.custom=Ht("custom");Pe.dismiss=e=>{ft({type:3,toastId:e})};Pe.remove=e=>ft({type:4,toastId:e});Pe.promise=(e,t,r)=>{let n=Pe.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Pe.success(hr(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Pe.error(hr(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Ns=(e,t)=>{ft({type:1,toast:{id:e,height:t}})},Is=()=>{ft({type:5,time:Date.now()})},Ds=e=>{let{toasts:t,pausedAt:r}=js(e);m.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&Pe.dismiss(s.id);return}return setTimeout(()=>Pe.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=m.useCallback(()=>{r&&ft({type:6,time:Date.now()})},[r]),o=m.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:u}=a||{},l=t.filter(g=>(g.position||u)===(i.position||u)&&g.height),d=l.findIndex(g=>g.id===i.id),v=l.filter((g,h)=>h<d&&g.visible).length;return l.filter(g=>g.visible).slice(...s?[v+1]:[0,v]).reduce((g,h)=>g+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Ns,startPause:Is,endPause:n,calculateOffset:o}}},Ls=Ve`
|
|
35
35
|
from {
|
|
36
36
|
transform: scale(0) rotate(45deg);
|
|
37
37
|
opacity: 0;
|
|
@@ -153,9 +153,9 @@ to {
|
|
|
153
153
|
height: 10px;
|
|
154
154
|
width: 6px;
|
|
155
155
|
}
|
|
156
|
-
`,Ys=nt("div")`
|
|
157
|
-
position: absolute;
|
|
158
156
|
`,qs=nt("div")`
|
|
157
|
+
position: absolute;
|
|
158
|
+
`,Ys=nt("div")`
|
|
159
159
|
position: relative;
|
|
160
160
|
display: flex;
|
|
161
161
|
justify-content: center;
|
|
@@ -177,7 +177,7 @@ to {
|
|
|
177
177
|
min-width: 20px;
|
|
178
178
|
animation: ${Gs} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
179
179
|
forwards;
|
|
180
|
-
`,Js=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?
|
|
180
|
+
`,Js=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?q.createElement(Ks,null,t):t:r==="blank"?null:q.createElement(Ys,null,q.createElement(zs,{...n}),r!=="loading"&&q.createElement(qs,null,r==="error"?q.createElement(Us,{...n}):q.createElement(Ws,{...n})))},Xs=e=>`
|
|
181
181
|
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
182
182
|
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
183
183
|
`,Zs=e=>`
|
|
@@ -202,12 +202,12 @@ to {
|
|
|
202
202
|
color: inherit;
|
|
203
203
|
flex: 1 1 auto;
|
|
204
204
|
white-space: pre-line;
|
|
205
|
-
`,nc=(e,t)=>{let r=e.includes("top")?1:-1,[n,o]=ai()?[Qs,ec]:[Xs(r),Zs(r)];return{animation:t?`${Ve(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ve(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},oc=
|
|
205
|
+
`,nc=(e,t)=>{let r=e.includes("top")?1:-1,[n,o]=ai()?[Qs,ec]:[Xs(r),Zs(r)];return{animation:t?`${Ve(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ve(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},oc=q.memo(({toast:e,position:t,style:r,children:n})=>{let o=e.height?nc(e.position||t||"top-center",e.visible):{opacity:0},i=q.createElement(Js,{toast:e}),a=q.createElement(rc,{...e.ariaProps},hr(e.message,e));return q.createElement(tc,{className:e.className,style:{...o,...r,...e.style}},typeof n=="function"?n({icon:i,message:a}):q.createElement(q.Fragment,null,i,a))});Ss(q.createElement);var ic=({id:e,className:t,style:r,onHeightUpdate:n,children:o})=>{let i=q.useCallback(a=>{if(a){let s=()=>{let c=a.getBoundingClientRect().height;n(e,c)};s(),new MutationObserver(s).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return q.createElement("div",{ref:i,className:t,style:r},o)},ac=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},o=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:ai()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...o}},sc=xr`
|
|
206
206
|
z-index: 9999;
|
|
207
207
|
> * {
|
|
208
208
|
pointer-events: auto;
|
|
209
209
|
}
|
|
210
|
-
`,Qt=16,cc=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:c}=Ds(r);return
|
|
210
|
+
`,Qt=16,cc=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:c}=Ds(r);return q.createElement("div",{style:{position:"fixed",zIndex:9999,top:Qt,left:Qt,right:Qt,bottom:Qt,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(u=>{let l=u.position||t,d=c.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),v=ac(l,d);return q.createElement(ic,{id:u.id,key:u.id,onHeightUpdate:c.updateHeight,className:u.visible?sc:"",style:v},u.type==="custom"?hr(u.message,u):o?o(u):q.createElement(oc,{toast:u,position:l}))}))},gt=Pe;const uc=m.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tn.apply(this,arguments)}function si(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function so(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function lc(e){var t=fc(e,"string");return typeof t=="symbol"?t:String(t)}function fc(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function ci(e,t,r){var n=m.useRef(e!==void 0),o=m.useState(t),i=o[0],a=o[1],s=e!==void 0,c=n.current;return n.current=s,!s&&c&&i!==t&&a(t),[s?e:i,m.useCallback(function(u){for(var l=arguments.length,d=new Array(l>1?l-1:0),v=1;v<l;v++)d[v-1]=arguments[v];r&&r.apply(void 0,[u].concat(d)),a(u)},[r])]}function dc(e,t){return Object.keys(t).reduce(function(r,n){var o,i=r,a=i[so(n)],s=i[n],c=si(i,[so(n),n].map(lc)),u=t[n],l=ci(s,a,e[u]),d=l[0],v=l[1];return tn({},c,(o={},o[n]=d,o[u]=v,o))},e)}function rn(e,t){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},rn(e,t)}function pc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rn(e,t)}const hc=["xxl","xl","lg","md","sm","xs"],mc="xs",Tr=q.createContext({prefixes:{},breakpoints:hc,minBreakpoint:mc});function tt(e,t){const{prefixes:r}=m.useContext(Tr);return e||r[t]||t}function vc(){const{breakpoints:e}=m.useContext(Tr);return e}function gc(){const{minBreakpoint:e}=m.useContext(Tr);return e}function wn(){const{dir:e}=m.useContext(Tr);return e==="rtl"}function Vt(e){return e&&e.ownerDocument||document}function yc(e){var t=Vt(e);return t&&t.defaultView||window}function bc(e,t){return yc(e).getComputedStyle(e,t)}var Ec=/([A-Z])/g;function wc(e){return e.replace(Ec,"-$1").toLowerCase()}var Oc=/^ms-/;function er(e){return wc(e).replace(Oc,"-ms-")}var xc=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Tc(e){return!!(e&&xc.test(e))}function On(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(er(t))||bc(e).getPropertyValue(er(t));Object.keys(t).forEach(function(o){var i=t[o];!i&&i!==0?e.style.removeProperty(er(o)):Tc(o)?n+=o+"("+i+") ":r+=er(o)+": "+i+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var nn={exports:{}},tr={exports:{}},te={};/** @license React v16.13.1
|
|
211
211
|
* react-is.production.min.js
|
|
212
212
|
*
|
|
213
213
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -221,33 +221,33 @@ to {
|
|
|
221
221
|
*
|
|
222
222
|
* This source code is licensed under the MIT license found in the
|
|
223
223
|
* LICENSE file in the root directory of this source tree.
|
|
224
|
-
*/var uo;function Cc(){return uo||(uo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===u||b===i||b===o||b===d||b===v||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===y)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case u:case n:case i:case o:case d:return _e;default:var
|
|
224
|
+
*/var uo;function Cc(){return uo||(uo=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===u||b===i||b===o||b===d||b===v||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===y)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case u:case n:case i:case o:case d:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case l:case h:case g:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=u,k=s,J=a,Z=t,K=l,ie=n,le=h,V=g,X=r,Q=i,ae=o,ue=d,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===u}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===l}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===g}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===d}re.AsyncMode=p,re.ConcurrentMode=A,re.ContextConsumer=k,re.ContextProvider=J,re.Element=Z,re.ForwardRef=K,re.Fragment=ie,re.Lazy=le,re.Memo=V,re.Portal=X,re.Profiler=Q,re.StrictMode=ae,re.Suspense=ue,re.isAsyncMode=we,re.isConcurrentMode=O,re.isContextConsumer=_,re.isContextProvider=L,re.isElement=$,re.isForwardRef=j,re.isFragment=U,re.isLazy=N,re.isMemo=I,re.isPortal=D,re.isProfiler=H,re.isStrictMode=B,re.isSuspense=fe,re.isValidElementType=R,re.typeOf=C}()),re}var lo;function ui(){return lo||(lo=1,process.env.NODE_ENV==="production"?tr.exports=Sc():tr.exports=Cc()),tr.exports}/*
|
|
225
225
|
object-assign
|
|
226
226
|
(c) Sindre Sorhus
|
|
227
227
|
@license MIT
|
|
228
|
-
*/var $r,fo;function Rc(){if(fo)return $r;fo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(l){u[l]=l}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $r=o()?Object.assign:function(i,a){for(var s,c=n(i),u,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var d in s)t.call(s,d)&&(c[d]=s[d]);if(e){u=e(s);for(var v=0;v<u.length;v++)r.call(s,u[v])&&(c[u[v]]=s[u[v]])}}return c},$r}var Fr,po;function xn(){if(po)return Fr;po=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Fr=e,Fr}var Ur,ho;function li(){return ho||(ho=1,Ur=Function.call.bind(Object.prototype.hasOwnProperty)),Ur}var Br,mo;function _c(){if(mo)return Br;mo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xn(),r={},n=li();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,u){if(process.env.NODE_ENV!=="production"){for(var l in i)if(n(i,l)){var d;try{if(typeof i[l]!="function"){var v=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}d=i[l](a,l,c,s,null,t)}catch(h){d=h}if(d&&!(d instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var g=u?u():"";e("Failed "+s+" type: "+d.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Br=o,Br}var zr,vo;function Pc(){if(vo)return zr;vo=1;var e=ui(),t=Rc(),r=xn(),n=li(),o=_c(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return zr=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function d(O){var _=O&&(u&&O[u]||O[l]);if(typeof _=="function")return _}var v="<<anonymous>>",g={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:T(),arrayOf:R,element:C(),elementType:p(),instanceOf:A,node:K(),objectOf:J,oneOf:k,oneOfType:Z,shape:le,exact:V};function h(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function y(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}y.prototype=Error.prototype;function E(O){if(process.env.NODE_ENV!=="production")var _={},L=0;function $(U,N,I,D,H,B,fe){if(D=D||v,B=B||I,fe!==r){if(c){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=D+":"+I;!_[ge]&&L<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+D+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[ge]=!0,L++)}}return N[I]==null?U?N[I]===null?new y("The "+H+" `"+B+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new y("The "+H+" `"+B+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:O(N,I,D,H,B)}var
|
|
229
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=fe(I,B,M,U,N+"."+B,r);if(b)return b}return null}return E(_)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var _=d(O);if(_){var L=_.call(O),$;if(_!==O.entries){for(;!($=L.next()).done;)if(!X($.value))return!1}else for(;!($=L.next()).done;){var M=$.value;if(M&&!X(M[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(_,O)?"symbol":_}function ue(O){if(typeof O>"u"||O===null)return""+O;var _=ae(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function xe(O){var _=ue(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function we(O){return!O.constructor||!O.constructor.name?v:O.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},zr}var Hr,go;function Ac(){if(go)return Hr;go=1;var e=xn();function t(){}function r(){}return r.resetWarningCache=t,Hr=function(){function n(a,s,c,u,l,d){if(d!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Hr}if(process.env.NODE_ENV!=="production"){var jc=ui(),Mc=!0;nn.exports=Pc()(jc.isElement,Mc)}else nn.exports=Ac()();var kc=nn.exports;const z=Or(kc),yo={disabled:!1};var Nc=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const fi=m.createContext(null);var Ic=function(t){return t.scrollTop},Dt="unmounted",Xe="exited",He="entering",Qe="entered",mr="exiting",Ye=function(e){pc(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Xe,i.appearStatus=He):c=Qe:n.unmountOnExit||n.mountOnEnter?c=Dt:c=Xe,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Dt?{status:Xe}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==He&&a!==Qe&&(i=He):(a===He||a===Qe)&&(i=mr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===He){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this);a&&Ic(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xe&&this.setState({status:Dt})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],u=c[0],l=c[1],d=this.getTimeouts(),v=s?d.appear:d.enter;if(!o&&!a||yo.disabled){this.safeSetState({status:Qe},function(){i.props.onEntered(u)});return}this.props.onEnter(u,l),this.safeSetState({status:He},function(){i.props.onEntering(u,l),i.onTransitionEnd(v,function(){i.safeSetState({status:Qe},function(){i.props.onEntered(u,l)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||yo.disabled){this.safeSetState({status:Xe},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:mr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Xe},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=c[0],l=c[1];this.props.addEndListener(u,l)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Dt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=si(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(fi.Provider,{value:null},typeof a=="function"?a(o,s):m.cloneElement(m.Children.only(a),s))},t}(m.Component);Ye.contextType=fi;Ye.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=Nc;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function yt(){}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yt,onEntering:yt,onEntered:yt,onExit:yt,onExiting:yt,onExited:yt};Ye.UNMOUNTED=Dt;Ye.EXITED=Xe;Ye.ENTERING=He;Ye.ENTERED=Qe;Ye.EXITING=mr;const Sr=!!(typeof window<"u"&&window.document&&window.document.createElement);var on=!1,an=!1;try{var Vr={get passive(){return on=!0},get once(){return an=on=!0}};Sr&&(window.addEventListener("test",Vr,Vr),window.removeEventListener("test",Vr,!0))}catch{}function di(e,t,r,n){if(n&&typeof n!="boolean"&&!an){var o=n.once,i=n.capture,a=r;!an&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,on?n:i)}e.addEventListener(t,r,n)}function pi(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function et(e,t,r,n){return di(e,t,r,n),function(){pi(e,t,r,n)}}function Dc(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function Lc(e){var t=On(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function $c(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||Dc(e,"transitionend",!0)},t+r),i=et(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function hi(e,t,r,n){r==null&&(r=Lc(e)||0);var o=$c(e,r,n),i=et(e,"transitionend",t);return function(){o(),i()}}function bo(e,t){const r=On(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function mi(e,t){const r=bo(e,"transitionDuration"),n=bo(e,"transitionDelay"),o=hi(e,i=>{i.target===e&&(o(),t(i))},r+n)}function vi(e){e.offsetHeight}const Eo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Fc(e,t){const r=Eo(e),n=Eo(t);return o=>{r&&r(o),n&&n(o)}}function ot(e,t){return m.useMemo(()=>Fc(e,t),[e,t])}function vr(e){return e&&"setState"in e?bt.findDOMNode(e):e??null}const gi=m.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...u},l)=>{const d=m.useRef(null),v=ot(d,c),g=A=>{v(vr(A))},h=A=>k=>{A&&d.current&&A(d.current,k)},y=m.useCallback(h(e),[e]),E=m.useCallback(h(t),[t]),S=m.useCallback(h(r),[r]),T=m.useCallback(h(n),[n]),R=m.useCallback(h(o),[o]),C=m.useCallback(h(i),[i]),p=m.useCallback(h(a),[a]);return j.jsx(Ye,{ref:l,...u,onEnter:y,onEntered:S,onEntering:E,onExit:T,onExited:C,onExiting:R,addEndListener:p,nodeRef:d,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:g}):m.cloneElement(s,{ref:g})})});function Uc(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e},[e]),t}function ut(e){const t=Uc(e);return m.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function sn(){return m.useState(null)}function Tn(){const e=m.useRef(!0),t=m.useRef(()=>e.current);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Bc=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",zc=typeof document<"u",gr=zc||Bc?m.useLayoutEffect:m.useEffect,Hc={[He]:"show",[Qe]:"show"},yr=Y.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=m.useCallback((c,u)=>{vi(c),n==null||n(c,u)},[n]);return j.jsx(gi,{ref:i,addEndListener:mi,...a,onEnter:s,childRef:t.ref,children:(c,u)=>Y.cloneElement(t,{...u,className:ce("fade",e,t.props.className,Hc[c],r[c])})})});yr.displayName="Fade";function Vc(e){const t=m.useRef(e);return t.current=e,t}function yi(e){const t=Vc(e);m.useEffect(()=>()=>t.current(),[])}const cn=2**31-1;function bi(e,t,r){const n=r-Date.now();e.current=n<=cn?setTimeout(t,n):setTimeout(()=>bi(e,t,r),cn)}function Wc(){const e=Tn(),t=m.useRef();return yi(()=>clearTimeout(t.current)),m.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=cn?t.current=setTimeout(o,i):bi(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var wo=Object.prototype.hasOwnProperty;function Oo(e,t,r){for(r of e.keys())if(Lt(r,t))return r}function Lt(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Lt(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Oo(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Oo(t,o),!o)||!Lt(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(wo.call(e,r)&&++n&&!wo.call(t,r)||!(r in t)||!Lt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function Yc(e){const t=Tn();return[e[0],m.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Ce="top",Ie="bottom",De="right",Re="left",Sn="auto",Wt=[Ce,Ie,De,Re],Et="start",Ut="end",qc="clippingParents",Ei="viewport",Mt="popper",Gc="reference",xo=Wt.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+Ut])},[]),wi=[].concat(Wt,[Sn]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+Ut])},[]),Kc="beforeRead",Jc="read",Xc="afterRead",Zc="beforeMain",Qc="main",eu="afterMain",tu="beforeWrite",ru="write",nu="afterWrite",ou=[Kc,Jc,Xc,Zc,Qc,eu,tu,ru,nu];function $e(e){return e.split("-")[0]}function Ae(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function lt(e){var t=Ae(e).Element;return e instanceof t||e instanceof Element}function Fe(e){var t=Ae(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Cn(e){if(typeof ShadowRoot>"u")return!1;var t=Ae(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var st=Math.max,br=Math.min,wt=Math.round;function un(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Oi(){return!/^((?!chrome|android).)*safari/i.test(un())}function Ot(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Fe(e)&&(o=e.offsetWidth>0&&wt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&wt(n.height)/e.offsetHeight||1);var a=lt(e)?Ae(e):window,s=a.visualViewport,c=!Oi()&&r,u=(n.left+(c&&s?s.offsetLeft:0))/o,l=(n.top+(c&&s?s.offsetTop:0))/i,d=n.width/o,v=n.height/i;return{width:d,height:v,top:l,right:u+d,bottom:l+v,left:u,x:u,y:l}}function Rn(e){var t=Ot(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function xi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Cn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rt(e){return e?(e.nodeName||"").toLowerCase():null}function We(e){return Ae(e).getComputedStyle(e)}function iu(e){return["table","td","th"].indexOf(rt(e))>=0}function it(e){return((lt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cr(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(Cn(e)?e.host:null)||it(e)}function To(e){return!Fe(e)||We(e).position==="fixed"?null:e.offsetParent}function au(e){var t=/firefox/i.test(un()),r=/Trident/i.test(un());if(r&&Fe(e)){var n=We(e);if(n.position==="fixed")return null}var o=Cr(e);for(Cn(o)&&(o=o.host);Fe(o)&&["html","body"].indexOf(rt(o))<0;){var i=We(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Yt(e){for(var t=Ae(e),r=To(e);r&&iu(r)&&We(r).position==="static";)r=To(r);return r&&(rt(r)==="html"||rt(r)==="body"&&We(r).position==="static")?t:r||au(e)||t}function _n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $t(e,t,r){return st(e,br(t,r))}function su(e,t,r){var n=$t(e,t,r);return n>r?r:n}function Ti(){return{top:0,right:0,bottom:0,left:0}}function Si(e){return Object.assign({},Ti(),e)}function Ci(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var cu=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Si(typeof t!="number"?t:Ci(t,Wt))};function uu(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=$e(r.placement),c=_n(s),u=[Re,De].indexOf(s)>=0,l=u?"height":"width";if(!(!i||!a)){var d=cu(o.padding,r),v=Rn(i),g=c==="y"?Ce:Re,h=c==="y"?Ie:De,y=r.rects.reference[l]+r.rects.reference[c]-a[c]-r.rects.popper[l],E=a[c]-r.rects.reference[c],S=Yt(i),T=S?c==="y"?S.clientHeight||0:S.clientWidth||0:0,R=y/2-E/2,C=d[g],p=T-v[l]-d[h],A=T/2-v[l]/2+R,k=$t(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function lu(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||xi(t.elements.popper,o)&&(t.elements.arrow=o))}const fu={name:"arrow",enabled:!0,phase:"main",fn:uu,effect:lu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(e){return e.split("-")[1]}var du={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pu(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:wt(r*o)/o||0,y:wt(n*o)/o||0}}function So(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,d=e.isFixed,v=a.x,g=v===void 0?0:v,h=a.y,y=h===void 0?0:h,E=typeof l=="function"?l({x:g,y}):{x:g,y};g=E.x,y=E.y;var S=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),R=Re,C=Ce,p=window;if(u){var A=Yt(r),k="clientHeight",J="clientWidth";if(A===Ae(r)&&(A=it(r),We(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Ce||(o===Re||o===De)&&i===Ut){C=Ie;var Z=d&&A===p&&p.visualViewport?p.visualViewport.height:A[k];y-=Z-n.height,y*=c?1:-1}if(o===Re||(o===Ce||o===Ie)&&i===Ut){R=De;var K=d&&A===p&&p.visualViewport?p.visualViewport.width:A[J];g-=K-n.width,g*=c?1:-1}}var ie=Object.assign({position:s},u&&du),le=l===!0?pu({x:g,y},Ae(r)):{x:g,y};if(g=le.x,y=le.y,c){var V;return Object.assign({},ie,(V={},V[C]=T?"0":"",V[R]=S?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=T?y+"px":"",t[R]=S?g+"px":"",t.transform="",t))}function hu(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,u={placement:$e(t.placement),variation:xt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,So(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,So(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const mu={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:hu,data:{}};var rr={passive:!0};function vu(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Ae(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(l){l.addEventListener("scroll",r.update,rr)}),s&&c.addEventListener("resize",r.update,rr),function(){i&&u.forEach(function(l){l.removeEventListener("scroll",r.update,rr)}),s&&c.removeEventListener("resize",r.update,rr)}}const gu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vu,data:{}};var yu={left:"right",right:"left",bottom:"top",top:"bottom"};function cr(e){return e.replace(/left|right|bottom|top/g,function(t){return yu[t]})}var bu={start:"end",end:"start"};function Co(e){return e.replace(/start|end/g,function(t){return bu[t]})}function Pn(e){var t=Ae(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function An(e){return Ot(it(e)).left+Pn(e).scrollLeft}function Eu(e,t){var r=Ae(e),n=it(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=Oi();(u||!u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+An(e),y:c}}function wu(e){var t,r=it(e),n=Pn(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=st(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=st(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+An(e),c=-n.scrollTop;return We(o||r).direction==="rtl"&&(s+=st(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function jn(e){var t=We(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Ri(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Fe(e)&&jn(e)?e:Ri(Cr(e))}function Ft(e,t){var r;t===void 0&&(t=[]);var n=Ri(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ae(n),a=o?[i].concat(i.visualViewport||[],jn(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ft(Cr(a)))}function ln(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ou(e,t){var r=Ot(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ro(e,t,r){return t===Ei?ln(Eu(e,r)):lt(t)?Ou(t,r):ln(wu(it(e)))}function xu(e){var t=Ft(Cr(e)),r=["absolute","fixed"].indexOf(We(e).position)>=0,n=r&&Fe(e)?Yt(e):e;return lt(n)?t.filter(function(o){return lt(o)&&xi(o,n)&&rt(o)!=="body"}):[]}function Tu(e,t,r,n){var o=t==="clippingParents"?xu(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,u){var l=Ro(e,u,n);return c.top=st(l.top,c.top),c.right=br(l.right,c.right),c.bottom=br(l.bottom,c.bottom),c.left=st(l.left,c.left),c},Ro(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function _i(e){var t=e.reference,r=e.element,n=e.placement,o=n?$e(n):null,i=n?xt(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Ce:c={x:a,y:t.y-r.height};break;case Ie:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case Re:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var u=o?_n(o):null;if(u!=null){var l=u==="y"?"height":"width";switch(i){case Et:c[u]=c[u]-(t[l]/2-r[l]/2);break;case Ut:c[u]=c[u]+(t[l]/2-r[l]/2);break}}return c}function Bt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?qc:s,u=r.rootBoundary,l=u===void 0?Ei:u,d=r.elementContext,v=d===void 0?Mt:d,g=r.altBoundary,h=g===void 0?!1:g,y=r.padding,E=y===void 0?0:y,S=Si(typeof E!="number"?E:Ci(E,Wt)),T=v===Mt?Gc:Mt,R=e.rects.popper,C=e.elements[h?T:v],p=Tu(lt(C)?C:C.contextElement||it(e.elements.popper),c,l,a),A=Ot(e.elements.reference),k=_i({reference:A,element:R,strategy:"absolute",placement:o}),J=ln(Object.assign({},R,k)),Z=v===Mt?J:A,K={top:p.top-Z.top+S.top,bottom:Z.bottom-p.bottom+S.bottom,left:p.left-Z.left+S.left,right:Z.right-p.right+S.right},ie=e.modifiersData.offset;if(v===Mt&&ie){var le=ie[o];Object.keys(K).forEach(function(V){var X=[De,Ie].indexOf(V)>=0?1:-1,Q=[Ce,Ie].indexOf(V)>=0?"y":"x";K[V]+=le[Q]*X})}return K}function Su(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?wi:c,l=xt(n),d=l?s?xo:xo.filter(function(h){return xt(h)===l}):Wt,v=d.filter(function(h){return u.indexOf(h)>=0});v.length===0&&(v=d);var g=v.reduce(function(h,y){return h[y]=Bt(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[$e(y)],h},{});return Object.keys(g).sort(function(h,y){return g[h]-g[y]})}function Cu(e){if($e(e)===Sn)return[];var t=cr(e);return[Co(e),t,Co(t)]}function Ru(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,u=r.padding,l=r.boundary,d=r.rootBoundary,v=r.altBoundary,g=r.flipVariations,h=g===void 0?!0:g,y=r.allowedAutoPlacements,E=t.options.placement,S=$e(E),T=S===E,R=c||(T||!h?[cr(E)]:Cu(E)),C=[E].concat(R).reduce(function(M,U){return M.concat($e(U)===Sn?Su(t,{placement:U,boundary:l,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:y}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],le=$e(ie),V=xt(ie)===Et,X=[Ce,Ie].indexOf(le)>=0,Q=X?"width":"height",ae=Bt(t,{placement:ie,boundary:l,rootBoundary:d,altBoundary:v,padding:u}),ue=X?V?De:Re:V?Ie:Ce;p[Q]>A[Q]&&(ue=cr(ue));var xe=cr(ue),we=[];if(i&&we.push(ae[le]<=0),s&&we.push(ae[ue]<=0,ae[xe]<=0),we.every(function(M){return M})){Z=ie,J=!1;break}k.set(ie,we)}if(J)for(var O=h?3:1,_=function(U){var N=C.find(function(I){var D=k.get(I);if(D)return D.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},L=O;L>0;L--){var $=_(L);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const _u={name:"flip",enabled:!0,phase:"main",fn:Ru,requiresIfExists:["offset"],data:{_skip:!1}};function _o(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Po(e){return[Ce,De,Ie,Re].some(function(t){return e[t]>=0})}function Pu(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bt(t,{elementContext:"reference"}),s=Bt(t,{altBoundary:!0}),c=_o(a,n),u=_o(s,o,i),l=Po(c),d=Po(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}const Au={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Pu};function ju(e,t,r){var n=$e(e),o=[Re,Ce].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Re,De].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Mu(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=wi.reduce(function(l,d){return l[d]=ju(d,t.rects,i),l},{}),s=a[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}const ku={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Mu};function Nu(e){var t=e.state,r=e.name;t.modifiersData[r]=_i({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Iu={name:"popperOffsets",enabled:!0,phase:"read",fn:Nu,data:{}};function Du(e){return e==="x"?"y":"x"}function Lu(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,u=r.rootBoundary,l=r.altBoundary,d=r.padding,v=r.tether,g=v===void 0?!0:v,h=r.tetherOffset,y=h===void 0?0:h,E=Bt(t,{boundary:c,rootBoundary:u,padding:d,altBoundary:l}),S=$e(t.placement),T=xt(t.placement),R=!T,C=_n(S),p=Du(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(A){if(i){var V,X=C==="y"?Ce:Re,Q=C==="y"?Ie:De,ae=C==="y"?"height":"width",ue=A[C],xe=ue+E[X],we=ue-E[Q],O=g?-J[ae]/2:0,_=T===Et?k[ae]:J[ae],L=T===Et?-J[ae]:-k[ae],$=t.elements.arrow,M=g&&$?Rn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ti(),N=U[X],I=U[Q],D=$t(0,k[ae],M[ae]),H=R?k[ae]/2-O-D-N-K.mainAxis:_-D-N-K.mainAxis,B=R?-k[ae]/2+O+D+I+K.mainAxis:L+D+I+K.mainAxis,fe=t.elements.arrow&&Yt(t.elements.arrow),b=fe?C==="y"?fe.clientTop||0:fe.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,_e=ue+H-ge-b,je=ue+B-ge,qe=$t(g?br(xe,_e):xe,ue,g?st(we,je):we);A[C]=qe,le[C]=qe-ue}if(s){var Ct,Jt=C==="x"?Ce:Re,dt=C==="x"?Ie:De,Be=A[p],pt=p==="y"?"height":"width",ht=Be+E[Jt],Xt=Be-E[dt],Rt=[Ce,Re].indexOf(S)!==-1,_t=(Ct=ie==null?void 0:ie[p])!=null?Ct:0,Pt=Rt?ht:Be-k[pt]-J[pt]-_t+K.altAxis,Ge=Rt?Be+k[pt]+J[pt]-_t-K.altAxis:Xt,Zt=g&&Rt?su(Pt,Be,Ge):$t(g?Pt:ht,Be,g?Ge:Xt);A[p]=Zt,le[p]=Zt-Be}t.modifiersData[n]=le}}const $u={name:"preventOverflow",enabled:!0,phase:"main",fn:Lu,requiresIfExists:["offset"]};function Fu(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uu(e){return e===Ae(e)||!Fe(e)?Pn(e):Fu(e)}function Bu(e){var t=e.getBoundingClientRect(),r=wt(t.width)/e.offsetWidth||1,n=wt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function zu(e,t,r){r===void 0&&(r=!1);var n=Fe(t),o=Fe(t)&&Bu(t),i=it(t),a=Ot(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||jn(i))&&(s=Uu(t)),Fe(t)?(c=Ot(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=An(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Hu(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function Vu(e){var t=Hu(e);return ou.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Wu(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Yu(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ao={placement:"bottom",modifiers:[],strategy:"absolute"};function jo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function qu(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Ao:o;return function(s,c,u){u===void 0&&(u=i);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ao,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},d=[],v=!1,g={state:l,setOptions:function(S){var T=typeof S=="function"?S(l.options):S;y(),l.options=Object.assign({},i,l.options,T),l.scrollParents={reference:lt(s)?Ft(s):s.contextElement?Ft(s.contextElement):[],popper:Ft(c)};var R=Vu(Yu([].concat(n,l.options.modifiers)));return l.orderedModifiers=R.filter(function(C){return C.enabled}),h(),g.update()},forceUpdate:function(){if(!v){var S=l.elements,T=S.reference,R=S.popper;if(jo(T,R)){l.rects={reference:zu(T,Yt(R),l.options.strategy==="fixed"),popper:Rn(R)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(K){return l.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<l.orderedModifiers.length;C++){if(l.reset===!0){l.reset=!1,C=-1;continue}var p=l.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(l=A({state:l,options:J,name:Z,instance:g})||l)}}}},update:Wu(function(){return new Promise(function(E){g.forceUpdate(),E(l)})}),destroy:function(){y(),v=!0}};if(!jo(s,c))return g;g.setOptions(u).then(function(E){!v&&u.onFirstUpdate&&u.onFirstUpdate(E)});function h(){l.orderedModifiers.forEach(function(E){var S=E.name,T=E.options,R=T===void 0?{}:T,C=E.effect;if(typeof C=="function"){var p=C({state:l,name:S,instance:g,options:R}),A=function(){};d.push(p||A)}})}function y(){d.forEach(function(E){return E()}),d=[]}return g}}const Gu=qu({defaultModifiers:[Au,Iu,mu,gu,ku,_u,$u,fu]}),Ku=["enabled","placement","strategy","modifiers"];function Ju(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Xu={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Zu={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},Qu=[];function Pi(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Qu}=r,s=Ju(r,Ku);const c=m.useRef(a),u=m.useRef(),l=m.useCallback(()=>{var E;(E=u.current)==null||E.update()},[]),d=m.useCallback(()=>{var E;(E=u.current)==null||E.forceUpdate()},[]),[v,g]=Yc(m.useState({placement:o,update:l,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),h=m.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const S={},T={};Object.keys(E.elements).forEach(R=>{S[R]=E.styles[R],T[R]=E.attributes[R]}),g({state:E,styles:S,attributes:T,update:l,forceUpdate:d,placement:E.placement})}}),[l,d,g]),y=m.useMemo(()=>(Lt(c.current,a)||(c.current=a),c.current),[a]);return m.useEffect(()=>{!u.current||!n||u.current.setOptions({placement:o,strategy:i,modifiers:[...y,h,Xu]})},[i,o,h,n,y]),m.useEffect(()=>{if(!(!n||e==null||t==null))return u.current=Gu(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...y,Zu,h]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,g(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),v}function Er(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var el=process.env.NODE_ENV!=="production",Ai=function(){};if(el){var tl=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};Ai=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||tl.apply(null,[t].concat(r))}}var rl=Ai;const Mn=Or(rl),Mo=()=>{};function nl(e){return e.button===0}function ol(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ur=e=>e&&("current"in e?e.current:e),ko={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function ji(e,t=Mo,{disabled:r,clickTrigger:n="click"}={}){const o=m.useRef(!1),i=m.useRef(!1),a=m.useCallback(u=>{const l=ur(e);Mn(!!l,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!l||ol(u)||!nl(u)||!!Er(l,u.target)||i.current,i.current=!1},[e]),s=ut(u=>{const l=ur(e);l&&Er(l,u.target)&&(i.current=!0)}),c=ut(u=>{o.current||t(u)});m.useEffect(()=>{var u,l;if(r||e==null)return;const d=Vt(ur(e)),v=d.defaultView||window;let g=(u=v.event)!=null?u:(l=v.parent)==null?void 0:l.event,h=null;ko[n]&&(h=et(d,ko[n],s,!0));const y=et(d,n,a,!0),E=et(d,n,T=>{if(T===g){g=void 0;return}c(T)});let S=[];return"ontouchstart"in d.documentElement&&(S=[].slice.call(d.body.children).map(T=>et(T,"mousemove",Mo))),()=>{h==null||h(),y(),E(),S.forEach(T=>T())}},[e,r,n,a,s,c])}function il(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function al(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Mi({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var u,l,d,v,g;const h=il(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:al(Object.assign({},h,{eventListeners:{enabled:t,options:(u=h.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(l=h.preventOverflow)==null?void 0:l.options):(d=h.preventOverflow)==null?void 0:d.options}),offset:{options:Object.assign({offset:o},(v=h.offset)==null?void 0:v.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(g=h.arrow)==null?void 0:g.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const ki=m.createContext(Sr?window:void 0);ki.Provider;function Ni(){return m.useContext(ki)}const Ii=Y.createContext({}),kn=Y.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=m.useMemo(()=>({controlId:e}),[e]);return j.jsx(Ii.Provider,{value:o,children:j.jsx(t,{...r,ref:n})})});kn.displayName="FormGroup";const Nn=Y.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=tt(e,"form-floating"),j.jsxs(kn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,j.jsx("label",{htmlFor:n,children:o})]})));Nn.displayName="FloatingLabel";const Wr=(e,t)=>Sr?e==null?(t||Vt()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function fn(e,t){const r=Ni(),[n,o]=m.useState(()=>Wr(e,r==null?void 0:r.document));if(!n){const i=Wr(e);i&&o(i)}return m.useEffect(()=>{},[t,n]),m.useEffect(()=>{const i=Wr(e);i!==n&&o(i)},[e,n]),n}function sl({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=m.useRef(null),a=m.useRef(t),s=ut(r);m.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=ot(i,e.ref),u=m.cloneElement(e,{ref:c});return t?u:o||!a.current&&n?null:u}function Di(e){return e.code==="Escape"||e.keyCode===27}function cl(){const e=Y.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const ul=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function ll(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function fl(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,u=ll(e,ul);const{major:l}=cl(),d=l>=19?c.props.ref:c.ref,v=m.useRef(null),g=ot(v,typeof c=="function"?null:d),h=A=>k=>{A&&v.current&&A(v.current,k)},y=m.useCallback(h(t),[t]),E=m.useCallback(h(r),[r]),S=m.useCallback(h(n),[n]),T=m.useCallback(h(o),[o]),R=m.useCallback(h(i),[i]),C=m.useCallback(h(a),[a]),p=m.useCallback(h(s),[s]);return Object.assign({},u,{nodeRef:v},t&&{onEnter:y},r&&{onEntering:E},n&&{onEntered:S},o&&{onExit:T},i&&{onExiting:R},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:g})):m.cloneElement(c,{ref:g})})}const dl=["component"];function pl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const hl=Y.forwardRef((e,t)=>{let{component:r}=e,n=pl(e,dl);const o=fl(n);return j.jsx(r,Object.assign({ref:t},o))});function ml({in:e,onTransition:t}){const r=m.useRef(null),n=m.useRef(!0),o=ut(t);return gr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),gr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function vl({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=m.useState(!t);t&&i&&a(!1);const s=ml({in:!!t,onTransition:u=>{const l=()=>{u.isStale()||(u.in?n==null||n(u.element,u.initial):(a(!0),r==null||r(u.element)))};Promise.resolve(o(u)).then(l,d=>{throw u.in||a(!0),d})}}),c=ot(s,e.ref);return i&&!t?null:m.cloneElement(e,{ref:c})}function Li(e,t,r){return e?j.jsx(hl,Object.assign({},r,{component:e})):t?j.jsx(vl,Object.assign({},r,{transition:t})):j.jsx(sl,Object.assign({},r))}function dn(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const gl=()=>{};function yl(e,t,{disabled:r,clickTrigger:n}={}){const o=t||gl;ji(e,o,{disabled:r,clickTrigger:n});const i=ut(a=>{Di(a)&&o(a)});m.useEffect(()=>{if(r||e==null)return;const a=Vt(ur(e));let s=(a.defaultView||window).event;const c=et(a,"keyup",u=>{if(u===s){s=void 0;return}i(u)});return()=>{c()}},[e,r,i])}const $i=Y.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[u,l]=sn(),[d,v]=sn(),g=ot(l,t),h=fn(e.container),y=fn(e.target),[E,S]=m.useState(!e.show),T=Pi(y,u,Mi({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:d,popperConfig:a}));e.show&&E&&S(!1);const R=(...ie)=>{S(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(yl(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:g}),{popper:T,placement:o,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:v})});return K=Li(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:R,onEnter:k,onEntering:J,onEntered:Z}),h?bt.createPortal(K,h):null});$i.displayName="Overlay";const Fi=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-header"),j.jsx(r,{ref:o,className:ce(e,t),...n})));Fi.displayName="PopoverHeader";const In=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-body"),j.jsx(r,{ref:o,className:ce(e,t),...n})));In.displayName="PopoverBody";function Ui(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Bi(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const bl=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:u,...l},d)=>{const v=tt(e,"popover"),g=wn(),[h]=(t==null?void 0:t.split("-"))||[],y=Ui(h,g);let E=n;return u&&!s&&(E={...n,...Bi(c==null?void 0:c.strategy)}),j.jsxs("div",{ref:d,role:"tooltip",style:E,"x-placement":h,className:ce(r,v,h&&`bs-popover-${y}`),...l,children:[j.jsx("div",{className:"popover-arrow",...a}),i?j.jsx(In,{children:o}):o]})}),zi=Object.assign(bl,{Header:Fi,Body:In,POPPER_OFFSET:[0,8]}),Hi=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...u},l)=>{e=tt(e,"tooltip");const d=wn(),[v]=(t==null?void 0:t.split("-"))||[],g=Ui(v,d);let h=n;return c&&!a&&(h={...n,...Bi(s==null?void 0:s.strategy)}),j.jsxs("div",{ref:l,style:h,role:"tooltip","x-placement":v,className:ce(r,e,`bs-tooltip-${g}`),...u,children:[j.jsx("div",{className:"tooltip-arrow",...i}),j.jsx("div",{className:`${e}-inner`,children:o})]})});Hi.displayName="Tooltip";const Dn=Object.assign(Hi,{TOOLTIP_OFFSET:[0,6]});function El(e){const t=m.useRef(null),r=tt(void 0,"popover"),n=tt(void 0,"tooltip"),o=m.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(dn(t.current,r))return zi.POPPER_OFFSET;if(dn(t.current,n))return Dn.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function wl(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(vr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(vr(o)))}const Vi=Y.forwardRef(({children:e,transition:t=yr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=m.useRef({}),[u,l]=m.useState(null),[d,v]=El(a.offset),g=ot(s,d),h=t===!0?yr:t||void 0,y=ut(E=>{l(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return gr(()=>{u&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[u,a.target]),m.useEffect(()=>{i||l(null)},[i]),j.jsx($i,{...a,ref:g,popperConfig:{...r,modifiers:v.concat(r.modifiers||[]),onFirstUpdate:y},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:S,popper:T,show:R})=>{var C,p;wl(E,S);const A=T==null?void 0:T.placement,k=Object.assign(c.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:A,outOfBoundaries:(T==null||(C=T.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!u;return typeof e=="function"?e({...E,placement:A,show:R,...!t&&R&&{className:"show"},popper:k,arrowProps:S,hasDoneInitialMeasure:J}):Y.cloneElement(e,{...E,placement:A,arrowProps:S,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&R&&"show"),style:{...e.props.style,...E.style}})}})});Vi.displayName="Overlay";function Ol(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function No(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!Er(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Wi=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:u=c&&c.indexOf("auto")!==-1,...l})=>{const d=m.useRef(null),v=ot(d,r.ref),g=Wc(),h=m.useRef(""),[y,E]=ci(o,i,a),S=Ol(s),{onFocus:T,onBlur:R,onClick:C}=typeof r!="function"?Y.Children.only(r).props:{},p=Q=>{v(vr(Q))},A=m.useCallback(()=>{if(g.clear(),h.current="show",!S.show){E(!0);return}g.set(()=>{h.current==="show"&&E(!0)},S.show)},[S.show,E,g]),k=m.useCallback(()=>{if(g.clear(),h.current="hide",!S.hide){E(!1);return}g.set(()=>{h.current==="hide"&&E(!1)},S.hide)},[S.hide,E,g]),J=m.useCallback((...Q)=>{A(),T==null||T(...Q)},[A,T]),Z=m.useCallback((...Q)=>{k(),R==null||R(...Q)},[k,R]),K=m.useCallback((...Q)=>{E(!y),C==null||C(...Q)},[C,E,y]),ie=m.useCallback((...Q)=>{No(A,Q,"fromElement")},[A]),le=m.useCallback((...Q)=>{No(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&Mn(V.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),X.onMouseOver=ie,X.onMouseOut=le),j.jsxs(j.Fragment,{children:[typeof r=="function"?r(X):m.cloneElement(r,X),j.jsx(Vi,{...l,show:y,onHide:k,flip:u,placement:c,popperConfig:n,target:d.current,children:t})]})},xl=m.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Tl=m.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}}),Sl=m.createContext({user:null,loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});/*! @azure/msal-common v14.10.0 2024-05-07 */const he={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},Yi=[he.OPENID_SCOPE,he.PROFILE_SCOPE,he.OFFLINE_ACCESS_SCOPE];[...Yi,he.EMAIL_SCOPE];const Cl={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},Rl={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."};/*! @azure/msal-common v14.10.0 2024-05-07 */class Rr extends Error{constructor(t,r,n){const o=r?`${t}: ${r}`:t;super(o),Object.setPrototypeOf(this,Rr.prototype),this.errorCode=t||he.EMPTY_STRING,this.errorMessage=r||he.EMPTY_STRING,this.subError=n||he.EMPTY_STRING,this.name="AuthError"}setCorrelationId(t){this.correlationId=t}}/*! @azure/msal-common v14.10.0 2024-05-07 */var Oe;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(Oe||(Oe={}));class wr{constructor(t,r,n){this.level=Oe.Info;const o=()=>{},i=t||wr.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||o,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:Oe.Info,this.correlationId=i.correlationId||he.EMPTY_STRING,this.packageName=r||he.EMPTY_STRING,this.packageVersion=n||he.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Oe.Info}}clone(t,r,n){return new wr({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:n||this.correlationId},t,r)}logMessage(t,r){if(r.logLevel>this.level||!this.piiLoggingEnabled&&r.containsPii)return;const i=`${`[${new Date().toUTCString()}] : [${r.correlationId||this.correlationId||""}]`} : ${this.packageName}@${this.packageVersion} : ${Oe[r.logLevel]} - ${t}`;this.executeCallback(r.logLevel,i,r.containsPii||!1)}executeCallback(t,r,n){this.localCallback&&this.localCallback(t,r,n)}error(t,r){this.logMessage(t,{logLevel:Oe.Error,containsPii:!1,correlationId:r||he.EMPTY_STRING})}errorPii(t,r){this.logMessage(t,{logLevel:Oe.Error,containsPii:!0,correlationId:r||he.EMPTY_STRING})}warning(t,r){this.logMessage(t,{logLevel:Oe.Warning,containsPii:!1,correlationId:r||he.EMPTY_STRING})}warningPii(t,r){this.logMessage(t,{logLevel:Oe.Warning,containsPii:!0,correlationId:r||he.EMPTY_STRING})}info(t,r){this.logMessage(t,{logLevel:Oe.Info,containsPii:!1,correlationId:r||he.EMPTY_STRING})}infoPii(t,r){this.logMessage(t,{logLevel:Oe.Info,containsPii:!0,correlationId:r||he.EMPTY_STRING})}verbose(t,r){this.logMessage(t,{logLevel:Oe.Verbose,containsPii:!1,correlationId:r||he.EMPTY_STRING})}verbosePii(t,r){this.logMessage(t,{logLevel:Oe.Verbose,containsPii:!0,correlationId:r||he.EMPTY_STRING})}trace(t,r){this.logMessage(t,{logLevel:Oe.Trace,containsPii:!1,correlationId:r||he.EMPTY_STRING})}tracePii(t,r){this.logMessage(t,{logLevel:Oe.Trace,containsPii:!0,correlationId:r||he.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}/*! @azure/msal-browser v3.14.0 2024-05-07 */exports.InteractionType=void 0;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(exports.InteractionType||(exports.InteractionType={}));const _r={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},_l={React:"@azure/msal-react",Angular:"@azure/msal-angular"};/*! @azure/msal-browser v3.14.0 2024-05-07 */const Pl="storage_not_supported",ye="stubbed_public_client_application_called",Al="in_mem_redirect_unavailable";/*! @azure/msal-browser v3.14.0 2024-05-07 */const jl={[Pl]:"Given storage configuration option was not supported.",[ye]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[Al]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."};class Ln extends Rr{constructor(t,r){super(t,r),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,Ln.prototype)}}function be(e){return new Ln(e,jl[e])}/*! @azure/msal-browser v3.14.0 2024-05-07 */const Ml={initialize:()=>Promise.reject(be(ye)),acquireTokenPopup:()=>Promise.reject(be(ye)),acquireTokenRedirect:()=>Promise.reject(be(ye)),acquireTokenSilent:()=>Promise.reject(be(ye)),acquireTokenByCode:()=>Promise.reject(be(ye)),getAllAccounts:()=>[],getAccount:()=>null,getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject(be(ye)),loginPopup:()=>Promise.reject(be(ye)),loginRedirect:()=>Promise.reject(be(ye)),logout:()=>Promise.reject(be(ye)),logoutRedirect:()=>Promise.reject(be(ye)),logoutPopup:()=>Promise.reject(be(ye)),ssoSilent:()=>Promise.reject(be(ye)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw be(ye)},getLogger:()=>{throw be(ye)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw be(ye)},hydrateCache:()=>Promise.reject(be(ye)),clearCache:()=>Promise.reject(be(ye))};function qi(e,t){return function(){return e.apply(t,arguments)}}const{toString:kl}=Object.prototype,{getPrototypeOf:$n}=Object,Pr=(e=>t=>{const r=kl.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ue=e=>(e=e.toLowerCase(),t=>Pr(t)===e),Ar=e=>t=>typeof t===e,{isArray:St}=Array,zt=Ar("undefined");function Nl(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gi=Ue("ArrayBuffer");function Il(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gi(e.buffer),t}const Dl=Ar("string"),ke=Ar("function"),Ki=Ar("number"),jr=e=>e!==null&&typeof e=="object",Ll=e=>e===!0||e===!1,lr=e=>{if(Pr(e)!=="object")return!1;const t=$n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$l=Ue("Date"),Fl=Ue("File"),Ul=Ue("Blob"),Bl=Ue("FileList"),zl=e=>jr(e)&&ke(e.pipe),Hl=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ke(e.append)&&((t=Pr(e))==="formdata"||t==="object"&&ke(e.toString)&&e.toString()==="[object FormData]"))},Vl=Ue("URLSearchParams"),Wl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),St(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(n=0;n<a;n++)s=i[n],t.call(null,e[s],s,e)}}function Ji(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Xi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zi=e=>!zt(e)&&e!==Xi;function pn(){const{caseless:e}=Zi(this)&&this||{},t={},r=(n,o)=>{const i=e&&Ji(t,o)||o;lr(t[i])&&lr(n)?t[i]=pn(t[i],n):lr(n)?t[i]=pn({},n):St(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&qt(arguments[n],r);return t}const Yl=(e,t,r,{allOwnKeys:n}={})=>(qt(t,(o,i)=>{r&&ke(o)?e[i]=qi(o,r):e[i]=o},{allOwnKeys:n}),e),ql=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Gl=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Kl=(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&$n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Jl=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Xl=e=>{if(!e)return null;if(St(e))return e;let t=e.length;if(!Ki(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Zl=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$n(Uint8Array)),Ql=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},ef=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},tf=Ue("HTMLFormElement"),rf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Io=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),nf=Ue("RegExp"),Qi=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};qt(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},of=e=>{Qi(e,(t,r)=>{if(ke(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ke(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},af=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return St(e)?n(e):n(String(e).split(t)),r},sf=()=>{},cf=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Yr="abcdefghijklmnopqrstuvwxyz",Do="0123456789",ea={DIGIT:Do,ALPHA:Yr,ALPHA_DIGIT:Yr+Yr.toUpperCase()+Do},uf=(e=16,t=ea.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function lf(e){return!!(e&&ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ff=e=>{const t=new Array(10),r=(n,o)=>{if(jr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=St(n)?[]:{};return qt(n,(a,s)=>{const c=r(a,o+1);!zt(c)&&(i[s]=c)}),t[o]=void 0,i}}return n};return r(e,0)},df=Ue("AsyncFunction"),pf=e=>e&&(jr(e)||ke(e))&&ke(e.then)&&ke(e.catch),w={isArray:St,isArrayBuffer:Gi,isBuffer:Nl,isFormData:Hl,isArrayBufferView:Il,isString:Dl,isNumber:Ki,isBoolean:Ll,isObject:jr,isPlainObject:lr,isUndefined:zt,isDate:$l,isFile:Fl,isBlob:Ul,isRegExp:nf,isFunction:ke,isStream:zl,isURLSearchParams:Vl,isTypedArray:Zl,isFileList:Bl,forEach:qt,merge:pn,extend:Yl,trim:Wl,stripBOM:ql,inherits:Gl,toFlatObject:Kl,kindOf:Pr,kindOfTest:Ue,endsWith:Jl,toArray:Xl,forEachEntry:Ql,matchAll:ef,isHTMLForm:tf,hasOwnProperty:Io,hasOwnProp:Io,reduceDescriptors:Qi,freezeMethods:of,toObjectSet:af,toCamelCase:rf,noop:sf,toFiniteNumber:cf,findKey:Ji,global:Xi,isContextDefined:Zi,ALPHABET:ea,generateString:uf,isSpecCompliantForm:lf,toJSONObject:ff,isAsyncFn:df,isThenable:pf};function G(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}w.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ta=G.prototype,ra={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ra[e]={value:e}});Object.defineProperties(G,ra);Object.defineProperty(ta,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const a=Object.create(ta);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const hf=null;function hn(e){return w.isPlainObject(e)||w.isArray(e)}function na(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Lo(e,t,r){return e?e.concat(t).map(function(o,i){return o=na(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function mf(e){return w.isArray(e)&&!e.some(hn)}const vf=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Mr(e,t,r){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=w.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,E){return!w.isUndefined(E[y])});const n=r.metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!c&&w.isBlob(h))throw new G("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,y,E){let S=h;if(h&&!E&&typeof h=="object"){if(w.endsWith(y,"{}"))y=n?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&mf(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(S=w.toArray(h)))return y=na(y),S.forEach(function(R,C){!(w.isUndefined(R)||R===null)&&t.append(a===!0?Lo([y],C,i):a===null?y:y+"[]",u(R))}),!1}return hn(h)?!0:(t.append(Lo(E,y,i),u(h)),!1)}const d=[],v=Object.assign(vf,{defaultVisitor:l,convertValue:u,isVisitable:hn});function g(h,y){if(!w.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(h),w.forEach(h,function(S,T){(!(w.isUndefined(S)||S===null)&&o.call(t,S,w.isString(T)?T.trim():T,y,v))===!0&&g(S,y?y.concat(T):[T])}),d.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return g(e),t}function $o(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Fn(e,t){this._pairs=[],e&&Mr(e,this,t)}const oa=Fn.prototype;oa.append=function(t,r){this._pairs.push([t,r])};oa.toString=function(t){const r=t?function(n){return t.call(this,n,$o)}:$o;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function gf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ia(e,t,r){if(!t)return e;const n=r&&r.encode||gf,o=r&&r.serialize;let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new Fn(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Fo{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(n){n!==null&&t(n)})}}const aa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yf=typeof URLSearchParams<"u"?URLSearchParams:Fn,bf=typeof FormData<"u"?FormData:null,Ef=typeof Blob<"u"?Blob:null,wf={isBrowser:!0,classes:{URLSearchParams:yf,FormData:bf,Blob:Ef},protocols:["http","https","file","blob","url","data"]},sa=typeof window<"u"&&typeof document<"u",Of=(e=>sa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sa,hasStandardBrowserEnv:Of,hasStandardBrowserWebWorkerEnv:xf},Symbol.toStringTag,{value:"Module"})),Le={...Tf,...wf};function Sf(e,t){return Mr(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Le.isNode&&w.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Cf(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Rf(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function ca(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=i>=r.length;return a=!a&&w.isArray(o)?o.length:a,c?(w.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s):((!o[a]||!w.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&w.isArray(o[a])&&(o[a]=Rf(o[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const r={};return w.forEachEntry(e,(n,o)=>{t(Cf(n),o,r,0)}),r}return null}function _f(e,t,r){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Gt={transitional:aa,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(ca(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Sf(t,this.formSerializer).toString();if((s=w.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Mr(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),_f(t)):t}],transformResponse:[function(t){const r=this.transitional||Gt.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&w.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const Pf=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Af=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
230
|
-
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&Pf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Uo=Symbol("internals");function kt(e){return e&&String(e).trim().toLowerCase()}function fr(e){return e===!1||e==null?e:w.isArray(e)?e.map(fr):String(e)}function
|
|
228
|
+
*/var $r,fo;function Rc(){if(fo)return $r;fo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(l){u[l]=l}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $r=o()?Object.assign:function(i,a){for(var s,c=n(i),u,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var d in s)t.call(s,d)&&(c[d]=s[d]);if(e){u=e(s);for(var v=0;v<u.length;v++)r.call(s,u[v])&&(c[u[v]]=s[u[v]])}}return c},$r}var Fr,po;function xn(){if(po)return Fr;po=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Fr=e,Fr}var Ur,ho;function li(){return ho||(ho=1,Ur=Function.call.bind(Object.prototype.hasOwnProperty)),Ur}var Br,mo;function _c(){if(mo)return Br;mo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xn(),r={},n=li();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,u){if(process.env.NODE_ENV!=="production"){for(var l in i)if(n(i,l)){var d;try{if(typeof i[l]!="function"){var v=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw v.name="Invariant Violation",v}d=i[l](a,l,c,s,null,t)}catch(h){d=h}if(d&&!(d instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var g=u?u():"";e("Failed "+s+" type: "+d.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Br=o,Br}var zr,vo;function Pc(){if(vo)return zr;vo=1;var e=ui(),t=Rc(),r=xn(),n=li(),o=_c(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return zr=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function d(O){var _=O&&(u&&O[u]||O[l]);if(typeof _=="function")return _}var v="<<anonymous>>",g={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:T(),arrayOf:R,element:C(),elementType:p(),instanceOf:A,node:K(),objectOf:J,oneOf:k,oneOfType:Z,shape:le,exact:V};function h(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function y(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}y.prototype=Error.prototype;function E(O){if(process.env.NODE_ENV!=="production")var _={},L=0;function $(U,N,I,D,H,B,fe){if(D=D||v,B=B||I,fe!==r){if(c){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=D+":"+I;!_[ge]&&L<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+D+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[ge]=!0,L++)}}return N[I]==null?U?N[I]===null?new y("The "+H+" `"+B+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new y("The "+H+" `"+B+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:O(N,I,D,H,B)}var j=$.bind(null,!1);return j.isRequired=$.bind(null,!0),j}function S(O){function _(L,$,j,U,N,I){var D=L[$],H=ae(D);if(H!==O){var B=ue(D);return new y("Invalid "+U+" `"+N+"` of type "+("`"+B+"` supplied to `"+j+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return E(_)}function T(){return E(a)}function R(O){function _(L,$,j,U,N){if(typeof O!="function")return new y("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var I=L[$];if(!Array.isArray(I)){var D=ae(I);return new y("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an array."))}for(var H=0;H<I.length;H++){var B=O(I,H,j,U,N+"["+H+"]",r);if(B instanceof Error)return B}return null}return E(_)}function C(){function O(_,L,$,j,U){var N=_[L];if(!s(N)){var I=ae(N);return new y("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return E(O)}function p(){function O(_,L,$,j,U){var N=_[L];if(!e.isValidElementType(N)){var I=ae(N);return new y("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return E(O)}function A(O){function _(L,$,j,U,N){if(!(L[$]instanceof O)){var I=O.name||v,D=we(L[$]);return new y("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected ")+("instance of `"+I+"`."))}return null}return E(_)}function k(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function _(L,$,j,U,N){for(var I=L[$],D=0;D<O.length;D++)if(h(I,O[D]))return null;var H=JSON.stringify(O,function(fe,b){var ge=ue(b);return ge==="symbol"?String(b):b});return new y("Invalid "+U+" `"+N+"` of value `"+String(I)+"` "+("supplied to `"+j+"`, expected one of "+H+"."))}return E(_)}function J(O){function _(L,$,j,U,N){if(typeof O!="function")return new y("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var I=L[$],D=ae(I);if(D!=="object")return new y("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an object."));for(var H in I)if(n(I,H)){var B=O(I,H,j,U,N+"."+H,r);if(B instanceof Error)return B}return null}return E(_)}function Z(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<O.length;_++){var L=O[_];if(typeof L!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(L)+" at index "+_+"."),a}function $(j,U,N,I,D){for(var H=[],B=0;B<O.length;B++){var fe=O[B],b=fe(j,U,N,I,D,r);if(b==null)return null;b.data&&n(b.data,"expectedType")&&H.push(b.data.expectedType)}var ge=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new y("Invalid "+I+" `"+D+"` supplied to "+("`"+N+"`"+ge+"."))}return E($)}function K(){function O(_,L,$,j,U){return X(_[L])?null:new y("Invalid "+j+" `"+U+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return E(O)}function ie(O,_,L,$,j){return new y((O||"React class")+": "+_+" type `"+L+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function le(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new y("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));for(var H in O){var B=O[H];if(typeof B!="function")return ie(j,U,N,H,ue(B));var fe=B(I,H,j,U,N+"."+H,r);if(fe)return fe}return null}return E(_)}function V(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new y("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));var H=t({},L[$],O);for(var B in H){var fe=O[B];if(n(O,B)&&typeof fe!="function")return ie(j,U,N,B,ue(fe));if(!fe)return new y("Invalid "+U+" `"+N+"` key `"+B+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(L[$],null," ")+`
|
|
229
|
+
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=fe(I,B,j,U,N+"."+B,r);if(b)return b}return null}return E(_)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var _=d(O);if(_){var L=_.call(O),$;if(_!==O.entries){for(;!($=L.next()).done;)if(!X($.value))return!1}else for(;!($=L.next()).done;){var j=$.value;if(j&&!X(j[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(_,O)?"symbol":_}function ue(O){if(typeof O>"u"||O===null)return""+O;var _=ae(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function xe(O){var _=ue(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function we(O){return!O.constructor||!O.constructor.name?v:O.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},zr}var Hr,go;function Ac(){if(go)return Hr;go=1;var e=xn();function t(){}function r(){}return r.resetWarningCache=t,Hr=function(){function n(a,s,c,u,l,d){if(d!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Hr}if(process.env.NODE_ENV!=="production"){var Mc=ui(),jc=!0;nn.exports=Pc()(Mc.isElement,jc)}else nn.exports=Ac()();var kc=nn.exports;const z=Or(kc),yo={disabled:!1};var Nc=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const fi=m.createContext(null);var Ic=function(t){return t.scrollTop},Dt="unmounted",Xe="exited",He="entering",Qe="entered",mr="exiting",qe=function(e){pc(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Xe,i.appearStatus=He):c=Qe:n.unmountOnExit||n.mountOnEnter?c=Dt:c=Xe,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Dt?{status:Xe}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==He&&a!==Qe&&(i=He):(a===He||a===Qe)&&(i=mr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===He){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this);a&&Ic(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xe&&this.setState({status:Dt})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],u=c[0],l=c[1],d=this.getTimeouts(),v=s?d.appear:d.enter;if(!o&&!a||yo.disabled){this.safeSetState({status:Qe},function(){i.props.onEntered(u)});return}this.props.onEnter(u,l),this.safeSetState({status:He},function(){i.props.onEntering(u,l),i.onTransitionEnd(v,function(){i.safeSetState({status:Qe},function(){i.props.onEntered(u,l)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||yo.disabled){this.safeSetState({status:Xe},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:mr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Xe},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=c[0],l=c[1];this.props.addEndListener(u,l)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Dt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=si(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(fi.Provider,{value:null},typeof a=="function"?a(o,s):m.cloneElement(m.Children.only(a),s))},t}(m.Component);qe.contextType=fi;qe.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=Nc;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function yt(){}qe.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yt,onEntering:yt,onEntered:yt,onExit:yt,onExiting:yt,onExited:yt};qe.UNMOUNTED=Dt;qe.EXITED=Xe;qe.ENTERING=He;qe.ENTERED=Qe;qe.EXITING=mr;const Sr=!!(typeof window<"u"&&window.document&&window.document.createElement);var on=!1,an=!1;try{var Vr={get passive(){return on=!0},get once(){return an=on=!0}};Sr&&(window.addEventListener("test",Vr,Vr),window.removeEventListener("test",Vr,!0))}catch{}function di(e,t,r,n){if(n&&typeof n!="boolean"&&!an){var o=n.once,i=n.capture,a=r;!an&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,on?n:i)}e.addEventListener(t,r,n)}function pi(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function et(e,t,r,n){return di(e,t,r,n),function(){pi(e,t,r,n)}}function Dc(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function Lc(e){var t=On(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function $c(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||Dc(e,"transitionend",!0)},t+r),i=et(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function hi(e,t,r,n){r==null&&(r=Lc(e)||0);var o=$c(e,r,n),i=et(e,"transitionend",t);return function(){o(),i()}}function bo(e,t){const r=On(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function mi(e,t){const r=bo(e,"transitionDuration"),n=bo(e,"transitionDelay"),o=hi(e,i=>{i.target===e&&(o(),t(i))},r+n)}function vi(e){e.offsetHeight}const Eo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Fc(e,t){const r=Eo(e),n=Eo(t);return o=>{r&&r(o),n&&n(o)}}function ot(e,t){return m.useMemo(()=>Fc(e,t),[e,t])}function vr(e){return e&&"setState"in e?bt.findDOMNode(e):e??null}const gi=m.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...u},l)=>{const d=m.useRef(null),v=ot(d,c),g=A=>{v(vr(A))},h=A=>k=>{A&&d.current&&A(d.current,k)},y=m.useCallback(h(e),[e]),E=m.useCallback(h(t),[t]),S=m.useCallback(h(r),[r]),T=m.useCallback(h(n),[n]),R=m.useCallback(h(o),[o]),C=m.useCallback(h(i),[i]),p=m.useCallback(h(a),[a]);return M.jsx(qe,{ref:l,...u,onEnter:y,onEntered:S,onEntering:E,onExit:T,onExited:C,onExiting:R,addEndListener:p,nodeRef:d,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:g}):m.cloneElement(s,{ref:g})})});function Uc(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e},[e]),t}function ut(e){const t=Uc(e);return m.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function sn(){return m.useState(null)}function Tn(){const e=m.useRef(!0),t=m.useRef(()=>e.current);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Bc=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",zc=typeof document<"u",gr=zc||Bc?m.useLayoutEffect:m.useEffect,Hc={[He]:"show",[Qe]:"show"},yr=q.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=m.useCallback((c,u)=>{vi(c),n==null||n(c,u)},[n]);return M.jsx(gi,{ref:i,addEndListener:mi,...a,onEnter:s,childRef:t.ref,children:(c,u)=>q.cloneElement(t,{...u,className:ce("fade",e,t.props.className,Hc[c],r[c])})})});yr.displayName="Fade";function Vc(e){const t=m.useRef(e);return t.current=e,t}function yi(e){const t=Vc(e);m.useEffect(()=>()=>t.current(),[])}const cn=2**31-1;function bi(e,t,r){const n=r-Date.now();e.current=n<=cn?setTimeout(t,n):setTimeout(()=>bi(e,t,r),cn)}function Wc(){const e=Tn(),t=m.useRef();return yi(()=>clearTimeout(t.current)),m.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=cn?t.current=setTimeout(o,i):bi(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var wo=Object.prototype.hasOwnProperty;function Oo(e,t,r){for(r of e.keys())if(Lt(r,t))return r}function Lt(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Lt(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Oo(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Oo(t,o),!o)||!Lt(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(wo.call(e,r)&&++n&&!wo.call(t,r)||!(r in t)||!Lt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function qc(e){const t=Tn();return[e[0],m.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Ce="top",Ie="bottom",De="right",Re="left",Sn="auto",Wt=[Ce,Ie,De,Re],Et="start",Ut="end",Yc="clippingParents",Ei="viewport",jt="popper",Gc="reference",xo=Wt.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+Ut])},[]),wi=[].concat(Wt,[Sn]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+Ut])},[]),Kc="beforeRead",Jc="read",Xc="afterRead",Zc="beforeMain",Qc="main",eu="afterMain",tu="beforeWrite",ru="write",nu="afterWrite",ou=[Kc,Jc,Xc,Zc,Qc,eu,tu,ru,nu];function $e(e){return e.split("-")[0]}function Ae(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function lt(e){var t=Ae(e).Element;return e instanceof t||e instanceof Element}function Fe(e){var t=Ae(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Cn(e){if(typeof ShadowRoot>"u")return!1;var t=Ae(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var st=Math.max,br=Math.min,wt=Math.round;function un(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Oi(){return!/^((?!chrome|android).)*safari/i.test(un())}function Ot(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Fe(e)&&(o=e.offsetWidth>0&&wt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&wt(n.height)/e.offsetHeight||1);var a=lt(e)?Ae(e):window,s=a.visualViewport,c=!Oi()&&r,u=(n.left+(c&&s?s.offsetLeft:0))/o,l=(n.top+(c&&s?s.offsetTop:0))/i,d=n.width/o,v=n.height/i;return{width:d,height:v,top:l,right:u+d,bottom:l+v,left:u,x:u,y:l}}function Rn(e){var t=Ot(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function xi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Cn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rt(e){return e?(e.nodeName||"").toLowerCase():null}function We(e){return Ae(e).getComputedStyle(e)}function iu(e){return["table","td","th"].indexOf(rt(e))>=0}function it(e){return((lt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cr(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(Cn(e)?e.host:null)||it(e)}function To(e){return!Fe(e)||We(e).position==="fixed"?null:e.offsetParent}function au(e){var t=/firefox/i.test(un()),r=/Trident/i.test(un());if(r&&Fe(e)){var n=We(e);if(n.position==="fixed")return null}var o=Cr(e);for(Cn(o)&&(o=o.host);Fe(o)&&["html","body"].indexOf(rt(o))<0;){var i=We(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function qt(e){for(var t=Ae(e),r=To(e);r&&iu(r)&&We(r).position==="static";)r=To(r);return r&&(rt(r)==="html"||rt(r)==="body"&&We(r).position==="static")?t:r||au(e)||t}function _n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $t(e,t,r){return st(e,br(t,r))}function su(e,t,r){var n=$t(e,t,r);return n>r?r:n}function Ti(){return{top:0,right:0,bottom:0,left:0}}function Si(e){return Object.assign({},Ti(),e)}function Ci(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var cu=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Si(typeof t!="number"?t:Ci(t,Wt))};function uu(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=$e(r.placement),c=_n(s),u=[Re,De].indexOf(s)>=0,l=u?"height":"width";if(!(!i||!a)){var d=cu(o.padding,r),v=Rn(i),g=c==="y"?Ce:Re,h=c==="y"?Ie:De,y=r.rects.reference[l]+r.rects.reference[c]-a[c]-r.rects.popper[l],E=a[c]-r.rects.reference[c],S=qt(i),T=S?c==="y"?S.clientHeight||0:S.clientWidth||0:0,R=y/2-E/2,C=d[g],p=T-v[l]-d[h],A=T/2-v[l]/2+R,k=$t(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function lu(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||xi(t.elements.popper,o)&&(t.elements.arrow=o))}const fu={name:"arrow",enabled:!0,phase:"main",fn:uu,effect:lu,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(e){return e.split("-")[1]}var du={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pu(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:wt(r*o)/o||0,y:wt(n*o)/o||0}}function So(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,l=e.roundOffsets,d=e.isFixed,v=a.x,g=v===void 0?0:v,h=a.y,y=h===void 0?0:h,E=typeof l=="function"?l({x:g,y}):{x:g,y};g=E.x,y=E.y;var S=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),R=Re,C=Ce,p=window;if(u){var A=qt(r),k="clientHeight",J="clientWidth";if(A===Ae(r)&&(A=it(r),We(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Ce||(o===Re||o===De)&&i===Ut){C=Ie;var Z=d&&A===p&&p.visualViewport?p.visualViewport.height:A[k];y-=Z-n.height,y*=c?1:-1}if(o===Re||(o===Ce||o===Ie)&&i===Ut){R=De;var K=d&&A===p&&p.visualViewport?p.visualViewport.width:A[J];g-=K-n.width,g*=c?1:-1}}var ie=Object.assign({position:s},u&&du),le=l===!0?pu({x:g,y},Ae(r)):{x:g,y};if(g=le.x,y=le.y,c){var V;return Object.assign({},ie,(V={},V[C]=T?"0":"",V[R]=S?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=T?y+"px":"",t[R]=S?g+"px":"",t.transform="",t))}function hu(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,u={placement:$e(t.placement),variation:xt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,So(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,So(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const mu={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:hu,data:{}};var rr={passive:!0};function vu(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Ae(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(l){l.addEventListener("scroll",r.update,rr)}),s&&c.addEventListener("resize",r.update,rr),function(){i&&u.forEach(function(l){l.removeEventListener("scroll",r.update,rr)}),s&&c.removeEventListener("resize",r.update,rr)}}const gu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vu,data:{}};var yu={left:"right",right:"left",bottom:"top",top:"bottom"};function cr(e){return e.replace(/left|right|bottom|top/g,function(t){return yu[t]})}var bu={start:"end",end:"start"};function Co(e){return e.replace(/start|end/g,function(t){return bu[t]})}function Pn(e){var t=Ae(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function An(e){return Ot(it(e)).left+Pn(e).scrollLeft}function Eu(e,t){var r=Ae(e),n=it(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=Oi();(u||!u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+An(e),y:c}}function wu(e){var t,r=it(e),n=Pn(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=st(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=st(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+An(e),c=-n.scrollTop;return We(o||r).direction==="rtl"&&(s+=st(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Mn(e){var t=We(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Ri(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Fe(e)&&Mn(e)?e:Ri(Cr(e))}function Ft(e,t){var r;t===void 0&&(t=[]);var n=Ri(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ae(n),a=o?[i].concat(i.visualViewport||[],Mn(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ft(Cr(a)))}function ln(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ou(e,t){var r=Ot(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ro(e,t,r){return t===Ei?ln(Eu(e,r)):lt(t)?Ou(t,r):ln(wu(it(e)))}function xu(e){var t=Ft(Cr(e)),r=["absolute","fixed"].indexOf(We(e).position)>=0,n=r&&Fe(e)?qt(e):e;return lt(n)?t.filter(function(o){return lt(o)&&xi(o,n)&&rt(o)!=="body"}):[]}function Tu(e,t,r,n){var o=t==="clippingParents"?xu(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,u){var l=Ro(e,u,n);return c.top=st(l.top,c.top),c.right=br(l.right,c.right),c.bottom=br(l.bottom,c.bottom),c.left=st(l.left,c.left),c},Ro(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function _i(e){var t=e.reference,r=e.element,n=e.placement,o=n?$e(n):null,i=n?xt(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Ce:c={x:a,y:t.y-r.height};break;case Ie:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case Re:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var u=o?_n(o):null;if(u!=null){var l=u==="y"?"height":"width";switch(i){case Et:c[u]=c[u]-(t[l]/2-r[l]/2);break;case Ut:c[u]=c[u]+(t[l]/2-r[l]/2);break}}return c}function Bt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?Yc:s,u=r.rootBoundary,l=u===void 0?Ei:u,d=r.elementContext,v=d===void 0?jt:d,g=r.altBoundary,h=g===void 0?!1:g,y=r.padding,E=y===void 0?0:y,S=Si(typeof E!="number"?E:Ci(E,Wt)),T=v===jt?Gc:jt,R=e.rects.popper,C=e.elements[h?T:v],p=Tu(lt(C)?C:C.contextElement||it(e.elements.popper),c,l,a),A=Ot(e.elements.reference),k=_i({reference:A,element:R,strategy:"absolute",placement:o}),J=ln(Object.assign({},R,k)),Z=v===jt?J:A,K={top:p.top-Z.top+S.top,bottom:Z.bottom-p.bottom+S.bottom,left:p.left-Z.left+S.left,right:Z.right-p.right+S.right},ie=e.modifiersData.offset;if(v===jt&&ie){var le=ie[o];Object.keys(K).forEach(function(V){var X=[De,Ie].indexOf(V)>=0?1:-1,Q=[Ce,Ie].indexOf(V)>=0?"y":"x";K[V]+=le[Q]*X})}return K}function Su(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?wi:c,l=xt(n),d=l?s?xo:xo.filter(function(h){return xt(h)===l}):Wt,v=d.filter(function(h){return u.indexOf(h)>=0});v.length===0&&(v=d);var g=v.reduce(function(h,y){return h[y]=Bt(e,{placement:y,boundary:o,rootBoundary:i,padding:a})[$e(y)],h},{});return Object.keys(g).sort(function(h,y){return g[h]-g[y]})}function Cu(e){if($e(e)===Sn)return[];var t=cr(e);return[Co(e),t,Co(t)]}function Ru(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,u=r.padding,l=r.boundary,d=r.rootBoundary,v=r.altBoundary,g=r.flipVariations,h=g===void 0?!0:g,y=r.allowedAutoPlacements,E=t.options.placement,S=$e(E),T=S===E,R=c||(T||!h?[cr(E)]:Cu(E)),C=[E].concat(R).reduce(function(j,U){return j.concat($e(U)===Sn?Su(t,{placement:U,boundary:l,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:y}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],le=$e(ie),V=xt(ie)===Et,X=[Ce,Ie].indexOf(le)>=0,Q=X?"width":"height",ae=Bt(t,{placement:ie,boundary:l,rootBoundary:d,altBoundary:v,padding:u}),ue=X?V?De:Re:V?Ie:Ce;p[Q]>A[Q]&&(ue=cr(ue));var xe=cr(ue),we=[];if(i&&we.push(ae[le]<=0),s&&we.push(ae[ue]<=0,ae[xe]<=0),we.every(function(j){return j})){Z=ie,J=!1;break}k.set(ie,we)}if(J)for(var O=h?3:1,_=function(U){var N=C.find(function(I){var D=k.get(I);if(D)return D.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},L=O;L>0;L--){var $=_(L);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const _u={name:"flip",enabled:!0,phase:"main",fn:Ru,requiresIfExists:["offset"],data:{_skip:!1}};function _o(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Po(e){return[Ce,De,Ie,Re].some(function(t){return e[t]>=0})}function Pu(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bt(t,{elementContext:"reference"}),s=Bt(t,{altBoundary:!0}),c=_o(a,n),u=_o(s,o,i),l=Po(c),d=Po(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}const Au={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Pu};function Mu(e,t,r){var n=$e(e),o=[Re,Ce].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Re,De].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function ju(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=wi.reduce(function(l,d){return l[d]=Mu(d,t.rects,i),l},{}),s=a[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}const ku={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ju};function Nu(e){var t=e.state,r=e.name;t.modifiersData[r]=_i({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Iu={name:"popperOffsets",enabled:!0,phase:"read",fn:Nu,data:{}};function Du(e){return e==="x"?"y":"x"}function Lu(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,u=r.rootBoundary,l=r.altBoundary,d=r.padding,v=r.tether,g=v===void 0?!0:v,h=r.tetherOffset,y=h===void 0?0:h,E=Bt(t,{boundary:c,rootBoundary:u,padding:d,altBoundary:l}),S=$e(t.placement),T=xt(t.placement),R=!T,C=_n(S),p=Du(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(A){if(i){var V,X=C==="y"?Ce:Re,Q=C==="y"?Ie:De,ae=C==="y"?"height":"width",ue=A[C],xe=ue+E[X],we=ue-E[Q],O=g?-J[ae]/2:0,_=T===Et?k[ae]:J[ae],L=T===Et?-J[ae]:-k[ae],$=t.elements.arrow,j=g&&$?Rn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ti(),N=U[X],I=U[Q],D=$t(0,k[ae],j[ae]),H=R?k[ae]/2-O-D-N-K.mainAxis:_-D-N-K.mainAxis,B=R?-k[ae]/2+O+D+I+K.mainAxis:L+D+I+K.mainAxis,fe=t.elements.arrow&&qt(t.elements.arrow),b=fe?C==="y"?fe.clientTop||0:fe.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,_e=ue+H-ge-b,Me=ue+B-ge,Ye=$t(g?br(xe,_e):xe,ue,g?st(we,Me):we);A[C]=Ye,le[C]=Ye-ue}if(s){var Ct,Jt=C==="x"?Ce:Re,dt=C==="x"?Ie:De,Be=A[p],pt=p==="y"?"height":"width",ht=Be+E[Jt],Xt=Be-E[dt],Rt=[Ce,Re].indexOf(S)!==-1,_t=(Ct=ie==null?void 0:ie[p])!=null?Ct:0,Pt=Rt?ht:Be-k[pt]-J[pt]-_t+K.altAxis,Ge=Rt?Be+k[pt]+J[pt]-_t-K.altAxis:Xt,Zt=g&&Rt?su(Pt,Be,Ge):$t(g?Pt:ht,Be,g?Ge:Xt);A[p]=Zt,le[p]=Zt-Be}t.modifiersData[n]=le}}const $u={name:"preventOverflow",enabled:!0,phase:"main",fn:Lu,requiresIfExists:["offset"]};function Fu(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Uu(e){return e===Ae(e)||!Fe(e)?Pn(e):Fu(e)}function Bu(e){var t=e.getBoundingClientRect(),r=wt(t.width)/e.offsetWidth||1,n=wt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function zu(e,t,r){r===void 0&&(r=!1);var n=Fe(t),o=Fe(t)&&Bu(t),i=it(t),a=Ot(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||Mn(i))&&(s=Uu(t)),Fe(t)?(c=Ot(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=An(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Hu(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function Vu(e){var t=Hu(e);return ou.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Wu(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function qu(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ao={placement:"bottom",modifiers:[],strategy:"absolute"};function Mo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Yu(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Ao:o;return function(s,c,u){u===void 0&&(u=i);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ao,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},d=[],v=!1,g={state:l,setOptions:function(S){var T=typeof S=="function"?S(l.options):S;y(),l.options=Object.assign({},i,l.options,T),l.scrollParents={reference:lt(s)?Ft(s):s.contextElement?Ft(s.contextElement):[],popper:Ft(c)};var R=Vu(qu([].concat(n,l.options.modifiers)));return l.orderedModifiers=R.filter(function(C){return C.enabled}),h(),g.update()},forceUpdate:function(){if(!v){var S=l.elements,T=S.reference,R=S.popper;if(Mo(T,R)){l.rects={reference:zu(T,qt(R),l.options.strategy==="fixed"),popper:Rn(R)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(K){return l.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<l.orderedModifiers.length;C++){if(l.reset===!0){l.reset=!1,C=-1;continue}var p=l.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(l=A({state:l,options:J,name:Z,instance:g})||l)}}}},update:Wu(function(){return new Promise(function(E){g.forceUpdate(),E(l)})}),destroy:function(){y(),v=!0}};if(!Mo(s,c))return g;g.setOptions(u).then(function(E){!v&&u.onFirstUpdate&&u.onFirstUpdate(E)});function h(){l.orderedModifiers.forEach(function(E){var S=E.name,T=E.options,R=T===void 0?{}:T,C=E.effect;if(typeof C=="function"){var p=C({state:l,name:S,instance:g,options:R}),A=function(){};d.push(p||A)}})}function y(){d.forEach(function(E){return E()}),d=[]}return g}}const Gu=Yu({defaultModifiers:[Au,Iu,mu,gu,ku,_u,$u,fu]}),Ku=["enabled","placement","strategy","modifiers"];function Ju(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Xu={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Zu={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},Qu=[];function Pi(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Qu}=r,s=Ju(r,Ku);const c=m.useRef(a),u=m.useRef(),l=m.useCallback(()=>{var E;(E=u.current)==null||E.update()},[]),d=m.useCallback(()=>{var E;(E=u.current)==null||E.forceUpdate()},[]),[v,g]=qc(m.useState({placement:o,update:l,forceUpdate:d,attributes:{},styles:{popper:{},arrow:{}}})),h=m.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const S={},T={};Object.keys(E.elements).forEach(R=>{S[R]=E.styles[R],T[R]=E.attributes[R]}),g({state:E,styles:S,attributes:T,update:l,forceUpdate:d,placement:E.placement})}}),[l,d,g]),y=m.useMemo(()=>(Lt(c.current,a)||(c.current=a),c.current),[a]);return m.useEffect(()=>{!u.current||!n||u.current.setOptions({placement:o,strategy:i,modifiers:[...y,h,Xu]})},[i,o,h,n,y]),m.useEffect(()=>{if(!(!n||e==null||t==null))return u.current=Gu(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...y,Zu,h]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,g(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),v}function Er(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var el=process.env.NODE_ENV!=="production",Ai=function(){};if(el){var tl=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};Ai=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||tl.apply(null,[t].concat(r))}}var rl=Ai;const jn=Or(rl),jo=()=>{};function nl(e){return e.button===0}function ol(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const ur=e=>e&&("current"in e?e.current:e),ko={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Mi(e,t=jo,{disabled:r,clickTrigger:n="click"}={}){const o=m.useRef(!1),i=m.useRef(!1),a=m.useCallback(u=>{const l=ur(e);jn(!!l,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!l||ol(u)||!nl(u)||!!Er(l,u.target)||i.current,i.current=!1},[e]),s=ut(u=>{const l=ur(e);l&&Er(l,u.target)&&(i.current=!0)}),c=ut(u=>{o.current||t(u)});m.useEffect(()=>{var u,l;if(r||e==null)return;const d=Vt(ur(e)),v=d.defaultView||window;let g=(u=v.event)!=null?u:(l=v.parent)==null?void 0:l.event,h=null;ko[n]&&(h=et(d,ko[n],s,!0));const y=et(d,n,a,!0),E=et(d,n,T=>{if(T===g){g=void 0;return}c(T)});let S=[];return"ontouchstart"in d.documentElement&&(S=[].slice.call(d.body.children).map(T=>et(T,"mousemove",jo))),()=>{h==null||h(),y(),E(),S.forEach(T=>T())}},[e,r,n,a,s,c])}function il(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function al(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function ji({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var u,l,d,v,g;const h=il(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:al(Object.assign({},h,{eventListeners:{enabled:t,options:(u=h.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(l=h.preventOverflow)==null?void 0:l.options):(d=h.preventOverflow)==null?void 0:d.options}),offset:{options:Object.assign({offset:o},(v=h.offset)==null?void 0:v.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(g=h.arrow)==null?void 0:g.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const ki=m.createContext(Sr?window:void 0);ki.Provider;function Ni(){return m.useContext(ki)}const Ii=q.createContext({}),kn=q.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=m.useMemo(()=>({controlId:e}),[e]);return M.jsx(Ii.Provider,{value:o,children:M.jsx(t,{...r,ref:n})})});kn.displayName="FormGroup";const Nn=q.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=tt(e,"form-floating"),M.jsxs(kn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,M.jsx("label",{htmlFor:n,children:o})]})));Nn.displayName="FloatingLabel";const Wr=(e,t)=>Sr?e==null?(t||Vt()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function fn(e,t){const r=Ni(),[n,o]=m.useState(()=>Wr(e,r==null?void 0:r.document));if(!n){const i=Wr(e);i&&o(i)}return m.useEffect(()=>{},[t,n]),m.useEffect(()=>{const i=Wr(e);i!==n&&o(i)},[e,n]),n}function sl({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=m.useRef(null),a=m.useRef(t),s=ut(r);m.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=ot(i,e.ref),u=m.cloneElement(e,{ref:c});return t?u:o||!a.current&&n?null:u}function Di(e){return e.code==="Escape"||e.keyCode===27}function cl(){const e=q.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const ul=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function ll(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function fl(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,u=ll(e,ul);const{major:l}=cl(),d=l>=19?c.props.ref:c.ref,v=m.useRef(null),g=ot(v,typeof c=="function"?null:d),h=A=>k=>{A&&v.current&&A(v.current,k)},y=m.useCallback(h(t),[t]),E=m.useCallback(h(r),[r]),S=m.useCallback(h(n),[n]),T=m.useCallback(h(o),[o]),R=m.useCallback(h(i),[i]),C=m.useCallback(h(a),[a]),p=m.useCallback(h(s),[s]);return Object.assign({},u,{nodeRef:v},t&&{onEnter:y},r&&{onEntering:E},n&&{onEntered:S},o&&{onExit:T},i&&{onExiting:R},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:g})):m.cloneElement(c,{ref:g})})}const dl=["component"];function pl(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const hl=q.forwardRef((e,t)=>{let{component:r}=e,n=pl(e,dl);const o=fl(n);return M.jsx(r,Object.assign({ref:t},o))});function ml({in:e,onTransition:t}){const r=m.useRef(null),n=m.useRef(!0),o=ut(t);return gr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),gr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function vl({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=m.useState(!t);t&&i&&a(!1);const s=ml({in:!!t,onTransition:u=>{const l=()=>{u.isStale()||(u.in?n==null||n(u.element,u.initial):(a(!0),r==null||r(u.element)))};Promise.resolve(o(u)).then(l,d=>{throw u.in||a(!0),d})}}),c=ot(s,e.ref);return i&&!t?null:m.cloneElement(e,{ref:c})}function Li(e,t,r){return e?M.jsx(hl,Object.assign({},r,{component:e})):t?M.jsx(vl,Object.assign({},r,{transition:t})):M.jsx(sl,Object.assign({},r))}function dn(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const gl=()=>{};function yl(e,t,{disabled:r,clickTrigger:n}={}){const o=t||gl;Mi(e,o,{disabled:r,clickTrigger:n});const i=ut(a=>{Di(a)&&o(a)});m.useEffect(()=>{if(r||e==null)return;const a=Vt(ur(e));let s=(a.defaultView||window).event;const c=et(a,"keyup",u=>{if(u===s){s=void 0;return}i(u)});return()=>{c()}},[e,r,i])}const $i=q.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[u,l]=sn(),[d,v]=sn(),g=ot(l,t),h=fn(e.container),y=fn(e.target),[E,S]=m.useState(!e.show),T=Pi(y,u,ji({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:d,popperConfig:a}));e.show&&E&&S(!1);const R=(...ie)=>{S(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(yl(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:g}),{popper:T,placement:o,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:v})});return K=Li(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:R,onEnter:k,onEntering:J,onEntered:Z}),h?bt.createPortal(K,h):null});$i.displayName="Overlay";const Fi=q.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-header"),M.jsx(r,{ref:o,className:ce(e,t),...n})));Fi.displayName="PopoverHeader";const In=q.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-body"),M.jsx(r,{ref:o,className:ce(e,t),...n})));In.displayName="PopoverBody";function Ui(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Bi(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const bl=q.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:u,...l},d)=>{const v=tt(e,"popover"),g=wn(),[h]=(t==null?void 0:t.split("-"))||[],y=Ui(h,g);let E=n;return u&&!s&&(E={...n,...Bi(c==null?void 0:c.strategy)}),M.jsxs("div",{ref:d,role:"tooltip",style:E,"x-placement":h,className:ce(r,v,h&&`bs-popover-${y}`),...l,children:[M.jsx("div",{className:"popover-arrow",...a}),i?M.jsx(In,{children:o}):o]})}),zi=Object.assign(bl,{Header:Fi,Body:In,POPPER_OFFSET:[0,8]}),Hi=q.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...u},l)=>{e=tt(e,"tooltip");const d=wn(),[v]=(t==null?void 0:t.split("-"))||[],g=Ui(v,d);let h=n;return c&&!a&&(h={...n,...Bi(s==null?void 0:s.strategy)}),M.jsxs("div",{ref:l,style:h,role:"tooltip","x-placement":v,className:ce(r,e,`bs-tooltip-${g}`),...u,children:[M.jsx("div",{className:"tooltip-arrow",...i}),M.jsx("div",{className:`${e}-inner`,children:o})]})});Hi.displayName="Tooltip";const Dn=Object.assign(Hi,{TOOLTIP_OFFSET:[0,6]});function El(e){const t=m.useRef(null),r=tt(void 0,"popover"),n=tt(void 0,"tooltip"),o=m.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(dn(t.current,r))return zi.POPPER_OFFSET;if(dn(t.current,n))return Dn.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function wl(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(vr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(vr(o)))}const Vi=q.forwardRef(({children:e,transition:t=yr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=m.useRef({}),[u,l]=m.useState(null),[d,v]=El(a.offset),g=ot(s,d),h=t===!0?yr:t||void 0,y=ut(E=>{l(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return gr(()=>{u&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[u,a.target]),m.useEffect(()=>{i||l(null)},[i]),M.jsx($i,{...a,ref:g,popperConfig:{...r,modifiers:v.concat(r.modifiers||[]),onFirstUpdate:y},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:S,popper:T,show:R})=>{var C,p;wl(E,S);const A=T==null?void 0:T.placement,k=Object.assign(c.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:A,outOfBoundaries:(T==null||(C=T.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!u;return typeof e=="function"?e({...E,placement:A,show:R,...!t&&R&&{className:"show"},popper:k,arrowProps:S,hasDoneInitialMeasure:J}):q.cloneElement(e,{...E,placement:A,arrowProps:S,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&R&&"show"),style:{...e.props.style,...E.style}})}})});Vi.displayName="Overlay";function Ol(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function No(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!Er(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Wi=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:u=c&&c.indexOf("auto")!==-1,...l})=>{const d=m.useRef(null),v=ot(d,r.ref),g=Wc(),h=m.useRef(""),[y,E]=ci(o,i,a),S=Ol(s),{onFocus:T,onBlur:R,onClick:C}=typeof r!="function"?q.Children.only(r).props:{},p=Q=>{v(vr(Q))},A=m.useCallback(()=>{if(g.clear(),h.current="show",!S.show){E(!0);return}g.set(()=>{h.current==="show"&&E(!0)},S.show)},[S.show,E,g]),k=m.useCallback(()=>{if(g.clear(),h.current="hide",!S.hide){E(!1);return}g.set(()=>{h.current==="hide"&&E(!1)},S.hide)},[S.hide,E,g]),J=m.useCallback((...Q)=>{A(),T==null||T(...Q)},[A,T]),Z=m.useCallback((...Q)=>{k(),R==null||R(...Q)},[k,R]),K=m.useCallback((...Q)=>{E(!y),C==null||C(...Q)},[C,E,y]),ie=m.useCallback((...Q)=>{No(A,Q,"fromElement")},[A]),le=m.useCallback((...Q)=>{No(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&jn(V.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),X.onMouseOver=ie,X.onMouseOut=le),M.jsxs(M.Fragment,{children:[typeof r=="function"?r(X):m.cloneElement(r,X),M.jsx(Vi,{...l,show:y,onHide:k,flip:u,placement:c,popperConfig:n,target:d.current,children:t})]})},xl=m.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Tl=m.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}}),Sl=m.createContext({user:null,loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});/*! @azure/msal-common v14.10.0 2024-05-07 */const he={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},qi=[he.OPENID_SCOPE,he.PROFILE_SCOPE,he.OFFLINE_ACCESS_SCOPE];[...qi,he.EMAIL_SCOPE];const Cl={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},Rl={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."};/*! @azure/msal-common v14.10.0 2024-05-07 */class Rr extends Error{constructor(t,r,n){const o=r?`${t}: ${r}`:t;super(o),Object.setPrototypeOf(this,Rr.prototype),this.errorCode=t||he.EMPTY_STRING,this.errorMessage=r||he.EMPTY_STRING,this.subError=n||he.EMPTY_STRING,this.name="AuthError"}setCorrelationId(t){this.correlationId=t}}/*! @azure/msal-common v14.10.0 2024-05-07 */var Oe;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"})(Oe||(Oe={}));class wr{constructor(t,r,n){this.level=Oe.Info;const o=()=>{},i=t||wr.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||o,this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level=typeof i.logLevel=="number"?i.logLevel:Oe.Info,this.correlationId=i.correlationId||he.EMPTY_STRING,this.packageName=r||he.EMPTY_STRING,this.packageVersion=n||he.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:Oe.Info}}clone(t,r,n){return new wr({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:n||this.correlationId},t,r)}logMessage(t,r){if(r.logLevel>this.level||!this.piiLoggingEnabled&&r.containsPii)return;const i=`${`[${new Date().toUTCString()}] : [${r.correlationId||this.correlationId||""}]`} : ${this.packageName}@${this.packageVersion} : ${Oe[r.logLevel]} - ${t}`;this.executeCallback(r.logLevel,i,r.containsPii||!1)}executeCallback(t,r,n){this.localCallback&&this.localCallback(t,r,n)}error(t,r){this.logMessage(t,{logLevel:Oe.Error,containsPii:!1,correlationId:r||he.EMPTY_STRING})}errorPii(t,r){this.logMessage(t,{logLevel:Oe.Error,containsPii:!0,correlationId:r||he.EMPTY_STRING})}warning(t,r){this.logMessage(t,{logLevel:Oe.Warning,containsPii:!1,correlationId:r||he.EMPTY_STRING})}warningPii(t,r){this.logMessage(t,{logLevel:Oe.Warning,containsPii:!0,correlationId:r||he.EMPTY_STRING})}info(t,r){this.logMessage(t,{logLevel:Oe.Info,containsPii:!1,correlationId:r||he.EMPTY_STRING})}infoPii(t,r){this.logMessage(t,{logLevel:Oe.Info,containsPii:!0,correlationId:r||he.EMPTY_STRING})}verbose(t,r){this.logMessage(t,{logLevel:Oe.Verbose,containsPii:!1,correlationId:r||he.EMPTY_STRING})}verbosePii(t,r){this.logMessage(t,{logLevel:Oe.Verbose,containsPii:!0,correlationId:r||he.EMPTY_STRING})}trace(t,r){this.logMessage(t,{logLevel:Oe.Trace,containsPii:!1,correlationId:r||he.EMPTY_STRING})}tracePii(t,r){this.logMessage(t,{logLevel:Oe.Trace,containsPii:!0,correlationId:r||he.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}/*! @azure/msal-browser v3.14.0 2024-05-07 */exports.InteractionType=void 0;(function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"})(exports.InteractionType||(exports.InteractionType={}));const _r={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},_l={React:"@azure/msal-react",Angular:"@azure/msal-angular"};/*! @azure/msal-browser v3.14.0 2024-05-07 */const Pl="storage_not_supported",ye="stubbed_public_client_application_called",Al="in_mem_redirect_unavailable";/*! @azure/msal-browser v3.14.0 2024-05-07 */const Ml={[Pl]:"Given storage configuration option was not supported.",[ye]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[Al]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."};class Ln extends Rr{constructor(t,r){super(t,r),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,Ln.prototype)}}function be(e){return new Ln(e,Ml[e])}/*! @azure/msal-browser v3.14.0 2024-05-07 */const jl={initialize:()=>Promise.reject(be(ye)),acquireTokenPopup:()=>Promise.reject(be(ye)),acquireTokenRedirect:()=>Promise.reject(be(ye)),acquireTokenSilent:()=>Promise.reject(be(ye)),acquireTokenByCode:()=>Promise.reject(be(ye)),getAllAccounts:()=>[],getAccount:()=>null,getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject(be(ye)),loginPopup:()=>Promise.reject(be(ye)),loginRedirect:()=>Promise.reject(be(ye)),logout:()=>Promise.reject(be(ye)),logoutRedirect:()=>Promise.reject(be(ye)),logoutPopup:()=>Promise.reject(be(ye)),ssoSilent:()=>Promise.reject(be(ye)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw be(ye)},getLogger:()=>{throw be(ye)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw be(ye)},hydrateCache:()=>Promise.reject(be(ye)),clearCache:()=>Promise.reject(be(ye))};function Yi(e,t){return function(){return e.apply(t,arguments)}}const{toString:kl}=Object.prototype,{getPrototypeOf:$n}=Object,Pr=(e=>t=>{const r=kl.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ue=e=>(e=e.toLowerCase(),t=>Pr(t)===e),Ar=e=>t=>typeof t===e,{isArray:St}=Array,zt=Ar("undefined");function Nl(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Gi=Ue("ArrayBuffer");function Il(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Gi(e.buffer),t}const Dl=Ar("string"),ke=Ar("function"),Ki=Ar("number"),Mr=e=>e!==null&&typeof e=="object",Ll=e=>e===!0||e===!1,lr=e=>{if(Pr(e)!=="object")return!1;const t=$n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$l=Ue("Date"),Fl=Ue("File"),Ul=Ue("Blob"),Bl=Ue("FileList"),zl=e=>Mr(e)&&ke(e.pipe),Hl=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ke(e.append)&&((t=Pr(e))==="formdata"||t==="object"&&ke(e.toString)&&e.toString()==="[object FormData]"))},Vl=Ue("URLSearchParams"),Wl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),St(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(n=0;n<a;n++)s=i[n],t.call(null,e[s],s,e)}}function Ji(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Xi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zi=e=>!zt(e)&&e!==Xi;function pn(){const{caseless:e}=Zi(this)&&this||{},t={},r=(n,o)=>{const i=e&&Ji(t,o)||o;lr(t[i])&&lr(n)?t[i]=pn(t[i],n):lr(n)?t[i]=pn({},n):St(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&Yt(arguments[n],r);return t}const ql=(e,t,r,{allOwnKeys:n}={})=>(Yt(t,(o,i)=>{r&&ke(o)?e[i]=Yi(o,r):e[i]=o},{allOwnKeys:n}),e),Yl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Gl=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Kl=(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=r!==!1&&$n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Jl=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Xl=e=>{if(!e)return null;if(St(e))return e;let t=e.length;if(!Ki(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Zl=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$n(Uint8Array)),Ql=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},ef=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},tf=Ue("HTMLFormElement"),rf=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Io=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),nf=Ue("RegExp"),Qi=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Yt(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},of=e=>{Qi(e,(t,r)=>{if(ke(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(ke(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},af=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return St(e)?n(e):n(String(e).split(t)),r},sf=()=>{},cf=(e,t)=>(e=+e,Number.isFinite(e)?e:t),qr="abcdefghijklmnopqrstuvwxyz",Do="0123456789",ea={DIGIT:Do,ALPHA:qr,ALPHA_DIGIT:qr+qr.toUpperCase()+Do},uf=(e=16,t=ea.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function lf(e){return!!(e&&ke(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ff=e=>{const t=new Array(10),r=(n,o)=>{if(Mr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=St(n)?[]:{};return Yt(n,(a,s)=>{const c=r(a,o+1);!zt(c)&&(i[s]=c)}),t[o]=void 0,i}}return n};return r(e,0)},df=Ue("AsyncFunction"),pf=e=>e&&(Mr(e)||ke(e))&&ke(e.then)&&ke(e.catch),w={isArray:St,isArrayBuffer:Gi,isBuffer:Nl,isFormData:Hl,isArrayBufferView:Il,isString:Dl,isNumber:Ki,isBoolean:Ll,isObject:Mr,isPlainObject:lr,isUndefined:zt,isDate:$l,isFile:Fl,isBlob:Ul,isRegExp:nf,isFunction:ke,isStream:zl,isURLSearchParams:Vl,isTypedArray:Zl,isFileList:Bl,forEach:Yt,merge:pn,extend:ql,trim:Wl,stripBOM:Yl,inherits:Gl,toFlatObject:Kl,kindOf:Pr,kindOfTest:Ue,endsWith:Jl,toArray:Xl,forEachEntry:Ql,matchAll:ef,isHTMLForm:tf,hasOwnProperty:Io,hasOwnProp:Io,reduceDescriptors:Qi,freezeMethods:of,toObjectSet:af,toCamelCase:rf,noop:sf,toFiniteNumber:cf,findKey:Ji,global:Xi,isContextDefined:Zi,ALPHABET:ea,generateString:uf,isSpecCompliantForm:lf,toJSONObject:ff,isAsyncFn:df,isThenable:pf};function G(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}w.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ta=G.prototype,ra={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ra[e]={value:e}});Object.defineProperties(G,ra);Object.defineProperty(ta,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const a=Object.create(ta);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),G.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const hf=null;function hn(e){return w.isPlainObject(e)||w.isArray(e)}function na(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Lo(e,t,r){return e?e.concat(t).map(function(o,i){return o=na(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function mf(e){return w.isArray(e)&&!e.some(hn)}const vf=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function jr(e,t,r){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=w.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,E){return!w.isUndefined(E[y])});const n=r.metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(w.isDate(h))return h.toISOString();if(!c&&w.isBlob(h))throw new G("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(h)||w.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,y,E){let S=h;if(h&&!E&&typeof h=="object"){if(w.endsWith(y,"{}"))y=n?y:y.slice(0,-2),h=JSON.stringify(h);else if(w.isArray(h)&&mf(h)||(w.isFileList(h)||w.endsWith(y,"[]"))&&(S=w.toArray(h)))return y=na(y),S.forEach(function(R,C){!(w.isUndefined(R)||R===null)&&t.append(a===!0?Lo([y],C,i):a===null?y:y+"[]",u(R))}),!1}return hn(h)?!0:(t.append(Lo(E,y,i),u(h)),!1)}const d=[],v=Object.assign(vf,{defaultVisitor:l,convertValue:u,isVisitable:hn});function g(h,y){if(!w.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(h),w.forEach(h,function(S,T){(!(w.isUndefined(S)||S===null)&&o.call(t,S,w.isString(T)?T.trim():T,y,v))===!0&&g(S,y?y.concat(T):[T])}),d.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return g(e),t}function $o(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Fn(e,t){this._pairs=[],e&&jr(e,this,t)}const oa=Fn.prototype;oa.append=function(t,r){this._pairs.push([t,r])};oa.toString=function(t){const r=t?function(n){return t.call(this,n,$o)}:$o;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function gf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ia(e,t,r){if(!t)return e;const n=r&&r.encode||gf,o=r&&r.serialize;let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new Fn(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Fo{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(n){n!==null&&t(n)})}}const aa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yf=typeof URLSearchParams<"u"?URLSearchParams:Fn,bf=typeof FormData<"u"?FormData:null,Ef=typeof Blob<"u"?Blob:null,wf={isBrowser:!0,classes:{URLSearchParams:yf,FormData:bf,Blob:Ef},protocols:["http","https","file","blob","url","data"]},sa=typeof window<"u"&&typeof document<"u",Of=(e=>sa&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),xf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Tf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sa,hasStandardBrowserEnv:Of,hasStandardBrowserWebWorkerEnv:xf},Symbol.toStringTag,{value:"Module"})),Le={...Tf,...wf};function Sf(e,t){return jr(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Le.isNode&&w.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Cf(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Rf(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function ca(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=i>=r.length;return a=!a&&w.isArray(o)?o.length:a,c?(w.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!s):((!o[a]||!w.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&w.isArray(o[a])&&(o[a]=Rf(o[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const r={};return w.forEachEntry(e,(n,o)=>{t(Cf(n),o,r,0)}),r}return null}function _f(e,t,r){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Gt={transitional:aa,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(ca(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Sf(t,this.formSerializer).toString();if((s=w.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return jr(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),_f(t)):t}],transformResponse:[function(t){const r=this.transitional||Gt.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&w.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?G.from(s,G.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Gt.headers[e]={}});const Pf=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Af=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
230
|
+
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&Pf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Uo=Symbol("internals");function kt(e){return e&&String(e).trim().toLowerCase()}function fr(e){return e===!1||e==null?e:w.isArray(e)?e.map(fr):String(e)}function Mf(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const jf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Yr(e,t,r,n,o){if(w.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!w.isString(t)){if(w.isString(n))return t.indexOf(n)!==-1;if(w.isRegExp(n))return n.test(t)}}function kf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Nf(e,t){const r=w.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,a){return this[n].call(this,t,o,i,a)},configurable:!0})})}class Ne{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(s,c,u){const l=kt(c);if(!l)throw new Error("header name must be a non-empty string");const d=w.findKey(o,l);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||c]=fr(s))}const a=(s,c)=>w.forEach(s,(u,l)=>i(u,l,c));return w.isPlainObject(t)||t instanceof this.constructor?a(t,r):w.isString(t)&&(t=t.trim())&&!jf(t)?a(Af(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=kt(t),t){const n=w.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Mf(o);if(w.isFunction(r))return r.call(this,o,n);if(w.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=kt(t),t){const n=w.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Yr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=kt(a),a){const s=w.findKey(n,a);s&&(!r||Yr(n,n[s],s,r))&&(delete n[s],o=!0)}}return w.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||Yr(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return w.forEach(this,(o,i)=>{const a=w.findKey(n,i);if(a){r[a]=fr(o),delete r[i];return}const s=t?kf(i):String(i).trim();s!==i&&delete r[i],r[s]=fr(o),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return w.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&w.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
231
231
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Uo]=this[Uo]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=kt(a);n[s]||(Nf(o,a),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(Ne.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});w.freezeMethods(Ne);function Gr(e,t){const r=this||Gt,n=t||r,o=Ne.from(n.headers);let i=n.data;return w.forEach(e,function(s){i=s.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ua(e){return!!(e&&e.__CANCEL__)}function Kt(e,t,r){G.call(this,e??"canceled",G.ERR_CANCELED,t,r),this.name="CanceledError"}w.inherits(Kt,G,{__CANCEL__:!0});function If(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Df=Le.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];w.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),w.isString(n)&&a.push("path="+n),w.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Lf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $f(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function la(e,t){return e&&!Lf(t)?$f(e,t):t}const Ff=Le.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let a=i;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(a){const s=w.isString(a)?o(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}();function Uf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=n[i];a||(a=u),r[o]=c,n[o]=u;let d=i,v=0;for(;d!==o;)v+=r[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-a<t)return;const g=l&&u-l;return g?Math.round(v*1e3/g):void 0}}function Bo(e,t){let r=0;const n=Bf(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,c=n(s),u=i<=a;r=i;const l={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&u?(a-i)/c:void 0,event:o};l[t?"download":"upload"]=!0,e(l)}}const zf=typeof XMLHttpRequest<"u",Hf=zf&&function(e){return new Promise(function(r,n){let o=e.data;const i=Ne.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,c;function u(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let l;if(w.isFormData(o)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((l=i.getContentType())!==!1){const[y,...E]=l?l.split(";").map(S=>S.trim()).filter(Boolean):[];i.setContentType([y||"multipart/form-data",...E].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(y+":"+E))}const v=la(e.baseURL,e.url);d.open(e.method.toUpperCase(),ia(v,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function g(){if(!d)return;const y=Ne.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:y,config:e,request:d};If(function(R){r(R),u()},function(R){n(R),u()},S),d=null}if("onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(g)},d.onabort=function(){d&&(n(new G("Request aborted",G.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new G("Network Error",G.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||aa;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),n(new G(E,S.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,d)),d=null},Le.hasStandardBrowserEnv&&(s&&w.isFunction(s)&&(s=s(e)),s||s!==!1&&Ff(v))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&Df.read(e.xsrfCookieName);y&&i.set(e.xsrfHeaderName,y)}o===void 0&&i.setContentType(null),"setRequestHeader"in d&&w.forEach(i.toJSON(),function(E,S){d.setRequestHeader(S,E)}),w.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Bo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Bo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=y=>{d&&(n(!y||y.type?new Kt(null,e,d):y),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const h=Uf(v);if(h&&Le.protocols.indexOf(h)===-1){n(new G("Unsupported protocol "+h+":",G.ERR_BAD_REQUEST,e));return}d.send(o||null)})},mn={http:hf,xhr:Hf};w.forEach(mn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zo=e=>`- ${e}`,Vf=e=>w.isFunction(e)||e===null||e===!1,fa={getAdapter:e=>{e=w.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Vf(r)&&(n=mn[(a=String(r)).toLowerCase()],n===void 0))throw new G(`Unknown adapter '${a}'`);if(n)break;o[a||"#"+i]=n}if(!n){const i=Object.entries(o).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
232
232
|
`+i.map(zo).join(`
|
|
233
233
|
`):" "+zo(i[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:mn};function Kr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Kt(null,e)}function Ho(e){return Kr(e),e.headers=Ne.from(e.headers),e.data=Gr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),fa.getAdapter(e.adapter||Gt.adapter)(e).then(function(n){return Kr(e),n.data=Gr.call(e,e.transformResponse,n),n.headers=Ne.from(n.headers),n},function(n){return ua(n)||(Kr(e),n&&n.response&&(n.response.data=Gr.call(e,e.transformResponse,n.response),n.response.headers=Ne.from(n.response.headers))),Promise.reject(n)})}const Vo=e=>e instanceof Ne?{...e}:e;function Tt(e,t){t=t||{};const r={};function n(u,l,d){return w.isPlainObject(u)&&w.isPlainObject(l)?w.merge.call({caseless:d},u,l):w.isPlainObject(l)?w.merge({},l):w.isArray(l)?l.slice():l}function o(u,l,d){if(w.isUndefined(l)){if(!w.isUndefined(u))return n(void 0,u,d)}else return n(u,l,d)}function i(u,l){if(!w.isUndefined(l))return n(void 0,l)}function a(u,l){if(w.isUndefined(l)){if(!w.isUndefined(u))return n(void 0,u)}else return n(void 0,l)}function s(u,l,d){if(d in t)return n(u,l);if(d in e)return n(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,l)=>o(Vo(u),Vo(l),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=c[l]||o,v=d(e[l],t[l],l);w.isUndefined(v)&&d!==s||(r[l]=v)}),r}const da="1.6.8",Un={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Un[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Wo={};Un.transitional=function(t,r,n){function o(i,a){return"[Axios v"+da+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,s)=>{if(t===!1)throw new G(o(a," has been removed"+(r?" in "+r:"")),G.ERR_DEPRECATED);return r&&!Wo[a]&&(Wo[a]=!0,console.warn(o(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,s):!0}};function Wf(e,t,r){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const s=e[i],c=s===void 0||a(s,i,e);if(c!==!0)throw new G("option "+i+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new G("Unknown option "+i,G.ERR_BAD_OPTION)}}const vn={assertOptions:Wf,validators:Un},Ke=vn.validators;class ct{constructor(t){this.defaults=t,this.interceptors={request:new Fo,response:new Fo}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
234
|
-
`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Tt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&vn.assertOptions(n,{silentJSONParsing:Ke.transitional(Ke.boolean),forcedJSONParsing:Ke.transitional(Ke.boolean),clarifyTimeoutError:Ke.transitional(Ke.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:vn.assertOptions(o,{encode:Ke.function,serialize:Ke.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&w.merge(i.common,i[r.method]);i&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=Ne.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(c=c&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let l,d=0,v;if(!c){const h=[Ho.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),v=h.length,l=Promise.resolve(r);d<v;)l=l.then(h[d++],h[d++]);return l}v=s.length;let g=r;for(d=0;d<v;){const h=s[d++],y=s[d++];try{g=h(g)}catch(E){y.call(this,E);break}}try{l=Ho.call(this,g)}catch(h){return Promise.reject(h)}for(d=0,v=u.length;d<v;)l=l.then(u[d++],u[d++]);return l}getUri(t){t=Tt(this.defaults,t);const r=la(t.baseURL,t.url);return ia(r,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){ct.prototype[t]=function(r,n){return this.request(Tt(n||{},{method:t,url:r,data:(n||{}).data}))}});w.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,s){return this.request(Tt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}ct.prototype[t]=r(),ct.prototype[t+"Form"]=r(!0)});class Bn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new Kt(i,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Bn(function(o){t=o}),cancel:t}}}function
|
|
234
|
+
`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Tt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&vn.assertOptions(n,{silentJSONParsing:Ke.transitional(Ke.boolean),forcedJSONParsing:Ke.transitional(Ke.boolean),clarifyTimeoutError:Ke.transitional(Ke.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:vn.assertOptions(o,{encode:Ke.function,serialize:Ke.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let a=i&&w.merge(i.common,i[r.method]);i&&w.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=Ne.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(c=c&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let l,d=0,v;if(!c){const h=[Ho.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),v=h.length,l=Promise.resolve(r);d<v;)l=l.then(h[d++],h[d++]);return l}v=s.length;let g=r;for(d=0;d<v;){const h=s[d++],y=s[d++];try{g=h(g)}catch(E){y.call(this,E);break}}try{l=Ho.call(this,g)}catch(h){return Promise.reject(h)}for(d=0,v=u.length;d<v;)l=l.then(u[d++],u[d++]);return l}getUri(t){t=Tt(this.defaults,t);const r=la(t.baseURL,t.url);return ia(r,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){ct.prototype[t]=function(r,n){return this.request(Tt(n||{},{method:t,url:r,data:(n||{}).data}))}});w.forEach(["post","put","patch"],function(t){function r(n){return function(i,a,s){return this.request(Tt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}ct.prototype[t]=r(),ct.prototype[t+"Form"]=r(!0)});class Bn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,s){n.reason||(n.reason=new Kt(i,a,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Bn(function(o){t=o}),cancel:t}}}function qf(e){return function(r){return e.apply(null,r)}}function Yf(e){return w.isObject(e)&&e.isAxiosError===!0}const gn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(gn).forEach(([e,t])=>{gn[t]=e});function pa(e){const t=new ct(e),r=Yi(ct.prototype.request,t);return w.extend(r,ct.prototype,t,{allOwnKeys:!0}),w.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return pa(Tt(e,o))},r}const de=pa(Gt);de.Axios=ct;de.CanceledError=Kt;de.CancelToken=Bn;de.isCancel=ua;de.VERSION=da;de.toFormData=jr;de.AxiosError=G;de.Cancel=de.CanceledError;de.all=function(t){return Promise.all(t)};de.spread=qf;de.isAxiosError=Yf;de.mergeConfig=Tt;de.AxiosHeaders=Ne;de.formToJSON=e=>ca(w.isHTMLForm(e)?new FormData(e):e);de.getAdapter=fa.getAdapter;de.HttpStatusCode=gn;de.default=de;/*!
|
|
235
235
|
* cookie
|
|
236
236
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
237
237
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
238
238
|
* MIT Licensed
|
|
239
|
-
*/var ha=Kf,
|
|
239
|
+
*/var ha=Kf,qo=Jf,Gf=Object.prototype.toString,nr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Kf(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},o=n.decode||Xf,i=0;i<e.length;){var a=e.indexOf("=",i);if(a===-1)break;var s=e.indexOf(";",i);if(s===-1)s=e.length;else if(s<a){i=e.lastIndexOf(";",a-1)+1;continue}var c=e.slice(i,a).trim();if(r[c]===void 0){var u=e.slice(a+1,s).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),r[c]=ed(u,o)}i=s+1}return r}function Jf(e,t,r){var n=r||{},o=n.encode||Zf;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!nr.test(e))throw new TypeError("argument name is invalid");var i=o(t);if(i&&!nr.test(i))throw new TypeError("argument val is invalid");var a=e+"="+i;if(n.maxAge!=null){var s=n.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(s)}if(n.domain){if(!nr.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!nr.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){var c=n.expires;if(!Qf(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+c.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.partitioned&&(a+="; Partitioned"),n.priority){var u=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(u){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(n.sameSite){var l=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(l){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a}function Xf(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function Zf(e){return encodeURIComponent(e)}function Qf(e){return Gf.call(e)==="[object Date]"||e instanceof Date}function ed(e,t){try{return t(e)}catch{return e}}function td(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function rd(e){return typeof e=="string"?ha(e):typeof e=="object"&&e!==null?e:{}}function Jr(e,t={}){const r=nd(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function nd(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class od{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const o=this.cookies;this.cookies=ha(document.cookie),this._checkChanges(o)};const n=typeof document>"u"?"":document.cookie;this.cookies=rd(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=td()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:Jr(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),Jr(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=Jr(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const o=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:o}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=qo(t,o,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=qo(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}const id=q.createContext(new od);var yn={exports:{}},ne={};/** @license React v16.13.1
|
|
240
240
|
* react-is.production.min.js
|
|
241
241
|
*
|
|
242
242
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
243
243
|
*
|
|
244
244
|
* This source code is licensed under the MIT license found in the
|
|
245
245
|
* LICENSE file in the root directory of this source tree.
|
|
246
|
-
*/var
|
|
246
|
+
*/var Yo;function ad(){if(Yo)return ne;Yo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(p){if(typeof p=="object"&&p!==null){var A=p.$$typeof;switch(A){case t:switch(p=p.type,p){case c:case u:case n:case i:case o:case d:return p;default:switch(p=p&&p.$$typeof,p){case s:case l:case h:case g:case a:return p;default:return A}}case r:return A}}}function C(p){return R(p)===u}return ne.AsyncMode=c,ne.ConcurrentMode=u,ne.ContextConsumer=s,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=l,ne.Fragment=n,ne.Lazy=h,ne.Memo=g,ne.Portal=r,ne.Profiler=i,ne.StrictMode=o,ne.Suspense=d,ne.isAsyncMode=function(p){return C(p)||R(p)===c},ne.isConcurrentMode=C,ne.isContextConsumer=function(p){return R(p)===s},ne.isContextProvider=function(p){return R(p)===a},ne.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},ne.isForwardRef=function(p){return R(p)===l},ne.isFragment=function(p){return R(p)===n},ne.isLazy=function(p){return R(p)===h},ne.isMemo=function(p){return R(p)===g},ne.isPortal=function(p){return R(p)===r},ne.isProfiler=function(p){return R(p)===i},ne.isStrictMode=function(p){return R(p)===o},ne.isSuspense=function(p){return R(p)===d},ne.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===u||p===i||p===o||p===d||p===v||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===g||p.$$typeof===a||p.$$typeof===s||p.$$typeof===l||p.$$typeof===E||p.$$typeof===S||p.$$typeof===T||p.$$typeof===y)},ne.typeOf=R,ne}var oe={};/** @license React v16.13.1
|
|
247
247
|
* react-is.development.js
|
|
248
248
|
*
|
|
249
249
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
250
250
|
*
|
|
251
251
|
* This source code is licensed under the MIT license found in the
|
|
252
252
|
* LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/var Go;function sd(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===u||b===i||b===o||b===d||b===v||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===y)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case u:case n:case i:case o:case d:return _e;default:var je=_e&&_e.$$typeof;switch(je){case s:case l:case h:case g:case a:return je;default:return ge}}case r:return ge}}}var p=c,A=u,k=s,J=a,Z=t,K=l,ie=n,le=h,V=g,X=r,Q=i,ae=o,ue=d,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===u}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function M(b){return C(b)===l}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===g}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===d}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=le,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=we,oe.isConcurrentMode=O,oe.isContextConsumer=_,oe.isContextProvider=L,oe.isElement=$,oe.isForwardRef=M,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=D,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=fe,oe.isValidElementType=R,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?yn.exports=ad():yn.exports=sd();var cd=yn.exports,ma=cd,ud={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ld={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},va={};va[ma.ForwardRef]=ud;va[ma.Memo]=ld;function fd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function zn(e){const t=m.useContext(id);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=m.useState(()=>t.getAll({doNotUpdate:!0}));fd()&&m.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});dd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=m.useMemo(()=>t.set.bind(t),[t]),i=m.useMemo(()=>t.remove.bind(t),[t]),a=m.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function dd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const pd=()=>{const{axiosInstance:e,cookieDomain:t}=m.useContext(En),[,r,n]=zn(["Authorization"]),o=m.useCallback(()=>localStorage.getItem("token")??null,[]),i=m.useCallback(()=>{const c=o();return c!==null&&c.length>0},[o]),a=m.useCallback(async(c,u)=>e.post("/user/login",{kid:c,password:u}).then(l=>(localStorage.setItem("token",l.data),r("Authorization",l.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:Ga(new Date(Date.now()),24)}),l.data)).catch(l=>(console.log(l),null)),[e,r,t]),s=m.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:i,login:a,logout:s,getToken:o}};/*! @azure/msal-react v2.0.16 2024-05-07 */const hd={instance:Ml,inProgress:_r.None,accounts:[],logger:new wr({})},Hn=Y.createContext(hd);Hn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function md(e,t){return typeof e=="function"?e(t):e}function vd(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function ga(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const Vn=()=>m.useContext(Hn);/*! @azure/msal-react v2.0.16 2024-05-07 */function gd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!ga(e,t):e.length>0}function ya(e){const{accounts:t,inProgress:r}=Vn();return m.useMemo(()=>r===_r.Startup?!1:gd(t,e),[t,r,e])}const yd=()=>{const[,,e]=zn(["Authorization"]),{storedToken:t,msalScopes:r}=m.useContext(Wn),{instance:n,inProgress:o}=Vn(),i=ya(),a=m.useCallback(()=>t,[t]),s=m.useCallback(()=>i,[i]),c=m.useCallback(async()=>n.loginRedirect({scopes:r}).then(()=>"").catch(()=>null),[n,r]),u=m.useCallback(()=>{n.logout(),localStorage.removeItem("user"),e("Authorization")},[e,n]);return{isAuthenticated:s,isAuthenticating:!i&&o!==_r.None,login:c,logout:u,getToken:a}},ba=()=>{const{useMsal:e}=m.useContext(Wn),t=pd(),r=yd();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}};let or;const bd=new Uint8Array(16);function Ed(){if(!or&&(or=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!or))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return or(bd)}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function wd(e,t=0){return Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]}const Od=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ko={randomUUID:Od};function xd(e,t,r){if(Ko.randomUUID&&!t&&!e)return Ko.randomUUID();e=e||{};const n=e.random||(e.rng||Ed)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wd(n)}const Td="_toast_1s57i_1",Nt={toast:Td},Sd=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},Ea=()=>({addNotification:(t,r)=>{const n=xd(),o=bn.truncateText(t),i=Sd(r),a=j.jsxs(j.Fragment,{children:[o,j.jsx(ni,{onClick:()=>gt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{gt(a,{id:n,duration:i,position:"top-center",icon:j.jsx(ri,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",Nt.toast)});break}case"danger":{gt(a,{id:n,duration:i,position:"top-center",icon:j.jsx(ls,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",Nt.toast)});break}case"warning":{gt(a,{id:n,duration:i,position:"top-center",icon:j.jsx(is,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",Nt.toast)});break}case"info":{gt(a,{id:n,duration:i,position:"top-center",icon:j.jsx(cs,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",Nt.toast)});break}case"prompt":{gt(a,{id:n,duration:i,position:"top-center",icon:j.jsx(us,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",Nt.toast)});break}}}}),Cd=de.CancelToken,Rd=(e=!0,t=void 0)=>{const{axiosInstance:r,language:n,axiosTexts:o}=m.useContext(En),{addNotification:i}=Ea(),{getToken:a}=ba();return m.useEffect(()=>{t&&(r.defaults.baseURL=t),r.interceptors.request.clear(),r.interceptors.response.clear();const s=r.interceptors.request.use(u=>{var l,d,v;return e&&!u.headers.Authorization&&(u.headers.Authorization=`Bearer ${a()}`),(l=u.url)!=null&&l.includes("culture=")?u.url=(d=u.url)==null?void 0:d.replace(/culture=[a-z]{2}/,`culture=${n}`):u.url=`${u.url}${(v=u.url)!=null&&v.includes("?")?"&":"?"}culture=${n}`,u},u=>Promise.reject(u)),c=r.interceptors.response.use(u=>u,u=>{if(de.isCancel(u))return Promise.reject(u);const l=bn.extractErrorsFromResponse(u);if(l.length>0){const d=l.find(v=>v.name.toLowerCase()==="others");return d?(i(d.errors,"danger"),Promise.reject(u)):(i(o.validationError,"warning"),Promise.reject(u))}return u.message&&u.message==="Network Error"?(i(o.networkError,"danger"),Promise.reject(u)):(de.isCancel(u)||i(o.unexpectedError,"danger"),Promise.reject(u))});return()=>{r.interceptors.request.eject(s),r.interceptors.response.eject(c)}},[r,i,n,a,e,o,t]),r},Wn=m.createContext({useMsal:!1,storedToken:null,msalInstance:null,msalScopes:[]}),_d="_h1_14r4v_1",Pd="_h3_14r4v_8",Ad="_h6_14r4v_15",jd="_subtitle_14r4v_22",Md="_body_14r4v_29",kd="_body2_14r4v_36",Nd="_caption_14r4v_43",Id="_form-label_14r4v_50",Je={h1:_d,h3:Pd,h6:Ad,subtitle:jd,body:Md,body2:kd,caption:Nd,"form-label":"_form-label_14r4v_50",formLabel:Id},Dd=({variant:e,className:t,children:r})=>{switch(e){case"h1":return j.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Je.h1,t),children:r});case"h3":return j.jsx("h3",{className:ce("luminus-text luminus-h3",Je.h3,t),children:r});case"h6":return j.jsx("h6",{className:ce("luminus-text luminus-h6",Je.h6,t),children:r});case"subtitle":return j.jsx("div",{className:ce("luminus-text luminus-subtitle",Je.subtitle,t),children:r});case"body":return j.jsx("div",{className:ce("luminus-text luminus-body",Je.body,t),children:r});case"body2":return j.jsx("div",{className:ce("luminus-text luminus-body2",Je.body2,t),children:r});case"caption":return j.jsx("div",{className:ce("luminus-text-muted luminus-caption",Je.caption,t),children:r});case"form-label":return j.jsx("div",{className:ce("luminus-text luminus-form-label",Je.formLabel,t),children:r});default:return j.jsx(j.Fragment,{children:r})}},wa=({variant:e,className:t,children:r})=>j.jsx(Dd,{variant:e,className:t,children:r}),Ld="_button_qhwih_1",$d={button:Ld},Fd=m.forwardRef(({color:e="primary",icon:t=j.jsx(ys,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>j.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,$d.button),...a,children:[t,r]})),Ud="_avatar-icon_1axl6_1",Bd={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:Ud},Oa=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return j.jsx(Wi,{placement:"bottom",overlay:j.jsx(Dn,{children:e}),children:j.jsx("div",{className:ce("luminus-avatar-icon",Bd.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,height:r??void 0,width:r??void 0},children:j.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},zd=m.forwardRef(({userName:e,onClick:t,children:r},n)=>j.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[j.jsx(Oa,{name:e}),r]})),Hd="_floating-label_131i6_1",Vd="_without-label_131i6_21",Jo={"floating-label":"_floating-label_131i6_1",floatingLabel:Hd,"without-label":"_without-label_131i6_21",withoutLabel:Vd},xa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?j.jsx(j.Fragment,{children:t}):j.jsx(Nn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Jo.floatingLabel,{[i??""]:i},{[Jo.withoutLabel]:s.withoutLabel}),children:t}));xa.displayName="FloatingLabelInput";const Wd="_row-label-input_1je4a_1",Yd="_label_1je4a_4",qd="_input-container_1je4a_9",Gd="_keep-check-label_1je4a_56",Kd="_is-invalid_1je4a_59",It={"row-label-input":"_row-label-input_1je4a_1",rowLabelInput:Wd,label:Yd,"input-container":"_input-container_1je4a_9",inputContainer:qd,"keep-check-label":"_keep-check-label_1je4a_56",keepCheckLabel:Gd,"is-invalid":"_is-invalid_1je4a_59",isInvalid:Kd},Ta=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,...a},s)=>j.jsxs("div",{ref:s,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[It.isInvalid]:n},{[r??""]:r},{"d-none":e},It.rowLabelInput),children:[!a.withoutLabel&&j.jsx("label",{className:ce("label col-6",It.label),children:j.jsx(wa,{variant:"form-label",className:n?"text-danger":"",children:a.label})}),j.jsx("div",{className:ce("input-container",It.inputContainer,{"col-6":!a.withoutLabel},{"col-12":a.withoutLabel},{[It.keepCheckLabel]:o},{[i??""]:i}),children:t})]}));Ta.displayName="RowLabelInput";const Sa=m.forwardRef(({children:e,className:t,hidden:r},n)=>j.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));Sa.displayName="NoInputContainer";exports.AuthContext=Wn;exports.AuthError=Rr;exports.AvatarIcon=Oa;exports.CacheAccountType=Cl;exports.ConfirmContext=xl;exports.Constants=he;exports.ENTERED=Qe;exports.ENTERING=He;exports.EXITED=Xe;exports.EXITING=mr;exports.Fade=yr;exports.FloatingLabel=Nn;exports.FloatingLabelInput=xa;exports.FormContext=Ii;exports.FormGroup=kn;exports.GenIcon=ve;exports.Ie=cc;exports.InteractionStatus=_r;exports.LoadingContext=Tl;exports.LuminusComponentsContext=En;exports.MdCheck=ns;exports.MdClear=rs;exports.MdOutlineAddCircleOutline=fs;exports.MdOutlineArrowOutward=os;exports.MdOutlineCameraAlt=ms;exports.MdOutlineCheck=ri;exports.MdOutlineChevronRight=gs;exports.MdOutlineClose=ni;exports.MdOutlineDelete=as;exports.MdOutlineEdit=vs;exports.MdOutlineExpand=ss;exports.MdOutlineFileUpload=ds;exports.MdOutlineKeyboardArrowLeft=ps;exports.MdOutlineKeyboardArrowRight=hs;exports.MsalContext=Hn;exports.NoInputContainer=Sa;exports.OIDC_DEFAULT_SCOPES=Yi;exports.OverlayTrigger=Wi;exports.Popover=zi;exports.PromptContext=uc;exports.PropTypes=z;exports.RowLabelInput=Ta;exports.Separators=Rl;exports.SimpleDropdownToggle=Fd;exports.Tooltip=Dn;exports.TransitionWrapper=gi;exports.Typography=wa;exports.UserAvatarToggle=zd;exports.UserContext=Sl;exports.WrapperSKU=_l;exports.accountArraysAreEqual=vd;exports.addEventListener=di;exports.canUseDOM=Sr;exports.cancelToken=Cd;exports.classNames=ce;exports.constructFrom=Qo;exports.contains=Er;exports.getAccountByIdentifiers=ga;exports.getChildrenOrFunction=md;exports.getDefaultExportFromCjs=Or;exports.hasClass=dn;exports.isEscKey=Di;exports.jsxRuntimeExports=j;exports.listen=et;exports.mergeOptionsWithPopperConfig=Mi;exports.ownerDocument=Vt;exports.removeEventListener=pi;exports.renderTransition=Li;exports.style=On;exports.toDate=Zo;exports.transitionEnd=hi;exports.transitionEndListener=mi;exports.triggerBrowserReflow=vi;exports.useAuth=ba;exports.useAxios=Rd;exports.useBootstrapBreakpoints=vc;exports.useBootstrapMinBreakpoint=gc;exports.useBootstrapPrefix=tt;exports.useCallbackRef=sn;exports.useClickOutside=ji;exports.useCookies=zn;exports.useEventCallback=ut;exports.useIsAuthenticated=ya;exports.useIsRTL=wn;exports.useIsomorphicEffect=gr;exports.useMergedRefs=ot;exports.useMounted=Tn;exports.useMsal=Vn;exports.useNotifications=Ea;exports.usePopper=Pi;exports.useUncontrolled=dc;exports.useWaitForDOMRef=fn;exports.useWillUnmount=yi;exports.useWindow=Ni;exports.warning=Mn;
|
|
253
|
+
*/var Go;function sd(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===u||b===i||b===o||b===d||b===v||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===y)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case u:case n:case i:case o:case d:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case l:case h:case g:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=u,k=s,J=a,Z=t,K=l,ie=n,le=h,V=g,X=r,Q=i,ae=o,ue=d,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===u}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===l}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===g}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===d}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=le,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=we,oe.isConcurrentMode=O,oe.isContextConsumer=_,oe.isContextProvider=L,oe.isElement=$,oe.isForwardRef=j,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=D,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=fe,oe.isValidElementType=R,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?yn.exports=ad():yn.exports=sd();var cd=yn.exports,ma=cd,ud={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ld={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},va={};va[ma.ForwardRef]=ud;va[ma.Memo]=ld;function fd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function zn(e){const t=m.useContext(id);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=m.useState(()=>t.getAll({doNotUpdate:!0}));fd()&&m.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});dd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=m.useMemo(()=>t.set.bind(t),[t]),i=m.useMemo(()=>t.remove.bind(t),[t]),a=m.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function dd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const pd=()=>{const{axiosInstance:e,cookieDomain:t}=m.useContext(En),[,r,n]=zn(["Authorization"]),o=m.useCallback(()=>localStorage.getItem("token")??null,[]),i=m.useCallback(()=>{const c=o();return c!==null&&c.length>0},[o]),a=m.useCallback(async(c,u)=>e.post("/user/login",{kid:c,password:u}).then(l=>(localStorage.setItem("token",l.data),r("Authorization",l.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:Ga(new Date(Date.now()),24)}),l.data)).catch(l=>(console.log(l),null)),[e,r,t]),s=m.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:i,login:a,logout:s,getToken:o}};/*! @azure/msal-react v2.0.16 2024-05-07 */const hd={instance:jl,inProgress:_r.None,accounts:[],logger:new wr({})},Hn=q.createContext(hd);Hn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function md(e,t){return typeof e=="function"?e(t):e}function vd(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function ga(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const Vn=()=>m.useContext(Hn);/*! @azure/msal-react v2.0.16 2024-05-07 */function gd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!ga(e,t):e.length>0}function ya(e){const{accounts:t,inProgress:r}=Vn();return m.useMemo(()=>r===_r.Startup?!1:gd(t,e),[t,r,e])}const yd=()=>{const[,,e]=zn(["Authorization"]),{storedToken:t,msalScopes:r}=m.useContext(Wn),{instance:n,inProgress:o}=Vn(),i=ya(),a=m.useCallback(()=>t,[t]),s=m.useCallback(()=>i,[i]),c=m.useCallback(async()=>n.loginRedirect({scopes:r}).then(()=>"").catch(()=>null),[n,r]),u=m.useCallback(()=>{n.logout(),localStorage.removeItem("user"),e("Authorization")},[e,n]);return{isAuthenticated:s,isAuthenticating:!i&&o!==_r.None,login:c,logout:u,getToken:a}},ba=()=>{const{useMsal:e}=m.useContext(Wn),t=pd(),r=yd();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}};let or;const bd=new Uint8Array(16);function Ed(){if(!or&&(or=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!or))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return or(bd)}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function wd(e,t=0){return Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]}const Od=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ko={randomUUID:Od};function xd(e,t,r){if(Ko.randomUUID&&!t&&!e)return Ko.randomUUID();e=e||{};const n=e.random||(e.rng||Ed)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,wd(n)}const Td="_toast_1s57i_1",Nt={toast:Td},Sd=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},Ea=()=>({addNotification:(t,r)=>{const n=xd(),o=bn.truncateText(t),i=Sd(r),a=M.jsxs(M.Fragment,{children:[o,M.jsx(ni,{onClick:()=>gt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{gt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(ri,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",Nt.toast)});break}case"danger":{gt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(ls,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",Nt.toast)});break}case"warning":{gt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(is,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",Nt.toast)});break}case"info":{gt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(cs,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",Nt.toast)});break}case"prompt":{gt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(us,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",Nt.toast)});break}}}}),Cd=de.CancelToken,Rd=(e=!0,t=void 0)=>{const{axiosInstance:r,language:n,axiosTexts:o}=m.useContext(En),{addNotification:i}=Ea(),{getToken:a}=ba();return m.useEffect(()=>{t&&(r.defaults.baseURL=t),r.interceptors.request.clear(),r.interceptors.response.clear();const s=r.interceptors.request.use(u=>{var l,d,v;return e&&!u.headers.Authorization&&(u.headers.Authorization=`Bearer ${a()}`),(l=u.url)!=null&&l.includes("culture=")?u.url=(d=u.url)==null?void 0:d.replace(/culture=[a-z]{2}/,`culture=${n}`):u.url=`${u.url}${(v=u.url)!=null&&v.includes("?")?"&":"?"}culture=${n}`,u},u=>Promise.reject(u)),c=r.interceptors.response.use(u=>u,u=>{if(de.isCancel(u))return Promise.reject(u);const l=bn.extractErrorsFromResponse(u);if(l.length>0){const d=l.find(v=>v.name.toLowerCase()==="others");return d?(i(d.errors,"danger"),Promise.reject(u)):(i(o.validationError,"warning"),Promise.reject(u))}return u.message&&u.message==="Network Error"?(i(o.networkError,"danger"),Promise.reject(u)):(de.isCancel(u)||i(o.unexpectedError,"danger"),Promise.reject(u))});return()=>{r.interceptors.request.eject(s),r.interceptors.response.eject(c)}},[r,i,n,a,e,o,t]),r},Wn=m.createContext({useMsal:!1,storedToken:null,msalInstance:null,msalScopes:[]}),_d="_h1_14r4v_1",Pd="_h3_14r4v_8",Ad="_h6_14r4v_15",Md="_subtitle_14r4v_22",jd="_body_14r4v_29",kd="_body2_14r4v_36",Nd="_caption_14r4v_43",Id="_form-label_14r4v_50",Je={h1:_d,h3:Pd,h6:Ad,subtitle:Md,body:jd,body2:kd,caption:Nd,"form-label":"_form-label_14r4v_50",formLabel:Id},Dd=({variant:e,className:t,children:r})=>{switch(e){case"h1":return M.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Je.h1,t),children:r});case"h3":return M.jsx("h3",{className:ce("luminus-text luminus-h3",Je.h3,t),children:r});case"h6":return M.jsx("h6",{className:ce("luminus-text luminus-h6",Je.h6,t),children:r});case"subtitle":return M.jsx("div",{className:ce("luminus-text luminus-subtitle",Je.subtitle,t),children:r});case"body":return M.jsx("div",{className:ce("luminus-text luminus-body",Je.body,t),children:r});case"body2":return M.jsx("div",{className:ce("luminus-text luminus-body2",Je.body2,t),children:r});case"caption":return M.jsx("div",{className:ce("luminus-text-muted luminus-caption",Je.caption,t),children:r});case"form-label":return M.jsx("div",{className:ce("luminus-text luminus-form-label",Je.formLabel,t),children:r});default:return M.jsx(M.Fragment,{children:r})}},wa=({variant:e,className:t,children:r})=>M.jsx(Dd,{variant:e,className:t,children:r}),Ld="_button_qhwih_1",$d={button:Ld},Fd=m.forwardRef(({color:e="primary",icon:t=M.jsx(ys,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>M.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,$d.button),...a,children:[t,r]})),Ud="_avatar-icon_1axl6_1",Bd={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:Ud},Oa=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return M.jsx(Wi,{placement:"bottom",overlay:M.jsx(Dn,{children:e}),children:M.jsx("div",{className:ce("luminus-avatar-icon",Bd.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,height:r??void 0,width:r??void 0},children:M.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},zd=m.forwardRef(({userName:e,onClick:t,children:r},n)=>M.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[M.jsx(Oa,{name:e}),r]})),Hd="_floating-label_1wbsw_1",Vd="_without-label_1wbsw_21",Jo={"floating-label":"_floating-label_1wbsw_1",floatingLabel:Hd,"without-label":"_without-label_1wbsw_21",withoutLabel:Vd},xa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?M.jsx(M.Fragment,{children:t}):M.jsx(Nn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Jo.floatingLabel,{[i??""]:i},{[Jo.withoutLabel]:s.withoutLabel}),children:t}));xa.displayName="FloatingLabelInput";const Wd="_row-label-input_3qpsd_1",qd="_label_3qpsd_4",Yd="_input-container_3qpsd_9",Gd="_invalid-feedback_3qpsd_71",Kd="_keep-check-label_3qpsd_103",Jd="_is-invalid_3qpsd_106",It={"row-label-input":"_row-label-input_3qpsd_1",rowLabelInput:Wd,label:qd,"input-container":"_input-container_3qpsd_9",inputContainer:Yd,"invalid-feedback":"_invalid-feedback_3qpsd_71",invalidFeedback:Gd,"keep-check-label":"_keep-check-label_3qpsd_103",keepCheckLabel:Kd,"is-invalid":"_is-invalid_3qpsd_106",isInvalid:Jd},Ta=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,...a},s)=>M.jsxs("div",{ref:s,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[It.isInvalid]:n},{[r??""]:r},{"d-none":e},It.rowLabelInput),children:[!a.withoutLabel&&M.jsx("label",{className:ce("label col-6",It.label),children:M.jsx(wa,{variant:"form-label",className:n?"text-danger":"",children:a.label})}),M.jsx("div",{className:ce("input-container",It.inputContainer,{"col-6":!a.withoutLabel},{"col-12":a.withoutLabel},{[It.keepCheckLabel]:o},{[i??""]:i}),children:t})]}));Ta.displayName="RowLabelInput";const Sa=m.forwardRef(({children:e,className:t,hidden:r},n)=>M.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));Sa.displayName="NoInputContainer";exports.AuthContext=Wn;exports.AuthError=Rr;exports.AvatarIcon=Oa;exports.CacheAccountType=Cl;exports.ConfirmContext=xl;exports.Constants=he;exports.ENTERED=Qe;exports.ENTERING=He;exports.EXITED=Xe;exports.EXITING=mr;exports.Fade=yr;exports.FloatingLabel=Nn;exports.FloatingLabelInput=xa;exports.FormContext=Ii;exports.FormGroup=kn;exports.GenIcon=ve;exports.Ie=cc;exports.InteractionStatus=_r;exports.LoadingContext=Tl;exports.LuminusComponentsContext=En;exports.MdCheck=ns;exports.MdClear=rs;exports.MdOutlineAddCircleOutline=fs;exports.MdOutlineArrowOutward=os;exports.MdOutlineCameraAlt=ms;exports.MdOutlineCheck=ri;exports.MdOutlineChevronRight=gs;exports.MdOutlineClose=ni;exports.MdOutlineDelete=as;exports.MdOutlineEdit=vs;exports.MdOutlineExpand=ss;exports.MdOutlineFileUpload=ds;exports.MdOutlineKeyboardArrowLeft=ps;exports.MdOutlineKeyboardArrowRight=hs;exports.MsalContext=Hn;exports.NoInputContainer=Sa;exports.OIDC_DEFAULT_SCOPES=qi;exports.OverlayTrigger=Wi;exports.Popover=zi;exports.PromptContext=uc;exports.PropTypes=z;exports.RowLabelInput=Ta;exports.Separators=Rl;exports.SimpleDropdownToggle=Fd;exports.Tooltip=Dn;exports.TransitionWrapper=gi;exports.Typography=wa;exports.UserAvatarToggle=zd;exports.UserContext=Sl;exports.WrapperSKU=_l;exports.accountArraysAreEqual=vd;exports.addEventListener=di;exports.canUseDOM=Sr;exports.cancelToken=Cd;exports.classNames=ce;exports.constructFrom=Qo;exports.contains=Er;exports.getAccountByIdentifiers=ga;exports.getChildrenOrFunction=md;exports.getDefaultExportFromCjs=Or;exports.hasClass=dn;exports.isEscKey=Di;exports.jsxRuntimeExports=M;exports.listen=et;exports.mergeOptionsWithPopperConfig=ji;exports.ownerDocument=Vt;exports.removeEventListener=pi;exports.renderTransition=Li;exports.style=On;exports.toDate=Zo;exports.transitionEnd=hi;exports.transitionEndListener=mi;exports.triggerBrowserReflow=vi;exports.useAuth=ba;exports.useAxios=Rd;exports.useBootstrapBreakpoints=vc;exports.useBootstrapMinBreakpoint=gc;exports.useBootstrapPrefix=tt;exports.useCallbackRef=sn;exports.useClickOutside=Mi;exports.useCookies=zn;exports.useEventCallback=ut;exports.useIsAuthenticated=ya;exports.useIsRTL=wn;exports.useIsomorphicEffect=gr;exports.useMergedRefs=ot;exports.useMounted=Tn;exports.useMsal=Vn;exports.useNotifications=Ea;exports.usePopper=Pi;exports.useUncontrolled=dc;exports.useWaitForDOMRef=fn;exports.useWillUnmount=yi;exports.useWindow=Ni;exports.warning=jn;
|