/*! 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{"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{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r,o,a){var i=r||"<>",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{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,a,i){var s=o||"<>",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{"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=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;oZ?"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=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=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.clientWidthe.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;nP(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;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r