GoScrobble/web/node_modules/react-bootstrap/dist/react-bootstrap.min.js

2 lines
112 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see react-bootstrap.min.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(self,(function(e,t){return(()=>{var n={814:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},286:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},946:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}return(0,o.default)(r)};var r,o=(r=n(844))&&r.__esModule?r:{default:r};e.exports=t.default},422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r,o,a){var i=r||"<<anonymous>>",s=a||n;if(null==t[n])return new Error("The "+o+" `"+s+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var l=arguments.length,c=Array(l>5?l-5:0),u=5;u<l;u++)c[u-5]=arguments[u];return e.apply(void 0,[t,n,r,o,a].concat(c))}},e.exports=t.default},844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,a,i){var s=o||"<<anonymous>>",l=i||r;if(null==n[r])return t?new Error("Required "+a+" `"+l+"` was not specified in `"+s+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,s,a,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},428:(e,t,n)=>{"use strict";var r=n(134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},526:(e,t,n)=>{e.exports=n(428)()},134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},459:e=>{"use strict";e.exports=function(){}},698:t=>{"use strict";t.exports=e},207:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function t(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}o.r(a),o.d(a,{Accordion:()=>be,AccordionCollapse:()=>me,AccordionContext:()=>E,AccordionToggle:()=>C,Alert:()=>Ve,Badge:()=>We,Breadcrumb:()=>Ze,BreadcrumbItem:()=>$e,Button:()=>tt,ButtonGroup:()=>ot,ButtonToolbar:()=>st,Card:()=>Pt,CardColumns:()=>Ot,CardDeck:()=>kt,CardGroup:()=>Rt,CardImg:()=>ft,Carousel:()=>Ut,CarouselItem:()=>Bt,CloseButton:()=>Re,Col:()=>$t,Collapse:()=>de,Container:()=>aa,Dropdown:()=>uo,DropdownButton:()=>vo,Fade:()=>Ce,Figure:()=>va,Form:()=>na,FormCheck:()=>To,FormControl:()=>_o,FormFile:()=>jo,FormGroup:()=>qo,FormLabel:()=>Go,FormText:()=>Yo,Image:()=>ca,InputGroup:()=>Ea,Jumbotron:()=>Ca,ListGroup:()=>Ba,ListGroupItem:()=>Fa,Media:()=>_a,Modal:()=>Oi,ModalBody:()=>ui,ModalDialog:()=>mi,ModalFooter:()=>vi,ModalTitle:()=>yi,Nav:()=>Li,NavDropdown:()=>Zi,NavItem:()=>Ti,NavLink:()=>Di,Navbar:()=>$i,NavbarBrand:()=>Ki,Overlay:()=>as,OverlayTrigger:()=>us,PageItem:()=>ms,Pagination:()=>Ns,Popover:()=>Ss,PopoverContent:()=>ks,PopoverTitle:()=>Ps,ProgressBar:()=>Bs,ResponsiveEmbed:()=>Hs,Row:()=>qs,SafeAnchor:()=>Le,Spinner:()=>Gs,SplitButton:()=>Js,Tab:()=>il,TabContainer:()=>Zs,TabContent:()=>el,TabPane:()=>ol,Table:()=>ll,Tabs:()=>fl,ThemeProvider:()=>b,Toast:()=>xl,ToastBody:()=>bl,ToastHeader:()=>hl,ToggleButton:()=>Cl,ToggleButtonGroup:()=>kl,Tooltip:()=>Sl,useAccordionToggle:()=>N});var n=o(814),r=o.n(n),i=o(698),s=o.n(i),l=o(286),c=o.n(l);function u(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function d(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function f(e,t,n){var r=(0,i.useRef)(void 0!==e),o=(0,i.useState)(t),a=o[0],s=o[1],l=void 0!==e,c=r.current;return r.current=l,!l&&c&&a!==t&&s(t),[l?e:a,(0,i.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n&&n.apply(void 0,[e].concat(r)),s(e)}),[n])]}function p(n,r){return Object.keys(r).reduce((function(o,a){var i,s=o,l=s[u(a)],c=s[a],p=t(s,[u(a),a].map(d)),m=r[a],v=f(c,l,n[m]),h=v[0],b=v[1];return e({},p,((i={})[a]=h,i[m]=b,i))}),n)}var m=s().createContext({}),v=(m.Consumer,m.Provider);function h(e,t){var n=(0,i.useContext)(m);return e||n[t]||t}const b=function(t){var n=t.prefixes,r=t.children,o=(0,i.useMemo)((function(){return e({},n)}),[n]);return s().createElement(v,{value:o},r)};var g=function(e,t){return void 0===t&&(t=null),null!=e?String(e):t||null};const y=s().createContext(null);var x=s().createContext(null);x.displayName="AccordionContext";const E=x;var w=["as","children","eventKey","onClick"];function N(e,t){var n=(0,i.useContext)(E),r=(0,i.useContext)(y);return function(o){r&&r(e===n?null:e,o),t&&t(o)}}const C=s().forwardRef((function(n,r){var o=n.as,a=void 0===o?"button":o,i=n.children,l=n.eventKey,c=n.onClick,u=t(n,w),d=N(l,c);return"button"===a&&(u.type="button"),s().createElement(a,e({ref:r,onClick:d},u),i)}));function P(e){return e&&e.ownerDocument||document}var O=/([A-Z])/g,k=/^ms-/;function R(e){return function(e){return e.replace(O,"-$1").toLowerCase()}(e).replace(k,"-ms-")}var T=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const S=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(R(t))||function(e,t){return function(e){var t=P(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}(e).getPropertyValue(R(t));Object.keys(t).forEach((function(o){var a=t[o];a||0===a?function(e){return!(!e||!T.test(e))}(o)?r+=o+"("+a+") ":n+=R(o)+": "+a+";":e.style.removeProperty(R(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,I(e,t)}var D=o(526),F=o.n(D),A=o(207),L=o.n(A);const B=s().createContext(null);var j="unmounted",K="exited",H="entering",_="entered",z="exiting",V=function(e){function n(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=K,r.appearStatus=H):o=_:o=t.unmountOnExit||t.mountOnEnter?j:K,r.state={status:o},r.nextCallback=null,r}M(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===j?{status:K}:null};var r=n.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==H&&n!==_&&(t=H):n!==H&&n!==_||(t=z)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},r.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===H?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===K&&this.setState({status:j})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[L().findDOMNode(this),r],a=o[0],i=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:H},(function(){t.props.onEntering(a,i),t.onTransitionEnd(l,(function(){t.safeSetState({status:_},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:_},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:L().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:z},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:K},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:K},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:L().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===j)return null;var n=this.props,r=n.children,o=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,t(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(B.Provider,{value:null},"function"==typeof r?r(e,o):s().cloneElement(s().Children.only(r),o))},n}(s().Component);function q(){}V.contextType=B,V.propTypes={},V.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:q,onEntering:q,onEntered:q,onExit:q,onExiting:q,onExited:q},V.UNMOUNTED=j,V.EXITED=K,V.ENTERING=H,V.ENTERED=_,V.EXITING=z;const U=V,W=!("undefined"==typeof window||!window.document||!window.document.createElement);var G=!1,X=!1;try{var $={get passive(){return G=!0},get once(){return X=G=!0}};W&&(window.addEventListener("test",$,$),window.removeEventListener("test",$,!0))}catch(e){}const Y=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!X){var o=r.once,a=r.capture,i=n;!X&&o&&(i=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=i),e.addEventListener(t,i,G?r:a)}e.addEventListener(t,n,r)},J=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)},Z=function(e,t,n,r){return Y(e,t,n,r),function(){J(e,t,n,r)}};function Q(e,t,n,r){var o,a;null==n&&(a=-1===(o=S(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(o)*a||0);var i=function(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent("transitionend",n,r),e.dispatchEvent(o)}}(e,0,!0)}),t+n),a=Z(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),a()}}(e,n,r),s=Z(e,"transitionend",t);return function(){i(),s()}}function ee(e,t){var n=S(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function te(e,t){var n=ee(e,"transitionDuration"),r=ee(e,"transitionDelay"),o=Q(e,(function(n){n.target===e&&(o(),t(n))}),n+r)}const ne=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return null!=e})).reduce((function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),null)};function re(e){e.offsetHeight}var oe,ae=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"],ie={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function se(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],r=ie[e];return n+parseInt(S(t,r[0]),10)+parseInt(S(t,r[1]),10)}var le=((oe={}).exited="collapse",oe.exiting="collapsing",oe.entering="collapsing",oe.entered="collapse show",oe),ce={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:se},ue=s().forwardRef((function(n,o){var a=n.onEnter,l=n.onEntering,c=n.onEntered,u=n.onExit,d=n.onExiting,f=n.className,p=n.children,m=n.dimension,v=void 0===m?"height":m,h=n.getDimensionValue,b=void 0===h?se:h,g=t(n,ae),y="function"==typeof v?v():v,x=(0,i.useMemo)((function(){return ne((function(e){e.style[y]="0"}),a)}),[y,a]),E=(0,i.useMemo)((function(){return ne((function(e){var t="scroll"+y[0].toUpperCase()+y.slice(1);e.style[y]=e[t]+"px"}),l)}),[y,l]),w=(0,i.useMemo)((function(){return ne((function(e){e.style[y]=null}),c)}),[y,c]),N=(0,i.useMemo)((function(){return ne((function(e){e.style[y]=b(y,e)+"px",re(e)}),u)}),[u,b,y]),C=(0,i.useMemo)((function(){return ne((function(e){e.style[y]=null}),d)}),[y,d]);return s().createElement(U,e({ref:o,addEndListener:te},g,{"aria-expanded":g.role?g.in:null,onEnter:x,onEntering:E,onEntered:w,onExit:N,onExiting:C}),(function(t,n){return s().cloneElement(p,e({},n,{className:r()(f,p.props.className,le[t],"width"===y&&"width")}))}))}));ue.defaultProps=ce;const de=ue;var fe=["children","eventKey"],pe=s().forwardRef((function(n,r){var o=n.children,a=n.eventKey,l=t(n,fe),c=(0,i.useContext)(E);return s().createElement(y.Provider,{value:null},s().createElement(de,e({ref:r,in:c===a},l),s().createElement("div",null,s().Children.only(o))))}));pe.displayName="AccordionCollapse";const me=pe;var ve=["as","activeKey","bsPrefix","children","className","onSelect"],he=s().forwardRef((function(n,o){var a=p(n,{activeKey:"onSelect"}),i=a.as,l=void 0===i?"div":i,c=a.activeKey,u=a.bsPrefix,d=a.children,f=a.className,m=a.onSelect,v=t(a,ve),b=r()(f,h(u,"accordion"));return s().createElement(E.Provider,{value:c||null},s().createElement(y.Provider,{value:m||null},s().createElement(l,e({ref:o},v,{className:b}),d)))}));he.displayName="Accordion",he.Toggle=C,he.Collapse=me;const be=he,ge=function(e){var t=(0,i.useRef)(e);return(0,i.useEffect)((function(){t.current=e}),[e]),t};function ye(e){var t=ge(e);return(0,i.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}var xe,Ee=["className","children"],we=((xe={}).entering="show",xe.entered="show",xe),Ne=s().forwardRef((function(n,o){var a=n.className,l=n.children,c=t(n,Ee),u=(0,i.useCallback)((function(e){re(e),c.onEnter&&c.onEnter(e)}),[c]);return s().createElement(U,e({ref:o,addEndListener:te},c,{onEnter:u}),(function(t,n){return s().cloneElement(l,e({},n,{className:r()("fade",a,l.props.className,we[t])}))}))}));Ne.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},Ne.displayName="Fade";const Ce=Ne;var Pe=["label","onClick","className"],Oe={label:F().string.isRequired,onClick:F().func},ke=s().forwardRef((function(n,o){var a=n.label,i=n.onClick,l=n.className,c=t(n,Pe);return s().createElement("button",e({ref:o,type:"button",className:r()("close",l),onClick:i},c),s().createElement("span",{"aria-hidden":"true"},"×"),s().createElement("span",{className:"sr-only"},a))}));ke.displayName="CloseButton",ke.propTypes=Oe,ke.defaultProps={label:"Close"};const Re=ke,Te=function(t){return s().forwardRef((function(n,o){return s().createElement("div",e({},n,{ref:o,className:r()(n.className,t)}))}))};var Se=/-(.)/g,Ie=["className","bsPrefix","as"];function Me(n,o){var a,i,l=void 0===o?{}:o,c=l.displayName,u=void 0===c?(a=n)[0].toUpperCase()+(i=a,i.replace(Se,(function(e,t){return t.toUpperCase()}))).slice(1):c,d=l.Component,f=l.defaultProps,p=s().forwardRef((function(o,a){var i=o.className,l=o.bsPrefix,c=o.as,u=void 0===c?d||"div":c,f=t(o,Ie),p=h(l,n);return s().createElement(u,e({ref:a,className:r()(i,p)},f))}));return p.defaultProps=f,p.displayName=u,p}var De=["as","disabled","onKeyDown"];function Fe(e){return!e||"#"===e.trim()}var Ae=s().forwardRef((function(n,r){var o=n.as,a=void 0===o?"a":o,i=n.disabled,l=n.onKeyDown,c=t(n,De),u=function(e){var t=c.href,n=c.onClick;(i||Fe(t))&&e.preventDefault(),i?e.stopPropagation():n&&n(e)};return Fe(c.href)&&(c.role=c.role||"button",c.href=c.href||"#"),i&&(c.tabIndex=-1,c["aria-disabled"]=!0),s().createElement(a,e({ref:r},c,{onClick:u,onKeyDown:ne((function(e){" "===e.key&&(e.preventDefault(),u(e))}),l)}))}));Ae.displayName="SafeAnchor";const Le=Ae;var Be=["bsPrefix","show","closeLabel","className","children","variant","onClose","dismissible","transition"],je=Te("h4");je.displayName="DivStyledAsH4";var Ke=Me("alert-heading",{Component:je}),He=Me("alert-link",{Component:Le}),_e={show:!0,transition:Ce,closeLabel:"Close alert"},ze=s().forwardRef((function(n,o){var a=p(n,{show:"onClose"}),i=a.bsPrefix,l=a.show,c=a.closeLabel,u=a.className,d=a.children,f=a.variant,m=a.onClose,v=a.dismissible,b=a.transition,g=t(a,Be),y=h(i,"alert"),x=ye((function(e){m&&m(!1,e)})),E=!0===b?Ce:b,w=s().createElement("div",e({role:"alert"},E?void 0:g,{ref:o,className:r()(u,y,f&&y+"-"+f,v&&y+"-dismissible")}),v&&s().createElement(Re,{onClick:x,label:c}),d);return E?s().createElement(E,e({unmountOnExit:!0},g,{ref:void 0,in:l}),w):l?w:null}));ze.displayName="Alert",ze.defaultProps=_e,ze.Link=He,ze.Heading=Ke;const Ve=ze;var qe=["bsPrefix","variant","pill","className","as"],Ue=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.variant,l=n.pill,c=n.className,u=n.as,d=void 0===u?"span":u,f=t(n,qe),p=h(a,"badge");return s().createElement(d,e({ref:o},f,{className:r()(c,p,l&&p+"-pill",i&&p+"-"+i)}))}));Ue.displayName="Badge",Ue.defaultProps={pill:!1};const We=Ue;var Ge=["bsPrefix","active","children","className","as","linkAs","linkProps","href","title","target"],Xe=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.active,l=n.children,c=n.className,u=n.as,d=void 0===u?"li":u,f=n.linkAs,p=void 0===f?Le:f,m=n.linkProps,v=n.href,b=n.title,g=n.target,y=t(n,Ge),x=h(a,"breadcrumb-item");return s().createElement(d,e({ref:o},y,{className:r()(x,c,{active:i}),"aria-current":i?"page":void 0}),i?l:s().createElement(p,e({},m,{href:v,title:b,target:g}),l))}));Xe.displayName="BreadcrumbItem",Xe.defaultProps={active:!1,linkProps:{}};const $e=Xe;var Ye=["bsPrefix","className","listProps","children","label","as"],Je=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.listProps,c=n.children,u=n.label,d=n.as,f=void 0===d?"nav":d,p=t(n,Ye),m=h(a,"breadcrumb");return s().createElement(f,e({"aria-label":u,className:i,ref:o},p),s().createElement("ol",e({},l,{className:r()(m,null==l?void 0:l.className)}),c))}));Je.displayName="Breadcrumb",Je.defaultProps={label:"breadcrumb",listProps:{}},Je.Item=$e;const Ze=Je;var Qe=["bsPrefix","variant","size","active","className","block","type","as"],et=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.variant,l=n.size,c=n.active,u=n.className,d=n.block,f=n.type,p=n.as,m=t(n,Qe),v=h(a,"btn"),b=r()(u,v,c&&"active",i&&v+"-"+i,d&&v+"-block",l&&v+"-"+l);if(m.href)return s().createElement(Le,e({},m,{as:p,ref:o,className:r()(b,m.disabled&&"disabled")}));o&&(m.ref=o),f?m.type=f:p||(m.type="button");var g=p||"button";return s().createElement(g,e({},m,{className:b}))}));et.displayName="Button",et.defaultProps={variant:"primary",active:!1,disabled:!1};const tt=et;var nt=["bsPrefix","size","toggle","vertical","className","as"],rt=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.size,l=n.toggle,c=n.vertical,u=n.className,d=n.as,f=void 0===d?"div":d,p=t(n,nt),m=h(a,"btn-group"),v=m;return c&&(v=m+"-vertical"),s().createElement(f,e({},p,{ref:o,className:r()(u,v,i&&m+"-"+i,l&&m+"-toggle")}))}));rt.displayName="ButtonGroup",rt.defaultProps={vertical:!1,toggle:!1,role:"group"};const ot=rt;var at=["bsPrefix","className"],it=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=t(n,at),c=h(a,"btn-toolbar");return s().createElement("div",e({},l,{ref:o,className:r()(i,c)}))}));it.displayName="ButtonToolbar",it.defaultProps={role:"toolbar"};const st=it;var lt=s().createContext(null);lt.displayName="CardContext";const ct=lt;var ut=["bsPrefix","className","variant","as"],dt=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.variant,c=n.as,u=void 0===c?"img":c,d=t(n,ut),f=h(a,"card-img");return s().createElement(u,e({ref:o,className:r()(l?f+"-"+l:f,i)},d))}));dt.displayName="CardImg",dt.defaultProps={variant:null};const ft=dt;var pt=["bsPrefix","className","bg","text","border","body","children","as"],mt=Te("h5"),vt=Te("h6"),ht=Me("card-body"),bt=Me("card-title",{Component:mt}),gt=Me("card-subtitle",{Component:vt}),yt=Me("card-link",{Component:"a"}),xt=Me("card-text",{Component:"p"}),Et=Me("card-header"),wt=Me("card-footer"),Nt=Me("card-img-overlay"),Ct=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.bg,u=n.text,d=n.border,f=n.body,p=n.children,m=n.as,v=void 0===m?"div":m,b=t(n,pt),g=h(a,"card"),y=(0,i.useMemo)((function(){return{cardHeaderBsPrefix:g+"-header"}}),[g]);return s().createElement(ct.Provider,{value:y},s().createElement(v,e({ref:o},b,{className:r()(l,g,c&&"bg-"+c,u&&"text-"+u,d&&"border-"+d)}),f?s().createElement(ht,null,p):p))}));Ct.displayName="Card",Ct.defaultProps={body:!1},Ct.Img=ft,Ct.Title=bt,Ct.Subtitle=gt,Ct.Body=ht,Ct.Link=yt,Ct.Text=xt,Ct.Header=Et,Ct.Footer=wt,Ct.ImgOverlay=Nt;const Pt=Ct,Ot=Me("card-columns"),kt=Me("card-deck"),Rt=Me("card-group");function Tt(){var e=(0,i.useRef)(!0),t=(0,i.useRef)((function(){return e.current}));return(0,i.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}function St(e){var t,n,r=(t=e,(n=(0,i.useRef)(t)).current=t,n);(0,i.useEffect)((function(){return function(){return r.current()}}),[])}var It=Math.pow(2,31)-1;function Mt(e,t,n){var r=n-Date.now();e.current=r<=It?setTimeout(t,r):setTimeout((function(){return Mt(e,t,n)}),It)}function Dt(){var e=Tt(),t=(0,i.useRef)();return St((function(){return clearTimeout(t.current)})),(0,i.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r,o){void 0===o&&(o=0),e()&&(n(),o<=It?t.current=setTimeout(r,o):Mt(t,r,Date.now()+o))},clear:n}}),[])}const Ft=Me("carousel-caption");var At=["as","bsPrefix","children","className"],Lt=s().forwardRef((function(n,o){var a=n.as,i=void 0===a?"div":a,l=n.bsPrefix,c=n.children,u=n.className,d=t(n,At),f=r()(u,h(l,"carousel-item"));return s().createElement(i,e({ref:o},d,{className:f}),c)}));Lt.displayName="CarouselItem";const Bt=Lt;function jt(e,t){var n=0;return s().Children.map(e,(function(e){return s().isValidElement(e)?t(e,n++):e}))}function Kt(e,t){var n=0;s().Children.forEach(e,(function(e){s().isValidElement(e)&&t(e,n++)}))}var Ht=["as","bsPrefix","slide","fade","controls","indicators","activeIndex","onSelect","onSlide","onSlid","interval","keyboard","onKeyDown","pause","onMouseOver","onMouseOut","wrap","touch","onTouchStart","onTouchMove","onTouchEnd","prevIcon","prevLabel","nextIcon","nextLabel","className","children"],_t={bsPrefix:F().string,as:F().elementType,slide:F().bool,fade:F().bool,controls:F().bool,indicators:F().bool,activeIndex:F().number,onSelect:F().func,onSlide:F().func,onSlid:F().func,interval:F().number,keyboard:F().bool,pause:F().oneOf(["hover",!1]),wrap:F().bool,touch:F().bool,prevIcon:F().node,prevLabel:F().string,nextIcon:F().node,nextLabel:F().string},zt={slide:!0,fade:!1,controls:!0,indicators:!0,defaultActiveIndex:0,interval:5e3,keyboard:!0,pause:"hover",wrap:!0,touch:!0,prevIcon:s().createElement("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:"Previous",nextIcon:s().createElement("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:"Next"};function Vt(n,o){var a=p(n,{activeIndex:"onSelect"}),l=a.as,c=void 0===l?"div":l,u=a.bsPrefix,d=a.slide,f=a.fade,m=a.controls,v=a.indicators,b=a.activeIndex,g=a.onSelect,y=a.onSlide,x=a.onSlid,E=a.interval,w=a.keyboard,N=a.onKeyDown,C=a.pause,P=a.onMouseOver,O=a.onMouseOut,k=a.wrap,R=a.touch,T=a.onTouchStart,S=a.onTouchMove,I=a.onTouchEnd,M=a.prevIcon,D=a.prevLabel,F=a.nextIcon,A=a.nextLabel,L=a.className,B=a.children,j=t(a,Ht),K=h(u,"carousel"),H=(0,i.useRef)(null),_=(0,i.useState)("next"),z=_[0],V=_[1],q=(0,i.useState)(!1),W=q[0],G=q[1],X=(0,i.useState)(!1),$=X[0],Y=X[1],J=(0,i.useState)(b||0),Z=J[0],Q=J[1];$||b===Z||(H.current?V(H.current):V((b||0)>Z?"next":"prev"),d&&Y(!0),Q(b||0)),(0,i.useEffect)((function(){H.current&&(H.current=null)}));var ee,ne=0;Kt(B,(function(e,t){++ne,t===b&&(ee=e.props.interval)}));var oe=ge(ee),ae=(0,i.useCallback)((function(e){if(!$){var t=Z-1;if(t<0){if(!k)return;t=ne-1}H.current="prev",g&&g(t,e)}}),[$,Z,g,k,ne]),ie=ye((function(e){if(!$){var t=Z+1;if(t>=ne){if(!k)return;t=0}H.current="next",g&&g(t,e)}})),se=(0,i.useRef)();(0,i.useImperativeHandle)(o,(function(){return{element:se.current,prev:ae,next:ie}}));var le,ce,ue,de=ye((function(){!document.hidden&&function(e){if(!(e&&e.style&&e.parentNode&&e.parentNode.style))return!1;var t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(se.current)&&ie()})),fe="next"===z?"left":"right";le=function(){d||(y&&y(Z,fe),x&&x(Z,fe))},ce=[Z],ue=(0,i.useRef)(!0),(0,i.useEffect)((function(){if(!ue.current)return le();ue.current=!1}),ce);var pe=K+"-item-"+z,me=K+"-item-"+fe,ve=(0,i.useCallback)((function(e){re(e),y&&y(Z,fe)}),[y,Z,fe]),he=(0,i.useCallback)((function(){Y(!1),x&&x(Z,fe)}),[x,Z,fe]),be=(0,i.useCallback)((function(e){if(w&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void ae(e);case"ArrowRight":return e.preventDefault(),void ie(e)}N&&N(e)}),[w,N,ae,ie]),xe=(0,i.useCallback)((function(e){"hover"===C&&G(!0),P&&P(e)}),[C,P]),Ee=(0,i.useCallback)((function(e){G(!1),O&&O(e)}),[O]),we=(0,i.useRef)(0),Ne=(0,i.useRef)(0),Ce=Dt(),Pe=(0,i.useCallback)((function(e){we.current=e.touches[0].clientX,Ne.current=0,"hover"===C&&G(!0),T&&T(e)}),[C,T]),Oe=(0,i.useCallback)((function(e){e.touches&&e.touches.length>1?Ne.current=0:Ne.current=e.touches[0].clientX-we.current,S&&S(e)}),[S]),ke=(0,i.useCallback)((function(e){if(R){var t=Ne.current;Math.abs(t)>40&&(t>0?ae(e):ie(e))}"hover"===C&&Ce.set((function(){G(!1)}),E||void 0),I&&I(e)}),[R,C,ae,ie,Ce,E,I]),Re=null!=E&&!W&&!$,Te=(0,i.useRef)();(0,i.useEffect)((function(){var e,t;if(Re)return Te.current=window.setInterval(document.visibilityState?de:ie,null!=(e=null!=(t=oe.current)?t:E)?e:void 0),function(){null!==Te.current&&clearInterval(Te.current)}}),[Re,ie,oe,E,de]);var Se=(0,i.useMemo)((function(){return v&&Array.from({length:ne},(function(e,t){return function(e){g&&g(t,e)}}))}),[v,ne,g]);return s().createElement(c,e({ref:se},j,{onKeyDown:be,onMouseOver:xe,onMouseOut:Ee,onTouchStart:Pe,onTouchMove:Oe,onTouchEnd:ke,className:r()(L,K,d&&"slide",f&&K+"-fade")}),v&&s().createElement("ol",{className:K+"-indicators"},jt(B,(function(e,t){return s().createElement("li",{key:t,className:t===Z?"active":void 0,onClick:Se?Se[t]:void 0})}))),s().createElement("div",{className:K+"-inner"},jt(B,(function(e,t){var n=t===Z;return d?s().createElement(U,{in:n,onEnter:n?ve:void 0,onEntered:n?he:void 0,addEndListener:te},(function(t){return s().cloneElement(e,{className:r()(e.props.className,n&&"entered"!==t&&pe,("entered"===t||"exiting"===t)&&"active",("entering"===t||"exiting"===t)&&me)})})):s().cloneElement(e,{className:r()(e.props.className,n&&"active")})}))),m&&s().createElement(s().Fragment,null,(k||0!==b)&&s().createElement(Le,{className:K+"-control-prev",onClick:ae},M,D&&s().createElement("span",{className:"sr-only"},D)),(k||b!==ne-1)&&s().createElement(Le,{className:K+"-control-next",onClick:ie},F,A&&s().createElement("span",{className:"sr-only"},A))))}var qt=s().forwardRef(Vt);qt.displayName="Carousel",qt.propTypes=_t,qt.defaultProps=zt,qt.Caption=Ft,qt.Item=Bt;const Ut=qt;var Wt=["bsPrefix","className","as"],Gt=["xl","lg","md","sm","xs"],Xt=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.as,c=void 0===l?"div":l,u=t(n,Wt),d=h(a,"col"),f=[],p=[];return Gt.forEach((function(e){var t,n,r,o=u[e];if(delete u[e],"object"==typeof o&&null!=o){var a=o.span;t=void 0===a||a,n=o.offset,r=o.order}else t=o;var i="xs"!==e?"-"+e:"";t&&f.push(!0===t?""+d+i:""+d+i+"-"+t),null!=r&&p.push("order"+i+"-"+r),null!=n&&p.push("offset"+i+"-"+n)})),f.length||f.push(d),s().createElement(c,e({},u,{ref:o,className:r().apply(void 0,[i].concat(f,p))}))}));Xt.displayName="Col";const $t=Xt;var Yt,Jt=Function.prototype.bind.call(Function.prototype.call,[].slice);function Zt(e,t){return Jt(e.querySelectorAll(t))}function Qt(e){var t=(0,i.useRef)(null);return(0,i.useEffect)((function(){t.current=e})),t.current}function en(){return(0,i.useReducer)((function(e){return!e}),!1)[1]}const tn=s().createContext(null);function nn(){return(0,i.useState)(null)}function rn(e){return e.split("-")[0]}function on(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function an(e){var t=on(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 sn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ln(e){return e instanceof sn(e).Element||e instanceof Element}function cn(e){return e instanceof sn(e).HTMLElement||e instanceof HTMLElement}function un(e){return"undefined"!=typeof ShadowRoot&&(e instanceof sn(e).ShadowRoot||e instanceof ShadowRoot)}function dn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&un(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function fn(e){return e?(e.nodeName||"").toLowerCase():null}function pn(e){return sn(e).getComputedStyle(e)}function mn(e){return["table","td","th"].indexOf(fn(e))>=0}function vn(e){return((ln(e)?e.ownerDocument:e.document)||window.document).documentElement}function hn(e){return"html"===fn(e)?e:e.assignedSlot||e.parentNode||(un(e)?e.host:null)||vn(e)}function bn(e){return cn(e)&&"fixed"!==pn(e).position?e.offsetParent:null}function gn(e){for(var t=sn(e),n=bn(e);n&&mn(n)&&"static"===pn(n).position;)n=bn(n);return n&&("html"===fn(n)||"body"===fn(n)&&"static"===pn(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&cn(e)&&"fixed"===pn(e).position)return null;for(var n=hn(e);cn(n)&&["html","body"].indexOf(fn(n))<0;){var r=pn(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function yn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var xn=Math.max,En=Math.min,wn=Math.round;function Nn(e,t,n){return xn(e,En(t,n))}function Cn(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pn(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var On="top",kn="bottom",Rn="right",Tn="left",Sn="auto",In=[On,kn,Rn,Tn],Mn="start",Dn="end",Fn="viewport",An="popper",Ln=In.reduce((function(e,t){return e.concat([t+"-"+Mn,t+"-"+Dn])}),[]),Bn=[].concat(In,[Sn]).reduce((function(e,t){return e.concat([t,t+"-"+Mn,t+"-"+Dn])}),[]),jn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],Kn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hn(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,u=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:wn(wn(t*r)/r)||0,y:wn(wn(n*r)/r)||0}}(a):"function"==typeof c?c(a):a,d=u.x,f=void 0===d?0:d,p=u.y,m=void 0===p?0:p,v=a.hasOwnProperty("x"),h=a.hasOwnProperty("y"),b=Tn,g=On,y=window;if(l){var x=gn(n),E="clientHeight",w="clientWidth";x===sn(n)&&"static"!==pn(x=vn(n)).position&&(E="scrollHeight",w="scrollWidth"),x=x,o===On&&(g=kn,m-=x[E]-r.height,m*=s?1:-1),o===Tn&&(b=Rn,f-=x[w]-r.width,f*=s?1:-1)}var N,C=Object.assign({position:i},l&&Kn);return s?Object.assign({},C,((N={})[g]=h?"0":"",N[b]=v?"0":"",N.transform=(y.devicePixelRatio||1)<2?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",N)):Object.assign({},C,((t={})[g]=h?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}var _n={passive:!0},zn={left:"right",right:"left",bottom:"top",top:"bottom"};function Vn(e){return e.replace(/left|right|bottom|top/g,(function(e){return zn[e]}))}var qn={start:"end",end:"start"};function Un(e){return e.replace(/start|end/g,(function(e){return qn[e]}))}function Wn(e){var t=sn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gn(e){return on(vn(e)).left+Wn(e).scrollLeft}function Xn(e){var t=pn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function $n(e){return["html","body","#document"].indexOf(fn(e))>=0?e.ownerDocument.body:cn(e)&&Xn(e)?e:$n(hn(e))}function Yn(e,t){var n;void 0===t&&(t=[]);var r=$n(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=sn(r),i=o?[a].concat(a.visualViewport||[],Xn(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Yn(hn(i)))}function Jn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zn(e,t){return t===Fn?Jn(function(e){var t=sn(e),n=vn(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+Gn(e),y:s}}(e)):cn(t)?function(e){var t=on(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Jn(function(e){var t,n=vn(e),r=Wn(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=xn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=xn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Gn(e),l=-r.scrollTop;return"rtl"===pn(o||n).direction&&(s+=xn(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(vn(e)))}function Qn(e){return e.split("-")[1]}function er(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?rn(o):null,i=o?Qn(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case On:t={x:s,y:n.y-r.height};break;case kn:t={x:s,y:n.y+n.height};break;case Rn:t={x:n.x+n.width,y:l};break;case Tn:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?yn(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Mn:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Dn:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function tr(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,s=n.rootBoundary,l=void 0===s?Fn:s,c=n.elementContext,u=void 0===c?An:c,d=n.altBoundary,f=void 0!==d&&d,p=n.padding,m=void 0===p?0:p,v=Cn("number"!=typeof m?m:Pn(m,In)),h=u===An?"reference":An,b=e.elements.reference,g=e.rects.popper,y=e.elements[f?h:u],x=function(e,t,n){var r="clippingParents"===t?function(e){var t=Yn(hn(e)),n=["absolute","fixed"].indexOf(pn(e).position)>=0&&cn(e)?gn(e):e;return ln(n)?t.filter((function(e){return ln(e)&&dn(e,n)&&"body"!==fn(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Zn(e,n);return t.top=xn(r.top,t.top),t.right=En(r.right,t.right),t.bottom=En(r.bottom,t.bottom),t.left=xn(r.left,t.left),t}),Zn(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(ln(y)?y:y.contextElement||vn(e.elements.popper),i,l),E=on(b),w=er({reference:E,element:g,strategy:"absolute",placement:o}),N=Jn(Object.assign({},g,w)),C=u===An?N:E,P={top:x.top-C.top+v.top,bottom:C.bottom-x.bottom+v.bottom,left:x.left-C.left+v.left,right:C.right-x.right+v.right},O=e.modifiersData.offset;if(u===An&&O){var k=O[o];Object.keys(P).forEach((function(e){var t=[Rn,kn].indexOf(e)>=0?1:-1,n=[On,kn].indexOf(e)>=0?"y":"x";P[e]+=k[n]*t}))}return P}function nr(e,t,n){return void 0===n&&(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 rr(e){return[On,Rn,kn,Tn].some((function(t){return e[t]>=0}))}function or(e,t,n){void 0===n&&(n=!1);var r,o,a=vn(t),i=on(e),s=cn(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&(("body"!==fn(t)||Xn(a))&&(l=(r=t)!==sn(r)&&cn(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Wn(r)),cn(t)?((c=on(t)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Gn(a))),{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function ar(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var ir={placement:"bottom",modifiers:[],strategy:"absolute"};function sr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}var lr=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ir:o;return function(e,t,n){void 0===n&&(n=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ir,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){d(),s.options=Object.assign({},a,s.options,n),s.scrollParents={reference:ln(e)?Yn(e):e.contextElement?Yn(e.contextElement):[],popper:Yn(t)};var o,i,c=function(e){var t=ar(e);return jn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(r,s.options.modifiers),i=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return s.orderedModifiers=c.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:u,options:r});l.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(sr(t,n)){s.rects={reference:or(t,gn(n),"fixed"===s.options.strategy),popper:an(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,l=void 0===i?{}:i,d=o.name;"function"==typeof a&&(s=a({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!sr(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=tr(t,{elementContext:"reference"}),s=tr(t,{altBoundary:!0}),l=nr(i,r),c=nr(s,o,a),u=rr(l),d=rr(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=er({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:rn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Hn(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Hn(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=sn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,_n)})),s&&l.addEventListener("resize",n.update,_n),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,_n)})),s&&l.removeEventListener("resize",n.update,_n)}},data:{}},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Bn.reduce((function(e,n){return e[n]=function(e,t,n){var r=rn(e),o=[Tn,On].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Tn,Rn].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,v=n.allowedAutoPlacements,h=t.options.placement,b=rn(h),g=l||(b!==h&&m?function(e){if(rn(e)===Sn)return[];var t=Vn(e);return[Un(e),t,Un(t)]}(h):[Vn(h)]),y=[h].concat(g).reduce((function(e,n){return e.concat(rn(n)===Sn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Bn:l,u=Qn(r),d=u?s?Ln:Ln.filter((function(e){return Qn(e)===u})):In,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=tr(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[rn(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,E=t.rects.popper,w=new Map,N=!0,C=y[0],P=0;P<y.length;P++){var O=y[P],k=rn(O),R=Qn(O)===Mn,T=[On,kn].indexOf(k)>=0,S=T?"width":"height",I=tr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),M=T?R?Rn:Tn:R?kn:On;x[S]>E[S]&&(M=Vn(M));var D=Vn(M),F=[];if(a&&F.push(I[k]<=0),s&&F.push(I[M]<=0,I[D]<=0),F.every((function(e){return e}))){C=O,N=!1;break}w.set(O,F)}if(N)for(var A=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},L=m?3:1;L>0&&"break"!==A(L);L--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,v=void 0===m?0:m,h=tr(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=rn(t.placement),g=Qn(t.placement),y=!g,x=yn(b),E="x"===x?"y":"x",w=t.modifiersData.popperOffsets,N=t.rects.reference,C=t.rects.popper,P="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O={x:0,y:0};if(w){if(a||s){var k="y"===x?On:Tn,R="y"===x?kn:Rn,T="y"===x?"height":"width",S=w[x],I=w[x]+h[k],M=w[x]-h[R],D=p?-C[T]/2:0,F=g===Mn?N[T]:C[T],A=g===Mn?-C[T]:-N[T],L=t.elements.arrow,B=p&&L?an(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=j[k],H=j[R],_=Nn(0,N[T],B[T]),z=y?N[T]/2-D-_-K-P:F-_-K-P,V=y?-N[T]/2+D+_+H+P:A+_+H+P,q=t.elements.arrow&&gn(t.elements.arrow),U=q?"y"===x?q.clientTop||0:q.clientLeft||0:0,W=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,G=w[x]+z-W-U,X=w[x]+V-W;if(a){var $=Nn(p?En(I,G):I,S,p?xn(M,X):M);w[x]=$,O[x]=$-S}if(s){var Y="x"===x?On:Tn,J="x"===x?kn:Rn,Z=w[E],Q=Z+h[Y],ee=Z-h[J],te=Nn(p?En(Q,G):Q,Z,p?xn(ee,X):ee);w[E]=te,O[E]=te-Z}}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=rn(n.placement),l=yn(s),c=[Tn,Rn].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return Cn("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pn(e,In))}(o.padding,n),d=an(a),f="y"===l?On:Tn,p="y"===l?kn:Rn,m=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],v=i[l]-n.rects.reference[l],h=gn(a),b=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,g=m/2-v/2,y=u[f],x=b-d[c]-u[p],E=b/2-d[c]/2+g,w=Nn(y,E,x),N=l;n.modifiersData[r]=((t={})[N]=w,t.centerOffset=w-E,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&dn(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}),cr=function(e){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}},ur={name:"applyStyles",enabled:!1},dr={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var o=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));o.length?n.setAttribute("aria-describedby",o.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,o=n.reference,a=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===a&&"setAttribute"in o){var i=o.getAttribute("aria-describedby");if(i&&-1!==i.split(",").indexOf(r.id))return;o.setAttribute("aria-describedby",i?i+","+r.id:r.id)}}},fr=[];const pr=function(n,r,o){var a,s,l=void 0===o?{}:o,c=l.enabled,u=void 0===c||c,d=l.placement,f=void 0===d?"bottom":d,p=l.strategy,m=void 0===p?"absolute":p,v=l.modifiers,h=void 0===v?fr:v,b=t(l,["enabled","placement","strategy","modifiers"]),g=(0,i.useRef)(),y=(0,i.useCallback)((function(){var e;null==(e=g.current)||e.update()}),[]),x=(0,i.useCallback)((function(){var e;null==(e=g.current)||e.forceUpdate()}),[]),E=(a=(0,i.useState)({placement:f,update:y,forceUpdate:x,attributes:{},styles:{popper:cr(m),arrow:{}}}),s=Tt(),[a[0],(0,i.useCallback)((function(e){if(s())return a[1](e)}),[s,a[1]])]),w=E[0],N=E[1],C=(0,i.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),N({state:t,styles:n,attributes:r,update:y,forceUpdate:x,placement:t.placement})}}}),[y,x,N]);return(0,i.useEffect)((function(){g.current&&u&&g.current.setOptions({placement:f,strategy:m,modifiers:[].concat(h,[C,ur])})}),[m,f,C,u]),(0,i.useEffect)((function(){if(u&&null!=n&&null!=r)return g.current=lr(n,r,e({},b,{placement:f,strategy:m,modifiers:[].concat(h,[dr,C])})),function(){null!=g.current&&(g.current.destroy(),g.current=void 0,N((function(t){return e({},t,{attributes:{},styles:{popper:cr(m)}})})))}}),[u,n,r]),w};function mr(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var vr=o(459),hr=o.n(vr);function br(e){return e&&"setState"in e?L().findDOMNode(e):null!=e?e:null}var gr=function(){},yr=function(e){return e&&("current"in e?e.current:e)};const xr=function(e,t,n){var r=void 0===n?{}:n,o=r.disabled,a=r.clickTrigger,s=void 0===a?"click":a,l=(0,i.useRef)(!1),c=t||gr,u=(0,i.useCallback)((function(t){var n,r=yr(e);hr()(!!r,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),l.current=!(r&&(n=t,!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey))&&function(e){return 0===e.button}(t)&&!mr(r,t.target))}),[e]),d=ye((function(e){l.current||c(e)})),f=ye((function(e){27===e.keyCode&&c(e)}));(0,i.useEffect)((function(){if(!o&&null!=e){var t=window.event,n=P(br(yr(e))),r=Z(n,s,u,!0),a=Z(n,s,(function(e){e!==t?d(e):t=void 0})),i=Z(n,"keyup",(function(e){e!==t?f(e):t=void 0})),l=[];return"ontouchstart"in n.documentElement&&(l=[].slice.call(n.body.children).map((function(e){return Z(e,"mousemove",gr)}))),function(){r(),a(),i(),l.forEach((function(e){return e()}))}}}),[e,o,s,u,d,f])};function Er(e){return void 0===e&&(e={}),Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t].name=t,e[t]}))}function wr(t){var n,r,o,a,i=t.enabled,s=t.enableEvents,l=t.placement,c=t.flip,u=t.offset,d=t.fixed,f=t.containerPadding,p=t.arrowElement,m=t.popperConfig,v=void 0===m?{}:m,h=function(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}(v.modifiers);return e({},v,{placement:l,enabled:i,strategy:d?"fixed":v.strategy,modifiers:Er(e({},h,{eventListeners:{enabled:s},preventOverflow:e({},h.preventOverflow,{options:f?e({padding:f},null==(n=h.preventOverflow)?void 0:n.options):null==(r=h.preventOverflow)?void 0:r.options}),offset:{options:e({offset:u},null==(o=h.offset)?void 0:o.options)},arrow:e({},h.arrow,{enabled:!!p,options:e({},null==(a=h.arrow)?void 0:a.options,{element:p})}),flip:e({enabled:!!c},h.flip)}))})}var Nr=function(){};function Cr(t){void 0===t&&(t={});var n=(0,i.useContext)(tn),r=nn(),o=r[0],a=r[1],s=(0,i.useRef)(!1),l=t,c=l.flip,u=l.offset,d=l.rootCloseEvent,f=l.fixed,p=void 0!==f&&f,m=l.popperConfig,v=void 0===m?{}:m,h=l.usePopper,b=void 0===h?!!n:h,g=null==(null==n?void 0:n.show)?!!t.show:n.show,y=null==(null==n?void 0:n.alignEnd)?t.alignEnd:n.alignEnd;g&&!s.current&&(s.current=!0);var x=n||{},E=x.drop,w=x.setMenu,N=x.menuElement,C=x.toggleElement,P=y?"bottom-end":"bottom-start";"up"===E?P=y?"top-end":"top-start":"right"===E?P=y?"right-end":"right-start":"left"===E&&(P=y?"left-end":"left-start");var O=pr(C,N,wr({placement:P,enabled:!(!b||!g),enableEvents:g,offset:u,flip:c,fixed:p,arrowElement:o,popperConfig:v})),k=e({ref:w||Nr,"aria-labelledby":null==C?void 0:C.id},O.attributes.popper,{style:O.styles.popper}),R={show:g,alignEnd:y,hasShown:s.current,toggle:null==n?void 0:n.toggle,popper:b?O:null,arrowProps:b?e({ref:a},O.attributes.arrow,{style:O.styles.arrow}):{}};return xr(N,(function(e){null==n||n.toggle(!1,e)}),{clickTrigger:d,disabled:!g}),[k,R]}var Pr={children:F().func.isRequired,show:F().bool,alignEnd:F().bool,flip:F().bool,usePopper:F().oneOf([!0,!1]),popperConfig:F().object,rootCloseEvent:F().string};function Or(e){var n=e.children,r=Cr(t(e,["children"])),o=r[0],a=r[1];return s().createElement(s().Fragment,null,a.hasShown?n(o,a):null)}Or.displayName="ReactOverlaysDropdownMenu",Or.propTypes=Pr,Or.defaultProps={usePopper:!0};const kr=Or;var Rr=function(){};function Tr(){var e=(0,i.useContext)(tn)||{},t=e.show,n=void 0!==t&&t,r=e.toggle,o=void 0===r?Rr:r,a=e.setToggle,s=(0,i.useCallback)((function(e){o(!n,e)}),[n,o]);return[{ref:a||Rr,onClick:s,"aria-haspopup":!0,"aria-expanded":!!n},{show:n,toggle:o}]}var Sr={children:F().func.isRequired};function Ir(e){var t=e.children,n=Tr(),r=n[0],o=n[1];return s().createElement(s().Fragment,null,t(r,o))}Ir.displayName="ReactOverlaysDropdownToggle",Ir.propTypes=Sr;const Mr=Ir;var Dr={children:F().node,drop:F().oneOf(["up","left","right","down"]),focusFirstItemOnShow:F().oneOf([!1,!0,"keyboard"]),itemSelector:F().string,alignEnd:F().bool,show:F().bool,defaultShow:F().bool,onToggle:F().func};function Fr(){var e=en(),t=(0,i.useRef)(null),n=(0,i.useCallback)((function(n){t.current=n,e()}),[e]);return[t,n]}function Ar(e){var t=e.drop,n=e.alignEnd,r=e.defaultShow,o=e.show,a=e.onToggle,l=e.itemSelector,c=void 0===l?"* > *":l,u=e.focusFirstItemOnShow,d=e.children,p=f(o,r,a),m=p[0],v=p[1],h=Fr(),b=h[0],g=h[1],y=b.current,x=Fr(),E=x[0],w=x[1],N=E.current,C=Qt(m),P=(0,i.useRef)(null),O=(0,i.useRef)(!1),k=(0,i.useCallback)((function(e,t){v(e,t)}),[v]),R=(0,i.useMemo)((function(){return{toggle:k,drop:t,show:m,alignEnd:n,menuElement:y,toggleElement:N,setMenu:g,setToggle:w}}),[k,t,m,n,y,N,g,w]);y&&C&&!m&&(O.current=y.contains(document.activeElement));var T=ye((function(){N&&N.focus&&N.focus()})),S=ye((function(){var e=P.current,t=u;if(null==t&&(t=!(!b.current||!function(e,t){if(!Yt){var n=document.body,r=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;Yt=function(e,t){return r.call(e,t)}}return Yt(e,"[role=menu]")}(b.current))&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=Zt(b.current,c)[0];n&&n.focus&&n.focus()}}));(0,i.useEffect)((function(){m?S():O.current&&(O.current=!1,T())}),[m,O,T,S]),(0,i.useEffect)((function(){P.current=null}));var I,M,D,F=function(e,t){if(!b.current)return null;var n=Zt(b.current,c),r=n.indexOf(e)+t;return n[r=Math.max(0,Math.min(r,n.length))]};return I="keydown",M=function(e){var t,n,r=e.key,o=e.target,a=null==(t=b.current)?void 0:t.contains(o),i=null==(n=E.current)?void 0:n.contains(o);if((!/input|textarea/i.test(o.tagName)||!(" "===r||"Escape"!==r&&a))&&(a||i))switch(P.current=e.type,r){case"ArrowUp":var s=F(o,-1);return s&&s.focus&&s.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),m){var l=F(o,1);l&&l.focus&&l.focus()}else v(!0,e);return;case"Tab":Y(document,"keyup",(function(t){("Tab"!==t.key||t.target)&&b.current.contains(t.target)||v(!1,e)}),{once:!0});break;case"Escape":e.preventDefault(),e.stopPropagation(),v(!1,e)}},void 0===D&&(D=!1),function(e,t,n,r){void 0===r&&(r=!1);var o=ye(n);(0,i.useEffect)((function(){var n="function"==typeof e?e():e;return n.addEventListener(t,o,r),function(){return n.removeEventListener(t,o,r)}}),[e])}((0,i.useCallback)((function(){return document}),[]),I,M,D),s().createElement(tn.Provider,{value:R},d)}Ar.displayName="ReactOverlaysDropdown",Ar.propTypes=Dr,Ar.Menu=kr,Ar.Toggle=Mr;const Lr=Ar;var Br=s().createContext(null);Br.displayName="NavContext";const jr=Br;var Kr=["bsPrefix","className","children","eventKey","disabled","href","onClick","onSelect","active","as"],Hr={as:Le,disabled:!1},_r=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.children,u=n.eventKey,d=n.disabled,f=n.href,p=n.onClick,m=n.onSelect,v=n.active,b=n.as,x=t(n,Kr),E=h(a,"dropdown-item"),w=(0,i.useContext)(y),N=((0,i.useContext)(jr)||{}).activeKey,C=g(u,f),P=null==v&&null!=C?g(N)===C:v,O=ye((function(e){d||(p&&p(e),w&&w(C,e),m&&m(C,e))}));return s().createElement(b,e({},x,{ref:o,href:f,disabled:d,className:r()(l,E,P&&"active",d&&"disabled"),onClick:O}),c)}));_r.displayName="DropdownItem",_r.defaultProps=Hr;const zr=_r;var Vr=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};const qr=function(e,t){return(0,i.useMemo)((function(){return function(e,t){var n=Vr(e),r=Vr(t);return function(e){n&&n(e),r&&r(e)}}(e,t)}),[e,t])};var Ur=s().createContext(null);Ur.displayName="NavbarContext";const Wr=Ur;function Gr(e,t){return e}function Xr(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}function $r(e){var t=window.getComputedStyle(e);return{top:parseFloat(t.marginTop)||0,right:parseFloat(t.marginRight)||0,bottom:parseFloat(t.marginBottom)||0,left:parseFloat(t.marginLeft)||0}}function Yr(){var e=(0,i.useRef)(null),t=(0,i.useRef)(null),n=(0,i.useRef)(null),r=h(void 0,"popover"),o=h(void 0,"dropdown-menu");return[(0,i.useCallback)((function(n){n&&(Xr(n,r)||Xr(n,o))&&(t.current=$r(n),n.style.margin="0",e.current=n)}),[r,o]),[(0,i.useMemo)((function(){return{name:"offset",options:{offset:function(e){var n=e.placement;if(!t.current)return[0,0];var r=t.current,o=r.top,a=r.left,i=r.bottom,s=r.right;switch(n.split("-")[0]){case"top":return[0,i];case"left":return[0,s];case"bottom":return[0,o];case"right":return[0,a];default:return[0,0]}}}}}),[t]),(0,i.useMemo)((function(){return{name:"arrow",options:{padding:function(){if(!n.current)return 0;var e=n.current,t=e.top,r=e.right,o=t||r;return{top:o,left:o,right:o,bottom:o}}}}}),[n]),(0,i.useMemo)((function(){return{name:"popoverArrowMargins",enabled:!0,phase:"main",requiresIfExists:["arrow"],effect:function(t){var o=t.state;if(e.current&&o.elements.arrow&&Xr(e.current,r)){if(o.modifiersData["arrow#persistent"]){var a=$r(o.elements.arrow),i=a.top,s=a.right,l=i||s;o.modifiersData["arrow#persistent"].padding={top:l,left:l,right:l,bottom:l}}else n.current=$r(o.elements.arrow);return o.elements.arrow.style.margin="0",function(){o.elements.arrow&&(o.elements.arrow.style.margin="")}}}}}),[r])]]}var Jr=["bsPrefix","className","align","alignRight","rootCloseEvent","flip","show","renderOnMount","as","popperConfig"],Zr=F().oneOf(["left","right"]),Qr=F().oneOfType([Zr,F().shape({sm:Zr}),F().shape({md:Zr}),F().shape({lg:Zr}),F().shape({xl:Zr})]),eo=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.align,u=n.alignRight,d=n.rootCloseEvent,f=n.flip,p=n.show,m=n.renderOnMount,v=n.as,b=void 0===v?"div":v,g=n.popperConfig,y=t(n,Jr),x=(0,i.useContext)(Wr),E=h(a,"dropdown-menu"),w=Yr(),N=w[0],C=w[1],P=[];if(c)if("object"==typeof c){var O=Object.keys(c);if(O.length){var k=O[0],R=c[k];u="left"===R,P.push(E+"-"+k+"-"+R)}}else"right"===c&&(u=!0);var T=Cr({flip:f,rootCloseEvent:d,show:p,alignEnd:u,usePopper:!x&&0===P.length,popperConfig:e({},g,{modifiers:C.concat((null==g?void 0:g.modifiers)||[])})}),S=T[0],I=T[1],M=I.hasShown,D=I.popper,F=I.show,A=I.alignEnd,L=I.toggle;if(S.ref=qr(N,qr(Gr(o),S.ref)),!M&&!m)return null;"string"!=typeof b&&(S.show=F,S.close=function(){return null==L?void 0:L(!1)},S.alignRight=A);var B=y.style;return null!=D&&D.placement&&(B=e({},y.style,S.style),y["x-placement"]=D.placement),s().createElement(b,e({},y,S,{style:B,className:r().apply(void 0,[l,E,F&&"show",A&&E+"-right"].concat(P))}))}));eo.displayName="DropdownMenu",eo.defaultProps={align:"left",alignRight:!1,flip:!0};const to=eo;o(422);var no=["bsPrefix","split","className","childBsPrefix","as"],ro=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.split,l=n.className,c=n.childBsPrefix,u=n.as,d=void 0===u?tt:u,f=t(n,no),p=h(a,"dropdown-toggle");void 0!==c&&(f.bsPrefix=c);var m=Tr()[0];return m.ref=qr(m.ref,Gr(o)),s().createElement(d,e({className:r()(l,p,i&&p+"-split")},m,f))}));ro.displayName="DropdownToggle";const oo=ro;var ao=["bsPrefix","drop","show","className","alignRight","onSelect","onToggle","focusFirstItemOnShow","as","navbar"],io=Me("dropdown-header",{defaultProps:{role:"heading"}}),so=Me("dropdown-divider",{defaultProps:{role:"separator"}}),lo=Me("dropdown-item-text",{Component:"span"}),co=s().forwardRef((function(n,o){var a=p(n,{show:"onToggle"}),l=a.bsPrefix,c=a.drop,u=a.show,d=a.className,f=a.alignRight,m=a.onSelect,v=a.onToggle,b=a.focusFirstItemOnShow,g=a.as,x=void 0===g?"div":g,E=(a.navbar,t(a,ao)),w=(0,i.useContext)(y),N=h(l,"dropdown"),C=ye((function(e,t,n){void 0===n&&(n=t.type),t.currentTarget!==document||"keydown"===n&&"Escape"!==t.key||(n="rootClose"),v&&v(e,t,{source:n})})),P=ye((function(e,t){w&&w(e,t),m&&m(e,t),C(!1,t,"select")}));return s().createElement(y.Provider,{value:P},s().createElement(Lr,{drop:c,show:u,alignEnd:f,onToggle:C,focusFirstItemOnShow:b,itemSelector:"."+N+"-item:not(.disabled):not(:disabled)"},s().createElement(x,e({},E,{ref:o,className:r()(d,u&&"show",(!c||"down"===c)&&N,"up"===c&&"dropup","right"===c&&"dropright","left"===c&&"dropleft")}))))}));co.displayName="Dropdown",co.defaultProps={navbar:!1},co.Divider=so,co.Header=io,co.Item=zr,co.ItemText=lo,co.Menu=to,co.Toggle=oo;const uo=co;var fo=["title","children","bsPrefix","rootCloseEvent","variant","size","menuAlign","menuRole","renderMenuOnMount","disabled","href","id"],po={id:F().any,href:F().string,onClick:F().func,title:F().node.isRequired,disabled:F().bool,menuAlign:Qr,menuRole:F().string,renderMenuOnMount:F().bool,rootCloseEvent:F().string,bsPrefix:F().string,variant:F().string,size:F().string},mo=s().forwardRef((function(n,r){var o=n.title,a=n.children,i=n.bsPrefix,l=n.rootCloseEvent,c=n.variant,u=n.size,d=n.menuAlign,f=n.menuRole,p=n.renderMenuOnMount,m=n.disabled,v=n.href,h=n.id,b=t(n,fo);return s().createElement(uo,e({ref:r},b),s().createElement(oo,{id:h,href:v,size:u,variant:c,disabled:m,childBsPrefix:i},o),s().createElement(to,{align:d,role:f,renderOnMount:p,rootCloseEvent:l},a))}));mo.displayName="DropdownButton",mo.propTypes=po;const vo=mo;o(946);var ho=["as","className","type","tooltip"],bo={type:F().string,tooltip:F().bool,as:F().elementType},go=s().forwardRef((function(n,o){var a=n.as,i=void 0===a?"div":a,l=n.className,c=n.type,u=void 0===c?"valid":c,d=n.tooltip,f=void 0!==d&&d,p=t(n,ho);return s().createElement(i,e({},p,{ref:o,className:r()(l,u+"-"+(f?"tooltip":"feedback"))}))}));go.displayName="Feedback",go.propTypes=bo;const yo=go,xo=s().createContext({controlId:void 0});var Eo=["id","bsPrefix","bsCustomPrefix","className","type","isValid","isInvalid","isStatic","as"],wo=s().forwardRef((function(n,o){var a=n.id,l=n.bsPrefix,c=n.bsCustomPrefix,u=n.className,d=n.type,f=void 0===d?"checkbox":d,p=n.isValid,m=void 0!==p&&p,v=n.isInvalid,b=void 0!==v&&v,g=n.isStatic,y=n.as,x=void 0===y?"input":y,E=t(n,Eo),w=(0,i.useContext)(xo),N=w.controlId,C=w.custom?[c,"custom-control-input"]:[l,"form-check-input"];return l=h(C[0],C[1]),s().createElement(x,e({},E,{ref:o,type:f,id:a||N,className:r()(u,l,m&&"is-valid",b&&"is-invalid",g&&"position-static")}))}));wo.displayName="FormCheckInput";const No=wo;var Co=["bsPrefix","bsCustomPrefix","className","htmlFor"],Po=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.bsCustomPrefix,c=n.className,u=n.htmlFor,d=t(n,Co),f=(0,i.useContext)(xo),p=f.controlId,m=f.custom?[l,"custom-control-label"]:[a,"form-check-label"];return a=h(m[0],m[1]),s().createElement("label",e({},d,{ref:o,htmlFor:u||p,className:r()(c,a)}))}));Po.displayName="FormCheckLabel";const Oo=Po;var ko=["id","bsPrefix","bsCustomPrefix","inline","disabled","isValid","isInvalid","feedbackTooltip","feedback","className","style","title","type","label","children","custom","as"],Ro=s().forwardRef((function(n,o){var a=n.id,l=n.bsPrefix,c=n.bsCustomPrefix,u=n.inline,d=void 0!==u&&u,f=n.disabled,p=void 0!==f&&f,m=n.isValid,v=void 0!==m&&m,b=n.isInvalid,g=void 0!==b&&b,y=n.feedbackTooltip,x=void 0!==y&&y,E=n.feedback,w=n.className,N=n.style,C=n.title,P=void 0===C?"":C,O=n.type,k=void 0===O?"checkbox":O,R=n.label,T=n.children,S=n.custom,I=n.as,M=void 0===I?"input":I,D=t(n,ko),F="switch"===k||S,A=F?[c,"custom-control"]:[l,"form-check"];l=h(A[0],A[1]);var L=(0,i.useContext)(xo).controlId,B=(0,i.useMemo)((function(){return{controlId:a||L,custom:F}}),[L,F,a]),j=F||null!=R&&!1!==R&&!T,K=s().createElement(No,e({},D,{type:"switch"===k?"checkbox":k,ref:o,isValid:v,isInvalid:g,isStatic:!j,disabled:p,as:M}));return s().createElement(xo.Provider,{value:B},s().createElement("div",{style:N,className:r()(w,l,F&&"custom-"+k,d&&l+"-inline")},T||s().createElement(s().Fragment,null,K,j&&s().createElement(Oo,{title:P},R),(v||g)&&s().createElement(yo,{type:v?"valid":"invalid",tooltip:x},E))))}));Ro.displayName="FormCheck",Ro.Input=No,Ro.Label=Oo;const To=Ro;var So=["id","bsPrefix","bsCustomPrefix","className","isValid","isInvalid","lang","as"],Io=s().forwardRef((function(n,o){var a=n.id,l=n.bsPrefix,c=n.bsCustomPrefix,u=n.className,d=n.isValid,f=n.isInvalid,p=n.lang,m=n.as,v=void 0===m?"input":m,b=t(n,So),g=(0,i.useContext)(xo),y=g.controlId,x=g.custom?[c,"custom-file-input"]:[l,"form-control-file"];return l=h(x[0],x[1]),s().createElement(v,e({},b,{ref:o,id:a||y,type:"file",lang:p,className:r()(u,l,d&&"is-valid",f&&"is-invalid")}))}));Io.displayName="FormFileInput";const Mo=Io;var Do=["bsPrefix","bsCustomPrefix","className","htmlFor"],Fo=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.bsCustomPrefix,c=n.className,u=n.htmlFor,d=t(n,Do),f=(0,i.useContext)(xo),p=f.controlId,m=f.custom?[l,"custom-file-label"]:[a,"form-file-label"];return a=h(m[0],m[1]),s().createElement("label",e({},d,{ref:o,htmlFor:u||p,className:r()(c,a),"data-browse":d["data-browse"]}))}));Fo.displayName="FormFileLabel";const Ao=Fo;var Lo=["id","bsPrefix","bsCustomPrefix","disabled","isValid","isInvalid","feedbackTooltip","feedback","className","style","label","children","custom","lang","data-browse","as","inputAs"],Bo=s().forwardRef((function(n,o){var a=n.id,l=n.bsPrefix,c=n.bsCustomPrefix,u=n.disabled,d=void 0!==u&&u,f=n.isValid,p=void 0!==f&&f,m=n.isInvalid,v=void 0!==m&&m,b=n.feedbackTooltip,g=void 0!==b&&b,y=n.feedback,x=n.className,E=n.style,w=n.label,N=n.children,C=n.custom,P=n.lang,O=n["data-browse"],k=n.as,R=void 0===k?"div":k,T=n.inputAs,S=void 0===T?"input":T,I=t(n,Lo),M=C?[c,"custom"]:[l,"form-file"];l=h(M[0],M[1]);var D=(0,i.useContext)(xo).controlId,F=(0,i.useMemo)((function(){return{controlId:a||D,custom:C}}),[D,C,a]),A=null!=w&&!1!==w&&!N,L=s().createElement(Mo,e({},I,{ref:o,isValid:p,isInvalid:v,disabled:d,as:S,lang:P}));return s().createElement(xo.Provider,{value:F},s().createElement(R,{style:E,className:r()(x,l,C&&"custom-file")},N||s().createElement(s().Fragment,null,C?s().createElement(s().Fragment,null,L,A&&s().createElement(Ao,{"data-browse":O},w)):s().createElement(s().Fragment,null,A&&s().createElement(Ao,null,w),L),(p||v)&&s().createElement(yo,{type:p?"valid":"invalid",tooltip:g},y))))}));Bo.displayName="FormFile",Bo.Input=Mo,Bo.Label=Ao;const jo=Bo;var Ko=["bsPrefix","bsCustomPrefix","type","size","htmlSize","id","className","isValid","isInvalid","plaintext","readOnly","custom","as"],Ho=s().forwardRef((function(n,o){var a,l,c=n.bsPrefix,u=n.bsCustomPrefix,d=n.type,f=n.size,p=n.htmlSize,m=n.id,v=n.className,b=n.isValid,g=void 0!==b&&b,y=n.isInvalid,x=void 0!==y&&y,E=n.plaintext,w=n.readOnly,N=n.custom,C=n.as,P=void 0===C?"input":C,O=t(n,Ko),k=(0,i.useContext)(xo).controlId,R=N?[u,"custom"]:[c,"form-control"];if(c=h(R[0],R[1]),E)(l={})[c+"-plaintext"]=!0,a=l;else if("file"===d){var T;(T={})[c+"-file"]=!0,a=T}else if("range"===d){var S;(S={})[c+"-range"]=!0,a=S}else if("select"===P&&N){var I;(I={})[c+"-select"]=!0,I[c+"-select-"+f]=f,a=I}else{var M;(M={})[c]=!0,M[c+"-"+f]=f,a=M}return s().createElement(P,e({},O,{type:d,size:p,ref:o,readOnly:w,id:m||k,className:r()(v,a,g&&"is-valid",x&&"is-invalid")}))}));Ho.displayName="FormControl";const _o=Object.assign(Ho,{Feedback:yo});var zo=["bsPrefix","className","children","controlId","as"],Vo=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.children,u=n.controlId,d=n.as,f=void 0===d?"div":d,p=t(n,zo);a=h(a,"form-group");var m=(0,i.useMemo)((function(){return{controlId:u}}),[u]);return s().createElement(xo.Provider,{value:m},s().createElement(f,e({},p,{ref:o,className:r()(l,a)}),c))}));Vo.displayName="FormGroup";const qo=Vo;var Uo=["as","bsPrefix","column","srOnly","className","htmlFor"],Wo=s().forwardRef((function(n,o){var a=n.as,l=void 0===a?"label":a,c=n.bsPrefix,u=n.column,d=n.srOnly,f=n.className,p=n.htmlFor,m=t(n,Uo),v=(0,i.useContext)(xo).controlId;c=h(c,"form-label");var b="col-form-label";"string"==typeof u&&(b=b+" "+b+"-"+u);var g=r()(f,c,d&&"sr-only",u&&b);return p=p||v,u?s().createElement($t,e({ref:o,as:"label",className:g,htmlFor:p},m)):s().createElement(l,e({ref:o,className:g,htmlFor:p},m))}));Wo.displayName="FormLabel",Wo.defaultProps={column:!1,srOnly:!1};const Go=Wo;var Xo=["bsPrefix","className","as","muted"],$o=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.as,c=void 0===l?"small":l,u=n.muted,d=t(n,Xo);return a=h(a,"form-text"),s().createElement(c,e({},d,{ref:o,className:r()(i,a,u&&"text-muted")}))}));$o.displayName="FormText";const Yo=$o;var Jo=s().forwardRef((function(t,n){return s().createElement(To,e({},t,{ref:n,type:"switch"}))}));Jo.displayName="Switch",Jo.Input=To.Input,Jo.Label=To.Label;const Zo=Jo;var Qo=["bsPrefix","inline","className","validated","as"],ea=Me("form-row"),ta=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.inline,l=n.className,c=n.validated,u=n.as,d=void 0===u?"form":u,f=t(n,Qo);return a=h(a,"form"),s().createElement(d,e({},f,{ref:o,className:r()(l,c&&"was-validated",i&&a+"-inline")}))}));ta.displayName="Form",ta.defaultProps={inline:!1},ta.Row=ea,ta.Group=qo,ta.Control=_o,ta.Check=To,ta.File=jo,ta.Switch=Zo,ta.Label=Go,ta.Text=Yo;const na=ta;var ra=["bsPrefix","fluid","as","className"],oa=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.fluid,l=n.as,c=void 0===l?"div":l,u=n.className,d=t(n,ra),f=h(a,"container"),p="string"==typeof i?"-"+i:"-fluid";return s().createElement(c,e({ref:o},d,{className:r()(u,i?""+f+p:f)}))}));oa.displayName="Container",oa.defaultProps={fluid:!1};const aa=oa;var ia=["bsPrefix","className","fluid","rounded","roundedCircle","thumbnail"],sa={bsPrefix:F().string,fluid:F().bool,rounded:F().bool,roundedCircle:F().bool,thumbnail:F().bool},la=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.fluid,c=n.rounded,u=n.roundedCircle,d=n.thumbnail,f=t(n,ia);a=h(a,"img");var p=r()(l&&a+"-fluid",c&&"rounded",u&&"rounded-circle",d&&a+"-thumbnail");return s().createElement("img",e({ref:o},f,{className:r()(i,p)}))}));la.displayName="Image",la.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};const ca=la;var ua=["className"],da=s().forwardRef((function(n,o){var a=n.className,i=t(n,ua);return s().createElement(ca,e({ref:o},i,{className:r()(a,"figure-img")}))}));da.displayName="FigureImage",da.propTypes=sa,da.defaultProps={fluid:!0};const fa=da,pa=Me("figure-caption",{Component:"figcaption"});var ma=Me("figure",{Component:"figure"});ma.Image=fa,ma.Caption=pa;const va=ma;var ha=["bsPrefix","size","hasValidation","className","as"],ba=Me("input-group-append"),ga=Me("input-group-prepend"),ya=Me("input-group-text",{Component:"span"}),xa=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.size,l=n.hasValidation,c=n.className,u=n.as,d=void 0===u?"div":u,f=t(n,ha);return a=h(a,"input-group"),s().createElement(d,e({ref:o},f,{className:r()(c,a,i&&a+"-"+i,l&&"has-validation")}))}));xa.displayName="InputGroup";const Ea=e({},xa,{Text:ya,Radio:function(t){return s().createElement(ya,null,s().createElement("input",e({type:"radio"},t)))},Checkbox:function(t){return s().createElement(ya,null,s().createElement("input",e({type:"checkbox"},t)))},Append:ba,Prepend:ga});var wa=["as","className","fluid","bsPrefix"],Na=s().forwardRef((function(n,o){var a,i=n.as,l=void 0===i?"div":i,c=n.className,u=n.fluid,d=n.bsPrefix,f=t(n,wa),p=((a={})[d=h(d,"jumbotron")]=!0,a[d+"-fluid"]=u,a);return s().createElement(l,e({ref:o},f,{className:r()(c,p)}))}));Na.defaultProps={fluid:!1},Na.displayName="Jumbotron";const Ca=Na,Pa=s().createContext(null);var Oa=["as","onSelect","activeKey","role","onKeyDown"],ka=function(){};const Ra=s().forwardRef((function(n,r){var o,a,l=n.as,c=void 0===l?"ul":l,u=n.onSelect,d=n.activeKey,f=n.role,p=n.onKeyDown,m=t(n,Oa),v=en(),h=(0,i.useRef)(!1),b=(0,i.useContext)(y),x=(0,i.useContext)(Pa);x&&(f=f||"tablist",d=x.activeKey,o=x.getControlledId,a=x.getControllerId);var E=(0,i.useRef)(null),w=function(e){var t=E.current;if(!t)return null;var n=Zt(t,"[data-rb-event-key]:not(.disabled)"),r=t.querySelector(".active");if(!r)return null;var o=n.indexOf(r);if(-1===o)return null;var a=o+e;return a>=n.length&&(a=0),a<0&&(a=n.length-1),n[a]},N=function(e,t){null!=e&&(u&&u(e,t),b&&b(e,t))};(0,i.useEffect)((function(){if(E.current&&h.current){var e=E.current.querySelector("[data-rb-event-key].active");e&&e.focus()}h.current=!1}));var C=qr(r,E);return s().createElement(y.Provider,{value:N},s().createElement(jr.Provider,{value:{role:f,activeKey:g(d),getControlledId:o||ka,getControllerId:a||ka}},s().createElement(c,e({},m,{onKeyDown:function(e){var t;switch(p&&p(e),e.key){case"ArrowLeft":case"ArrowUp":t=w(-1);break;case"ArrowRight":case"ArrowDown":t=w(1);break;default:return}t&&(e.preventDefault(),N(t.dataset.rbEventKey,e),h.current=!0,v())},ref:C,role:f}))))}));var Ta=["active","className","eventKey","onSelect","onClick","as"],Sa=s().forwardRef((function(n,o){var a=n.active,l=n.className,c=n.eventKey,u=n.onSelect,d=n.onClick,f=n.as,p=t(n,Ta),m=g(c,p.href),v=(0,i.useContext)(y),h=(0,i.useContext)(jr),b=a;if(h){p.role||"tablist"!==h.role||(p.role="tab");var x=h.getControllerId(m),E=h.getControlledId(m);p["data-rb-event-key"]=m,p.id=x||p.id,p["aria-controls"]=E||p["aria-controls"],b=null==a&&null!=m?h.activeKey===m:a}"tab"===p.role&&(p.disabled&&(p.tabIndex=-1,p["aria-disabled"]=!0),p["aria-selected"]=b);var w=ye((function(e){d&&d(e),null!=m&&(u&&u(m,e),v&&v(m,e))}));return s().createElement(f,e({},p,{ref:o,onClick:w,className:r()(l,b&&"active")}))}));Sa.defaultProps={disabled:!1};const Ia=Sa;var Ma=["bsPrefix","active","disabled","className","variant","action","as","onClick"],Da=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.active,c=n.disabled,u=n.className,d=n.variant,f=n.action,p=n.as,m=n.onClick,v=t(n,Ma);a=h(a,"list-group-item");var b=(0,i.useCallback)((function(e){if(c)return e.preventDefault(),void e.stopPropagation();m&&m(e)}),[c,m]);return c&&void 0===v.tabIndex&&(v.tabIndex=-1,v["aria-disabled"]=!0),s().createElement(Ia,e({ref:o},v,{as:p||(f?v.href?"a":"button":"div"),onClick:b,className:r()(u,a,l&&"active",c&&"disabled",d&&a+"-"+d,f&&a+"-action")}))}));Da.defaultProps={variant:void 0,active:!1,disabled:!1},Da.displayName="ListGroupItem";const Fa=Da;var Aa=["className","bsPrefix","variant","horizontal","as"],La=s().forwardRef((function(n,o){var a,i=p(n,{activeKey:"onSelect"}),l=i.className,c=i.bsPrefix,u=i.variant,d=i.horizontal,f=i.as,m=void 0===f?"div":f,v=t(i,Aa),b=h(c,"list-group");return a=d?!0===d?"horizontal":"horizontal-"+d:null,s().createElement(Ra,e({ref:o},v,{as:m,className:r()(l,b,u&&b+"-"+u,a&&b+"-"+a)}))}));La.defaultProps={variant:void 0,horizontal:void 0},La.displayName="ListGroup",La.Item=Fa;const Ba=La;var ja=["bsPrefix","className","as"],Ka=Me("media-body"),Ha=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.as,c=void 0===l?"div":l,u=t(n,ja),d=h(a,"media");return s().createElement(c,e({},u,{ref:o,className:r()(i,d)}))}));Ha.displayName="Media",Ha.Body=Ka;const _a=Ha;var za;function Va(e){if((!za&&0!==za||e)&&W){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),za=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return za}function qa(e){void 0===e&&(e=P());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(t){return e.body}}function Ua(e,t){e.classList?e.classList.add(t):Xr(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Wa(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Ga(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=Wa(e.className,t):e.setAttribute("class",Wa(e.className&&e.className.baseVal||"",t))}function Xa(e){return"window"in e&&e.window===e?e:"nodeType"in(t=e)&&t.nodeType===document.DOCUMENT_NODE&&e.defaultView||!1;var t}function $a(e){var t;return Xa(e)||(t=e)&&"body"===t.tagName.toLowerCase()?function(e){var t=Xa(e)?P():P(e),n=Xa(e)||t.defaultView;return t.body.clientWidth<n.innerWidth}(e):e.scrollHeight>e.clientHeight}var Ya=["template","script","style"],Ja=function(e,t,n){[].forEach.call(e.children,(function(e){var r,o,a;-1===t.indexOf(e)&&(o=(r=e).nodeType,a=r.tagName,1===o&&-1===Ya.indexOf(a.toLowerCase()))&&n(e)}))};function Za(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}const Qa=function(){function e(e){var t=void 0===e?{}:e,n=t.hideSiblingNodes,r=void 0===n||n,o=t.handleContainerOverflow,a=void 0===o||o;this.hideSiblingNodes=void 0,this.handleContainerOverflow=void 0,this.modals=void 0,this.containers=void 0,this.data=void 0,this.scrollbarSize=void 0,this.hideSiblingNodes=r,this.handleContainerOverflow=a,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=Va()}var t=e.prototype;return t.isContainerOverflowing=function(e){var t=this.data[this.containerIndexFromModal(e)];return t&&t.overflowing},t.containerIndexFromModal=function(e){return t=this.data,n=function(t){return-1!==t.modals.indexOf(e)},r=-1,t.some((function(e,t){return!!n(e)&&(r=t,!0)})),r;var t,n,r},t.setContainerStyle=function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt(S(t,"paddingRight")||"0",10)+this.scrollbarSize+"px"),S(t,n)},t.removeContainerStyle=function(e,t){Object.assign(t.style,e.style)},t.add=function(e,t,n){var r=this.modals.indexOf(e),o=this.containers.indexOf(t);if(-1!==r)return r;if(r=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&function(e,t){var n=t.dialog,r=t.backdrop;Ja(e,[n,r],(function(e){return Za(!0,e)}))}(t,e),-1!==o)return this.data[o].modals.push(e),r;var a={modals:[e],classes:n?n.split(/\s+/):[],overflowing:$a(t)};return this.handleContainerOverflow&&this.setContainerStyle(a,t),a.classes.forEach(Ua.bind(null,t)),this.containers.push(t),this.data.push(a),r},t.remove=function(e){var t=this.modals.indexOf(e);if(-1!==t){var n=this.containerIndexFromModal(e),r=this.data[n],o=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.classes.forEach(Ga.bind(null,o)),this.handleContainerOverflow&&this.removeContainerStyle(r,o),this.hideSiblingNodes&&function(e,t){var n=t.dialog,r=t.backdrop;Ja(e,[n,r],(function(e){return Za(!1,e)}))}(o,e),this.containers.splice(n,1),this.data.splice(n,1);else if(this.hideSiblingNodes){var a=r.modals[r.modals.length-1],i=a.backdrop;Za(!1,a.dialog),Za(!1,i)}}},t.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}();var ei,ti=function(e){var t;return"undefined"==typeof document?null:null==e?P().body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(t=e)&&t.nodeType&&e||null)};function ni(e,t){var n=(0,i.useState)((function(){return ti(e)})),r=n[0],o=n[1];if(!r){var a=ti(e);a&&o(a)}return(0,i.useEffect)((function(){t&&r&&t(r)}),[t,r]),(0,i.useEffect)((function(){var t=ti(e);t!==r&&o(t)}),[e,r]),r}var ri=(0,i.forwardRef)((function(n,r){var o=n.show,a=void 0!==o&&o,l=n.role,c=void 0===l?"dialog":l,u=n.className,d=n.style,f=n.children,p=n.backdrop,m=void 0===p||p,v=n.keyboard,h=void 0===v||v,b=n.onBackdropClick,g=n.onEscapeKeyDown,y=n.transition,x=n.backdropTransition,E=n.autoFocus,w=void 0===E||E,N=n.enforceFocus,C=void 0===N||N,P=n.restoreFocus,O=void 0===P||P,k=n.restoreFocusOptions,R=n.renderDialog,T=n.renderBackdrop,S=void 0===T?function(e){return s().createElement("div",e)}:T,I=n.manager,M=n.container,D=n.containerClassName,F=n.onShow,A=n.onHide,B=void 0===A?function(){}:A,j=n.onExit,K=n.onExited,H=n.onExiting,_=n.onEnter,z=n.onEntering,V=n.onEntered,q=t(n,["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","containerClassName","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"]),U=ni(M),G=function(e){var t=e||(ei||(ei=new Qa),ei),n=(0,i.useRef)({dialog:null,backdrop:null});return Object.assign(n.current,{add:function(e,r){return t.add(n.current,e,r)},remove:function(){return t.remove(n.current)},isTopModal:function(){return t.isTopModal(n.current)},setDialogRef:(0,i.useCallback)((function(e){n.current.dialog=e}),[]),setBackdropRef:(0,i.useCallback)((function(e){n.current.backdrop=e}),[])})}(I),X=Tt(),$=Qt(a),Y=(0,i.useState)(!a),J=Y[0],Q=Y[1],ee=(0,i.useRef)(null);(0,i.useImperativeHandle)(r,(function(){return G}),[G]),W&&!$&&a&&(ee.current=qa()),y||a||J?a&&J&&Q(!1):Q(!0);var te=ye((function(){if(G.add(U,D),se.current=Z(document,"keydown",ae),ie.current=Z(document,"focus",(function(){return setTimeout(re)}),!0),F&&F(),w){var e=qa(document);G.dialog&&e&&!mr(G.dialog,e)&&(ee.current=e,G.dialog.focus())}})),ne=ye((function(){var e;G.remove(),null==se.current||se.current(),null==ie.current||ie.current(),O&&(null==(e=ee.current)||null==e.focus||e.focus(k),ee.current=null)}));(0,i.useEffect)((function(){a&&U&&te()}),[a,U,te]),(0,i.useEffect)((function(){J&&ne()}),[J,ne]),St((function(){ne()}));var re=ye((function(){if(C&&X()&&G.isTopModal()){var e=qa();G.dialog&&e&&!mr(G.dialog,e)&&G.dialog.focus()}})),oe=ye((function(e){e.target===e.currentTarget&&(null==b||b(e),!0===m&&B())})),ae=ye((function(e){h&&27===e.keyCode&&G.isTopModal()&&(null==g||g(e),e.defaultPrevented||B())})),ie=(0,i.useRef)(),se=(0,i.useRef)(),le=y;if(!U||!(a||le&&!J))return null;var ce=e({role:c,ref:G.setDialogRef,"aria-modal":"dialog"===c||void 0},q,{style:d,className:u,tabIndex:-1}),ue=R?R(ce):s().createElement("div",ce,s().cloneElement(f,{role:"document"}));le&&(ue=s().createElement(le,{appear:!0,unmountOnExit:!0,in:!!a,onExit:j,onExiting:H,onExited:function(){Q(!0);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==K||K.apply(void 0,t)},onEnter:_,onEntering:z,onEntered:V},ue));var de=null;if(m){var fe=x;de=S({ref:G.setBackdropRef,onClick:oe}),fe&&(de=s().createElement(fe,{appear:!0,in:!!a},de))}return s().createElement(s().Fragment,null,L().createPortal(s().createElement(s().Fragment,null,de,ue),U))})),oi={show:F().bool,container:F().any,onShow:F().func,onHide:F().func,backdrop:F().oneOfType([F().bool,F().oneOf(["static"])]),renderDialog:F().func,renderBackdrop:F().func,onEscapeKeyDown:F().func,onBackdropClick:F().func,containerClassName:F().string,keyboard:F().bool,transition:F().elementType,backdropTransition:F().elementType,autoFocus:F().bool,enforceFocus:F().bool,restoreFocus:F().bool,restoreFocusOptions:F().shape({preventScroll:F().bool}),onEnter:F().func,onEntering:F().func,onEntered:F().func,onExit:F().func,onExiting:F().func,onExited:F().func,manager:F().instanceOf(Qa)};ri.displayName="Modal",ri.propTypes=oi;const ai=Object.assign(ri,{Manager:Qa});var ii=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",si=".sticky-top",li=".navbar-toggler",ci=function(e){function t(){return e.apply(this,arguments)||this}M(t,e);var n=t.prototype;return n.adjustAndStore=function(e,t,n){var r,o=t.style[e];t.dataset[e]=o,S(t,((r={})[e]=parseFloat(S(t,e))+n+"px",r))},n.restore=function(e,t){var n,r=t.dataset[e];void 0!==r&&(delete t.dataset[e],S(t,((n={})[e]=r,n)))},n.setContainerStyle=function(t,n){var r=this;if(e.prototype.setContainerStyle.call(this,t,n),t.overflowing){var o=Va();Zt(n,ii).forEach((function(e){return r.adjustAndStore("paddingRight",e,o)})),Zt(n,si).forEach((function(e){return r.adjustAndStore("marginRight",e,-o)})),Zt(n,li).forEach((function(e){return r.adjustAndStore("marginRight",e,o)}))}},n.removeContainerStyle=function(t,n){var r=this;e.prototype.removeContainerStyle.call(this,t,n),Zt(n,ii).forEach((function(e){return r.restore("paddingRight",e)})),Zt(n,si).forEach((function(e){return r.restore("marginRight",e)})),Zt(n,li).forEach((function(e){return r.restore("marginRight",e)}))},t}(Qa);const ui=Me("modal-body"),di=s().createContext({onHide:function(){}});var fi=["bsPrefix","className","contentClassName","centered","size","children","scrollable"],pi=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.contentClassName,c=n.centered,u=n.size,d=n.children,f=n.scrollable,p=t(n,fi),m=(a=h(a,"modal"))+"-dialog";return s().createElement("div",e({},p,{ref:o,className:r()(m,i,u&&a+"-"+u,c&&m+"-centered",f&&m+"-scrollable")}),s().createElement("div",{className:r()(a+"-content",l)},d))}));pi.displayName="ModalDialog";const mi=pi,vi=Me("modal-footer");var hi=["bsPrefix","closeLabel","closeButton","onHide","className","children"],bi=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.closeLabel,c=n.closeButton,u=n.onHide,d=n.className,f=n.children,p=t(n,hi);a=h(a,"modal-header");var m=(0,i.useContext)(di),v=ye((function(){m&&m.onHide(),u&&u()}));return s().createElement("div",e({ref:o},p,{className:r()(d,a)}),f,c&&s().createElement(Re,{label:l,onClick:v}))}));bi.displayName="ModalHeader",bi.defaultProps={closeLabel:"Close",closeButton:!1};const gi=bi,yi=Me("modal-title",{Component:Te("h4")});var xi,Ei=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],wi={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:mi};function Ni(t){return s().createElement(Ce,e({},t,{timeout:null}))}function Ci(t){return s().createElement(Ce,e({},t,{timeout:null}))}var Pi=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.style,u=n.dialogClassName,d=n.contentClassName,f=n.children,p=n.dialogAs,m=n["aria-labelledby"],v=n.show,b=n.animation,g=n.backdrop,y=n.keyboard,x=n.onEscapeKeyDown,E=n.onShow,w=n.onHide,N=n.container,C=n.autoFocus,O=n.enforceFocus,k=n.restoreFocus,R=n.restoreFocusOptions,T=n.onEntered,S=n.onExit,I=n.onExiting,M=n.onEnter,D=n.onEntering,F=n.onExited,A=n.backdropClassName,L=n.manager,B=t(n,Ei),j=(0,i.useState)({}),K=j[0],H=j[1],_=(0,i.useState)(!1),z=_[0],V=_[1],q=(0,i.useRef)(!1),U=(0,i.useRef)(!1),G=(0,i.useRef)(null),X=nn(),$=X[0],Z=X[1],ee=ye(w);a=h(a,"modal"),(0,i.useImperativeHandle)(o,(function(){return{get _modal(){return $}}}),[$]);var te=(0,i.useMemo)((function(){return{onHide:ee}}),[ee]);function ne(){return L||(xi||(xi=new ci),xi)}function re(e){if(W){var t=ne().isContainerOverflowing($),n=e.scrollHeight>P(e).documentElement.clientHeight;H({paddingRight:t&&!n?Va():void 0,paddingLeft:!t&&n?Va():void 0})}}var oe=ye((function(){$&&re($.dialog)}));St((function(){J(window,"resize",oe),G.current&&G.current()}));var ae=function(){q.current=!0},ie=function(e){q.current&&$&&e.target===$.dialog&&(U.current=!0),q.current=!1},se=function(){V(!0),G.current=Q($.dialog,(function(){V(!1)}))},le=function(e){"static"!==g?U.current||e.target!==e.currentTarget?U.current=!1:w():function(e){e.target===e.currentTarget&&se()}(e)},ce=(0,i.useCallback)((function(t){return s().createElement("div",e({},t,{className:r()(a+"-backdrop",A,!b&&"show")}))}),[b,A,a]),ue=e({},c,K);return b||(ue.display="block"),s().createElement(di.Provider,{value:te},s().createElement(ai,{show:v,ref:Z,backdrop:g,container:N,keyboard:!0,autoFocus:C,enforceFocus:O,restoreFocus:k,restoreFocusOptions:R,onEscapeKeyDown:function(e){y||"static"!==g?y&&x&&x(e):(e.preventDefault(),se())},onShow:E,onHide:w,onEnter:function(e){e&&(e.style.display="block",re(e));for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];M&&M.apply(void 0,[e].concat(n))},onEntering:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];D&&D.apply(void 0,[e].concat(n)),Y(window,"resize",oe)},onEntered:T,onExit:function(e){G.current&&G.current();for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];S&&S.apply(void 0,[e].concat(n))},onExiting:I,onExited:function(e){e&&(e.style.display="");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];F&&F.apply(void 0,n),J(window,"resize",oe)},manager:ne(),containerClassName:a+"-open",transition:b?Ni:void 0,backdropTransition:b?Ci:void 0,renderBackdrop:ce,renderDialog:function(t){return s().createElement("div",e({role:"dialog"},t,{style:ue,className:r()(l,a,z&&a+"-static"),onClick:g?le:void 0,onMouseUp:ie,"aria-labelledby":m}),s().createElement(p,e({},B,{onMouseDown:ae,className:u,contentClassName:d}),f))}}))}));Pi.displayName="Modal",Pi.defaultProps=wi,Pi.Body=ui,Pi.Header=gi,Pi.Title=yi,Pi.Footer=vi,Pi.Dialog=mi,Pi.TRANSITION_DURATION=300,Pi.BACKDROP_TRANSITION_DURATION=150;const Oi=Pi;var ki=["bsPrefix","className","children","as"],Ri=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.children,c=n.as,u=void 0===c?"div":c,d=t(n,ki);return a=h(a,"nav-item"),s().createElement(u,e({},d,{ref:o,className:r()(i,a)}),l)}));Ri.displayName="NavItem";const Ti=Ri;var Si=["bsPrefix","disabled","className","href","eventKey","onSelect","as"],Ii={disabled:!1,as:Le},Mi=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.disabled,l=n.className,c=n.href,u=n.eventKey,d=n.onSelect,f=n.as,p=t(n,Si);return a=h(a,"nav-link"),s().createElement(Ia,e({},p,{href:c,ref:o,eventKey:u,as:f,disabled:i,onSelect:d,className:r()(l,a,i&&"disabled")}))}));Mi.displayName="NavLink",Mi.defaultProps=Ii;const Di=Mi;var Fi=["as","bsPrefix","variant","fill","justify","navbar","navbarScroll","className","children","activeKey"],Ai=s().forwardRef((function(n,o){var a,l,c,u=p(n,{activeKey:"onSelect"}),d=u.as,f=void 0===d?"div":d,m=u.bsPrefix,v=u.variant,b=u.fill,g=u.justify,y=u.navbar,x=u.navbarScroll,E=u.className,w=u.children,N=u.activeKey,C=t(u,Fi),P=h(m,"nav"),O=!1,k=(0,i.useContext)(Wr),R=(0,i.useContext)(ct);return k?(l=k.bsPrefix,O=null==y||y):R&&(c=R.cardHeaderBsPrefix),s().createElement(Ra,e({as:f,ref:o,activeKey:N,className:r()(E,(a={},a[P]=!O,a[l+"-nav"]=O,a[l+"-nav-scroll"]=O&&x,a[c+"-"+v]=!!c,a[P+"-"+v]=!!v,a[P+"-fill"]=b,a[P+"-justified"]=g,a))},C),w)}));Ai.displayName="Nav",Ai.defaultProps={justify:!1,fill:!1},Ai.Item=Ti,Ai.Link=Di;const Li=Ai;var Bi=["bsPrefix","className","as"],ji=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.as,c=t(n,Bi);a=h(a,"navbar-brand");var u=l||(c.href?"a":"span");return s().createElement(u,e({},c,{ref:o,className:r()(i,a)}))}));ji.displayName="NavbarBrand";const Ki=ji;var Hi=["children","bsPrefix"],_i=s().forwardRef((function(n,r){var o=n.children,a=n.bsPrefix,i=t(n,Hi);return a=h(a,"navbar-collapse"),s().createElement(Wr.Consumer,null,(function(t){return s().createElement(de,e({in:!(!t||!t.expanded)},i),s().createElement("div",{ref:r,className:a},o))}))}));_i.displayName="NavbarCollapse";const zi=_i;var Vi=["bsPrefix","className","children","label","as","onClick"],qi=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.children,u=n.label,d=n.as,f=void 0===d?"button":d,p=n.onClick,m=t(n,Vi);a=h(a,"navbar-toggler");var v=(0,i.useContext)(Wr)||{},b=v.onToggle,g=v.expanded,y=ye((function(e){p&&p(e),b&&b()}));return"button"===f&&(m.type="button"),s().createElement(f,e({},m,{ref:o,onClick:y,"aria-label":u,className:r()(l,a,!g&&"collapsed")}),c||s().createElement("span",{className:a+"-icon"}))}));qi.displayName="NavbarToggle",qi.defaultProps={label:"Toggle navigation"};const Ui=qi;var Wi=["bsPrefix","expand","variant","bg","fixed","sticky","className","children","as","expanded","onToggle","onSelect","collapseOnSelect"],Gi=Me("navbar-text",{Component:"span"}),Xi=s().forwardRef((function(n,o){var a=p(n,{expanded:"onToggle"}),l=a.bsPrefix,c=a.expand,u=a.variant,d=a.bg,f=a.fixed,m=a.sticky,v=a.className,b=a.children,g=a.as,x=void 0===g?"nav":g,E=a.expanded,w=a.onToggle,N=a.onSelect,C=a.collapseOnSelect,P=t(a,Wi),O=h(l,"navbar"),k=(0,i.useCallback)((function(){N&&N.apply(void 0,arguments),C&&E&&w&&w(!1)}),[N,C,E,w]);void 0===P.role&&"nav"!==x&&(P.role="navigation");var R=O+"-expand";"string"==typeof c&&(R=R+"-"+c);var T=(0,i.useMemo)((function(){return{onToggle:function(){return w&&w(!E)},bsPrefix:O,expanded:!!E}}),[O,E,w]);return s().createElement(Wr.Provider,{value:T},s().createElement(y.Provider,{value:k},s().createElement(x,e({ref:o},P,{className:r()(v,O,c&&R,u&&O+"-"+u,d&&"bg-"+d,m&&"sticky-"+m,f&&"fixed-"+f)}),b)))}));Xi.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},Xi.displayName="Navbar",Xi.Brand=Ki,Xi.Toggle=Ui,Xi.Collapse=zi,Xi.Text=Gi;const $i=Xi;var Yi=["id","title","children","bsPrefix","className","rootCloseEvent","menuRole","disabled","active","renderMenuOnMount"],Ji=s().forwardRef((function(n,o){var a=n.id,i=n.title,l=n.children,c=n.bsPrefix,u=n.className,d=n.rootCloseEvent,f=n.menuRole,p=n.disabled,m=n.active,v=n.renderMenuOnMount,b=t(n,Yi),g=h(void 0,"nav-item");return s().createElement(uo,e({ref:o},b,{className:r()(u,g)}),s().createElement(uo.Toggle,{id:a,eventKey:null,active:m,disabled:p,childBsPrefix:c,as:Di},i),s().createElement(uo.Menu,{role:f,renderOnMount:v,rootCloseEvent:d},l))}));Ji.displayName="NavDropdown",Ji.Item=uo.Item,Ji.ItemText=uo.ItemText,Ji.Divider=uo.Divider,Ji.Header=uo.Header;const Zi=Ji;var Qi=s().forwardRef((function(n,r){var o=n.flip,a=n.offset,l=n.placement,c=n.containerPadding,u=void 0===c?5:c,d=n.popperConfig,f=void 0===d?{}:d,p=n.transition,m=nn(),v=m[0],h=m[1],b=nn(),g=b[0],y=b[1],x=qr(h,r),E=ni(n.container),w=ni(n.target),N=(0,i.useState)(!n.show),C=N[0],P=N[1],O=pr(w,v,wr({placement:l,enableEvents:!!n.show,containerPadding:u||5,flip:o,offset:a,arrowElement:g,popperConfig:f})),k=O.styles,R=O.attributes,T=t(O,["styles","attributes"]);n.show?C&&P(!1):n.transition||C||P(!0);var S=n.show||p&&!C;if(xr(v,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!S)return null;var I=n.children(e({},T,{show:!!n.show,props:e({},R.popper,{style:k.popper,ref:x}),arrowProps:e({},R.arrow,{style:k.arrow,ref:y})}));if(p){var M=n.onExit,D=n.onExiting,F=n.onEnter,A=n.onEntering,B=n.onEntered;I=s().createElement(p,{in:n.show,appear:!0,onExit:M,onExiting:D,onExited:function(){P(!0),n.onExited&&n.onExited.apply(n,arguments)},onEnter:F,onEntering:A,onEntered:B},I)}return E?L().createPortal(I,E):null}));Qi.displayName="Overlay",Qi.propTypes={show:F().bool,placement:F().oneOf(Bn),target:F().any,container:F().any,flip:F().bool,children:F().func.isRequired,containerPadding:F().number,popperConfig:F().object,rootClose:F().bool,rootCloseEvent:F().oneOf(["click","mousedown"]),rootCloseDisabled:F().bool,onHide:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;return e.rootClose?(o=F().func).isRequired.apply(o,[e].concat(n)):F().func.apply(F(),[e].concat(n))},transition:F().elementType,onEnter:F().func,onEntering:F().func,onEntered:F().func,onExit:F().func,onExiting:F().func,onExited:F().func};const es=Qi;var ts=["children","transition","popperConfig"],ns=["props","arrowProps","show","update","forceUpdate","placement","state"],rs={transition:Ce,rootClose:!1,show:!1,placement:"top"};function os(n){var o=n.children,a=n.transition,l=n.popperConfig,c=void 0===l?{}:l,u=t(n,ts),d=(0,i.useRef)({}),f=Yr(),p=f[0],m=f[1],v=!0===a?Ce:a||null;return s().createElement(es,e({},u,{ref:p,popperConfig:e({},c,{modifiers:m.concat(c.modifiers||[])}),transition:v}),(function(n){var i,l=n.props,c=n.arrowProps,u=n.show,f=n.update,p=(n.forceUpdate,n.placement),m=n.state,v=t(n,ns);!function(e,t){var n=e.ref,r=t.ref;e.ref=n.__wrapped||(n.__wrapped=function(e){return n(br(e))}),t.ref=r.__wrapped||(r.__wrapped=function(e){return r(br(e))})}(l,c);var h=Object.assign(d.current,{state:m,scheduleUpdate:f,placement:p,outOfBoundaries:(null==m||null==(i=m.modifiersData.hide)?void 0:i.isReferenceHidden)||!1});return"function"==typeof o?o(e({},v,l,{placement:p,show:u},!a&&u&&{className:"show"},{popper:h,arrowProps:c})):s().cloneElement(o,e({},v,l,{placement:p,arrowProps:c,popper:h,className:r()(o.props.className,!a&&u&&"show"),style:e({},o.props.style,l.style)}))}))}os.defaultProps=rs;const as=os;var is=["trigger","overlay","children","popperConfig","show","defaultShow","onToggle","delay","placement","flip"],ss=function(e){function t(){return e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return this.props.children},t}(s().Component);function ls(e,t,n){var r=t[0],o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];a&&a===o||mr(o,a)||e.apply(void 0,t)}function cs(n){var r=n.trigger,o=n.overlay,a=n.children,l=n.popperConfig,c=void 0===l?{}:l,u=n.show,d=n.defaultShow,p=void 0!==d&&d,m=n.onToggle,v=n.delay,h=n.placement,b=n.flip,g=void 0===b?h&&-1!==h.indexOf("auto"):b,y=t(n,is),x=(0,i.useRef)(null),E=Dt(),w=(0,i.useRef)(""),N=f(u,p,m),C=N[0],P=N[1],O=function(e){return e&&"object"==typeof e?e:{show:e,hide:e}}(v),k="function"!=typeof a?s().Children.only(a).props:{},R=k.onFocus,T=k.onBlur,S=k.onClick,I=(0,i.useCallback)((function(){return br(x.current)}),[]),M=(0,i.useCallback)((function(){E.clear(),w.current="show",O.show?E.set((function(){"show"===w.current&&P(!0)}),O.show):P(!0)}),[O.show,P,E]),D=(0,i.useCallback)((function(){E.clear(),w.current="hide",O.hide?E.set((function(){"hide"===w.current&&P(!1)}),O.hide):P(!1)}),[O.hide,P,E]),F=(0,i.useCallback)((function(){M();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==R||R.apply(void 0,t)}),[M,R]),A=(0,i.useCallback)((function(){D();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];null==T||T.apply(void 0,t)}),[D,T]),L=(0,i.useCallback)((function(){P(!C),S&&S.apply(void 0,arguments)}),[S,P,C]),B=(0,i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ls(M,t,"fromElement")}),[M]),j=(0,i.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ls(D,t,"toElement")}),[D]),K=null==r?[]:[].concat(r),H={};return-1!==K.indexOf("click")&&(H.onClick=L),-1!==K.indexOf("focus")&&(H.onFocus=F,H.onBlur=A),-1!==K.indexOf("hover")&&(H.onMouseOver=B,H.onMouseOut=j),s().createElement(s().Fragment,null,"function"==typeof a?a(e({},H,{ref:x})):s().createElement(ss,{ref:x},(0,i.cloneElement)(a,H)),s().createElement(as,e({},y,{show:C,onHide:D,flip:g,placement:h,popperConfig:c,target:I}),o))}cs.defaultProps={defaultShow:!1,trigger:["hover","focus"]};const us=cs;var ds=["active","disabled","className","style","activeLabel","children"],fs=["children"],ps=s().forwardRef((function(n,o){var a=n.active,i=n.disabled,l=n.className,c=n.style,u=n.activeLabel,d=n.children,f=t(n,ds),p=a||i?"span":Le;return s().createElement("li",{ref:o,style:c,className:r()(l,"page-item",{active:a,disabled:i})},s().createElement(p,e({className:"page-link",disabled:i},f),d,a&&u&&s().createElement("span",{className:"sr-only"},u)))}));ps.defaultProps={active:!1,disabled:!1,activeLabel:"(current)"},ps.displayName="PageItem";const ms=ps;function vs(e,n,r){function o(e){var o=e.children,a=t(e,fs);return s().createElement(ps,a,s().createElement("span",{"aria-hidden":"true"},o||n),s().createElement("span",{className:"sr-only"},r))}return void 0===r&&(r=e),o.displayName=e,o}var hs=vs("First","«"),bs=vs("Prev","","Previous"),gs=vs("Ellipsis","…","More"),ys=vs("Next",""),xs=vs("Last","»"),Es=["bsPrefix","className","children","size"],ws=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.children,c=n.size,u=t(n,Es),d=h(a,"pagination");return s().createElement("ul",e({ref:o},u,{className:r()(i,d,c&&d+"-"+c)}),l)}));ws.First=hs,ws.Prev=bs,ws.Ellipsis=gs,ws.Item=ms,ws.Next=ys,ws.Last=xs;const Ns=ws;var Cs=["as","bsPrefix","className","children"];const Ps=s().forwardRef((function(n,o){var a=n.as,i=void 0===a?"div":a,l=n.bsPrefix,c=n.className,u=n.children,d=t(n,Cs);return l=h(l,"popover-header"),s().createElement(i,e({ref:o},d,{className:r()(l,c)}),u)}));var Os=["as","bsPrefix","className","children"];const ks=s().forwardRef((function(n,o){var a=n.as,i=void 0===a?"div":a,l=n.bsPrefix,c=n.className,u=n.children,d=t(n,Os);return l=h(l,"popover-body"),s().createElement(i,e({ref:o},d,{className:r()(c,l)}),u)}));var Rs=["bsPrefix","placement","className","style","children","content","arrowProps","popper","show"],Ts=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.placement,l=n.className,c=n.style,u=n.children,d=n.content,f=n.arrowProps,p=(n.popper,n.show,t(n,Rs)),m=h(a,"popover"),v=((null==i?void 0:i.split("-"))||[])[0];return s().createElement("div",e({ref:o,role:"tooltip",style:c,"x-placement":v,className:r()(l,m,v&&"bs-popover-"+v)},p),s().createElement("div",e({className:"arrow"},f)),d?s().createElement(ks,null,u):u)}));Ts.defaultProps={placement:"right"},Ts.Title=Ps,Ts.Content=ks;const Ss=Ts;var Is=["min","now","max","label","srOnly","striped","animated","className","style","variant","bsPrefix"],Ms=["isChild"],Ds=["min","now","max","label","srOnly","striped","animated","bsPrefix","variant","className","children"];function Fs(e,t,n){var r=(e-t)/(n-t)*100;return Math.round(1e3*r)/1e3}function As(n,o){var a,i=n.min,l=n.now,c=n.max,u=n.label,d=n.srOnly,f=n.striped,p=n.animated,m=n.className,v=n.style,h=n.variant,b=n.bsPrefix,g=t(n,Is);return s().createElement("div",e({ref:o},g,{role:"progressbar",className:r()(m,b+"-bar",(a={},a["bg-"+h]=h,a[b+"-bar-animated"]=p,a[b+"-bar-striped"]=p||f,a)),style:e({width:Fs(l,i,c)+"%"},v),"aria-valuenow":l,"aria-valuemin":i,"aria-valuemax":c}),d?s().createElement("span",{className:"sr-only"},u):u)}var Ls=s().forwardRef((function(n,o){var a=n.isChild,l=t(n,Ms);if(l.bsPrefix=h(l.bsPrefix,"progress"),a)return As(l,o);var c=l.min,u=l.now,d=l.max,f=l.label,p=l.srOnly,m=l.striped,v=l.animated,b=l.bsPrefix,g=l.variant,y=l.className,x=l.children,E=t(l,Ds);return s().createElement("div",e({ref:o},E,{className:r()(y,b)}),x?jt(x,(function(e){return(0,i.cloneElement)(e,{isChild:!0})})):As({min:c,now:u,max:d,label:f,srOnly:p,striped:m,animated:v,bsPrefix:b,variant:g},o))}));Ls.displayName="ProgressBar",Ls.defaultProps={min:0,max:100,animated:!1,isChild:!1,srOnly:!1,striped:!1};const Bs=Ls;var js=["bsPrefix","className","children","aspectRatio"],Ks=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.children,c=n.aspectRatio,u=t(n,js),d=h(a,"embed-responsive"),f=s().Children.only(l);return s().createElement("div",e({ref:o},u,{className:r()(d,i,c&&d+"-"+c)}),s().cloneElement(f,{className:r()(f.props.className,d+"-item")}))}));Ks.defaultProps={aspectRatio:"1by1"};const Hs=Ks;var _s=["bsPrefix","className","noGutters","as"],zs=["xl","lg","md","sm","xs"],Vs=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.noGutters,c=n.as,u=void 0===c?"div":c,d=t(n,_s),f=h(a,"row"),p=f+"-cols",m=[];return zs.forEach((function(e){var t,n=d[e];delete d[e];var r="xs"!==e?"-"+e:"";null!=(t=null!=n&&"object"==typeof n?n.cols:n)&&m.push(""+p+r+"-"+t)})),s().createElement(u,e({ref:o},d,{className:r().apply(void 0,[i,f,l&&"no-gutters"].concat(m))}))}));Vs.displayName="Row",Vs.defaultProps={noGutters:!1};const qs=Vs;var Us=["bsPrefix","variant","animation","size","children","as","className"],Ws=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.variant,l=n.animation,c=n.size,u=n.children,d=n.as,f=void 0===d?"div":d,p=n.className,m=t(n,Us),v=(a=h(a,"spinner"))+"-"+l;return s().createElement(f,e({ref:o},m,{className:r()(p,v,c&&v+"-"+c,i&&"text-"+i)}),u)}));Ws.displayName="Spinner";const Gs=Ws;var Xs=["id","bsPrefix","size","variant","title","type","toggleLabel","children","onClick","href","target","menuAlign","menuRole","renderMenuOnMount","rootCloseEvent"],$s={id:F().any,toggleLabel:F().string,href:F().string,target:F().string,onClick:F().func,title:F().node.isRequired,type:F().string,disabled:F().bool,menuAlign:Qr,menuRole:F().string,renderMenuOnMount:F().bool,rootCloseEvent:F().string,bsPrefix:F().string,variant:F().string,size:F().string},Ys=s().forwardRef((function(n,r){var o=n.id,a=n.bsPrefix,i=n.size,l=n.variant,c=n.title,u=n.type,d=n.toggleLabel,f=n.children,p=n.onClick,m=n.href,v=n.target,h=n.menuAlign,b=n.menuRole,g=n.renderMenuOnMount,y=n.rootCloseEvent,x=t(n,Xs);return s().createElement(uo,e({ref:r},x,{as:ot}),s().createElement(tt,{size:i,variant:l,disabled:x.disabled,bsPrefix:a,href:m,target:v,onClick:p,type:u},c),s().createElement(uo.Toggle,{split:!0,id:o?o.toString():void 0,size:i,variant:l,disabled:x.disabled,childBsPrefix:a},s().createElement("span",{className:"sr-only"},d)),s().createElement(uo.Menu,{align:h,role:b,renderOnMount:g,rootCloseEvent:y},f))}));Ys.propTypes=$s,Ys.defaultProps={toggleLabel:"Toggle dropdown",type:"button"},Ys.displayName="SplitButton";const Js=Ys,Zs=function(e){var t=p(e,{activeKey:"onSelect"}),n=t.id,r=t.generateChildId,o=t.onSelect,a=t.activeKey,l=t.transition,c=t.mountOnEnter,u=t.unmountOnExit,d=t.children,f=(0,i.useMemo)((function(){return r||function(e,t){return n?n+"-"+t+"-"+e:null}}),[n,r]),m=(0,i.useMemo)((function(){return{onSelect:o,activeKey:a,transition:l,mountOnEnter:c||!1,unmountOnExit:u||!1,getControlledId:function(e){return f(e,"tabpane")},getControllerId:function(e){return f(e,"tab")}}}),[o,a,l,c,u,f]);return s().createElement(Pa.Provider,{value:m},s().createElement(y.Provider,{value:o||null},d))};var Qs=["bsPrefix","as","className"];const el=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.as,l=void 0===i?"div":i,c=n.className,u=t(n,Qs),d=h(a,"tab-content");return s().createElement(l,e({ref:o},u,{className:r()(c,d)}))}));var tl=["activeKey","getControlledId","getControllerId"],nl=["bsPrefix","className","active","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","transition","as","eventKey"],rl=s().forwardRef((function(n,o){var a=function(n){var r=(0,i.useContext)(Pa);if(!r)return n;var o=r.activeKey,a=r.getControlledId,s=r.getControllerId,l=t(r,tl),c=!1!==n.transition&&!1!==l.transition,u=g(n.eventKey);return e({},n,{active:null==n.active&&null!=u?g(o)===u:n.active,id:a(n.eventKey),"aria-labelledby":s(n.eventKey),transition:c&&(n.transition||l.transition||Ce),mountOnEnter:null!=n.mountOnEnter?n.mountOnEnter:l.mountOnEnter,unmountOnExit:null!=n.unmountOnExit?n.unmountOnExit:l.unmountOnExit})}(n),l=a.bsPrefix,c=a.className,u=a.active,d=a.onEnter,f=a.onEntering,p=a.onEntered,m=a.onExit,v=a.onExiting,b=a.onExited,x=a.mountOnEnter,E=a.unmountOnExit,w=a.transition,N=a.as,C=void 0===N?"div":N,P=(a.eventKey,t(a,nl)),O=h(l,"tab-pane");if(!u&&!w&&E)return null;var k=s().createElement(C,e({},P,{ref:o,role:"tabpanel","aria-hidden":!u,className:r()(c,O,{active:u})}));return w&&(k=s().createElement(w,{in:u,onEnter:d,onEntering:f,onEntered:p,onExit:m,onExiting:v,onExited:b,mountOnEnter:x,unmountOnExit:E},k)),s().createElement(Pa.Provider,{value:null},s().createElement(y.Provider,{value:null},k))}));rl.displayName="TabPane";const ol=rl;var al=function(e){function t(){return e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")},t}(s().Component);al.Container=Zs,al.Content=el,al.Pane=ol;const il=al;var sl=["bsPrefix","className","striped","bordered","borderless","hover","size","variant","responsive"];const ll=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.className,l=n.striped,c=n.bordered,u=n.borderless,d=n.hover,f=n.size,p=n.variant,m=n.responsive,v=t(n,sl),b=h(a,"table"),g=r()(i,b,p&&b+"-"+p,f&&b+"-"+f,l&&b+"-striped",c&&b+"-bordered",u&&b+"-borderless",d&&b+"-hover"),y=s().createElement("table",e({},v,{className:g,ref:o}));if(m){var x=b+"-responsive";return"string"==typeof m&&(x=x+"-"+m),s().createElement("div",{className:x},y)}return y}));var cl=["id","onSelect","transition","mountOnEnter","unmountOnExit","children","activeKey"];function ul(e){var t=e.props,n=t.title,r=t.eventKey,o=t.disabled,a=t.tabClassName,i=t.id;return null==n?null:s().createElement(Ti,{as:Di,eventKey:r,disabled:o,id:i,className:a},n)}var dl=function(n){var r=p(n,{activeKey:"onSelect"}),o=r.id,a=r.onSelect,i=r.transition,l=r.mountOnEnter,c=r.unmountOnExit,u=r.children,d=r.activeKey,f=void 0===d?function(e){var t;return Kt(e,(function(e){null==t&&(t=e.props.eventKey)})),t}(u):d,m=t(r,cl);return s().createElement(Zs,{id:o,activeKey:f,onSelect:a,transition:i,mountOnEnter:l,unmountOnExit:c},s().createElement(Li,e({},m,{role:"tablist",as:"nav"}),jt(u,ul)),s().createElement(el,null,jt(u,(function(t){var n=e({},t.props);return delete n.title,delete n.disabled,delete n.tabClassName,s().createElement(ol,n)}))))};dl.defaultProps={variant:"tabs",mountOnEnter:!1,unmountOnExit:!1},dl.displayName="Tabs";const fl=dl,pl=s().createContext({onClose:function(){}});var ml=["bsPrefix","closeLabel","closeButton","className","children"],vl=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.closeLabel,c=n.closeButton,u=n.className,d=n.children,f=t(n,ml);a=h(a,"toast-header");var p=(0,i.useContext)(pl),m=ye((function(e){p&&p.onClose&&p.onClose(e)}));return s().createElement("div",e({ref:o},f,{className:r()(a,u)}),d,c&&s().createElement(Re,{label:l,onClick:m,className:"ml-2 mb-1","data-dismiss":"toast"}))}));vl.displayName="ToastHeader",vl.defaultProps={closeLabel:"Close",closeButton:!0};const hl=vl,bl=Me("toast-body");var gl=["bsPrefix","className","children","transition","show","animation","delay","autohide","onClose"],yl=s().forwardRef((function(n,o){var a=n.bsPrefix,l=n.className,c=n.children,u=n.transition,d=void 0===u?Ce:u,f=n.show,p=void 0===f||f,m=n.animation,v=void 0===m||m,b=n.delay,g=void 0===b?3e3:b,y=n.autohide,x=void 0!==y&&y,E=n.onClose,w=t(n,gl);a=h(a,"toast");var N=(0,i.useRef)(g),C=(0,i.useRef)(E);(0,i.useEffect)((function(){N.current=g,C.current=E}),[g,E]);var P=Dt(),O=!(!x||!p),k=(0,i.useCallback)((function(){O&&(null==C.current||C.current())}),[O]);(0,i.useEffect)((function(){P.set(k,N.current)}),[P,k]);var R=(0,i.useMemo)((function(){return{onClose:E}}),[E]),T=!(!d||!v),S=s().createElement("div",e({},w,{ref:o,className:r()(a,l,!T&&(p?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"}),c);return s().createElement(pl.Provider,{value:R},T&&d?s().createElement(d,{in:p,unmountOnExit:!0},S):S)}));yl.displayName="Toast";const xl=Object.assign(yl,{Body:bl,Header:hl});var El=["children","name","className","checked","type","onChange","value","disabled","inputRef"],wl=function(){},Nl=s().forwardRef((function(n,o){var a=n.children,l=n.name,c=n.className,u=n.checked,d=n.type,f=n.onChange,p=n.value,m=n.disabled,v=n.inputRef,h=t(n,El),b=(0,i.useState)(!1),g=b[0],y=b[1],x=(0,i.useCallback)((function(e){"INPUT"===e.target.tagName&&y(!0)}),[]),E=(0,i.useCallback)((function(e){"INPUT"===e.target.tagName&&y(!1)}),[]);return s().createElement(tt,e({},h,{ref:o,className:r()(c,g&&"focus",m&&"disabled"),type:void 0,active:!!u,as:"label"}),s().createElement("input",{name:l,type:d,value:p,ref:v,autoComplete:"off",checked:!!u,disabled:!!m,onFocus:x,onBlur:E,onChange:f||wl}),a)}));Nl.displayName="ToggleButton";const Cl=Nl;var Pl=["children","type","name","value","onChange"],Ol=s().forwardRef((function(n,r){var o=p(n,{value:"onChange"}),a=o.children,i=o.type,l=o.name,u=o.value,d=o.onChange,f=t(o,Pl),m=function(){return null==u?[]:[].concat(u)};return"radio"!==i||l||c()(!1),s().createElement(ot,e({},f,{ref:r,toggle:!0}),jt(a,(function(e){var t=m(),n=e.props,r=n.value,o=n.onChange;return s().cloneElement(e,{type:i,name:e.name||l,checked:-1!==t.indexOf(r),onChange:ne(o,(function(e){return function(e,t){if(d){var n=m(),r=-1!==n.indexOf(e);"radio"!==i?d(r?n.filter((function(t){return t!==e})):[].concat(n,[e]),t):!r&&d&&d(e,t)}}(r,e)}))})})))}));Ol.defaultProps={type:"radio",vertical:!1},Ol.Button=Cl;const kl=Ol;var Rl=["bsPrefix","placement","className","style","children","arrowProps","popper","show"],Tl=s().forwardRef((function(n,o){var a=n.bsPrefix,i=n.placement,l=n.className,c=n.style,u=n.children,d=n.arrowProps,f=(n.popper,n.show,t(n,Rl));a=h(a,"tooltip");var p=((null==i?void 0:i.split("-"))||[])[0];return s().createElement("div",e({ref:o,style:c,role:"tooltip","x-placement":p,className:r()(l,a,"bs-tooltip-"+p)},f),s().createElement("div",e({className:"arrow"},d)),s().createElement("div",{className:a+"-inner"},u))}));Tl.defaultProps={placement:"right"},Tl.displayName="Tooltip";const Sl=Tl})(),a})()}));