PageSourceSearch

https://members.ec.co/assets/vendor-bootstrap-QfZpN2Mb.js

js ec.co collected 2026-10-01 13:13:37 UTC 105,891 bytes, 13 lines download raw bytes

1import{g as Mt,r as s,R as te,c as Le}from"./vendor-react-TOOSQ9Q-.js";import{j as p}from"./vendor-puck-lPnaRYA0.js";var mr={exports:{}};/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var c=arguments[i];c&&(a=o(a,r(c)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var c in a)t.call(a,c)&&a[c]&&(i=o(i,c));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(mr);var Cs=mr.exports;const x=Mt(Cs);function Yt(){return Yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yt.apply(null,arguments)}function vr(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var $s=function(e,t,n,r,o,a,i,c){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,c],d=0;l=new Error(t.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},Es=$s;const cd=Mt(Es);function Fn(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Ns(e){var t=Rs(e,"string");return typeof t=="symbol"?t:String(t)}function Rs(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hr(e,t,n){var r=s.useRef(e!==void 0),o=s.useState(t),a=o[0],i=o[1],c=e!==void 0,l=r.current;return r.current=c,!c&&l&&a!==t&&i(t),[c?e:a,s.useCallback(function(u){for(var d=arguments.length,f=new Array(d>1?d-1:0),m=1;m<d;m++)f[m-1]=arguments[m];n&&n.apply(void 0,[u].concat(f)),i(u)},[n])]}function He(e,t){return Object.keys(t).reduce(function(n,r){var o,a=n,i=a[Fn(r)],c=a[r],l=vr(a,[Fn(r),r].map(Ns)),u=t[r],d=hr(c,i,e[u]),f=d[0],m=d[1];return Yt({},l,(o={},o[r]=f,o[u]=m,o))},e)}function qt(e,t){return qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qt(e,t)}function Os(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qt(e,t)}function gr(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function yr(e){function t(n){var r=this.constructor.getDerivedStateFromProps(e,n);return r??null}this.setState(t.bind(this))}function xr(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}gr.__suppressDeprecationWarning=!0;yr.__suppressDeprecationWarning=!0;xr.__suppressDeprecationWarning=!0;function ld(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var n=null,r=null,o=null;if(typeof t.componentWillMount=="function"?n="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),n!==null||r!==null||o!==null){var a=e.displayName||e.name,i=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
6
7`+a+" uses "+i+" but also contains the following legacy lifecycles:"+(n!==null?`
8  `+n:"")+(r!==null?`
9  `+r:"")+(o!==null?`
10  `+o:"")+`
11
12The above lifecycles should be removed. Learn more about this warning here:
13https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=gr,t.componentWillReceiveProps=yr),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=xr;var c=t.componentDidUpdate;t.componentDidUpdate=function(u,d,f){var m=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;c.call(this,u,d,m)}}return e}const wr=["xxl","xl","lg","md","sm","xs"],br="xs",At=s.createContext({prefixes:{},breakpoints:wr,minBreakpoint:br});function N(e,t){const{prefixes:n}=s.useContext(At);return e||n[t]||t}function dn(){const{breakpoints:e}=s.useContext(At);return e}function fn(){const{minBreakpoint:e}=s.useContext(At);return e}function gt(){const{dir:e}=s.useContext(At);return e==="rtl"}function Je(e){return e&&e.ownerDocument||document}function js(e){var t=Je(e);return t&&t.defaultView||window}function Ts(e,t){return js(e).getComputedStyle(e,t)}var Ss=/([A-Z])/g;function ks(e){return e.replace(Ss,"-$1").toLowerCase()}var Ds=/^ms-/;function Et(e){return ks(e).replace(Ds,"-ms-")}var Ms=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function As(e){return!!(e&&Ms.test(e))}function Re(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(Et(t))||Ts(e).getPropertyValue(Et(t));Object.keys(t).forEach(function(o){var a=t[o];!a&&a!==0?e.style.removeProperty(Et(o)):As(o)?r+=o+"("+a+") ":n+=Et(o)+": "+a+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}var Cr={exports:{}},Is="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Bs=Is,Ls=Bs;function $r(){}function Er(){}Er.resetWarningCache=$r;var Fs=function(){function e(r,o,a,i,c,l){if(l!==Ls){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
vendor: 4,471 bytes, line 13
13:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Er,resetWarningCache:$r};return n.PropTypes=n,n};Cr.exports=Fs();var _s=Cr.exports;const ne=Mt(_s),_n={disabled:!1},Nr=te.createContext(null);var Ps=function(t){return t.scrollTop},lt="unmounted",ke="exited",ge="entering",Ee="entered",pt="exiting",Te=function(e){Os(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var i=o,c=i&&!i.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?c?(l=ke,a.appearStatus=ge):l=Ee:r.unmountOnExit||r.mountOnEnter?l=lt:l=ke,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===lt?{status:ke}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==ge&&i!==Ee&&(a=ge):(i===ge||i===Ee)&&(a=pt)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,i,c;return a=i=c=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,c=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:c}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===ge){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Le.findDOMNode(this);i&&Ps(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ke&&this.setState({status:lt})},n.performEnter=function(o){var a=this,i=this.props.enter,c=this.context?this.context.isMounting:o,l=this.props.nodeRef?[c]:[Le.findDOMNode(this),c],u=l[0],d=l[1],f=this.getTimeouts(),m=c?f.appear:f.enter;if(!o&&!i||_n.disabled){this.safeSetState({status:Ee},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:ge},function(){a.props.onEntering(u,d),a.onTransitionEnd(m,function(){a.safeSetState({status:Ee},function(){a.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),c=this.props.nodeRef?void 0:Le.findDOMNode(this);if(!a||_n.disabled){this.safeSetState({status:ke},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:pt},function(){o.props.onExiting(c),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:ke},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(c){i&&(i=!1,a.nextCallback=null,o(c))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:Le.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!i||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===lt)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var c=vr(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return te.createElement(Nr.Provider,{value:null},typeof i=="function"?i(o,c):te.cloneElement(te.Children.only(i),c))},t}(te.Component);Te.contextType=Nr;Te.propTypes={};function Ve(){}Te.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ve,onEntering:Ve,onEntered:Ve,onExit:Ve,onExiting:Ve,onExited:Ve};Te.UNMOUNTED=lt;Te.EXITED=ke;Te.ENTERING=ge;Te.ENTERED=Ee;Te.EXITING=pt;const Ws=Te;function Rr(e){return e.code==="Escape"||e.keyCode===27}function Hs(){const e=s.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Ue(e){if(!e||typeof e=="function")return null;const{major:t}=Hs();return t>=19?e.props.ref:e.ref}const et=!!(typeof window<"u"&&window.document&&window.document.createElement);var Qt=!1,Zt=!1;
13try{var Ut={get passive(){return Qt=!0},get once(){return Zt=Qt=!0}};et&&(window.addEventListener("test",Ut,Ut),window.removeEventListener("test",Ut,!0))}catch{}function pn(e,t,n,r){if(r&&typeof r!="boolean"&&!Zt){var o=r.once,a=r.capture,i=n;!Zt&&o&&(i=n.__once||function c(l){this.removeEventListener(t,c,a),n.call(this,l)},n.__once=i),e.addEventListener(t,i,Qt?r:a)}e.addEventListener(t,n,r)}function Jt(e,t,n,r){var o=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}function Ne(e,t,n,r){return pn(e,t,n,r),function(){Jt(e,t,n,r)}}function Us(e,t,n,r){if(n===void 0&&(n=!1),r===void 0&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}function Ks(e){var t=Re(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function Vs(e,t,n){n===void 0&&(n=5);var r=!1,o=setTimeout(function(){r||Us(e,"transitionend",!0)},t+n),a=Ne(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(o),a()}}function Or(e,t,n,r){n==null&&(n=Ks(e)||0);var o=Vs(e,n,r),a=Ne(e,"transitionend",t);return function(){o(),a()}}function Pn(e,t){const n=Re(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function It(e,t){const n=Pn(e,"transitionDuration"),r=Pn(e,"transitionDelay"),o=Or(e,a=>{a.target===e&&(o(),t(a))},n+r)}function it(...e){return e.filter(t=>t!=null).reduce((t,n)=>{if(typeof n!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return t===null?n:function(...o){t.apply(this,o),n.apply(this,o)}},null)}function mn(e){e.offsetHeight}const Wn=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Gs(e,t){const n=Wn(e),r=Wn(t);return o=>{n&&n(o),r&&r(o)}}function tt(e,t){return s.useMemo(()=>Gs(e,t),[e,t])}function Tt(e){return e&&"setState"in e?Le.findDOMNode(e):e??null}const jr=te.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:o,onExited:a,addEndListener:i,children:c,childRef:l,...u},d)=>{const f=s.useRef(null),m=tt(f,l),v=$=>{m(Tt($))},h=$=>O=>{$&&f.current&&$(f.current,O)},y=s.useCallback(h(e),[e]),g=s.useCallback(h(t),[t]),b=s.useCallback(h(n),[n]),E=s.useCallback(h(r),[r]),C=s.useCallback(h(o),[o]),w=s.useCallback(h(a),[a]),R=s.useCallback(h(i),[i]);return p.jsx(Ws,{ref:d,...u,onEnter:y,onEntered:b,onEntering:g,onExit:E,onExited:w,onExiting:C,addEndListener:R,nodeRef:f,children:typeof c=="function"?($,O)=>c($,{...O,ref:v}):te.cloneElement(c,{ref:v})})});jr.displayName="TransitionWrapper";const Bt=jr,Xs={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function zs(e,t){const n=`offset${e[0].toUpperCase()}${e.slice(1)}`,r=t[n],o=Xs[e];return r+parseInt(Re(t,o[0]),10)+parseInt(Re(t,o[1]),10)}const Ys={[ke]:"collapse",[pt]:"collapsing",[ge]:"collapsing",[Ee]:"collapse show"},Tr=te.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:o,className:a,children:i,dimension:c="height",in:l=!1,timeout:u=300,mountOnEnter:d=!1,unmountOnExit:f=!1,appear:m=!1,getDimensionValue:v=zs,...h},y)=>{const g=typeof c=="function"?c():c,b=s.useMemo(()=>it($=>{$.style[g]="0"},e),[g,e]),E=s.useMemo(()=>it($=>{const O=`scroll${g[0].toUpperCase()}${g.slice(1)}`;$.style[g]=`${$[O]}px`},t),[g,t]),C=s.useMemo(()=>it($=>{$.style[g]=null},n),[g,n]),w=s.useMemo(()=>it($=>{$.style[g]=`${v(g,$)}px`,mn($)},r),[r,v,g]),R=s.useMemo(()=>it($=>{$.style[g]=null},o),[g,o]);return p.jsx(Bt,{ref:y,addEndListener:It,...h,"aria-expanded":h.role?l:null,onEnter:b,onEntering:E,onEntered:C,onExit:w,onExiting:R,childRef:Ue(i),in:l,timeout:u,mountOnEnter:d,unmountOnExit:f,appear:m,children:($,O)=>te.cloneElement(i,{...O,className:x(a,i.props.className,Ys[$],g==="width"&&"collapse-horizontal")})})});Tr.displayName="Collapse";const Sr=Tr;function kr(e,t){return Array.isArray(e)?e.includes(t):e===t}const Dr=s.createContext({});Dr.displayName="AccordionContext";const Lt=Dr,Mr=s.forwardRef(({as:e="div",bsPrefix:t,className:n,children:r,eventKey:o,...a},i)=>{const{activeEventKey:c}=s.useContext(Lt);return t=N(t,"accordion-collapse"),p.jsx(Sr,{ref:i,in:kr(c,o),...a,className:x(n,t),children:p.jsx(e,{children:s.Children.only(r)})})});Mr.displayName="AccordionCollapse";
13const Ar=Mr,Ir=s.createContext({eventKey:""});Ir.displayName="AccordionItemContext";const vn=Ir,Br=s.forwardRef(({as:e="div",bsPrefix:t,className:n,onEnter:r,onEntering:o,onEntered:a,onExit:i,onExiting:c,onExited:l,...u},d)=>{t=N(t,"accordion-body");const{eventKey:f}=s.useContext(vn);return p.jsx(Ar,{eventKey:f,onEnter:r,onEntering:o,onEntered:a,onExit:i,onExiting:c,onExited:l,children:p.jsx(e,{ref:d,...u,className:x(n,t)})})});Br.displayName="AccordionBody";const qs=Br;function Qs(e,t){const{activeEventKey:n,onSelect:r,alwaysOpen:o}=s.useContext(Lt);return a=>{let i=e===n?null:e;o&&(Array.isArray(n)?n.includes(e)?i=n.filter(c=>c!==e):i=[...n,e]:i=[e]),r?.(i,a),t?.(a)}}const Lr=s.forwardRef(({as:e="button",bsPrefix:t,className:n,onClick:r,...o},a)=>{t=N(t,"accordion-button");const{eventKey:i}=s.useContext(vn),c=Qs(i,r),{activeEventKey:l}=s.useContext(Lt);return e==="button"&&(o.type="button"),p.jsx(e,{ref:a,onClick:c,...o,"aria-expanded":Array.isArray(l)?l.includes(i):i===l,className:x(n,t,!kr(l,i)&&"collapsed")})});Lr.displayName="AccordionButton";const Fr=Lr,_r=s.forwardRef(({as:e="h2","aria-controls":t,bsPrefix:n,className:r,children:o,onClick:a,...i},c)=>(n=N(n,"accordion-header"),p.jsx(e,{ref:c,...i,className:x(r,n),children:p.jsx(Fr,{onClick:a,"aria-controls":t,children:o})})));_r.displayName="AccordionHeader";const Zs=_r,Pr=s.forwardRef(({as:e="div",bsPrefix:t,className:n,eventKey:r,...o},a)=>{t=N(t,"accordion-item");const i=s.useMemo(()=>({eventKey:r}),[r]);return p.jsx(vn.Provider,{value:i,children:p.jsx(e,{ref:a,...o,className:x(n,t)})})});
13Pr.displayName="AccordionItem";const Js=Pr,Wr=s.forwardRef((e,t)=>{const{as:n="div",activeKey:r,bsPrefix:o,className:a,onSelect:i,flush:c,alwaysOpen:l,...u}=He(e,{activeKey:"onSelect"}),d=N(o,"accordion"),f=s.useMemo(()=>({activeEventKey:r,onSelect:i,alwaysOpen:l}),[r,i,l]);return p.jsx(Lt.Provider,{value:f,children:p.jsx(n,{ref:t,...u,className:x(a,d,c&&`${d}-flush`)})})});Wr.displayName="Accordion";const ud=Object.assign(Wr,{Button:Fr,Collapse:Ar,Item:Js,Header:Zs,Body:qs});function Hr(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e},[e]),t}function ce(e){const t=Hr(e);return s.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const yt=e=>s.forwardRef((t,n)=>p.jsx("div",{...t,ref:n,className:x(t.className,e)})),Ur=yt("h4");Ur.displayName="DivStyledAsH4";const Kr=s.forwardRef(({className:e,bsPrefix:t,as:n=Ur,...r},o)=>(t=N(t,"alert-heading"),p.jsx(n,{ref:o,className:x(e,t),...r})));Kr.displayName="AlertHeading";const ei=Kr;function en(){return s.useState(null)}function ti(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e},[e]),t}function J(e){const t=ti(e);return s.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function ni(e,t,n,r=!1){const o=J(n);s.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,o,r),()=>a.removeEventListener(t,o,r)},[e])}function Vr(){const e=s.useRef(!0),t=s.useRef(()=>e.current);return s.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Gr(e){const t=s.useRef(null);return s.useEffect(()=>{t.current=e}),t.current}const ri=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",oi=typeof document<"u",Hn=oi||ri?s.useLayoutEffect:s.useEffect,ai=["as","disabled"];function si(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ii(e){return!e||e.trim()==="#"}function hn({tagName:e,disabled:t,href:n,target:r,rel:o,role:a,onClick:i,tabIndex:c=0,type:l}){e||(n!=null||r!=null||o!=null?e="a":e="button");const u={tagName:e};if(e==="button")return[{type:l||"button",disabled:t},u];const d=m=>{if((t||e==="a"&&ii(n))&&m.preventDefault(),t){m.stopPropagation();return}i?.(m)},f=m=>{m.key===" "&&(m.preventDefault(),d(m))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:c,href:n,target:e==="a"?r:void 0,"aria-disabled":t||void 0,rel:e==="a"?o:void 0,onClick:d,onKeyDown:f},u]}const gn=s.forwardRef((e,t)=>{let{as:n,disabled:r}=e,o=si(e,ai);const[a,{tagName:i}]=hn(Object.assign({tagName:n,disabled:r},o));return p.jsx(i,Object.assign({},o,a,{ref:t}))});gn.displayName="Button";const ci=["onKeyDown"];function li(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ui(e){return!e||e.trim()==="#"}const Xr=s.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=li(e,ci);const[o]=hn(Object.assign({tagName:"a"},r)),a=J(i=>{o.onKeyDown(i),n?.(i)});return ui(r.href)||r.role==="button"?p.jsx("a",Object.assign({ref:t},r,o,{onKeyDown:a})):p.jsx("a",Object.assign({ref:t},r,{onKeyDown:n}))});Xr.displayName="Anchor";const Xe=Xr,zr=s.forwardRef(({className:e,bsPrefix:t,as:n=Xe,...r},o)=>(t=N(t,"alert-link"),p.jsx(n,{ref:o,className:x(e,t),...r})));zr.displayName="AlertLink";const di=zr,fi={[ge]:"show",[Ee]:"show"},Yr=s.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...o},a)=>{const i={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},c=s.useCallback((l,u)=>{mn(l),r?.(l,u)},[r]);return p.jsx(Bt,{ref:a,addEndListener:It,...i,onEnter:c,childRef:Ue(t),children:(l,u)=>s.cloneElement(t,{...u,className:x("fade",e,t.props.className,fi[l],n[l])})})});Yr.displayName="Fade";const _e=Yr,pi={"aria-label":ne.string,onClick:ne.func,variant:ne.oneOf(["white"])},yn=s.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},o)=>p.jsx("button",{ref:o,type:"button",className:x("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));yn.displayName="CloseButton";yn.propTypes=pi;const qr=yn,Qr=s.forwardRef((e,t)=>
13{const{bsPrefix:n,show:r=!0,closeLabel:o="Close alert",closeVariant:a,className:i,children:c,variant:l="primary",onClose:u,dismissible:d,transition:f=_e,...m}=He(e,{show:"onClose"}),v=N(n,"alert"),h=ce(b=>{u&&u(!1,b)}),y=f===!0?_e:f,g=p.jsxs("div",{role:"alert",...y?void 0:m,ref:t,className:x(i,v,l&&`${v}-${l}`,d&&`${v}-dismissible`),children:[d&&p.jsx(qr,{onClick:h,"aria-label":o,variant:a}),c]});return y?p.jsx(y,{unmountOnExit:!0,...m,ref:void 0,in:r,children:g}):r?g:null});Qr.displayName="Alert";const dd=Object.assign(Qr,{Link:di,Heading:ei}),Zr=s.forwardRef(({bsPrefix:e,bg:t="primary",pill:n=!1,text:r,className:o,as:a="span",...i},c)=>{const l=N(e,"badge");return p.jsx(a,{ref:c,...i,className:x(o,l,n&&"rounded-pill",r&&`text-${r}`,t&&`bg-${t}`)})});Zr.displayName="Badge";const fd=Zr,Jr=s.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:o=!1,disabled:a=!1,className:i,...c},l)=>{const u=N(t,"btn"),[d,{tagName:f}]=hn({tagName:e,disabled:a,...c}),m=f;return p.jsx(m,{...d,...c,ref:l,disabled:a,className:x(i,u,o&&"active",n&&`${u}-${n}`,r&&`${u}-${r}`,c.href&&a&&"disabled")})});Jr.displayName="Button";const eo=Jr,to=s.forwardRef(({bsPrefix:e,size:t,vertical:n=!1,className:r,role:o="group",as:a="div",...i},c)=>{const l=N(e,"btn-group");let u=l;return n&&(u=`${l}-vertical`),p.jsx(a,{...i,ref:c,role:o,className:x(r,u,t&&`${l}-${t}`)})});to.displayName="ButtonGroup";const pd=to,no=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"card-body"),p.jsx(n,{ref:o,className:x(e,t),...r})));no.displayName="CardBody";const ro=no,oo=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"card-footer"),p.jsx(n,{ref:o,className:x(e,t),...r})));oo.displayName="CardFooter";const mi=oo,ao=s.createContext(null);ao.displayName="CardHeaderContext";const so=ao,io=s.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},o)=>{const a=N(e,"card-header"),i=s.useMemo(()=>({cardHeaderBsPrefix:a}),[a]);return p.jsx(so.Provider,{value:i,children:p.jsx(n,{ref:o,...r,className:x(t,a)})})});io.displayName="CardHeader";const vi=io,co=s.forwardRef(({bsPrefix:e,className:t,variant:n,as:r="img",...o},a)=>{const i=N(e,"card-img");return p.jsx(r,{ref:a,className:x(n?`${i}-${n}`:i,t),...o})});co.displayName="CardImg";const hi=co,lo=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"card-img-overlay"),p.jsx(n,{ref:o,className:x(e,t),...r})));lo.displayName="CardImgOverlay";const gi=lo,uo=s.forwardRef(({className:e,bsPrefix:t,as:n="a",...r},o)=>(t=N(t,"card-link"),p.jsx(n,{ref:o,className:x(e,t),...r})));uo.displayName="CardLink";const yi=uo,xi=yt("h6"),fo=s.forwardRef(({className:e,bsPrefix:t,as:n=xi,...r},o)=>(t=N(t,"card-subtitle"),p.jsx(n,{ref:o,className:x(e,t),...r})));fo.displayName="CardSubtitle";const wi=fo,po=s.forwardRef(({className:e,bsPrefix:t,as:n="p",...r},o)=>(t=N(t,"card-text"),p.jsx(n,{ref:o,className:x(e,t),...r})));po.displayName="CardText";const bi=po,Ci=yt("h5"),mo=s.forwardRef(({className:e,bsPrefix:t,as:n=Ci,...r},o)=>(t=N(t,"card-title"),p.jsx(n,{ref:o,className:x(e,t),...r})));mo.displayName="CardTitle";const $i=mo,vo=s.forwardRef(({bsPrefix:e,className:t,bg:n,text:r,border:o,body:a=!1,children:i,as:c="div",...l},u)=>{const d=N(e,"card");return p.jsx(c,{ref:u,...l,className:x(t,d,n&&`bg-${n}`,r&&`text-${r}`,o&&`border-${o}`),children:a?p.jsx(ro,{children:i}):i})});vo.displayName="Card";const md=Object.assign(vo,{Img:hi,Title:$i,Subtitle:wi,Body:ro,Link:yi,Text:bi,Header:vi,Footer:mi,ImgOverlay:gi});function Ei(e,t){const n=s.useRef(!0);s.useEffect(()=>{if(n.current){n.current=!1;return}return e()},t)}function Ni(){const e=s.useRef(!0),t=s.useRef(()=>e.current);return s.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Ri(e){const t=s.useRef(e);return t.current=e,t}function ho(e){const t=Ri(e);s.useEffect(()=>()=>t.current(),[])}const tn=2**31-1;function go(e,t,n){const r=n-Date.now();e.current=r<=tn?setTimeout(t,r):setTimeout(()=>go(e,t,n),tn)}function yo(){const e=Ni(),t=s.useRef();return ho(()=>clearTimeout(t.current)),s.useMemo(()=>{const n=()=>clearTimeout(t.current);function r(o,a=0){e()&&(n(),a<=tn?t.current=setTimeout(o,a):go(t,o,Date.now()+a))}return{set:r,clear:n,handleRef:t}},[])}const xo=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"carousel-caption"),p.jsx(n,{ref:o,className:x(e,t),...r})));
13xo.displayName="CarouselCaption";const Oi=xo,wo=s.forwardRef(({as:e="div",bsPrefix:t,className:n,...r},o)=>{const a=x(n,N(t,"carousel-item"));return p.jsx(e,{ref:o,...r,className:a})});wo.displayName="CarouselItem";const ji=wo;function nn(e,t){let n=0;return s.Children.map(e,r=>s.isValidElement(r)?t(r,n++):r)}function Ti(e,t){let n=0;s.Children.forEach(e,r=>{s.isValidElement(r)&&t(r,n++)})}function Si(e,t){return s.Children.toArray(e).some(n=>s.isValidElement(n)&&n.type===t)}const ki=40;function Di(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;const t=getComputedStyle(e);return t.display!=="none"&&t.visibility!=="hidden"&&getComputedStyle(e.parentNode).display!=="none"}const bo=s.forwardRef(({defaultActiveIndex:e=0,...t},n)=>{const{as:r="div",bsPrefix:o,slide:a=!0,fade:i=!1,controls:c=!0,indicators:l=!0,indicatorLabels:u=[],activeIndex:d,onSelect:f,onSlide:m,onSlid:v,interval:h=5e3,keyboard:y=!0,onKeyDown:g,pause:b="hover",onMouseOver:E,onMouseOut:C,wrap:w=!0,touch:R=!0,onTouchStart:$,onTouchMove:O,onTouchEnd:j,prevIcon:A=p.jsx("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:D="Previous",nextIcon:T=p.jsx("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:k="Next",variant:S,className:B,children:I,...H}=He({defaultActiveIndex:e,...t},{activeIndex:"onSelect"}),_=N(o,"carousel"),W=gt(),G=s.useRef(null),[U,Y]=s.useState("next"),[ee,X]=s.useState(!1),[P,z]=s.useState(!1),[K,de]=s.useState(d||0);s.useEffect(()=>{!P&&d!==K&&(G.current?Y(G.current):Y((d||0)>K?"next":"prev"),a&&z(!0),de(d||0))},[d,P,K,a]),s.useEffect(()=>{G.current&&(G.current=null)});let q=0,se;Ti(I,(M,V)=>{++q,V===d&&(se=M.props.interval)});const fe=Hr(se),Q=s.useCallback(M=>{if(P)return;let V=K-1;if(V<0){if(!w)return;V=q-1}G.current="prev",f?.(V,M)},[P,K,f,w,q]),Z=ce(M=>{if(P)return;let V=K+1;if(V>=q){if(!w)return;V=0}G.current="next",f?.(V,M)}),ie=s.useRef();s.useImperativeHandle(n,()=>({element:ie.current,prev:Q,next:Z}));const pe=ce(()=>{!document.hidden&&Di(ie.current)&&(W?Q():Z())}),F=U==="next"?"start":"end";Ei(()=>{a||(m?.(K,F),v?.(K,F))},[K]);const be=`${_}-item-${U}`,ye=`${_}-item-${F}`,ot=s.useCallback(M=>{mn(M),m?.(K,F)},[m,K,F]),at=s.useCallback(()=>{z(!1),v?.(K,F)},[v,K,F]),me=s.useCallback(M=>{if(y&&!/input|textarea/i.test(M.target.tagName))switch(M.key){case"ArrowLeft":M.preventDefault(),W?Z(M):Q(M);return;case"ArrowRight":M.preventDefault(),W?Q(M):Z(M);return}g?.(M)},[y,g,Q,Z,W]),Se=s.useCallback(M=>{b==="hover"&&X(!0),E?.(M)},[b,E]),Ke=s.useCallback(M=>{X(!1),C?.(M)},[C]),Ae=s.useRef(0),ve=s.useRef(0),Ie=yo(),L=s.useCallback(M=>{Ae.current=M.touches[0].clientX,ve.current=0,b==="hover"&&X(!0),$?.(M)},[b,$]),he=s.useCallback(M=>{M.touches&&M.touches.length>1?ve.current=0:ve.current=M.touches[0].clientX-Ae.current,O?.(M)},[O]),Be=s.useCallback(M=>{if(R){const V=ve.current;Math.abs(V)>ki&&(V>0?Q(M):Z(M))}b==="hover"&&Ie.set(()=>{X(!1)},h||void 0),j?.(M)},[R,b,Q,Z,Ie,h,j]),Bn=h!=null&&!ee&&!P,Ht=s.useRef();s.useEffect(()=>{var M,V;if(!Bn)return;const Ce=W?Q:Z;return Ht.current=window.setInterval(document.visibilityState?pe:Ce,(M=(V=fe.current)!=null?V:h)!=null?M:void 0),()=>{Ht.current!==null&&clearInterval(Ht.current)}},[Bn,Q,Z,fe,h,pe,W]);const Ln=s.useMemo(()=>l&&Array.from({length:q},(M,V)=>Ce=>{f?.(V,Ce)}),[l,q,f]);return p.jsxs(r,{ref:ie,...H,onKeyDown:me,onMouseOver:Se,onMouseOut:Ke,onTouchStart:L,onTouchMove:he,onTouchEnd:Be,className:x(B,_,a&&"slide",i&&`${_}-fade`,S&&`${_}-${S}`),children:[l&&p.jsx("div",{className:`${_}-indicators`,children:nn(I,(M,V)=>p.jsx("button",{type:"button","data-bs-target":"","aria-label":u!=null&&u.length?u[V]:`Slide ${V+1}`,className:V===K?"active":void 0,onClick:Ln?Ln[V]:void 0,"aria-current":V===K},V))}),p.jsx("div",{className:`${_}-inner`,children:nn(I,(M,V)=>{const Ce=V===K;return a?p.jsx(Bt,{in:Ce,onEnter:Ce?ot:void 0,onEntered:Ce?at:void 0,addEndListener:It,children:(st,bs)=>s.cloneElement(M,{...bs,className:x(M.props.className,Ce&&st!=="entered"&&be,(st==="entered"||st==="exiting")&&"active",(st==="entering"||st==="exiting")&&ye)})}):s.cloneElement(M,{className:x(M.props.className,Ce&&"active")})})}),c&&p.jsxs(p.Fragment,{children:[(w||d!==0)&&p.jsxs(Xe,{className:`${_}-control-prev`,onClick:Q,children:[A,D&&p.jsx("span",{className:"visually-hidden",children:D})]}),(w||d!==q-1)&&p.jsxs(Xe,{className:`${_}-control-next`,onClick:Z,children:[T,k&&p.jsx("span",{className:"visually-hidden",children:k})]})]})]})});
13bo.displayName="Carousel";const vd=Object.assign(bo,{Caption:Oi,Item:ji});function Co({as:e,bsPrefix:t,className:n,...r}){t=N(t,"col");const o=dn(),a=fn(),i=[],c=[];return o.forEach(l=>{const u=r[l];delete r[l];let d,f,m;typeof u=="object"&&u!=null?{span:d,offset:f,order:m}=u:d=u;const v=l!==a?`-${l}`:"";d&&i.push(d===!0?`${t}${v}`:`${t}${v}-${d}`),m!=null&&c.push(`order${v}-${m}`),f!=null&&c.push(`offset${v}-${f}`)}),[{...r,className:x(n,...i,...c)},{as:e,bsPrefix:t,spans:i}]}const $o=s.forwardRef((e,t)=>{const[{className:n,...r},{as:o="div",bsPrefix:a,spans:i}]=Co(e);return p.jsx(o,{...r,ref:t,className:x(n,!i.length&&a)})});$o.displayName="Col";const Mi=$o,Eo=s.forwardRef(({bsPrefix:e,fluid:t=!1,as:n="div",className:r,...o},a)=>{const i=N(e,"container"),c=typeof t=="string"?`-${t}`:"-fluid";return p.jsx(n,{ref:a,...o,className:x(r,t?`${i}${c}`:i)})});Eo.displayName="Container";const hd=Eo;var Ai=Function.prototype.bind.call(Function.prototype.call,[].slice);function $e(e,t){return Ai(e.querySelectorAll(t))}function Ii(e,t,n){const r=s.useRef(e!==void 0),[o,a]=s.useState(t),i=e!==void 0,c=r.current;return r.current=i,!i&&c&&o!==t&&a(t),[i?e:o,s.useCallback((...l)=>{const[u,...d]=l;let f=n?.(u,...d);return a(u),f},[n])]}function No(){const[,e]=s.useReducer(t=>t+1,0);return e}const Bi=s.createContext(null),Ft=Bi;var Un=Object.prototype.hasOwnProperty;function Kn(e,t,n){for(n of e.keys())if(ut(n,t))return n}function ut(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&ut(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(o=r,o&&typeof o=="object"&&(o=Kn(t,o),!o)||!t.has(o))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(o=r[0],o&&typeof o=="object"&&(o=Kn(t,o),!o)||!ut(r[1],t.get(o)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Un.call(e,n)&&++r&&!Un.call(t,n)||!(n in t)||!ut(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function Li(e){const t=Vr();return[e[0],s.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var re="top",le="bottom",ue="right",oe="left",xn="auto",xt=[re,le,ue,oe],ze="start",mt="end",Fi="clippingParents",Ro="viewport",ct="popper",_i="reference",Vn=xt.reduce(function(e,t){return e.concat([t+"-"+ze,t+"-"+mt])},[]),Oo=[].concat(xt,[xn]).reduce(function(e,t){return e.concat([t,t+"-"+ze,t+"-"+mt])},[]),Pi="beforeRead",Wi="read",Hi="afterRead",Ui="beforeMain",Ki="main",Vi="afterMain",Gi="beforeWrite",Xi="write",zi="afterWrite",Yi=[Pi,Wi,Hi,Ui,Ki,Vi,Gi,Xi,zi];function xe(e){return e.split("-")[0]}function ae(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pe(e){var t=ae(e).Element;return e instanceof t||e instanceof Element}function we(e){var t=ae(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function wn(e){if(typeof ShadowRoot>"u")return!1;var t=ae(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Fe=Math.max,St=Math.min,Ye=Math.round;function rn(){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 jo(){return!/^((?!chrome|android).)*safari/i.test(rn())}function qe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&we(e)&&(o=e.offsetWidth>0&&Ye(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ye(r.height)/e.offsetHeight||1);var i=Pe(e)?ae(e):window,c=i.visualViewport,l=!jo()&&n,u=(r.left+(l&&c?c.offsetLeft:0))/o,d=(r.top+(l&&c?c.offsetTop:0))/a,f=r.width/o,m=r.height/a;return{width:f,height:m,top:d,right:u+f,bottom:d+m,left:u,x:u,y:d}}function bn(e){var t=qe(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;
vendor: 14,705 bytes, line 13
13if(n&&wn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function De(e){return e?(e.nodeName||"").toLowerCase():null}function Oe(e){return ae(e).getComputedStyle(e)}function qi(e){return["table","td","th"].indexOf(De(e))>=0}function Me(e){return((Pe(e)?e.ownerDocument:e.document)||window.document).documentElement}function _t(e){return De(e)==="html"?e:e.assignedSlot||e.parentNode||(wn(e)?e.host:null)||Me(e)}function Gn(e){return!we(e)||Oe(e).position==="fixed"?null:e.offsetParent}function Qi(e){var t=/firefox/i.test(rn()),n=/Trident/i.test(rn());if(n&&we(e)){var r=Oe(e);if(r.position==="fixed")return null}var o=_t(e);for(wn(o)&&(o=o.host);we(o)&&["html","body"].indexOf(De(o))<0;){var a=Oe(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function wt(e){for(var t=ae(e),n=Gn(e);n&&qi(n)&&Oe(n).position==="static";)n=Gn(n);return n&&(De(n)==="html"||De(n)==="body"&&Oe(n).position==="static")?t:n||Qi(e)||t}function Cn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dt(e,t,n){return Fe(e,St(t,n))}function Zi(e,t,n){var r=dt(e,t,n);return r>n?n:r}function So(){return{top:0,right:0,bottom:0,left:0}}function ko(e){return Object.assign({},So(),e)}function Do(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ji=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ko(typeof t!="number"?t:Do(t,xt))};function ec(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=xe(n.placement),l=Cn(c),u=[oe,ue].indexOf(c)>=0,d=u?"height":"width";if(!(!a||!i)){var f=Ji(o.padding,n),m=bn(a),v=l==="y"?re:oe,h=l==="y"?le:ue,y=n.rects.reference[d]+n.rects.reference[l]-i[l]-n.rects.popper[d],g=i[l]-n.rects.reference[l],b=wt(a),E=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,C=y/2-g/2,w=f[v],R=E-m[d]-f[h],$=E/2-m[d]/2+C,O=dt(w,$,R),j=l;n.modifiersData[r]=(t={},t[j]=O,t.centerOffset=O-$,t)}}function tc(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||To(t.elements.popper,o)&&(t.elements.arrow=o))}const nc={name:"arrow",enabled:!0,phase:"main",fn:ec,effect:tc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qe(e){return e.split("-")[1]}var rc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oc(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ye(n*o)/o||0,y:Ye(r*o)/o||0}}function Xn(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,c=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,m=i.x,v=m===void 0?0:m,h=i.y,y=h===void 0?0:h,g=typeof d=="function"?d({x:v,y}):{x:v,y};v=g.x,y=g.y;var b=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),C=oe,w=re,R=window;if(u){var $=wt(n),O="clientHeight",j="clientWidth";if($===ae(n)&&($=Me(n),Oe($).position!=="static"&&c==="absolute"&&(O="scrollHeight",j="scrollWidth")),$=$,o===re||(o===oe||o===ue)&&a===mt){w=le;var A=f&&$===R&&R.visualViewport?R.visualViewport.height:$[O];y-=A-r.height,y*=l?1:-1}if(o===oe||(o===re||o===le)&&a===mt){C=ue;var D=f&&$===R&&R.visualViewport?R.visualViewport.width:$[j];v-=D-r.width,v*=l?1:-1}}var T=Object.assign({position:c},u&&rc),k=d===!0?oc({x:v,y},ae(n)):{x:v,y};if(v=k.x,y=k.y,l){var S;return Object.assign({},T,(S={},S[w]=E?"0":"",S[C]=b?"0":"",S.transform=(R.devicePixelRatio||1)<=1?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",S))}return Object.assign({},T,(t={},t[w]=E?y+"px":"",t[C]=b?v+"px":"",t.transform="",t))}function ac(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,i=a===void 0?!0:a,c=n.roundOffsets,l=c===void 0?!0:c,u={placement:xe(t.placement),variation:Qe(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,Xn(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xn(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),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 Nt={passive:!0};function ic(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,i=r.resize,c=i===void 0?!0:i,l=ae(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(d){d.addEventListener("scroll",n.update,Nt)}),c&&l.addEventListener("resize",n.update,Nt),function(){a&&u.forEach(function(d){d.removeEventListener("scroll",n.update,Nt)}),c&&l.removeEventListener("resize",n.update,Nt)}}const cc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ic,data:{}};var lc={left:"right",right:"left",bottom:"top",top:"bottom"};function Ot(e){return e.replace(/left|right|bottom|top/g,function(t){return lc[t]})}var uc={start:"end",end:"start"};function zn(e){return e.replace(/start|end/g,function(t){return uc[t]})}function $n(e){var t=ae(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function En(e){return qe(Me(e)).left+$n(e).scrollLeft}function dc(e,t){var n=ae(e),r=Me(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,c=0,l=0;if(o){a=o.width,i=o.height;var u=jo();(u||!u&&t==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:c+En(e),y:l}}function fc(e){var t,n=Me(e),r=$n(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Fe(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Fe(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+En(e),l=-r.scrollTop;return Oe(o||n).direction==="rtl"&&(c+=Fe(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:l}}function Nn(e){var t=Oe(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Mo(e){return["html","body","#document"].indexOf(De(e))>=0?e.ownerDocument.body:we(e)&&Nn(e)?e:Mo(_t(e))}function ft(e,t){var n;t===void 0&&(t=[]);var r=Mo(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=ae(r),i=o?[a].concat(a.visualViewport||[],Nn(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(ft(_t(i)))}function on(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pc(e,t){var n=qe(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Yn(e,t,n){return t===Ro?on(dc(e,n)):Pe(t)?pc(t,n):on(fc(Me(e)))}function mc(e){var t=ft(_t(e)),n=["absolute","fixed"].indexOf(Oe(e).position)>=0,r=n&&we(e)?wt(e):e;return Pe(r)?t.filter(function(o){return Pe(o)&&To(o,r)&&De(o)!=="body"}):[]}function vc(e,t,n,r){var o=t==="clippingParents"?mc(e):[].concat(t),a=[].concat(o,[n]),i=a[0],c=a.reduce(function(l,u){var d=Yn(e,u,r);return l.top=Fe(d.top,l.top),l.right=St(d.right,l.right),l.bottom=St(d.bottom,l.bottom),l.left=Fe(d.left,l.left),l},Yn(e,i,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Ao(e){var t=e.reference,n=e.element,r=e.placement,o=r?xe(r):null,a=r?Qe(r):null,i=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,l;switch(o){case re:l={x:i,y:t.y-n.height};break;case le:l={x:i,y:t.y+t.height};break;case ue:l={x:t.x+t.width,y:c};break;case oe:l={x:t.x-n.width,y:c};break;default:l={x:t.x,y:t.y}}var u=o?Cn(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(a){case ze:l[u]=l[u]-(t[d]/2-n[d]/2);break;case mt:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function vt(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,i=a===void 0?e.strategy:a,c=n.boundary,l=c===void 0?Fi:c,u=n.rootBoundary,d=u===void 0?Ro:u,f=n.elementContext,m=f===void 0?ct:f,v=n.altBoundary,h=v===void 0?!1:v,y=n.padding,g=y===void 0?0:y,b=ko(typeof g!="number"?g:Do(g,xt)),E=m===ct?_i:ct,C=e.rects.popper,w=e.elements[h?E:m],R=vc(Pe(w)?w:w.contextElement||Me(e.elements.popper),l,d,i),$=qe(e.elements.reference),O=Ao({reference:$,element:C,strategy:"absolute",placement:o}),j=on(Object.assign({},C,O)),A=m===ct?j:$,D={top:R.top-A.top+b.top,bottom:A.bottom-R.bottom+b.bottom,left:R.left-A.left+b.left,right:A.right-R.right+b.right},T=e.modifiersData.offset;if(m===ct&&T){var k=T[o];Object.keys(D).forEach(function(S){var B=[ue,le].indexOf(S)>=0?1:-1,I=[re,le].indexOf(S)>=0?"y":"x";D[S]+=k[I]*B})}return D}function hc(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Oo:l,d=Qe(r),f=d?c?Vn:Vn.filter(function(h){return Qe(h)===d}):xt,m=f.filter(function(h){return u.indexOf(h)>=0});m.length===0&&(m=f);var v=m.reduce(function(h,y){return h[y]=vt(e,{placement:y,boundary:o,rootBoundary:a,padding:i})[xe(y)],h},{});return Object.keys(v).sort(function(h,y){return v[h]-v[y]})}function gc(e){if(xe(e)===xn)return[];var t=Ot(e);return[zn(e),t,zn(t)]}function yc(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,c=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,d=n.boundary,f=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,h=v===void 0?!0:v,y=n.allowedAutoPlacements,g=t.options.placement,b=xe(g),E=b===g,C=l||(E||!h?[Ot(g)]:gc(g)),w=[g].concat(C).reduce(function(P,z){return P.concat(xe(z)===xn?hc(t,{placement:z,boundary:d,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:y}):z)},[]),R=t.rects.reference,$=t.rects.popper,O=new Map,j=!0,A=w[0],D=0;D<w.length;D++){var T=w[D],k=xe(T),S=Qe(T)===ze,B=[re,le].indexOf(k)>=0,I=B?"width":"height",H=vt(t,{placement:T,boundary:d,rootBoundary:f,altBoundary:m,padding:u}),_=B?S?ue:oe:S?le:re;R[I]>$[I]&&(_=Ot(_));var W=Ot(_),G=[];if(a&&G.push(H[k]<=0),c&&G.push(H[_]<=0,H[W]<=0),G.every(function(P){return P})){A=T,j=!1;break}O.set(T,G)}if(j)for(var U=h?3:1,Y=function(z){var K=w.find(function(de){var q=O.get(de);if(q)return q.slice(0,z).every(function(se){return se})});if(K)return A=K,"break"},ee=U;ee>0;ee--){var X=Y(ee);if(X==="break")break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}}const xc={name:"flip",enabled:!0,phase:"main",fn:yc,requiresIfExists:["offset"],data:{_skip:!1}};function qn(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Qn(e){return[re,ue,le,oe].some(function(t){return e[t]>=0})}function wc(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=vt(t,{elementContext:"reference"}),c=vt(t,{altBoundary:!0}),l=qn(i,r),u=qn(c,o,a),d=Qn(l),f=Qn(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const bc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wc};function Cc(e,t,n){var r=xe(e),o=[oe,re].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[oe,ue].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}function $c(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,i=Oo.reduce(function(d,f){return d[f]=Cc(f,t.rects,a),d},{}),c=i[t.placement],l=c.x,u=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const Ec={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$c};function Nc(e){var t=e.state,n=e.name;t.modifiersData[n]=Ao({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Rc={name:"popperOffsets",enabled:!0,phase:"read",fn:Nc,data:{}};function Oc(e){return e==="x"?"y":"x"}function jc(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,c=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.padding,m=n.tether,v=m===void 0?!0:m,h=n.tetherOffset,y=h===void 0?0:h,g=vt(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:d}),b=xe(t.placement),E=Qe(t.placement),C=!E,w=Cn(b),R=Oc(w),$=t.modifiersData.popperOffsets,O=t.rects.reference,j=t.rects.popper,A=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,D=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if($){if(a){var S,B=w==="y"?re:oe,I=w==="y"?le:ue,H=w==="y"?"height":"width",_=$[w],W=_+g[B],G=_-g[I],U=v?-j[H]/2:0,Y=E===ze?O[H]:j[H],ee=E===ze?-j[H]:-O[H],X=t.elements.arrow,P=v&&X?bn(X):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:So(),K=z[B],de=z[I],q=dt(0,O[H],P[H]),se=C?O[H]/2-U-q-K-D.mainAxis:Y-q-K-D.mainAxis,fe=C?-O[H]/2+U+q+de+D.mainAxis:ee+q+de+D.mainAxis,Q=t.elements.arrow&&wt(t.elements.arrow),Z=Q?w==="y"?Q.clientTop||0:Q.clientLeft||0:0,ie=(S=T?.[w])!=null?S:0,pe=_+se-ie-Z,F=_+fe-ie,be=dt(v?St(W,pe):W,_,v?Fe(G,F):G);$[w]=be,k[w]=be-_}if(c){var ye,ot=w==="x"?re:oe,at=w==="x"?le:ue,me=$[R],Se=R==="y"?"height":"width",Ke=me+g[ot],Ae=me-g[at],ve=[re,oe].indexOf(b)!==-1,Ie=(ye=T?.[R])!=null?ye:0,L=ve?Ke:me-O[Se]-j[Se]-Ie+D.altAxis,he=ve?me+O[Se]+j[Se]-Ie-D.altAxis:Ae,Be=v&&ve?Zi(L,me,he):dt(v?L:Ke,me,v?he:Ae);$[R]=Be,k[R]=Be-me}t.modifiersData[r]=k}}const Tc={name:"preventOverflow",enabled:!0,phase:"main",fn:jc,requiresIfExists:["offset"]};function Sc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function kc(e){return e===ae(e)||!we(e)?$n(e):Sc(e)}function Dc(e){var t=e.getBoundingClientRect(),n=Ye(t.width)/e.offsetWidth||1,r=Ye(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Mc(e,t,n){n===void 0&&(n=!1);var r=we(t),o=we(t)&&Dc(t),a=Me(t),i=qe(e,o,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((De(t)!=="body"||Nn(a))&&(c=kc(t)),we(t)?(l=qe(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=En(a))),{x:i.left+c.scrollLeft-l.x,y:i.top+c.scrollTop-l.y,width:i.width,height:i.height}}function Ac(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);
13i.forEach(function(c){if(!n.has(c)){var l=t.get(c);l&&o(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function Ic(e){var t=Ac(e);return Yi.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Bc(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Lc(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Zn={placement:"bottom",modifiers:[],strategy:"absolute"};function Jn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Fc(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?Zn:o;return function(c,l,u){u===void 0&&(u=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zn,a),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},f=[],m=!1,v={state:d,setOptions:function(b){var E=typeof b=="function"?b(d.options):b;y(),d.options=Object.assign({},a,d.options,E),d.scrollParents={reference:Pe(c)?ft(c):c.contextElement?ft(c.contextElement):[],popper:ft(l)};var C=Ic(Lc([].concat(r,d.options.modifiers)));return d.orderedModifiers=C.filter(function(w){return w.enabled}),h(),v.update()},forceUpdate:function(){if(!m){var b=d.elements,E=b.reference,C=b.popper;if(Jn(E,C)){d.rects={reference:Mc(E,wt(C),d.options.strategy==="fixed"),popper:bn(C)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(D){return d.modifiersData[D.name]=Object.assign({},D.data)});for(var w=0;w<d.orderedModifiers.length;w++){if(d.reset===!0){d.reset=!1,w=-1;continue}var R=d.orderedModifiers[w],$=R.fn,O=R.options,j=O===void 0?{}:O,A=R.name;typeof $=="function"&&(d=$({state:d,options:j,name:A,instance:v})||d)}}}},update:Bc(function(){return new Promise(function(g){v.forceUpdate(),g(d)})}),destroy:function(){y(),m=!0}};if(!Jn(c,l))return v;v.setOptions(u).then(function(g){!m&&u.onFirstUpdate&&u.onFirstUpdate(g)});function h(){d.orderedModifiers.forEach(function(g){var b=g.name,E=g.options,C=E===void 0?{}:E,w=g.effect;if(typeof w=="function"){var R=w({state:d,name:b,instance:v,options:C}),$=function(){};f.push(R||$)}})}function y(){f.forEach(function(g){return g()}),f=[]}return v}}const _c=Fc({defaultModifiers:[bc,Rc,sc,cc,Ec,xc,Tc,nc]}),Pc=["enabled","placement","strategy","modifiers"];function Wc(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Hc={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Uc={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const r=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==n.id);r.length?t.setAttribute("aria-describedby",r.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&o==="tooltip"&&"setAttribute"in r){const a=r.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(n.id)!==-1)return;r.setAttribute("aria-describedby",a?`${a},${n.id}`:n.id)}}},Kc=[];function Io(e,t,n={}){let{enabled:r=!0,placement:o="bottom",strategy:a="absolute",modifiers:i=Kc}=n,c=Wc(n,Pc);const l=s.useRef(i),u=s.useRef(),d=s.useCallback(()=>{var g;(g=u.current)==null||g.update()},[]),f=s.useCallback(()=>{var g;(g=u.current)==null||g.forceUpdate()},[]),[m,v]=Li(s.useState({placement:o,update:d,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),h=s.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:g})=>{const b={},E={};Object.keys(g.elements).forEach(C=>{b[C]=g.styles[C],E[C]=g.attributes[C]}),v({state:g,styles:b,attributes:E,update:d,forceUpdate:f,placement:g.placement})}}),[d,f,v]),y=s.useMemo(()=>(ut(l.current,i)||(l.current=i),l.current),[i]);return s.useEffect(()=>{!u.current||!r||u.current.setOptions({placement:o,strategy:a,modifiers:[...y,h,Hc]})},[a,o,h,r,y]),s.useEffect(()=>{if(!(!r||e==null||t==null))return u.current=_c(e,t,Object.assign({},c,{placement:o,strategy:a,modifiers:[...y,Uc,h]})),()=>{u.current!=null&&(u.current.destroy(),u.current=void 0,v(g=>Object.assign({},g,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),m}function ht(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var Vc=function(){},Gc=Vc;const Xc=Mt(Gc),er=()=>{};function zc(e){return e.button===0}function Yc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const jt=e=>e&&("current"in e?e.current:e),tr={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Bo(e,t=er,{disabled:n,clickTrigger:r="click"}={}){const o=s.useRef(!1),a=s.useRef(!1),i=s.useCallback(u=>{const d=jt(e);Xc(!!d,"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=!d||Yc(u)||!zc(u)||!!ht(d,u.target)||a.current,a.current=!1},[e]),c=J(u=>{const d=jt(e);d&&ht(d,u.target)?a.current=!0:a.current=!1}),l=J(u=>{o.current||t(u)});s.useEffect(()=>{var u,d;if(n||e==null)return;const f=Je(jt(e)),m=f.defaultView||window;let v=(u=m.event)!=null?u:(d=m.parent)==null?void 0:d.event,h=null;tr[r]&&(h=Ne(f,tr[r],c,!0));const y=Ne(f,r,i,!0),g=Ne(f,r,E=>{if(E===v){v=void 0;return}l(E)});let b=[];return"ontouchstart"in f.documentElement&&(b=[].slice.call(f.body.children).map(E=>Ne(E,"mousemove",er))),()=>{h?.(),y(),g(),b.forEach(E=>E())}},[e,n,r,i,c,l])}function qc(e){const t={};return Array.isArray(e)?(e?.forEach(n=>{t[n.name]=n}),t):e||t}function Qc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Lo({enabled:e,enableEvents:t,placement:n,flip:r,offset:o,fixed:a,containerPadding:i,arrowElement:c,popperConfig:l={}}){var u,d,f,m,v;const h=qc(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:a?"fixed":l.strategy,modifiers:Qc(Object.assign({},h,{eventListeners:{enabled:t,options:(u=h.eventListeners)==null?void 0:u.options},preventOverflow:Object.assign({},h.preventOverflow,{options:i?Object.assign({padding:i},(d=h.preventOverflow)==null?void 0:d.options):(f=h.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(m=h.offset)==null?void 0:m.options)},arrow:Object.assign({},h.arrow,{enabled:!!c,options:Object.assign({},(v=h.arrow)==null?void 0:v.options,{element:c})}),flip:Object.assign({enabled:!!r},h.flip)}))})}const Zc=["children","usePopper"];
13function Jc(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const el=()=>{};function Fo(e={}){const t=s.useContext(Ft),[n,r]=en(),o=s.useRef(!1),{flip:a,offset:i,rootCloseEvent:c,fixed:l=!1,placement:u,popperConfig:d={},enableEventListeners:f=!0,usePopper:m=!!t}=e,v=t?.show==null?!!e.show:t.show;v&&!o.current&&(o.current=!0);const h=$=>{t?.toggle(!1,$)},{placement:y,setMenu:g,menuElement:b,toggleElement:E}=t||{},C=Io(E,b,Lo({placement:u||y||"bottom-start",enabled:m,enableEvents:f??v,offset:i,flip:a,fixed:l,arrowElement:n,popperConfig:d})),w=Object.assign({ref:g||el,"aria-labelledby":E?.id},C.attributes.popper,{style:C.styles.popper}),R={show:v,placement:y,hasShown:o.current,toggle:t?.toggle,popper:m?C:null,arrowProps:m?Object.assign({ref:r},C.attributes.arrow,{style:C.styles.arrow}):{}};return Bo(b,h,{clickTrigger:c,disabled:!v}),[w,R]}function _o(e){let{children:t,usePopper:n=!0}=e,r=Jc(e,Zc);const[o,a]=Fo(Object.assign({},r,{usePopper:n}));return p.jsx(p.Fragment,{children:t(o,a)})}_o.displayName="DropdownMenu";const kt={prefix:String(Math.round(Math.random()*1e10)),current:0},Po=te.createContext(kt),tl=te.createContext(!1);let nl=!!(typeof window<"u"&&window.document&&window.document.createElement),Kt=new WeakMap;function rl(e=!1){let t=s.useContext(Po),n=s.useRef(null);if(n.current===null&&!e){let r=te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let o=Kt.get(r);o==null?Kt.set(r,{id:t.current,state:r.memoizedState}):r.memoizedState!==o.state&&(t.current=o.id,Kt.delete(r))}n.current=++t.current}return n.current}function ol(e){let t=s.useContext(Po),n=rl(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function al(e){let t=te.useId(),[n]=s.useState(ul()),r=n?"react-aria":`react-aria${kt.prefix}`;return e||`${r}-${t}`}const sl=typeof te.useId=="function"?al:ol;function il(){return!1}function cl(){return!0}function ll(e){return()=>{}}function ul(){return typeof te.useSyncExternalStore=="function"?te.useSyncExternalStore(ll,il,cl):s.useContext(tl)}const Wo=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},nr=()=>{};function Ho(){const e=sl(),{show:t=!1,toggle:n=nr,setToggle:r,menuElement:o}=s.useContext(Ft)||{},a=s.useCallback(c=>{n(!t,c)},[t,n]),i={id:e,ref:r||nr,onClick:a,"aria-expanded":!!t};return o&&Wo(o)&&(i["aria-haspopup"]=!0),[i,{show:t,toggle:n}]}function Uo({children:e}){const[t,n]=Ho();return p.jsx(p.Fragment,{children:e(t,n)})}Uo.displayName="DropdownToggle";const dl=s.createContext(null),Ze=(e,t=null)=>e!=null?String(e):t||null,We=dl,Ko=s.createContext(null);Ko.displayName="NavContext";const Rn=Ko,fl="data-rr-ui-",pl="rrUi";function nt(e){return`${fl}${e}`}function ml(e){return`${pl}${e}`}const vl=["eventKey","disabled","onClick","active","as"];function hl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Vo({key:e,href:t,active:n,disabled:r,onClick:o}){const a=s.useContext(We),i=s.useContext(Rn),{activeKey:c}=i||{},l=Ze(e,t),u=n==null&&e!=null?Ze(c)===l:n;return[{onClick:J(f=>{r||(o?.(f),a&&!f.isPropagationStopped()&&a(l,f))}),"aria-disabled":r||void 0,"aria-selected":u,[nt("dropdown-item")]:""},{isActive:u}]}const Go=s.forwardRef((e,t)=>{let{eventKey:n,disabled:r,onClick:o,active:a,as:i=gn}=e,c=hl(e,vl);const[l]=Vo({key:n,href:c.href,disabled:r,onClick:o,active:a});return p.jsx(i,Object.assign({},c,{ref:t},l))});Go.displayName="DropdownItem";const Xo=s.createContext(et?window:void 0);Xo.Provider;function Pt(){return s.useContext(Xo)}function rr(){const e=No(),t=s.useRef(null),n=s.useCallback(r=>{t.current=r,e()},[e]);return[t,n]}function bt({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:o=`* [${nt("dropdown-item")}]`,focusFirstItemOnShow:a,placement:i="bottom-start",children:c}){const l=Pt(),[u,d]=Ii(t,e,r),[f,m]=rr(),v=f.current,[h,y]=rr(),g=h.current,b=Gr(u),E=s.useRef(null),C=s.useRef(!1),w=s.useContext(We),R=s.useCallback((T,k,S=k?.type)=>{d(T,{originalEvent:k,source:S})},[d]),$=J((T,k)=>{n?.(T,k),R(!1,k,"select"),k.isPropagationStopped()||w?.(T,k)}),O=s.useMemo(()=>({toggle:R,placement:i,show:u,menuElement:v,toggleElement:g,setMenu:m,setToggle:y}),[R,i,u,v,g,m,y]);v&&b&&!u&&(C.current=v.contains(v.ownerDocument.activeElement));const j=J(()=>
13{g&&g.focus&&g.focus()}),A=J(()=>{const T=E.current;let k=a;if(k==null&&(k=f.current&&Wo(f.current)?"keyboard":!1),k===!1||k==="keyboard"&&!/^key.+$/.test(T))return;const S=$e(f.current,o)[0];S&&S.focus&&S.focus()});s.useEffect(()=>{u?A():C.current&&(C.current=!1,j())},[u,C,j,A]),s.useEffect(()=>{E.current=null});const D=(T,k)=>{if(!f.current)return null;const S=$e(f.current,o);let B=S.indexOf(T)+k;return B=Math.max(0,Math.min(B,S.length)),S[B]};return ni(s.useCallback(()=>l.document,[l]),"keydown",T=>{var k,S;const{key:B}=T,I=T.target,H=(k=f.current)==null?void 0:k.contains(I),_=(S=h.current)==null?void 0:S.contains(I);if(/input|textarea/i.test(I.tagName)&&(B===" "||B!=="Escape"&&H||B==="Escape"&&I.type==="search")||!H&&!_||B==="Tab"&&(!f.current||!u))return;E.current=T.type;const G={originalEvent:T,source:T.type};switch(B){case"ArrowUp":{const U=D(I,-1);U&&U.focus&&U.focus(),T.preventDefault();return}case"ArrowDown":if(T.preventDefault(),!u)d(!0,G);else{const U=D(I,1);U&&U.focus&&U.focus()}return;case"Tab":pn(I.ownerDocument,"keyup",U=>{var Y;(U.key==="Tab"&&!U.target||!((Y=f.current)!=null&&Y.contains(U.target)))&&d(!1,G)},{once:!0});break;case"Escape":B==="Escape"&&(T.preventDefault(),T.stopPropagation()),d(!1,G);break}}),p.jsx(We.Provider,{value:$,children:p.jsx(Ft.Provider,{value:O,children:c})})}bt.displayName="Dropdown";bt.Menu=_o;bt.Toggle=Uo;bt.Item=Go;const zo=s.createContext({});zo.displayName="DropdownContext";const Yo=zo,qo=s.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:r="separator",...o},a)=>(t=N(t,"dropdown-divider"),p.jsx(n,{ref:a,className:x(e,t),role:r,...o})));qo.displayName="DropdownDivider";const gl=qo,Qo=s.forwardRef(({className:e,bsPrefix:t,as:n="div",role:r="heading",...o},a)=>(t=N(t,"dropdown-header"),p.jsx(n,{ref:a,className:x(e,t),role:r,...o})));Qo.displayName="DropdownHeader";const yl=Qo,Zo=s.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:o,active:a,as:i=Xe,...c},l)=>{const u=N(e,"dropdown-item"),[d,f]=Vo({key:n,href:c.href,disabled:r,onClick:o,active:a});return p.jsx(i,{...c,...d,ref:l,className:x(t,u,f.isActive&&"active",r&&"disabled")})});Zo.displayName="DropdownItem";const xl=Zo,Jo=s.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},o)=>(t=N(t,"dropdown-item-text"),p.jsx(n,{ref:o,className:x(e,t),...r})));Jo.displayName="DropdownItemText";const wl=Jo,bl=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Cl=typeof document<"u",On=Cl||bl?s.useLayoutEffect:s.useEffect,ea=s.createContext(null);ea.displayName="InputGroupContext";const jn=ea,ta=s.createContext(null);ta.displayName="NavbarContext";const rt=ta;function na(e,t){return e}function ra(e,t,n){const r=n?"top-end":"top-start",o=n?"top-start":"top-end",a=n?"bottom-end":"bottom-start",i=n?"bottom-start":"bottom-end",c=n?"right-start":"left-start",l=n?"right-end":"left-end",u=n?"left-start":"right-start",d=n?"left-end":"right-end";let f=e?i:a;return t==="up"?f=e?o:r:t==="end"?f=e?d:u:t==="start"?f=e?l:c:t==="down-centered"?f="bottom":t==="up-centered"&&(f="top"),f}const oa=s.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:o=!0,show:a,renderOnMount:i,as:c="div",popperConfig:l,variant:u,...d},f)=>{let m=!1;const v=s.useContext(rt),h=N(e,"dropdown-menu"),{align:y,drop:g,isRTL:b}=s.useContext(Yo);n=n||y;const E=s.useContext(jn),C=[];if(n)if(typeof n=="object"){const T=Object.keys(n);if(T.length){const k=T[0],S=n[k];m=S==="start",C.push(`${h}-${k}-${S}`)}}else n==="end"&&(m=!0);const w=ra(m,g,b),[R,{hasShown:$,popper:O,show:j,toggle:A}]=Fo({flip:o,rootCloseEvent:r,show:a,usePopper:!v&&C.length===0,offset:[0,2],popperConfig:l,placement:w});if(R.ref=tt(na(f),R.ref),On(()=>{j&&O?.update()},[j]),!$&&!i&&!E)return null;typeof c!="string"&&(R.show=j,R.close=()=>A?.(!1),R.align=n);let D=d.style;return O!=null&&O.placement&&(D={...d.style,...R.style},d["x-placement"]=O.placement),p.jsx(c,{...d,...R,style:D,...(C.length||v)&&{"data-bs-popper":"static"},className:x(t,h,j&&"show",m&&`${h}-end`,u&&`${h}-${u}`,...C)})});oa.displayName="DropdownMenu";const $l=oa,aa=s.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:r,as:o=eo,...a},i)=>{const c=N(e,"dropdown-toggle"),l=s.useContext(Ft);r!==void 0&&(a.bsPrefix=r);const[u]=Ho();return u.ref=tt(u.ref,na(i)),p.jsx(o,{className:x(n,c,t&&`${c}-split`,l?.show&&"show"),...u,...a})});aa.displayName="DropdownToggle";const El=aa,sa=s.forwardRef((e,t)=>
13{const{bsPrefix:n,drop:r="down",show:o,className:a,align:i="start",onSelect:c,onToggle:l,focusFirstItemOnShow:u,as:d="div",navbar:f,autoClose:m=!0,...v}=He(e,{show:"onToggle"}),h=s.useContext(jn),y=N(n,"dropdown"),g=gt(),b=O=>m===!1?O==="click":m==="inside"?O!=="rootClose":m==="outside"?O!=="select":!0,E=ce((O,j)=>{var A;!((A=j.originalEvent)==null||(A=A.target)==null)&&A.classList.contains("dropdown-toggle")&&j.source==="mousedown"||(j.originalEvent.currentTarget===document&&(j.source!=="keydown"||j.originalEvent.key==="Escape")&&(j.source="rootClose"),b(j.source)&&l?.(O,j))}),w=ra(i==="end",r,g),R=s.useMemo(()=>({align:i,drop:r,isRTL:g}),[i,r,g]),$={down:y,"down-centered":`${y}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return p.jsx(Yo.Provider,{value:R,children:p.jsx(bt,{placement:w,show:o,onSelect:c,onToggle:E,focusFirstItemOnShow:u,itemSelector:`.${y}-item:not(.disabled):not(:disabled)`,children:h?v.children:p.jsx(d,{...v,ref:t,className:x(a,o&&"show",$[r])})})})});sa.displayName="Dropdown";const gd=Object.assign(sa,{Toggle:El,Menu:$l,Item:xl,ItemText:wl,Divider:gl,Header:yl});ne.string,ne.bool,ne.bool,ne.bool,ne.bool;const ia=s.forwardRef(({bsPrefix:e,className:t,fluid:n=!1,rounded:r=!1,roundedCircle:o=!1,thumbnail:a=!1,...i},c)=>(e=N(e,"img"),p.jsx("img",{ref:c,...i,className:x(t,n&&`${e}-fluid`,r&&"rounded",o&&"rounded-circle",a&&`${e}-thumbnail`)})));ia.displayName="Image";const yd=ia,Nl={type:ne.string,tooltip:ne.bool,as:ne.elementType},Tn=s.forwardRef(({as:e="div",className:t,type:n="valid",tooltip:r=!1,...o},a)=>p.jsx(e,{...o,ref:a,className:x(t,`${n}-${r?"tooltip":"feedback"}`)}));Tn.displayName="Feedback";Tn.propTypes=Nl;const ca=Tn,Rl=s.createContext({}),je=Rl,la=s.forwardRef(({id:e,bsPrefix:t,className:n,type:r="checkbox",isValid:o=!1,isInvalid:a=!1,as:i="input",...c},l)=>{const{controlId:u}=s.useContext(je);return t=N(t,"form-check-input"),p.jsx(i,{...c,ref:l,type:r,id:e||u,className:x(n,t,o&&"is-valid",a&&"is-invalid")})});la.displayName="FormCheckInput";const Wt=la,ua=s.forwardRef(({bsPrefix:e,className:t,htmlFor:n,...r},o)=>{const{controlId:a}=s.useContext(je);return e=N(e,"form-check-label"),p.jsx("label",{...r,ref:o,htmlFor:n||a,className:x(t,e)})});ua.displayName="FormCheckLabel";const an=ua,da=s.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:n,inline:r=!1,reverse:o=!1,disabled:a=!1,isValid:i=!1,isInvalid:c=!1,feedbackTooltip:l=!1,feedback:u,feedbackType:d,className:f,style:m,title:v="",type:h="checkbox",label:y,children:g,as:b="input",...E},C)=>{t=N(t,"form-check"),n=N(n,"form-switch");const{controlId:w}=s.useContext(je),R=s.useMemo(()=>({controlId:e||w}),[w,e]),$=!g&&y!=null&&y!==!1||Si(g,an),O=p.jsx(Wt,{...E,type:h==="switch"?"checkbox":h,ref:C,isValid:i,isInvalid:c,disabled:a,as:b});return p.jsx(je.Provider,{value:R,children:p.jsx("div",{style:m,className:x(f,$&&t,r&&`${t}-inline`,o&&`${t}-reverse`,h==="switch"&&n),children:g||p.jsxs(p.Fragment,{children:[O,$&&p.jsx(an,{title:v,children:y}),u&&p.jsx(ca,{type:d,tooltip:l,children:u})]})})})});da.displayName="FormCheck";const Dt=Object.assign(da,{Input:Wt,Label:an}),fa=s.forwardRef(({bsPrefix:e,type:t,size:n,htmlSize:r,id:o,className:a,isValid:i=!1,isInvalid:c=!1,plaintext:l,readOnly:u,as:d="input",...f},m)=>{const{controlId:v}=s.useContext(je);return e=N(e,"form-control"),p.jsx(d,{...f,type:t,size:r,ref:m,readOnly:u,id:o||v,className:x(a,l?`${e}-plaintext`:e,n&&`${e}-${n}`,t==="color"&&`${e}-color`,i&&"is-valid",c&&"is-invalid")})});fa.displayName="FormControl";const Ol=Object.assign(fa,{Feedback:ca}),pa=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"form-floating"),p.jsx(n,{ref:o,className:x(e,t),...r})));pa.displayName="FormFloating";const jl=pa,ma=s.forwardRef(({controlId:e,as:t="div",...n},r)=>{const o=s.useMemo(()=>({controlId:e}),[e]);return p.jsx(je.Provider,{value:o,children:p.jsx(t,{...n,ref:r})})});ma.displayName="FormGroup";const va=ma,ha=s.forwardRef(({as:e="label",bsPrefix:t,column:n=!1,visuallyHidden:r=!1,className:o,htmlFor:a,...i},c)=>{const{controlId:l}=s.useContext(je);t=N(t,"form-label");let u="col-form-label";
13typeof n=="string"&&(u=`${u} ${u}-${n}`);const d=x(o,t,r&&"visually-hidden",n&&u);return a=a||l,n?p.jsx(Mi,{ref:c,as:"label",className:d,htmlFor:a,...i}):p.jsx(e,{ref:c,className:d,htmlFor:a,...i})});ha.displayName="FormLabel";const Tl=ha,ga=s.forwardRef(({bsPrefix:e,className:t,id:n,...r},o)=>{const{controlId:a}=s.useContext(je);return e=N(e,"form-range"),p.jsx("input",{...r,type:"range",ref:o,className:x(t,e),id:n||a})});ga.displayName="FormRange";const Sl=ga,ya=s.forwardRef(({bsPrefix:e,size:t,htmlSize:n,className:r,isValid:o=!1,isInvalid:a=!1,id:i,...c},l)=>{const{controlId:u}=s.useContext(je);return e=N(e,"form-select"),p.jsx("select",{...c,size:n,ref:l,className:x(r,e,t&&`${e}-${t}`,o&&"is-valid",a&&"is-invalid"),id:i||u})});ya.displayName="FormSelect";const kl=ya,xa=s.forwardRef(({bsPrefix:e,className:t,as:n="small",muted:r,...o},a)=>(e=N(e,"form-text"),p.jsx(n,{...o,ref:a,className:x(t,e,r&&"text-muted")})));xa.displayName="FormText";const Dl=xa,wa=s.forwardRef((e,t)=>p.jsx(Dt,{...e,ref:t,type:"switch"}));wa.displayName="Switch";const Ml=Object.assign(wa,{Input:Dt.Input,Label:Dt.Label}),ba=s.forwardRef(({bsPrefix:e,className:t,children:n,controlId:r,label:o,...a},i)=>(e=N(e,"form-floating"),p.jsxs(va,{ref:i,className:x(t,e),controlId:r,...a,children:[n,p.jsx("label",{htmlFor:r,children:o})]})));ba.displayName="FloatingLabel";const Al=ba,Il={_ref:ne.any,validated:ne.bool,as:ne.elementType},Sn=s.forwardRef(({className:e,validated:t,as:n="form",...r},o)=>p.jsx(n,{...r,ref:o,className:x(e,t&&"was-validated")}));Sn.displayName="Form";Sn.propTypes=Il;const xd=Object.assign(Sn,{Group:va,Control:Ol,Floating:jl,Check:Dt,Switch:Ml,Label:Tl,Text:Dl,Range:Sl,Select:kl,FloatingLabel:Al}),Ca=s.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},o)=>(t=N(t,"input-group-text"),p.jsx(n,{ref:o,className:x(e,t),...r})));Ca.displayName="InputGroupText";const kn=Ca,Bl=e=>p.jsx(kn,{children:p.jsx(Wt,{type:"checkbox",...e})}),Ll=e=>p.jsx(kn,{children:p.jsx(Wt,{type:"radio",...e})}),$a=s.forwardRef(({bsPrefix:e,size:t,hasValidation:n,className:r,as:o="div",...a},i)=>{e=N(e,"input-group");const c=s.useMemo(()=>({}),[]);return p.jsx(jn.Provider,{value:c,children:p.jsx(o,{ref:i,...a,className:x(r,e,t&&`${e}-${t}`,n&&"has-validation")})})});$a.displayName="InputGroup";const wd=Object.assign($a,{Text:kn,Radio:Ll,Checkbox:Bl}),or=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Fl(e,t){const n=or(e),r=or(t);return o=>{n&&n(o),r&&r(o)}}function Ct(e,t){return s.useMemo(()=>Fl(e,t),[e,t])}const _l=s.createContext(null),Ea=_l,Pl=["as","active","eventKey"];function Wl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Dn({key:e,onClick:t,active:n,id:r,role:o,disabled:a}){const i=s.useContext(We),c=s.useContext(Rn),l=s.useContext(Ea);let u=n;const d={role:o};if(c){!o&&c.role==="tablist"&&(d.role="tab");const f=c.getControllerId(e??null),m=c.getControlledId(e??null);d[nt("event-key")]=e,d.id=f||r,u=n==null&&e!=null?c.activeKey===e:n,(u||!(l!=null&&l.unmountOnExit)&&!(l!=null&&l.mountOnEnter))&&(d["aria-controls"]=m)}return d.role==="tab"&&(d["aria-selected"]=u,u||(d.tabIndex=-1),a&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=J(f=>{a||(t?.(f),e!=null&&i&&!f.isPropagationStopped()&&i(e,f))}),[d,{isActive:u}]}const Na=s.forwardRef((e,t)=>{let{as:n=gn,active:r,eventKey:o}=e,a=Wl(e,Pl);const[i,c]=Dn(Object.assign({key:Ze(o,a.href),active:r},a));return i[nt("active")]=c.isActive,p.jsx(n,Object.assign({},a,i,{ref:t}))});Na.displayName="NavItem";const Hl=Na,Ul=["as","onSelect","activeKey","role","onKeyDown"];function Kl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const ar=()=>{},sr=nt("event-key"),Ra=s.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:o,role:a,onKeyDown:i}=e,c=Kl(e,Ul);const l=No(),u=s.useRef(!1),d=s.useContext(We),f=s.useContext(Ea);let m,v;f&&(a=a||"tablist",o=f.activeKey,m=f.getControlledId,v=f.getControllerId);const h=s.useRef(null),y=C=>{const w=h.current;if(!w)return null;const R=$e(w,`[${sr}]:not([aria-disabled=true])`),$=w.querySelector("[aria-selected=true]");if(!$||$!==document.activeElement)return null;const O=R.indexOf($);if(O===-1)return null;let j=O+C;return j>=R.length&&(j=0),j<0&&(j=R.length-1),R[j]},g=(C,w)=>{C!=null&&(r?.(C,w),d?.(C,w))},b=C=>{if(i?.(C),!f)return;let w;switch(C.key){case"ArrowLeft":case"ArrowUp":w=y(-1);break;case"ArrowRight":case"ArrowDown":w=y(1);break;default:return}w&&(C.preventDefault(),g(w.dataset[ml("EventKey")]||null,C),u.current=!0,l())};s.useEffect(()=>{if(h.current&&u.current){const C=h.current.querySelector(`[${sr}][aria-selected=true]`);
13C?.focus()}u.current=!1});const E=Ct(t,h);return p.jsx(We.Provider,{value:g,children:p.jsx(Rn.Provider,{value:{role:a,activeKey:Ze(o),getControlledId:m||ar,getControllerId:v||ar},children:p.jsx(n,Object.assign({},c,{onKeyDown:b,ref:E,role:a}))})})});Ra.displayName="Nav";const Oa=Object.assign(Ra,{Item:Hl}),ja=s.forwardRef(({bsPrefix:e,active:t,disabled:n,eventKey:r,className:o,variant:a,action:i,as:c,...l},u)=>{e=N(e,"list-group-item");const[d,f]=Dn({key:Ze(r,l.href),active:t,...l}),m=ce(h=>{if(n){h.preventDefault(),h.stopPropagation();return}d.onClick(h)});n&&l.tabIndex===void 0&&(l.tabIndex=-1,l["aria-disabled"]=!0);const v=c||(i?l.href?"a":"button":"div");return p.jsx(v,{ref:u,...l,...d,onClick:m,className:x(o,e,f.isActive&&"active",n&&"disabled",a&&`${e}-${a}`,i&&`${e}-action`)})});ja.displayName="ListGroupItem";const Vl=ja,Ta=s.forwardRef((e,t)=>{const{className:n,bsPrefix:r,variant:o,horizontal:a,numbered:i,as:c="div",...l}=He(e,{activeKey:"onSelect"}),u=N(r,"list-group");let d;return a&&(d=a===!0?"horizontal":`horizontal-${a}`),p.jsx(Oa,{ref:t,...l,as:c,className:x(n,u,o&&`${u}-${o}`,d&&`${u}-${d}`,i&&`${u}-numbered`)})});Ta.displayName="ListGroup";const bd=Object.assign(Ta,{Item:Vl});var Rt;function ir(e){if((!Rt&&Rt!==0||e)&&et){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Rt=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Rt}function Gl(){return s.useState(null)}function Vt(e){e===void 0&&(e=Je());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function Xl(e){const t=s.useRef(e);return t.current=e,t}function zl(e){const t=Xl(e);s.useEffect(()=>()=>t.current(),[])}function Yl(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const cr=nt("modal-open");class ql{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return Yl(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();t.style={overflow:o.style.overflow,[r]:o.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(Re(o,r)||"0",10)+t.scrollBarWidth}px`),o.setAttribute(cr,""),Re(o,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(cr),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Mn=ql,Gt=(e,t)=>et?e==null?(t||Je()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function sn(e,t){const n=Pt(),[r,o]=s.useState(()=>Gt(e,n?.document));if(!r){const a=Gt(e);a&&o(a)}return s.useEffect(()=>{t&&r&&t(r)},[t,r]),s.useEffect(()=>{const a=Gt(e);a!==r&&o(a)},[e,r]),r}function Ql({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:o}){const a=s.useRef(null),i=s.useRef(t),c=J(n);s.useEffect(()=>{t?i.current=!0:c(a.current)},[t,c]);const l=Ct(a,Ue(e)),u=s.cloneElement(e,{ref:l});return t?u:o||!i.current&&r?null:u}const Zl=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function Jl(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function eu(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:o,onExiting:a,onExited:i,addEndListener:c,children:l}=e,u=Jl(e,Zl);const d=s.useRef(null),f=Ct(d,Ue(l)),m=w=>R=>{w&&d.current&&w(d.current,R)},v=s.useCallback(m(t),[t]),h=s.useCallback(m(n),[n]),y=s.useCallback(m(r),[r]),g=s.useCallback(m(o),[o]),b=s.useCallback(m(a),[a]),E=s.useCallback(m(i),[i]),C=s.useCallback(m(c),[c]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:v},n&&{onEntering:h},r&&{onEntered:y},o&&{onExit:g},a&&{onExiting:b},i&&{onExited:E},c&&{addEndListener:C},{children:typeof l=="function"?(w,R)=>l(w,Object.assign({},R,{ref:f})):s.cloneElement(l,{ref:f})})}const tu=["component"];function nu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const ru=s.forwardRef((e,t)=>
13{let{component:n}=e,r=nu(e,tu);const o=eu(r);return p.jsx(n,Object.assign({ref:t},o))}),ou=ru;function au({in:e,onTransition:t}){const n=s.useRef(null),r=s.useRef(!0),o=J(t);return Hn(()=>{if(!n.current)return;let a=!1;return o({in:e,element:n.current,initial:r.current,isStale:()=>a}),()=>{a=!0}},[e,o]),Hn(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function su({children:e,in:t,onExited:n,onEntered:r,transition:o}){const[a,i]=s.useState(!t);t&&a&&i(!1);const c=au({in:!!t,onTransition:u=>{const d=()=>{u.isStale()||(u.in?r?.(u.element,u.initial):(i(!0),n?.(u.element)))};Promise.resolve(o(u)).then(d,f=>{throw u.in||i(!0),f})}}),l=Ct(c,Ue(e));return a&&!t?null:s.cloneElement(e,{ref:l})}function cn(e,t,n){return e?p.jsx(ou,Object.assign({},n,{component:e})):t?p.jsx(su,Object.assign({},n,{transition:t})):p.jsx(Ql,Object.assign({},n))}const iu=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function cu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}let Xt;function lu(e){return Xt||(Xt=new Mn({ownerDocument:e?.document})),Xt}function uu(e){const t=Pt(),n=e||lu(t),r=s.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:s.useCallback(o=>{r.current.dialog=o},[]),setBackdropRef:s.useCallback(o=>{r.current.backdrop=o},[])})}const Sa=s.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:o,style:a,children:i,backdrop:c=!0,keyboard:l=!0,onBackdropClick:u,onEscapeKeyDown:d,transition:f,runTransition:m,backdropTransition:v,runBackdropTransition:h,autoFocus:y=!0,enforceFocus:g=!0,restoreFocus:b=!0,restoreFocusOptions:E,renderDialog:C,renderBackdrop:w=F=>p.jsx("div",Object.assign({},F)),manager:R,container:$,onShow:O,onHide:j=()=>{},onExit:A,onExited:D,onExiting:T,onEnter:k,onEntering:S,onEntered:B}=e,I=cu(e,iu);const H=Pt(),_=sn($),W=uu(R),G=Vr(),U=Gr(n),[Y,ee]=s.useState(!n),X=s.useRef(null);s.useImperativeHandle(t,()=>W,[W]),et&&!U&&n&&(X.current=Vt(H?.document)),n&&Y&&ee(!1);const P=J(()=>{if(W.add(),fe.current=Ne(document,"keydown",q),se.current=Ne(document,"focus",()=>setTimeout(K),!0),O&&O(),y){var F,be;const ye=Vt((F=(be=W.dialog)==null?void 0:be.ownerDocument)!=null?F:H?.document);W.dialog&&ye&&!ht(W.dialog,ye)&&(X.current=ye,W.dialog.focus())}}),z=J(()=>{if(W.remove(),fe.current==null||fe.current(),se.current==null||se.current(),b){var F;(F=X.current)==null||F.focus==null||F.focus(E),X.current=null}});s.useEffect(()=>{!n||!_||P()},[n,_,P]),s.useEffect(()=>{Y&&z()},[Y,z]),zl(()=>{z()});const K=J(()=>{if(!g||!G()||!W.isTopModal())return;const F=Vt(H?.document);W.dialog&&F&&!ht(W.dialog,F)&&W.dialog.focus()}),de=J(F=>{F.target===F.currentTarget&&(u?.(F),c===!0&&j())}),q=J(F=>{l&&Rr(F)&&W.isTopModal()&&(d?.(F),F.defaultPrevented||j())}),se=s.useRef(),fe=s.useRef(),Q=(...F)=>{ee(!0),D?.(...F)};if(!_)return null;const Z=Object.assign({role:r,ref:W.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},I,{style:a,className:o,tabIndex:-1});let ie=C?C(Z):p.jsx("div",Object.assign({},Z,{children:s.cloneElement(i,{role:"document"})}));ie=cn(f,m,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:A,onExiting:T,onExited:Q,onEnter:k,onEntering:S,onEntered:B,children:ie});let pe=null;return c&&(pe=w({ref:W.setBackdropRef,onClick:de}),pe=cn(v,h,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:pe})),p.jsx(p.Fragment,{children:Le.createPortal(p.jsxs(p.Fragment,{children:[pe,ie]}),_)})});Sa.displayName="Modal";const ka=Object.assign(Sa,{Manager:Mn});function ln(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function du(e,t){e.classList?e.classList.add(t):ln(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}
13function lr(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function fu(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=lr(e.className,t):e.setAttribute("class",lr(e.className&&e.className.baseVal||"",t))}const Ge={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Da extends Mn{adjustAndStore(t,n,r){const o=n.style[t];n.dataset[t]=o,Re(n,{[t]:`${parseFloat(Re(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],Re(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(du(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";$e(n,Ge.FIXED_CONTENT).forEach(a=>this.adjustAndStore(r,a,t.scrollBarWidth)),$e(n,Ge.STICKY_CONTENT).forEach(a=>this.adjustAndStore(o,a,-t.scrollBarWidth)),$e(n,Ge.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(o,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();fu(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",o=this.isRTL?"marginLeft":"marginRight";$e(n,Ge.FIXED_CONTENT).forEach(a=>this.restore(r,a)),$e(n,Ge.STICKY_CONTENT).forEach(a=>this.restore(o,a)),$e(n,Ge.NAVBAR_TOGGLER).forEach(a=>this.restore(o,a))}}let zt;function Ma(e){return zt||(zt=new Da(e)),zt}const Aa=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"modal-body"),p.jsx(n,{ref:o,className:x(e,t),...r})));Aa.displayName="ModalBody";const pu=Aa,mu=s.createContext({onHide(){}}),An=mu,Ia=s.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:o,fullscreen:a,children:i,scrollable:c,...l},u)=>{e=N(e,"modal");const d=`${e}-dialog`,f=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return p.jsx("div",{...l,ref:u,className:x(d,t,o&&`${e}-${o}`,r&&`${d}-centered`,c&&`${d}-scrollable`,a&&f),children:p.jsx("div",{className:x(`${e}-content`,n),children:i})})});Ia.displayName="ModalDialog";const Ba=Ia,La=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"modal-footer"),p.jsx(n,{ref:o,className:x(e,t),...r})));La.displayName="ModalFooter";const vu=La,Fa=s.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:o,...a},i)=>{const c=s.useContext(An),l=ce(()=>{c?.onHide(),r?.()});return p.jsxs("div",{ref:i,...a,children:[o,n&&p.jsx(qr,{"aria-label":e,variant:t,onClick:l})]})});Fa.displayName="AbstractModalHeader";const _a=Fa,Pa=s.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...o},a)=>(e=N(e,"modal-header"),p.jsx(_a,{ref:a,...o,className:x(t,e),closeLabel:n,closeButton:r})));Pa.displayName="ModalHeader";const hu=Pa,gu=yt("h4"),Wa=s.forwardRef(({className:e,bsPrefix:t,as:n=gu,...r},o)=>(t=N(t,"modal-title"),p.jsx(n,{ref:o,className:x(e,t),...r})));Wa.displayName="ModalTitle";const yu=Wa;function xu(e){return p.jsx(_e,{...e,timeout:null})}function wu(e){return p.jsx(_e,{...e,timeout:null})}const Ha=s.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:o,children:a,dialogAs:i=Ba,"data-bs-theme":c,"aria-labelledby":l,"aria-describedby":u,"aria-label":d,show:f=!1,animation:m=!0,backdrop:v=!0,keyboard:h=!0,onEscapeKeyDown:y,onShow:g,onHide:b,container:E,autoFocus:C=!0,enforceFocus:w=!0,restoreFocus:R=!0,restoreFocusOptions:$,onEntered:O,onExit:j,onExiting:A,onEnter:D,onEntering:T,onExited:k,backdropClassName:S,manager:B,...I},H)=>{const[_,W]=s.useState({}),[G,U]=s.useState(!1),Y=s.useRef(!1),ee=s.useRef(!1),X=s.useRef(null),[P,z]=Gl(),K=tt(H,z),de=ce(b),q=gt();e=N(e,"modal");const se=s.useMemo(()=>({onHide:de}),[de]);function fe(){return B||Ma({isRTL:q})}function Q(L){if(!et)return;const he=fe().getScrollbarWidth()>0,Be=L.scrollHeight>Je(L).documentElement.clientHeight;W({paddingRight:he&&!Be?ir():void 0,paddingLeft:!he&&Be?ir():void 0})}const Z=ce(()=>{P&&Q(P.dialog)});ho(()=>{Jt(window,"resize",Z),X.current==null||X.current()});const ie=()=>{Y.current=!0},pe=L=>{Y.current&&P&&L.target===P.dialog&&(ee.current=!0),Y.current=!1},F=()=>{U(!0),X.current=Or(P.dialog,()=>{U(!1)})},be=L=>{L.target===L.currentTarget&&F()},ye=L=>{if(v==="static"){be(L);return}if(ee.current||L.target!==L.currentTarget){ee.current=!1;return}b?.()},ot=L=>{h?y?.(L):(L.preventDefault(),v==="static"&&F())},at=(L,he)=>{L&&Q(L),D?.(L,he)},me=L=>{X.current==null||X.current(),j?.(L)},Se=(L,he)=>{T?.(L,he),pn(window,"resize",Z)},Ke=L=>
13{L&&(L.style.display=""),k?.(L),Jt(window,"resize",Z)},Ae=s.useCallback(L=>p.jsx("div",{...L,className:x(`${e}-backdrop`,S,!m&&"show")}),[m,S,e]),ve={...n,..._};ve.display="block";const Ie=L=>p.jsx("div",{role:"dialog",...L,style:ve,className:x(t,e,G&&`${e}-static`,!m&&"show"),onClick:v?ye:void 0,onMouseUp:pe,"data-bs-theme":c,"aria-label":d,"aria-labelledby":l,"aria-describedby":u,children:p.jsx(i,{...I,onMouseDown:ie,className:r,contentClassName:o,children:a})});return p.jsx(An.Provider,{value:se,children:p.jsx(ka,{show:f,ref:K,backdrop:v,container:E,keyboard:!0,autoFocus:C,enforceFocus:w,restoreFocus:R,restoreFocusOptions:$,onEscapeKeyDown:ot,onShow:g,onHide:b,onEnter:at,onEntering:Se,onEntered:O,onExit:me,onExiting:A,onExited:Ke,manager:fe(),transition:m?xu:void 0,backdropTransition:m?wu:void 0,renderBackdrop:Ae,renderDialog:Ie})})});Ha.displayName="Modal";const Cd=Object.assign(Ha,{Body:pu,Header:hu,Title:yu,Footer:vu,Dialog:Ba,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Ua=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"nav-item"),p.jsx(n,{ref:o,className:x(e,t),...r})));Ua.displayName="NavItem";const bu=Ua,Ka=s.forwardRef(({bsPrefix:e,className:t,as:n=Xe,active:r,eventKey:o,disabled:a=!1,...i},c)=>{e=N(e,"nav-link");const[l,u]=Dn({key:Ze(o,i.href),active:r,disabled:a,...i});return p.jsx(n,{...i,...l,ref:c,disabled:a,className:x(t,e,a&&"disabled",u.isActive&&"active")})});Ka.displayName="NavLink";const Cu=Ka,Va=s.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:o,fill:a=!1,justify:i=!1,navbar:c,navbarScroll:l,className:u,activeKey:d,...f}=He(e,{activeKey:"onSelect"}),m=N(r,"nav");let v,h,y=!1;const g=s.useContext(rt),b=s.useContext(so);return g?(v=g.bsPrefix,y=c??!0):b&&({cardHeaderBsPrefix:h}=b),p.jsx(Oa,{as:n,ref:t,activeKey:d,className:x(u,{[m]:!y,[`${v}-nav`]:y,[`${v}-nav-scroll`]:y&&l,[`${h}-${o}`]:!!h,[`${m}-${o}`]:!!o,[`${m}-fill`]:a,[`${m}-justified`]:i}),...f})});Va.displayName="Nav";const $d=Object.assign(Va,{Item:bu,Link:Cu}),Ga=s.forwardRef(({bsPrefix:e,className:t,as:n,...r},o)=>{e=N(e,"navbar-brand");const a=n||(r.href?"a":"span");return p.jsx(a,{...r,ref:o,className:x(t,e)})});Ga.displayName="NavbarBrand";const $u=Ga,Xa=s.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=N(t,"navbar-collapse");const o=s.useContext(rt);return p.jsx(Sr,{in:!!(o&&o.expanded),...n,children:p.jsx("div",{ref:r,className:t,children:e})})});Xa.displayName="NavbarCollapse";const Eu=Xa,za=s.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:o="button",onClick:a,...i},c)=>{e=N(e,"navbar-toggler");const{onToggle:l,expanded:u}=s.useContext(rt)||{},d=ce(f=>{a&&a(f),l&&l()});return o==="button"&&(i.type="button"),p.jsx(o,{...i,ref:c,onClick:d,"aria-label":r,className:x(t,e,!u&&"collapsed"),children:n||p.jsx("span",{className:`${e}-icon`})})});za.displayName="NavbarToggle";const Nu=za,un=new WeakMap,ur=(e,t)=>{if(!e||!t)return;const n=un.get(t)||new Map;un.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function Ru(e,t=typeof window>"u"?void 0:window){const n=ur(e,t),[r,o]=s.useState(()=>n?n.matches:!1);return On(()=>{let a=ur(e,t);if(!a)return o(!1);let i=un.get(t);const c=()=>{o(a.matches)};return a.refCount++,a.addListener(c),c(),()=>{a.removeListener(c),a.refCount--,a.refCount<=0&&i?.delete(a.media),a=void 0}},[e]),r}function Ou(e){const t=Object.keys(e);function n(c,l){return c===l?l:c?`${c} and ${l}`:l}function r(c){return t[Math.min(t.indexOf(c)+1,t.length-1)]}function o(c){const l=r(c);let u=e[l];return typeof u=="number"?u=`${u-.2}px`:u=`calc(${u} - 0.2px)`,`(max-width: ${u})`}function a(c){let l=e[c];return typeof l=="number"&&(l=`${l}px`),`(min-width: ${l})`}function i(c,l,u){let d;typeof c=="object"?(d=c,u=l,l=!0):(l=l||!0,d={[c]:l});let f=s.useMemo(()=>Object.entries(d).reduce((m,[v,h])=>((h==="up"||h===!0)&&(m=n(m,a(v))),(h==="down"||h===!0)&&(m=n(m,o(v))),m),""),[JSON.stringify(d)]);return Ru(f,u)}return i}const ju=Ou({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),Ya=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"offcanvas-body"),p.jsx(n,{ref:o,className:x(e,t),...r})));Ya.displayName="OffcanvasBody";const Tu=Ya,Su={[ge]:"show",[Ee]:"show"},qa=s.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:o=!1,unmountOnExit:a=!1,appear:i=!1,...c},l)=>(e=N(e,"offcanvas"),p.jsx(Bt,{ref:l,addEndListener:It,in:r,mountOnEnter:o,unmountOnExit:a,appear:i,...c,childRef:Ue(n),children:(u,d)=>s.cloneElement(n,{...d,className:x(t,n.props.className,(u===ge||u===pt)&&`${e}-toggling`,Su[u])})})));qa.displayName="OffcanvasToggling";const ku=qa,Qa=s.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...o},a)=>(e=N(e,"offcanvas-header"),p.jsx(_a,{ref:a,...o,className:x(t,e),closeLabel:n,closeButton:r})));Qa.displayName="OffcanvasHeader";const Du=Qa,Mu=yt("h5"),Za=s.forwardRef(({className:e,bsPrefix:t,as:n=Mu,...r},o)=>(t=N(t,"offcanvas-title"),p.jsx(n,{ref:o,className:x(e,t),...r})));Za.displayName="OffcanvasTitle";const Au=Za;function Iu(e){return p.jsx(ku,{...e})}function Bu(e){return p.jsx(_e,{...e})}const Ja=s.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:o="start",responsive:a,show:i=!1,backdrop:c=!0,keyboard:l=!0,scroll:u=!1,onEscapeKeyDown:d,onShow:f,onHide:m,container:v,autoFocus:h=!0,enforceFocus:y=!0,restoreFocus:g=!0,restoreFocusOptions:b,onEntered:E,onExit:C,onExiting:w,onEnter:R,onEntering:$,onExited:O,backdropClassName:j,manager:A,renderStaticNode:D=!1,...T},k)=>{const S=s.useRef();e=N(e,"offcanvas");const[B,I]=s.useState(!1),H=ce(m),_=ju(a||"xs","up");s.useEffect(()=>{I(a?i&&!_:i)},[i,a,_]);const W=s.useMemo(()=>({onHide:H}),[H]);
13function G(){return A||(u?(S.current||(S.current=new Da({handleContainerOverflow:!1})),S.current):Ma())}const U=(P,...z)=>{P&&(P.style.visibility="visible"),R?.(P,...z)},Y=(P,...z)=>{P&&(P.style.visibility=""),O?.(...z)},ee=s.useCallback(P=>p.jsx("div",{...P,className:x(`${e}-backdrop`,j)}),[j,e]),X=P=>p.jsx("div",{...P,...T,className:x(t,a?`${e}-${a}`:e,`${e}-${o}`),"aria-labelledby":r,children:n});return p.jsxs(p.Fragment,{children:[!B&&(a||D)&&X({}),p.jsx(An.Provider,{value:W,children:p.jsx(ka,{show:B,ref:k,backdrop:c,container:v,keyboard:l,autoFocus:h,enforceFocus:y&&!u,restoreFocus:g,restoreFocusOptions:b,onEscapeKeyDown:d,onShow:f,onHide:H,onEnter:U,onEntering:$,onEntered:E,onExit:C,onExiting:w,onExited:Y,manager:G(),transition:Iu,backdropTransition:Bu,renderBackdrop:ee,renderDialog:X})})]})});Ja.displayName="Offcanvas";const Lu=Object.assign(Ja,{Body:Tu,Header:Du,Title:Au}),es=s.forwardRef(({onHide:e,...t},n)=>{const r=s.useContext(rt),o=ce(()=>{r==null||r.onToggle==null||r.onToggle(),e?.()});return p.jsx(Lu,{ref:n,show:!!(r!=null&&r.expanded),...t,renderStaticNode:!0,onHide:o})});es.displayName="NavbarOffcanvas";const Fu=es,ts=s.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},o)=>(t=N(t,"navbar-text"),p.jsx(n,{ref:o,className:x(e,t),...r})));ts.displayName="NavbarText";const _u=ts,ns=s.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:o="light",bg:a,fixed:i,sticky:c,className:l,as:u="nav",expanded:d,onToggle:f,onSelect:m,collapseOnSelect:v=!1,...h}=He(e,{expanded:"onToggle"}),y=N(n,"navbar"),g=s.useCallback((...C)=>{m?.(...C),v&&d&&f?.(!1)},[m,v,d,f]);h.role===void 0&&u!=="nav"&&(h.role="navigation");let b=`${y}-expand`;typeof r=="string"&&(b=`${b}-${r}`);const E=s.useMemo(()=>({onToggle:()=>f?.(!d),bsPrefix:y,expanded:!!d,expand:r}),[y,d,r,f]);return p.jsx(rt.Provider,{value:E,children:p.jsx(We.Provider,{value:g,children:p.jsx(u,{ref:t,...h,className:x(l,y,r&&b,o&&`${y}-${o}`,a&&`bg-${a}`,c&&`sticky-${c}`,i&&`fixed-${i}`)})})})});ns.displayName="Navbar";const Ed=Object.assign(ns,{Brand:$u,Collapse:Eu,Offcanvas:Fu,Text:_u,Toggle:Nu}),Pu=()=>{};function Wu(e,t,{disabled:n,clickTrigger:r}={}){const o=t||Pu;Bo(e,o,{disabled:n,clickTrigger:r});const a=J(i=>{Rr(i)&&o(i)});s.useEffect(()=>{if(n||e==null)return;const i=Je(jt(e));let c=(i.defaultView||window).event;const l=Ne(i,"keyup",u=>{if(u===c){c=void 0;return}a(u)});return()=>{l()}},[e,n,a])}const rs=s.forwardRef((e,t)=>{const{flip:n,offset:r,placement:o,containerPadding:a,popperConfig:i={},transition:c,runTransition:l}=e,[u,d]=en(),[f,m]=en(),v=Ct(d,t),h=sn(e.container),y=sn(e.target),[g,b]=s.useState(!e.show),E=Io(y,u,Lo({placement:o,enableEvents:!!e.show,containerPadding:a||5,flip:n,offset:r,arrowElement:f,popperConfig:i}));e.show&&g&&b(!1);const C=(...T)=>{b(!0),e.onExited&&e.onExited(...T)},w=e.show||!g;if(Wu(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;const{onExit:R,onExiting:$,onEnter:O,onEntering:j,onEntered:A}=e;let D=e.children(Object.assign({},E.attributes.popper,{style:E.styles.popper,ref:v}),{popper:E,placement:o,show:!!e.show,arrowProps:Object.assign({},E.attributes.arrow,{style:E.styles.arrow,ref:m})});return D=cn(c,l,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:D,onExit:R,onExiting:$,onExited:C,onEnter:O,onEntering:j,onEntered:A}),h?Le.createPortal(D,h):null});rs.displayName="Overlay";const Hu=rs,os=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"popover-header"),p.jsx(n,{ref:o,className:x(e,t),...r})));os.displayName="PopoverHeader";const Uu=os,as=s.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=N(t,"popover-body"),p.jsx(n,{ref:o,className:x(e,t),...r})));as.displayName="PopoverBody";const ss=as;function is(e,t){let n=e;return e==="left"?n=t?"end":"start":e==="right"&&(n=t?"start":"end"),n}function cs(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const ls=s.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:o,body:a,arrowProps:i,hasDoneInitialMeasure:c,popper:l,show:u,...d},f)=>{const m=N(e,"popover"),v=gt(),[h]=t?.split("-")||[],y=is(h,v);let g=r;return u&&!c&&(g={...r,...cs(l?.strategy)}),p.jsxs("div",{ref:f,role:"tooltip",style:g,"x-placement":h,className:x(n,m,h&&`bs-popover-${y}`),...d,children:[p.jsx("div",{className:"popover-arrow",...i}),a?p.jsx(ss,{children:o}):o]})});ls.displayName="Popover";const Ku=Object.assign(ls,{Header:Uu,Body:ss,POPPER_OFFSET:[0,8]}),us=s.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:o,arrowProps:a,hasDoneInitialMeasure:i,popper:c,show:l,...u},d)=>{e=N(e,"tooltip");const f=gt(),[m]=t?.split("-")||[],v=is(m,f);let h=r;return l&&!i&&(h={...r,...cs(c?.strategy)}),p.jsxs("div",{ref:d,style:h,role:"tooltip","x-placement":m,className:x(n,e,`bs-tooltip-${v}`),...u,children:[p.jsx("div",{className:"tooltip-arrow",...a}),p.jsx("div",{className:`${e}-inner`,children:o})]})});us.displayName="Tooltip";const Vu=Object.assign(us,{TOOLTIP_OFFSET:[0,6]});function Gu(e){const t=s.useRef(null),n=N(void 0,"popover"),r=N(void 0,"tooltip"),o=s.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(ln(t.current,n))return Ku.POPPER_OFFSET;if(ln(t.current,r))return Vu.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,r]);return[t,[o]]}function Xu(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=o=>n(Tt(o))),t.ref=r.__wrapped||(r.__wrapped=o=>r(Tt(o)))}const ds=s.forwardRef(({children:e,transition:t=_e,popperConfig:n={},rootClose:r=!1,placement:o="top",show:a=!1,...i},c)=>{const l=s.useRef({}),[u,d]=s.useState(null),[f,m]=Gu(i.offset),v=tt(c,f),h=t===!0?_e:t||void 0,y=ce(g=>{d(g),n==null||n.onFirstUpdate==null||n.onFirstUpdate(g)});return On(()=>{u&&i.target&&(l.current.scheduleUpdate==null||l.current.scheduleUpdate())},[u,i.target]),s.useEffect(()=>{a||d(null)},[a]),p.jsx(Hu,{...i,ref:v,popperConfig:{...n,modifiers:m.concat(n.modifiers||[]),onFirstUpdate:y},transition:h,rootClose:r,placement:o,show:a,children:(g,{arrowProps:b,popper:E,show:C})=>{var w;Xu(g,b);const R=E?.placement,$=Object.assign(l.current,{state:E?.state,scheduleUpdate:E?.update,placement:R,outOfBoundaries:(E==null||(w=E.state)==null||(w=w.modifiersData.hide)==null?void 0:w.isReferenceHidden)||!1,strategy:n.strategy}),O=!!u;return typeof e=="function"?e({...g,placement:R,show:C,...!t&&C&&{className:"show"},popper:$,arrowProps:b,hasDoneInitialMeasure:O}):s.cloneElement(e,{...g,placement:R,arrowProps:b,popper:$,hasDoneInitialMeasure:O,className:x(e.props.className,!t&&C&&"show"),style:{...e.props.style,...g.style}})}})});ds.displayName="Overlay";const zu=ds;function Yu(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function dr(e,t,n){const[r]=t,o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];(!a||a!==o)&&!ht(o,a)&&e(...t)}ne.oneOf(["click","hover","focus"]);const qu=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:r={},show:o,defaultShow:a=!1,onToggle:i,delay:c,placement:l,flip:u=l&&l.indexOf("auto")!==-1,...d})=>{const f=s.useRef(null),m=tt(f,Ue(n)),v=yo(),h=s.useRef(""),[y,g]=hr(o,a,i),b=Yu(c),{onFocus:E,onBlur:C,onClick:w}=typeof n!="function"?s.Children.only(n).props:{},R=I=>{m(Tt(I))},$=s.useCallback(()=>
13{if(v.clear(),h.current="show",!b.show){g(!0);return}v.set(()=>{h.current==="show"&&g(!0)},b.show)},[b.show,g,v]),O=s.useCallback(()=>{if(v.clear(),h.current="hide",!b.hide){g(!1);return}v.set(()=>{h.current==="hide"&&g(!1)},b.hide)},[b.hide,g,v]),j=s.useCallback((...I)=>{$(),E?.(...I)},[$,E]),A=s.useCallback((...I)=>{O(),C?.(...I)},[O,C]),D=s.useCallback((...I)=>{g(!y),w?.(...I)},[w,g,y]),T=s.useCallback((...I)=>{dr($,I,"fromElement")},[$]),k=s.useCallback((...I)=>{dr(O,I,"toElement")},[O]),S=e==null?[]:[].concat(e),B={ref:R};return S.indexOf("click")!==-1&&(B.onClick=D),S.indexOf("focus")!==-1&&(B.onFocus=j,B.onBlur=A),S.indexOf("hover")!==-1&&(B.onMouseOver=T,B.onMouseOut=k),p.jsxs(p.Fragment,{children:[typeof n=="function"?n(B):s.cloneElement(n,B),p.jsx(zu,{...d,show:y,onHide:O,flip:u,placement:l,popperConfig:r,target:f.current,children:t})]})},Nd=qu,In=s.forwardRef(({active:e=!1,disabled:t=!1,className:n,style:r,activeLabel:o="(current)",children:a,linkStyle:i,linkClassName:c,as:l=Xe,...u},d)=>{const f=e||t?"span":l;return p.jsx("li",{ref:d,style:r,className:x(n,"page-item",{active:e,disabled:t}),children:p.jsxs(f,{className:x("page-link",c),style:i,...u,children:[a,e&&o&&p.jsx("span",{className:"visually-hidden",children:o})]})})});In.displayName="PageItem";const Qu=In;function $t(e,t,n=e){const r=s.forwardRef(({children:o,...a},i)=>p.jsxs(In,{...a,ref:i,children:[p.jsx("span",{"aria-hidden":"true",children:o||t}),p.jsx("span",{className:"visually-hidden",children:n})]}));return r.displayName=e,r}const Zu=$t("First","«"),Ju=$t("Prev","‹","Previous"),ed=$t("Ellipsis","…","More"),td=$t("Next","›"),nd=$t("Last","»"),fs=s.forwardRef(({bsPrefix:e,className:t,size:n,...r},o)=>{const a=N(e,"pagination");return p.jsx("ul",{ref:o,...r,className:x(t,a,n&&`${a}-${n}`)})});fs.displayName="Pagination";const Rd=Object.assign(fs,{First:Zu,Prev:Ju,Ellipsis:ed,Item:Qu,Next:td,Last:nd});function ps({animation:e,bg:t,bsPrefix:n,size:r,...o}){n=N(n,"placeholder");const[{className:a,...i}]=Co(o);return{...i,className:x(a,e?`${n}-${e}`:n,r&&`${n}-${r}`,t&&`bg-${t}`)}}const ms=s.forwardRef((e,t)=>{const n=ps(e);return p.jsx(eo,{...n,ref:t,disabled:!0,tabIndex:-1})});ms.displayName="PlaceholderButton";const rd=ms,vs=s.forwardRef(({as:e="span",...t},n)=>{const r=ps(t);return p.jsx(e,{...r,ref:n})});vs.displayName="Placeholder";const Od=Object.assign(vs,{Button:rd}),fr=1e3;function od(e,t,n){const r=(e-t)/(n-t)*100;return Math.round(r*fr)/fr}function pr({min:e,now:t,max:n,label:r,visuallyHidden:o,striped:a,animated:i,className:c,style:l,variant:u,bsPrefix:d,...f},m){return p.jsx("div",{ref:m,...f,role:"progressbar",className:x(c,`${d}-bar`,{[`bg-${u}`]:u,[`${d}-bar-animated`]:i,[`${d}-bar-striped`]:i||a}),style:{width:`${od(t,e,n)}%`,...l},"aria-valuenow":t,"aria-valuemin":e,"aria-valuemax":n,children:o?p.jsx("span",{className:"visually-hidden",children:r}):r})}const hs=s.forwardRef(({isChild:e=!1,...t},n)=>{const r={min:0,max:100,animated:!1,visuallyHidden:!1,striped:!1,...t};if(r.bsPrefix=N(r.bsPrefix,"progress"),e)return pr(r,n);const{min:o,now:a,max:i,label:c,visuallyHidden:l,striped:u,animated:d,bsPrefix:f,variant:m,className:v,children:h,...y}=r;return p.jsx("div",{ref:n,...y,className:x(v,f),children:h?nn(h,g=>s.cloneElement(g,{isChild:!0})):pr({min:o,now:a,max:i,label:c,visuallyHidden:l,striped:u,animated:d,bsPrefix:f,variant:m},n)})});hs.displayName="ProgressBar";const jd=hs,gs=s.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},o)=>{const a=N(e,"row"),i=dn(),c=fn(),l=`${a}-cols`,u=[];return i.forEach(d=>{const f=r[d];delete r[d];let m;f!=null&&typeof f=="object"?{cols:m}=f:m=f;const v=d!==c?`-${d}`:"";m!=null&&u.push(`${l}${v}-${m}`)}),p.jsx(n,{ref:o,...r,className:x(t,a,...u)})});gs.displayName="Row";const Td=gs,ys=s.forwardRef(({bsPrefix:e,variant:t,animation:n="border",size:r,as:o="div",className:a,...i},c)=>{e=N(e,"spinner");const l=`${e}-${n}`;return p.jsx(o,{ref:c,...i,className:x(a,l,r&&`${l}-${r}`,t&&`text-${t}`)})});ys.displayName="Spinner";const Sd=ys;function ad(e,t=wr,n=br){const r=[];return Object.entries(e).forEach(([o,a])=>{a!=null&&(typeof a=="object"?t.forEach(i=>
13{const c=a[i];if(c!=null){const l=i!==n?`-${i}`:"";r.push(`${o}${l}-${c}`)}}):r.push(`${o}-${a}`))}),r}const xs=s.forwardRef(({as:e="div",bsPrefix:t,className:n,direction:r,gap:o,...a},i)=>{t=N(t,r==="horizontal"?"hstack":"vstack");const c=dn(),l=fn();return p.jsx(e,{...a,ref:i,className:x(n,t,...ad({gap:o},c,l))})});xs.displayName="Stack";const kd=xs,ws=s.forwardRef(({bsPrefix:e,className:t,striped:n,bordered:r,borderless:o,hover:a,size:i,variant:c,responsive:l,...u},d)=>{const f=N(e,"table"),m=x(t,f,c&&`${f}-${c}`,i&&`${f}-${i}`,n&&`${f}-${typeof n=="string"?`striped-${n}`:"striped"}`,r&&`${f}-bordered`,o&&`${f}-borderless`,a&&`${f}-hover`),v=p.jsx("table",{...u,className:m,ref:d});if(l){let h=`${f}-responsive`;return typeof l=="string"&&(h=`${h}-${l}`),p.jsx("div",{className:h,children:v})}return v});ws.displayName="Table";const Dd=ws;export{hu as $,dd as A,eo as B,Mi as C,gd as D,du as E,xd as F,fu as G,Nr as H,wd as I,ne as J,Js as K,Zs as L,Cd as M,$d as N,Nd as O,Rd as P,qs as Q,Td as R,Sd as S,Vu as T,ud as U,mi as V,bd as W,Vl as X,x as Y,Dd as Z,Os as _,hd as a,pu as a0,_s as a1,Ed as a2,qt as a3,ld as a4,ir as a5,we as a6,De as a7,Fc as a8,cc as a9,Rc as aa,sc as ab,Ec as ac,xc as ad,Tc as ae,nc as af,bc as ag,kd as ah,$u as ai,cd as aj,Lu as ak,Tu as al,gl as am,Sr as b,md as c,Ol as d,va as e,Tl as f,ca as g,Dl as h,vi as i,fd as j,ro as k,Dt as l,Wt as m,an as n,Od as o,jd as p,yd as q,El as r,$l as s,xl as t,vd as u,pd as v,Ps as w,vr as x,Ws as y,Yt as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.