react-luminus-components 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +43 -43
- package/dist/Collapse.module-DvvJlfPd.js +212 -0
- package/dist/Collapse.module-cs5hXOag.mjs +2896 -0
- package/dist/Modal-B2qKFgqh.js +1 -0
- package/dist/{Modal-DrtyXbaq.mjs → Modal-Dx5XXGby.mjs} +160 -156
- package/dist/SimpleTooltip-C9ijHgfs.js +1 -0
- package/dist/SimpleTooltip-CmA9EcfY.mjs +1622 -0
- package/dist/components/Tabs/Tabs.d.ts +7 -0
- package/dist/components/Tabs/comps/Tab/Tab.d.ts +7 -0
- package/dist/components/Tabs/comps/index.d.ts +1 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Toaster/Toaster.d.ts +3 -0
- package/dist/components/common/Badge/Badge.d.ts +9 -0
- package/dist/components/common/Collapse/Collapse.d.ts +8 -0
- package/dist/components/common/index.d.ts +2 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +64 -53
- package/dist/{hasClass-BPLafgqP.js → hasClass-CIO7dHdo.js} +5 -5
- package/dist/{hasClass-Cywenry0.mjs → hasClass-CjtZdrqe.mjs} +11 -3
- package/dist/hooks/useNotifications/useNotifications.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +3 -3
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +5 -5
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +3 -0
- package/dist/main.es.js +1600 -936
- package/dist/style.css +1 -1
- package/dist/{useConfirm-1NsG8u3o.mjs → useConfirm-BiBuEjQ7.mjs} +1 -1
- package/dist/useConfirm-DSLva5Mk.js +1 -0
- package/package.json +4 -2
- package/dist/HomeDashboard.module-GdCYxlBo.js +0 -212
- package/dist/HomeDashboard.module-PqWrW_dw.mjs +0 -2678
- package/dist/Modal-oJGeA42s.js +0 -1
- package/dist/SimpleTooltip-CGAr8ryR.js +0 -1
- package/dist/SimpleTooltip-DzBpmL4l.mjs +0 -1775
- package/dist/useConfirm-BnuvVu7T.js +0 -1
package/dist/Modal-oJGeA42s.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./HomeDashboard.module-GdCYxlBo.js"),o=require("./hasClass-BPLafgqP.js"),d=require("react"),Le=require("react-dom");function We(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const m=We(d),Ie=()=>n.jsxRuntimeExports.jsxs("div",{className:n.classNames("luminus-loading",n.classes.loading),children:[n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",n.classes.spinnerGrow,"text-primary"),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",n.classes.spinnerGrow,"text-primary",n.classes.second),role:"status"}),n.jsxRuntimeExports.jsx("div",{className:n.classNames("spinner-grow",n.classes.spinnerGrow,"text-primary",n.classes.third),role:"status"})]}),_e=({variant:t,className:e,children:s})=>{switch(t){case"h1":return n.jsxRuntimeExports.jsx("h1",{className:n.classNames("luminus-text-primary",n.classes$1.h1,e),children:s});case"h3":return n.jsxRuntimeExports.jsx("h3",{className:n.classNames("luminus-text",n.classes$1.h3,e),children:s});case"h6":return n.jsxRuntimeExports.jsx("h6",{className:n.classNames("luminus-text",n.classes$1.h6,e),children:s});case"subtitle":return n.jsxRuntimeExports.jsx("div",{className:n.classNames("luminus-text",n.classes$1.subtitle,e),children:s});case"body":return n.jsxRuntimeExports.jsx("div",{className:n.classNames("luminus-text",n.classes$1.body,e),children:s});case"body2":return n.jsxRuntimeExports.jsx("div",{className:n.classNames("luminus-text",n.classes$1.body2,e),children:s});case"caption":return n.jsxRuntimeExports.jsx("div",{className:n.classNames("luminus-text-muted",n.classes$1.caption,e),children:s});default:return n.jsxRuntimeExports.jsx(n.jsxRuntimeExports.Fragment,{children:s})}},He=({variant:t,className:e,children:s})=>n.jsxRuntimeExports.jsx(_e,{variant:t,className:e,children:s}),Ue=t=>m.forwardRef((e,s)=>n.jsxRuntimeExports.jsx("div",{...e,ref:s,className:n.classNames(e.className,t)}));function ye(t){const e=d.useRef(null);return d.useEffect(()=>{e.current=t}),e.current}const Ke={"aria-label":o.PropTypes.string,onClick:o.PropTypes.func,variant:o.PropTypes.oneOf(["white"])},me=m.forwardRef(({className:t,variant:e,"aria-label":s="Close",...a},r)=>n.jsxRuntimeExports.jsx("button",{ref:r,type:"button",className:n.classNames("btn-close",e&&`btn-close-${e}`,t),"aria-label":s,...a}));me.displayName="CloseButton";me.propTypes=Ke;const Ge=me;var qe=Function.prototype.bind.call(Function.prototype.call,[].slice);function j(t,e){return qe(t.querySelectorAll(e))}const Pe="data-rr-ui-";function Re(t){return`${Pe}${t}`}var J;function ge(t){if((!J&&J!==0||t)&&o.canUseDOM){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),J=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return J}function ce(t){t===void 0&&(t=o.ownerDocument());try{var e=t.activeElement;return!e||!e.nodeName?null:e}catch{return t.body}}function ze(t=document){const e=t.defaultView;return Math.abs(e.innerWidth-t.documentElement.clientWidth)}const xe=Re("modal-open");class Ve{constructor({ownerDocument:e,handleContainerOverflow:s=!0,isRTL:a=!1}={}){this.handleContainerOverflow=s,this.isRTL=a,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return ze(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const s={overflow:"hidden"},a=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[a]:r.style[a]},e.scrollBarWidth&&(s[a]=`${parseInt(o.style(r,a)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(xe,""),o.style(r,s)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const s=this.getElement();s.removeAttribute(xe),Object.assign(s.style,e.style)}add(e){let s=this.modals.indexOf(e);return s!==-1||(s=this.modals.length,this.modals.push(e),this.setModalAttributes(e),s!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),s}remove(e){const s=this.modals.indexOf(e);s!==-1&&(this.modals.splice(s,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}const fe=Ve,Xe=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function Ye(t,e){if(t==null)return{};var s={},a=Object.keys(t),r,l;for(l=0;l<a.length;l++)r=a[l],!(e.indexOf(r)>=0)&&(s[r]=t[r]);return s}let de;function Je(t){return de||(de=new fe({ownerDocument:t==null?void 0:t.document})),de}function Qe(t){const e=o.useWindow(),s=t||Je(e),a=d.useRef({dialog:null,backdrop:null});return Object.assign(a.current,{add:()=>s.add(a.current),remove:()=>s.remove(a.current),isTopModal:()=>s.isTopModal(a.current),setDialogRef:d.useCallback(r=>{a.current.dialog=r},[]),setBackdropRef:d.useCallback(r=>{a.current.backdrop=r},[])})}const ve=d.forwardRef((t,e)=>{let{show:s=!1,role:a="dialog",className:r,style:l,children:E,backdrop:p=!0,keyboard:y=!0,onBackdropClick:N,onEscapeKeyDown:h,transition:S,runTransition:R,backdropTransition:b,runBackdropTransition:Q,autoFocus:_=!0,enforceFocus:Z=!0,restoreFocus:T=!0,restoreFocusOptions:ee,renderDialog:H,renderBackdrop:te=c=>n.jsxRuntimeExports.jsx("div",Object.assign({},c)),manager:se,container:ne,onShow:U,onHide:D=()=>{},onExit:oe,onExited:$,onExiting:K,onEnter:G,onEntering:q,onEntered:P}=t,ae=Ye(t,Xe);const g=o.useWindow(),M=o.useWaitForDOMRef(ne),u=Qe(se),re=o.useMounted(),z=ye(s),[v,w]=d.useState(!s),f=d.useRef(null);d.useImperativeHandle(e,()=>u,[u]),o.canUseDOM&&!z&&s&&(f.current=ce(g==null?void 0:g.document)),s&&v&&w(!1);const x=o.useEventCallback(()=>{if(u.add(),C.current=o.listen(document,"keydown",le),L.current=o.listen(document,"focus",()=>setTimeout(ie),!0),U&&U(),_){var c,Y;const I=ce((c=(Y=u.dialog)==null?void 0:Y.ownerDocument)!=null?c:g==null?void 0:g.document);u.dialog&&I&&!o.contains(u.dialog,I)&&(f.current=I,u.dialog.focus())}}),F=o.useEventCallback(()=>{if(u.remove(),C.current==null||C.current(),L.current==null||L.current(),T){var c;(c=f.current)==null||c.focus==null||c.focus(ee),f.current=null}});d.useEffect(()=>{!s||!M||x()},[s,M,x]),d.useEffect(()=>{v&&F()},[v,F]),o.useWillUnmount(()=>{F()});const ie=o.useEventCallback(()=>{if(!Z||!re()||!u.isTopModal())return;const c=ce(g==null?void 0:g.document);u.dialog&&c&&!o.contains(u.dialog,c)&&u.dialog.focus()}),V=o.useEventCallback(c=>{c.target===c.currentTarget&&(N==null||N(c),p===!0&&D())}),le=o.useEventCallback(c=>{y&&o.isEscKey(c)&&u.isTopModal()&&(h==null||h(c),c.defaultPrevented||D())}),L=d.useRef(),C=d.useRef(),X=(...c)=>{w(!0),$==null||$(...c)};if(!M)return null;const k=Object.assign({role:a,ref:u.setDialogRef,"aria-modal":a==="dialog"?!0:void 0},ae,{style:l,className:r,tabIndex:-1});let W=H?H(k):n.jsxRuntimeExports.jsx("div",Object.assign({},k,{children:m.cloneElement(E,{role:"document"})}));W=o.renderTransition(S,R,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!s,onExit:oe,onExiting:K,onExited:X,onEnter:G,onEntering:q,onEntered:P,children:W});let O=null;return p&&(O=te({ref:u.setBackdropRef,onClick:V}),O=o.renderTransition(b,Q,{in:!!s,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:O})),n.jsxRuntimeExports.jsx(n.jsxRuntimeExports.Fragment,{children:Le.createPortal(n.jsxRuntimeExports.jsxs(n.jsxRuntimeExports.Fragment,{children:[O,W]}),M)})});ve.displayName="Modal";const Ze=Object.assign(ve,{Manager:fe});function et(t,e){t.classList?t.classList.add(e):o.hasClass(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function Ee(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function tt(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=Ee(t.className,e):t.setAttribute("class",Ee(t.className&&t.className.baseVal||"",e))}const A={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class st extends fe{adjustAndStore(e,s,a){const r=s.style[e];s.dataset[e]=r,o.style(s,{[e]:`${parseFloat(o.style(s,e))+a}px`})}restore(e,s){const a=s.dataset[e];a!==void 0&&(delete s.dataset[e],o.style(s,{[e]:a}))}setContainerStyle(e){super.setContainerStyle(e);const s=this.getElement();if(et(s,"modal-open"),!e.scrollBarWidth)return;const a=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";j(s,A.FIXED_CONTENT).forEach(l=>this.adjustAndStore(a,l,e.scrollBarWidth)),j(s,A.STICKY_CONTENT).forEach(l=>this.adjustAndStore(r,l,-e.scrollBarWidth)),j(s,A.NAVBAR_TOGGLER).forEach(l=>this.adjustAndStore(r,l,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const s=this.getElement();tt(s,"modal-open");const a=this.isRTL?"paddingLeft":"paddingRight",r=this.isRTL?"marginLeft":"marginRight";j(s,A.FIXED_CONTENT).forEach(l=>this.restore(a,l)),j(s,A.STICKY_CONTENT).forEach(l=>this.restore(r,l)),j(s,A.NAVBAR_TOGGLER).forEach(l=>this.restore(r,l))}}let ue;function nt(t){return ue||(ue=new st(t)),ue}const je=m.forwardRef(({className:t,bsPrefix:e,as:s="div",...a},r)=>(e=o.useBootstrapPrefix(e,"modal-body"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...a})));je.displayName="ModalBody";const ot=je,at=m.createContext({onHide(){}}),Ne=at,be=m.forwardRef(({bsPrefix:t,className:e,contentClassName:s,centered:a,size:r,fullscreen:l,children:E,scrollable:p,...y},N)=>{t=o.useBootstrapPrefix(t,"modal");const h=`${t}-dialog`,S=typeof l=="string"?`${t}-fullscreen-${l}`:`${t}-fullscreen`;return n.jsxRuntimeExports.jsx("div",{...y,ref:N,className:n.classNames(h,e,r&&`${t}-${r}`,a&&`${h}-centered`,p&&`${h}-scrollable`,l&&S),children:n.jsxRuntimeExports.jsx("div",{className:n.classNames(`${t}-content`,s),children:E})})});be.displayName="ModalDialog";const Te=be,Me=m.forwardRef(({className:t,bsPrefix:e,as:s="div",...a},r)=>(e=o.useBootstrapPrefix(e,"modal-footer"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...a})));Me.displayName="ModalFooter";const rt=Me,it=m.forwardRef(({closeLabel:t="Close",closeVariant:e,closeButton:s=!1,onHide:a,children:r,...l},E)=>{const p=d.useContext(Ne),y=o.useEventCallback(()=>{p==null||p.onHide(),a==null||a()});return n.jsxRuntimeExports.jsxs("div",{ref:E,...l,children:[r,s&&n.jsxRuntimeExports.jsx(Ge,{"aria-label":t,variant:e,onClick:y})]})}),lt=it,we=m.forwardRef(({bsPrefix:t,className:e,closeLabel:s="Close",closeButton:a=!1,...r},l)=>(t=o.useBootstrapPrefix(t,"modal-header"),n.jsxRuntimeExports.jsx(lt,{ref:l,...r,className:n.classNames(e,t),closeLabel:s,closeButton:a})));we.displayName="ModalHeader";const ct=we,dt=Ue("h4"),Ce=m.forwardRef(({className:t,bsPrefix:e,as:s=dt,...a},r)=>(e=o.useBootstrapPrefix(e,"modal-title"),n.jsxRuntimeExports.jsx(s,{ref:r,className:n.classNames(t,e),...a})));Ce.displayName="ModalTitle";const ut=Ce;function mt(t){return n.jsxRuntimeExports.jsx(o.Fade,{...t,timeout:null})}function ft(t){return n.jsxRuntimeExports.jsx(o.Fade,{...t,timeout:null})}const ke=m.forwardRef(({bsPrefix:t,className:e,style:s,dialogClassName:a,contentClassName:r,children:l,dialogAs:E=Te,"data-bs-theme":p,"aria-labelledby":y,"aria-describedby":N,"aria-label":h,show:S=!1,animation:R=!0,backdrop:b=!0,keyboard:Q=!0,onEscapeKeyDown:_,onShow:Z,onHide:T,container:ee,autoFocus:H=!0,enforceFocus:te=!0,restoreFocus:se=!0,restoreFocusOptions:ne,onEntered:U,onExit:D,onExiting:oe,onEnter:$,onEntering:K,onExited:G,backdropClassName:q,manager:P,...ae},g)=>{const[M,u]=d.useState({}),[re,z]=d.useState(!1),v=d.useRef(!1),w=d.useRef(!1),f=d.useRef(null),[x,F]=o.useCallbackRef(),ie=o.useMergedRefs(g,F),V=o.useEventCallback(T),le=o.useIsRTL();t=o.useBootstrapPrefix(t,"modal");const L=d.useMemo(()=>({onHide:V}),[V]);function C(){return P||nt({isRTL:le})}function X(i){if(!o.canUseDOM)return;const B=C().getScrollbarWidth()>0,he=i.scrollHeight>o.ownerDocument(i).documentElement.clientHeight;u({paddingRight:B&&!he?ge():void 0,paddingLeft:!B&&he?ge():void 0})}const k=o.useEventCallback(()=>{x&&X(x.dialog)});o.useWillUnmount(()=>{o.removeEventListener(window,"resize",k),f.current==null||f.current()});const W=()=>{v.current=!0},O=i=>{v.current&&x&&i.target===x.dialog&&(w.current=!0),v.current=!1},c=()=>{z(!0),f.current=o.transitionEnd(x.dialog,()=>{z(!1)})},Y=i=>{i.target===i.currentTarget&&c()},I=i=>{if(b==="static"){Y(i);return}if(w.current||i.target!==i.currentTarget){w.current=!1;return}T==null||T()},Oe=i=>{Q?_==null||_(i):(i.preventDefault(),b==="static"&&c())},Be=(i,B)=>{i&&X(i),$==null||$(i,B)},Ae=i=>{f.current==null||f.current(),D==null||D(i)},Se=(i,B)=>{K==null||K(i,B),o.addEventListener(window,"resize",k)},De=i=>{i&&(i.style.display=""),G==null||G(i),o.removeEventListener(window,"resize",k)},$e=d.useCallback(i=>n.jsxRuntimeExports.jsx("div",{...i,className:n.classNames(`${t}-backdrop`,q,!R&&"show")}),[R,q,t]),pe={...s,...M};pe.display="block";const Fe=i=>n.jsxRuntimeExports.jsx("div",{role:"dialog",...i,style:pe,className:n.classNames(e,t,re&&`${t}-static`,!R&&"show"),onClick:b?I:void 0,onMouseUp:O,"data-bs-theme":p,"aria-label":h,"aria-labelledby":y,"aria-describedby":N,children:n.jsxRuntimeExports.jsx(E,{...ae,onMouseDown:W,className:a,contentClassName:r,children:l})});return n.jsxRuntimeExports.jsx(Ne.Provider,{value:L,children:n.jsxRuntimeExports.jsx(Ze,{show:S,ref:ie,backdrop:b,container:ee,keyboard:!0,autoFocus:H,enforceFocus:te,restoreFocus:se,restoreFocusOptions:ne,onEscapeKeyDown:Oe,onShow:Z,onHide:T,onEnter:Be,onEntering:Se,onEntered:U,onExit:Ae,onExiting:oe,onExited:De,manager:C(),transition:R?mt:void 0,backdropTransition:R?ft:void 0,renderBackdrop:$e,renderDialog:Fe})})});ke.displayName="Modal";const pt=Object.assign(ke,{Body:ot,Header:ct,Title:ut,Footer:rt,Dialog:Te,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});exports.Loading=Ie;exports.Modal=pt;exports.Typography=He;exports.dataAttr=Re;exports.qsa=j;exports.usePrevious=ye;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const b=require("react"),T=require("./HomeDashboard.module-GdCYxlBo.js"),O=require("./hasClass-BPLafgqP.js"),Gt=require("react-dom");function Jt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const K=Jt(b);var gt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},et=b.createContext&&b.createContext(gt),Qt=["attr","size","title"];function Zt(e,t){if(e==null)return{};var r=er(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function er(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tt(Object(r),!0).forEach(function(n){tr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tr(e,t,r){return t=rr(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rr(e){var t=nr(e,"string");return typeof t=="symbol"?t:String(t)}function nr(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yt(e){return e&&e.map((t,r)=>b.createElement(t.tag,je({key:r},t.attr),yt(t.child)))}function V(e){return t=>b.createElement(ir,Me({attr:je({},e.attr)},t),yt(e.child))}function ir(e){var t=r=>{var{attr:n,size:i,title:o}=e,c=Zt(e,Qt),s=i||r.size||"1em",a;return r.className&&(a=r.className),e.className&&(a=(a?a+" ":"")+e.className),b.createElement("svg",Me({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,c,{className:a,style:je(je({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&b.createElement("title",null,o),e.children)};return et!==void 0?b.createElement(et.Consumer,null,r=>t(r)):t(gt)}function or(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function ar(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function sr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function ur(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function cr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function lr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function fr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function dr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function pr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function vr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function hr(e){return V({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(this,arguments)}function rt(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function mr(e){var t=gr(e,"string");return typeof t=="symbol"?t:String(t)}function gr(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wt(e,t,r){var n=b.useRef(e!==void 0),i=b.useState(t),o=i[0],c=i[1],s=e!==void 0,a=n.current;return n.current=s,!s&&a&&o!==t&&c(t),[s?e:o,b.useCallback(function(l){for(var u=arguments.length,p=new Array(u>1?u-1:0),h=1;h<u;h++)p[h-1]=arguments[h];r&&r.apply(void 0,[l].concat(p)),c(l)},[r])]}function yr(e,t){return Object.keys(t).reduce(function(r,n){var i,o=r,c=o[rt(n)],s=o[n],a=O._objectWithoutPropertiesLoose(o,[rt(n),n].map(mr)),l=t[n],u=wt(s,c,e[l]),p=u[0],h=u[1];return Se({},a,(i={},i[n]=p,i[l]=h,i))},e)}const Be=2**31-1;function bt(e,t,r){const n=r-Date.now();e.current=n<=Be?setTimeout(t,n):setTimeout(()=>bt(e,t,r),Be)}function wr(){const e=O.useMounted(),t=b.useRef();return O.useWillUnmount(()=>clearTimeout(t.current)),b.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,o=0){e()&&(r(),o<=Be?t.current=setTimeout(i,o):bt(t,i,Date.now()+o))}return{set:n,clear:r,handleRef:t}},[])}var nt=Object.prototype.hasOwnProperty;function it(e,t,r){for(r of e.keys())if(ce(r,t))return r}function ce(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&ce(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(i=n,i&&typeof i=="object"&&(i=it(t,i),!i)||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(i=n[0],i&&typeof i=="object"&&(i=it(t,i),!i)||!ce(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(nt.call(e,r)&&++n&&!nt.call(t,r)||!(r in t)||!ce(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function br(e){const t=O.useMounted();return[e[0],b.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var $="top",N="bottom",W="right",L="left",ke="auto",ve=[$,N,W,L],re="start",de="end",Or="clippingParents",Ot="viewport",ue="popper",xr="reference",ot=ve.reduce(function(e,t){return e.concat([t+"-"+re,t+"-"+de])},[]),xt=[].concat(ve,[ke]).reduce(function(e,t){return e.concat([t,t+"-"+re,t+"-"+de])},[]),Er="beforeRead",Mr="read",jr="afterRead",Rr="beforeMain",Pr="main",Cr="afterMain",Ar="beforeWrite",Dr="write",Tr="afterWrite",Sr=[Er,Mr,jr,Rr,Pr,Cr,Ar,Dr,Tr];function _(e){return e.split("-")[0]}function z(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ee(e){var t=z(e).Element;return e instanceof t||e instanceof Element}function I(e){var t=z(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function He(e){if(typeof ShadowRoot>"u")return!1;var t=z(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Z=Math.max,Re=Math.min,ne=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Et(){return!/^((?!chrome|android).)*safari/i.test($e())}function ie(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&I(e)&&(i=e.offsetWidth>0&&ne(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ne(n.height)/e.offsetHeight||1);var c=ee(e)?z(e):window,s=c.visualViewport,a=!Et()&&r,l=(n.left+(a&&s?s.offsetLeft:0))/i,u=(n.top+(a&&s?s.offsetTop:0))/o,p=n.width/i,h=n.height/o;return{width:p,height:h,top:u,right:l+p,bottom:u+h,left:l,x:l,y:u}}function ze(e){var t=ie(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&He(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function X(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){return z(e).getComputedStyle(e)}function Br(e){return["table","td","th"].indexOf(X(e))>=0}function Y(e){return((ee(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return X(e)==="html"?e:e.assignedSlot||e.parentNode||(He(e)?e.host:null)||Y(e)}function at(e){return!I(e)||U(e).position==="fixed"?null:e.offsetParent}function $r(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&I(e)){var n=U(e);if(n.position==="fixed")return null}var i=Pe(e);for(He(i)&&(i=i.host);I(i)&&["html","body"].indexOf(X(i))<0;){var o=U(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function he(e){for(var t=z(e),r=at(e);r&&Br(r)&&U(r).position==="static";)r=at(r);return r&&(X(r)==="html"||X(r)==="body"&&U(r).position==="static")?t:r||$r(e)||t}function Ne(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function le(e,t,r){return Z(e,Re(t,r))}function Lr(e,t,r){var n=le(e,t,r);return n>r?r:n}function jt(){return{top:0,right:0,bottom:0,left:0}}function Rt(e){return Object.assign({},jt(),e)}function Pt(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var kr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Rt(typeof t!="number"?t:Pt(t,ve))};function Hr(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,s=_(r.placement),a=Ne(s),l=[L,W].indexOf(s)>=0,u=l?"height":"width";if(!(!o||!c)){var p=kr(i.padding,r),h=ze(o),d=a==="y"?$:L,v=a==="y"?N:W,g=r.rects.reference[u]+r.rects.reference[a]-c[a]-r.rects.popper[u],f=c[a]-r.rects.reference[a],y=he(o),m=y?a==="y"?y.clientHeight||0:y.clientWidth||0:0,E=g/2-f/2,w=p[d],M=m-h[u]-p[v],x=m/2-h[u]/2+E,j=le(w,x,M),P=a;r.modifiersData[n]=(t={},t[P]=j,t.centerOffset=j-x,t)}}function zr(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Mt(t.elements.popper,i)&&(t.elements.arrow=i))}const Nr={name:"arrow",enabled:!0,phase:"main",fn:Hr,effect:zr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oe(e){return e.split("-")[1]}var Wr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fr(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:ne(r*i)/i||0,y:ne(n*i)/i||0}}function st(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,c=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,p=e.isFixed,h=c.x,d=h===void 0?0:h,v=c.y,g=v===void 0?0:v,f=typeof u=="function"?u({x:d,y:g}):{x:d,y:g};d=f.x,g=f.y;var y=c.hasOwnProperty("x"),m=c.hasOwnProperty("y"),E=L,w=$,M=window;if(l){var x=he(r),j="clientHeight",P="clientWidth";if(x===z(r)&&(x=Y(r),U(x).position!=="static"&&s==="absolute"&&(j="scrollHeight",P="scrollWidth")),x=x,i===$||(i===L||i===W)&&o===de){w=N;var C=p&&x===M&&M.visualViewport?M.visualViewport.height:x[j];g-=C-n.height,g*=a?1:-1}if(i===L||(i===$||i===N)&&o===de){E=W;var R=p&&x===M&&M.visualViewport?M.visualViewport.width:x[P];d-=R-n.width,d*=a?1:-1}}var A=Object.assign({position:s},l&&Wr),k=u===!0?Fr({x:d,y:g},z(r)):{x:d,y:g};if(d=k.x,g=k.y,a){var D;return Object.assign({},A,(D={},D[w]=m?"0":"",D[E]=y?"0":"",D.transform=(M.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",D))}return Object.assign({},A,(t={},t[w]=m?g+"px":"",t[E]=y?d+"px":"",t.transform="",t))}function Vr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,s=r.roundOffsets,a=s===void 0?!0:s,l={placement:_(t.placement),variation:oe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,st(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,st(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _r={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vr,data:{}};var Oe={passive:!0};function Ir(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,c=n.resize,s=c===void 0?!0:c,a=z(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(u){u.addEventListener("scroll",r.update,Oe)}),s&&a.addEventListener("resize",r.update,Oe),function(){o&&l.forEach(function(u){u.removeEventListener("scroll",r.update,Oe)}),s&&a.removeEventListener("resize",r.update,Oe)}}const Ur={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ir,data:{}};var qr={left:"right",right:"left",bottom:"top",top:"bottom"};function xe(e){return e.replace(/left|right|bottom|top/g,function(t){return qr[t]})}var Kr={start:"end",end:"start"};function ut(e){return e.replace(/start|end/g,function(t){return Kr[t]})}function We(e){var t=z(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Fe(e){return ie(Y(e)).left+We(e).scrollLeft}function Xr(e,t){var r=z(e),n=Y(e),i=r.visualViewport,o=n.clientWidth,c=n.clientHeight,s=0,a=0;if(i){o=i.width,c=i.height;var l=Et();(l||!l&&t==="fixed")&&(s=i.offsetLeft,a=i.offsetTop)}return{width:o,height:c,x:s+Fe(e),y:a}}function Yr(e){var t,r=Y(e),n=We(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Z(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),c=Z(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+Fe(e),a=-n.scrollTop;return U(i||r).direction==="rtl"&&(s+=Z(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:c,x:s,y:a}}function Ve(e){var t=U(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Ct(e){return["html","body","#document"].indexOf(X(e))>=0?e.ownerDocument.body:I(e)&&Ve(e)?e:Ct(Pe(e))}function fe(e,t){var r;t===void 0&&(t=[]);var n=Ct(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=z(n),c=i?[o].concat(o.visualViewport||[],Ve(n)?n:[]):n,s=t.concat(c);return i?s:s.concat(fe(Pe(c)))}function Le(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gr(e,t){var r=ie(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ct(e,t,r){return t===Ot?Le(Xr(e,r)):ee(t)?Gr(t,r):Le(Yr(Y(e)))}function Jr(e){var t=fe(Pe(e)),r=["absolute","fixed"].indexOf(U(e).position)>=0,n=r&&I(e)?he(e):e;return ee(n)?t.filter(function(i){return ee(i)&&Mt(i,n)&&X(i)!=="body"}):[]}function Qr(e,t,r,n){var i=t==="clippingParents"?Jr(e):[].concat(t),o=[].concat(i,[r]),c=o[0],s=o.reduce(function(a,l){var u=ct(e,l,n);return a.top=Z(u.top,a.top),a.right=Re(u.right,a.right),a.bottom=Re(u.bottom,a.bottom),a.left=Z(u.left,a.left),a},ct(e,c,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function At(e){var t=e.reference,r=e.element,n=e.placement,i=n?_(n):null,o=n?oe(n):null,c=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,a;switch(i){case $:a={x:c,y:t.y-r.height};break;case N:a={x:c,y:t.y+t.height};break;case W:a={x:t.x+t.width,y:s};break;case L:a={x:t.x-r.width,y:s};break;default:a={x:t.x,y:t.y}}var l=i?Ne(i):null;if(l!=null){var u=l==="y"?"height":"width";switch(o){case re:a[l]=a[l]-(t[u]/2-r[u]/2);break;case de:a[l]=a[l]+(t[u]/2-r[u]/2);break}}return a}function pe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,s=r.boundary,a=s===void 0?Or:s,l=r.rootBoundary,u=l===void 0?Ot:l,p=r.elementContext,h=p===void 0?ue:p,d=r.altBoundary,v=d===void 0?!1:d,g=r.padding,f=g===void 0?0:g,y=Rt(typeof f!="number"?f:Pt(f,ve)),m=h===ue?xr:ue,E=e.rects.popper,w=e.elements[v?m:h],M=Qr(ee(w)?w:w.contextElement||Y(e.elements.popper),a,u,c),x=ie(e.elements.reference),j=At({reference:x,element:E,strategy:"absolute",placement:i}),P=Le(Object.assign({},E,j)),C=h===ue?P:x,R={top:M.top-C.top+y.top,bottom:C.bottom-M.bottom+y.bottom,left:M.left-C.left+y.left,right:C.right-M.right+y.right},A=e.modifiersData.offset;if(h===ue&&A){var k=A[i];Object.keys(R).forEach(function(D){var B=[W,N].indexOf(D)>=0?1:-1,S=[$,N].indexOf(D)>=0?"y":"x";R[D]+=k[S]*B})}return R}function Zr(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,c=r.padding,s=r.flipVariations,a=r.allowedAutoPlacements,l=a===void 0?xt:a,u=oe(n),p=u?s?ot:ot.filter(function(v){return oe(v)===u}):ve,h=p.filter(function(v){return l.indexOf(v)>=0});h.length===0&&(h=p);var d=h.reduce(function(v,g){return v[g]=pe(e,{placement:g,boundary:i,rootBoundary:o,padding:c})[_(g)],v},{});return Object.keys(d).sort(function(v,g){return d[v]-d[g]})}function en(e){if(_(e)===ke)return[];var t=xe(e);return[ut(e),t,ut(t)]}function tn(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,c=r.altAxis,s=c===void 0?!0:c,a=r.fallbackPlacements,l=r.padding,u=r.boundary,p=r.rootBoundary,h=r.altBoundary,d=r.flipVariations,v=d===void 0?!0:d,g=r.allowedAutoPlacements,f=t.options.placement,y=_(f),m=y===f,E=a||(m||!v?[xe(f)]:en(f)),w=[f].concat(E).reduce(function(te,q){return te.concat(_(q)===ke?Zr(t,{placement:q,boundary:u,rootBoundary:p,padding:l,flipVariations:v,allowedAutoPlacements:g}):q)},[]),M=t.rects.reference,x=t.rects.popper,j=new Map,P=!0,C=w[0],R=0;R<w.length;R++){var A=w[R],k=_(A),D=oe(A)===re,B=[$,N].indexOf(k)>=0,S=B?"width":"height",H=pe(t,{placement:A,boundary:u,rootBoundary:p,altBoundary:h,padding:l}),F=B?D?W:L:D?N:$;M[S]>x[S]&&(F=xe(F));var me=xe(F),G=[];if(o&&G.push(H[k]<=0),s&&G.push(H[F]<=0,H[me]<=0),G.every(function(te){return te})){C=A,P=!1;break}j.set(A,G)}if(P)for(var ge=v?3:1,Ce=function(q){var se=w.find(function(we){var J=j.get(we);if(J)return J.slice(0,q).every(function(Ae){return Ae})});if(se)return C=se,"break"},ae=ge;ae>0;ae--){var ye=Ce(ae);if(ye==="break")break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}const rn={name:"flip",enabled:!0,phase:"main",fn:tn,requiresIfExists:["offset"],data:{_skip:!1}};function lt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ft(e){return[$,W,N,L].some(function(t){return e[t]>=0})}function nn(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,c=pe(t,{elementContext:"reference"}),s=pe(t,{altBoundary:!0}),a=lt(c,n),l=lt(s,i,o),u=ft(a),p=ft(l);t.modifiersData[r]={referenceClippingOffsets:a,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}const on={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nn};function an(e,t,r){var n=_(e),i=[L,$].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],s=o[1];return c=c||0,s=(s||0)*i,[L,W].indexOf(n)>=0?{x:s,y:c}:{x:c,y:s}}function sn(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,c=xt.reduce(function(u,p){return u[p]=an(p,t.rects,o),u},{}),s=c[t.placement],a=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=c}const un={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sn};function cn(e){var t=e.state,r=e.name;t.modifiersData[r]=At({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ln={name:"popperOffsets",enabled:!0,phase:"read",fn:cn,data:{}};function fn(e){return e==="x"?"y":"x"}function dn(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,c=r.altAxis,s=c===void 0?!1:c,a=r.boundary,l=r.rootBoundary,u=r.altBoundary,p=r.padding,h=r.tether,d=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,f=pe(t,{boundary:a,rootBoundary:l,padding:p,altBoundary:u}),y=_(t.placement),m=oe(t.placement),E=!m,w=Ne(y),M=fn(w),x=t.modifiersData.popperOffsets,j=t.rects.reference,P=t.rects.popper,C=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(x){if(o){var D,B=w==="y"?$:L,S=w==="y"?N:W,H=w==="y"?"height":"width",F=x[w],me=F+f[B],G=F-f[S],ge=d?-P[H]/2:0,Ce=m===re?j[H]:P[H],ae=m===re?-P[H]:-j[H],ye=t.elements.arrow,te=d&&ye?ze(ye):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jt(),se=q[B],we=q[S],J=le(0,j[H],te[H]),Ae=E?j[H]/2-ge-J-se-R.mainAxis:Ce-J-se-R.mainAxis,It=E?-j[H]/2+ge+J+we+R.mainAxis:ae+J+we+R.mainAxis,De=t.elements.arrow&&he(t.elements.arrow),Ut=De?w==="y"?De.clientTop||0:De.clientLeft||0:0,Ue=(D=A==null?void 0:A[w])!=null?D:0,qt=F+Ae-Ue-Ut,Kt=F+It-Ue,qe=le(d?Re(me,qt):me,F,d?Z(G,Kt):G);x[w]=qe,k[w]=qe-F}if(s){var Ke,Xt=w==="x"?$:L,Yt=w==="x"?N:W,Q=x[M],be=M==="y"?"height":"width",Xe=Q+f[Xt],Ye=Q-f[Yt],Te=[$,L].indexOf(y)!==-1,Ge=(Ke=A==null?void 0:A[M])!=null?Ke:0,Je=Te?Xe:Q-j[be]-P[be]-Ge+R.altAxis,Qe=Te?Q+j[be]+P[be]-Ge-R.altAxis:Ye,Ze=d&&Te?Lr(Je,Q,Qe):le(d?Je:Xe,Q,d?Qe:Ye);x[M]=Ze,k[M]=Ze-Q}t.modifiersData[n]=k}}const pn={name:"preventOverflow",enabled:!0,phase:"main",fn:dn,requiresIfExists:["offset"]};function vn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function hn(e){return e===z(e)||!I(e)?We(e):vn(e)}function mn(e){var t=e.getBoundingClientRect(),r=ne(t.width)/e.offsetWidth||1,n=ne(t.height)/e.offsetHeight||1;return r!==1||n!==1}function gn(e,t,r){r===void 0&&(r=!1);var n=I(t),i=I(t)&&mn(t),o=Y(t),c=ie(e,i,r),s={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(n||!n&&!r)&&((X(t)!=="body"||Ve(o))&&(s=hn(t)),I(t)?(a=ie(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):o&&(a.x=Fe(o))),{x:c.left+s.scrollLeft-a.x,y:c.top+s.scrollTop-a.y,width:c.width,height:c.height}}function yn(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(s){if(!r.has(s)){var a=t.get(s);a&&i(a)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function wn(e){var t=yn(e);return Sr.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function bn(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function On(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function pt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function xn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?dt:i;return function(s,a,l){l===void 0&&(l=o);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dt,o),modifiersData:{},elements:{reference:s,popper:a},attributes:{},styles:{}},p=[],h=!1,d={state:u,setOptions:function(y){var m=typeof y=="function"?y(u.options):y;g(),u.options=Object.assign({},o,u.options,m),u.scrollParents={reference:ee(s)?fe(s):s.contextElement?fe(s.contextElement):[],popper:fe(a)};var E=wn(On([].concat(n,u.options.modifiers)));return u.orderedModifiers=E.filter(function(w){return w.enabled}),v(),d.update()},forceUpdate:function(){if(!h){var y=u.elements,m=y.reference,E=y.popper;if(pt(m,E)){u.rects={reference:gn(m,he(E),u.options.strategy==="fixed"),popper:ze(E)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var w=0;w<u.orderedModifiers.length;w++){if(u.reset===!0){u.reset=!1,w=-1;continue}var M=u.orderedModifiers[w],x=M.fn,j=M.options,P=j===void 0?{}:j,C=M.name;typeof x=="function"&&(u=x({state:u,options:P,name:C,instance:d})||u)}}}},update:bn(function(){return new Promise(function(f){d.forceUpdate(),f(u)})}),destroy:function(){g(),h=!0}};if(!pt(s,a))return d;d.setOptions(l).then(function(f){!h&&l.onFirstUpdate&&l.onFirstUpdate(f)});function v(){u.orderedModifiers.forEach(function(f){var y=f.name,m=f.options,E=m===void 0?{}:m,w=f.effect;if(typeof w=="function"){var M=w({state:u,name:y,instance:d,options:E}),x=function(){};p.push(M||x)}})}function g(){p.forEach(function(f){return f()}),p=[]}return d}}const En=xn({defaultModifiers:[on,ln,_r,Ur,un,rn,pn,Nr]}),Mn=["enabled","placement","strategy","modifiers"];function jn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const Rn={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Pn={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,i=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&i==="tooltip"&&"setAttribute"in n){const o=n.getAttribute("aria-describedby");if(o&&o.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",o?`${o},${r.id}`:r.id)}}},Cn=[];function Dt(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:o="absolute",modifiers:c=Cn}=r,s=jn(r,Mn);const a=b.useRef(c),l=b.useRef(),u=b.useCallback(()=>{var f;(f=l.current)==null||f.update()},[]),p=b.useCallback(()=>{var f;(f=l.current)==null||f.forceUpdate()},[]),[h,d]=br(b.useState({placement:i,update:u,forceUpdate:p,attributes:{},styles:{popper:{},arrow:{}}})),v=b.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:f})=>{const y={},m={};Object.keys(f.elements).forEach(E=>{y[E]=f.styles[E],m[E]=f.attributes[E]}),d({state:f,styles:y,attributes:m,update:u,forceUpdate:p,placement:f.placement})}}),[u,p,d]),g=b.useMemo(()=>(ce(a.current,c)||(a.current=c),a.current),[c]);return b.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:i,strategy:o,modifiers:[...g,v,Rn]})},[o,i,v,n,g]),b.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=En(e,t,Object.assign({},s,{placement:i,strategy:o,modifiers:[...g,Pn,v]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,d(f=>Object.assign({},f,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),h}var An=process.env.NODE_ENV!=="production",Tt=function(){};if(An){var Dn=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var i=1;i<n;i++)r[i-1]=arguments[i];var o=0,c="Warning: "+t.replace(/%s/g,function(){return r[o++]});typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}};Tt=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var i=2;i<n;i++)r[i-2]=arguments[i];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||Dn.apply(null,[t].concat(r))}}var Tn=Tt;const _e=T.getDefaultExportFromCjs(Tn),vt=()=>{};function Sn(e){return e.button===0}function Bn(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Ee=e=>e&&("current"in e?e.current:e),ht={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function St(e,t=vt,{disabled:r,clickTrigger:n="click"}={}){const i=b.useRef(!1),o=b.useRef(!1),c=b.useCallback(l=>{const u=Ee(e);_e(!!u,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),i.current=!u||Bn(l)||!Sn(l)||!!O.contains(u,l.target)||o.current,o.current=!1},[e]),s=O.useEventCallback(l=>{const u=Ee(e);u&&O.contains(u,l.target)&&(o.current=!0)}),a=O.useEventCallback(l=>{i.current||t(l)});b.useEffect(()=>{var l,u;if(r||e==null)return;const p=O.ownerDocument(Ee(e)),h=p.defaultView||window;let d=(l=h.event)!=null?l:(u=h.parent)==null?void 0:u.event,v=null;ht[n]&&(v=O.listen(p,ht[n],s,!0));const g=O.listen(p,n,c,!0),f=O.listen(p,n,m=>{if(m===d){d=void 0;return}a(m)});let y=[];return"ontouchstart"in p.documentElement&&(y=[].slice.call(p.body.children).map(m=>O.listen(m,"mousemove",vt))),()=>{v==null||v(),g(),f(),y.forEach(m=>m())}},[e,r,n,c,s,a])}function $n(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Ln(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Bt({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:o,containerPadding:c,arrowElement:s,popperConfig:a={}}){var l,u,p,h,d;const v=$n(a.modifiers);return Object.assign({},a,{placement:r,enabled:e,strategy:o?"fixed":a.strategy,modifiers:Ln(Object.assign({},v,{eventListeners:{enabled:t,options:(l=v.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},v.preventOverflow,{options:c?Object.assign({padding:c},(u=v.preventOverflow)==null?void 0:u.options):(p=v.preventOverflow)==null?void 0:p.options}),offset:{options:Object.assign({offset:i},(h=v.offset)==null?void 0:h.options)},arrow:Object.assign({},v.arrow,{enabled:!!s,options:Object.assign({},(d=v.arrow)==null?void 0:d.options,{element:s})}),flip:Object.assign({enabled:!!n},v.flip)}))})}const kn=()=>{};function Hn(e,t,{disabled:r,clickTrigger:n}={}){const i=t||kn;St(e,i,{disabled:r,clickTrigger:n});const o=O.useEventCallback(c=>{O.isEscKey(c)&&i(c)});b.useEffect(()=>{if(r||e==null)return;const c=O.ownerDocument(Ee(e));let s=(c.defaultView||window).event;const a=O.listen(c,"keyup",l=>{if(l===s){s=void 0;return}o(l)});return()=>{a()}},[e,r,o])}const $t=K.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:o,popperConfig:c={},transition:s,runTransition:a}=e,[l,u]=O.useCallbackRef(),[p,h]=O.useCallbackRef(),d=O.useMergedRefs(u,t),v=O.useWaitForDOMRef(e.container),g=O.useWaitForDOMRef(e.target),[f,y]=b.useState(!e.show),m=Dt(g,l,Bt({placement:i,enableEvents:!!e.show,containerPadding:o||5,flip:r,offset:n,arrowElement:p,popperConfig:c}));e.show&&f&&y(!1);const E=(...A)=>{y(!0),e.onExited&&e.onExited(...A)},w=e.show||!f;if(Hn(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;const{onExit:M,onExiting:x,onEnter:j,onEntering:P,onEntered:C}=e;let R=e.children(Object.assign({},m.attributes.popper,{style:m.styles.popper,ref:d}),{popper:m,placement:i,show:!!e.show,arrowProps:Object.assign({},m.attributes.arrow,{style:m.styles.arrow,ref:h})});return R=O.renderTransition(s,a,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:R,onExit:M,onExiting:x,onExited:E,onEnter:j,onEntering:P,onEntered:C}),v?Gt.createPortal(R,v):null});$t.displayName="Overlay";const zn=$t,Lt=K.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=O.useBootstrapPrefix(t,"popover-header"),T.jsxRuntimeExports.jsx(r,{ref:i,className:T.classNames(e,t),...n})));Lt.displayName="PopoverHeader";const Nn=Lt,kt=K.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=O.useBootstrapPrefix(t,"popover-body"),T.jsxRuntimeExports.jsx(r,{ref:i,className:T.classNames(e,t),...n})));kt.displayName="PopoverBody";const Ht=kt;function zt(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Nt(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const Wn=K.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:o,arrowProps:c,hasDoneInitialMeasure:s,popper:a,show:l,...u},p)=>{const h=O.useBootstrapPrefix(e,"popover"),d=O.useIsRTL(),[v]=(t==null?void 0:t.split("-"))||[],g=zt(v,d);let f=n;return l&&!s&&(f={...n,...Nt(a==null?void 0:a.strategy)}),T.jsxRuntimeExports.jsxs("div",{ref:p,role:"tooltip",style:f,"x-placement":v,className:T.classNames(r,h,v&&`bs-popover-${g}`),...u,children:[T.jsxRuntimeExports.jsx("div",{className:"popover-arrow",...c}),o?T.jsxRuntimeExports.jsx(Ht,{children:i}):i]})}),Wt=Object.assign(Wn,{Header:Nn,Body:Ht,POPPER_OFFSET:[0,8]}),Ft=K.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:o,hasDoneInitialMeasure:c,popper:s,show:a,...l},u)=>{e=O.useBootstrapPrefix(e,"tooltip");const p=O.useIsRTL(),[h]=(t==null?void 0:t.split("-"))||[],d=zt(h,p);let v=n;return a&&!c&&(v={...n,...Nt(s==null?void 0:s.strategy)}),T.jsxRuntimeExports.jsxs("div",{ref:u,style:v,role:"tooltip","x-placement":h,className:T.classNames(r,e,`bs-tooltip-${d}`),...l,children:[T.jsxRuntimeExports.jsx("div",{className:"tooltip-arrow",...o}),T.jsxRuntimeExports.jsx("div",{className:`${e}-inner`,children:i})]})});Ft.displayName="Tooltip";const Ie=Object.assign(Ft,{TOOLTIP_OFFSET:[0,6]});function Fn(e){const t=b.useRef(null),r=O.useBootstrapPrefix(void 0,"popover"),n=O.useBootstrapPrefix(void 0,"tooltip"),i=b.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(O.hasClass(t.current,r))return Wt.POPPER_OFFSET;if(O.hasClass(t.current,n))return Ie.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function Vn(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(O.safeFindDOMNode(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(O.safeFindDOMNode(i)))}const Vt=K.forwardRef(({children:e,transition:t=O.Fade,popperConfig:r={},rootClose:n=!1,placement:i="top",show:o=!1,...c},s)=>{const a=b.useRef({}),[l,u]=b.useState(null),[p,h]=Fn(c.offset),d=O.useMergedRefs(s,p),v=t===!0?O.Fade:t||void 0,g=O.useEventCallback(f=>{u(f),r==null||r.onFirstUpdate==null||r.onFirstUpdate(f)});return O.useIsomorphicEffect(()=>{l&&c.target&&(a.current.scheduleUpdate==null||a.current.scheduleUpdate())},[l,c.target]),b.useEffect(()=>{o||u(null)},[o]),T.jsxRuntimeExports.jsx(zn,{...c,ref:d,popperConfig:{...r,modifiers:h.concat(r.modifiers||[]),onFirstUpdate:g},transition:v,rootClose:n,placement:i,show:o,children:(f,{arrowProps:y,popper:m,show:E})=>{var w,M;Vn(f,y);const x=m==null?void 0:m.placement,j=Object.assign(a.current,{state:m==null?void 0:m.state,scheduleUpdate:m==null?void 0:m.update,placement:x,outOfBoundaries:(m==null||(w=m.state)==null||(M=w.modifiersData.hide)==null?void 0:M.isReferenceHidden)||!1,strategy:r.strategy}),P=!!l;return typeof e=="function"?e({...f,placement:x,show:E,...!t&&E&&{className:"show"},popper:j,arrowProps:y,hasDoneInitialMeasure:P}):K.cloneElement(e,{...f,placement:x,arrowProps:y,popper:j,hasDoneInitialMeasure:P,className:T.classNames(e.props.className,!t&&E&&"show"),style:{...e.props.style,...f.style}})}})});Vt.displayName="Overlay";const _n=Vt;function In(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function mt(e,t,r){const[n]=t,i=n.currentTarget,o=n.relatedTarget||n.nativeEvent[r];(!o||o!==i)&&!O.contains(i,o)&&e(...t)}O.PropTypes.oneOf(["click","hover","focus"]);const Un=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:o=!1,onToggle:c,delay:s,placement:a,flip:l=a&&a.indexOf("auto")!==-1,...u})=>{const p=b.useRef(null),h=O.useMergedRefs(p,r.ref),d=wr(),v=b.useRef(""),[g,f]=wt(i,o,c),y=In(s),{onFocus:m,onBlur:E,onClick:w}=typeof r!="function"?K.Children.only(r).props:{},M=S=>{h(O.safeFindDOMNode(S))},x=b.useCallback(()=>{if(d.clear(),v.current="show",!y.show){f(!0);return}d.set(()=>{v.current==="show"&&f(!0)},y.show)},[y.show,f,d]),j=b.useCallback(()=>{if(d.clear(),v.current="hide",!y.hide){f(!1);return}d.set(()=>{v.current==="hide"&&f(!1)},y.hide)},[y.hide,f,d]),P=b.useCallback((...S)=>{x(),m==null||m(...S)},[x,m]),C=b.useCallback((...S)=>{j(),E==null||E(...S)},[j,E]),R=b.useCallback((...S)=>{f(!g),w==null||w(...S)},[w,f,g]),A=b.useCallback((...S)=>{mt(x,S,"fromElement")},[x]),k=b.useCallback((...S)=>{mt(j,S,"toElement")},[j]),D=e==null?[]:[].concat(e),B={ref:M};return D.indexOf("click")!==-1&&(B.onClick=R),D.indexOf("focus")!==-1&&(B.onFocus=P,B.onBlur=C),D.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&_e(D.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),B.onMouseOver=A,B.onMouseOut=k),T.jsxRuntimeExports.jsxs(T.jsxRuntimeExports.Fragment,{children:[typeof r=="function"?r(B):b.cloneElement(r,B),T.jsxRuntimeExports.jsx(_n,{...u,show:g,onHide:j,flip:l,placement:a,popperConfig:n,target:p.current,children:t})]})},_t=Un,qn=({text:e,placement:t,children:r})=>T.jsxRuntimeExports.jsx(_t,{placement:t,overlay:T.jsxRuntimeExports.jsx(Ie,{className:"luminus-tooltip",children:e}),children:r});exports.MdCheck=ar;exports.MdClear=or;exports.MdOutlineAddCircleOutline=lr;exports.MdOutlineArrowOutward=sr;exports.MdOutlineCheck=vr;exports.MdOutlineDelete=ur;exports.MdOutlineEdit=pr;exports.MdOutlineExpand=cr;exports.MdOutlineKeyboardArrowLeft=fr;exports.MdOutlineKeyboardArrowRight=dr;exports.MdOutlineMoreHoriz=hr;exports.OverlayTrigger=_t;exports.Popover=Wt;exports.SimpleTooltip=qn;exports.Tooltip=Ie;exports.mergeOptionsWithPopperConfig=Bt;exports.useClickOutside=St;exports.usePopper=Dt;exports.useUncontrolled=yr;exports.warning=_e;
|