react-luminus-components 1.3.30 → 1.3.32
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 +60 -60
- package/dist/FromToDatePickerDropdownToggle-BPfviPUU.cjs +253 -0
- package/dist/{FromToDatePickerDropdownToggle-CK3riYKN.js → FromToDatePickerDropdownToggle-DDOxJCc2.js} +2178 -2568
- package/dist/{PrimaryButton-BOdgT4u0.js → PrimaryButton-B64e5vBv.js} +261 -289
- package/dist/PrimaryButton-BnrFH2PB.cjs +1 -0
- package/dist/SimpleTooltip-BgRjtr0d.js +5 -0
- package/dist/{SimpleTooltip-D92MXZSs.cjs → SimpleTooltip-DIqIPx0H.cjs} +1 -1
- package/dist/components/NewTabs/Tab/Tab.d.ts +5 -5
- package/dist/components/NewTabs/Tabs/Tabs.d.ts +7 -6
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +180 -304
- package/dist/{dateUtils-DqftcSRs.js → dateUtils-C8trxO28.js} +162 -162
- package/dist/dateUtils-ChS-y8JY.cjs +1 -0
- package/dist/hooks/useFormControlType/useFormControlType.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.es.js +37 -35
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +29 -27
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1755 -2126
- package/dist/{searchUtils-DKaMRBRf.cjs → searchUtils-BdYnxcy0.cjs} +1 -1
- package/dist/{searchUtils-BHsouXbH.js → searchUtils-C38WM_G8.js} +1 -1
- package/dist/useLocalStorageState-CFe9QRz0.js +76 -0
- package/dist/useLocalStorageState-asgEpnUg.cjs +1 -0
- package/dist/usePermissions-55of2QBH.js +17 -0
- package/dist/usePermissions-Ce0AAKj1.cjs +1 -0
- package/dist/utils/text/textUtils.d.ts +8 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.d.ts +10 -0
- package/dist/utils.es.js +54 -50
- package/package.json +3 -3
- package/dist/FromToDatePickerDropdownToggle-C4ntsFqz.cjs +0 -253
- package/dist/PrimaryButton-OffsUx-G.cjs +0 -1
- package/dist/SimpleTooltip-D4KGsTa_.js +0 -5
- package/dist/dateUtils-DRVYuJv7.cjs +0 -1
- package/dist/useLocalStorageState-BY8tnvJS.js +0 -74
- package/dist/useLocalStorageState-DmtUyPYX.cjs +0 -1
- package/dist/usePermissions-CYURG0V1.cjs +0 -1
- package/dist/usePermissions-DOWgyuUi.js +0 -15
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
"use strict";const m=require("react"),Yn=require("@azure/msal-browser"),Kn=require("@azure/msal-react");require("zod");require("react-hook-form");require("react-router-dom");const ht=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 mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hr={exports:{}},Tt={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Gn;function Wa(){if(Gn)return Tt;Gn=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,l){var u,f={},y=null,g=null;l!==void 0&&(y=""+l),c.key!==void 0&&(y=""+c.key),c.ref!==void 0&&(g=c.ref);for(u in c)n.call(c,u)&&!i.hasOwnProperty(u)&&(f[u]=c[u]);if(s&&s.defaultProps)for(u in c=s.defaultProps,c)f[u]===void 0&&(f[u]=c[u]);return{$$typeof:t,type:s,key:y,ref:g,props:f,_owner:o.current}}return Tt.Fragment=r,Tt.jsx=a,Tt.jsxs=a,Tt}var St={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Jn;function Va(){return Jn||(Jn=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"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,h="@@iterator";function E(d){if(d===null||typeof d!="object")return null;var T=v&&d[v]||d[h];return typeof T=="function"?T:null}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(d){{for(var T=arguments.length,A=new Array(T>1?T-1:0),F=1;F<T;F++)A[F-1]=arguments[F];S("error",d,A)}}function S(d,T,A){{var F=O.ReactDebugCurrentFrame,ee=F.getStackAddendum();ee!==""&&(T+="%s",A=A.concat([ee]));var se=A.map(function(Y){return String(Y)});se.unshift("Warning: "+T),Function.prototype.apply.call(console[d],console,se)}}var C=!1,p=!1,P=!1,M=!1,J=!1,Z;Z=Symbol.for("react.module.reference");function G(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===i||J||d===o||d===l||d===u||M||d===g||C||p||P||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===f||d.$$typeof===a||d.$$typeof===s||d.$$typeof===c||d.$$typeof===Z||d.getModuleId!==void 0))}function ie(d,T,A){var F=d.displayName;if(F)return F;var ee=T.displayName||T.name||"";return ee!==""?A+"("+ee+")":A}function fe(d){return d.displayName||"Context"}function W(d){if(d==null)return null;if(typeof d.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case l:return"Suspense";case u:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:var T=d;return fe(T)+".Consumer";case a:var A=d;return fe(A._context)+".Provider";case c:return ie(d,d.render,"ForwardRef");case f:var F=d.displayName||null;return F!==null?F:W(d.type)||"Memo";case y:{var ee=d,se=ee._payload,Y=ee._init;try{return W(Y(se))}catch{return null}}}return null}var X=Object.assign,Q=0,ae,ue,ge,ye,x,_,I;function $(){}$.__reactDisabledLog=!0;function k(){{if(Q===0){ae=console.log,ue=console.info,ge=console.warn,ye=console.error,x=console.group,_=console.groupCollapsed,I=console.groupEnd;var d={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}Q++}}function U(){{if(Q--,Q===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},d,{value:ae}),info:X({},d,{value:ue}),warn:X({},d,{value:ge}),error:X({},d,{value:ye}),group:X({},d,{value:x}),groupCollapsed:X({},d,{value:_}),groupEnd:X({},d,{value:I})})}Q<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var D=O.ReactCurrentDispatcher,N;function L(d,T,A){{if(N===void 0)try{throw Error()}catch(ee){var F=ee.stack.trim().match(/\n( *(at )?)/);N=F&&F[1]||""}return`
|
|
18
|
+
`+N+d}}var H=!1,B;{var de=typeof WeakMap=="function"?WeakMap:Map;B=new de}function b(d,T){if(!d||H)return"";{var A=B.get(d);if(A!==void 0)return A}var F;H=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var se;se=D.current,D.current=null,k();try{if(T){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(Ee){F=Ee}Reflect.construct(d,[],Y)}else{try{Y.call()}catch(Ee){F=Ee}d.call(Y.prototype)}}else{try{throw Error()}catch(Ee){F=Ee}d()}}catch(Ee){if(Ee&&F&&typeof Ee.stack=="string"){for(var V=Ee.stack.split(`
|
|
19
|
+
`),be=F.stack.split(`
|
|
20
|
+
`),he=V.length-1,ve=be.length-1;he>=1&&ve>=0&&V[he]!==be[ve];)ve--;for(;he>=1&&ve>=0;he--,ve--)if(V[he]!==be[ve]){if(he!==1||ve!==1)do if(he--,ve--,ve<0||V[he]!==be[ve]){var Ce=`
|
|
21
|
+
`+V[he].replace(" at new "," at ");return d.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",d.displayName)),typeof d=="function"&&B.set(d,Ce),Ce}while(he>=1&&ve>=0);break}}}finally{H=!1,D.current=se,U(),Error.prepareStackTrace=ee}var ft=d?d.displayName||d.name:"",tt=ft?L(ft):"";return typeof d=="function"&&B.set(d,tt),tt}function me(d,T,A){return b(d,!1)}function xe(d){var T=d.prototype;return!!(T&&T.isReactComponent)}function Se(d,T,A){if(d==null)return"";if(typeof d=="function")return b(d,xe(d));if(typeof d=="string")return L(d);switch(d){case l:return L("Suspense");case u:return L("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return me(d.render);case f:return Se(d.type,T,A);case y:{var F=d,ee=F._payload,se=F._init;try{return Se(se(ee),T,A)}catch{}}}return""}var ze=Object.prototype.hasOwnProperty,wt={},Vt=O.ReactDebugCurrentFrame;function st(d){if(d){var T=d._owner,A=Se(d.type,d._source,T?T.type:null);Vt.setExtraStackFrame(A)}else Vt.setExtraStackFrame(null)}function Le(d,T,A,F,ee){{var se=Function.call.bind(ze);for(var Y in d)if(se(d,Y)){var V=void 0;try{if(typeof d[Y]!="function"){var be=Error((F||"React class")+": "+A+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw be.name="Invariant Violation",be}V=d[Y](T,Y,F,A,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(he){V=he}V&&!(V instanceof Error)&&(st(ee),R("%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",A,Y,typeof V),st(null)),V instanceof Error&&!(V.message in wt)&&(wt[V.message]=!0,st(ee),R("Failed %s type: %s",A,V.message),st(null))}}}var ct=Array.isArray;function ut(d){return ct(d)}function qt(d){{var T=typeof Symbol=="function"&&Symbol.toStringTag,A=T&&d[Symbol.toStringTag]||d.constructor.name||"Object";return A}}function Ot(d){try{return xt(d),!1}catch{return!0}}function xt(d){return""+d}function Rt(d){if(Ot(d))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qt(d)),xt(d)}var He=O.ReactCurrentOwner,Yt={key:!0,ref:!0,__self:!0,__source:!0},$n,Fn,Tr;Tr={};function Sa(d){if(ze.call(d,"ref")){var T=Object.getOwnPropertyDescriptor(d,"ref").get;if(T&&T.isReactWarning)return!1}return d.ref!==void 0}function Ca(d){if(ze.call(d,"key")){var T=Object.getOwnPropertyDescriptor(d,"key").get;if(T&&T.isReactWarning)return!1}return d.key!==void 0}function _a(d,T){if(typeof d.ref=="string"&&He.current&&T&&He.current.stateNode!==T){var A=W(He.current.type);Tr[A]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',W(He.current.type),d.ref),Tr[A]=!0)}}function Aa(d,T){{var A=function(){$n||($n=!0,R("%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)",T))};A.isReactWarning=!0,Object.defineProperty(d,"key",{get:A,configurable:!0})}}function Pa(d,T){{var A=function(){Fn||(Fn=!0,R("%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)",T))};A.isReactWarning=!0,Object.defineProperty(d,"ref",{get:A,configurable:!0})}}var ja=function(d,T,A,F,ee,se,Y){var V={$$typeof:t,type:d,key:T,ref:A,props:Y,_owner:se};return V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(V,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(V,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V};function ka(d,T,A,F,ee){{var se,Y={},V=null,be=null;A!==void 0&&(Rt(A),V=""+A),Ca(T)&&(Rt(T.key),V=""+T.key),Sa(T)&&(be=T.ref,_a(T,ee));for(se in T)ze.call(T,se)&&!Yt.hasOwnProperty(se)&&(Y[se]=T[se]);if(d&&d.defaultProps){var he=d.defaultProps;for(se in he)Y[se]===void 0&&(Y[se]=he[se])}if(V||be){var ve=typeof d=="function"?d.displayName||d.name||"Unknown":d;V&&Aa(Y,ve),be&&Pa(Y,ve)}return ja(d,V,be,ee,F,He.current,Y)}}var Sr=O.ReactCurrentOwner,Un=O.ReactDebugCurrentFrame;function lt(d){if(d){var T=d._owner,A=Se(d.type,d._source,T?T.type:null);Un.setExtraStackFrame(A)}else Un.setExtraStackFrame(null)}var Cr;Cr=!1;function _r(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Bn(){{if(Sr.current){var d=W(Sr.current.type);if(d)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+d+"`."}return""}}function Ma(d){return""}var zn={};function Da(d){{var T=Bn();if(!T){var A=typeof d=="string"?d:d.displayName||d.name;A&&(T=`
|
|
24
|
+
|
|
25
|
+
Check the top-level render call using <`+A+">.")}return T}}function Hn(d,T){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var A=Da(T);if(zn[A])return;zn[A]=!0;var F="";d&&d._owner&&d._owner!==Sr.current&&(F=" It was passed a child from "+W(d._owner.type)+"."),lt(d),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',A,F),lt(null)}}function Wn(d,T){{if(typeof d!="object")return;if(ut(d))for(var A=0;A<d.length;A++){var F=d[A];_r(F)&&Hn(F,T)}else if(_r(d))d._store&&(d._store.validated=!0);else if(d){var ee=E(d);if(typeof ee=="function"&&ee!==d.entries)for(var se=ee.call(d),Y;!(Y=se.next()).done;)_r(Y.value)&&Hn(Y.value,T)}}}function Na(d){{var T=d.type;if(T==null||typeof T=="string")return;var A;if(typeof T=="function")A=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===c||T.$$typeof===f))A=T.propTypes;else return;if(A){var F=W(T);Le(A,d.props,"prop",F,d)}else if(T.PropTypes!==void 0&&!Cr){Cr=!0;var ee=W(T);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function La(d){{for(var T=Object.keys(d.props),A=0;A<T.length;A++){var F=T[A];if(F!=="children"&&F!=="key"){lt(d),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),lt(null);break}}d.ref!==null&&(lt(d),R("Invalid attribute `ref` supplied to `React.Fragment`."),lt(null))}}var Vn={};function qn(d,T,A,F,ee,se){{var Y=G(d);if(!Y){var V="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(V+=" 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 be=Ma();be?V+=be:V+=Bn();var he;d===null?he="null":ut(d)?he="array":d!==void 0&&d.$$typeof===t?(he="<"+(W(d.type)||"Unknown")+" />",V=" Did you accidentally export a JSX literal instead of a component?"):he=typeof d,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",he,V)}var ve=ka(d,T,A,ee,se);if(ve==null)return ve;if(Y){var Ce=T.children;if(Ce!==void 0)if(F)if(ut(Ce)){for(var ft=0;ft<Ce.length;ft++)Wn(Ce[ft],d);Object.freeze&&Object.freeze(Ce)}else R("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 Wn(Ce,d)}if(ze.call(T,"key")){var tt=W(d),Ee=Object.keys(T).filter(function(za){return za!=="key"}),Ar=Ee.length>0?"{key: someKey, "+Ee.join(": ..., ")+": ...}":"{key: someKey}";if(!Vn[tt+Ar]){var Ba=Ee.length>0?"{"+Ee.join(": ..., ")+": ...}":"{}";R(`A props object containing a "key" prop is being spread into JSX:
|
|
26
|
+
let props = %s;
|
|
27
|
+
<%s {...props} />
|
|
28
|
+
React keys must be passed directly to JSX without using spread:
|
|
29
|
+
let props = %s;
|
|
30
|
+
<%s key={someKey} {...props} />`,Ar,tt,Ba,tt),Vn[tt+Ar]=!0}}return d===n?La(ve):Na(ve),ve}}function Ia(d,T,A){return qn(d,T,A,!0)}function $a(d,T,A){return qn(d,T,A,!1)}var Fa=$a,Ua=Ia;St.Fragment=n,St.jsx=Fa,St.jsxs=Ua}()),St}process.env.NODE_ENV==="production"?Hr.exports=Wa():Hr.exports=Va();var j=Hr.exports,Wo={exports:{}};/*!
|
|
31
|
+
Copyright (c) 2018 Jed Watson.
|
|
32
|
+
Licensed under the MIT License (MIT), see
|
|
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})()})(Wo);var qa=Wo.exports;const ce=mr(qa);function Vo(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=+Vo(e);return qo(e,r+t)}const Ka=365.2425,Ga=6048e5,Ja=864e5,Xa=6e4,Yo=36e5,Ko=3600,Za=60,dn=Ko*24,Qa=dn*7,Go=dn*Ka,Jo=Go/12,es=Jo*3;function ts(e,t){return Ya(e,t*Yo)}function Wr(){return Wr=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},Wr.apply(this,arguments)}function Xo(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 Xn(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function rs(e){var t=ns(e,"string");return typeof t=="symbol"?t:String(t)}function ns(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 Zo(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(l){for(var u=arguments.length,f=new Array(u>1?u-1:0),y=1;y<u;y++)f[y-1]=arguments[y];r&&r.apply(void 0,[l].concat(f)),a(l)},[r])]}function os(e,t){return Object.keys(t).reduce(function(r,n){var o,i=r,a=i[Xn(n)],s=i[n],c=Xo(i,[Xn(n),n].map(rs)),l=t[n],u=Zo(s,a,e[l]),f=u[0],y=u[1];return Wr({},c,(o={},o[n]=f,o[l]=y,o))},e)}function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Vr(e,t)}function is(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vr(e,t)}const as=["xxl","xl","lg","md","sm","xs"],ss="xs",yr=q.createContext({prefixes:{},breakpoints:as,minBreakpoint:ss});function Je(e,t){const{prefixes:r}=m.useContext(yr);return e||r[t]||t}function cs(){const{breakpoints:e}=m.useContext(yr);return e}function us(){const{minBreakpoint:e}=m.useContext(yr);return e}function pn(){const{dir:e}=m.useContext(yr);return e==="rtl"}function $t(e){return e&&e.ownerDocument||document}function ls(e){var t=$t(e);return t&&t.defaultView||window}function fs(e,t){return ls(e).getComputedStyle(e,t)}var ds=/([A-Z])/g;function ps(e){return e.replace(ds,"-$1").toLowerCase()}var hs=/^ms-/;function Kt(e){return ps(e).replace(hs,"-ms-")}var vs=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function ms(e){return!!(e&&vs.test(e))}function hn(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(Kt(t))||fs(e).getPropertyValue(Kt(t));Object.keys(t).forEach(function(o){var i=t[o];!i&&i!==0?e.style.removeProperty(Kt(o)):ms(o)?n+=o+"("+i+") ":r+=Kt(o)+": "+i+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var qr={exports:{}},Gt={exports:{}},te={};/** @license React v16.13.1
|
|
35
|
+
* react-is.production.min.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Zn;function ys(){if(Zn)return te;Zn=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,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(p){if(typeof p=="object"&&p!==null){var P=p.$$typeof;switch(P){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case v:case g:case a:return p;default:return P}}case r:return P}}}function C(p){return S(p)===l}return te.AsyncMode=c,te.ConcurrentMode=l,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=v,te.Memo=g,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.isAsyncMode=function(p){return C(p)||S(p)===c},te.isConcurrentMode=C,te.isContextConsumer=function(p){return S(p)===s},te.isContextProvider=function(p){return S(p)===a},te.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},te.isForwardRef=function(p){return S(p)===u},te.isFragment=function(p){return S(p)===n},te.isLazy=function(p){return S(p)===v},te.isMemo=function(p){return S(p)===g},te.isPortal=function(p){return S(p)===r},te.isProfiler=function(p){return S(p)===i},te.isStrictMode=function(p){return S(p)===o},te.isSuspense=function(p){return S(p)===f},te.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===g||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===O||p.$$typeof===R||p.$$typeof===h)},te.typeOf=S,te}var re={};/** @license React v16.13.1
|
|
42
|
+
* react-is.development.js
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/var Qn;function gs(){return Qn||(Qn=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,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===v||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===O||b.$$typeof===R||b.$$typeof===h)}function C(b){if(typeof b=="object"&&b!==null){var me=b.$$typeof;switch(me){case t:var xe=b.type;switch(xe){case c:case l:case n:case i:case o:case f:return xe;default:var Se=xe&&xe.$$typeof;switch(Se){case s:case u:case v:case g:case a:return Se;default:return me}}case r:return me}}}var p=c,P=l,M=s,J=a,Z=t,G=u,ie=n,fe=v,W=g,X=r,Q=i,ae=o,ue=f,ge=!1;function ye(b){return ge||(ge=!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.")),x(b)||C(b)===c}function x(b){return C(b)===l}function _(b){return C(b)===s}function I(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function k(b){return C(b)===u}function U(b){return C(b)===n}function D(b){return C(b)===v}function N(b){return C(b)===g}function L(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function de(b){return C(b)===f}re.AsyncMode=p,re.ConcurrentMode=P,re.ContextConsumer=M,re.ContextProvider=J,re.Element=Z,re.ForwardRef=G,re.Fragment=ie,re.Lazy=fe,re.Memo=W,re.Portal=X,re.Profiler=Q,re.StrictMode=ae,re.Suspense=ue,re.isAsyncMode=ye,re.isConcurrentMode=x,re.isContextConsumer=_,re.isContextProvider=I,re.isElement=$,re.isForwardRef=k,re.isFragment=U,re.isLazy=D,re.isMemo=N,re.isPortal=L,re.isProfiler=H,re.isStrictMode=B,re.isSuspense=de,re.isValidElementType=S,re.typeOf=C}()),re}var eo;function Qo(){return eo||(eo=1,process.env.NODE_ENV==="production"?Gt.exports=ys():Gt.exports=gs()),Gt.exports}/*
|
|
49
|
+
object-assign
|
|
50
|
+
(c) Sindre Sorhus
|
|
51
|
+
@license MIT
|
|
52
|
+
*/var Pr,to;function bs(){if(to)return Pr;to=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(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Pr=o()?Object.assign:function(i,a){for(var s,c=n(i),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var y=0;y<l.length;y++)r.call(s,l[y])&&(c[l[y]]=s[l[y]])}}return c},Pr}var jr,ro;function vn(){if(ro)return jr;ro=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return jr=e,jr}var kr,no;function ei(){return no||(no=1,kr=Function.call.bind(Object.prototype.hasOwnProperty)),kr}var Mr,oo;function Es(){if(oo)return Mr;oo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vn(),r={},n=ei();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,l){if(process.env.NODE_ENV!=="production"){for(var u in i)if(n(i,u)){var f;try{if(typeof i[u]!="function"){var y=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}f=i[u](a,u,c,s,null,t)}catch(v){f=v}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". 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 instanceof Error&&!(f.message in r)){r[f.message]=!0;var g=l?l():"";e("Failed "+s+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Mr=o,Mr}var Dr,io;function ws(){if(io)return Dr;io=1;var e=Qo(),t=bs(),r=vn(),n=ei(),o=Es(),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 Dr=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(x){var _=x&&(l&&x[l]||x[u]);if(typeof _=="function")return _}var y="<<anonymous>>",g={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:R(),arrayOf:S,element:C(),elementType:p(),instanceOf:P,node:G(),objectOf:J,oneOf:M,oneOfType:Z,shape:fe,exact:W};function v(x,_){return x===_?x!==0||1/x===1/_:x!==x&&_!==_}function h(x,_){this.message=x,this.data=_&&typeof _=="object"?_:{},this.stack=""}h.prototype=Error.prototype;function E(x){if(process.env.NODE_ENV!=="production")var _={},I=0;function $(U,D,N,L,H,B,de){if(L=L||y,B=B||N,de!==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 me=L+":"+N;!_[me]&&I<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+L+"`. 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."),_[me]=!0,I++)}}return D[N]==null?U?D[N]===null?new h("The "+H+" `"+B+"` is marked as required "+("in `"+L+"`, but its value is `null`.")):new h("The "+H+" `"+B+"` is marked as required in "+("`"+L+"`, but its value is `undefined`.")):null:x(D,N,L,H,B)}var k=$.bind(null,!1);return k.isRequired=$.bind(null,!0),k}function O(x){function _(I,$,k,U,D,N){var L=I[$],H=ae(L);if(H!==x){var B=ue(L);return new h("Invalid "+U+" `"+D+"` of type "+("`"+B+"` supplied to `"+k+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return E(_)}function R(){return E(a)}function S(x){function _(I,$,k,U,D){if(typeof x!="function")return new h("Property `"+D+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var N=I[$];if(!Array.isArray(N)){var L=ae(N);return new h("Invalid "+U+" `"+D+"` of type "+("`"+L+"` supplied to `"+k+"`, expected an array."))}for(var H=0;H<N.length;H++){var B=x(N,H,k,U,D+"["+H+"]",r);if(B instanceof Error)return B}return null}return E(_)}function C(){function x(_,I,$,k,U){var D=_[I];if(!s(D)){var N=ae(D);return new h("Invalid "+k+" `"+U+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return E(x)}function p(){function x(_,I,$,k,U){var D=_[I];if(!e.isValidElementType(D)){var N=ae(D);return new h("Invalid "+k+" `"+U+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return E(x)}function P(x){function _(I,$,k,U,D){if(!(I[$]instanceof x)){var N=x.name||y,L=ye(I[$]);return new h("Invalid "+U+" `"+D+"` of type "+("`"+L+"` supplied to `"+k+"`, expected ")+("instance of `"+N+"`."))}return null}return E(_)}function M(x){if(!Array.isArray(x))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 _(I,$,k,U,D){for(var N=I[$],L=0;L<x.length;L++)if(v(N,x[L]))return null;var H=JSON.stringify(x,function(de,b){var me=ue(b);return me==="symbol"?String(b):b});return new h("Invalid "+U+" `"+D+"` of value `"+String(N)+"` "+("supplied to `"+k+"`, expected one of "+H+"."))}return E(_)}function J(x){function _(I,$,k,U,D){if(typeof x!="function")return new h("Property `"+D+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var N=I[$],L=ae(N);if(L!=="object")return new h("Invalid "+U+" `"+D+"` of type "+("`"+L+"` supplied to `"+k+"`, expected an object."));for(var H in N)if(n(N,H)){var B=x(N,H,k,U,D+"."+H,r);if(B instanceof Error)return B}return null}return E(_)}function Z(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<x.length;_++){var I=x[_];if(typeof I!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ge(I)+" at index "+_+"."),a}function $(k,U,D,N,L){for(var H=[],B=0;B<x.length;B++){var de=x[B],b=de(k,U,D,N,L,r);if(b==null)return null;b.data&&n(b.data,"expectedType")&&H.push(b.data.expectedType)}var me=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new h("Invalid "+N+" `"+L+"` supplied to "+("`"+D+"`"+me+"."))}return E($)}function G(){function x(_,I,$,k,U){return X(_[I])?null:new h("Invalid "+k+" `"+U+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return E(x)}function ie(x,_,I,$,k){return new h((x||"React class")+": "+_+" type `"+I+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function fe(x){function _(I,$,k,U,D){var N=I[$],L=ae(N);if(L!=="object")return new h("Invalid "+U+" `"+D+"` of type `"+L+"` "+("supplied to `"+k+"`, expected `object`."));for(var H in x){var B=x[H];if(typeof B!="function")return ie(k,U,D,H,ue(B));var de=B(N,H,k,U,D+"."+H,r);if(de)return de}return null}return E(_)}function W(x){function _(I,$,k,U,D){var N=I[$],L=ae(N);if(L!=="object")return new h("Invalid "+U+" `"+D+"` of type `"+L+"` "+("supplied to `"+k+"`, expected `object`."));var H=t({},I[$],x);for(var B in H){var de=x[B];if(n(x,B)&&typeof de!="function")return ie(k,U,D,B,ue(de));if(!de)return new h("Invalid "+U+" `"+D+"` key `"+B+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(I[$],null," ")+`
|
|
53
|
+
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var b=de(N,B,k,U,D+"."+B,r);if(b)return b}return null}return E(_)}function X(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(X);if(x===null||s(x))return!0;var _=f(x);if(_){var I=_.call(x),$;if(_!==x.entries){for(;!($=I.next()).done;)if(!X($.value))return!1}else for(;!($=I.next()).done;){var k=$.value;if(k&&!X(k[1]))return!1}}else return!1;return!0;default:return!1}}function Q(x,_){return x==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(x){var _=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":Q(_,x)?"symbol":_}function ue(x){if(typeof x>"u"||x===null)return""+x;var _=ae(x);if(_==="object"){if(x instanceof Date)return"date";if(x instanceof RegExp)return"regexp"}return _}function ge(x){var _=ue(x);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function ye(x){return!x.constructor||!x.constructor.name?y:x.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Dr}var Nr,ao;function Os(){if(ao)return Nr;ao=1;var e=vn();function t(){}function r(){}return r.resetWarningCache=t,Nr=function(){function n(a,s,c,l,u,f){if(f!==e){var y=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 y.name="Invariant Violation",y}}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},Nr}if(process.env.NODE_ENV!=="production"){var xs=Qo(),Rs=!0;qr.exports=ws()(xs.isElement,Rs)}else qr.exports=Os()();var Ts=qr.exports;const z=mr(Ts),so={disabled:!1};var Ss=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 ti=m.createContext(null);var Cs=function(t){return t.scrollTop},jt="unmounted",qe="exited",$e="entering",Ye="entered",ar="exiting",Be=function(e){is(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=qe,i.appearStatus=$e):c=Ye:n.unmountOnExit||n.mountOnEnter?c=jt:c=qe,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===jt?{status:qe}: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!==$e&&a!==Ye&&(i=$e):(a===$e||a===Ye)&&(i=ar)}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===$e){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:ht.findDOMNode(this);a&&Cs(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===qe&&this.setState({status:jt})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[ht.findDOMNode(this),s],l=c[0],u=c[1],f=this.getTimeouts(),y=s?f.appear:f.enter;if(!o&&!a||so.disabled){this.safeSetState({status:Ye},function(){i.props.onEntered(l)});return}this.props.onEnter(l,u),this.safeSetState({status:$e},function(){i.props.onEntering(l,u),i.onTransitionEnd(y,function(){i.safeSetState({status:Ye},function(){i.props.onEntered(l,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:ht.findDOMNode(this);if(!i||so.disabled){this.safeSetState({status:qe},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ar},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:qe},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:ht.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],l=c[0],u=c[1];this.props.addEndListener(l,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===jt)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=Xo(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(ti.Provider,{value:null},typeof a=="function"?a(o,s):m.cloneElement(m.Children.only(a),s))},t}(m.Component);Be.contextType=ti;Be.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=Ss;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 dt(){}Be.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:dt,onEntering:dt,onEntered:dt,onExit:dt,onExiting:dt,onExited:dt};Be.UNMOUNTED=jt;Be.EXITED=qe;Be.ENTERING=$e;Be.ENTERED=Ye;Be.EXITING=ar;const gr=!!(typeof window<"u"&&window.document&&window.document.createElement);var Yr=!1,Kr=!1;try{var Lr={get passive(){return Yr=!0},get once(){return Kr=Yr=!0}};gr&&(window.addEventListener("test",Lr,Lr),window.removeEventListener("test",Lr,!0))}catch{}function ri(e,t,r,n){if(n&&typeof n!="boolean"&&!Kr){var o=n.once,i=n.capture,a=r;!Kr&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,Yr?n:i)}e.addEventListener(t,r,n)}function ni(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 Ge(e,t,r,n){return ri(e,t,r,n),function(){ni(e,t,r,n)}}function _s(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 As(e){var t=hn(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Ps(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||_s(e,"transitionend",!0)},t+r),i=Ge(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function oi(e,t,r,n){r==null&&(r=As(e)||0);var o=Ps(e,r,n),i=Ge(e,"transitionend",t);return function(){o(),i()}}function co(e,t){const r=hn(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function ii(e,t){const r=co(e,"transitionDuration"),n=co(e,"transitionDelay"),o=oi(e,i=>{i.target===e&&(o(),t(i))},r+n)}function ai(e){e.offsetHeight}const uo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function js(e,t){const r=uo(e),n=uo(t);return o=>{r&&r(o),n&&n(o)}}function Ze(e,t){return m.useMemo(()=>js(e,t),[e,t])}function sr(e){return e&&"setState"in e?ht.findDOMNode(e):e??null}const si=m.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...l},u)=>{const f=m.useRef(null),y=Ze(f,c),g=P=>{y(sr(P))},v=P=>M=>{P&&f.current&&P(f.current,M)},h=m.useCallback(v(e),[e]),E=m.useCallback(v(t),[t]),O=m.useCallback(v(r),[r]),R=m.useCallback(v(n),[n]),S=m.useCallback(v(o),[o]),C=m.useCallback(v(i),[i]),p=m.useCallback(v(a),[a]);return j.jsx(Be,{ref:u,...l,onEnter:h,onEntered:O,onEntering:E,onExit:R,onExited:C,onExiting:S,addEndListener:p,nodeRef:f,children:typeof s=="function"?(P,M)=>s(P,{...M,ref:g}):m.cloneElement(s,{ref:g})})});function ks(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e},[e]),t}function ot(e){const t=ks(e);return m.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function Gr(){return m.useState(null)}function mn(){const e=m.useRef(!0),t=m.useRef(()=>e.current);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Ms=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Ds=typeof document<"u",cr=Ds||Ms?m.useLayoutEffect:m.useEffect,Ns={[$e]:"show",[Ye]:"show"},ur=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,l)=>{ai(c),n==null||n(c,l)},[n]);return j.jsx(si,{ref:i,addEndListener:ii,...a,onEnter:s,childRef:t.ref,children:(c,l)=>q.cloneElement(t,{...l,className:ce("fade",e,t.props.className,Ns[c],r[c])})})});ur.displayName="Fade";function Ls(e){const t=m.useRef(e);return t.current=e,t}function ci(e){const t=Ls(e);m.useEffect(()=>()=>t.current(),[])}const Jr=2**31-1;function ui(e,t,r){const n=r-Date.now();e.current=n<=Jr?setTimeout(t,n):setTimeout(()=>ui(e,t,r),Jr)}function Is(){const e=mn(),t=m.useRef();return ci(()=>clearTimeout(t.current)),m.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=Jr?t.current=setTimeout(o,i):ui(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var lo=Object.prototype.hasOwnProperty;function fo(e,t,r){for(r of e.keys())if(kt(r,t))return r}function kt(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--&&kt(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=fo(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=fo(t,o),!o)||!kt(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(lo.call(e,r)&&++n&&!lo.call(t,r)||!(r in t)||!kt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function $s(e){const t=mn();return[e[0],m.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var we="top",Pe="bottom",je="right",Oe="left",yn="auto",Ft=[we,Pe,je,Oe],vt="start",Nt="end",Fs="clippingParents",li="viewport",Ct="popper",Us="reference",po=Ft.reduce(function(e,t){return e.concat([t+"-"+vt,t+"-"+Nt])},[]),fi=[].concat(Ft,[yn]).reduce(function(e,t){return e.concat([t,t+"-"+vt,t+"-"+Nt])},[]),Bs="beforeRead",zs="read",Hs="afterRead",Ws="beforeMain",Vs="main",qs="afterMain",Ys="beforeWrite",Ks="write",Gs="afterWrite",Js=[Bs,zs,Hs,Ws,Vs,qs,Ys,Ks,Gs];function Me(e){return e.split("-")[0]}function Te(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function it(e){var t=Te(e).Element;return e instanceof t||e instanceof Element}function De(e){var t=Te(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gn(e){if(typeof ShadowRoot>"u")return!1;var t=Te(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var rt=Math.max,lr=Math.min,mt=Math.round;function Xr(){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 di(){return!/^((?!chrome|android).)*safari/i.test(Xr())}function yt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&De(e)&&(o=e.offsetWidth>0&&mt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&mt(n.height)/e.offsetHeight||1);var a=it(e)?Te(e):window,s=a.visualViewport,c=!di()&&r,l=(n.left+(c&&s?s.offsetLeft:0))/o,u=(n.top+(c&&s?s.offsetTop:0))/i,f=n.width/o,y=n.height/i;return{width:f,height:y,top:u,right:l+f,bottom:u+y,left:l,x:l,y:u}}function bn(e){var t=yt(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 pi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&gn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Xe(e){return e?(e.nodeName||"").toLowerCase():null}function Fe(e){return Te(e).getComputedStyle(e)}function Xs(e){return["table","td","th"].indexOf(Xe(e))>=0}function Qe(e){return((it(e)?e.ownerDocument:e.document)||window.document).documentElement}function br(e){return Xe(e)==="html"?e:e.assignedSlot||e.parentNode||(gn(e)?e.host:null)||Qe(e)}function ho(e){return!De(e)||Fe(e).position==="fixed"?null:e.offsetParent}function Zs(e){var t=/firefox/i.test(Xr()),r=/Trident/i.test(Xr());if(r&&De(e)){var n=Fe(e);if(n.position==="fixed")return null}var o=br(e);for(gn(o)&&(o=o.host);De(o)&&["html","body"].indexOf(Xe(o))<0;){var i=Fe(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 Ut(e){for(var t=Te(e),r=ho(e);r&&Xs(r)&&Fe(r).position==="static";)r=ho(r);return r&&(Xe(r)==="html"||Xe(r)==="body"&&Fe(r).position==="static")?t:r||Zs(e)||t}function En(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Mt(e,t,r){return rt(e,lr(t,r))}function Qs(e,t,r){var n=Mt(e,t,r);return n>r?r:n}function hi(){return{top:0,right:0,bottom:0,left:0}}function vi(e){return Object.assign({},hi(),e)}function mi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ec=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,vi(typeof t!="number"?t:mi(t,Ft))};function tc(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Me(r.placement),c=En(s),l=[Oe,je].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=ec(o.padding,r),y=bn(i),g=c==="y"?we:Oe,v=c==="y"?Pe:je,h=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],E=a[c]-r.rects.reference[c],O=Ut(i),R=O?c==="y"?O.clientHeight||0:O.clientWidth||0:0,S=h/2-E/2,C=f[g],p=R-y[u]-f[v],P=R/2-y[u]/2+S,M=Mt(C,P,p),J=c;r.modifiersData[n]=(t={},t[J]=M,t.centerOffset=M-P,t)}}function rc(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)||pi(t.elements.popper,o)&&(t.elements.arrow=o))}const nc={name:"arrow",enabled:!0,phase:"main",fn:tc,effect:rc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gt(e){return e.split("-")[1]}var oc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ic(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:mt(r*o)/o||0,y:mt(n*o)/o||0}}function vo(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,y=a.x,g=y===void 0?0:y,v=a.y,h=v===void 0?0:v,E=typeof u=="function"?u({x:g,y:h}):{x:g,y:h};g=E.x,h=E.y;var O=a.hasOwnProperty("x"),R=a.hasOwnProperty("y"),S=Oe,C=we,p=window;if(l){var P=Ut(r),M="clientHeight",J="clientWidth";if(P===Te(r)&&(P=Qe(r),Fe(P).position!=="static"&&s==="absolute"&&(M="scrollHeight",J="scrollWidth")),P=P,o===we||(o===Oe||o===je)&&i===Nt){C=Pe;var Z=f&&P===p&&p.visualViewport?p.visualViewport.height:P[M];h-=Z-n.height,h*=c?1:-1}if(o===Oe||(o===we||o===Pe)&&i===Nt){S=je;var G=f&&P===p&&p.visualViewport?p.visualViewport.width:P[J];g-=G-n.width,g*=c?1:-1}}var ie=Object.assign({position:s},l&&oc),fe=u===!0?ic({x:g,y:h},Te(r)):{x:g,y:h};if(g=fe.x,h=fe.y,c){var W;return Object.assign({},ie,(W={},W[C]=R?"0":"",W[S]=O?"0":"",W.transform=(p.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",W))}return Object.assign({},ie,(t={},t[C]=R?h+"px":"",t[S]=O?g+"px":"",t.transform="",t))}function ac(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,l={placement:Me(t.placement),variation:gt(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,vo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,vo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const sc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ac,data:{}};var Jt={passive:!0};function cc(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=Te(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",r.update,Jt)}),s&&c.addEventListener("resize",r.update,Jt),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",r.update,Jt)}),s&&c.removeEventListener("resize",r.update,Jt)}}const uc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cc,data:{}};var lc={left:"right",right:"left",bottom:"top",top:"bottom"};function Qt(e){return e.replace(/left|right|bottom|top/g,function(t){return lc[t]})}var fc={start:"end",end:"start"};function mo(e){return e.replace(/start|end/g,function(t){return fc[t]})}function wn(e){var t=Te(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function On(e){return yt(Qe(e)).left+wn(e).scrollLeft}function dc(e,t){var r=Te(e),n=Qe(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=di();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+On(e),y:c}}function pc(e){var t,r=Qe(e),n=wn(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=rt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=rt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+On(e),c=-n.scrollTop;return Fe(o||r).direction==="rtl"&&(s+=rt(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function xn(e){var t=Fe(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function yi(e){return["html","body","#document"].indexOf(Xe(e))>=0?e.ownerDocument.body:De(e)&&xn(e)?e:yi(br(e))}function Dt(e,t){var r;t===void 0&&(t=[]);var n=yi(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Te(n),a=o?[i].concat(i.visualViewport||[],xn(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Dt(br(a)))}function Zr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function hc(e,t){var r=yt(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 yo(e,t,r){return t===li?Zr(dc(e,r)):it(t)?hc(t,r):Zr(pc(Qe(e)))}function vc(e){var t=Dt(br(e)),r=["absolute","fixed"].indexOf(Fe(e).position)>=0,n=r&&De(e)?Ut(e):e;return it(n)?t.filter(function(o){return it(o)&&pi(o,n)&&Xe(o)!=="body"}):[]}function mc(e,t,r,n){var o=t==="clippingParents"?vc(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,l){var u=yo(e,l,n);return c.top=rt(u.top,c.top),c.right=lr(u.right,c.right),c.bottom=lr(u.bottom,c.bottom),c.left=rt(u.left,c.left),c},yo(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 gi(e){var t=e.reference,r=e.element,n=e.placement,o=n?Me(n):null,i=n?gt(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case we:c={x:a,y:t.y-r.height};break;case Pe:c={x:a,y:t.y+t.height};break;case je:c={x:t.x+t.width,y:s};break;case Oe:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?En(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case vt:c[l]=c[l]-(t[u]/2-r[u]/2);break;case Nt:c[l]=c[l]+(t[u]/2-r[u]/2);break}}return c}function Lt(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?Fs:s,l=r.rootBoundary,u=l===void 0?li:l,f=r.elementContext,y=f===void 0?Ct:f,g=r.altBoundary,v=g===void 0?!1:g,h=r.padding,E=h===void 0?0:h,O=vi(typeof E!="number"?E:mi(E,Ft)),R=y===Ct?Us:Ct,S=e.rects.popper,C=e.elements[v?R:y],p=mc(it(C)?C:C.contextElement||Qe(e.elements.popper),c,u,a),P=yt(e.elements.reference),M=gi({reference:P,element:S,strategy:"absolute",placement:o}),J=Zr(Object.assign({},S,M)),Z=y===Ct?J:P,G={top:p.top-Z.top+O.top,bottom:Z.bottom-p.bottom+O.bottom,left:p.left-Z.left+O.left,right:Z.right-p.right+O.right},ie=e.modifiersData.offset;if(y===Ct&&ie){var fe=ie[o];Object.keys(G).forEach(function(W){var X=[je,Pe].indexOf(W)>=0?1:-1,Q=[we,Pe].indexOf(W)>=0?"y":"x";G[W]+=fe[Q]*X})}return G}function yc(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,l=c===void 0?fi:c,u=gt(n),f=u?s?po:po.filter(function(v){return gt(v)===u}):Ft,y=f.filter(function(v){return l.indexOf(v)>=0});y.length===0&&(y=f);var g=y.reduce(function(v,h){return v[h]=Lt(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Me(h)],v},{});return Object.keys(g).sort(function(v,h){return g[v]-g[h]})}function gc(e){if(Me(e)===yn)return[];var t=Qt(e);return[mo(e),t,mo(t)]}function bc(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,l=r.padding,u=r.boundary,f=r.rootBoundary,y=r.altBoundary,g=r.flipVariations,v=g===void 0?!0:g,h=r.allowedAutoPlacements,E=t.options.placement,O=Me(E),R=O===E,S=c||(R||!v?[Qt(E)]:gc(E)),C=[E].concat(S).reduce(function(k,U){return k.concat(Me(U)===yn?yc(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:v,allowedAutoPlacements:h}):U)},[]),p=t.rects.reference,P=t.rects.popper,M=new Map,J=!0,Z=C[0],G=0;G<C.length;G++){var ie=C[G],fe=Me(ie),W=gt(ie)===vt,X=[we,Pe].indexOf(fe)>=0,Q=X?"width":"height",ae=Lt(t,{placement:ie,boundary:u,rootBoundary:f,altBoundary:y,padding:l}),ue=X?W?je:Oe:W?Pe:we;p[Q]>P[Q]&&(ue=Qt(ue));var ge=Qt(ue),ye=[];if(i&&ye.push(ae[fe]<=0),s&&ye.push(ae[ue]<=0,ae[ge]<=0),ye.every(function(k){return k})){Z=ie,J=!1;break}M.set(ie,ye)}if(J)for(var x=v?3:1,_=function(U){var D=C.find(function(N){var L=M.get(N);if(L)return L.slice(0,U).every(function(H){return H})});if(D)return Z=D,"break"},I=x;I>0;I--){var $=_(I);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const Ec={name:"flip",enabled:!0,phase:"main",fn:bc,requiresIfExists:["offset"],data:{_skip:!1}};function go(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 bo(e){return[we,je,Pe,Oe].some(function(t){return e[t]>=0})}function wc(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Lt(t,{elementContext:"reference"}),s=Lt(t,{altBoundary:!0}),c=go(a,n),l=go(s,o,i),u=bo(c),f=bo(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Oc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wc};function xc(e,t,r){var n=Me(e),o=[Oe,we].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,[Oe,je].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Rc(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=fi.reduce(function(u,f){return u[f]=xc(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const Tc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Rc};function Sc(e){var t=e.state,r=e.name;t.modifiersData[r]=gi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Cc={name:"popperOffsets",enabled:!0,phase:"read",fn:Sc,data:{}};function _c(e){return e==="x"?"y":"x"}function Ac(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,l=r.rootBoundary,u=r.altBoundary,f=r.padding,y=r.tether,g=y===void 0?!0:y,v=r.tetherOffset,h=v===void 0?0:v,E=Lt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),O=Me(t.placement),R=gt(t.placement),S=!R,C=En(O),p=_c(C),P=t.modifiersData.popperOffsets,M=t.rects.reference,J=t.rects.popper,Z=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,G=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,fe={x:0,y:0};if(P){if(i){var W,X=C==="y"?we:Oe,Q=C==="y"?Pe:je,ae=C==="y"?"height":"width",ue=P[C],ge=ue+E[X],ye=ue-E[Q],x=g?-J[ae]/2:0,_=R===vt?M[ae]:J[ae],I=R===vt?-J[ae]:-M[ae],$=t.elements.arrow,k=g&&$?bn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:hi(),D=U[X],N=U[Q],L=Mt(0,M[ae],k[ae]),H=S?M[ae]/2-x-L-D-G.mainAxis:_-L-D-G.mainAxis,B=S?-M[ae]/2+x+L+N+G.mainAxis:I+L+N+G.mainAxis,de=t.elements.arrow&&Ut(t.elements.arrow),b=de?C==="y"?de.clientTop||0:de.clientLeft||0:0,me=(W=ie==null?void 0:ie[C])!=null?W:0,xe=ue+H-me-b,Se=ue+B-me,ze=Mt(g?lr(ge,xe):ge,ue,g?rt(ye,Se):ye);P[C]=ze,fe[C]=ze-ue}if(s){var wt,Vt=C==="x"?we:Oe,st=C==="x"?Pe:je,Le=P[p],ct=p==="y"?"height":"width",ut=Le+E[Vt],qt=Le-E[st],Ot=[we,Oe].indexOf(O)!==-1,xt=(wt=ie==null?void 0:ie[p])!=null?wt:0,Rt=Ot?ut:Le-M[ct]-J[ct]-xt+G.altAxis,He=Ot?Le+M[ct]+J[ct]-xt-G.altAxis:qt,Yt=g&&Ot?Qs(Rt,Le,He):Mt(g?Rt:ut,Le,g?He:qt);P[p]=Yt,fe[p]=Yt-Le}t.modifiersData[n]=fe}}const Pc={name:"preventOverflow",enabled:!0,phase:"main",fn:Ac,requiresIfExists:["offset"]};function jc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kc(e){return e===Te(e)||!De(e)?wn(e):jc(e)}function Mc(e){var t=e.getBoundingClientRect(),r=mt(t.width)/e.offsetWidth||1,n=mt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Dc(e,t,r){r===void 0&&(r=!1);var n=De(t),o=De(t)&&Mc(t),i=Qe(t),a=yt(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Xe(t)!=="body"||xn(i))&&(s=kc(t)),De(t)?(c=yt(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=On(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Nc(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 Lc(e){var t=Nc(e);return Js.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Ic(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function $c(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 Eo={placement:"bottom",modifiers:[],strategy:"absolute"};function wo(){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 Fc(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Eo:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Eo,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],y=!1,g={state:u,setOptions:function(O){var R=typeof O=="function"?O(u.options):O;h(),u.options=Object.assign({},i,u.options,R),u.scrollParents={reference:it(s)?Dt(s):s.contextElement?Dt(s.contextElement):[],popper:Dt(c)};var S=Lc($c([].concat(n,u.options.modifiers)));return u.orderedModifiers=S.filter(function(C){return C.enabled}),v(),g.update()},forceUpdate:function(){if(!y){var O=u.elements,R=O.reference,S=O.popper;if(wo(R,S)){u.rects={reference:Dc(R,Ut(S),u.options.strategy==="fixed"),popper:bn(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(G){return u.modifiersData[G.name]=Object.assign({},G.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var p=u.orderedModifiers[C],P=p.fn,M=p.options,J=M===void 0?{}:M,Z=p.name;typeof P=="function"&&(u=P({state:u,options:J,name:Z,instance:g})||u)}}}},update:Ic(function(){return new Promise(function(E){g.forceUpdate(),E(u)})}),destroy:function(){h(),y=!0}};if(!wo(s,c))return g;g.setOptions(l).then(function(E){!y&&l.onFirstUpdate&&l.onFirstUpdate(E)});function v(){u.orderedModifiers.forEach(function(E){var O=E.name,R=E.options,S=R===void 0?{}:R,C=E.effect;if(typeof C=="function"){var p=C({state:u,name:O,instance:g,options:S}),P=function(){};f.push(p||P)}})}function h(){f.forEach(function(E){return E()}),f=[]}return g}}const Uc=Fc({defaultModifiers:[Oc,Cc,sc,uc,Tc,Ec,Pc,nc]}),Bc=["enabled","placement","strategy","modifiers"];function zc(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 Hc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Wc={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)}}},Vc=[];function bi(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Vc}=r,s=zc(r,Bc);const c=m.useRef(a),l=m.useRef(),u=m.useCallback(()=>{var E;(E=l.current)==null||E.update()},[]),f=m.useCallback(()=>{var E;(E=l.current)==null||E.forceUpdate()},[]),[y,g]=$s(m.useState({placement:o,update:u,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),v=m.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const O={},R={};Object.keys(E.elements).forEach(S=>{O[S]=E.styles[S],R[S]=E.attributes[S]}),g({state:E,styles:O,attributes:R,update:u,forceUpdate:f,placement:E.placement})}}),[u,f,g]),h=m.useMemo(()=>(kt(c.current,a)||(c.current=a),c.current),[a]);return m.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:o,strategy:i,modifiers:[...h,v,Hc]})},[i,o,v,n,h]),m.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=Uc(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...h,Wc,v]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,g(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),y}function fr(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var qc=process.env.NODE_ENV!=="production",Ei=function(){};if(qc){var Yc=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{}};Ei=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||Yc.apply(null,[t].concat(r))}}var Kc=Ei;const Rn=mr(Kc),Oo=()=>{};function Gc(e){return e.button===0}function Jc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const er=e=>e&&("current"in e?e.current:e),xo={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function wi(e,t=Oo,{disabled:r,clickTrigger:n="click"}={}){const o=m.useRef(!1),i=m.useRef(!1),a=m.useCallback(l=>{const u=er(e);Rn(!!u,"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=!u||Jc(l)||!Gc(l)||!!fr(u,l.target)||i.current,i.current=!1},[e]),s=ot(l=>{const u=er(e);u&&fr(u,l.target)&&(i.current=!0)}),c=ot(l=>{o.current||t(l)});m.useEffect(()=>{var l,u;if(r||e==null)return;const f=$t(er(e)),y=f.defaultView||window;let g=(l=y.event)!=null?l:(u=y.parent)==null?void 0:u.event,v=null;xo[n]&&(v=Ge(f,xo[n],s,!0));const h=Ge(f,n,a,!0),E=Ge(f,n,R=>{if(R===g){g=void 0;return}c(R)});let O=[];return"ontouchstart"in f.documentElement&&(O=[].slice.call(f.body.children).map(R=>Ge(R,"mousemove",Oo))),()=>{v==null||v(),h(),E(),O.forEach(R=>R())}},[e,r,n,a,s,c])}function Xc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Zc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Oi({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var l,u,f,y,g;const v=Xc(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:Zc(Object.assign({},v,{eventListeners:{enabled:t,options:(l=v.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},v.preventOverflow,{options:a?Object.assign({padding:a},(u=v.preventOverflow)==null?void 0:u.options):(f=v.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(y=v.offset)==null?void 0:y.options)},arrow:Object.assign({},v.arrow,{enabled:!!s,options:Object.assign({},(g=v.arrow)==null?void 0:g.options,{element:s})}),flip:Object.assign({enabled:!!n},v.flip)}))})}const xi=m.createContext(gr?window:void 0);xi.Provider;function Ri(){return m.useContext(xi)}const Ti=q.createContext({}),Tn=q.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=m.useMemo(()=>({controlId:e}),[e]);return j.jsx(Ti.Provider,{value:o,children:j.jsx(t,{...r,ref:n})})});Tn.displayName="FormGroup";const Sn=q.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=Je(e,"form-floating"),j.jsxs(Tn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,j.jsx("label",{htmlFor:n,children:o})]})));Sn.displayName="FloatingLabel";const Ir=(e,t)=>gr?e==null?(t||$t()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function Qr(e,t){const r=Ri(),[n,o]=m.useState(()=>Ir(e,r==null?void 0:r.document));if(!n){const i=Ir(e);i&&o(i)}return m.useEffect(()=>{},[t,n]),m.useEffect(()=>{const i=Ir(e);i!==n&&o(i)},[e,n]),n}function Qc({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=m.useRef(null),a=m.useRef(t),s=ot(r);m.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=Ze(i,e.ref),l=m.cloneElement(e,{ref:c});return t?l:o||!a.current&&n?null:l}function Si(e){return e.code==="Escape"||e.keyCode===27}function eu(){const e=q.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const tu=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function ru(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 nu(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,l=ru(e,tu);const{major:u}=eu(),f=u>=19?c.props.ref:c.ref,y=m.useRef(null),g=Ze(y,typeof c=="function"?null:f),v=P=>M=>{P&&y.current&&P(y.current,M)},h=m.useCallback(v(t),[t]),E=m.useCallback(v(r),[r]),O=m.useCallback(v(n),[n]),R=m.useCallback(v(o),[o]),S=m.useCallback(v(i),[i]),C=m.useCallback(v(a),[a]),p=m.useCallback(v(s),[s]);return Object.assign({},l,{nodeRef:y},t&&{onEnter:h},r&&{onEntering:E},n&&{onEntered:O},o&&{onExit:R},i&&{onExiting:S},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(P,M)=>c(P,Object.assign({},M,{ref:g})):m.cloneElement(c,{ref:g})})}const ou=["component"];function iu(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 au=q.forwardRef((e,t)=>{let{component:r}=e,n=iu(e,ou);const o=nu(n);return j.jsx(r,Object.assign({ref:t},o))});function su({in:e,onTransition:t}){const r=m.useRef(null),n=m.useRef(!0),o=ot(t);return cr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),cr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function cu({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=m.useState(!t);t&&i&&a(!1);const s=su({in:!!t,onTransition:l=>{const u=()=>{l.isStale()||(l.in?n==null||n(l.element,l.initial):(a(!0),r==null||r(l.element)))};Promise.resolve(o(l)).then(u,f=>{throw l.in||a(!0),f})}}),c=Ze(s,e.ref);return i&&!t?null:m.cloneElement(e,{ref:c})}function Ci(e,t,r){return e?j.jsx(au,Object.assign({},r,{component:e})):t?j.jsx(cu,Object.assign({},r,{transition:t})):j.jsx(Qc,Object.assign({},r))}function en(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const uu=()=>{};function lu(e,t,{disabled:r,clickTrigger:n}={}){const o=t||uu;wi(e,o,{disabled:r,clickTrigger:n});const i=ot(a=>{Si(a)&&o(a)});m.useEffect(()=>{if(r||e==null)return;const a=$t(er(e));let s=(a.defaultView||window).event;const c=Ge(a,"keyup",l=>{if(l===s){s=void 0;return}i(l)});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,[l,u]=Gr(),[f,y]=Gr(),g=Ze(u,t),v=Qr(e.container),h=Qr(e.target),[E,O]=m.useState(!e.show),R=bi(h,l,Oi({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:f,popperConfig:a}));e.show&&E&&O(!1);const S=(...ie)=>{O(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(lu(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:P,onEnter:M,onEntering:J,onEntered:Z}=e;let G=e.children(Object.assign({},R.attributes.popper,{style:R.styles.popper,ref:g}),{popper:R,placement:o,show:!!e.show,arrowProps:Object.assign({},R.attributes.arrow,{style:R.styles.arrow,ref:y})});return G=Ci(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:G,onExit:p,onExiting:P,onExited:S,onEnter:M,onEntering:J,onEntered:Z}),v?ht.createPortal(G,v):null});_i.displayName="Overlay";const Ai=q.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Je(t,"popover-header"),j.jsx(r,{ref:o,className:ce(e,t),...n})));Ai.displayName="PopoverHeader";const Cn=q.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=Je(t,"popover-body"),j.jsx(r,{ref:o,className:ce(e,t),...n})));Cn.displayName="PopoverBody";function Pi(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function ji(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const fu=q.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:l,...u},f)=>{const y=Je(e,"popover"),g=pn(),[v]=(t==null?void 0:t.split("-"))||[],h=Pi(v,g);let E=n;return l&&!s&&(E={...n,...ji(c==null?void 0:c.strategy)}),j.jsxs("div",{ref:f,role:"tooltip",style:E,"x-placement":v,className:ce(r,y,v&&`bs-popover-${h}`),...u,children:[j.jsx("div",{className:"popover-arrow",...a}),i?j.jsx(Cn,{children:o}):o]})}),ki=Object.assign(fu,{Header:Ai,Body:Cn,POPPER_OFFSET:[0,8]}),Mi=q.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...l},u)=>{e=Je(e,"tooltip");const f=pn(),[y]=(t==null?void 0:t.split("-"))||[],g=Pi(y,f);let v=n;return c&&!a&&(v={...n,...ji(s==null?void 0:s.strategy)}),j.jsxs("div",{ref:u,style:v,role:"tooltip","x-placement":y,className:ce(r,e,`bs-tooltip-${g}`),...l,children:[j.jsx("div",{className:"tooltip-arrow",...i}),j.jsx("div",{className:`${e}-inner`,children:o})]})});Mi.displayName="Tooltip";const _n=Object.assign(Mi,{TOOLTIP_OFFSET:[0,6]});function du(e){const t=m.useRef(null),r=Je(void 0,"popover"),n=Je(void 0,"tooltip"),o=m.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(en(t.current,r))return ki.POPPER_OFFSET;if(en(t.current,n))return _n.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function pu(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(sr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(sr(o)))}const Di=q.forwardRef(({children:e,transition:t=ur,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=m.useRef({}),[l,u]=m.useState(null),[f,y]=du(a.offset),g=Ze(s,f),v=t===!0?ur:t||void 0,h=ot(E=>{u(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return cr(()=>{l&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[l,a.target]),m.useEffect(()=>{i||u(null)},[i]),j.jsx(_i,{...a,ref:g,popperConfig:{...r,modifiers:y.concat(r.modifiers||[]),onFirstUpdate:h},transition:v,rootClose:n,placement:o,show:i,children:(E,{arrowProps:O,popper:R,show:S})=>{var C,p;pu(E,O);const P=R==null?void 0:R.placement,M=Object.assign(c.current,{state:R==null?void 0:R.state,scheduleUpdate:R==null?void 0:R.update,placement:P,outOfBoundaries:(R==null||(C=R.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!l;return typeof e=="function"?e({...E,placement:P,show:S,...!t&&S&&{className:"show"},popper:M,arrowProps:O,hasDoneInitialMeasure:J}):q.cloneElement(e,{...E,placement:P,arrowProps:O,popper:M,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&S&&"show"),style:{...e.props.style,...E.style}})}})});Di.displayName="Overlay";function hu(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function Ro(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!fr(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Ni=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:l=c&&c.indexOf("auto")!==-1,...u})=>{const f=m.useRef(null),y=Ze(f,r.ref),g=Is(),v=m.useRef(""),[h,E]=Zo(o,i,a),O=hu(s),{onFocus:R,onBlur:S,onClick:C}=typeof r!="function"?q.Children.only(r).props:{},p=Q=>{y(sr(Q))},P=m.useCallback(()=>{if(g.clear(),v.current="show",!O.show){E(!0);return}g.set(()=>{v.current==="show"&&E(!0)},O.show)},[O.show,E,g]),M=m.useCallback(()=>{if(g.clear(),v.current="hide",!O.hide){E(!1);return}g.set(()=>{v.current==="hide"&&E(!1)},O.hide)},[O.hide,E,g]),J=m.useCallback((...Q)=>{P(),R==null||R(...Q)},[P,R]),Z=m.useCallback((...Q)=>{M(),S==null||S(...Q)},[M,S]),G=m.useCallback((...Q)=>{E(!h),C==null||C(...Q)},[C,E,h]),ie=m.useCallback((...Q)=>{Ro(P,Q,"fromElement")},[P]),fe=m.useCallback((...Q)=>{Ro(M,Q,"toElement")},[M]),W=e==null?[]:[].concat(e),X={ref:p};return W.indexOf("click")!==-1&&(X.onClick=G),W.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),W.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&Rn(W.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=fe),j.jsxs(j.Fragment,{children:[typeof r=="function"?r(X):m.cloneElement(r,X),j.jsx(Di,{...u,show:h,onHide:M,flip:l,placement:c,popperConfig:n,target:f.current,children:t})]})};var Li={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},To=m.createContext&&m.createContext(Li),vu=["attr","size","title"];function mu(e,t){if(e==null)return{};var r=yu(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 yu(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 So(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?So(Object(r),!0).forEach(function(n){gu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):So(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gu(e,t,r){return t=bu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){var t=Eu(e,"string");return typeof t=="symbol"?t:t+""}function Eu(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 Ii(e){return e&&e.map((t,r)=>m.createElement(t.tag,pr({key:r},t.attr),Ii(t.child)))}function pe(e){return t=>m.createElement(wu,dr({attr:pr({},e.attr)},t),Ii(e.child))}function wu(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=mu(e,vu),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 To!==void 0?m.createElement(To.Consumer,null,r=>t(r)):t(Li)}function Ou(e){return pe({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 xu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"},child:[]}]})(e)}function Ru(e){return pe({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 Tu(e){return pe({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 Su(e){return pe({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 Cu(e){return pe({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 _u(e){return pe({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 Au(e){return pe({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 Pu(e){return pe({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 ju(e){return pe({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 ku(e){return pe({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 Mu(e){return pe({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 Du(e){return pe({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 Nu(e){return pe({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 Lu(e){return pe({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 Iu(e){return pe({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 $u(e){return pe({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 Fu(e){return pe({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 $i(e){return pe({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 Uu(e){return pe({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)}function Bu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fill:"none"},child:[{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]}]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"},child:[]}]})(e)}const An=m.createContext({cookieDomain:"",axiosOptions:{},LinkComponent:{},NavigateComponent:()=>null,language:"",localizationContext:{},axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{},errorBoundaryTexts:{},widgetTexts:{},texts:{},ProjectIconComponent:{}}),zu=m.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Hu=m.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let Wu={data:""},Vu=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Wu,qu=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Yu=/\/\*[^]*?\*\/| +/g,Co=/\n+/g,Ke=(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"?Ke(a,i):i+"{"+Ke(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Ke(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+=Ke.p?Ke.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},Ie={},Fi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+Fi(e[r]);return t}return e},Ku=(e,t,r,n,o)=>{let i=Fi(e),a=Ie[i]||(Ie[i]=(c=>{let l=0,u=11;for(;l<c.length;)u=101*u+c.charCodeAt(l++)>>>0;return"go"+u})(i));if(!Ie[a]){let c=i!==e?e:(l=>{let u,f,y=[{}];for(;u=qu.exec(l.replace(Yu,""));)u[4]?y.shift():u[3]?(f=u[3].replace(Co," ").trim(),y.unshift(y[0][f]=y[0][f]||{})):y[0][u[1]]=u[2].replace(Co," ").trim();return y[0]})(e);Ie[a]=Ke(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&Ie.g?Ie.g:null;return r&&(Ie.g=Ie[a]),((c,l,u,f)=>{f?l.data=l.data.replace(f,c):l.data.indexOf(c)===-1&&(l.data=u?c+l.data:l.data+c)})(Ie[a],t,n,s),a},Gu=(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?"":Ke(s,""):s===!1?"":s}return n+o+(a??"")},"");function Er(e){let t=this||{},r=e.call?e(t.p):e;return Ku(r.unshift?r.raw?Gu(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Vu(t.target),t.g,t.o,t.k)}let Ui,tn,rn;Er.bind({g:1});let Ue=Er.bind({k:1});function Ju(e,t,r,n){Ke.p=t,Ui=e,tn=r,rn=n}function et(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:tn&&tn()},s),r.o=/ *go\d+/.test(c),s.className=Er.apply(r,n)+(c?" "+c:"");let l=e;return e[0]&&(l=s.as||e,delete s.as),rn&&l[0]&&rn(s),Ui(l,s)}return o}}var Xu=e=>typeof e=="function",hr=(e,t)=>Xu(e)?e(t):e,Zu=(()=>{let e=0;return()=>(++e).toString()})(),Bi=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Qu=20,tr=new Map,el=1e3,_o=e=>{if(tr.has(e))return;let t=setTimeout(()=>{tr.delete(e),at({type:4,toastId:e})},el);tr.set(e,t)},tl=e=>{let t=tr.get(e);t&&clearTimeout(t)},nn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Qu)};case 1:return t.toast.id&&tl(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)?nn(e,{type:1,toast:r}):nn(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?_o(n):e.toasts.forEach(i=>{_o(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}))}}},rr=[],nr={toasts:[],pausedAt:void 0},at=e=>{nr=nn(nr,e),rr.forEach(t=>{t(nr)})},rl={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},nl=(e={})=>{let[t,r]=m.useState(nr);m.useEffect(()=>(rr.push(r),()=>{let o=rr.indexOf(r);o>-1&&rr.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)||rl[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},ol=(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)||Zu()}),Bt=e=>(t,r)=>{let n=ol(t,e,r);return at({type:2,toast:n}),n.id},Re=(e,t)=>Bt("blank")(e,t);Re.error=Bt("error");Re.success=Bt("success");Re.loading=Bt("loading");Re.custom=Bt("custom");Re.dismiss=e=>{at({type:3,toastId:e})};Re.remove=e=>at({type:4,toastId:e});Re.promise=(e,t,r)=>{let n=Re.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Re.success(hr(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Re.error(hr(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var il=(e,t)=>{at({type:1,toast:{id:e,height:t}})},al=()=>{at({type:5,time:Date.now()})},sl=e=>{let{toasts:t,pausedAt:r}=nl(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&&Re.dismiss(s.id);return}return setTimeout(()=>Re.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=m.useCallback(()=>{r&&at({type:6,time:Date.now()})},[r]),o=m.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:l}=a||{},u=t.filter(g=>(g.position||l)===(i.position||l)&&g.height),f=u.findIndex(g=>g.id===i.id),y=u.filter((g,v)=>v<f&&g.visible).length;return u.filter(g=>g.visible).slice(...s?[y+1]:[0,y]).reduce((g,v)=>g+(v.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:il,startPause:al,endPause:n,calculateOffset:o}}},cl=Ue`
|
|
54
|
+
from {
|
|
55
|
+
transform: scale(0) rotate(45deg);
|
|
56
|
+
opacity: 0;
|
|
57
|
+
}
|
|
58
|
+
to {
|
|
59
|
+
transform: scale(1) rotate(45deg);
|
|
60
|
+
opacity: 1;
|
|
61
|
+
}`,ul=Ue`
|
|
62
|
+
from {
|
|
63
|
+
transform: scale(0);
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
to {
|
|
67
|
+
transform: scale(1);
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}`,ll=Ue`
|
|
70
|
+
from {
|
|
71
|
+
transform: scale(0) rotate(90deg);
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
to {
|
|
75
|
+
transform: scale(1) rotate(90deg);
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}`,fl=et("div")`
|
|
78
|
+
width: 20px;
|
|
79
|
+
opacity: 0;
|
|
80
|
+
height: 20px;
|
|
81
|
+
border-radius: 10px;
|
|
82
|
+
background: ${e=>e.primary||"#ff4b4b"};
|
|
83
|
+
position: relative;
|
|
84
|
+
transform: rotate(45deg);
|
|
85
|
+
|
|
86
|
+
animation: ${cl} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
87
|
+
forwards;
|
|
88
|
+
animation-delay: 100ms;
|
|
89
|
+
|
|
90
|
+
&:after,
|
|
91
|
+
&:before {
|
|
92
|
+
content: '';
|
|
93
|
+
animation: ${ul} 0.15s ease-out forwards;
|
|
94
|
+
animation-delay: 150ms;
|
|
95
|
+
position: absolute;
|
|
96
|
+
border-radius: 3px;
|
|
97
|
+
opacity: 0;
|
|
98
|
+
background: ${e=>e.secondary||"#fff"};
|
|
99
|
+
bottom: 9px;
|
|
100
|
+
left: 4px;
|
|
101
|
+
height: 2px;
|
|
102
|
+
width: 12px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&:before {
|
|
106
|
+
animation: ${ll} 0.15s ease-out forwards;
|
|
107
|
+
animation-delay: 180ms;
|
|
108
|
+
transform: rotate(90deg);
|
|
109
|
+
}
|
|
110
|
+
`,dl=Ue`
|
|
111
|
+
from {
|
|
112
|
+
transform: rotate(0deg);
|
|
113
|
+
}
|
|
114
|
+
to {
|
|
115
|
+
transform: rotate(360deg);
|
|
116
|
+
}
|
|
117
|
+
`,pl=et("div")`
|
|
118
|
+
width: 12px;
|
|
119
|
+
height: 12px;
|
|
120
|
+
box-sizing: border-box;
|
|
121
|
+
border: 2px solid;
|
|
122
|
+
border-radius: 100%;
|
|
123
|
+
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
124
|
+
border-right-color: ${e=>e.primary||"#616161"};
|
|
125
|
+
animation: ${dl} 1s linear infinite;
|
|
126
|
+
`,hl=Ue`
|
|
127
|
+
from {
|
|
128
|
+
transform: scale(0) rotate(45deg);
|
|
129
|
+
opacity: 0;
|
|
130
|
+
}
|
|
131
|
+
to {
|
|
132
|
+
transform: scale(1) rotate(45deg);
|
|
133
|
+
opacity: 1;
|
|
134
|
+
}`,vl=Ue`
|
|
135
|
+
0% {
|
|
136
|
+
height: 0;
|
|
137
|
+
width: 0;
|
|
138
|
+
opacity: 0;
|
|
139
|
+
}
|
|
140
|
+
40% {
|
|
141
|
+
height: 0;
|
|
142
|
+
width: 6px;
|
|
143
|
+
opacity: 1;
|
|
144
|
+
}
|
|
145
|
+
100% {
|
|
146
|
+
opacity: 1;
|
|
147
|
+
height: 10px;
|
|
148
|
+
}`,ml=et("div")`
|
|
149
|
+
width: 20px;
|
|
150
|
+
opacity: 0;
|
|
151
|
+
height: 20px;
|
|
152
|
+
border-radius: 10px;
|
|
153
|
+
background: ${e=>e.primary||"#61d345"};
|
|
154
|
+
position: relative;
|
|
155
|
+
transform: rotate(45deg);
|
|
156
|
+
|
|
157
|
+
animation: ${hl} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
158
|
+
forwards;
|
|
159
|
+
animation-delay: 100ms;
|
|
160
|
+
&:after {
|
|
161
|
+
content: '';
|
|
162
|
+
box-sizing: border-box;
|
|
163
|
+
animation: ${vl} 0.2s ease-out forwards;
|
|
164
|
+
opacity: 0;
|
|
165
|
+
animation-delay: 200ms;
|
|
166
|
+
position: absolute;
|
|
167
|
+
border-right: 2px solid;
|
|
168
|
+
border-bottom: 2px solid;
|
|
169
|
+
border-color: ${e=>e.secondary||"#fff"};
|
|
170
|
+
bottom: 6px;
|
|
171
|
+
left: 6px;
|
|
172
|
+
height: 10px;
|
|
173
|
+
width: 6px;
|
|
174
|
+
}
|
|
175
|
+
`,yl=et("div")`
|
|
176
|
+
position: absolute;
|
|
177
|
+
`,gl=et("div")`
|
|
178
|
+
position: relative;
|
|
179
|
+
display: flex;
|
|
180
|
+
justify-content: center;
|
|
181
|
+
align-items: center;
|
|
182
|
+
min-width: 20px;
|
|
183
|
+
min-height: 20px;
|
|
184
|
+
`,bl=Ue`
|
|
185
|
+
from {
|
|
186
|
+
transform: scale(0.6);
|
|
187
|
+
opacity: 0.4;
|
|
188
|
+
}
|
|
189
|
+
to {
|
|
190
|
+
transform: scale(1);
|
|
191
|
+
opacity: 1;
|
|
192
|
+
}`,El=et("div")`
|
|
193
|
+
position: relative;
|
|
194
|
+
transform: scale(0.6);
|
|
195
|
+
opacity: 0.4;
|
|
196
|
+
min-width: 20px;
|
|
197
|
+
animation: ${bl} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
198
|
+
forwards;
|
|
199
|
+
`,wl=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?q.createElement(El,null,t):t:r==="blank"?null:q.createElement(gl,null,q.createElement(pl,{...n}),r!=="loading"&&q.createElement(yl,null,r==="error"?q.createElement(fl,{...n}):q.createElement(ml,{...n})))},Ol=e=>`
|
|
200
|
+
0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
|
|
201
|
+
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
202
|
+
`,xl=e=>`
|
|
203
|
+
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
204
|
+
100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
|
|
205
|
+
`,Rl="0%{opacity:0;} 100%{opacity:1;}",Tl="0%{opacity:1;} 100%{opacity:0;}",Sl=et("div")`
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
background: #fff;
|
|
209
|
+
color: #363636;
|
|
210
|
+
line-height: 1.3;
|
|
211
|
+
will-change: transform;
|
|
212
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
213
|
+
max-width: 350px;
|
|
214
|
+
pointer-events: auto;
|
|
215
|
+
padding: 8px 10px;
|
|
216
|
+
border-radius: 8px;
|
|
217
|
+
`,Cl=et("div")`
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
margin: 4px 10px;
|
|
221
|
+
color: inherit;
|
|
222
|
+
flex: 1 1 auto;
|
|
223
|
+
white-space: pre-line;
|
|
224
|
+
`,_l=(e,t)=>{let r=e.includes("top")?1:-1,[n,o]=Bi()?[Rl,Tl]:[Ol(r),xl(r)];return{animation:t?`${Ue(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Ue(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},Al=q.memo(({toast:e,position:t,style:r,children:n})=>{let o=e.height?_l(e.position||t||"top-center",e.visible):{opacity:0},i=q.createElement(wl,{toast:e}),a=q.createElement(Cl,{...e.ariaProps},hr(e.message,e));return q.createElement(Sl,{className:e.className,style:{...o,...r,...e.style}},typeof n=="function"?n({icon:i,message:a}):q.createElement(q.Fragment,null,i,a))});Ju(q.createElement);var Pl=({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)},jl=(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:Bi()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...o}},kl=Er`
|
|
225
|
+
z-index: 9999;
|
|
226
|
+
> * {
|
|
227
|
+
pointer-events: auto;
|
|
228
|
+
}
|
|
229
|
+
`,Xt=16,Ml=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:o,containerStyle:i,containerClassName:a})=>{let{toasts:s,handlers:c}=sl(r);return q.createElement("div",{style:{position:"fixed",zIndex:9999,top:Xt,left:Xt,right:Xt,bottom:Xt,pointerEvents:"none",...i},className:a,onMouseEnter:c.startPause,onMouseLeave:c.endPause},s.map(l=>{let u=l.position||t,f=c.calculateOffset(l,{reverseOrder:e,gutter:n,defaultPosition:t}),y=jl(u,f);return q.createElement(Pl,{id:l.id,key:l.id,onHeightUpdate:c.updateHeight,className:l.visible?kl:"",style:y},l.type==="custom"?hr(l.message,l):o?o(l):q.createElement(Al,{toast:l,position:u}))}))},pt=Re;const Dl=m.createContext({isLoading:!1,startLoading:e=>{},stopLoading:e=>{}});var on;(function(e){e[e.LOGGING_IN=0]="LOGGING_IN",e[e.LOGGED_IN=1]="LOGGED_IN",e[e.LOGGED_OUT=2]="LOGGED_OUT",e[e.LOGIN_FAILED=3]="LOGIN_FAILED"})(on||(on={}));const zi=on,Nl=m.createContext({user:null,userLoginState:{state:zi.LOGGED_OUT,user:null},loginUser:()=>Promise.resolve(!0),logoutUser:()=>{}});function Hi(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ll}=Object.prototype,{getPrototypeOf:Pn}=Object,wr=(e=>t=>{const r=Ll.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=e=>(e=e.toLowerCase(),t=>wr(t)===e),Or=e=>t=>typeof t===e,{isArray:Et}=Array,It=Or("undefined");function Il(e){return e!==null&&!It(e)&&e.constructor!==null&&!It(e.constructor)&&_e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wi=Ne("ArrayBuffer");function $l(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wi(e.buffer),t}const Fl=Or("string"),_e=Or("function"),Vi=Or("number"),xr=e=>e!==null&&typeof e=="object",Ul=e=>e===!0||e===!1,or=e=>{if(wr(e)!=="object")return!1;const t=Pn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Bl=Ne("Date"),zl=Ne("File"),Hl=Ne("Blob"),Wl=Ne("FileList"),Vl=e=>xr(e)&&_e(e.pipe),ql=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_e(e.append)&&((t=wr(e))==="formdata"||t==="object"&&_e(e.toString)&&e.toString()==="[object FormData]"))},Yl=Ne("URLSearchParams"),Kl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Et(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 qi(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 Yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ki=e=>!It(e)&&e!==Yi;function an(){const{caseless:e}=Ki(this)&&this||{},t={},r=(n,o)=>{const i=e&&qi(t,o)||o;or(t[i])&&or(n)?t[i]=an(t[i],n):or(n)?t[i]=an({},n):Et(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&zt(arguments[n],r);return t}const Gl=(e,t,r,{allOwnKeys:n}={})=>(zt(t,(o,i)=>{r&&_e(o)?e[i]=Hi(o,r):e[i]=o},{allOwnKeys:n}),e),Jl=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Xl=(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)},Zl=(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&&Pn(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Ql=(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},ef=e=>{if(!e)return null;if(Et(e))return e;let t=e.length;if(!Vi(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},tf=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Pn(Uint8Array)),rf=(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])}},nf=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},of=Ne("HTMLFormElement"),af=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Ao=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),sf=Ne("RegExp"),Gi=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};zt(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},cf=e=>{Gi(e,(t,r)=>{if(_e(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(_e(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+"'")})}})},uf=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Et(e)?n(e):n(String(e).split(t)),r},lf=()=>{},ff=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$r="abcdefghijklmnopqrstuvwxyz",Po="0123456789",Ji={DIGIT:Po,ALPHA:$r,ALPHA_DIGIT:$r+$r.toUpperCase()+Po},df=(e=16,t=Ji.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function pf(e){return!!(e&&_e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hf=e=>{const t=new Array(10),r=(n,o)=>{if(xr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=Et(n)?[]:{};return zt(n,(a,s)=>{const c=r(a,o+1);!It(c)&&(i[s]=c)}),t[o]=void 0,i}}return n};return r(e,0)},vf=Ne("AsyncFunction"),mf=e=>e&&(xr(e)||_e(e))&&_e(e.then)&&_e(e.catch),w={isArray:Et,isArrayBuffer:Wi,isBuffer:Il,isFormData:ql,isArrayBufferView:$l,isString:Fl,isNumber:Vi,isBoolean:Ul,isObject:xr,isPlainObject:or,isUndefined:It,isDate:Bl,isFile:zl,isBlob:Hl,isRegExp:sf,isFunction:_e,isStream:Vl,isURLSearchParams:Yl,isTypedArray:tf,isFileList:Wl,forEach:zt,merge:an,extend:Gl,trim:Kl,stripBOM:Jl,inherits:Xl,toFlatObject:Zl,kindOf:wr,kindOfTest:Ne,endsWith:Ql,toArray:ef,forEachEntry:rf,matchAll:nf,isHTMLForm:of,hasOwnProperty:Ao,hasOwnProp:Ao,reduceDescriptors:Gi,freezeMethods:cf,toObjectSet:uf,toCamelCase:af,noop:lf,toFiniteNumber:ff,findKey:qi,global:Yi,isContextDefined:Ki,ALPHABET:Ji,generateString:df,isSpecCompliantForm:pf,toJSONObject:hf,isAsyncFn:vf,isThenable:mf};function K(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(K,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 Xi=K.prototype,Zi={};["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=>{Zi[e]={value:e}});Object.defineProperties(K,Zi);Object.defineProperty(Xi,"isAxiosError",{value:!0});K.from=(e,t,r,n,o,i)=>{const a=Object.create(Xi);return w.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),K.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const yf=null;function sn(e){return w.isPlainObject(e)||w.isArray(e)}function Qi(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function jo(e,t,r){return e?e.concat(t).map(function(o,i){return o=Qi(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function gf(e){return w.isArray(e)&&!e.some(sn)}const bf=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function Rr(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(h,E){return!w.isUndefined(E[h])});const n=r.metaTokens,o=r.visitor||u,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 l(v){if(v===null)return"";if(w.isDate(v))return v.toISOString();if(!c&&w.isBlob(v))throw new K("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(v)||w.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,h,E){let O=v;if(v&&!E&&typeof v=="object"){if(w.endsWith(h,"{}"))h=n?h:h.slice(0,-2),v=JSON.stringify(v);else if(w.isArray(v)&&gf(v)||(w.isFileList(v)||w.endsWith(h,"[]"))&&(O=w.toArray(v)))return h=Qi(h),O.forEach(function(S,C){!(w.isUndefined(S)||S===null)&&t.append(a===!0?jo([h],C,i):a===null?h:h+"[]",l(S))}),!1}return sn(v)?!0:(t.append(jo(E,h,i),l(v)),!1)}const f=[],y=Object.assign(bf,{defaultVisitor:u,convertValue:l,isVisitable:sn});function g(v,h){if(!w.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+h.join("."));f.push(v),w.forEach(v,function(O,R){(!(w.isUndefined(O)||O===null)&&o.call(t,O,w.isString(R)?R.trim():R,h,y))===!0&&g(O,h?h.concat(R):[R])}),f.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return g(e),t}function ko(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function jn(e,t){this._pairs=[],e&&Rr(e,this,t)}const ea=jn.prototype;ea.append=function(t,r){this._pairs.push([t,r])};ea.toString=function(t){const r=t?function(n){return t.call(this,n,ko)}:ko;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ef(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ta(e,t,r){if(!t)return e;const n=r&&r.encode||Ef,o=r&&r.serialize;let i;if(o?i=o(t,r):i=w.isURLSearchParams(t)?t.toString():new jn(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Mo{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 ra={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wf=typeof URLSearchParams<"u"?URLSearchParams:jn,Of=typeof FormData<"u"?FormData:null,xf=typeof Blob<"u"?Blob:null,Rf={isBrowser:!0,classes:{URLSearchParams:wf,FormData:Of,Blob:xf},protocols:["http","https","file","blob","url","data"]},na=typeof window<"u"&&typeof document<"u",Tf=(e=>na&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Sf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Cf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:na,hasStandardBrowserEnv:Tf,hasStandardBrowserWebWorkerEnv:Sf},Symbol.toStringTag,{value:"Module"})),ke={...Cf,...Rf};function _f(e,t){return Rr(e,new ke.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return ke.isNode&&w.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Af(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Pf(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 oa(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]=Pf(o[a])),!s)}if(w.isFormData(e)&&w.isFunction(e.entries)){const r={};return w.forEachEntry(e,(n,o)=>{t(Af(n),o,r,0)}),r}return null}function jf(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 Ht={transitional:ra,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(oa(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 _f(t,this.formSerializer).toString();if((s=w.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Rr(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),jf(t)):t}],transformResponse:[function(t){const r=this.transitional||Ht.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"?K.from(s,K.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:ke.classes.FormData,Blob:ke.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=>{Ht.headers[e]={}});const kf=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"]),Mf=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]&&kf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Do=Symbol("internals");function _t(e){return e&&String(e).trim().toLowerCase()}function ir(e){return e===!1||e==null?e:w.isArray(e)?e.map(ir):String(e)}function Df(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 Nf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fr(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 Lf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function If(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 Ae{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(s,c,l){const u=_t(c);if(!u)throw new Error("header name must be a non-empty string");const f=w.findKey(o,u);(!f||o[f]===void 0||l===!0||l===void 0&&o[f]!==!1)&&(o[f||c]=ir(s))}const a=(s,c)=>w.forEach(s,(l,u)=>i(l,u,c));return w.isPlainObject(t)||t instanceof this.constructor?a(t,r):w.isString(t)&&(t=t.trim())&&!Nf(t)?a(Mf(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=_t(t),t){const n=w.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Df(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=_t(t),t){const n=w.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Fr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=_t(a),a){const s=w.findKey(n,a);s&&(!r||Fr(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||Fr(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]=ir(o),delete r[i];return}const s=t?Lf(i):String(i).trim();s!==i&&delete r[i],r[s]=ir(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
|
+
`)}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[Do]=this[Do]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=_t(a);n[s]||(If(o,a),n[s]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}}Ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(Ae.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});w.freezeMethods(Ae);function Ur(e,t){const r=this||Ht,n=t||r,o=Ae.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 ia(e){return!!(e&&e.__CANCEL__)}function Wt(e,t,r){K.call(this,e??"canceled",K.ERR_CANCELED,t,r),this.name="CanceledError"}w.inherits(Wt,K,{__CANCEL__:!0});function $f(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Ff=ke.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 Uf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Bf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function aa(e,t){return e&&!Uf(t)?Bf(e,t):t}const zf=ke.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 Hf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wf(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 l=Date.now(),u=n[i];a||(a=l),r[o]=c,n[o]=l;let f=i,y=0;for(;f!==o;)y+=r[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-a<t)return;const g=u&&l-u;return g?Math.round(y*1e3/g):void 0}}function No(e,t){let r=0;const n=Wf(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,c=n(s),l=i<=a;r=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&l?(a-i)/c:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Vf=typeof XMLHttpRequest<"u",qf=Vf&&function(e){return new Promise(function(r,n){let o=e.data;const i=Ae.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,c;function l(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let u;if(w.isFormData(o)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[h,...E]=u?u.split(";").map(O=>O.trim()).filter(Boolean):[];i.setContentType([h||"multipart/form-data",...E].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(h+":"+E))}const y=aa(e.baseURL,e.url);f.open(e.method.toUpperCase(),ta(y,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function g(){if(!f)return;const h=Ae.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:h,config:e,request:f};$f(function(S){r(S),l()},function(S){n(S),l()},O),f=null}if("onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(g)},f.onabort=function(){f&&(n(new K("Request aborted",K.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const O=e.transitional||ra;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),n(new K(E,O.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,f)),f=null},ke.hasStandardBrowserEnv&&(s&&w.isFunction(s)&&(s=s(e)),s||s!==!1&&zf(y))){const h=e.xsrfHeaderName&&e.xsrfCookieName&&Ff.read(e.xsrfCookieName);h&&i.set(e.xsrfHeaderName,h)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&w.forEach(i.toJSON(),function(E,O){f.setRequestHeader(O,E)}),w.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),a&&a!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",No(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",No(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=h=>{f&&(n(!h||h.type?new Wt(null,e,f):h),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const v=Hf(y);if(v&&ke.protocols.indexOf(v)===-1){n(new K("Unsupported protocol "+v+":",K.ERR_BAD_REQUEST,e));return}f.send(o||null)})},cn={http:yf,xhr:qf};w.forEach(cn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Lo=e=>`- ${e}`,Yf=e=>w.isFunction(e)||e===null||e===!1,sa={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,!Yf(r)&&(n=cn[(a=String(r)).toLowerCase()],n===void 0))throw new K(`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
|
+
`+i.map(Lo).join(`
|
|
233
|
+
`):" "+Lo(i[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:cn};function Br(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wt(null,e)}function Io(e){return Br(e),e.headers=Ae.from(e.headers),e.data=Ur.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sa.getAdapter(e.adapter||Ht.adapter)(e).then(function(n){return Br(e),n.data=Ur.call(e,e.transformResponse,n),n.headers=Ae.from(n.headers),n},function(n){return ia(n)||(Br(e),n&&n.response&&(n.response.data=Ur.call(e,e.transformResponse,n.response),n.response.headers=Ae.from(n.response.headers))),Promise.reject(n)})}const $o=e=>e instanceof Ae?{...e}:e;function bt(e,t){t=t||{};const r={};function n(l,u,f){return w.isPlainObject(l)&&w.isPlainObject(u)?w.merge.call({caseless:f},l,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function o(l,u,f){if(w.isUndefined(u)){if(!w.isUndefined(l))return n(void 0,l,f)}else return n(l,u,f)}function i(l,u){if(!w.isUndefined(u))return n(void 0,u)}function a(l,u){if(w.isUndefined(u)){if(!w.isUndefined(l))return n(void 0,l)}else return n(void 0,u)}function s(l,u,f){if(f in t)return n(l,u);if(f in e)return n(void 0,l)}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:(l,u)=>o($o(l),$o(u),!0)};return w.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=c[u]||o,y=f(e[u],t[u],u);w.isUndefined(y)&&f!==s||(r[u]=y)}),r}const ca="1.6.8",kn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{kn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Fo={};kn.transitional=function(t,r,n){function o(i,a){return"[Axios v"+ca+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,s)=>{if(t===!1)throw new K(o(a," has been removed"+(r?" in "+r:"")),K.ERR_DEPRECATED);return r&&!Fo[a]&&(Fo[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 Kf(e,t,r){if(typeof e!="object")throw new K("options must be an object",K.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 K("option "+i+" must be "+c,K.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new K("Unknown option "+i,K.ERR_BAD_OPTION)}}const un={assertOptions:Kf,validators:kn},We=un.validators;class nt{constructor(t){this.defaults=t,this.interceptors={request:new Mo,response:new Mo}}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=bt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&un.assertOptions(n,{silentJSONParsing:We.transitional(We.boolean),forcedJSONParsing:We.transitional(We.boolean),clarifyTimeoutError:We.transitional(We.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:un.assertOptions(o,{encode:We.function,serialize:We.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"],v=>{delete i[v]}),r.headers=Ae.concat(a,i);const s=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(c=c&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let u,f=0,y;if(!c){const v=[Io.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,l),y=v.length,u=Promise.resolve(r);f<y;)u=u.then(v[f++],v[f++]);return u}y=s.length;let g=r;for(f=0;f<y;){const v=s[f++],h=s[f++];try{g=v(g)}catch(E){h.call(this,E);break}}try{u=Io.call(this,g)}catch(v){return Promise.reject(v)}for(f=0,y=l.length;f<y;)u=u.then(l[f++],l[f++]);return u}getUri(t){t=bt(this.defaults,t);const r=aa(t.baseURL,t.url);return ta(r,t.params,t.paramsSerializer)}}w.forEach(["delete","get","head","options"],function(t){nt.prototype[t]=function(r,n){return this.request(bt(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(bt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}nt.prototype[t]=r(),nt.prototype[t+"Form"]=r(!0)});class Mn{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 Wt(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 Mn(function(o){t=o}),cancel:t}}}function Gf(e){return function(r){return e.apply(null,r)}}function Jf(e){return w.isObject(e)&&e.isAxiosError===!0}const ln={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(ln).forEach(([e,t])=>{ln[t]=e});function ua(e){const t=new nt(e),r=Hi(nt.prototype.request,t);return w.extend(r,nt.prototype,t,{allOwnKeys:!0}),w.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return ua(bt(e,o))},r}const le=ua(Ht);le.Axios=nt;le.CanceledError=Wt;le.CancelToken=Mn;le.isCancel=ia;le.VERSION=ca;le.toFormData=Rr;le.AxiosError=K;le.Cancel=le.CanceledError;le.all=function(t){return Promise.all(t)};le.spread=Gf;le.isAxiosError=Jf;le.mergeConfig=bt;le.AxiosHeaders=Ae;le.formToJSON=e=>oa(w.isHTMLForm(e)?new FormData(e):e);le.getAdapter=sa.getAdapter;le.HttpStatusCode=ln;le.default=le;const vr=e=>e==null?!0:!(typeof e=="object"||typeof e=="function"),la=e=>{vr(e)||Object.keys(e).forEach(t=>{const r=e[t];if(vr(r))return;const n=Object.keys(r);n.includes("id")&&n.length===1&&r.id===null?e[t]=null:la(r)})},fa=e=>Object.values(e).every(t=>t===null),Xf=e=>{const t={};return Object.entries(e).forEach(([r,n])=>{n&&typeof n=="object"&&fa(n)?t[r]=null:t[r]=n}),t},Dn=e=>{var r;const t=(r=e.response)==null?void 0:r.data;return t&&t.errorFields&&t.errorFields.length>0?t.errorFields.map(n=>({name:n.name.split(".").map(i=>`${i.charAt(0).toLowerCase()}${i.slice(1)}`).join("."),errors:n.errors})):[]},Zf=(e,t)=>{Dn(t).forEach(n=>{e.setError(n.name,{message:n.errors,type:"server"},{shouldFocus:!0}),vr(e.getValues(n.name))||e.setError(`${n.name}.id`,{message:n.errors,type:"server"},{shouldFocus:!0})})},da=e=>{var r;const t=(r=e.response)==null?void 0:r.data;return t!=null&&t.permissions&&t.permissions.length>0?t.permissions:null},pa=e=>e.length<300?e:e.substring(0,300)+"...",Qf=e=>e<1024?`${e} bytes`:e>=1024&&e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1048576).toFixed(1)} MB`;function ha(e=" ",...t){return t.filter(r=>r!=null&&r.length>0).join(e)}const ed=(e,t)=>e.map(r=>`&${t}=${r}`).join("").substring(1),td=(e,t)=>e===null?null:e.length<=t?e:e.slice(0,t)+"…";function Nn(e,t=Nn.characters){return e.replace(/[^A-Za-z0-9]/g,function(r){return t[r]||r})}Nn.characters={Á:"A",Ă:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ǎ:"A",Â:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ä:"A",Ǟ:"A",Ȧ:"A",Ǡ:"A",Ạ:"A",Ȁ:"A",À:"A",Ả:"A",Ȃ:"A",Ā:"A",Ą:"A",Å:"A",Ǻ:"A",Ḁ:"A","Ⱥ":"A",Ã:"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY",Ḃ:"B",Ḅ:"B",Ɓ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ć:"C",Č:"C",Ç:"C",Ḉ:"C",Ĉ:"C",Ċ:"C",Ƈ:"C","Ȼ":"C",Ď:"D",Ḑ:"D",Ḓ:"D",Ḋ:"D",Ḍ:"D",Ɗ:"D",Ḏ:"D",Dz:"D",Dž:"D",Đ:"D",Ð:"D",Ƌ:"D",DZ:"DZ",DŽ:"DZ",É:"E",Ĕ:"E",Ě:"E",Ȩ:"E",Ḝ:"E",Ê:"E",Ế:"E",Ệ:"E",Ề:"E",Ể:"E",Ễ:"E",Ḙ:"E",Ë:"E",Ė:"E",Ẹ:"E",Ȅ:"E",È:"E",Ẻ:"E",Ȇ:"E",Ē:"E",Ḗ:"E",Ḕ:"E",Ę:"E","Ɇ":"E",Ẽ:"E",Ḛ:"E","Ꝫ":"ET",Ḟ:"F",Ƒ:"F",Ǵ:"G",Ğ:"G",Ǧ:"G",Ģ:"G",Ĝ:"G",Ġ:"G",Ɠ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",Ȟ:"H",Ḩ:"H",Ĥ:"H","Ⱨ":"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Í:"I",Ĭ:"I",Ǐ:"I",Î:"I",Ï:"I",Ḯ:"I",İ:"I",Ị:"I",Ȉ:"I",Ì:"I",Ỉ:"I",Ȋ:"I",Ī:"I",Į:"I",Ɨ:"I",Ĩ:"I",Ḭ:"I",І:"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS",Ĵ:"J","Ɉ":"J",Ḱ:"K",Ǩ:"K",Ķ:"K","Ⱪ":"K","Ꝃ":"K",Ḳ:"K",Ƙ:"K",Ḵ:"K","Ꝁ":"K","Ꝅ":"K",Ĺ:"L","Ƚ":"L",Ľ:"L",Ļ:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L","Ⱡ":"L","Ꝉ":"L",Ḻ:"L",Ŀ:"L","Ɫ":"L",Lj:"L",Ł:"L",LJ:"LJ",Ḿ:"M",Ṁ:"M",Ṃ:"M","Ɱ":"M",Ń:"N",Ň:"N",Ņ:"N",Ṋ:"N",Ṅ:"N",Ṇ:"N",Ǹ:"N",Ɲ:"N",Ṉ:"N","Ƞ":"N",Nj:"N",Ñ:"N",NJ:"NJ",Ó:"O",Ŏ:"O",Ǒ:"O",Ô:"O",Ố:"O",Ộ:"O",Ồ:"O",Ổ:"O",Ỗ:"O",Ö:"O",Ȫ:"O",Ȯ:"O",Ȱ:"O",Ọ:"O",Ő:"O",Ȍ:"O",Ò:"O",Ỏ:"O",Ơ:"O",Ớ:"O",Ợ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ȏ:"O","Ꝋ":"O","Ꝍ":"O",Ō:"O",Ṓ:"O",Ṑ:"O",Ɵ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Õ:"O",Ṍ:"O",Ṏ:"O",Ȭ:"O",Ƣ:"OI","Ꝏ":"OO",Ɛ:"E",Ɔ:"O",Ȣ:"OU",Ṕ:"P",Ṗ:"P","Ꝓ":"P",Ƥ:"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q",Ŕ:"R",Ř:"R",Ŗ:"R",Ṙ:"R",Ṛ:"R",Ṝ:"R",Ȑ:"R",Ȓ:"R",Ṟ:"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C",Ǝ:"E",Ś:"S",Ṥ:"S",Š:"S",Ṧ:"S",Ş:"S",Ŝ:"S",Ș:"S",Ṡ:"S",Ṣ:"S",Ṩ:"S",ß:"ss",Ť:"T",Ţ:"T",Ṱ:"T",Ț:"T","Ⱦ":"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",Ṯ:"T",Ʈ:"T",Ŧ:"T","Ɐ":"A","Ꞁ":"L",Ɯ:"M","Ʌ":"V","Ꜩ":"TZ",Ú:"U",Ŭ:"U",Ǔ:"U",Û:"U",Ṷ:"U",Ü:"U",Ǘ:"U",Ǚ:"U",Ǜ:"U",Ǖ:"U",Ṳ:"U",Ụ:"U",Ű:"U",Ȕ:"U",Ù:"U",Ủ:"U",Ư:"U",Ứ:"U",Ự:"U",Ừ:"U",Ử:"U",Ữ:"U",Ȗ:"U",Ū:"U",Ṻ:"U",Ų:"U",Ů:"U",Ũ:"U",Ṹ:"U",Ṵ:"U","Ꝟ":"V",Ṿ:"V",Ʋ:"V",Ṽ:"V","Ꝡ":"VY",Ẃ:"W",Ŵ:"W",Ẅ:"W",Ẇ:"W",Ẉ:"W",Ẁ:"W","Ⱳ":"W",Ẍ:"X",Ẋ:"X",Ý:"Y",Ŷ:"Y",Ÿ:"Y",Ẏ:"Y",Ỵ:"Y",Ỳ:"Y",Ƴ:"Y",Ỷ:"Y","Ỿ":"Y",Ȳ:"Y","Ɏ":"Y",Ỹ:"Y",Ї:"YI",Ź:"Z",Ž:"Z",Ẑ:"Z","Ⱬ":"Z",Ż:"Z",Ẓ:"Z",Ȥ:"Z",Ẕ:"Z",Ƶ:"Z",Þ:"TH",IJ:"IJ",Œ:"OE","ᴀ":"A","ᴁ":"AE",ʙ:"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F",ɢ:"G",ʛ:"G",ʜ:"H",ɪ:"I",ʁ:"R","ᴊ":"J","ᴋ":"K",ʟ:"L","ᴌ":"L","ᴍ":"M",ɴ:"N","ᴏ":"O",ɶ:"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P",ʀ:"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W",ʏ:"Y","ᴢ":"Z",á:"a",ă:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",ǎ:"a",â:"a",ấ:"a",ậ:"a",ầ:"a",ẩ:"a",ẫ:"a",ä:"a",ǟ:"a",ȧ:"a",ǡ:"a",ạ:"a",ȁ:"a",à:"a",ả:"a",ȃ:"a",ā:"a",ą:"a","ᶏ":"a",ẚ:"a",å:"a",ǻ:"a",ḁ:"a","ⱥ":"a",ã:"a","ꜳ":"aa",æ:"ae",ǽ:"ae",ǣ:"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay",ḃ:"b",ḅ:"b",ɓ:"b",ḇ:"b","ᵬ":"b","ᶀ":"b",ƀ:"b",ƃ:"b",ɵ:"o",ć:"c",č:"c",ç:"c",ḉ:"c",ĉ:"c",ɕ:"c",ċ:"c",ƈ:"c","ȼ":"c",ď:"d",ḑ:"d",ḓ:"d","ȡ":"d",ḋ:"d",ḍ:"d",ɗ:"d","ᶑ":"d",ḏ:"d","ᵭ":"d","ᶁ":"d",đ:"d",ɖ:"d",ƌ:"d",ð:"d",ı:"i","ȷ":"j",ɟ:"j",ʄ:"j",dz:"dz",dž:"dz",é:"e",ĕ:"e",ě:"e",ȩ:"e",ḝ:"e",ê:"e",ế:"e",ệ:"e",ề:"e",ể:"e",ễ:"e",ḙ:"e",ë:"e",ė:"e",ẹ:"e",ȅ:"e",è:"e",ẻ:"e",ȇ:"e",ē:"e",ḗ:"e",ḕ:"e","ⱸ":"e",ę:"e","ᶒ":"e","ɇ":"e",ẽ:"e",ḛ:"e","ꝫ":"et",ḟ:"f",ƒ:"f","ᵮ":"f","ᶂ":"f",ǵ:"g",ğ:"g",ǧ:"g",ģ:"g",ĝ:"g",ġ:"g",ɠ:"g",ḡ:"g","ᶃ":"g",ǥ:"g",ḫ:"h",ȟ:"h",ḩ:"h",ĥ:"h","ⱨ":"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",ẖ:"h",ħ:"h",ƕ:"hv",í:"i",ĭ:"i",ǐ:"i",î:"i",ï:"i",ḯ:"i",ị:"i",ȉ:"i",ì:"i",ỉ:"i",ȋ:"i",ī:"i",į:"i","ᶖ":"i",ɨ:"i",ĩ:"i",ḭ:"i",і:"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is",ǰ:"j",ĵ:"j",ʝ:"j","ɉ":"j",ḱ:"k",ǩ:"k",ķ:"k","ⱪ":"k","ꝃ":"k",ḳ:"k",ƙ:"k",ḵ:"k","ᶄ":"k","ꝁ":"k","ꝅ":"k",ĺ:"l",ƚ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l","ȴ":"l",ḷ:"l",ḹ:"l","ⱡ":"l","ꝉ":"l",ḻ:"l",ŀ:"l",ɫ:"l","ᶅ":"l",ɭ:"l",ł:"l",lj:"lj",ſ:"s","ẜ":"s",ẛ:"s","ẝ":"s",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m","ᵯ":"m","ᶆ":"m",ń:"n",ň:"n",ņ:"n",ṋ:"n","ȵ":"n",ṅ:"n",ṇ:"n",ǹ:"n",ɲ:"n",ṉ:"n",ƞ:"n","ᵰ":"n","ᶇ":"n",ɳ:"n",ñ:"n",nj:"nj",ó:"o",ŏ:"o",ǒ:"o",ô:"o",ố:"o",ộ:"o",ồ:"o",ổ:"o",ỗ:"o",ö:"o",ȫ:"o",ȯ:"o",ȱ:"o",ọ:"o",ő:"o",ȍ:"o",ò:"o",ỏ:"o",ơ:"o",ớ:"o",ợ:"o",ờ:"o",ở:"o",ỡ:"o",ȏ:"o","ꝋ":"o","ꝍ":"o","ⱺ":"o",ō:"o",ṓ:"o",ṑ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",õ:"o",ṍ:"o",ṏ:"o",ȭ:"o",ƣ:"oi","ꝏ":"oo",ɛ:"e","ᶓ":"e",ɔ:"o","ᶗ":"o",ȣ:"ou",ṕ:"p",ṗ:"p","ꝓ":"p",ƥ:"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q",ʠ:"q","ɋ":"q","ꝗ":"q",ŕ:"r",ř:"r",ŗ:"r",ṙ:"r",ṛ:"r",ṝ:"r",ȑ:"r",ɾ:"r","ᵳ":"r",ȓ:"r",ṟ:"r",ɼ:"r","ᵲ":"r","ᶉ":"r","ɍ":"r",ɽ:"r","ↄ":"c","ꜿ":"c",ɘ:"e",ɿ:"r",ś:"s",ṥ:"s",š:"s",ṧ:"s",ş:"s",ŝ:"s",ș:"s",ṡ:"s",ṣ:"s",ṩ:"s",ʂ:"s","ᵴ":"s","ᶊ":"s","ȿ":"s",ɡ:"g","ᴑ":"o","ᴓ":"o","ᴝ":"u",ť:"t",ţ:"t",ṱ:"t",ț:"t","ȶ":"t",ẗ:"t","ⱦ":"t",ṫ:"t",ṭ:"t",ƭ:"t",ṯ:"t","ᵵ":"t",ƫ:"t",ʈ:"t",ŧ:"t","ᵺ":"th",ɐ:"a","ᴂ":"ae",ǝ:"e","ᵷ":"g",ɥ:"h","ʮ":"h","ʯ":"h","ᴉ":"i",ʞ:"k","ꞁ":"l",ɯ:"m",ɰ:"m","ᴔ":"oe",ɹ:"r",ɻ:"r",ɺ:"r","ⱹ":"r",ʇ:"t",ʌ:"v",ʍ:"w",ʎ:"y","ꜩ":"tz",ú:"u",ŭ:"u",ǔ:"u",û:"u",ṷ:"u",ü:"u",ǘ:"u",ǚ:"u",ǜ:"u",ǖ:"u",ṳ:"u",ụ:"u",ű:"u",ȕ:"u",ù:"u",ủ:"u",ư:"u",ứ:"u",ự:"u",ừ:"u",ử:"u",ữ:"u",ȗ:"u",ū:"u",ṻ:"u",ų:"u","ᶙ":"u",ů:"u",ũ:"u",ṹ:"u",ṵ:"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v",ṿ:"v",ʋ:"v","ᶌ":"v","ⱱ":"v",ṽ:"v","ꝡ":"vy",ẃ:"w",ŵ:"w",ẅ:"w",ẇ:"w",ẉ:"w",ẁ:"w","ⱳ":"w",ẘ:"w",ẍ:"x",ẋ:"x","ᶍ":"x",ý:"y",ŷ:"y",ÿ:"y",ẏ:"y",ỵ:"y",ỳ:"y",ƴ:"y",ỷ:"y","ỿ":"y",ȳ:"y",ẙ:"y","ɏ":"y",ỹ:"y",ї:"yi",ź:"z",ž:"z",ẑ:"z",ʑ:"z","ⱬ":"z",ż:"z",ẓ:"z",ȥ:"z",ẕ:"z","ᵶ":"z","ᶎ":"z",ʐ:"z",ƶ:"z","ɀ":"z",þ:"th",ff:"ff",ffi:"ffi",ffl:"ffl",fi:"fi",fl:"fl",ij:"ij",œ:"oe",st:"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x",Ё:"YO",Й:"I",Ц:"TS",У:"U",К:"K",Е:"E",Н:"N",Г:"G",Ґ:"G",Ш:"SH",Щ:"SCH",З:"Z",Х:"H",Ъ:"'",ё:"yo",й:"i",ц:"ts",у:"u",к:"k",е:"e",н:"n",г:"g",ґ:"g",ш:"sh",щ:"sch",з:"z",х:"h",ъ:"'",Ф:"F",Ы:"I",В:"V",А:"a",П:"P",Р:"R",О:"O",Л:"L",Д:"D",Ж:"ZH",Э:"E",ф:"f",ы:"i",в:"v",а:"a",п:"p",р:"r",о:"o",л:"l",д:"d",ж:"zh",э:"e",Я:"Ya",Ч:"CH",С:"S",М:"M",И:"I",Т:"T",Ь:"'",Б:"B",Ю:"YU",я:"ya",ч:"ch",с:"s",м:"m",и:"i",т:"t",ь:"'",б:"b",ю:"yu"};/*!
|
|
235
|
+
* cookie
|
|
236
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
237
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
238
|
+
* MIT Licensed
|
|
239
|
+
*/var va=nd,Uo=od,rd=Object.prototype.toString,Zt=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function nd(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var r={},n=t||{},o=n.decode||id,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 l=e.slice(a+1,s).trim();l.charCodeAt(0)===34&&(l=l.slice(1,-1)),r[c]=cd(l,o)}i=s+1}return r}function od(e,t,r){var n=r||{},o=n.encode||ad;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!Zt.test(e))throw new TypeError("argument name is invalid");var i=o(t);if(i&&!Zt.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(!Zt.test(n.domain))throw new TypeError("option domain is invalid");a+="; Domain="+n.domain}if(n.path){if(!Zt.test(n.path))throw new TypeError("option path is invalid");a+="; Path="+n.path}if(n.expires){var c=n.expires;if(!sd(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 l=typeof n.priority=="string"?n.priority.toLowerCase():n.priority;switch(l){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 u=typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite;switch(u){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 id(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function ad(e){return encodeURIComponent(e)}function sd(e){return rd.call(e)==="[object Date]"||e instanceof Date}function cd(e,t){try{return t(e)}catch{return e}}function ud(){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 ld(e){return typeof e=="string"?va(e):typeof e=="object"&&e!==null?e:{}}function zr(e,t={}){const r=fd(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function fd(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class dd{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const o=this.cookies;this.cookies=va(document.cookie),this._checkChanges(o)};const n=typeof document>"u"?"":document.cookie;this.cookies=ld(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=ud()}_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:zr(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),zr(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=zr(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=Uo(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=Uo(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 pd=q.createContext(new dd);var fn={exports:{}},ne={};/** @license React v16.13.1
|
|
240
|
+
* react-is.production.min.js
|
|
241
|
+
*
|
|
242
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
243
|
+
*
|
|
244
|
+
* This source code is licensed under the MIT license found in the
|
|
245
|
+
* LICENSE file in the root directory of this source tree.
|
|
246
|
+
*/var Bo;function hd(){if(Bo)return ne;Bo=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,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(p){if(typeof p=="object"&&p!==null){var P=p.$$typeof;switch(P){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case v:case g:case a:return p;default:return P}}case r:return P}}}function C(p){return S(p)===l}return ne.AsyncMode=c,ne.ConcurrentMode=l,ne.ContextConsumer=s,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=u,ne.Fragment=n,ne.Lazy=v,ne.Memo=g,ne.Portal=r,ne.Profiler=i,ne.StrictMode=o,ne.Suspense=f,ne.isAsyncMode=function(p){return C(p)||S(p)===c},ne.isConcurrentMode=C,ne.isContextConsumer=function(p){return S(p)===s},ne.isContextProvider=function(p){return S(p)===a},ne.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},ne.isForwardRef=function(p){return S(p)===u},ne.isFragment=function(p){return S(p)===n},ne.isLazy=function(p){return S(p)===v},ne.isMemo=function(p){return S(p)===g},ne.isPortal=function(p){return S(p)===r},ne.isProfiler=function(p){return S(p)===i},ne.isStrictMode=function(p){return S(p)===o},ne.isSuspense=function(p){return S(p)===f},ne.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===g||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===O||p.$$typeof===R||p.$$typeof===h)},ne.typeOf=S,ne}var oe={};/** @license React v16.13.1
|
|
247
|
+
* react-is.development.js
|
|
248
|
+
*
|
|
249
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
250
|
+
*
|
|
251
|
+
* This source code is licensed under the MIT license found in the
|
|
252
|
+
* LICENSE file in the root directory of this source tree.
|
|
253
|
+
*/var zo;function vd(){return zo||(zo=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,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===v||b.$$typeof===g||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===O||b.$$typeof===R||b.$$typeof===h)}function C(b){if(typeof b=="object"&&b!==null){var me=b.$$typeof;switch(me){case t:var xe=b.type;switch(xe){case c:case l:case n:case i:case o:case f:return xe;default:var Se=xe&&xe.$$typeof;switch(Se){case s:case u:case v:case g:case a:return Se;default:return me}}case r:return me}}}var p=c,P=l,M=s,J=a,Z=t,G=u,ie=n,fe=v,W=g,X=r,Q=i,ae=o,ue=f,ge=!1;function ye(b){return ge||(ge=!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.")),x(b)||C(b)===c}function x(b){return C(b)===l}function _(b){return C(b)===s}function I(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function k(b){return C(b)===u}function U(b){return C(b)===n}function D(b){return C(b)===v}function N(b){return C(b)===g}function L(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function de(b){return C(b)===f}oe.AsyncMode=p,oe.ConcurrentMode=P,oe.ContextConsumer=M,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=G,oe.Fragment=ie,oe.Lazy=fe,oe.Memo=W,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=ye,oe.isConcurrentMode=x,oe.isContextConsumer=_,oe.isContextProvider=I,oe.isElement=$,oe.isForwardRef=k,oe.isFragment=U,oe.isLazy=D,oe.isMemo=N,oe.isPortal=L,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=de,oe.isValidElementType=S,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?fn.exports=hd():fn.exports=vd();var md=fn.exports,ma=md,yd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ya={};ya[ma.ForwardRef]=yd;ya[ma.Memo]=gd;function bd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function Ln(e){const t=m.useContext(pd);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=m.useState(()=>t.getAll({doNotUpdate:!0}));bd()&&m.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});Ed(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 Ed(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const wd=()=>{const{axiosOptions:e,cookieDomain:t}=m.useContext(An),[,r,n]=Ln(["Authorization"]),o=le.create(e),i=m.useCallback(()=>localStorage.getItem("token")??null,[]),a=m.useCallback(()=>{const l=i();return l!==null&&l.length>0},[i]),s=m.useCallback(async(l,u)=>o.post("/user/login",{kid:l,password:u}).then(f=>(localStorage.setItem("token",f.data),r("Authorization",f.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:ts(new Date(Date.now()),24)}),f.data)).catch(f=>(console.log(f),null)),[o,r,t]),c=m.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:a,login:s,logout:c,getToken:i}},Od=()=>{const[,,e]=Ln(["Authorization"]),{msalScopes:t}=m.useContext(In),{instance:r,inProgress:n}=Kn.useMsal(),o=Kn.useIsAuthenticated(),i=m.useCallback(async()=>r.acquireTokenSilent({scopes:t}).then(u=>u.accessToken).catch(u=>{if(console.error("Error acquiring token",u),u instanceof Yn.InteractionRequiredAuthError)return console.log("Silent token acquisition failed. Acquiring token using redirect"),r.acquireTokenRedirect({scopes:t}),null;throw u}),[r,t]),a=m.useCallback(()=>o,[o]),s=m.useCallback(()=>!a()&&n!==Yn.InteractionStatus.None,[a,n]),c=m.useCallback(async()=>r.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[r,t]),l=m.useCallback(()=>{r.logout(),localStorage.removeItem("user"),e("Authorization")},[e,r]);return{isAuthenticated:a,isAuthenticating:s,login:c,logout:l,getToken:i}},ga=()=>{const{useMsal:e}=m.useContext(In),t=wd(),r=Od();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}},xd="_toast_1s57i_1",At={toast:xd},Rd=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}},ba=()=>({addNotification:m.useCallback((t,r)=>{const n=pa(t),o=Rd(r),i=j.jsxs(j.Fragment,{children:[n,j.jsx($i,{onClick:()=>pt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{pt(i,{id:n,duration:o,position:"top-center",icon:j.jsx($u,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",At.toast)});break}case"danger":{pt(i,{id:n,duration:o,position:"top-center",icon:j.jsx(ju,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",At.toast)});break}case"warning":{pt(i,{id:n,duration:o,position:"top-center",icon:j.jsx(Su,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",At.toast)});break}case"info":{pt(i,{id:n,duration:o,position:"top-center",icon:j.jsx(Au,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",At.toast)});break}case"prompt":{pt(i,{id:n,duration:o,position:"top-center",icon:j.jsx(Pu,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",At.toast)});break}}},[])}),Td=le.CancelToken,Sd=e=>{const{authenticated:t=!0,differentBaseUrl:r,silent:n=!1,customToken:o}={...e},{language:i,axiosTexts:a,axiosOptions:s}=m.useContext(An),{delegation:c}=m.useContext(Ea),l=m.useMemo(()=>(c==null?void 0:c.id)??null,[c==null?void 0:c.id]),{addNotification:u}=ba(),{getToken:f}=ga(),y=m.useMemo(()=>le.create(s),[s]),g=m.useCallback(async h=>{var E,O,R;if(t&&!h.headers.Authorization){const S=o??await f();if(!S)return Promise.reject(new Error("No bearer token"));h.headers.Authorization=`Bearer ${S}`}return l!==null&&(h.headers.DelegationId=l.toString()),(E=h.url)!=null&&E.includes("culture=")?h.url=(O=h.url)==null?void 0:O.replace(/culture=[a-z]{2}/,`culture=${i}`):h.url=`${h.url}${(R=h.url)!=null&&R.includes("?")?"&":"?"}culture=${i}`,h},[t,f,i,o,l]),v=m.useCallback(h=>{var R;if(console.log(h),le.isCancel(h))return Promise.reject(h);const E=Dn(h);if(E.length>0){const S=E.find(C=>C.name.toLowerCase()==="others");return S?(!n&&u(S.errors,"danger"),Promise.reject(h)):(!n&&u(a.validationError,"warning"),Promise.reject(h))}const O=da(h);return O!==null?(u(`${a.permissionError}: ${ha(", ",...O)}`,"danger"),Promise.reject(h)):((R=h.response)==null?void 0:R.status)===403?(!n&&u(a.forbiddenError,"danger"),Promise.reject(h)):h.message&&h.message==="Network Error"?(!n&&u(a.networkError,"danger"),Promise.reject(h)):(le.isCancel(h)||!n&&u(a.unexpectedError,"danger"),Promise.reject(h))},[u,a.forbiddenError,a.networkError,a.permissionError,a.unexpectedError,a.validationError,n]);return m.useEffect(()=>{r&&(y.defaults.baseURL=r),y.interceptors.request.clear(),y.interceptors.response.clear();const h=y.interceptors.request.use(g,O=>Promise.reject(O)),E=y.interceptors.response.use(O=>O,v);return()=>{y.interceptors.request.eject(h),y.interceptors.response.eject(E)}},[y.defaults,y.interceptors.request,y.interceptors.response,r,g,v]),y},In=m.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),Ea=m.createContext({delegation:null,setDelegation:()=>{},availableDelegations:null,setAvailableDelegations:()=>{},refreshAvailableDelegations:async()=>{}}),Cd="_h1_14r4v_1",_d="_h3_14r4v_8",Ad="_h6_14r4v_15",Pd="_subtitle_14r4v_22",jd="_body_14r4v_29",kd="_body2_14r4v_36",Md="_caption_14r4v_43",Dd="_form-label_14r4v_50",Ve={h1:Cd,h3:_d,h6:Ad,subtitle:Pd,body:jd,body2:kd,caption:Md,"form-label":"_form-label_14r4v_50",formLabel:Dd},Nd=({variant:e,className:t,children:r})=>{switch(e){case"h1":return j.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Ve.h1,t),children:r});case"h3":return j.jsx("h3",{className:ce("luminus-text luminus-h3",Ve.h3,t),children:r});case"h6":return j.jsx("h6",{className:ce("luminus-text luminus-h6",Ve.h6,t),children:r});case"subtitle":return j.jsx("div",{className:ce("luminus-text luminus-subtitle",Ve.subtitle,t),children:r});case"body":return j.jsx("div",{className:ce("luminus-text luminus-body",Ve.body,t),children:r});case"body2":return j.jsx("div",{className:ce("luminus-text luminus-body2",Ve.body2,t),children:r});case"caption":return j.jsx("div",{className:ce("luminus-text-muted luminus-caption",Ve.caption,t),children:r});case"form-label":return j.jsx("div",{className:ce("luminus-text luminus-form-label",Ve.formLabel,t),children:r});default:return j.jsx(j.Fragment,{children:r})}},wa=({variant:e,className:t,children:r})=>j.jsx(Nd,{variant:e,className:t,children:r}),Ld="_avatar-icon_1axl6_1",Id={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:Ld},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(Ni,{placement:"bottom",overlay:j.jsx(_n,{children:e}),children:j.jsx("div",{className:ce("luminus-avatar-icon",Id.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,minHeight:r??void 0,height:r??void 0,maxHeight:r??void 0,minWidth:r??void 0,width:r??void 0,maxWidth:r??void 0},children:j.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},$d="_floating-label_1g53j_1",Fd="_without-label_1g53j_21",Ho={"floating-label":"_floating-label_1g53j_1",floatingLabel:$d,"without-label":"_without-label_1g53j_21",withoutLabel:Fd},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(Sn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Ho.floatingLabel,{[i??""]:i},{[Ho.withoutLabel]:s.withoutLabel}),children:t}));xa.displayName="FloatingLabelInput";const Ud="_row-label-input_13ci8_1",Bd="_label_13ci8_4",zd="_input-container_13ci8_9",Hd="_invalid-feedback_13ci8_101",Wd="_keep-check-label_13ci8_129",Vd="_is-invalid_13ci8_157",Pt={"row-label-input":"_row-label-input_13ci8_1",rowLabelInput:Ud,label:Bd,"input-container":"_input-container_13ci8_9",inputContainer:zd,"invalid-feedback":"_invalid-feedback_13ci8_101",invalidFeedback:Hd,"keep-check-label":"_keep-check-label_13ci8_129",keepCheckLabel:Wd,"is-invalid":"_is-invalid_13ci8_157",isInvalid:Vd},Ra=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,isForTextAreaInput:i,inputContainerClassName:a,...s},c)=>j.jsxs("div",{ref:c,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[Pt.isInvalid]:n},{[r??""]:r},{"d-none":e},Pt.rowLabelInput),children:[!s.withoutLabel&&j.jsx("label",{className:ce("label col-6",{"col-12":i},Pt.label),children:j.jsx(wa,{variant:"form-label",className:n?"text-danger":"",children:s.label})}),j.jsx("div",{className:ce("input-container",Pt.inputContainer,{"col-6":!s.withoutLabel&&!i},{"col-12":s.withoutLabel||i},{[Pt.keepCheckLabel]:o},{[a??""]:a}),children:t})]}));Ra.displayName="RowLabelInput";const Ta=m.forwardRef(({children:e,className:t,hidden:r},n)=>j.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));Ta.displayName="NoInputContainer";const qd="_button_qhwih_1",Yd={button:qd},Kd=m.forwardRef(({color:e="primary",icon:t=j.jsx(Uu,{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??""}`,Yd.button),...a,children:[t,r]})),Gd=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]})),Jd=m.forwardRef(({onClick:e,text:t},r)=>j.jsx("div",{ref:r,onClick:n=>{n.preventDefault(),e(n)},role:"button",className:"middle-div",children:j.jsxs("div",{className:"d-flex flex-column align-items-center",children:[j.jsx("div",{className:"mt-",children:"…"}),j.jsx("div",{className:"mt-1 middle-letter",children:t})]})}));exports.AuthContext=In;exports.AvatarIcon=Oa;exports.ConfirmContext=zu;exports.DelegationContext=Ea;exports.ENTERED=Ye;exports.ENTERING=$e;exports.EXITED=qe;exports.EXITING=ar;exports.Fade=ur;exports.FloatingLabel=Sn;exports.FloatingLabelInput=xa;exports.FormContext=Ti;exports.FormGroup=Tn;exports.FromToDatePickerDropdownToggle=Jd;exports.GenIcon=pe;exports.Ie=Ml;exports.LoadingContext=Dl;exports.LoginState=zi;exports.LuminusComponentsContext=An;exports.MdCheck=Ru;exports.MdCircle=xu;exports.MdClear=Ou;exports.MdOutlineAddCircleOutline=ku;exports.MdOutlineArrowOutward=Tu;exports.MdOutlineCameraAlt=Lu;exports.MdOutlineChevronRight=Fu;exports.MdOutlineClose=$i;exports.MdOutlineDelete=Cu;exports.MdOutlineEdit=Iu;exports.MdOutlineExpand=_u;exports.MdOutlineFileUpload=Mu;exports.MdOutlineKeyboardArrowLeft=Du;exports.MdOutlineKeyboardArrowRight=Nu;exports.MdOutlineStar=Bu;exports.NoInputContainer=Ta;exports.OverlayTrigger=Ni;exports.Popover=ki;exports.PromptContext=Hu;exports.PropTypes=z;exports.RowLabelInput=Ra;exports.SimpleDropdownToggle=Kd;exports.Tooltip=_n;exports.TransitionWrapper=si;exports.Typography=wa;exports.UserAvatarToggle=Gd;exports.UserContext=Nl;exports.addEventListener=ri;exports.canUseDOM=gr;exports.cancelToken=Td;exports.classNames=ce;exports.constructFrom=qo;exports.contains=fr;exports.extractErrorsFromResponse=Dn;exports.extractPermissionsFromResponse=da;exports.fixNameIdNulls=la;exports.formatFileSize=Qf;exports.getDefaultExportFromCjs=mr;exports.hasClass=en;exports.hasOnlyNullValues=fa;exports.hookFormSetServerErrors=Zf;exports.isEscKey=Si;exports.isPrimitive=vr;exports.joinStrings=ha;exports.jsxRuntimeExports=j;exports.latinize=Nn;exports.listen=Ge;exports.mergeOptionsWithPopperConfig=Oi;exports.millisecondsInDay=Ja;exports.millisecondsInHour=Yo;exports.millisecondsInMinute=Xa;exports.millisecondsInWeek=Ga;exports.ownerDocument=$t;exports.removeEventListener=ni;exports.renderTransition=Ci;exports.replaceNullValuesOnlyObjectsWithNulls=Xf;exports.secondsInDay=dn;exports.secondsInHour=Ko;exports.secondsInMinute=Za;exports.secondsInMonth=Jo;exports.secondsInQuarter=es;exports.secondsInWeek=Qa;exports.secondsInYear=Go;exports.shortenText=td;exports.style=hn;exports.toDate=Vo;exports.transitionEnd=oi;exports.transitionEndListener=ii;exports.triggerBrowserReflow=ai;exports.truncateText=pa;exports.urlfyArray=ed;exports.useAuth=ga;exports.useAxios=Sd;exports.useBootstrapBreakpoints=cs;exports.useBootstrapMinBreakpoint=us;exports.useBootstrapPrefix=Je;exports.useCallbackRef=Gr;exports.useClickOutside=wi;exports.useCookies=Ln;exports.useEventCallback=ot;exports.useIsRTL=pn;exports.useIsomorphicEffect=cr;exports.useMergedRefs=Ze;exports.useMounted=mn;exports.useNotifications=ba;exports.usePopper=bi;exports.useUncontrolled=os;exports.useWaitForDOMRef=Qr;exports.useWillUnmount=ci;exports.useWindow=Ri;exports.warning=Rn;
|