idea-react 3.0.0-rc.2 → 3.0.0-rc.3

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-5iZMYShA.js");let t=require("@swc/helpers/_/_apply_decs_2203_r"),n=require("@swc/helpers/_/_class_private_field_get"),r=require("@swc/helpers/_/_class_private_field_init"),i=require("@swc/helpers/_/_class_private_field_set"),a=require("@swc/helpers/_/_define_property"),o=require("@swc/helpers/_/_identity"),s=require("@swc/helpers/_/_object_spread"),c=require("@swc/helpers/_/_object_spread_props"),l=require("@swc/helpers/_/_object_without_properties"),u=require("react/jsx-runtime"),d=require("classnames");d=e.n(d);let f=require("mobx"),p=require("mobx-react"),m=require("react");m=e.n(m);let h=require("react-dom"),g=require("web-utility"),_=require("@shikijs/langs/css");_=e.n(_);let v=require("@shikijs/langs/html");v=e.n(v);let y=require("@shikijs/langs/javascript");y=e.n(y);let b=require("@shikijs/langs/json");b=e.n(b);let x=require("@shikijs/langs/jsx");x=e.n(x);let S=require("@shikijs/langs/sh");S=e.n(S);let C=require("@shikijs/langs/tsx");C=e.n(C);let w=require("@shikijs/langs/typescript");w=e.n(w);let T=require("@shikijs/themes/github-dark");T=e.n(T);let E=require("@shikijs/themes/github-light");E=e.n(E);let D=require("shiki/core"),O=require("shiki/engine/javascript"),k=require("mobx-react-helper"),A=require("iterable-observer"),j=require("react-live"),M=require("marked"),N=require("@swc/helpers/_/_async_to_generator"),P=require("html2canvas");P=e.n(P);let F=require("react-dom/server");const I=e=>e,L=I(e=>{let{as:t=`span`,className:n,style:r,name:i,size:a,"aria-hidden":o,"aria-label":f,"aria-labelledby":p}=e,m=(0,l._)(e,[`as`,`className`,`style`,`name`,`size`,`aria-hidden`,`aria-label`,`aria-labelledby`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`bi-${i}`,n),style:(0,s._)({fontSize:a&&`${a}rem`},r),"aria-hidden":o==null?f||p?void 0:!0:o,"aria-label":f,"aria-labelledby":p}))});L.displayName=`Icon`;const ee=e=>typeof e.href==`string`,te=e=>e.preventDefault(),R=I(e=>{let{as:t,variant:n,theme:r,size:i,icon:a,styled:o,disabled:f,active:p,className:m}=e,h=(0,l._)(e,[`as`,`variant`,`theme`,`size`,`icon`,`styled`,`disabled`,`active`,`className`]);var g;let _=h,v=ee(_),y=t==null?v?`a`:`button`:t,b=y===`button`,x=(g=_.role)==null?v?`link`:`button`:g,S=!b&&f?typeof y==`string`?void 0:te:_.onClick,C=(0,d.default)(n===!1?void 0:n?`btn-${n}`:a?void 0:`btn`,r&&`theme-${r}`,i&&`btn-${i}`,{"btn-icon":a,"btn-styled":o,disabled:f,active:p},m);return/*#__PURE__*/ (0,u.jsx)(y,(0,c._)((0,s._)({},_),{className:C,role:x,type:b?_.type||`button`:_.type,href:f?void 0:_.href,disabled:b||typeof y!=`string`?f:void 0,"aria-disabled":!b&&f||void 0,"aria-pressed":!v||x===`button`?p==null?_[`aria-pressed`]:p:_[`aria-pressed`],tabIndex:!b&&f?-1:_.tabIndex,onClick:S}))});R.displayName=`Button`;const ne=I(e=>{let{as:t=`input`,variant:n,theme:r,size:i,icon:a,styled:o,active:f,className:p,type:m=`button`}=e,h=(0,l._)(e,[`as`,`variant`,`theme`,`size`,`icon`,`styled`,`active`,`className`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{type:m,className:(0,d.default)(n===!1?void 0:n?`btn-${n}`:`btn`,r&&`theme-${r}`,i&&`btn-${i}`,{"btn-icon":a,"btn-styled":o,active:f},p)}))});ne.displayName=`ButtonInput`;let re;var z,ie,ae,oe,se,ce,le;const ue=I(e=>{let{as:t=`div`,theme:n,size:r,flush:i,gap:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`size`,`flush`,`gap`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)(`accordion`,n&&`theme-${n}`,r&&`accordion-${r}`,{"accordion-flush":i,"accordion-gap":a},o)}))});ue.displayName=`Accordion`;const de=I(e=>{let{as:t=`details`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`accordion-item`,n)}))});de.displayName=`AccordionItem`;const fe=I(e=>{let{as:t=`summary`,icon:n=`chevron-down`,className:r,children:i}=e,a=(0,l._)(e,[`as`,`icon`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`accordion-header`,r),children:[i,n&&/*#__PURE__*/ (0,u.jsx)(L,{name:n,className:`accordion-icon`})]}))});fe.displayName=`AccordionHeader`;const pe=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`accordion-body`,n)}))});pe.displayName=`AccordionBody`;let me;new(re=(z=/*#__PURE__*/ new WeakMap,ie=class extends (se=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,z)}set expanded(e){(0,i._)(this,z,e)}get items(){var e,t;return[...(e=(t=document.querySelector(this.componentProps.target))==null?void 0:t.querySelectorAll(`:scope > .accordion-item`))==null?[]:e]}componentDidMount(){document.addEventListener(`toggle`,this.refresh,!0),this.refresh()}componentDidUpdate(e){e.target!==this.componentProps.target&&(this.restoreNames(),this.refresh())}componentWillUnmount(){document.removeEventListener(`toggle`,this.refresh,!0),this.restoreNames()}render(){let e=this.componentProps,{target:t}=e,n=(0,l._)(e,[`target`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:this.componentProps.as},n),{"aria-expanded":this.expanded,onClick:this.handleClick}))}constructor(...e){super(...e),(0,r._)(this,z,{writable:!0,value:(le(this),ce(this,!1))}),(0,a._)(this,`names`,/* @__PURE__ */ new Map),(0,a._)(this,`restoreNames`,()=>{for(let[e,t]of this.names)e.setAttribute(`name`,t);this.names.clear()}),(0,a._)(this,`refresh`,(0,f.action)(()=>{let{items:e}=this;this.expanded=!!e.length&&e.every(({open:e})=>e)})),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented)return;let{items:r,expanded:i}=this;for(let e of r){let t=e.getAttribute(`name`);!i&&t&&(this.names.set(e,t),e.removeAttribute(`name`)),e.open=!i}i&&this.restoreNames(),this.refresh()})}},{e:[ce,le],c:[me,oe]}=(0,t._)(ie,[[f.observable,1,`expanded`]],[p.observer],se),ie),ae=class extends o._{constructor(){super(me),(0,a._)(this,`displayName`,`AccordionToggle`),oe()}},(0,a._)(ae,re,void 0),ae);const B=I(e=>{let{as:t=`button`,dismiss:n,className:r,type:i=`button`,"aria-label":a=`Close`}=e,o=(0,l._)(e,[`as`,`dismiss`,`className`,`type`,`aria-label`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:i,className:(0,d.default)(`btn-close`,r),"data-bs-dismiss":n,"aria-label":a}))});B.displayName=`CloseButton`;let he;var ge,_e,ve,ye,be,xe,Se,Ce,we;let V;new(he=(ge=/*#__PURE__*/ new WeakMap,_e=/*#__PURE__*/ new WeakMap,ve=class extends (xe=m.Component){get componentProps(){return this.props}get hiding(){return(0,n._)(this,ge)}set hiding(e){(0,i._)(this,ge,e)}get closed(){return(0,n._)(this,_e)}set closed(e){(0,i._)(this,_e,e)}componentDidUpdate(){if(this.closed&&!this.notified){var e,t;this.notified=!0,(e=(t=this.componentProps).onClosed)==null||e.call(t)}}componentWillUnmount(){clearTimeout(this.timer)}render(){var e,t;let n=(e=this.componentProps.as)==null?`div`:e,r=this.componentProps,{as:i,theme:a,dismissible:o,instant:f,closeLabel:p=`Close`,onClose:m,onClosed:h,className:g,children:_}=r,v=(0,l._)(r,[`as`,`theme`,`dismissible`,`instant`,`closeLabel`,`onClose`,`onClosed`,`className`,`children`]);return this.closed?null:/*#__PURE__*/ (0,u.jsxs)(n,(0,c._)((0,s._)({},v),{ref:this.root,role:(t=v.role)==null?`alert`:t,className:(0,d.default)(`alert`,a&&`theme-${a}`,{"alert-instant":f,hiding:this.hiding},g),onTransitionEnd:this.handleTransitionEnd,children:[_,o&&/*#__PURE__*/ (0,u.jsx)(B,{className:`ms-auto`,"aria-label":p,onClick:this.handleClose})]}))}constructor(...e){super(...e),(0,r._)(this,ge,{writable:!0,value:(we(this),Se(this,!1))}),(0,r._)(this,_e,{writable:!0,value:Ce(this,!1)}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`timer`,void 0),(0,a._)(this,`notified`,!1),(0,a._)(this,`finishClose`,(0,f.action)(()=>{this.closed||(clearTimeout(this.timer),this.closed=!0)})),(0,a._)(this,`close`,(0,f.action)(()=>{var e,t;if(this.hiding||this.closed)return;if((e=(t=this.componentProps).onClose)==null||e.call(t),this.componentProps.instant)return this.finishClose();this.hiding=!0;let n=getComputedStyle(this.root.current),r=n.transitionDuration.split(`,`).map(V.milliseconds),i=n.transitionDelay.split(`,`).map(V.milliseconds),a=Math.max(0,...r.map((e,t)=>e+(i[t%i.length]||0)));this.timer=setTimeout(this.finishClose,a)})),(0,a._)(this,`handleClose`,e=>{e.defaultPrevented||this.close()}),(0,a._)(this,`handleTransitionEnd`,e=>{var t,n;(t=(n=this.componentProps).onTransitionEnd)==null||t.call(n,e),e.target===e.currentTarget&&this.hiding&&this.finishClose()})}},{e:[Se,Ce,we],c:[V,be]}=(0,t._)(ve,[[f.observable,1,`hiding`],[f.observable,1,`closed`]],[p.observer],xe),ve),ye=class extends o._{constructor(){super(V),(0,a._)(this,`displayName`,`Alert`),(0,a._)(this,`milliseconds`,e=>(parseFloat(e)||0)*(e.trim().endsWith(`ms`)?1:1e3)),be()}},(0,a._)(ye,he,void 0),ye);const Te=I(e=>{let{as:t=`a`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`alert-link`,n)}))});Te.displayName=`AlertLink`;const Ee=I(e=>{let{as:t=`h4`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`alert-heading`,n)}))});Ee.displayName=`AlertHeading`;const De=I(e=>{let{as:t=`span`,className:n,style:r,size:i,theme:a,subtle:o,src:f,alt:p,status:m,statusLabel:h=m,children:g}=e,_=(0,l._)(e,[`as`,`className`,`style`,`size`,`theme`,`subtle`,`src`,`alt`,`status`,`statusLabel`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({className:(0,d.default)(`avatar`,typeof i==`string`&&`avatar-${i}`,a&&`theme-${a}`,o&&`avatar-subtle`,n),style:typeof i==`number`?(0,s._)({"--bs-avatar-size":`${i}rem`},r):r},_),{children:[f?/*#__PURE__*/ (0,u.jsx)(`img`,{className:`avatar-img`,src:f,alt:p}):g,m&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`avatar-status status-${m}`,role:`img`,"aria-label":h})]}))});De.displayName=`Avatar`;const Oe=I(e=>{let{as:t=`img`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`avatar-img`,n)}))});Oe.displayName=`AvatarImage`;const ke=I(e=>{let{as:t=`div`,className:n,size:r,children:i}=e,a=(0,l._)(e,[`as`,`className`,`size`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:(0,d.default)(`avatar-stack`,r&&`avatar-stack-${r}`,n)},a),{children:i}))});ke.displayName=`AvatarStack`;const Ae=e=>typeof e.href==`string`,H=I(e=>{let{as:t,variant:n=`solid`,theme:r,pill:i,className:a}=e,o=(0,l._)(e,[`as`,`variant`,`theme`,`pill`,`className`]),f=t==null?Ae(o)?`a`:`span`:t,p=(0,d.default)(`badge`,n!==`solid`&&`badge-${n}`,r&&`theme-${r}`,{"rounded-pill":i},a);return/*#__PURE__*/ (0,u.jsx)(f,(0,c._)((0,s._)({},o),{className:p}))});H.displayName=`Badge`;const je=I(e=>{let{as:t=`ol`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`breadcrumb`,n)}))});je.displayName=`Breadcrumb`;const Me=I(e=>{let{as:t=`li`,active:n,className:r,"aria-current":i=n?`page`:void 0}=e,a=(0,l._)(e,[`as`,`active`,`className`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`breadcrumb-item`,{active:n},r),"aria-current":i}))});Me.displayName=`BreadcrumbItem`;const Ne=I(e=>{let{as:t=`a`,active:n,className:r,"aria-current":i=n?`page`:void 0}=e,a=(0,l._)(e,[`as`,`active`,`className`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`breadcrumb-link`,{active:n},r),"aria-current":i}))});Ne.displayName=`BreadcrumbLink`;const Pe=I(e=>{let{as:t=`li`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`breadcrumb-divider`,n),"aria-hidden":`true`}))});Pe.displayName=`BreadcrumbDivider`;const Fe=I(e=>{let{as:t=`div`,vertical:n,size:r,divider:i,role:a=`group`,className:o}=e,f=(0,l._)(e,[`as`,`vertical`,`size`,`divider`,`role`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({role:a},f),{className:(0,d.default)(n?`btn-group-vertical`:`btn-group`,r&&`btn-group-${r}`,i&&`btn-group-divider`,o)}))});Fe.displayName=`ButtonGroup`;const Ie=I(e=>{let{as:t=`div`,className:n,role:r=`toolbar`}=e,i=(0,l._)(e,[`as`,`className`,`role`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({role:r},i),{className:(0,d.default)(`btn-toolbar`,n)}))});Ie.displayName=`ButtonToolbar`;const Le=I(e=>{let{as:t=`div`,row:n,body:r,theme:i,subtle:a,translucent:o,className:f}=e,p=(0,l._)(e,[`as`,`row`,`body`,`theme`,`subtle`,`translucent`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`card`,{"card-row":n,"card-body":r,"card-subtle":a,"card-translucent":o},i&&`theme-${i}`,f)}))});Le.displayName=`Card`;const Re=I(e=>{let{as:t=`img`,placement:n,className:r}=e,i=(0,l._)(e,[`as`,`placement`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(n?`card-img-${n}`:`card-img`,r)}))});Re.displayName=`CardImage`;const ze=I(e=>{let{as:t=`p`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-subtitle`,n)}))});ze.displayName=`CardSubtitle`;const Be=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-group`,n)}))});Be.displayName=`CardGroup`;const Ve=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-img-overlay`,n)}))});Ve.displayName=`CardImageOverlay`;const He=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-header`,n)}))});He.displayName=`CardHeader`;const Ue=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-body`,n)}))});Ue.displayName=`CardBody`;const We=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-footer`,n)}))});We.displayName=`CardFooter`;const Ge=I(e=>{let{as:t=`h4`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-title`,n)}))});Ge.displayName=`CardTitle`;const Ke=I(e=>{let{as:t=`p`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-text`,n)}))});Ke.displayName=`CardText`;var qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,U=/*#__PURE__*/ new WeakMap,it=/*#__PURE__*/ new WeakMap,at=/*#__PURE__*/ new WeakMap,ot=/*#__PURE__*/ new WeakMap,st=class{get activeIndex(){return(0,n._)(this,U)}set activeIndex(e){(0,i._)(this,U,e)}get playing(){return(0,n._)(this,it)}set playing(e){(0,i._)(this,it,e)}get hovering(){return(0,n._)(this,at)}set hovering(e){(0,i._)(this,at,e)}get visible(){return(0,n._)(this,ot)}set visible(e){(0,i._)(this,ot,e)}get cycling(){return this.playing&&!this.hovering&&this.visible}constructor(e,t,n){(0,a._)(this,`count`,void 0),(0,a._)(this,`ends`,void 0),(0,a._)(this,`interval`,void 0),(0,r._)(this,U,{writable:!0,value:void 0}),(0,r._)(this,it,{writable:!0,value:void 0}),(0,a._)(this,`timer`,void 0),(0,r._)(this,at,{writable:!0,value:void 0}),(0,r._)(this,ot,{writable:!0,value:void 0}),(0,a._)(this,`onChange`,void 0),(0,a._)(this,`onNavigate`,void 0),(0,a._)(this,`setIndex`,void 0),(0,a._)(this,`next`,void 0),(0,a._)(this,`previous`,void 0),(0,a._)(this,`play`,void 0),(0,a._)(this,`pause`,void 0),(0,a._)(this,`toggle`,void 0),(0,a._)(this,`setHovering`,void 0),(0,a._)(this,`setVisible`,void 0),(0,a._)(this,`update`,void 0),(0,a._)(this,`dispose`,void 0),(0,a._)(this,`schedule`,void 0),(0,a._)(this,`clearTimer`,void 0),this.count=e,this.ends=t,this.interval=n,(0,i._)(this,U,(rt(this),qe(this,0))),(0,i._)(this,it,Je(this,!1)),(0,i._)(this,at,Ye(this,!1)),(0,i._)(this,ot,Xe(this,!0)),this.setIndex=Ze(this,(e,t=!1,n,r=!1)=>{let i=Math.max(0,Math.min(e,this.count-1));if(i!==this.activeIndex){var a,o,s,c;let e=this.activeIndex;this.activeIndex=i,(a=(o=this).onChange)==null||a.call(o,i),r||(s=(c=this).onNavigate)==null||s.call(c,i,e,n)}t?this.pause():this.schedule()}),this.next=Qe(this,(e=!1)=>{this.activeIndex===this.count-1&&this.ends===`stop`?e||this.pause():this.setIndex(this.activeIndex===this.count-1?0:this.activeIndex+1,e,1)}),this.previous=$e(this,(e=!1)=>{this.activeIndex===0&&this.ends===`stop`?e||this.pause():this.setIndex(this.activeIndex===0?this.count-1:this.activeIndex-1,e,-1)}),this.play=et(this,()=>{this.playing=!0,this.schedule()}),this.pause=tt(this,()=>{this.playing=!1,this.clearTimer()}),this.toggle=nt(this,()=>this.playing?this.pause():this.play()),this.setHovering=(0,f.action)(e=>{this.hovering=e,this.schedule()}),this.setVisible=(0,f.action)(e=>{this.visible=e,this.schedule()}),this.update=(e,t,n)=>{this.count=e,this.ends=t,this.interval=n,this.activeIndex>=e?this.setIndex(Math.max(0,e-1)):this.schedule()},this.dispose=()=>this.clearTimer(),this.schedule=()=>{this.clearTimer(),!this.cycling||this.count<2||(this.timer=setTimeout(this.next,Math.max(0,this.interval(this.activeIndex))))},this.clearTimer=()=>{this.timer&&clearTimeout(this.timer),this.timer=void 0}}};({e:[qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt]}=(0,t._)(st,[[f.observable,1,`activeIndex`],[f.observable,1,`playing`],[f.observable,1,`hovering`],[f.observable,1,`visible`],[f.computed,3,`cycling`],[f.action,0,`setIndex`],[f.action,0,`next`],[f.action,0,`previous`],[f.action,0,`play`],[f.action,0,`pause`],[f.action,0,`toggle`]],[]));var ct=class{get looping(){return!!this.clone||this.frame!==void 0}constructor(){(0,a._)(this,`frame`,void 0),(0,a._)(this,`clone`,void 0),(0,a._)(this,`track`,void 0),(0,a._)(this,`snap`,``),(0,a._)(this,`navigate`,(e,t,n)=>{this.dispose(),!n||e.scrollLeft===t?e.scrollTo({left:t,behavior:`instant`}):(this.track=e,this.snap=e.style.scrollSnapType,e.style.scrollSnapType=`none`,this.animate(e,e.scrollLeft,t))}),(0,a._)(this,`loop`,(e,t,n,r)=>{this.dispose(),this.track=e,this.snap=e.style.scrollSnapType;let i=n.cloneNode(!0);i.removeAttribute(`id`);for(let e of i.querySelectorAll(`[id]`))e.removeAttribute(`id`);i.setAttribute(`aria-hidden`,`true`),i.inert=!0,i.dataset.carouselClone=`true`,i.classList.remove(`active`),this.clone=i,e.style.scrollSnapType=`none`,r?e.append(i):e.prepend(i);let a=t.offsetLeft,o=i.offsetLeft;e.scrollTo({left:a,behavior:`instant`}),this.animate(e,a,o,()=>{this.dispose(),e.scrollTo({left:n.offsetLeft,behavior:`instant`})})}),(0,a._)(this,`animate`,(e,t,n,r=this.dispose)=>{let i=window.performance.now(),a=o=>{let s=Math.min(1,(o-i)/400),c=1-Math.pow(1-s,3);e.scrollTo({left:t+(n-t)*c,behavior:`instant`}),s<1?this.frame=window.requestAnimationFrame(a):r()};this.frame=window.requestAnimationFrame(a)}),(0,a._)(this,`dispose`,()=>{var e;this.frame!==void 0&&window.cancelAnimationFrame(this.frame),this.frame=void 0,(e=this.clone)==null||e.remove(),this.clone=void 0,this.track&&(this.track.style.scrollSnapType=this.snap),this.track=void 0})}},lt={paused:`HR-isq_paused`};let ut;var dt,ft,pt,mt;const ht=I(e=>{let{as:t=`div`,interval:n,active:r,className:i,children:a}=e,o=(0,l._)(e,[`as`,`interval`,`active`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`carousel-item`,{active:r},i),"data-bs-interval":n,children:a}))});ht.displayName=`CarouselSlide`;let gt;new(ut=(dt=class extends (mt=m.Component){componentDidMount(){var e;this.updateStore(),this.props.autoplay&&this.store.play(),document.addEventListener(`visibilitychange`,this.handleVisibilityChange),(e=this.track.current)==null||e.addEventListener(`scroll`,this.handleScroll,{passive:!0})}componentDidUpdate(){var e;this.updateStore();let t=document.activeElement;if(t instanceof HTMLButtonElement&&t.disabled&&(e=this.root.current)!=null&&e.contains(t)){var n;let e=t.dataset.carouselAction===`next`?`previous`:`next`;(n=this.root.current.querySelector(`[data-carousel-action="${e}"]`))==null||n.focus()}}componentWillUnmount(){var e;this.store.dispose(),this.scroller.dispose(),document.removeEventListener(`visibilitychange`,this.handleVisibilityChange),(e=this.track.current)==null||e.removeEventListener(`scroll`,this.handleScroll)}render(){var e,t,n;let r=(e=this.props.as)==null?`div`:e,i=this.getSlides(),a=this.props,{as:o,auto:f,autoplay:p,center:m,children:h,className:g,controls:_,controlsPlacement:v=`overlay`,controlsClassName:y,controlsStart:b,dark:x,ends:S,fade:C,indicators:w,indicatorPlacement:T,innerClassName:E,interval:D,items:O,itemsGap:k,itemsPeek:A,keyboard:j,onChange:M,onClick:N,pause:P,playPause:F,style:I}=a,L=(0,l._)(a,/* @__PURE__ */ `as.auto.autoplay.center.children.className.controls.controlsPlacement.controlsClassName.controlsStart.dark.ends.fade.indicators.indicatorPlacement.innerClassName.interval.items.itemsGap.itemsPeek.keyboard.onChange.onClick.pause.playPause.style`.split(`.`)),ee=v===`overlay`,te=(0,s._)({},I,O&&{"--bs-carousel-items":O},k!==void 0&&{"--bs-carousel-items-gap":k},A!==void 0&&{"--bs-carousel-items-peek":A},this.store.playing&&{"--bs-carousel-interval":`${this.getSlideInterval(this.store.activeIndex)}ms`});return/*#__PURE__*/ (0,u.jsxs)(r,(0,c._)((0,s._)((0,c._)((0,s._)({},L),{ref:this.root,className:(0,d.default)(`carousel`,{"carousel-overlay":ee,"carousel-auto":f,"carousel-fade":C,"carousel-dark":x,"carousel-center":m,"carousel-playing":this.store.playing,[lt.paused]:this.store.playing&&!this.store.cycling},g),style:te,role:`region`,"aria-label":(t=this.props[`aria-label`])==null?`Carousel`:t,"aria-roledescription":`carousel`}),x&&{"data-bs-theme":`dark`}),{onClick:this.handleClick,onKeyDown:this.handleKeyDown,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onFocusCapture:this.handleFocusCapture,onBlurCapture:this.handleBlurCapture,children:[v===`top`&&this.renderControls(),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.track,className:(0,d.default)(`carousel-inner`,E),tabIndex:0,"aria-label":(n=this.props[`aria-label`])==null?`Carousel slides`:n,onScroll:this.handleScroll,children:i.map(this.renderSlide)}),v!==`top`&&this.renderControls()]}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`track`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new st(0,`loop`,()=>5e3)),(0,a._)(this,`scroller`,new ct),(0,a._)(this,`getSlides`,()=>m.Children.toArray(this.props.children)),(0,a._)(this,`getSlideInterval`,e=>{var t;let n=this.getSlides()[e],r=/*#__PURE__*/ (0,m.isValidElement)(n)?n.props.interval:void 0;return(t=r==null?this.props.interval:r)==null?5e3:t}),(0,a._)(this,`updateStore`,()=>{var e;let t=this.getSlides();this.store.onChange=this.props.onChange,this.store.onNavigate=this.scrollToActive,this.store.update(t.length,(e=this.props.ends)==null?`loop`:e,this.getSlideInterval)}),(0,a._)(this,`handleVisibilityChange`,()=>this.store.setVisible(!document.hidden)),(0,a._)(this,`handleMouseEnter`,()=>{this.props.pause!==!1&&this.store.setHovering(!0)}),(0,a._)(this,`handleMouseLeave`,()=>this.store.setHovering(!1)),(0,a._)(this,`handleFocusCapture`,()=>{this.props.pause!==!1&&this.store.setHovering(!0)}),(0,a._)(this,`handleBlurCapture`,({currentTarget:e,relatedTarget:t})=>{t instanceof Node&&e.contains(t)||this.store.setHovering(!1)}),(0,a._)(this,`handleScroll`,()=>{let e=this.track.current;if(!e||this.scroller.looping)return;let t=[...e.children],n=t.reduce((n,r,i)=>{var a;return Math.abs(r.offsetLeft-e.scrollLeft)<Math.abs(((a=t[n])==null?void 0:a.offsetLeft)-e.scrollLeft)?i:n},0);n!==this.store.activeIndex&&this.store.setIndex(n,!0,void 0,!0)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.props).onKeyDown)==null||t.call(n,e),e.defaultPrevented||this.scroller.looping||this.props.keyboard===!1||e.altKey||e.ctrlKey||e.metaKey||e.target instanceof HTMLElement&&/^(INPUT|TEXTAREA|SELECT)$/.test(e.target.tagName)||(e.key===`ArrowLeft`?(e.preventDefault(),this.store.previous(!0)):e.key===`ArrowRight`&&(e.preventDefault(),this.store.next(!0)))}),(0,a._)(this,`handleClick`,e=>{var t,n,r;if((n=(r=this.props).onClick)==null||n.call(r,e),e.defaultPrevented||this.scroller.looping)return;let i=e.target instanceof Element?e.target.closest(`[data-carousel-action]`):null,{carouselAction:a,index:o}=(t=i==null?void 0:i.dataset)==null?{}:t;switch(a){case`previous`:this.store.previous(!0);break;case`next`:this.store.next(!0);break;case`slide`:o!==void 0&&this.store.setIndex(Number(o),!0);break;case`toggle`:this.store.toggle()}}),(0,a._)(this,`scrollToActive`,(e,t,n)=>{var r;let i=this.track.current,a=this.root.current;if(!i||!a)return;this.scroller.dispose();let o=[...i.children],s=o[e];if(!s)return;let c=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,l=getComputedStyle(a),u=Number.parseFloat(l.getPropertyValue(`--bs-carousel-items`))||1,d=Number.parseFloat(l.getPropertyValue(`--bs-carousel-items-peek`))||0,f=o.some(e=>e.style.width||e.style.flexBasis),p=n===1&&e===0&&t===o.length-1||n===-1&&t===0&&e===o.length-1,m=((r=this.props.ends)==null?`loop`:r)===`loop`&&!this.props.fade&&!c&&u===1&&d===0&&!this.props.center&&!f;p&&m?this.scroller.loop(i,o[t],s,n===1):this.scroller.navigate(i,s.offsetLeft,!p&&!c)}),(0,a._)(this,`renderSlide`,(e,t)=>{let n=this.store.activeIndex===t;return/*#__PURE__*/ (0,m.isValidElement)(e)&&typeof e.type!=`string`?/*#__PURE__*/ (0,m.cloneElement)(e,{active:n,"aria-hidden":!n}):/*#__PURE__*/ (0,u.jsx)(ht,{active:n,"aria-hidden":!n,children:e},t)}),(0,a._)(this,`renderControl`,e=>{var t;let{controls:n=!0,ends:r=`loop`}=this.props;if(!n)return null;let i=e===`previous`,a=this.store.activeIndex===(i?0:this.getSlides().length-1),o=((t=this.props.controlsPlacement)==null?`overlay`:t)===`overlay`,s=i?`Previous`:`Next`;return/*#__PURE__*/ (0,u.jsxs)(R,{variant:o?`subtle`:void 0,theme:o?`secondary`:void 0,size:`sm`,"data-carousel-action":e,"aria-label":s,disabled:r===`stop`&&a,icon:!0,children:[/*#__PURE__*/ (0,u.jsx)(L,{name:i?`chevron-left`:`chevron-right`,size:1}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`visually-hidden`,children:s})]})}),(0,a._)(this,`renderIndicators`,()=>this.props.indicators&&this.getSlides().length>1?/*#__PURE__*/ (0,u.jsx)(`div`,{className:`carousel-indicators`,children:this.getSlides().map((e,t)=>/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,"data-bs-target":this.props.id?`#${this.props.id}`:``,"data-carousel-action":`slide`,"data-index":t,"aria-label":`Slide ${t+1}`,"aria-current":this.store.activeIndex===t?`true`:void 0,className:(0,d.default)({active:this.store.activeIndex===t})},t))}):null),(0,a._)(this,`renderPlayPause`,()=>(this.props.playPause||this.props.autoplay)&&/*#__PURE__*/ (0,u.jsx)(R,{className:(0,d.default)(`carousel-control-play-pause`,{paused:!this.store.playing}),size:`sm`,"data-carousel-action":`toggle`,"aria-label":this.store.playing?`Pause`:`Play`,icon:!0,children:/*#__PURE__*/ (0,u.jsx)(L,{name:this.store.playing?`pause-fill`:`play-fill`,size:1})})),(0,a._)(this,`renderControls`,()=>{let{controls:e=!0,controlsPlacement:t=`overlay`,controlsClassName:n=`d-flex justify-content-between align-items-center`,controlsStart:r,indicators:i,indicatorPlacement:a=`start`,autoplay:o,playPause:s}=this.props;if(!e&&!i&&!o&&!s&&!r)return null;let c=a===`between`,l=this.renderControl(`previous`),d=this.renderControl(`next`),f=/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[this.renderPlayPause(),l,d]});return/*#__PURE__*/ (0,u.jsxs)(`div`,{className:t===`overlay`?`carousel-overlay-controls`:n,children:[r,a===`start`&&this.renderIndicators(),c?l:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-flex gap-1`,children:f}),a!==`start`&&this.renderIndicators(),c&&this.renderPlayPause(),c&&d]})})}},{c:[gt,pt]}=(0,t._)(dt,[],[p.observer],mt),dt),ft=class extends o._{constructor(){super(gt),(0,a._)(this,`displayName`,`Carousel`),pt()}},(0,a._)(ft,ut,void 0),ft);let _t,vt;var yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt;const Ft=`idea-react:collapse-toggle`,It=`idea-react:collapse-change`,Lt=`idea-react:collapse-open`;let Rt;new(_t=(yt=/*#__PURE__*/ new WeakMap,bt=class extends (Dt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,yt)}set expanded(e){(0,i._)(this,yt,e)}get isOpen(){var e;return(e=this.componentProps.open)==null?this.expanded:e}componentDidMount(){this.root.current.addEventListener(Ft,this.handleToggle),document.addEventListener(Lt,this.handlePeerOpen),this.notify(),this.isOpen&&this.notifyOpen()}componentDidUpdate(e){e.open!==this.componentProps.open&&this.isOpen&&this.notifyOpen(),this.notify()}componentWillUnmount(){this.root.current.removeEventListener(Ft,this.handleToggle),document.removeEventListener(Lt,this.handlePeerOpen)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,open:i,defaultOpen:a,parent:o,onOpenChange:f,horizontal:p,className:m}=n,h=(0,l._)(n,[`as`,`open`,`defaultOpen`,`parent`,`onOpenChange`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{ref:this.root,className:(0,d.default)(`collapse`,{"collapse-horizontal":p,show:this.isOpen},m)}))}constructor(...e){var t;super(...e),(0,r._)(this,yt,{writable:!0,value:(kt(this),Ot(this,(t=this.componentProps.defaultOpen)!=null&&t))}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`notify`,()=>this.root.current.dispatchEvent(new Event(It,{bubbles:!0}))),(0,a._)(this,`notifyOpen`,()=>this.root.current.dispatchEvent(new Event(Lt,{bubbles:!0}))),(0,a._)(this,`setOpen`,(0,f.action)(e=>{var t,n;e!==this.isOpen&&((t=(n=this.componentProps).onOpenChange)==null||t.call(n,e),this.componentProps.open===void 0&&(this.expanded=e,e&&this.notifyOpen()))})),(0,a._)(this,`handleToggle`,e=>{e.target===this.root.current&&this.setOpen(!this.isOpen)}),(0,a._)(this,`handlePeerOpen`,({target:e})=>{let{parent:t}=this.componentProps,n=this.root.current,r=t?n==null?void 0:n.closest(t):null;t&&r&&e instanceof Element&&e!==n&&e.closest(t)===r&&this.setOpen(!1)})}},{e:[Ot,kt],c:[Rt,Et]}=(0,t._)(bt,[[f.observable,1,`expanded`]],[p.observer],Dt),bt),xt=class extends o._{constructor(){super(Rt),(0,a._)(this,`displayName`,`Collapse`),Et()}},(0,a._)(xt,_t,void 0),xt);let zt;new(vt=(St=/*#__PURE__*/ new WeakMap,Ct=/*#__PURE__*/ new WeakMap,wt=class extends (jt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,St)}set expanded(e){(0,i._)(this,St,e)}get controls(){return(0,n._)(this,Ct)}set controls(e){(0,i._)(this,Ct,e)}get targets(){return[...document.querySelectorAll(this.componentProps.target)]}componentDidMount(){document.addEventListener(It,this.refresh),this.refresh()}componentDidUpdate(e){e.target!==this.componentProps.target&&this.refresh()}componentWillUnmount(){document.removeEventListener(It,this.refresh)}render(){var e;let t=this.componentProps,{as:n,target:r,href:i,type:a=`button`,variant:o,theme:f,size:p,disabled:m,icon:h,styled:g,navbarToggler:_,className:v,children:y}=t,b=(0,l._)(t,[`as`,`target`,`href`,`type`,`variant`,`theme`,`size`,`disabled`,`icon`,`styled`,`navbarToggler`,`className`,`children`]),x=n==null?i?`a`:`button`:n,S=x===`button`,C=_?/*#__PURE__*/ (0,u.jsx)(`span`,{className:`navbar-toggler-icon`,"aria-hidden":`true`}):y,w=(0,d.default)(o===!1?void 0:o?`btn-${o}`:h?void 0:`btn`,f&&`theme-${f}`,p&&`btn-${p}`,{"btn-icon":h||_,"btn-styled":g,disabled:m,"navbar-toggler":_},v);return/*#__PURE__*/ (0,u.jsx)(x,(0,c._)((0,s._)({},b),{type:S?a:void 0,href:m?void 0:i,disabled:S||typeof x!=`string`?m:void 0,"aria-disabled":!S&&m||void 0,tabIndex:!S&&m?-1:b.tabIndex,className:w,role:(e=b.role)==null?`button`:e,"aria-controls":this.controls||void 0,"aria-expanded":this.expanded,onClick:this.handleClick,children:C}))}constructor(...e){super(...e),(0,r._)(this,St,{writable:!0,value:(Pt(this),Mt(this,!1))}),(0,r._)(this,Ct,{writable:!0,value:Nt(this,``)}),(0,a._)(this,`refresh`,(0,f.action)(()=>{let{targets:e}=this;this.expanded=e.some(e=>e.classList.contains(`show`)),this.controls=e.map(({id:e})=>e).filter(Boolean).join(` `)})),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),!e.defaultPrevented&&(e.preventDefault(),!this.componentProps.disabled))for(let e of this.targets)e.dispatchEvent(new Event(Ft))})}},{e:[Mt,Nt,Pt],c:[zt,At]}=(0,t._)(wt,[[f.observable,1,`expanded`],[f.observable,1,`controls`]],[p.observer],jt),wt),Tt=class extends o._{constructor(){super(zt),(0,a._)(this,`displayName`,`CollapseToggle`),At()}},(0,a._)(Tt,vt,void 0),Tt);var Bt={hiddenBackdrop:`rDVV3q_hiddenBackdrop`};const Vt=e=>(parseFloat(e)||0)*(e.trim().endsWith(`ms`)?1:1e3),Ht=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-header`,n)}))});Ht.displayName=`DialogHeader`;const Ut=I(e=>{let{as:t=`h1`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-title`,n)}))});Ut.displayName=`DialogTitle`;const Wt=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-body`,n)}))});Wt.displayName=`DialogBody`;const Gt=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-footer`,n)}))});Gt.displayName=`DialogFooter`;var Kt=class e extends m.Component{get componentProps(){return this.props}get open(){var e,t;return(e=(t=this.element.current)==null?void 0:t.open)!=null&&e}componentDidMount(){this.componentProps.open&&this.show()}componentDidUpdate({open:e,modal:t,scroll:n}){let r=this.componentProps.modal!==t,i=this.componentProps.open!==e,a=this.open;(i||r||this.componentProps.scroll!==n)&&(this.open&&this.componentProps.modal!==t&&(this.switchingMode=!0,this.close()),this.componentProps.scroll?this.unlockScroll():this.open&&this.componentProps.modal!==!1&&this.lockScroll(),(i||r)&&(this.componentProps.open||!i&&r&&a?this.show():this.close()))}componentWillUnmount(){this.finishClose()}render(){var e;let t=(e=this.componentProps.as)==null?`dialog`:e,n=this.componentProps,{as:r,open:i,modal:a,keyboard:o,backdrop:f=!0,theme:p,dialog:m=!0,size:h,fullscreen:g,scrollable:_,animation:v=`fade`,scroll:y,className:b,onCancel:x,onClick:S,onKeyDown:C,onClose:w}=n,T=(0,l._)(n,[`as`,`open`,`modal`,`keyboard`,`backdrop`,`theme`,`dialog`,`size`,`fullscreen`,`scrollable`,`animation`,`scroll`,`className`,`onCancel`,`onClick`,`onKeyDown`,`onClose`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},T),{ref:this.element,className:(0,d.default)(m&&`dialog`,m&&h&&`dialog-${h}`,m&&g&&(g===!0?`dialog-fullscreen`:`${g}-down:dialog-fullscreen`),m&&_&&`dialog-scrollable`,m&&v!==`fade`&&`dialog-${v}`,f===!1&&Bt.hiddenBackdrop,b),"data-backdrop":f===!1?`false`:void 0,"data-bs-theme":p,onCancel:this.handleCancel,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onClose:this.handleClose}))}constructor(...t){super(...t),(0,a._)(this,`element`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`returnFocus`,void 0),(0,a._)(this,`switchingMode`,!1),(0,a._)(this,`closeTimer`,void 0),(0,a._)(this,`show`,()=>{var e;if(clearTimeout(this.closeTimer),(e=this.element.current)==null||e.classList.remove(`hiding`),this.open)return;let t=this.element.current;t&&(!this.switchingMode&&document.activeElement instanceof HTMLElement&&(this.returnFocus=document.activeElement),this.componentProps.modal===!1?t.show():t.showModal(),this.componentProps.modal!==!1&&!this.componentProps.scroll&&this.lockScroll())}),(0,a._)(this,`lockScroll`,()=>{let{scrollLocks:t}=e;t.size||(e.bodyOverflow=document.body.style.overflow,document.body.style.overflow=`hidden`),t.add(this)}),(0,a._)(this,`unlockScroll`,()=>{let{scrollLocks:t}=e;t.delete(this)&&(t.size||(document.body.style.overflow=e.bodyOverflow))}),(0,a._)(this,`close`,()=>{let e=this.element.current;if(!this.open||!e||this.switchingMode)return this.finishClose();let{transitionDuration:t,transitionDelay:n}=getComputedStyle(e),r=t.split(`,`).map(Vt),i=n.split(`,`).map(Vt),a=Math.max(0,...r.map((e,t)=>e+i[t%i.length]));if(!a)return this.finishClose();e.classList.contains(`hiding`)||(e.classList.add(`hiding`),this.closeTimer=setTimeout(this.finishClose,a))}),(0,a._)(this,`finishClose`,()=>{var e,t,n;clearTimeout(this.closeTimer),(e=this.element.current)==null||e.classList.remove(`hiding`),this.unlockScroll(),this.open&&((t=this.element.current)==null||t.close(),(n=this.returnFocus)==null||n.focus())}),(0,a._)(this,`handleClose`,e=>{var t,n;if(this.switchingMode||(t=(n=this.componentProps).onClose)==null||t.call(n,e),!this.open){var r;this.unlockScroll(),(r=this.returnFocus)==null||r.focus()}this.switchingMode=!1}),(0,a._)(this,`handleCancel`,e=>{let{onCancel:t,keyboard:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r}=e;e.preventDefault(),n&&!r&&this.close()}),(0,a._)(this,`handleKeyDown`,e=>{let{onKeyDown:t,keyboard:n=!0}=this.componentProps;t==null||t(e);let{key:r,defaultPrevented:i}=e;r===`Escape`&&n&&!i&&(e.preventDefault(),this.close())}),(0,a._)(this,`handleClick`,e=>{let{onClick:t,backdrop:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r,target:i,currentTarget:a,clientX:o,clientY:s}=e;if(n!==!0||r||i!==a)return;let{left:c,right:l,top:u,bottom:d}=a.getBoundingClientRect();(o<c||o>l||s<u||s>d)&&this.close()})}};(0,a._)(Kt,`scrollLocks`,/* @__PURE__ */ new Set),(0,a._)(Kt,`bodyOverflow`,``);let qt;var Jt,Yt,Xt,Zt,Qt,$t,en,tn;const nn=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-header`,n)}))});nn.displayName=`DrawerHeader`;const rn=I(e=>{let{as:t=`h5`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-title`,n)}))});rn.displayName=`DrawerTitle`;const an=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-body`,n)}))});an.displayName=`DrawerBody`;const on=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-footer`,n)}))});on.displayName=`DrawerFooter`;const sn={sm:576,md:768,lg:1024,xl:1280,"2xl":1536};let cn;new(qt=(Jt=/*#__PURE__*/ new WeakMap,Yt=class extends (Qt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,Jt)}set expanded(e){(0,i._)(this,Jt,e)}componentDidMount(){this.observeBreakpoint()}componentDidUpdate({responsive:e,open:t}){e!==this.componentProps.responsive&&this.observeBreakpoint(),t!==this.componentProps.open&&this.componentProps.open&&(this.dismissed=!1)}componentWillUnmount(){var e;(e=this.media)==null||e.removeEventListener(`change`,this.handleBreakpoint)}render(){let e=this.componentProps,{as:t,title:n,placement:r=`end`,footer:i,bodyClassName:a,onDismiss:o,sheet:f,translucent:p,responsive:m,animation:h=`slide`,fullscreen:g,open:_,modal:v,scroll:y,backdrop:b,className:x,children:S}=e,C=(0,l._)(e,[`as`,`title`,`placement`,`footer`,`bodyClassName`,`onDismiss`,`sheet`,`translucent`,`responsive`,`animation`,`fullscreen`,`open`,`modal`,`scroll`,`backdrop`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(Kt,(0,c._)((0,s._)({as:this.componentProps.as},C),{ref:this.dialog,open:this.expanded||_,modal:this.expanded?!1:v==null?!(y&&b===!1):v,scroll:y,backdrop:b,dialog:!1,tabIndex:-1,"aria-label":typeof n==`string`?n:C[`aria-label`],className:(0,d.default)(m?`${m}:drawer`:`drawer`,`drawer-${r}`,{"drawer-sheet":f,"drawer-translucent":p,"drawer-instant":h===`instant`,"drawer-fullscreen":g===!0},x),onClose:this.handleClose,children:[/*#__PURE__*/ (0,u.jsxs)(nn,{children:[/*#__PURE__*/ (0,u.jsx)(rn,{children:n}),/*#__PURE__*/ (0,u.jsx)(B,{onClick:this.handleDismiss})]}),/*#__PURE__*/ (0,u.jsx)(an,{className:a,children:S}),i&&/*#__PURE__*/ (0,u.jsx)(on,{children:i})]}))}constructor(...e){super(...e),(0,r._)(this,Jt,{writable:!0,value:(tn(this),$t(this,!1))}),(0,a._)(this,`dialog`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`media`,void 0),(0,a._)(this,`dismissed`,!1),(0,a._)(this,`observeBreakpoint`,()=>{var e,t;(e=this.media)==null||e.removeEventListener(`change`,this.handleBreakpoint);let{responsive:n}=this.componentProps;this.media=n?window.matchMedia(`(min-width: ${sn[n]}px)`):void 0,this.handleBreakpoint(),(t=this.media)==null||t.addEventListener(`change`,this.handleBreakpoint)}),(0,a._)(this,`handleBreakpoint`,en(this,()=>{var e,t;return this.expanded=(e=(t=this.media)==null?void 0:t.matches)!=null&&e})),(0,a._)(this,`handleDismiss`,()=>{var e,t,n;(e=(t=this.componentProps).onDismiss)==null||e.call(t),this.dismissed=!0,(n=this.dialog.current)==null||n.close()}),(0,a._)(this,`handleClose`,()=>{var e,t;this.dismissed||this.expanded||(e=(t=this.componentProps).onDismiss)==null||e.call(t),this.dismissed=!1})}},{e:[$t,en,tn],c:[cn,Zt]}=(0,t._)(Yt,[[f.observable,1,`expanded`],[f.action,0,`handleBreakpoint`]],[p.observer],Qt),Yt),Xt=class extends o._{constructor(){super(cn),(0,a._)(this,`displayName`,`Drawer`),Zt()}},(0,a._)(Xt,qt,void 0),Xt);const ln=({children:e,in:t=!1,className:n=``})=>/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(`fade`,n,e.props.className,t&&`show`)});ln.displayName=`Fade`;const un=I(e=>{let{as:t=`ul`,flush:n,numbered:r,horizontal:i,checkable:a,radio:o,className:f}=e,p=(0,l._)(e,[`as`,`flush`,`numbered`,`horizontal`,`checkable`,`radio`,`className`]),m=(0,d.default)(`list-group`,{"list-group-checkable":a,"list-group-radio":o,"list-group-flush":n,"list-group-numbered":r},i&&(i===!0?`list-group-horizontal`:`${i}:list-group-horizontal`),f);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:m}))});un.displayName=`ListGroup`;const dn=e=>typeof e.href==`string`,fn=e=>typeof e.type==`string`,pn=I(e=>{let{as:t,theme:n,action:r,active:i,disabled:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`action`,`active`,`disabled`,`className`]),p=t==null?`a`:t,m=t==null?`button`:t,h=t==null?`li`:t,g=(0,d.default)(`list-group-item`,n&&`theme-${n}`,r&&`list-group-item-action`,{active:i,disabled:a},a&&`pe-none`,o);return dn(f)?/*#__PURE__*/ (0,u.jsx)(p,(0,c._)((0,s._)({},f),{className:g,href:a?void 0:f.href,"aria-current":i?`true`:void 0,"aria-disabled":a||void 0,tabIndex:a?-1:f.tabIndex,onClick:a?void 0:f.onClick})):fn(f)?/*#__PURE__*/ (0,u.jsx)(m,(0,c._)((0,s._)({},f),{type:f.type||`button`,className:g,"aria-current":i?`true`:void 0,disabled:a})):/*#__PURE__*/ (0,u.jsx)(h,(0,c._)((0,s._)({},f),{className:g,"aria-current":i?`true`:void 0,"aria-disabled":a||void 0}))});pn.displayName=`ListGroupItem`;var mn,hn,gn,_n,vn;const yn={sm:576,md:768,lg:1024,xl:1280,"2xl":1536},bn={top:`bottom`,bottom:`top`,left:`right`,right:`left`};var xn=/*#__PURE__*/ new WeakMap,Sn=/*#__PURE__*/ new WeakMap,Cn=/*#__PURE__*/ new WeakMap,W=class{get placement(){return(0,n._)(this,xn)}set placement(e){(0,i._)(this,xn,e)}get style(){return(0,n._)(this,Sn)}set style(e){(0,i._)(this,Sn,e)}get arrowStyle(){return(0,n._)(this,Cn)}set arrowStyle(e){(0,i._)(this,Cn,e)}attach(e,t,n){this.dispose(),this.reference=e,this.element=t,this.options=n,window.addEventListener(`resize`,this.update),document.addEventListener(`scroll`,this.update,!0),this.resize=new window.ResizeObserver(this.update),this.resize.observe(e),this.resize.observe(t),this.update()}constructor(){(0,r._)(this,xn,{writable:!0,value:(vn(this),mn(this,`top`))}),(0,r._)(this,Sn,{writable:!0,value:hn(this,{})}),(0,r._)(this,Cn,{writable:!0,value:gn(this,{})}),(0,a._)(this,`reference`,void 0),(0,a._)(this,`element`,void 0),(0,a._)(this,`resize`,void 0),(0,a._)(this,`options`,{}),(0,a._)(this,`dispose`,()=>{var e;window.removeEventListener(`resize`,this.update),document.removeEventListener(`scroll`,this.update,!0),(e=this.resize)==null||e.disconnect(),this.resize=void 0,this.reference=void 0,this.element=void 0}),(0,a._)(this,`update`,_n(this,()=>{let{reference:e,element:t,options:n}=this;if(!e||!t)return;let{responsivePlacement:r,offset:i=0,padding:a=8,flip:o=!0}=n,s=Object.keys(yn).reverse().find(e=>window.innerWidth>=yn[e]&&(r==null?void 0:r[e])),[c,l]=(s&&(r==null?void 0:r[s])||n.placement||`top`).split(`-`),u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),[f,p]=typeof i==`number`?[0,i]:i,m={top:u.top-a,bottom:window.innerHeight-u.bottom-a,left:u.left-a,right:window.innerWidth-u.right-a},h=(c===`top`||c===`bottom`?d.height:d.width)+p,g=o&&m[c]<h&&m[bn[c]]>m[c]?bn[c]:c,_=u.left+(u.width-d.width)/2,v=u.top+(u.height-d.height)/2;g===`top`||g===`bottom`?(v=g===`top`?u.top-d.height-p:u.bottom+p,l&&(_=l===`start`?u.left:u.right-d.width),_+=f):(_=g===`left`?u.left-d.width-p:u.right+p,l&&(v=l===`start`?u.top:u.bottom-d.height),v+=f),_=Math.max(a,Math.min(_,window.innerWidth-d.width-a)),v=Math.max(a,Math.min(v,window.innerHeight-d.height-a));let y=g===`top`||g===`bottom`?{left:Math.max(8,Math.min(d.width-8,u.left+u.width/2-_))}:{top:Math.max(8,Math.min(d.height-8,u.top+u.height/2-v))};(this.arrowStyle.left!==y.left||this.arrowStyle.top!==y.top)&&(this.arrowStyle=y);let b=t.offsetParent,x=b instanceof HTMLElement&&(b!==document.body||getComputedStyle(b).position!==`static`)?b:void 0,S=x==null?void 0:x.getBoundingClientRect();_+=x?x.scrollLeft-S.left-x.clientLeft:window.scrollX,v+=x?x.scrollTop-S.top-x.clientTop:window.scrollY;let C=l?`${g}-${l}`:g;this.placement!==C&&(this.placement=C);let w=Math.max(0,window.innerWidth-a*2),T=Math.max(0,window.innerHeight-a*2);(this.style.left!==_||this.style.top!==v||this.style.maxWidth!==w||this.style.maxHeight!==T)&&(this.style={position:`absolute`,left:_,top:v,right:`auto`,bottom:`auto`,margin:0,maxWidth:w,maxHeight:T})}))}};({e:[mn,hn,gn,_n,vn]}=(0,t._)(W,[[f.observable,1,`placement`],[f.observable,1,`style`],[f.observable,1,`arrowStyle`],[f.action,0,`update`]],[]));const wn={top:`top`,right:`end`,bottom:`bottom`,left:`start`},Tn={top:`position-absolute start-50 translate-middle-x`,right:`position-absolute top-50 translate-middle-y`,bottom:`position-absolute start-50 translate-middle-x`,left:`position-absolute top-50 translate-middle-y`};let En,Dn;var On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn;const qn=I(e=>{let{as:t,active:n,selected:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`selected`,`className`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},a),{className:(0,d.default)(`menu-item`,{active:n,selected:r},i),"aria-current":n||r&&a.href?`true`:a[`aria-current`],"aria-pressed":a.href||r==null?a[`aria-pressed`]:r}))});qn.displayName=`MenuItem`;const Jn=I(e=>{let{as:t=`div`,theme:n,translucent:r,scrollable:i,show:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`translucent`,`scrollable`,`show`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{"data-bs-theme":n,className:(0,d.default)(`menu`,{show:a},r&&`menu-translucent`,i&&`menu-scrollable`,o)}))});Jn.displayName=`MenuPanel`;const Yn=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`menu-item-icon`,n)}))});Yn.displayName=`MenuItemIcon`;const Xn=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{name:`check`,className:(0,d.default)(`menu-item-check`,n)}))});Xn.displayName=`MenuItemCheck`;const Zn=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-text`,n)}))});Zn.displayName=`MenuText`;const Qn=I(e=>{let{as:t=`h6`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-header`,n)}))});Qn.displayName=`MenuHeader`;const $n=I(e=>{let{as:t=`hr`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-divider`,n)}))});$n.displayName=`MenuDivider`;const er=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-item-content`,n)}))});er.displayName=`MenuItemContent`;const tr=I(e=>{let{as:t=`small`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-item-description`,n)}))});tr.displayName=`MenuItemDescription`;let nr;new(En=(On=/*#__PURE__*/ new WeakMap,kn=class extends (In=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,On)}set open(e){(0,i._)(this,On,e)}componentDidUpdate(){let{position:e,panel:t,trigger:n}=this;if(!this.open)return e.dispose();t.current&&n.current&&(e.element===t.current?e.update():e.attach(n.current,t.current,{placement:`right-start`,offset:2}))}componentWillUnmount(){this.position.dispose()}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,label:i,className:a,children:o}=n,f=(0,l._)(n,[`as`,`label`,`className`,`children`]),{open:p}=this;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)(`submenu`,{show:p},a),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onKeyDown:this.handleKeyDown,children:[/*#__PURE__*/ (0,u.jsx)(R,{ref:this.trigger,className:`menu-item`,"aria-haspopup":`true`,"aria-expanded":p,onClick:this.handleClick,children:i}),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.panel,style:(0,s._)({},this.position.style),"data-bs-placement":this.position.placement,className:(0,d.default)(`menu start-100 top-0`,{show:p}),hidden:!p,children:o})]}))}constructor(...e){super(...e),(0,r._)(this,On,{writable:!0,value:(zn(this),Ln(this,!1))}),(0,a._)(this,`panel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`trigger`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`position`,new W),(0,a._)(this,`setOpen`,Rn(this,e=>this.open=e)),(0,a._)(this,`handleClick`,()=>this.setOpen(!this.open)),(0,a._)(this,`handleMouseEnter`,e=>{var t,n;(t=(n=this.componentProps).onMouseEnter)==null||t.call(n,e),e.defaultPrevented||this.setOpen(!0)}),(0,a._)(this,`handleMouseLeave`,e=>{var t,n;(t=(n=this.componentProps).onMouseLeave)==null||t.call(n,e),e.defaultPrevented||this.setOpen(!1)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented)return;let{key:r}=e;if(r===`ArrowRight`&&(e.preventDefault(),e.stopPropagation(),this.setOpen(!0),queueMicrotask(()=>{var e,t;return(t=this.panel.current)==null||(e=t.querySelector(`a[href], button:not(:disabled)`))==null?void 0:e.focus()})),(r===`ArrowLeft`||r===`Escape`)&&this.open){var i;e.preventDefault(),e.stopPropagation(),this.setOpen(!1),(i=this.trigger.current)==null||i.focus()}})}},{e:[Ln,Rn,zn],c:[nr,Fn]}=(0,t._)(kn,[[f.observable,1,`open`],[f.action,0,`setOpen`]],[p.observer],In),kn),An=class extends o._{constructor(){super(nr),(0,a._)(this,`displayName`,`MenuSubmenu`),Fn()}},(0,a._)(An,En,void 0),An);const rr={"top-start":[`bottom-100`,`start-0`],"top-end":[`bottom-100`,`end-0`],"bottom-start":[`top-100`,`start-0`],"bottom-end":[`top-100`,`end-0`],"left-start":[`end-100`,`top-0`],"left-end":[`end-100`,`bottom-0`],"right-start":[`start-100`,`top-0`],"right-end":[`start-100`,`bottom-0`]},ir={sm:576,md:768,lg:1024,xl:1280,"2xl":1536};let G;new(Dn=(jn=/*#__PURE__*/ new WeakMap,Mn=/*#__PURE__*/ new WeakMap,Nn=class extends (Vn=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,jn)}set open(e){(0,i._)(this,jn,e)}get responsiveDirection(){return(0,n._)(this,Mn)}set responsiveDirection(e){(0,i._)(this,Mn,e)}componentDidMount(){document.addEventListener(`pointerdown`,this.handleOutside),this.observePlacement()}componentDidUpdate({responsivePlacement:e}){var t,n;e!==this.componentProps.responsivePlacement&&this.observePlacement();let{trigger:r,panel:i,position:a,componentProps:o}=this;if(!this.open)return a.dispose();if(!r.current||!i.current)return;let{placement:s,align:c,offset:l,padding:u,flip:d}=o,f={placement:(t=(n=this.responsiveDirection)==null?s:n)==null?`bottom-${c==null?`end`:c}`:t,offset:l,padding:u,flip:d};a.element===i.current?(a.options=f,a.update()):a.attach(r.current,i.current,f)}componentWillUnmount(){document.removeEventListener(`pointerdown`,this.handleOutside),this.position.dispose();for(let{query:e}of this.media)e.removeEventListener(`change`,this.handlePlacement)}items(e=this.panel.current){var t;return[...(t=e==null?void 0:e.querySelectorAll(`a[href]:not([aria-disabled="true"]), button:not(:disabled):not([aria-disabled="true"])`))==null?[]:t].filter(t=>!t.closest(`[hidden]`)&&t.closest(`.menu`)===e)}render(){var e,t;let n=(e=this.componentProps.as)==null?`div`:e,r=this.componentProps,{as:i,label:a,autoClose:o,align:f=`end`,placement:p,responsivePlacement:m,theme:h,translucent:g,scrollable:_,split:v,nav:y,offset:b,padding:x,flip:S,menuClassName:C,toggleProps:w,onOpenChange:T,onKeyDown:E,onBlur:D,children:O,className:k,id:A}=r,j=(0,l._)(r,[`as`,`label`,`autoClose`,`align`,`placement`,`responsivePlacement`,`theme`,`translucent`,`scrollable`,`split`,`nav`,`offset`,`padding`,`flip`,`menuClassName`,`toggleProps`,`onOpenChange`,`onKeyDown`,`onBlur`,`children`,`className`,`id`]),{open:M}=this,N=(t=this.responsiveDirection)==null?p:t,P=this.position.element?this.position.placement:N,F=P?rr[P]:[`top-100`,f===`end`?`end-0`:`start-0`];return/*#__PURE__*/ (0,u.jsxs)(n,(0,c._)((0,s._)({},j),{ref:this.root,id:A,"data-bs-theme":h,className:(0,d.default)(v?`btn-group`:`d-inline-block`,`position-relative`,k),onKeyDown:this.handleKeyDown,onBlur:this.handleBlur,children:[/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({variant:!y&&void 0},w),{ref:this.trigger,"aria-expanded":M,"aria-haspopup":`true`,className:(0,d.default)(w==null?void 0:w.className,v&&`menu-toggle-split`,y&&`nav-link`),"aria-controls":A?`${A}-menu`:void 0,onClick:this.handleToggle,children:a})),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.panel,id:A?`${A}-menu`:void 0,"data-bs-placement":P==null?`bottom-${f}`:P,style:(0,s._)({},this.position.style),className:(0,d.default)(`menu`,F,g&&`menu-translucent`,_&&`menu-scrollable`,{show:M},C),hidden:!M,onClick:this.handleSelect,children:O})]}))}constructor(...e){super(...e),(0,r._)(this,jn,{writable:!0,value:(Kn(this),Hn(this,!1))}),(0,r._)(this,Mn,{writable:!0,value:Un(this)}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`trigger`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`panel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`media`,[]),(0,a._)(this,`position`,new W),(0,a._)(this,`observePlacement`,()=>{for(let{query:e}of this.media)e.removeEventListener(`change`,this.handlePlacement);this.media=Object.keys(ir).flatMap(e=>{var t;let n=(t=this.componentProps.responsivePlacement)==null?void 0:t[e];if(!n)return[];let r=window.matchMedia(`(min-width: ${ir[e]}px)`);return r.addEventListener(`change`,this.handlePlacement),[{query:r,placement:n}]}),this.handlePlacement()}),(0,a._)(this,`handlePlacement`,Wn(this,()=>{var e;return this.responsiveDirection=(e=[...this.media].reverse().find(({query:e})=>e.matches))==null?void 0:e.placement})),(0,a._)(this,`setOpen`,Gn(this,e=>{var t,n;this.open!==e&&(this.open=e,(t=(n=this.componentProps).onOpenChange)==null||t.call(n,e))})),(0,a._)(this,`handleOutside`,({target:e})=>{var t;let{autoClose:n=!0}=this.componentProps;n!==!1&&n!==`inside`&&e instanceof Node&&!((t=this.root.current)!=null&&t.contains(e))&&this.setOpen(!1)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e);let{key:r,defaultPrevented:i}=e;if(!i){if(r===`Escape`&&this.open){var a;return e.preventDefault(),this.setOpen(!1),(a=this.trigger.current)==null?void 0:a.focus()}if(r===`Tab`)return this.setOpen(!1);e.target instanceof Element&&e.target.matches(`input, textarea, select, [contenteditable="true"]`)||[`ArrowDown`,`ArrowUp`,`Home`,`End`].includes(r)&&(e.preventDefault(),this.setOpen(!0),queueMicrotask(()=>{var t;let n=e.target instanceof Element?e.target.closest(`.menu`):void 0,i=this.items(n==null?this.panel.current:n),a=i.findIndex(e=>e===document.activeElement),o=r===`Home`?0:i.length-1;r===`ArrowDown`&&(o=(a+1)%i.length),r===`ArrowUp`&&(o=a<=0?i.length-1:a-1),(t=i[o])==null||t.focus()}))}}),(0,a._)(this,`handleBlur`,e=>{let{onBlur:t,autoClose:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r,currentTarget:i,relatedTarget:a}=e;!r&&n!==!1&&n!==`inside`&&!i.contains(a)&&this.setOpen(!1)}),(0,a._)(this,`handleToggle`,()=>this.setOpen(!this.open)),(0,a._)(this,`handleSelect`,({target:e,defaultPrevented:t})=>{let{autoClose:n=!0}=this.componentProps;n&&!t&&n!==`outside`&&e instanceof Element&&!e.closest(`.submenu > .menu-item`)&&e.closest(`a[href], button:not(:disabled)`)&&this.setOpen(!1)})}},{e:[Hn,Un,Wn,Gn,Kn],c:[G,Bn]}=(0,t._)(Nn,[[f.observable,1,`open`],[f.observable,1,`responsiveDirection`],[f.action,0,`handlePlacement`],[f.action,0,`setOpen`]],[p.observer],Vn),Nn),Pn=class extends o._{constructor(){super(G),(0,a._)(this,`displayName`,`Menu`),Bn()}},(0,a._)(Pn,Dn,void 0),Pn);const K=I(e=>{let{as:t=`nav`,variant:n,vertical:r,fill:i,justified:a,flush:o,cardHeader:f,navbar:p,className:m}=e,h=(0,l._)(e,[`as`,`variant`,`vertical`,`fill`,`justified`,`flush`,`cardHeader`,`navbar`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{className:(0,d.default)(`nav`,p&&`navbar-nav`,n&&`nav-${n}`,f&&n===`tabs`&&`card-header-tabs`,r&&(n===`pills`?`nav-pills-vertical`:`flex-column`),{"nav-fill":i,"nav-justified":a,"nav-flush":o},m)}))});K.displayName=`Nav`;const ar=I(e=>{let{as:t=`li`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`nav-item`,n)}))});ar.displayName=`NavItem`;const or=I(e=>{let{as:t=`a`,disabled:n,active:r,className:i,href:a,onClick:o,tabIndex:f}=e,p=(0,l._)(e,[`as`,`disabled`,`active`,`className`,`href`,`onClick`,`tabIndex`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{href:n?void 0:a,disabled:t===`button`?n:void 0,tabIndex:n?-1:f,"aria-disabled":n||void 0,"aria-current":r?`page`:p[`aria-current`],className:(0,d.default)(`nav-link`,{active:r,disabled:n,"pe-none":n},i),onClick:n?void 0:o}))});or.displayName=`NavLink`;const sr=I(e=>{let{as:t=`nav`,expand:n,theme:r,translucent:i,className:a}=e,o=(0,l._)(e,[`as`,`expand`,`theme`,`translucent`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`navbar`,i&&`navbar-translucent`,n&&(n===!0?`navbar-expand`:`${n}:navbar-expand`),a),"data-bs-theme":r}))});sr.displayName=`Navbar`;const cr=I(e=>{let{as:t=`a`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`navbar-brand`,n)}))});cr.displayName=`NavbarBrand`;const lr=I(e=>{let{as:t=`ul`,variant:n,nav:r,className:i}=e,a=(0,l._)(e,[`as`,`variant`,`nav`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`navbar-nav`,(r||n)&&`nav`,n&&`nav-${n}`,i)}))});lr.displayName=`NavbarNav`;const ur=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`navbar-text`,n)}))});ur.displayName=`NavbarText`;const dr=I(e=>{let{as:t,expanded:n,className:r,"aria-label":i=`Toggle navigation`}=e,a=(0,l._)(e,[`as`,`expanded`,`className`,`aria-label`]),o=/*#__PURE__*/ (0,u.jsx)(`span`,{className:`navbar-toggler-icon`,"aria-hidden":`true`}),f=(0,d.default)(`navbar-toggler`,r);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},a),{className:f,"aria-label":i,"aria-expanded":n,icon:!0,children:o}))});dr.displayName=`NavbarToggler`;var fr,pr,mr,hr,gr,_r,vr,yr=/*#__PURE__*/ new WeakMap,br=/*#__PURE__*/ new WeakMap,xr=/*#__PURE__*/ new WeakMap,Sr=class{get initialized(){return(0,n._)(this,yr)}set initialized(e){(0,i._)(this,yr,e)}get open(){return(0,n._)(this,br)}set open(e){(0,i._)(this,br,e)}get overflowIndices(){return(0,n._)(this,xr)}set overflowIndices(e){(0,i._)(this,xr,e)}constructor(){(0,r._)(this,yr,{writable:!0,value:(vr(this),fr(this,!1))}),(0,r._)(this,br,{writable:!0,value:pr(this,!1)}),(0,r._)(this,xr,{writable:!0,value:mr(this,[])}),(0,a._)(this,`setOpen`,hr(this,e=>this.open=e)),(0,a._)(this,`toggle`,gr(this,()=>this.open=!this.open)),(0,a._)(this,`setOverflowIndices`,_r(this,e=>{this.initialized=!0,this.overflowIndices=e}))}};({e:[fr,pr,mr,hr,gr,_r,vr]}=(0,t._)(Sr,[[f.observable,1,`initialized`],[f.observable,1,`open`],[f.observable,1,`overflowIndices`],[f.action,0,`setOpen`],[f.action,0,`toggle`],[f.action,0,`setOverflowIndices`]],[]));let Cr;var wr,Tr,Er,Dr;let Or;new(Cr=(wr=class extends (Dr=m.Component){get componentProps(){return this.props}componentDidMount(){if(this.updateOverflow(),window.addEventListener(`resize`,this.updateOverflow),document.addEventListener(`pointerdown`,this.handleOutside),typeof ResizeObserver<`u`){var e,t;this.resizeObserver=new ResizeObserver(this.updateOverflow),this.root.current&&this.resizeObserver.observe(this.root.current),this.nav.current&&this.resizeObserver.observe(this.nav.current);for(let n of(e=(t=this.nav.current)==null?void 0:t.children)==null?[]:e)this.resizeObserver.observe(n)}}componentDidUpdate(){this.updateOverflow()}componentWillUnmount(){var e;(e=this.resizeObserver)==null||e.disconnect(),window.removeEventListener(`resize`,this.updateOverflow),document.removeEventListener(`pointerdown`,this.handleOutside)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,children:i,className:a,collapseBelow:o,fill:f,iconPlacement:p=`start`,justified:h,menuPlacement:g=`bottom-end`,menuStrategy:_=`absolute`,minimumVisibleItems:v,moreIcon:y,moreText:b=`More`,onClick:x,onKeyDown:S,onOverflowChange:C,threshold:w,"aria-label":T,variant:E}=n,D=(0,l._)(n,[`as`,`children`,`className`,`collapseBelow`,`fill`,`iconPlacement`,`justified`,`menuPlacement`,`menuStrategy`,`minimumVisibleItems`,`moreIcon`,`moreText`,`onClick`,`onKeyDown`,`onOverflowChange`,`threshold`,`aria-label`,`variant`]),O=m.Children.toArray(i),k=this.store.overflowIndices.length>0,A=`${this.componentProps.id}-menu`,[j,M]=g.split(`-`),N=j===`top`?[`bottom-100`,M===`end`?`end-0`:`start-0`]:j===`bottom`?[`top-100`,M===`end`?`end-0`:`start-0`]:j===`left`?[`end-100`,M===`end`?`bottom-0`:`top-0`]:[`start-100`,M===`end`?`bottom-0`:`top-0`],P=y==null?/*#__PURE__*/ (0,u.jsx)(L,{name:`three-dots`}):y,F=b===!1?null:b;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},D),{ref:this.root,className:(0,d.default)(`nav-overflow d-flex align-items-start position-relative`,this.store.initialized&&`nav-overflow-initialized`,a),onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:/*#__PURE__*/ (0,u.jsxs)(K,{ref:this.nav,variant:E,fill:f,justified:h,"aria-label":T,className:`flex-nowrap flex-grow-1`,children:[O.map((e,t)=>this.renderChild(e,t)),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:(0,d.default)(`nav-item nav-overflow-item flex-shrink-0`,!k&&`position-absolute invisible`),"data-menu-placement":g,children:[/*#__PURE__*/ (0,u.jsxs)(`button`,{ref:this.toggleButton,type:`button`,className:`nav-link`,"aria-haspopup":`menu`,"aria-expanded":this.store.open,"aria-controls":A,"aria-label":F?void 0:`More`,"data-overflow-toggle":!0,children:[p===`start`&&P,F,p===`end`&&P]}),/*#__PURE__*/ (0,u.jsx)(`div`,{id:A,className:(0,d.default)(`menu nav-overflow-menu`,N,_===`fixed`&&`position-fixed`,{show:this.store.open&&k}),role:`menu`,hidden:!this.store.open||!k,children:this.store.overflowIndices.map(e=>this.renderChild(O[e],e,!0))})]})]})}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`nav`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`toggleButton`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new Sr),(0,a._)(this,`resizeObserver`,void 0),(0,a._)(this,`updateOverflow`,()=>{var e,t,n,r,i,a;let o=this.root.current,s=this.nav.current;if(!o||!s)return;let c=[...s.children].filter(e=>{var t;return e!==((t=this.toggleButton.current)==null?void 0:t.parentElement)}),l=c.map(e=>e.getBoundingClientRect().width||e.offsetWidth),u=Number.parseFloat(getComputedStyle(s).columnGap)||0,d=l.reduce((e,t)=>e+t,0)+u*Math.max(0,c.length-1),f=((n=this.toggleButton.current)==null?void 0:n.getBoundingClientRect().width)||((r=this.toggleButton.current)==null?void 0:r.offsetWidth)||0,p=o.clientWidth,m=this.getCollapseBelow(),h=m>0&&p>0&&p<m,g=c.map(e=>e.classList.contains(`nav-overflow-keep`)),_=c.map((e,t)=>t),v=Math.max(0,Math.min((e=(t=this.componentProps.minimumVisibleItems)==null?this.componentProps.threshold:t)==null?0:e,c.length)),y=d;if(h)for(let e=_.length-1;e>=0;e--)g[e]||_.splice(e,1);else if(p>0&&d>p)for(;y+f>p&&_.length>v;){let e=_.findLast(e=>!g[e]);if(e===void 0)break;y-=l[e]+(_.length>1?u:0),_.splice(_.indexOf(e),1)}let b=new Set(_),x=c.map((e,t)=>t).filter(e=>!b.has(e)),S=this.store.overflowIndices,C=S.length!==x.length||S.some((e,t)=>e!==x[t]);(!this.store.initialized||C)&&this.store.setOverflowIndices(x),C&&((i=(a=this.componentProps).onOverflowChange)==null||i.call(a,x.length,_.length))}),(0,a._)(this,`getCollapseBelow`,()=>{let{collapseBelow:e=0}=this.componentProps;if(typeof e==`number`)return e;let t=getComputedStyle(this.root.current).getPropertyValue(`--bs-breakpoint-${e}`);return Number.parseFloat(t)||0}),(0,a._)(this,`handleClick`,e=>{var t,n;(t=(n=this.componentProps).onClick)==null||t.call(n,e);let r=e.target instanceof Element?e.target:null;e.defaultPrevented||(r!=null&&r.closest(`[data-overflow-toggle]`)?this.store.toggle():r!=null&&r.closest(`.nav-overflow-menu`)&&!r.closest(`[aria-haspopup="true"]`)&&this.store.setOpen(!1))}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),!e.defaultPrevented){if(e.key===`Escape`&&this.store.open){var r;this.store.setOpen(!1),(r=this.toggleButton.current)==null||r.focus()}else e.key===`ArrowDown`&&e.target===this.toggleButton.current&&(e.preventDefault(),this.store.setOpen(!0),queueMicrotask(()=>{var e,t;return(t=this.root.current)==null||(e=t.querySelector(`.nav-overflow-menu a[href]:not([aria-disabled="true"]), .nav-overflow-menu button:not(:disabled)`))==null?void 0:e.focus()}))}}),(0,a._)(this,`handleOutside`,e=>{var t;e.target instanceof Node&&!((t=this.root.current)!=null&&t.contains(e.target))&&this.store.setOpen(!1)}),(0,a._)(this,`renderChild`,(e,t,n=!1)=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e))return/*#__PURE__*/ (0,u.jsx)(`span`,{children:e},t);if(n)return e.type===G?/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,`nav-overflow-submenu`)}):/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,`menu-item`),role:`menuitem`});let r=this.store.overflowIndices.includes(t);return/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,r&&`position-absolute invisible`),"aria-hidden":r||void 0,tabIndex:r?-1:e.props.tabIndex})})}},{c:[Or,Er]}=(0,t._)(wr,[],[p.observer],Dr),wr),Tr=class extends o._{constructor(){super(Or),(0,a._)(this,`displayName`,`NavOverflow`),Er()}},(0,a._)(Tr,Cr,void 0),Tr);const kr=I(e=>{let{as:t=`ul`,theme:n,size:r,className:i}=e,a=(0,l._)(e,[`as`,`theme`,`size`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`pagination`,n&&`theme-${n}`,r&&`pagination-${r}`,i)}))});kr.displayName=`Pagination`;const Ar=I(e=>{let{as:t=`li`,active:n,disabled:r,className:i,children:a}=e,o=(0,l._)(e,[`as`,`active`,`disabled`,`className`,`children`]);var f,p;let h=/*#__PURE__*/ (0,m.isValidElement)(a)&&a.type===jr?/*#__PURE__*/ (0,m.cloneElement)(a,{active:(f=a.props.active)==null?n:f,disabled:(p=a.props.disabled)==null?r:p}):a;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`page-item`,{active:n,disabled:r},i),children:h}))});Ar.displayName=`PageItem`;const jr=I(e=>{let{as:t,active:n,disabled:r,className:i,href:a,tabIndex:o,onClick:f,"aria-current":p}=e,m=(0,l._)(e,[`as`,`active`,`disabled`,`className`,`href`,`tabIndex`,`onClick`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t==null?a===void 0?`span`:`a`:t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`page-link`,i),href:r?void 0:a,tabIndex:r?-1:o,"aria-disabled":r||void 0,"aria-current":p==null?n?`page`:void 0:p,onClick:r?void 0:f}))});jr.displayName=`PageLink`;const Mr=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`page-link`,n)}))});Mr.displayName=`PageText`;const Nr=I(e=>{let{as:t=`span`,size:n,animation:r,theme:i,width:a,className:o,style:f,"aria-hidden":p=!0}=e,m=(0,l._)(e,[`as`,`size`,`animation`,`theme`,`width`,`className`,`style`,`aria-hidden`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(r?`placeholder-${r}`:`placeholder`,!r&&n&&`placeholder-${n}`,!r&&i&&`bg-${i}`,o),style:(0,s._)({width:r?void 0:a},f),"aria-hidden":p}))});Nr.displayName=`Placeholder`;const Pr=I(e=>{let{as:t,className:n,children:r=`\xA0`}=e,i=(0,l._)(e,[`as`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},i),{className:(0,d.default)(`placeholder`,n),"aria-hidden":`true`,disabled:!0,children:r}))});Pr.displayName=`PlaceholderButton`;const Fr=I(e=>{let{as:t=`div`,title:n,placement:r=`top`,show:i=!0,role:a=`tooltip`,className:o,children:f,arrowStyle:p}=e,m=(0,l._)(e,[`as`,`title`,`placement`,`show`,`role`,`className`,`children`,`arrowStyle`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`popover`,{show:i},`bs-popover-${wn[r]}`,o),role:a,hidden:!i,"data-bs-placement":r,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{style:p,className:(0,d.default)(`popover-arrow`,Tn[r])}),n!=null&&/*#__PURE__*/ (0,u.jsx)(`h3`,{className:`popover-header`,children:n}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`popover-body`,children:f})]}))});Fr.displayName=`Popover`;const Ir=I(e=>{let{as:t=`div`,value:n,min:r=0,max:i=100,theme:a,striped:o,animated:f,barProps:p={},className:m,style:h,children:g}=e,_=(0,l._)(e,[`as`,`value`,`min`,`max`,`theme`,`striped`,`animated`,`barProps`,`className`,`style`,`children`]);if(![n,r,i].every(Number.isFinite)||i<=r)throw RangeError(`Progress requires finite values and max greater than min`);let v=Math.min(i,Math.max(r,n)),y=`${(v-r)/(i-r)*100}%`,b=(0,c._)((0,s._)({width:`min(100%, calc(var(--_progress-width) + var(--_progress-stack-offset, 100%)))`},h),{"--_progress-width":y}),{className:x,style:S}=p,C=(0,l._)(p,[`className`,`style`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},_),{className:(0,d.default)(`progress`,m),style:b,role:`progressbar`,"aria-valuenow":v,"aria-valuemin":r,"aria-valuemax":i,children:/*#__PURE__*/ (0,u.jsx)(`div`,(0,c._)((0,s._)({},C),{className:(0,d.default)(`progress-bar`,a&&`theme-${a}`,{"progress-bar-striped":o||f,"progress-bar-animated":f},x),style:(0,s._)({width:`var(--_progress-bar-width, ${y})`},S),children:g}))}))});Ir.displayName=`Progress`;const Lr=I(e=>{let{as:t=`div`,className:n,style:r}=e,i=(0,l._)(e,[`as`,`className`,`style`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`progress-stacked`,n),style:(0,s._)({"--_progress-stack-offset":`0%`,"--_progress-bar-width":`100%`},r)}))});Lr.displayName=`ProgressStack`;var Rr,zr,Br,Vr,Hr,Ur=/*#__PURE__*/ new WeakMap,Wr=/*#__PURE__*/ new WeakMap,Gr=class{get activeId(){return(0,n._)(this,Ur)}set activeId(e){(0,i._)(this,Ur,e)}get guides(){return(0,n._)(this,Wr)}set guides(e){(0,i._)(this,Wr,e)}constructor(){(0,r._)(this,Ur,{writable:!0,value:(Hr(this),Rr(this,``))}),(0,r._)(this,Wr,{writable:!0,value:zr(this)}),(0,a._)(this,`setGuides`,Br(this,e=>this.guides=e)),(0,a._)(this,`setActiveId`,Vr(this,e=>this.activeId=e))}};({e:[Rr,zr,Br,Vr,Hr]}=(0,t._)(Gr,[[f.observable,1,`activeId`],[f.observable,1,`guides`],[f.action,0,`setGuides`],[f.action,0,`setActiveId`]],[]));let Kr;var qr,Jr,Yr,Xr;let Zr;new(Kr=(qr=class extends (Xr=m.Component){get componentProps(){return this.props}componentDidMount(){var e;this.mounted=!0,this.refresh(),(e=this.root.current)==null||e.addEventListener(`scroll`,this.handleScroll,{passive:!0}),window.addEventListener(`scroll`,this.handleScroll,{passive:!0}),window.addEventListener(`resize`,this.handleResize),document.addEventListener(`click`,this.handleNavigationClick)}componentDidUpdate(e){(e.children!==this.componentProps.children||e.target!==this.componentProps.target||e.rootMargin!==this.componentProps.rootMargin||e.topMargin!==this.componentProps.topMargin||e.threshold!==this.componentProps.threshold||e.scrollRoot!==this.componentProps.scrollRoot)&&this.refresh(),e.debug!==this.componentProps.debug&&this.updateGuides()}componentWillUnmount(){var e,t,n;this.mounted=!1,(e=this.observer)==null||e.disconnect(),(t=this.bottomObserver)==null||t.disconnect(),(n=this.root.current)==null||n.removeEventListener(`scroll`,this.handleScroll),window.removeEventListener(`scroll`,this.handleScroll),window.removeEventListener(`resize`,this.handleResize),document.removeEventListener(`click`,this.handleNavigationClick)}render(){var e,t,n;let r=(e=this.componentProps.as)==null?`div`:e,i=this.componentProps,{as:a,children:o,className:f,debug:p,onActiveChange:m,onClick:h,onKeyDown:g,rootMargin:_,scrollRoot:v,smoothScroll:y,target:b,threshold:x,topMargin:S}=i,C=(0,l._)(i,[`as`,`children`,`className`,`debug`,`onActiveChange`,`onClick`,`onKeyDown`,`rootMargin`,`scrollRoot`,`smoothScroll`,`target`,`threshold`,`topMargin`]);return/*#__PURE__*/ (0,u.jsxs)(r,(0,c._)((0,s._)({},C),{ref:this.root,className:(0,d.default)(`scrollspy`,f),"data-active-id":this.store.activeId||void 0,"data-bs-root-margin":(t=this.componentProps.rootMargin)==null?void 0:t,tabIndex:(n=this.componentProps.tabIndex)==null?0:n,onClick:this.componentProps.onClick,onKeyDown:this.componentProps.onKeyDown,children:[o,/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.sentinel,className:`position-relative invisible m-0 border-0 p-0 w-0 h-0`,"aria-hidden":`true`}),this.renderDebug()]}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new Gr),(0,a._)(this,`entries`,[]),(0,a._)(this,`observer`,void 0),(0,a._)(this,`bottomObserver`,void 0),(0,a._)(this,`intersecting`,/* @__PURE__ */ new Set),(0,a._)(this,`atBottom`,!1),(0,a._)(this,`mounted`,!1),(0,a._)(this,`sentinel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`refresh`,()=>{var e;let t=this.root.current;if(!t)return;let n=this.componentProps.target?document.querySelector(this.componentProps.target):t,r=[...(e=n==null?void 0:n.querySelectorAll(`a[href^="#"]`))==null?[]:e];this.entries=r.flatMap(e=>{var t;let n=(t=e.getAttribute(`href`))==null?void 0:t.slice(1);if(!n)return[];let r=decodeURIComponent(n),i=document.getElementById(r);return!i||i.hidden||i.closest(`[hidden]`)||i.getAttribute(`aria-hidden`)===`true`||getComputedStyle(i).display===`none`||getComputedStyle(i).visibility===`hidden`?[]:[{id:r,link:e,section:i}]}),this.entries.sort((e,t)=>e.section.getBoundingClientRect().top-t.section.getBoundingClientRect().top),this.rebuildObservers(),this.updateActive(),this.updateGuides()}),(0,a._)(this,`handleResize`,()=>{this.rebuildObservers(),this.updateGuides()}),(0,a._)(this,`handleScroll`,()=>this.updateGuides()),(0,a._)(this,`getRootHeight`,()=>{var e,t;return this.componentProps.scrollRoot===`window`?document.documentElement.clientHeight||window.innerHeight:(e=(t=this.root.current)==null?void 0:t.clientHeight)==null?0:e}),(0,a._)(this,`getRootMargin`,()=>{if(this.componentProps.rootMargin!=null)return this.componentProps.rootMargin;let{topMargin:e=`12%`}=this.componentProps,t=Number.parseFloat(e)||0,n=this.getRootHeight(),r=e.endsWith(`%`)?t:n?t/n*100:12;return`0px 0px -${Math.min(Math.max(100-r,0),100)}% 0px`}),(0,a._)(this,`rebuildObservers`,()=>{var e,t,n;(t=this.observer)==null||t.disconnect(),(n=this.bottomObserver)==null||n.disconnect(),this.intersecting.clear(),this.atBottom=!1;let r=this.componentProps.scrollRoot===`window`?null:this.root.current,i=new window.IntersectionObserver(e=>{if(this.mounted&&this.observer===i){for(let t of e)t.isIntersecting?this.intersecting.add(t.target):this.intersecting.delete(t.target);this.updateActive()}},{root:r,rootMargin:this.getRootMargin(),threshold:(e=this.componentProps.threshold)==null?[0]:e});this.observer=i;for(let e of new Set(this.entries.map(e=>e.section)))i.observe(e);let a=new window.IntersectionObserver(e=>{var t,n;if(!this.mounted||this.bottomObserver!==a)return;let i=(t=r==null?document.scrollingElement:r)==null?document.documentElement:t;this.atBottom=!!((n=e.at(-1))!=null&&n.isIntersecting)&&i.scrollHeight>i.clientHeight,this.updateActive(),this.updateGuides()},{root:r,threshold:[0]});this.bottomObserver=a,this.sentinel.current&&a.observe(this.sentinel.current)}),(0,a._)(this,`handleNavigationClick`,e=>{if(!this.componentProps.smoothScroll||e.defaultPrevented)return;let t=e.target instanceof Element?e.target.closest(`a[href^="#"]`):null,n=this.entries.find(e=>e.link===t);if(!t||!n)return;e.preventDefault();let r=this.root.current,{scrollRoot:i=`self`}=this.componentProps;if(i===`window`)window.scrollTo({top:window.scrollY+n.section.getBoundingClientRect().top,behavior:`smooth`});else if(r){let e=r.scrollTop+n.section.getBoundingClientRect().top-r.getBoundingClientRect().top;r.scrollTo({top:e,behavior:`smooth`})}window.history.replaceState(null,``,`#${encodeURIComponent(n.id)}`);let a=!n.section.hasAttribute(`tabindex`);a&&(n.section.tabIndex=-1),n.section.focus({preventScroll:!0}),a&&n.section.removeAttribute(`tabindex`),this.updateActive()}),(0,a._)(this,`getActivationLine`,e=>{var t;let n=this.getRootMargin().trim().split(/\s+/),r=(t=n[2])==null?n[0]:t,i=Number.parseFloat(r)||0;return e+(r.endsWith(`%`)?e*i/100:i)}),(0,a._)(this,`updateGuides`,()=>{let e=this.root.current;if(!this.componentProps.debug||!e)return this.store.setGuides(void 0);let t=e.getBoundingClientRect(),n=this.getRootHeight();this.store.setGuides({top:this.componentProps.scrollRoot===`window`?0:t.top,left:this.componentProps.scrollRoot===`window`?0:t.left,width:this.componentProps.scrollRoot===`window`?window.innerWidth:e.clientWidth,height:n,line:this.getActivationLine(n),atBottom:this.atBottom})}),(0,a._)(this,`updateActive`,()=>{var e,t,n,r,i,a;if(!this.root.current||!this.entries.length)return;let o=this.entries.at(-1),s=(e=(t=(n=this.atBottom?o:void 0)==null?[...this.entries].reverse().find(({section:e})=>this.intersecting.has(e)):n)==null?this.entries.find(e=>e.id===this.store.activeId):t)==null?this.entries[0]:e,c=new Set(this.entries.filter(e=>e.id===s.id).map(e=>e.link)),l=s.link.closest(`.nav`),u=l==null||(r=l.parentElement)==null?void 0:r.closest(`.nav`);for(;u&&u!==this.root.current;){var d;let e=[...this.entries].reverse().find(e=>e.link.closest(`.nav`)===u&&!!(e.section.compareDocumentPosition(s.section)&Node.DOCUMENT_POSITION_FOLLOWING));e&&c.add(e.link),l=u,u=(d=l.parentElement)==null?void 0:d.closest(`.nav`)}for(let{link:e}of this.entries){let t=c.has(e);e.classList.toggle(`active`,t),t?e.setAttribute(`aria-current`,`location`):e.removeAttribute(`aria-current`)}s.id!==this.store.activeId&&(this.store.setActiveId(s.id),(i=(a=this.componentProps).onActiveChange)==null||i.call(a,s.id))}),(0,a._)(this,`renderDebug`,()=>{let e=this.store.guides;if(!this.componentProps.debug||!e)return null;let{top:t,left:n,width:r,height:i,line:a,atBottom:o}=e;return/*#__PURE__*/ (0,h.createPortal)(/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-fixed overflow-hidden pe-none`,style:{top:t,left:n,width:r,height:i,zIndex:1080},"aria-hidden":`true`,"data-scrollspy-debug":!0,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`position-absolute start-0 end-0 border-top border-danger border-2`,style:{top:a,borderTopStyle:`dashed`},"data-scrollspy-line":!0}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`position-absolute bottom-0 start-0 end-0 border-top border-danger`,style:{height:12,borderTop:`1px solid #dc3545`,background:o?`rgb(220 53 69 / 40%)`:`rgb(220 53 69 / 10%)`},"data-scrollspy-bottom":o?`reached`:`pending`})]}),document.body)})}},{c:[Zr,Yr]}=(0,t._)(qr,[],[p.observer],Xr),qr),Jr=class extends o._{constructor(){super(Zr),(0,a._)(this,`displayName`,`ScrollSpy`),Yr()}},(0,a._)(Jr,Kr,void 0),Jr);const q=I(e=>{let{as:t=`span`,animation:n=`border`,size:r,theme:i,className:a,role:o=`status`}=e,f=(0,l._)(e,[`as`,`animation`,`size`,`theme`,`className`,`role`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{role:o,className:(0,d.default)(`spinner-${n}`,r&&`spinner-${r}`,i&&`theme-${i}`,a)}))});q.displayName=`Spinner`;const Qr=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`spinner-rotate`,n)}))});Qr.displayName=`SpinnerIcon`;const $r=I(e=>{let{as:t=`div`,direction:n=`vertical`,gap:r,className:i}=e,a=(0,l._)(e,[`as`,`direction`,`gap`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(n===`horizontal`?`hstack`:`vstack`,r!==void 0&&`gap-${r}`,i)}))});$r.displayName=`Stack`;const ei=(e,t)=>(0,d.default)(`stepper`,e===!0?`stepper-horizontal`:e&&`${e}:stepper-horizontal`,t),ti=I(e=>{let{as:t=`ol`,horizontal:n,className:r}=e,i=(0,l._)(e,[`as`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:ei(n,r)}))});ti.displayName=`Stepper`;const ni=I(e=>{let{as:t=`nav`,horizontal:n,className:r}=e,i=(0,l._)(e,[`as`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:ei(n,r)}))});ni.displayName=`StepperNav`;const ri=I(e=>{let{as:t=`li`,active:n,theme:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`theme`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`stepper-item`,{active:n},r&&`theme-${r}`,i)}))});ri.displayName=`StepperItem`;const ii=I(e=>{let{as:t=`a`,active:n,theme:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`theme`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`stepper-item`,{active:n},r&&`theme-${r}`,i)}))});ii.displayName=`StepperLink`;const ai=I(e=>{let{as:t=`button`,active:n,theme:r,className:i,type:a=`button`}=e,o=(0,l._)(e,[`as`,`active`,`theme`,`className`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:a,className:(0,d.default)(`stepper-item p-0 border-0 bg-transparent`,{active:n},r&&`theme-${r}`,i)}))});ai.displayName=`StepperButton`;const oi=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`stepper-overflow`,n)}))});oi.displayName=`StepperOverflow`;let si;var ci,li,ui,di,fi,pi,mi,hi;const gi=I(e=>{let{as:t=`div`,eventKey:n,label:r,disabled:i}=e,a=(0,l._)(e,[`as`,`eventKey`,`label`,`disabled`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,s._)({},a))});gi.displayName=`Tab`;let _i;new(si=(ci=/*#__PURE__*/ new WeakMap,li=class extends (fi=m.Component){get componentProps(){return this.props}get tabs(){return m.Children.toArray(this.componentProps.children).filter(e=>typeof e!=`string`||e.trim()).map(e=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e)||typeof e.props.eventKey!=`string`||!(`label`in e.props))throw TypeError(`Tabs children must be Tab elements.`);return e})}get selectedKey(){return(0,n._)(this,ci)}set selectedKey(e){(0,i._)(this,ci,e)}get activeKey(){var e,t,n;let r=(e=this.componentProps.activeKey)==null?this.selectedKey:e;return this.tabs.some(({props:e})=>e.eventKey===r&&!e.disabled)?r:(t=(n=this.tabs.find(({props:e})=>!e.disabled))==null?void 0:n.props.eventKey)==null?``:t}get orientation(){var e;return(e=this.componentProps.orientation)==null?this.componentProps.vertical?`vertical`:`horizontal`:e}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,activeKey:i,className:a,defaultActiveKey:o,fade:d,onChange:f,onClick:p,onKeyDown:m,id:h,orientation:g,children:_,variant:v,vertical:y,fill:b,justified:x,cardHeader:S,navbar:C}=n,w=(0,l._)(n,[`as`,`activeKey`,`className`,`defaultActiveKey`,`fade`,`onChange`,`onClick`,`onKeyDown`,`id`,`orientation`,`children`,`variant`,`vertical`,`fill`,`justified`,`cardHeader`,`navbar`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},w),{ref:this.root,id:this.componentProps.id,className:a,onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:[this.renderTabs(),this.renderPanels()]}))}constructor(...e){var t,n,i,o,l;super(...e),(0,a._)(this,`root`,(hi(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,ci,{writable:!0,value:pi(this,(t=(n=(i=this.componentProps.defaultActiveKey)==null?(o=this.tabs.find(({props:e})=>!e.disabled))==null?void 0:o.props.eventKey:i)==null?(l=this.tabs[0])==null?void 0:l.props.eventKey:n)==null?``:t)}),(0,a._)(this,`handleClick`,e=>{var t,n,r;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented)return;let i=e.target.closest(`[data-tab-index]`),a=i&&((r=this.tabs[Number(i.dataset.tabIndex)])==null?void 0:r.props);a&&!a.disabled&&this.activate(a.eventKey)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n,r,i;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented)return;let a=e.target.closest(`[data-tab-index]`),o=Number(a==null?void 0:a.dataset.tabIndex),{tabs:s}=this;if(!a||Number.isNaN(o))return;let c=this.orientation!==`vertical`,l=c?e.key===`ArrowLeft`:e.key===`ArrowUp`,u=c?e.key===`ArrowRight`:e.key===`ArrowDown`,d=s.map(({props:e},t)=>e.disabled?-1:t).filter(e=>e>=0),f=d.indexOf(o),p=e.key===`Home`?d[0]:e.key===`End`?d.at(-1):l?d[(f-1+d.length)%d.length]:u?d[(f+1)%d.length]:void 0;if(p===void 0)return;e.preventDefault();let m=s[p];this.activate(m.props.eventKey),(i=this.root.current)==null||(r=i.querySelector(`[data-tab-index="${p}"]`))==null||r.focus()}),(0,a._)(this,`activate`,mi(this,e=>{var t,n;(t=(n=this.componentProps).onChange)==null||t.call(n,e),this.componentProps.activeKey===void 0&&(this.selectedKey=e)})),(0,a._)(this,`tabId`,e=>`${this.componentProps.id}-tab-${encodeURIComponent(e)}`),(0,a._)(this,`panelId`,e=>`${this.componentProps.id}-panel-${encodeURIComponent(e)}`),(0,a._)(this,`renderTabs`,()=>{var e;let{variant:t=`tabs`,fill:n,justified:r,cardHeader:i,navbar:a}=this.componentProps,{orientation:o}=this,l=t===`list-group`,f={role:`tablist`,"aria-label":(e=this.componentProps[`aria-label`])==null?`Tabs`:e,"aria-orientation":o,children:this.tabs.map(({props:e},t)=>{let n=e.eventKey===this.activeKey,r={id:this.tabId(e.eventKey),type:`button`,role:`tab`,"data-tab-index":t,"aria-controls":this.panelId(e.eventKey),"aria-selected":n,"aria-disabled":e.disabled||void 0,tabIndex:n?0:-1,disabled:e.disabled,className:(0,d.default)({active:n},e.disabled&&`disabled`),children:e.label};return l?/*#__PURE__*/ (0,u.jsx)(pn,(0,c._)((0,s._)({as:`button`},r),{action:!0}),e.eventKey):/*#__PURE__*/ (0,u.jsx)(or,(0,s._)({as:`button`},r),e.eventKey)})};return l?/*#__PURE__*/ (0,u.jsx)(un,(0,s._)({as:`div`},f)):/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({as:`div`},f),{variant:t,vertical:o===`vertical`,fill:n,justified:r,cardHeader:i,navbar:a}))}),(0,a._)(this,`renderPanels`,()=>{let{fade:e=!0}=this.componentProps;return/*#__PURE__*/ (0,u.jsx)(`div`,{className:`tab-content`,children:this.tabs.map(t=>{var n;let{eventKey:r,className:i}=t.props,a=r===this.activeKey;return/*#__PURE__*/ (0,m.cloneElement)(t,{key:r,id:this.panelId(r),role:`tabpanel`,"aria-labelledby":this.tabId(r),"aria-hidden":!a,tabIndex:(n=t.props.tabIndex)==null?0:n,className:(0,d.default)(`tab-pane`,{active:a,show:a&&e},!e&&`tab-pane-instant`,i),hidden:!a})})})})}},{e:[pi,mi,hi],c:[_i,di]}=(0,t._)(li,[[f.observable,1,`selectedKey`],[f.action,0,`activate`]],[p.observer],fi),li),ui=class extends o._{constructor(){super(_i),(0,a._)(this,`displayName`,`Tabs`),di()}},(0,a._)(ui,si,void 0),ui);var vi,yi;const bi={"top-start":`top-0 start-0`,"top-center":`top-0 start-50 translate-middle-x`,"top-end":`top-0 end-0`,"middle-start":`top-50 start-0 translate-middle-y`,"middle-center":`top-50 start-50 translate-middle`,"middle-end":`top-50 end-0 translate-middle-y`,"bottom-start":`bottom-0 start-0`,"bottom-center":`bottom-0 start-50 translate-middle-x`,"bottom-end":`bottom-0 end-0`},xi=I(e=>{let{as:t=`div`,position:n=`top-end`,className:r,"aria-live":i=`polite`,"aria-atomic":a=!0}=e,o=(0,l._)(e,[`as`,`position`,`className`,`aria-live`,`aria-atomic`]),f=n===`static`;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`toast-container`,!f&&`position-fixed`,!f&&`p-3`,f?`position-static`:bi[n],r),"aria-live":i,"aria-atomic":a}))});xi.displayName=`ToastContainer`;const Si=I(e=>{let{as:t=`div`,theme:n,show:r=!0,translucent:i,instant:a,role:o=`status`,className:f}=e,p=(0,l._)(e,[`as`,`theme`,`show`,`translucent`,`instant`,`role`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`toast`,{show:r,"toast-translucent":i,"toast-instant":a},n&&`theme-${n}`,f),role:o}))});Si.displayName=`ToastItem`;const Ci=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`toast-header`,n)}))});Ci.displayName=`ToastHeader`;const wi=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`toast-body`,n)}))});wi.displayName=`ToastBody`;var Ti=/*#__PURE__*/ new WeakMap,Ei=class{get messages(){return(0,n._)(this,Ti)}set messages(e){(0,i._)(this,Ti,e)}open(e){var t,n;let r=(t=e.id)==null?(0,g.uniqueID)():t;this.close(r);let i=Date.now(),{promise:a,resolve:o}=Promise.withResolvers(),l=e.delay===0?void 0:setTimeout(()=>this.close(r),(n=e.delay)==null?3e3:n),u=(0,c._)((0,s._)({},e),{id:r,openedAt:i,resolve:o,timer:l});return this.messages=[...this.messages,u],a}close(e){let t=this.messages.find(t=>t.id===e);if(!t)return;let{resolve:n,timer:r}=t,i=(0,l._)(t,[`resolve`,`timer`]);clearTimeout(r),n==null||n((0,c._)((0,s._)({},i),{closedAt:Date.now()})),this.messages=this.messages.filter(t=>t.id!==e)}constructor(e=g.Timestamp){(0,a._)(this,`TimeScalar`,void 0),(0,r._)(this,Ti,{writable:!0,value:void 0}),(0,a._)(this,`Component`,void 0),(0,a._)(this,`renderMessage`,void 0),(0,a._)(this,`handleDismiss`,void 0),this.TimeScalar=e,(0,i._)(this,Ti,(yi(this),vi(this,[]))),this.Component=(0,p.observer)(({position:e})=>/*#__PURE__*/ (0,u.jsx)(xi,{position:e,onClick:this.handleDismiss,children:this.messages.map(this.renderMessage)})),this.renderMessage=({id:e,openedAt:t,title:n,body:r,theme:i,translucent:a,instant:o,role:s,delay:c=3e3})=>{let l=!!n||c===0,d=this.TimeScalar.distanceOf(Date.now(),t).toShortString();return/*#__PURE__*/ (0,u.jsxs)(Si,{theme:i,translucent:a,instant:o,role:s,children:[l&&/*#__PURE__*/ (0,u.jsxs)(Ci,{children:[/*#__PURE__*/ (0,u.jsx)(`strong`,{className:`me-auto`,children:n}),/*#__PURE__*/ (0,u.jsx)(`small`,{children:d}),/*#__PURE__*/ (0,u.jsx)(B,{"data-toast-dismiss":e})]}),/*#__PURE__*/ (0,u.jsx)(wi,{children:r})]},e)},this.handleDismiss=({target:e})=>{var t;if(!(e instanceof Element))return;let n=(t=e.closest(`[data-toast-dismiss]`))==null?void 0:t.dataset.toastDismiss;n&&this.close(n)},this.Component.displayName=`ToastComponent`}};({e:[vi,yi]}=(0,t._)(Ei,[[f.observable,1,`messages`],[f.action,2,`open`],[f.action,2,`close`]],[]));const Di=new Set((/* @__PURE__ */ `accessKey.accept.alt.autoCapitalize.autoComplete.autoFocus.capture.checked.contentEditable.contextMenu.defaultChecked.defaultValue.dir.dirName.disabled.draggable.enterKeyHint.form.formAction.formEncType.formMethod.formNoValidate.formTarget.hidden.height.id.inlist.inputMode.is.itemID.itemProp.itemRef.itemScope.itemType.lang.list.max.maxLength.min.minLength.multiple.name.nonce.pattern.part.popover.popoverTarget.popoverTargetAction.placeholder.about.content.datatype.prefix.property.radioGroup.readOnly.rel.resource.results.rev.role.required.slot.spellCheck.src.step.tabIndex.title.typeof.translate.value.vocab.width.autoCorrect.autoSave.color.security.unselectable.exportparts.inert.onAnimationEnd.onAnimationIteration.onAnimationStart.onAbort.onAuxClick.onBeforeInput.onBeforeToggle.onBlur.onCanPlay.onCanPlayThrough.onChange.onClick.onCompositionEnd.onCompositionStart.onCompositionUpdate.onContextMenu.onCopy.onCut.onDoubleClick.onDrag.onDragEnd.onDragEnter.onDragExit.onDragLeave.onDragOver.onDragStart.onDrop.onDurationChange.onEmptied.onEncrypted.onEnded.onError.onFocus.onGotPointerCapture.onInput.onInvalid.onKeyDown.onKeyPress.onKeyUp.onLoad.onLoadedData.onLoadedMetadata.onLoadStart.onLostPointerCapture.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onPaste.onPause.onPlay.onPlaying.onPointerCancel.onPointerDown.onPointerEnter.onPointerLeave.onPointerMove.onPointerOut.onPointerOver.onPointerUp.onProgress.onRateChange.onScroll.onSeeked.onSeeking.onSelect.onScrollEnd.onStalled.onSuspend.onTimeUpdate.onToggle.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onVolumeChange.onWaiting.onWheel`.split(`.`)).flatMap(e=>[e,`${e}Capture`]));function Oi(e){let t={},n={};for(let[r,i]of Object.entries(e))(Di.has(r)||r.startsWith(`aria-`)?t:n)[r]=i;return{inputProps:t,rootProps:n}}const ki=I(e=>{let{as:t=`label`,type:n=`checkbox`,variant:r=`solid`,className:i,theme:a,name:o,value:f,checked:p,defaultChecked:m,disabled:h,required:g,size:_,inputRef:v,inputClassName:y,inputStyle:b,children:x,onChange:S}=e,C=(0,l._)(e,[`as`,`type`,`variant`,`className`,`theme`,`name`,`value`,`checked`,`defaultChecked`,`disabled`,`required`,`size`,`inputRef`,`inputClassName`,`inputStyle`,`children`,`onChange`]);var w;let{inputProps:T,rootProps:E}=Oi(C);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},E),{className:(0,d.default)(`btn-check`,`btn-${r}`,a&&`theme-${a}`,_&&`btn-${_}`,i),children:[/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},T),{ref:v,className:y,style:b,type:n,name:o,value:f,checked:p,defaultChecked:m,disabled:h,required:g,autoComplete:(w=T.autoComplete)==null?`off`:w,onChange:S})),x]}))});ki.displayName=`ToggleButton`;var Ai=class extends m.Component{get componentProps(){return this.props}render(){var e,t;let n=this.componentProps,{as:r=`button`,target:i,attribute:a,value:o,onToggled:f,theme:p,variant:m,disabled:h}=n,g=(0,l._)(n,[`as`,`target`,`attribute`,`value`,`onToggled`,`theme`,`variant`,`disabled`]);return r===`button`?/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({},g),{theme:p,variant:m,disabled:h,onClick:this.handleClick})):/*#__PURE__*/ (0,u.jsx)(r,(0,c._)((0,s._)({},g),{className:(0,d.default)(p&&`theme-${p}`,m&&`btn-${m}`,g.className),role:(e=g.role)==null?`button`:e,tabIndex:h?-1:(t=g.tabIndex)==null?0:t,"aria-disabled":h||void 0,onClick:this.handleClick,onKeyDown:this.handleKeyDown}))}constructor(...e){super(...e),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented||this.componentProps.disabled)return;let{target:r,attribute:i=`class`,value:a,onToggled:o}=this.componentProps,s=r?[...document.querySelectorAll(r)]:[e.currentTarget],c=s.map(e=>{var t,n;return{element:e,attribute:(t=e.dataset.bsAttribute)==null?i:t,value:(n=e.dataset.bsValue)==null?a:n}});if(c.some(({attribute:e})=>e.toLowerCase()===`id`))throw TypeError(`Toggler cannot change the id attribute`);for(let{element:e,attribute:t,value:n}of c){if(n==null)continue;let r=String(n),i=new window.CustomEvent(`toggle.bs.toggler`,{cancelable:!0});if(e.dispatchEvent(i)){if(t===`class`)for(let t of r.split(/\s+/).filter(Boolean))e.classList.toggle(t);else e.getAttribute(t)===r?e.removeAttribute(t):e.setAttribute(t,r);e.dispatchEvent(new window.CustomEvent(`toggled.bs.toggler`))}}o==null||o(s)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented||this.componentProps.disabled||e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),e.currentTarget.click())})}};(0,a._)(Ai,`displayName`,`Toggler`);const ji=I(e=>{let{as:t=`div`,placement:n=`top`,show:r=!0,role:i=`tooltip`,className:a,children:o,arrowStyle:f}=e,p=(0,l._)(e,[`as`,`placement`,`show`,`role`,`className`,`children`,`arrowStyle`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`tooltip`,{show:r},`bs-tooltip-${wn[n]}`,a),role:i,hidden:!r,"data-bs-placement":n,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{style:f,className:(0,d.default)(`tooltip-arrow`,Tn[n])}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`tooltip-inner`,children:o})]}))});ji.displayName=`Tooltip`;const J=I(e=>{let{as:t=`img`,fluid:n,thumbnail:r,rounded:i,roundedCircle:a,className:o}=e,f=(0,l._)(e,[`as`,`fluid`,`thumbnail`,`rounded`,`roundedCircle`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)({"img-fluid":n,"img-thumbnail":r,rounded:i,"rounded-circle":a},o)}))});J.displayName=`Image`;const Mi=I(e=>{let{as:t=`figure`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`figure`,n)}))});Mi.displayName=`Figure`;const Ni=I(e=>{let{as:t=`img`,fluid:n=!0}=e,r=(0,l._)(e,[`as`,`fluid`]);return/*#__PURE__*/ (0,u.jsx)(J,(0,c._)((0,s._)({as:t},r),{fluid:n}))});Ni.displayName=`FigureImage`;const Pi=I(e=>{let{as:t=`figcaption`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`figure-caption`,n)}))});Pi.displayName=`FigureCaption`;const Fi=I(e=>{let{as:t,className:n,children:r,striped:i,stripedColumns:a,hover:o,bordered:f,borderless:p,card:m,small:h,responsive:g,stacked:_,verticalAlign:v,captionTop:y}=e,b=(0,l._)(e,[`as`,`className`,`children`,`striped`,`stripedColumns`,`hover`,`bordered`,`borderless`,`card`,`small`,`responsive`,`stacked`,`verticalAlign`,`captionTop`]),x=t==null?`div`:t,S=!g&&t?t:`table`,C=!!g||!!m,w=/*#__PURE__*/ (0,u.jsx)(S,(0,c._)((0,s._)({},g&&t?{}:b),{className:(0,d.default)(`table`,{"table-striped":i,"table-striped-columns":a,"table-hover":o,"table-bordered":f,"table-borderless":p,"table-sm":h},_===!0&&`table-stacked`,typeof _==`string`&&`${_}:table-stacked`,v&&`align-${v}`,y&&`caption-top`,g&&t?void 0:n),children:r}));return C?/*#__PURE__*/ (0,u.jsx)(x,(0,c._)((0,s._)({},g&&t?b:{}),{className:(0,d.default)(g&&`table-responsive`,g&&g!==!0&&`${g}:table-responsive`,m&&`table-card`,g&&t&&n),children:w})):w});Fi.displayName=`Table`;var Ii=class extends m.PureComponent{get componentProps(){return this.props}componentDidMount(){window.addEventListener(`click`,this.switchClick,!0)}componentWillUnmount(){window.removeEventListener(`click`,this.switchClick,!0)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,children:i,onInnerClick:a,onOuterClick:o}=n,d=(0,l._)(n,[`as`,`children`,`onInnerClick`,`onOuterClick`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({ref:this.root},d),{children:i}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`switchClick`,e=>{var t;let{onInnerClick:n,onOuterClick:r}=this.componentProps;(t=this.root.current)!=null&&t.contains(e.target)?n==null||n(e):r==null||r(e)})}};
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-5iZMYShA.js");let t=require("@swc/helpers/_/_apply_decs_2203_r"),n=require("@swc/helpers/_/_class_private_field_get"),r=require("@swc/helpers/_/_class_private_field_init"),i=require("@swc/helpers/_/_class_private_field_set"),a=require("@swc/helpers/_/_define_property"),o=require("@swc/helpers/_/_identity"),s=require("@swc/helpers/_/_object_spread"),c=require("@swc/helpers/_/_object_spread_props"),l=require("@swc/helpers/_/_object_without_properties"),u=require("react/jsx-runtime"),d=require("classnames");d=e.n(d);let f=require("mobx"),p=require("mobx-react"),m=require("react");m=e.n(m);let h=require("react-dom"),g=require("web-utility"),_=require("@shikijs/langs/css");_=e.n(_);let v=require("@shikijs/langs/html");v=e.n(v);let y=require("@shikijs/langs/javascript");y=e.n(y);let b=require("@shikijs/langs/json");b=e.n(b);let x=require("@shikijs/langs/jsx");x=e.n(x);let S=require("@shikijs/langs/sh");S=e.n(S);let C=require("@shikijs/langs/tsx");C=e.n(C);let w=require("@shikijs/langs/typescript");w=e.n(w);let T=require("@shikijs/themes/github-dark");T=e.n(T);let E=require("@shikijs/themes/github-light");E=e.n(E);let D=require("shiki/core"),O=require("shiki/engine/javascript"),k=require("mobx-react-helper"),A=require("iterable-observer"),j=require("react-live"),M=require("marked"),N=require("@swc/helpers/_/_async_to_generator"),P=require("html2canvas");P=e.n(P);let F=require("react-dom/server");const I=e=>e,L=I(e=>{let{as:t=`span`,className:n,style:r,name:i,size:a,"aria-hidden":o,"aria-label":f,"aria-labelledby":p}=e,m=(0,l._)(e,[`as`,`className`,`style`,`name`,`size`,`aria-hidden`,`aria-label`,`aria-labelledby`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`bi-${i}`,n),style:(0,s._)({fontSize:a&&`${a}rem`},r),"aria-hidden":o==null?f||p?void 0:!0:o,"aria-label":f,"aria-labelledby":p}))});L.displayName=`Icon`;const ee=e=>typeof e.href==`string`,te=e=>e.preventDefault(),R=I(e=>{let{as:t,variant:n,theme:r,size:i,icon:a,styled:o,disabled:f,active:p,className:m}=e,h=(0,l._)(e,[`as`,`variant`,`theme`,`size`,`icon`,`styled`,`disabled`,`active`,`className`]);var g;let _=h,v=ee(_),y=t==null?v?`a`:`button`:t,b=y===`button`,x=(g=_.role)==null?v?`link`:`button`:g,S=!b&&f?typeof y==`string`?void 0:te:_.onClick,C=(0,d.default)(n===!1?void 0:n?`btn-${n}`:a?void 0:`btn`,r&&`theme-${r}`,i&&`btn-${i}`,{"btn-icon":a,"btn-styled":o,disabled:f,active:p},m);return/*#__PURE__*/ (0,u.jsx)(y,(0,c._)((0,s._)({},_),{className:C,role:x,type:b?_.type||`button`:_.type,href:f?void 0:_.href,disabled:b||typeof y!=`string`?f:void 0,"aria-disabled":!b&&f||void 0,"aria-pressed":!v||x===`button`?p==null?_[`aria-pressed`]:p:_[`aria-pressed`],tabIndex:!b&&f?-1:_.tabIndex,onClick:S}))});R.displayName=`Button`;const ne=I(e=>{let{as:t=`input`,variant:n,theme:r,size:i,icon:a,styled:o,active:f,className:p,type:m=`button`}=e,h=(0,l._)(e,[`as`,`variant`,`theme`,`size`,`icon`,`styled`,`active`,`className`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{type:m,className:(0,d.default)(n===!1?void 0:n?`btn-${n}`:`btn`,r&&`theme-${r}`,i&&`btn-${i}`,{"btn-icon":a,"btn-styled":o,active:f},p)}))});ne.displayName=`ButtonInput`;let re;var z,ie,ae,oe,se,ce,le;const ue=I(e=>{let{as:t=`div`,theme:n,size:r,flush:i,gap:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`size`,`flush`,`gap`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)(`accordion`,n&&`theme-${n}`,r&&`accordion-${r}`,{"accordion-flush":i,"accordion-gap":a},o)}))});ue.displayName=`Accordion`;const de=I(e=>{let{as:t=`details`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`accordion-item`,n)}))});de.displayName=`AccordionItem`;const fe=I(e=>{let{as:t=`summary`,icon:n=`chevron-down`,className:r,children:i}=e,a=(0,l._)(e,[`as`,`icon`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`accordion-header`,r),children:[i,n&&/*#__PURE__*/ (0,u.jsx)(L,{name:n,className:`accordion-icon`})]}))});fe.displayName=`AccordionHeader`;const pe=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`accordion-body`,n)}))});pe.displayName=`AccordionBody`;let me;new(re=(z=/*#__PURE__*/ new WeakMap,ie=class extends (se=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,z)}set expanded(e){(0,i._)(this,z,e)}get items(){var e,t;return[...(e=(t=document.querySelector(this.componentProps.target))==null?void 0:t.querySelectorAll(`:scope > .accordion-item`))==null?[]:e]}componentDidMount(){document.addEventListener(`toggle`,this.refresh,!0),this.refresh()}componentDidUpdate(e){e.target!==this.componentProps.target&&(this.restoreNames(),this.refresh())}componentWillUnmount(){document.removeEventListener(`toggle`,this.refresh,!0),this.restoreNames()}render(){let e=this.componentProps,{target:t}=e,n=(0,l._)(e,[`target`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:this.componentProps.as},n),{"aria-expanded":this.expanded,onClick:this.handleClick}))}constructor(...e){super(...e),(0,r._)(this,z,{writable:!0,value:(le(this),ce(this,!1))}),(0,a._)(this,`names`,/* @__PURE__ */ new Map),(0,a._)(this,`restoreNames`,()=>{for(let[e,t]of this.names)e.setAttribute(`name`,t);this.names.clear()}),(0,a._)(this,`refresh`,(0,f.action)(()=>{let{items:e}=this;this.expanded=!!e.length&&e.every(({open:e})=>e)})),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented)return;let{items:r,expanded:i}=this;for(let e of r){let t=e.getAttribute(`name`);!i&&t&&(this.names.set(e,t),e.removeAttribute(`name`)),e.open=!i}i&&this.restoreNames(),this.refresh()})}},{e:[ce,le],c:[me,oe]}=(0,t._)(ie,[[f.observable,1,`expanded`]],[p.observer],se),ie),ae=class extends o._{constructor(){super(me),(0,a._)(this,`displayName`,`AccordionToggle`),oe()}},(0,a._)(ae,re,void 0),ae);const B=I(e=>{let{as:t=`button`,dismiss:n,className:r,type:i=`button`,"aria-label":a=`Close`}=e,o=(0,l._)(e,[`as`,`dismiss`,`className`,`type`,`aria-label`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:i,className:(0,d.default)(`btn-close`,r),"data-bs-dismiss":n,"aria-label":a}))});B.displayName=`CloseButton`;let he;var ge,_e,ve,ye,be,xe,Se,Ce,we;let V;new(he=(ge=/*#__PURE__*/ new WeakMap,_e=/*#__PURE__*/ new WeakMap,ve=class extends (xe=m.Component){get componentProps(){return this.props}get hiding(){return(0,n._)(this,ge)}set hiding(e){(0,i._)(this,ge,e)}get closed(){return(0,n._)(this,_e)}set closed(e){(0,i._)(this,_e,e)}componentDidUpdate(){if(this.closed&&!this.notified){var e,t;this.notified=!0,(e=(t=this.componentProps).onClosed)==null||e.call(t)}}componentWillUnmount(){clearTimeout(this.timer)}render(){var e,t;let n=(e=this.componentProps.as)==null?`div`:e,r=this.componentProps,{as:i,theme:a,dismissible:o,instant:f,closeLabel:p=`Close`,onClose:m,onClosed:h,className:g,children:_}=r,v=(0,l._)(r,[`as`,`theme`,`dismissible`,`instant`,`closeLabel`,`onClose`,`onClosed`,`className`,`children`]);return this.closed?null:/*#__PURE__*/ (0,u.jsxs)(n,(0,c._)((0,s._)({},v),{ref:this.root,role:(t=v.role)==null?`alert`:t,className:(0,d.default)(`alert`,a&&`theme-${a}`,{"alert-instant":f,hiding:this.hiding},g),onTransitionEnd:this.handleTransitionEnd,children:[_,o&&/*#__PURE__*/ (0,u.jsx)(B,{className:`ms-auto`,"aria-label":p,onClick:this.handleClose})]}))}constructor(...e){super(...e),(0,r._)(this,ge,{writable:!0,value:(we(this),Se(this,!1))}),(0,r._)(this,_e,{writable:!0,value:Ce(this,!1)}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`timer`,void 0),(0,a._)(this,`notified`,!1),(0,a._)(this,`finishClose`,(0,f.action)(()=>{this.closed||(clearTimeout(this.timer),this.closed=!0)})),(0,a._)(this,`close`,(0,f.action)(()=>{var e,t;if(this.hiding||this.closed)return;if((e=(t=this.componentProps).onClose)==null||e.call(t),this.componentProps.instant)return this.finishClose();this.hiding=!0;let n=getComputedStyle(this.root.current),r=n.transitionDuration.split(`,`).map(V.milliseconds),i=n.transitionDelay.split(`,`).map(V.milliseconds),a=Math.max(0,...r.map((e,t)=>e+(i[t%i.length]||0)));this.timer=setTimeout(this.finishClose,a)})),(0,a._)(this,`handleClose`,e=>{e.defaultPrevented||this.close()}),(0,a._)(this,`handleTransitionEnd`,e=>{var t,n;(t=(n=this.componentProps).onTransitionEnd)==null||t.call(n,e),e.target===e.currentTarget&&this.hiding&&this.finishClose()})}},{e:[Se,Ce,we],c:[V,be]}=(0,t._)(ve,[[f.observable,1,`hiding`],[f.observable,1,`closed`]],[p.observer],xe),ve),ye=class extends o._{constructor(){super(V),(0,a._)(this,`displayName`,`Alert`),(0,a._)(this,`milliseconds`,e=>(parseFloat(e)||0)*(e.trim().endsWith(`ms`)?1:1e3)),be()}},(0,a._)(ye,he,void 0),ye);const Te=I(e=>{let{as:t=`a`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`alert-link`,n)}))});Te.displayName=`AlertLink`;const Ee=I(e=>{let{as:t=`h4`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`alert-heading`,n)}))});Ee.displayName=`AlertHeading`;const De=I(e=>{let{as:t=`span`,className:n,style:r,size:i,theme:a,subtle:o,src:f,alt:p,status:m,statusLabel:h=m,children:g}=e,_=(0,l._)(e,[`as`,`className`,`style`,`size`,`theme`,`subtle`,`src`,`alt`,`status`,`statusLabel`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({className:(0,d.default)(`avatar`,typeof i==`string`&&`avatar-${i}`,a&&`theme-${a}`,o&&`avatar-subtle`,n),style:typeof i==`number`?(0,s._)({"--bs-avatar-size":`${i}rem`},r):r},_),{children:[f?/*#__PURE__*/ (0,u.jsx)(`img`,{className:`avatar-img`,src:f,alt:p}):g,m&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`avatar-status status-${m}`,role:`img`,"aria-label":h})]}))});De.displayName=`Avatar`;const Oe=I(e=>{let{as:t=`img`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`avatar-img`,n)}))});Oe.displayName=`AvatarImage`;const ke=I(e=>{let{as:t=`div`,className:n,size:r,children:i}=e,a=(0,l._)(e,[`as`,`className`,`size`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:(0,d.default)(`avatar-stack`,r&&`avatar-stack-${r}`,n)},a),{children:i}))});ke.displayName=`AvatarStack`;const Ae=e=>typeof e.href==`string`,H=I(e=>{let{as:t,variant:n=`solid`,theme:r,pill:i,className:a}=e,o=(0,l._)(e,[`as`,`variant`,`theme`,`pill`,`className`]),f=t==null?Ae(o)?`a`:`span`:t,p=(0,d.default)(`badge`,n!==`solid`&&`badge-${n}`,r&&`theme-${r}`,{"rounded-pill":i},a);return/*#__PURE__*/ (0,u.jsx)(f,(0,c._)((0,s._)({},o),{className:p}))});H.displayName=`Badge`;const je=I(e=>{let{as:t=`ol`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`breadcrumb`,n)}))});je.displayName=`Breadcrumb`;const Me=I(e=>{let{as:t=`li`,active:n,className:r,"aria-current":i=n?`page`:void 0}=e,a=(0,l._)(e,[`as`,`active`,`className`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`breadcrumb-item`,{active:n},r),"aria-current":i}))});Me.displayName=`BreadcrumbItem`;const Ne=I(e=>{let{as:t=`a`,active:n,className:r,"aria-current":i=n?`page`:void 0}=e,a=(0,l._)(e,[`as`,`active`,`className`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`breadcrumb-link`,{active:n},r),"aria-current":i}))});Ne.displayName=`BreadcrumbLink`;const Pe=I(e=>{let{as:t=`li`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`breadcrumb-divider`,n),"aria-hidden":`true`}))});Pe.displayName=`BreadcrumbDivider`;const Fe=I(e=>{let{as:t=`div`,vertical:n,size:r,divider:i,role:a=`group`,className:o}=e,f=(0,l._)(e,[`as`,`vertical`,`size`,`divider`,`role`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({role:a},f),{className:(0,d.default)(n?`btn-group-vertical`:`btn-group`,r&&`btn-group-${r}`,i&&`btn-group-divider`,o)}))});Fe.displayName=`ButtonGroup`;const Ie=I(e=>{let{as:t=`div`,className:n,role:r=`toolbar`}=e,i=(0,l._)(e,[`as`,`className`,`role`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({role:r},i),{className:(0,d.default)(`btn-toolbar`,n)}))});Ie.displayName=`ButtonToolbar`;const Le=I(e=>{let{as:t=`div`,row:n,body:r,theme:i,subtle:a,translucent:o,className:f}=e,p=(0,l._)(e,[`as`,`row`,`body`,`theme`,`subtle`,`translucent`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`card`,{"card-row":n,"card-body":r,"card-subtle":a,"card-translucent":o},i&&`theme-${i}`,f)}))});Le.displayName=`Card`;const Re=I(e=>{let{as:t=`img`,placement:n,className:r}=e,i=(0,l._)(e,[`as`,`placement`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(n?`card-img-${n}`:`card-img`,r)}))});Re.displayName=`CardImage`;const ze=I(e=>{let{as:t=`p`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-subtitle`,n)}))});ze.displayName=`CardSubtitle`;const Be=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-group`,n)}))});Be.displayName=`CardGroup`;const Ve=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-img-overlay`,n)}))});Ve.displayName=`CardImageOverlay`;const He=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-header`,n)}))});He.displayName=`CardHeader`;const Ue=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-body`,n)}))});Ue.displayName=`CardBody`;const We=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-footer`,n)}))});We.displayName=`CardFooter`;const Ge=I(e=>{let{as:t=`h4`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-title`,n)}))});Ge.displayName=`CardTitle`;const Ke=I(e=>{let{as:t=`p`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`card-text`,n)}))});Ke.displayName=`CardText`;var qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,U=/*#__PURE__*/ new WeakMap,it=/*#__PURE__*/ new WeakMap,at=/*#__PURE__*/ new WeakMap,ot=/*#__PURE__*/ new WeakMap,st=class{get activeIndex(){return(0,n._)(this,U)}set activeIndex(e){(0,i._)(this,U,e)}get playing(){return(0,n._)(this,it)}set playing(e){(0,i._)(this,it,e)}get hovering(){return(0,n._)(this,at)}set hovering(e){(0,i._)(this,at,e)}get visible(){return(0,n._)(this,ot)}set visible(e){(0,i._)(this,ot,e)}get cycling(){return this.playing&&!this.hovering&&this.visible}constructor(e,t,n){(0,a._)(this,`count`,void 0),(0,a._)(this,`ends`,void 0),(0,a._)(this,`interval`,void 0),(0,r._)(this,U,{writable:!0,value:void 0}),(0,r._)(this,it,{writable:!0,value:void 0}),(0,a._)(this,`timer`,void 0),(0,r._)(this,at,{writable:!0,value:void 0}),(0,r._)(this,ot,{writable:!0,value:void 0}),(0,a._)(this,`onChange`,void 0),(0,a._)(this,`onNavigate`,void 0),(0,a._)(this,`setIndex`,void 0),(0,a._)(this,`next`,void 0),(0,a._)(this,`previous`,void 0),(0,a._)(this,`play`,void 0),(0,a._)(this,`pause`,void 0),(0,a._)(this,`toggle`,void 0),(0,a._)(this,`setHovering`,void 0),(0,a._)(this,`setVisible`,void 0),(0,a._)(this,`update`,void 0),(0,a._)(this,`dispose`,void 0),(0,a._)(this,`schedule`,void 0),(0,a._)(this,`clearTimer`,void 0),this.count=e,this.ends=t,this.interval=n,(0,i._)(this,U,(rt(this),qe(this,0))),(0,i._)(this,it,Je(this,!1)),(0,i._)(this,at,Ye(this,!1)),(0,i._)(this,ot,Xe(this,!0)),this.setIndex=Ze(this,(e,t=!1,n,r=!1)=>{let i=Math.max(0,Math.min(e,this.count-1));if(i!==this.activeIndex){var a,o,s,c;let e=this.activeIndex;this.activeIndex=i,(a=(o=this).onChange)==null||a.call(o,i),r||(s=(c=this).onNavigate)==null||s.call(c,i,e,n)}t?this.pause():this.schedule()}),this.next=Qe(this,(e=!1)=>{this.activeIndex===this.count-1&&this.ends===`stop`?e||this.pause():this.setIndex(this.activeIndex===this.count-1?0:this.activeIndex+1,e,1)}),this.previous=$e(this,(e=!1)=>{this.activeIndex===0&&this.ends===`stop`?e||this.pause():this.setIndex(this.activeIndex===0?this.count-1:this.activeIndex-1,e,-1)}),this.play=et(this,()=>{this.playing=!0,this.schedule()}),this.pause=tt(this,()=>{this.playing=!1,this.clearTimer()}),this.toggle=nt(this,()=>this.playing?this.pause():this.play()),this.setHovering=(0,f.action)(e=>{this.hovering=e,this.schedule()}),this.setVisible=(0,f.action)(e=>{this.visible=e,this.schedule()}),this.update=(e,t,n)=>{this.count=e,this.ends=t,this.interval=n,this.activeIndex>=e?this.setIndex(Math.max(0,e-1)):this.schedule()},this.dispose=()=>this.clearTimer(),this.schedule=()=>{this.clearTimer(),!this.cycling||this.count<2||(this.timer=setTimeout(this.next,Math.max(0,this.interval(this.activeIndex))))},this.clearTimer=()=>{this.timer&&clearTimeout(this.timer),this.timer=void 0}}};({e:[qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt]}=(0,t._)(st,[[f.observable,1,`activeIndex`],[f.observable,1,`playing`],[f.observable,1,`hovering`],[f.observable,1,`visible`],[f.computed,3,`cycling`],[f.action,0,`setIndex`],[f.action,0,`next`],[f.action,0,`previous`],[f.action,0,`play`],[f.action,0,`pause`],[f.action,0,`toggle`]],[]));var ct=class{get looping(){return!!this.clone||this.frame!==void 0}constructor(){(0,a._)(this,`frame`,void 0),(0,a._)(this,`clone`,void 0),(0,a._)(this,`track`,void 0),(0,a._)(this,`snap`,``),(0,a._)(this,`navigate`,(e,t,n)=>{this.dispose(),!n||e.scrollLeft===t?e.scrollTo({left:t,behavior:`instant`}):(this.track=e,this.snap=e.style.scrollSnapType,e.style.scrollSnapType=`none`,this.animate(e,e.scrollLeft,t))}),(0,a._)(this,`loop`,(e,t,n,r)=>{this.dispose(),this.track=e,this.snap=e.style.scrollSnapType;let i=n.cloneNode(!0);i.removeAttribute(`id`);for(let e of i.querySelectorAll(`[id]`))e.removeAttribute(`id`);i.setAttribute(`aria-hidden`,`true`),i.inert=!0,i.dataset.carouselClone=`true`,i.classList.remove(`active`),this.clone=i,e.style.scrollSnapType=`none`,r?e.append(i):e.prepend(i);let a=t.offsetLeft,o=i.offsetLeft;e.scrollTo({left:a,behavior:`instant`}),this.animate(e,a,o,()=>{this.dispose(),e.scrollTo({left:n.offsetLeft,behavior:`instant`})})}),(0,a._)(this,`animate`,(e,t,n,r=this.dispose)=>{let i=window.performance.now(),a=o=>{let s=Math.min(1,(o-i)/400),c=1-Math.pow(1-s,3);e.scrollTo({left:t+(n-t)*c,behavior:`instant`}),s<1?this.frame=window.requestAnimationFrame(a):r()};this.frame=window.requestAnimationFrame(a)}),(0,a._)(this,`dispose`,()=>{var e;this.frame!==void 0&&window.cancelAnimationFrame(this.frame),this.frame=void 0,(e=this.clone)==null||e.remove(),this.clone=void 0,this.track&&(this.track.style.scrollSnapType=this.snap),this.track=void 0})}},lt={paused:`HR-isq_paused`};let ut;var dt,ft,pt,mt;const ht=I(e=>{let{as:t=`div`,interval:n,active:r,className:i,children:a}=e,o=(0,l._)(e,[`as`,`interval`,`active`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`carousel-item`,{active:r},i),"data-bs-interval":n,children:a}))});ht.displayName=`CarouselSlide`;let gt;new(ut=(dt=class extends (mt=m.Component){componentDidMount(){var e;this.updateStore(),this.props.autoplay&&this.store.play(),document.addEventListener(`visibilitychange`,this.handleVisibilityChange),(e=this.track.current)==null||e.addEventListener(`scroll`,this.handleScroll,{passive:!0})}componentDidUpdate(){var e;this.updateStore();let t=document.activeElement;if(t instanceof HTMLButtonElement&&t.disabled&&(e=this.root.current)!=null&&e.contains(t)){var n;let e=t.dataset.carouselAction===`next`?`previous`:`next`;(n=this.root.current.querySelector(`[data-carousel-action="${e}"]`))==null||n.focus()}}componentWillUnmount(){var e;this.store.dispose(),this.scroller.dispose(),document.removeEventListener(`visibilitychange`,this.handleVisibilityChange),(e=this.track.current)==null||e.removeEventListener(`scroll`,this.handleScroll)}render(){var e,t,n;let r=(e=this.props.as)==null?`div`:e,i=this.getSlides(),a=this.props,{as:o,auto:f,autoplay:p,center:m,children:h,className:g,controls:_,controlsPlacement:v=`overlay`,controlsClassName:y,controlsStart:b,dark:x,ends:S,fade:C,indicators:w,indicatorPlacement:T,innerClassName:E,interval:D,items:O,itemsGap:k,itemsPeek:A,keyboard:j,onChange:M,onClick:N,pause:P,playPause:F,style:I}=a,L=(0,l._)(a,/* @__PURE__ */ `as.auto.autoplay.center.children.className.controls.controlsPlacement.controlsClassName.controlsStart.dark.ends.fade.indicators.indicatorPlacement.innerClassName.interval.items.itemsGap.itemsPeek.keyboard.onChange.onClick.pause.playPause.style`.split(`.`)),ee=v===`overlay`,te=(0,s._)({},I,O&&{"--bs-carousel-items":O},k!==void 0&&{"--bs-carousel-items-gap":k},A!==void 0&&{"--bs-carousel-items-peek":A},this.store.playing&&{"--bs-carousel-interval":`${this.getSlideInterval(this.store.activeIndex)}ms`});return/*#__PURE__*/ (0,u.jsxs)(r,(0,c._)((0,s._)((0,c._)((0,s._)({},L),{ref:this.root,className:(0,d.default)(`carousel`,{"carousel-overlay":ee,"carousel-auto":f,"carousel-fade":C,"carousel-dark":x,"carousel-center":m,"carousel-playing":this.store.playing,[lt.paused]:this.store.playing&&!this.store.cycling},g),style:te,role:`region`,"aria-label":(t=this.props[`aria-label`])==null?`Carousel`:t,"aria-roledescription":`carousel`}),x&&{"data-bs-theme":`dark`}),{onClick:this.handleClick,onKeyDown:this.handleKeyDown,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onFocusCapture:this.handleFocusCapture,onBlurCapture:this.handleBlurCapture,children:[v===`top`&&this.renderControls(),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.track,className:(0,d.default)(`carousel-inner`,E),tabIndex:0,"aria-label":(n=this.props[`aria-label`])==null?`Carousel slides`:n,onScroll:this.handleScroll,children:i.map(this.renderSlide)}),v!==`top`&&this.renderControls()]}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`track`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new st(0,`loop`,()=>5e3)),(0,a._)(this,`scroller`,new ct),(0,a._)(this,`getSlides`,()=>m.Children.toArray(this.props.children)),(0,a._)(this,`getSlideInterval`,e=>{var t;let n=this.getSlides()[e],r=/*#__PURE__*/ (0,m.isValidElement)(n)?n.props.interval:void 0;return(t=r==null?this.props.interval:r)==null?5e3:t}),(0,a._)(this,`updateStore`,()=>{var e;let t=this.getSlides();this.store.onChange=this.props.onChange,this.store.onNavigate=this.scrollToActive,this.store.update(t.length,(e=this.props.ends)==null?`loop`:e,this.getSlideInterval)}),(0,a._)(this,`handleVisibilityChange`,()=>this.store.setVisible(!document.hidden)),(0,a._)(this,`handleMouseEnter`,()=>{this.props.pause!==!1&&this.store.setHovering(!0)}),(0,a._)(this,`handleMouseLeave`,()=>this.store.setHovering(!1)),(0,a._)(this,`handleFocusCapture`,()=>{this.props.pause!==!1&&this.store.setHovering(!0)}),(0,a._)(this,`handleBlurCapture`,({currentTarget:e,relatedTarget:t})=>{t instanceof Node&&e.contains(t)||this.store.setHovering(!1)}),(0,a._)(this,`handleScroll`,()=>{let e=this.track.current;if(!e||this.scroller.looping)return;let t=[...e.children],n=t.reduce((n,r,i)=>{var a;return Math.abs(r.offsetLeft-e.scrollLeft)<Math.abs(((a=t[n])==null?void 0:a.offsetLeft)-e.scrollLeft)?i:n},0);n!==this.store.activeIndex&&this.store.setIndex(n,!0,void 0,!0)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.props).onKeyDown)==null||t.call(n,e),e.defaultPrevented||this.scroller.looping||this.props.keyboard===!1||e.altKey||e.ctrlKey||e.metaKey||e.target instanceof HTMLElement&&/^(INPUT|TEXTAREA|SELECT)$/.test(e.target.tagName)||(e.key===`ArrowLeft`?(e.preventDefault(),this.store.previous(!0)):e.key===`ArrowRight`&&(e.preventDefault(),this.store.next(!0)))}),(0,a._)(this,`handleClick`,e=>{var t,n,r;if((n=(r=this.props).onClick)==null||n.call(r,e),e.defaultPrevented||this.scroller.looping)return;let i=e.target instanceof Element?e.target.closest(`[data-carousel-action]`):null,{carouselAction:a,index:o}=(t=i==null?void 0:i.dataset)==null?{}:t;switch(a){case`previous`:this.store.previous(!0);break;case`next`:this.store.next(!0);break;case`slide`:o!==void 0&&this.store.setIndex(Number(o),!0);break;case`toggle`:this.store.toggle()}}),(0,a._)(this,`scrollToActive`,(e,t,n)=>{var r;let i=this.track.current,a=this.root.current;if(!i||!a)return;this.scroller.dispose();let o=[...i.children],s=o[e];if(!s)return;let c=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,l=getComputedStyle(a),u=Number.parseFloat(l.getPropertyValue(`--bs-carousel-items`))||1,d=Number.parseFloat(l.getPropertyValue(`--bs-carousel-items-peek`))||0,f=o.some(e=>e.style.width||e.style.flexBasis),p=n===1&&e===0&&t===o.length-1||n===-1&&t===0&&e===o.length-1,m=((r=this.props.ends)==null?`loop`:r)===`loop`&&!this.props.fade&&!c&&u===1&&d===0&&!this.props.center&&!f;p&&m?this.scroller.loop(i,o[t],s,n===1):this.scroller.navigate(i,s.offsetLeft,!p&&!c)}),(0,a._)(this,`renderSlide`,(e,t)=>{let n=this.store.activeIndex===t;return/*#__PURE__*/ (0,m.isValidElement)(e)&&typeof e.type!=`string`?/*#__PURE__*/ (0,m.cloneElement)(e,{active:n,"aria-hidden":!n}):/*#__PURE__*/ (0,u.jsx)(ht,{active:n,"aria-hidden":!n,children:e},t)}),(0,a._)(this,`renderControl`,e=>{var t;let{controls:n=!0,ends:r=`loop`}=this.props;if(!n)return null;let i=e===`previous`,a=this.store.activeIndex===(i?0:this.getSlides().length-1),o=((t=this.props.controlsPlacement)==null?`overlay`:t)===`overlay`,s=i?`Previous`:`Next`;return/*#__PURE__*/ (0,u.jsxs)(R,{variant:o?`subtle`:void 0,theme:o?`secondary`:void 0,size:`sm`,"data-carousel-action":e,"aria-label":s,disabled:r===`stop`&&a,icon:!0,children:[/*#__PURE__*/ (0,u.jsx)(L,{name:i?`chevron-left`:`chevron-right`,size:1}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`visually-hidden`,children:s})]})}),(0,a._)(this,`renderIndicators`,()=>this.props.indicators&&this.getSlides().length>1?/*#__PURE__*/ (0,u.jsx)(`div`,{className:`carousel-indicators`,children:this.getSlides().map((e,t)=>/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,"data-bs-target":this.props.id?`#${this.props.id}`:``,"data-carousel-action":`slide`,"data-index":t,"aria-label":`Slide ${t+1}`,"aria-current":this.store.activeIndex===t?`true`:void 0,className:(0,d.default)({active:this.store.activeIndex===t})},t))}):null),(0,a._)(this,`renderPlayPause`,()=>(this.props.playPause||this.props.autoplay)&&/*#__PURE__*/ (0,u.jsx)(R,{className:(0,d.default)(`carousel-control-play-pause`,{paused:!this.store.playing}),size:`sm`,"data-carousel-action":`toggle`,"aria-label":this.store.playing?`Pause`:`Play`,icon:!0,children:/*#__PURE__*/ (0,u.jsx)(L,{name:this.store.playing?`pause-fill`:`play-fill`,size:1})})),(0,a._)(this,`renderControls`,()=>{let{controls:e=!0,controlsPlacement:t=`overlay`,controlsClassName:n=`d-flex justify-content-between align-items-center`,controlsStart:r,indicators:i,indicatorPlacement:a=`start`,autoplay:o,playPause:s}=this.props;if(!e&&!i&&!o&&!s&&!r)return null;let c=a===`between`,l=this.renderControl(`previous`),d=this.renderControl(`next`),f=/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[this.renderPlayPause(),l,d]});return/*#__PURE__*/ (0,u.jsxs)(`div`,{className:t===`overlay`?`carousel-overlay-controls`:n,children:[r,a===`start`&&this.renderIndicators(),c?l:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-flex gap-1`,children:f}),a!==`start`&&this.renderIndicators(),c&&this.renderPlayPause(),c&&d]})})}},{c:[gt,pt]}=(0,t._)(dt,[],[p.observer],mt),dt),ft=class extends o._{constructor(){super(gt),(0,a._)(this,`displayName`,`Carousel`),pt()}},(0,a._)(ft,ut,void 0),ft);let _t,vt;var yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt;const Ft=`idea-react:collapse-toggle`,It=`idea-react:collapse-change`,Lt=`idea-react:collapse-open`;let Rt;new(_t=(yt=/*#__PURE__*/ new WeakMap,bt=class extends (Dt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,yt)}set expanded(e){(0,i._)(this,yt,e)}get isOpen(){var e;return(e=this.componentProps.open)==null?this.expanded:e}componentDidMount(){this.root.current.addEventListener(Ft,this.handleToggle),document.addEventListener(Lt,this.handlePeerOpen),this.notify(),this.isOpen&&this.notifyOpen()}componentDidUpdate(e){e.open!==this.componentProps.open&&this.isOpen&&this.notifyOpen(),this.notify()}componentWillUnmount(){this.root.current.removeEventListener(Ft,this.handleToggle),document.removeEventListener(Lt,this.handlePeerOpen)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,open:i,defaultOpen:a,parent:o,onOpenChange:f,horizontal:p,className:m}=n,h=(0,l._)(n,[`as`,`open`,`defaultOpen`,`parent`,`onOpenChange`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{ref:this.root,className:(0,d.default)(`collapse`,{"collapse-horizontal":p,show:this.isOpen},m)}))}constructor(...e){var t;super(...e),(0,r._)(this,yt,{writable:!0,value:(kt(this),Ot(this,(t=this.componentProps.defaultOpen)!=null&&t))}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`notify`,()=>this.root.current.dispatchEvent(new Event(It,{bubbles:!0}))),(0,a._)(this,`notifyOpen`,()=>this.root.current.dispatchEvent(new Event(Lt,{bubbles:!0}))),(0,a._)(this,`setOpen`,(0,f.action)(e=>{var t,n;e!==this.isOpen&&((t=(n=this.componentProps).onOpenChange)==null||t.call(n,e),this.componentProps.open===void 0&&(this.expanded=e,e&&this.notifyOpen()))})),(0,a._)(this,`handleToggle`,e=>{e.target===this.root.current&&this.setOpen(!this.isOpen)}),(0,a._)(this,`handlePeerOpen`,({target:e})=>{let{parent:t}=this.componentProps,n=this.root.current,r=t?n==null?void 0:n.closest(t):null;t&&r&&e instanceof Element&&e!==n&&e.closest(t)===r&&this.setOpen(!1)})}},{e:[Ot,kt],c:[Rt,Et]}=(0,t._)(bt,[[f.observable,1,`expanded`]],[p.observer],Dt),bt),xt=class extends o._{constructor(){super(Rt),(0,a._)(this,`displayName`,`Collapse`),Et()}},(0,a._)(xt,_t,void 0),xt);let zt;new(vt=(St=/*#__PURE__*/ new WeakMap,Ct=/*#__PURE__*/ new WeakMap,wt=class extends (jt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,St)}set expanded(e){(0,i._)(this,St,e)}get controls(){return(0,n._)(this,Ct)}set controls(e){(0,i._)(this,Ct,e)}get targets(){return[...document.querySelectorAll(this.componentProps.target)]}componentDidMount(){document.addEventListener(It,this.refresh),this.refresh()}componentDidUpdate(e){e.target!==this.componentProps.target&&this.refresh()}componentWillUnmount(){document.removeEventListener(It,this.refresh)}render(){var e;let t=this.componentProps,{as:n,target:r,href:i,type:a=`button`,variant:o,theme:f,size:p,disabled:m,icon:h,styled:g,navbarToggler:_,className:v,children:y}=t,b=(0,l._)(t,[`as`,`target`,`href`,`type`,`variant`,`theme`,`size`,`disabled`,`icon`,`styled`,`navbarToggler`,`className`,`children`]),x=n==null?i?`a`:`button`:n,S=x===`button`,C=_?/*#__PURE__*/ (0,u.jsx)(`span`,{className:`navbar-toggler-icon`,"aria-hidden":`true`}):y,w=(0,d.default)(o===!1?void 0:o?`btn-${o}`:h?void 0:`btn`,f&&`theme-${f}`,p&&`btn-${p}`,{"btn-icon":h||_,"btn-styled":g,disabled:m,"navbar-toggler":_},v);return/*#__PURE__*/ (0,u.jsx)(x,(0,c._)((0,s._)({},b),{type:S?a:void 0,href:m?void 0:i,disabled:S||typeof x!=`string`?m:void 0,"aria-disabled":!S&&m||void 0,tabIndex:!S&&m?-1:b.tabIndex,className:w,role:(e=b.role)==null?`button`:e,"aria-controls":this.controls||void 0,"aria-expanded":this.expanded,onClick:this.handleClick,children:C}))}constructor(...e){super(...e),(0,r._)(this,St,{writable:!0,value:(Pt(this),Mt(this,!1))}),(0,r._)(this,Ct,{writable:!0,value:Nt(this,``)}),(0,a._)(this,`refresh`,(0,f.action)(()=>{let{targets:e}=this;this.expanded=e.some(e=>e.classList.contains(`show`)),this.controls=e.map(({id:e})=>e).filter(Boolean).join(` `)})),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),!e.defaultPrevented&&(e.preventDefault(),!this.componentProps.disabled))for(let e of this.targets)e.dispatchEvent(new Event(Ft))})}},{e:[Mt,Nt,Pt],c:[zt,At]}=(0,t._)(wt,[[f.observable,1,`expanded`],[f.observable,1,`controls`]],[p.observer],jt),wt),Tt=class extends o._{constructor(){super(zt),(0,a._)(this,`displayName`,`CollapseToggle`),At()}},(0,a._)(Tt,vt,void 0),Tt);var Bt={hiddenBackdrop:`h491eq_hiddenBackdrop`};const Vt=e=>(parseFloat(e)||0)*(e.trim().endsWith(`ms`)?1:1e3),Ht=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-header`,n)}))});Ht.displayName=`DialogHeader`;const Ut=I(e=>{let{as:t=`h1`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-title`,n)}))});Ut.displayName=`DialogTitle`;const Wt=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-body`,n)}))});Wt.displayName=`DialogBody`;const Gt=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`dialog-footer`,n)}))});Gt.displayName=`DialogFooter`;var Kt=class e extends m.Component{get componentProps(){return this.props}get open(){var e,t;return(e=(t=this.element.current)==null?void 0:t.open)!=null&&e}componentDidMount(){this.componentProps.open&&this.show()}componentDidUpdate({open:e,modal:t,scroll:n}){let r=this.componentProps.modal!==t,i=this.componentProps.open!==e,a=this.open;(i||r||this.componentProps.scroll!==n)&&(this.open&&this.componentProps.modal!==t&&(this.switchingMode=!0,this.close()),this.componentProps.scroll?this.unlockScroll():this.open&&this.componentProps.modal!==!1&&this.lockScroll(),(i||r)&&(this.componentProps.open||!i&&r&&a?this.show():this.close()))}componentWillUnmount(){this.finishClose()}render(){var e;let t=(e=this.componentProps.as)==null?`dialog`:e,n=this.componentProps,{as:r,open:i,modal:a,keyboard:o,backdrop:f=!0,theme:p,dialog:m=!0,size:h,fullscreen:g,scrollable:_,animation:v=`fade`,scroll:y,className:b,onCancel:x,onClick:S,onKeyDown:C,onClose:w}=n,T=(0,l._)(n,[`as`,`open`,`modal`,`keyboard`,`backdrop`,`theme`,`dialog`,`size`,`fullscreen`,`scrollable`,`animation`,`scroll`,`className`,`onCancel`,`onClick`,`onKeyDown`,`onClose`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},T),{ref:this.element,className:(0,d.default)(m&&`dialog`,m&&h&&`dialog-${h}`,m&&g&&(g===!0?`dialog-fullscreen`:`${g}-down:dialog-fullscreen`),m&&_&&`dialog-scrollable`,m&&v!==`fade`&&`dialog-${v}`,f===!1&&Bt.hiddenBackdrop,b),"data-backdrop":f===!1?`false`:void 0,"data-bs-theme":p,onCancel:this.handleCancel,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onClose:this.handleClose}))}constructor(...t){super(...t),(0,a._)(this,`element`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`returnFocus`,void 0),(0,a._)(this,`switchingMode`,!1),(0,a._)(this,`closeTimer`,void 0),(0,a._)(this,`show`,()=>{var e;if(clearTimeout(this.closeTimer),(e=this.element.current)==null||e.classList.remove(`hiding`),this.open)return;let t=this.element.current;t&&(!this.switchingMode&&document.activeElement instanceof HTMLElement&&(this.returnFocus=document.activeElement),this.componentProps.modal===!1?t.show():t.showModal(),this.componentProps.modal!==!1&&!this.componentProps.scroll&&this.lockScroll())}),(0,a._)(this,`lockScroll`,()=>{let{scrollLocks:t}=e;t.size||(e.bodyOverflow=document.body.style.overflow,document.body.style.overflow=`hidden`),t.add(this)}),(0,a._)(this,`unlockScroll`,()=>{let{scrollLocks:t}=e;t.delete(this)&&(t.size||(document.body.style.overflow=e.bodyOverflow))}),(0,a._)(this,`close`,()=>{let e=this.element.current;if(!this.open||!e||this.switchingMode)return this.finishClose();let{transitionDuration:t,transitionDelay:n}=getComputedStyle(e),r=t.split(`,`).map(Vt),i=n.split(`,`).map(Vt),a=Math.max(0,...r.map((e,t)=>e+i[t%i.length]));if(!a)return this.finishClose();e.classList.contains(`hiding`)||(e.classList.add(`hiding`),this.closeTimer=setTimeout(this.finishClose,a))}),(0,a._)(this,`finishClose`,()=>{var e,t,n;clearTimeout(this.closeTimer),(e=this.element.current)==null||e.classList.remove(`hiding`),this.unlockScroll(),this.open&&((t=this.element.current)==null||t.close(),(n=this.returnFocus)==null||n.focus())}),(0,a._)(this,`handleClose`,e=>{var t,n;if(this.switchingMode||(t=(n=this.componentProps).onClose)==null||t.call(n,e),!this.open){var r;this.unlockScroll(),(r=this.returnFocus)==null||r.focus()}this.switchingMode=!1}),(0,a._)(this,`handleCancel`,e=>{let{onCancel:t,keyboard:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r}=e;e.preventDefault(),n&&!r&&this.close()}),(0,a._)(this,`handleKeyDown`,e=>{let{onKeyDown:t,keyboard:n=!0}=this.componentProps;t==null||t(e);let{key:r,defaultPrevented:i}=e;r===`Escape`&&n&&!i&&(e.preventDefault(),this.close())}),(0,a._)(this,`handleClick`,e=>{let{onClick:t,backdrop:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r,target:i,currentTarget:a,clientX:o,clientY:s}=e;if(n!==!0||r||i!==a)return;let{left:c,right:l,top:u,bottom:d}=a.getBoundingClientRect();(o<c||o>l||s<u||s>d)&&this.close()})}};(0,a._)(Kt,`scrollLocks`,/* @__PURE__ */ new Set),(0,a._)(Kt,`bodyOverflow`,``);let qt;var Jt,Yt,Xt,Zt,Qt,$t,en,tn;const nn=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-header`,n)}))});nn.displayName=`DrawerHeader`;const rn=I(e=>{let{as:t=`h5`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-title`,n)}))});rn.displayName=`DrawerTitle`;const an=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-body`,n)}))});an.displayName=`DrawerBody`;const on=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`drawer-footer`,n)}))});on.displayName=`DrawerFooter`;const sn={sm:576,md:768,lg:1024,xl:1280,"2xl":1536};let cn;new(qt=(Jt=/*#__PURE__*/ new WeakMap,Yt=class extends (Qt=m.Component){get componentProps(){return this.props}get expanded(){return(0,n._)(this,Jt)}set expanded(e){(0,i._)(this,Jt,e)}componentDidMount(){this.observeBreakpoint()}componentDidUpdate({responsive:e,open:t}){e!==this.componentProps.responsive&&this.observeBreakpoint(),t!==this.componentProps.open&&this.componentProps.open&&(this.dismissed=!1)}componentWillUnmount(){var e;(e=this.media)==null||e.removeEventListener(`change`,this.handleBreakpoint)}render(){let e=this.componentProps,{as:t,title:n,placement:r=`end`,footer:i,bodyClassName:a,onDismiss:o,sheet:f,translucent:p,responsive:m,animation:h=`slide`,fullscreen:g,open:_,modal:v,scroll:y,backdrop:b,className:x,children:S}=e,C=(0,l._)(e,[`as`,`title`,`placement`,`footer`,`bodyClassName`,`onDismiss`,`sheet`,`translucent`,`responsive`,`animation`,`fullscreen`,`open`,`modal`,`scroll`,`backdrop`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(Kt,(0,c._)((0,s._)({as:this.componentProps.as},C),{ref:this.dialog,open:this.expanded||_,modal:this.expanded?!1:v==null?!(y&&b===!1):v,scroll:y,backdrop:b,dialog:!1,tabIndex:-1,"aria-label":typeof n==`string`?n:C[`aria-label`],className:(0,d.default)(m?`${m}:drawer`:`drawer`,`drawer-${r}`,{"drawer-sheet":f,"drawer-translucent":p,"drawer-instant":h===`instant`,"drawer-fullscreen":g===!0},x),onClose:this.handleClose,children:[/*#__PURE__*/ (0,u.jsxs)(nn,{children:[/*#__PURE__*/ (0,u.jsx)(rn,{children:n}),/*#__PURE__*/ (0,u.jsx)(B,{onClick:this.handleDismiss})]}),/*#__PURE__*/ (0,u.jsx)(an,{className:a,children:S}),i&&/*#__PURE__*/ (0,u.jsx)(on,{children:i})]}))}constructor(...e){super(...e),(0,r._)(this,Jt,{writable:!0,value:(tn(this),$t(this,!1))}),(0,a._)(this,`dialog`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`media`,void 0),(0,a._)(this,`dismissed`,!1),(0,a._)(this,`observeBreakpoint`,()=>{var e,t;(e=this.media)==null||e.removeEventListener(`change`,this.handleBreakpoint);let{responsive:n}=this.componentProps;this.media=n?window.matchMedia(`(min-width: ${sn[n]}px)`):void 0,this.handleBreakpoint(),(t=this.media)==null||t.addEventListener(`change`,this.handleBreakpoint)}),(0,a._)(this,`handleBreakpoint`,en(this,()=>{var e,t;return this.expanded=(e=(t=this.media)==null?void 0:t.matches)!=null&&e})),(0,a._)(this,`handleDismiss`,()=>{var e,t,n;(e=(t=this.componentProps).onDismiss)==null||e.call(t),this.dismissed=!0,(n=this.dialog.current)==null||n.close()}),(0,a._)(this,`handleClose`,()=>{var e,t;this.dismissed||this.expanded||(e=(t=this.componentProps).onDismiss)==null||e.call(t),this.dismissed=!1})}},{e:[$t,en,tn],c:[cn,Zt]}=(0,t._)(Yt,[[f.observable,1,`expanded`],[f.action,0,`handleBreakpoint`]],[p.observer],Qt),Yt),Xt=class extends o._{constructor(){super(cn),(0,a._)(this,`displayName`,`Drawer`),Zt()}},(0,a._)(Xt,qt,void 0),Xt);const ln=({children:e,in:t=!1,className:n=``})=>/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(`fade`,n,e.props.className,t&&`show`)});ln.displayName=`Fade`;const un=I(e=>{let{as:t=`ul`,flush:n,numbered:r,horizontal:i,checkable:a,radio:o,className:f}=e,p=(0,l._)(e,[`as`,`flush`,`numbered`,`horizontal`,`checkable`,`radio`,`className`]),m=(0,d.default)(`list-group`,{"list-group-checkable":a,"list-group-radio":o,"list-group-flush":n,"list-group-numbered":r},i&&(i===!0?`list-group-horizontal`:`${i}:list-group-horizontal`),f);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:m}))});un.displayName=`ListGroup`;const dn=e=>typeof e.href==`string`,fn=e=>typeof e.type==`string`,pn=I(e=>{let{as:t,theme:n,action:r,active:i,disabled:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`action`,`active`,`disabled`,`className`]),p=t==null?`a`:t,m=t==null?`button`:t,h=t==null?`li`:t,g=(0,d.default)(`list-group-item`,n&&`theme-${n}`,r&&`list-group-item-action`,{active:i,disabled:a},a&&`pe-none`,o);return dn(f)?/*#__PURE__*/ (0,u.jsx)(p,(0,c._)((0,s._)({},f),{className:g,href:a?void 0:f.href,"aria-current":i?`true`:void 0,"aria-disabled":a||void 0,tabIndex:a?-1:f.tabIndex,onClick:a?void 0:f.onClick})):fn(f)?/*#__PURE__*/ (0,u.jsx)(m,(0,c._)((0,s._)({},f),{type:f.type||`button`,className:g,"aria-current":i?`true`:void 0,disabled:a})):/*#__PURE__*/ (0,u.jsx)(h,(0,c._)((0,s._)({},f),{className:g,"aria-current":i?`true`:void 0,"aria-disabled":a||void 0}))});pn.displayName=`ListGroupItem`;var mn,hn,gn,_n,vn;const yn={sm:576,md:768,lg:1024,xl:1280,"2xl":1536},bn={top:`bottom`,bottom:`top`,left:`right`,right:`left`};var xn=/*#__PURE__*/ new WeakMap,Sn=/*#__PURE__*/ new WeakMap,Cn=/*#__PURE__*/ new WeakMap,W=class{get placement(){return(0,n._)(this,xn)}set placement(e){(0,i._)(this,xn,e)}get style(){return(0,n._)(this,Sn)}set style(e){(0,i._)(this,Sn,e)}get arrowStyle(){return(0,n._)(this,Cn)}set arrowStyle(e){(0,i._)(this,Cn,e)}attach(e,t,n){this.dispose(),this.reference=e,this.element=t,this.options=n,window.addEventListener(`resize`,this.update),document.addEventListener(`scroll`,this.update,!0),this.resize=new window.ResizeObserver(this.update),this.resize.observe(e),this.resize.observe(t),this.update()}constructor(){(0,r._)(this,xn,{writable:!0,value:(vn(this),mn(this,`top`))}),(0,r._)(this,Sn,{writable:!0,value:hn(this,{})}),(0,r._)(this,Cn,{writable:!0,value:gn(this,{})}),(0,a._)(this,`reference`,void 0),(0,a._)(this,`element`,void 0),(0,a._)(this,`resize`,void 0),(0,a._)(this,`options`,{}),(0,a._)(this,`dispose`,()=>{var e;window.removeEventListener(`resize`,this.update),document.removeEventListener(`scroll`,this.update,!0),(e=this.resize)==null||e.disconnect(),this.resize=void 0,this.reference=void 0,this.element=void 0}),(0,a._)(this,`update`,_n(this,()=>{let{reference:e,element:t,options:n}=this;if(!e||!t)return;let{responsivePlacement:r,offset:i=0,padding:a=8,flip:o=!0}=n,s=Object.keys(yn).reverse().find(e=>window.innerWidth>=yn[e]&&(r==null?void 0:r[e])),[c,l]=(s&&(r==null?void 0:r[s])||n.placement||`top`).split(`-`),u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),[f,p]=typeof i==`number`?[0,i]:i,m={top:u.top-a,bottom:window.innerHeight-u.bottom-a,left:u.left-a,right:window.innerWidth-u.right-a},h=(c===`top`||c===`bottom`?d.height:d.width)+p,g=o&&m[c]<h&&m[bn[c]]>m[c]?bn[c]:c,_=u.left+(u.width-d.width)/2,v=u.top+(u.height-d.height)/2;g===`top`||g===`bottom`?(v=g===`top`?u.top-d.height-p:u.bottom+p,l&&(_=l===`start`?u.left:u.right-d.width),_+=f):(_=g===`left`?u.left-d.width-p:u.right+p,l&&(v=l===`start`?u.top:u.bottom-d.height),v+=f),_=Math.max(a,Math.min(_,window.innerWidth-d.width-a)),v=Math.max(a,Math.min(v,window.innerHeight-d.height-a));let y=g===`top`||g===`bottom`?{left:Math.max(8,Math.min(d.width-8,u.left+u.width/2-_))}:{top:Math.max(8,Math.min(d.height-8,u.top+u.height/2-v))};(this.arrowStyle.left!==y.left||this.arrowStyle.top!==y.top)&&(this.arrowStyle=y);let b=t.offsetParent,x=b instanceof HTMLElement&&(b!==document.body||getComputedStyle(b).position!==`static`)?b:void 0,S=x==null?void 0:x.getBoundingClientRect();_+=x?x.scrollLeft-S.left-x.clientLeft:window.scrollX,v+=x?x.scrollTop-S.top-x.clientTop:window.scrollY;let C=l?`${g}-${l}`:g;this.placement!==C&&(this.placement=C);let w=Math.max(0,window.innerWidth-a*2),T=Math.max(0,window.innerHeight-a*2);(this.style.left!==_||this.style.top!==v||this.style.maxWidth!==w||this.style.maxHeight!==T)&&(this.style={position:`absolute`,left:_,top:v,right:`auto`,bottom:`auto`,margin:0,maxWidth:w,maxHeight:T})}))}};({e:[mn,hn,gn,_n,vn]}=(0,t._)(W,[[f.observable,1,`placement`],[f.observable,1,`style`],[f.observable,1,`arrowStyle`],[f.action,0,`update`]],[]));const wn={top:`top`,right:`end`,bottom:`bottom`,left:`start`},Tn={top:`position-absolute start-50 translate-middle-x`,right:`position-absolute top-50 translate-middle-y`,bottom:`position-absolute start-50 translate-middle-x`,left:`position-absolute top-50 translate-middle-y`};let En,Dn;var On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn;const qn=I(e=>{let{as:t,active:n,selected:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`selected`,`className`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},a),{className:(0,d.default)(`menu-item`,{active:n,selected:r},i),"aria-current":n||r&&a.href?`true`:a[`aria-current`],"aria-pressed":a.href||r==null?a[`aria-pressed`]:r}))});qn.displayName=`MenuItem`;const Jn=I(e=>{let{as:t=`div`,theme:n,translucent:r,scrollable:i,show:a,className:o}=e,f=(0,l._)(e,[`as`,`theme`,`translucent`,`scrollable`,`show`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{"data-bs-theme":n,className:(0,d.default)(`menu`,{show:a},r&&`menu-translucent`,i&&`menu-scrollable`,o)}))});Jn.displayName=`MenuPanel`;const Yn=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`menu-item-icon`,n)}))});Yn.displayName=`MenuItemIcon`;const Xn=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{name:`check`,className:(0,d.default)(`menu-item-check`,n)}))});Xn.displayName=`MenuItemCheck`;const Zn=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-text`,n)}))});Zn.displayName=`MenuText`;const Qn=I(e=>{let{as:t=`h6`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-header`,n)}))});Qn.displayName=`MenuHeader`;const $n=I(e=>{let{as:t=`hr`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-divider`,n)}))});$n.displayName=`MenuDivider`;const er=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-item-content`,n)}))});er.displayName=`MenuItemContent`;const tr=I(e=>{let{as:t=`small`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`menu-item-description`,n)}))});tr.displayName=`MenuItemDescription`;let nr;new(En=(On=/*#__PURE__*/ new WeakMap,kn=class extends (In=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,On)}set open(e){(0,i._)(this,On,e)}componentDidUpdate(){let{position:e,panel:t,trigger:n}=this;if(!this.open)return e.dispose();t.current&&n.current&&(e.element===t.current?e.update():e.attach(n.current,t.current,{placement:`right-start`,offset:2}))}componentWillUnmount(){this.position.dispose()}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,label:i,className:a,children:o}=n,f=(0,l._)(n,[`as`,`label`,`className`,`children`]),{open:p}=this;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)(`submenu`,{show:p},a),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onKeyDown:this.handleKeyDown,children:[/*#__PURE__*/ (0,u.jsx)(R,{ref:this.trigger,className:`menu-item`,"aria-haspopup":`true`,"aria-expanded":p,onClick:this.handleClick,children:i}),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.panel,style:(0,s._)({},this.position.style),"data-bs-placement":this.position.placement,className:(0,d.default)(`menu start-100 top-0`,{show:p}),hidden:!p,children:o})]}))}constructor(...e){super(...e),(0,r._)(this,On,{writable:!0,value:(zn(this),Ln(this,!1))}),(0,a._)(this,`panel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`trigger`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`position`,new W),(0,a._)(this,`setOpen`,Rn(this,e=>this.open=e)),(0,a._)(this,`handleClick`,()=>this.setOpen(!this.open)),(0,a._)(this,`handleMouseEnter`,e=>{var t,n;(t=(n=this.componentProps).onMouseEnter)==null||t.call(n,e),e.defaultPrevented||this.setOpen(!0)}),(0,a._)(this,`handleMouseLeave`,e=>{var t,n;(t=(n=this.componentProps).onMouseLeave)==null||t.call(n,e),e.defaultPrevented||this.setOpen(!1)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented)return;let{key:r}=e;if(r===`ArrowRight`&&(e.preventDefault(),e.stopPropagation(),this.setOpen(!0),queueMicrotask(()=>{var e,t;return(t=this.panel.current)==null||(e=t.querySelector(`a[href], button:not(:disabled)`))==null?void 0:e.focus()})),(r===`ArrowLeft`||r===`Escape`)&&this.open){var i;e.preventDefault(),e.stopPropagation(),this.setOpen(!1),(i=this.trigger.current)==null||i.focus()}})}},{e:[Ln,Rn,zn],c:[nr,Fn]}=(0,t._)(kn,[[f.observable,1,`open`],[f.action,0,`setOpen`]],[p.observer],In),kn),An=class extends o._{constructor(){super(nr),(0,a._)(this,`displayName`,`MenuSubmenu`),Fn()}},(0,a._)(An,En,void 0),An);const rr={"top-start":[`bottom-100`,`start-0`],"top-end":[`bottom-100`,`end-0`],"bottom-start":[`top-100`,`start-0`],"bottom-end":[`top-100`,`end-0`],"left-start":[`end-100`,`top-0`],"left-end":[`end-100`,`bottom-0`],"right-start":[`start-100`,`top-0`],"right-end":[`start-100`,`bottom-0`]},ir={sm:576,md:768,lg:1024,xl:1280,"2xl":1536};let G;new(Dn=(jn=/*#__PURE__*/ new WeakMap,Mn=/*#__PURE__*/ new WeakMap,Nn=class extends (Vn=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,jn)}set open(e){(0,i._)(this,jn,e)}get responsiveDirection(){return(0,n._)(this,Mn)}set responsiveDirection(e){(0,i._)(this,Mn,e)}componentDidMount(){document.addEventListener(`pointerdown`,this.handleOutside),this.observePlacement()}componentDidUpdate({responsivePlacement:e}){var t,n;e!==this.componentProps.responsivePlacement&&this.observePlacement();let{trigger:r,panel:i,position:a,componentProps:o}=this;if(!this.open)return a.dispose();if(!r.current||!i.current)return;let{placement:s,align:c,offset:l,padding:u,flip:d}=o,f={placement:(t=(n=this.responsiveDirection)==null?s:n)==null?`bottom-${c==null?`end`:c}`:t,offset:l,padding:u,flip:d};a.element===i.current?(a.options=f,a.update()):a.attach(r.current,i.current,f)}componentWillUnmount(){document.removeEventListener(`pointerdown`,this.handleOutside),this.position.dispose();for(let{query:e}of this.media)e.removeEventListener(`change`,this.handlePlacement)}items(e=this.panel.current){var t;return[...(t=e==null?void 0:e.querySelectorAll(`a[href]:not([aria-disabled="true"]), button:not(:disabled):not([aria-disabled="true"])`))==null?[]:t].filter(t=>!t.closest(`[hidden]`)&&t.closest(`.menu`)===e)}render(){var e,t;let n=(e=this.componentProps.as)==null?`div`:e,r=this.componentProps,{as:i,label:a,autoClose:o,align:f=`end`,placement:p,responsivePlacement:m,theme:h,translucent:g,scrollable:_,split:v,nav:y,offset:b,padding:x,flip:S,menuClassName:C,toggleProps:w,onOpenChange:T,onKeyDown:E,onBlur:D,children:O,className:k,id:A}=r,j=(0,l._)(r,[`as`,`label`,`autoClose`,`align`,`placement`,`responsivePlacement`,`theme`,`translucent`,`scrollable`,`split`,`nav`,`offset`,`padding`,`flip`,`menuClassName`,`toggleProps`,`onOpenChange`,`onKeyDown`,`onBlur`,`children`,`className`,`id`]),{open:M}=this,N=(t=this.responsiveDirection)==null?p:t,P=this.position.element?this.position.placement:N,F=P?rr[P]:[`top-100`,f===`end`?`end-0`:`start-0`];return/*#__PURE__*/ (0,u.jsxs)(n,(0,c._)((0,s._)({},j),{ref:this.root,id:A,"data-bs-theme":h,className:(0,d.default)(v?`btn-group`:`d-inline-block`,`position-relative`,k),onKeyDown:this.handleKeyDown,onBlur:this.handleBlur,children:[/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({variant:!y&&void 0},w),{ref:this.trigger,"aria-expanded":M,"aria-haspopup":`true`,className:(0,d.default)(w==null?void 0:w.className,v&&`menu-toggle-split`,y&&`nav-link`),"aria-controls":A?`${A}-menu`:void 0,onClick:this.handleToggle,children:a})),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.panel,id:A?`${A}-menu`:void 0,"data-bs-placement":P==null?`bottom-${f}`:P,style:(0,s._)({},this.position.style),className:(0,d.default)(`menu`,F,g&&`menu-translucent`,_&&`menu-scrollable`,{show:M},C),hidden:!M,onClick:this.handleSelect,children:O})]}))}constructor(...e){super(...e),(0,r._)(this,jn,{writable:!0,value:(Kn(this),Hn(this,!1))}),(0,r._)(this,Mn,{writable:!0,value:Un(this)}),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`trigger`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`panel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`media`,[]),(0,a._)(this,`position`,new W),(0,a._)(this,`observePlacement`,()=>{for(let{query:e}of this.media)e.removeEventListener(`change`,this.handlePlacement);this.media=Object.keys(ir).flatMap(e=>{var t;let n=(t=this.componentProps.responsivePlacement)==null?void 0:t[e];if(!n)return[];let r=window.matchMedia(`(min-width: ${ir[e]}px)`);return r.addEventListener(`change`,this.handlePlacement),[{query:r,placement:n}]}),this.handlePlacement()}),(0,a._)(this,`handlePlacement`,Wn(this,()=>{var e;return this.responsiveDirection=(e=[...this.media].reverse().find(({query:e})=>e.matches))==null?void 0:e.placement})),(0,a._)(this,`setOpen`,Gn(this,e=>{var t,n;this.open!==e&&(this.open=e,(t=(n=this.componentProps).onOpenChange)==null||t.call(n,e))})),(0,a._)(this,`handleOutside`,({target:e})=>{var t;let{autoClose:n=!0}=this.componentProps;n!==!1&&n!==`inside`&&e instanceof Node&&!((t=this.root.current)!=null&&t.contains(e))&&this.setOpen(!1)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e);let{key:r,defaultPrevented:i}=e;if(!i){if(r===`Escape`&&this.open){var a;return e.preventDefault(),this.setOpen(!1),(a=this.trigger.current)==null?void 0:a.focus()}if(r===`Tab`)return this.setOpen(!1);e.target instanceof Element&&e.target.matches(`input, textarea, select, [contenteditable="true"]`)||[`ArrowDown`,`ArrowUp`,`Home`,`End`].includes(r)&&(e.preventDefault(),this.setOpen(!0),queueMicrotask(()=>{var t;let n=e.target instanceof Element?e.target.closest(`.menu`):void 0,i=this.items(n==null?this.panel.current:n),a=i.findIndex(e=>e===document.activeElement),o=r===`Home`?0:i.length-1;r===`ArrowDown`&&(o=(a+1)%i.length),r===`ArrowUp`&&(o=a<=0?i.length-1:a-1),(t=i[o])==null||t.focus()}))}}),(0,a._)(this,`handleBlur`,e=>{let{onBlur:t,autoClose:n=!0}=this.componentProps;t==null||t(e);let{defaultPrevented:r,currentTarget:i,relatedTarget:a}=e;!r&&n!==!1&&n!==`inside`&&!i.contains(a)&&this.setOpen(!1)}),(0,a._)(this,`handleToggle`,()=>this.setOpen(!this.open)),(0,a._)(this,`handleSelect`,({target:e,defaultPrevented:t})=>{let{autoClose:n=!0}=this.componentProps;n&&!t&&n!==`outside`&&e instanceof Element&&!e.closest(`.submenu > .menu-item`)&&e.closest(`a[href], button:not(:disabled)`)&&this.setOpen(!1)})}},{e:[Hn,Un,Wn,Gn,Kn],c:[G,Bn]}=(0,t._)(Nn,[[f.observable,1,`open`],[f.observable,1,`responsiveDirection`],[f.action,0,`handlePlacement`],[f.action,0,`setOpen`]],[p.observer],Vn),Nn),Pn=class extends o._{constructor(){super(G),(0,a._)(this,`displayName`,`Menu`),Bn()}},(0,a._)(Pn,Dn,void 0),Pn);const K=I(e=>{let{as:t=`nav`,variant:n,vertical:r,fill:i,justified:a,flush:o,cardHeader:f,navbar:p,className:m}=e,h=(0,l._)(e,[`as`,`variant`,`vertical`,`fill`,`justified`,`flush`,`cardHeader`,`navbar`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},h),{className:(0,d.default)(`nav`,p&&`navbar-nav`,n&&`nav-${n}`,f&&n===`tabs`&&`card-header-tabs`,r&&(n===`pills`?`nav-pills-vertical`:`flex-column`),{"nav-fill":i,"nav-justified":a,"nav-flush":o},m)}))});K.displayName=`Nav`;const ar=I(e=>{let{as:t=`li`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`nav-item`,n)}))});ar.displayName=`NavItem`;const or=I(e=>{let{as:t=`a`,disabled:n,active:r,className:i,href:a,onClick:o,tabIndex:f}=e,p=(0,l._)(e,[`as`,`disabled`,`active`,`className`,`href`,`onClick`,`tabIndex`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{href:n?void 0:a,disabled:t===`button`?n:void 0,tabIndex:n?-1:f,"aria-disabled":n||void 0,"aria-current":r?`page`:p[`aria-current`],className:(0,d.default)(`nav-link`,{active:r,disabled:n,"pe-none":n},i),onClick:n?void 0:o}))});or.displayName=`NavLink`;const sr=I(e=>{let{as:t=`nav`,expand:n,theme:r,translucent:i,className:a}=e,o=(0,l._)(e,[`as`,`expand`,`theme`,`translucent`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`navbar`,i&&`navbar-translucent`,n&&(n===!0?`navbar-expand`:`${n}:navbar-expand`),a),"data-bs-theme":r}))});sr.displayName=`Navbar`;const cr=I(e=>{let{as:t=`a`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`navbar-brand`,n)}))});cr.displayName=`NavbarBrand`;const lr=I(e=>{let{as:t=`ul`,variant:n,nav:r,className:i}=e,a=(0,l._)(e,[`as`,`variant`,`nav`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`navbar-nav`,(r||n)&&`nav`,n&&`nav-${n}`,i)}))});lr.displayName=`NavbarNav`;const ur=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`navbar-text`,n)}))});ur.displayName=`NavbarText`;const dr=I(e=>{let{as:t,expanded:n,className:r,"aria-label":i=`Toggle navigation`}=e,a=(0,l._)(e,[`as`,`expanded`,`className`,`aria-label`]),o=/*#__PURE__*/ (0,u.jsx)(`span`,{className:`navbar-toggler-icon`,"aria-hidden":`true`}),f=(0,d.default)(`navbar-toggler`,r);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},a),{className:f,"aria-label":i,"aria-expanded":n,icon:!0,children:o}))});dr.displayName=`NavbarToggler`;var fr,pr,mr,hr,gr,_r,vr,yr=/*#__PURE__*/ new WeakMap,br=/*#__PURE__*/ new WeakMap,xr=/*#__PURE__*/ new WeakMap,Sr=class{get initialized(){return(0,n._)(this,yr)}set initialized(e){(0,i._)(this,yr,e)}get open(){return(0,n._)(this,br)}set open(e){(0,i._)(this,br,e)}get overflowIndices(){return(0,n._)(this,xr)}set overflowIndices(e){(0,i._)(this,xr,e)}constructor(){(0,r._)(this,yr,{writable:!0,value:(vr(this),fr(this,!1))}),(0,r._)(this,br,{writable:!0,value:pr(this,!1)}),(0,r._)(this,xr,{writable:!0,value:mr(this,[])}),(0,a._)(this,`setOpen`,hr(this,e=>this.open=e)),(0,a._)(this,`toggle`,gr(this,()=>this.open=!this.open)),(0,a._)(this,`setOverflowIndices`,_r(this,e=>{this.initialized=!0,this.overflowIndices=e}))}};({e:[fr,pr,mr,hr,gr,_r,vr]}=(0,t._)(Sr,[[f.observable,1,`initialized`],[f.observable,1,`open`],[f.observable,1,`overflowIndices`],[f.action,0,`setOpen`],[f.action,0,`toggle`],[f.action,0,`setOverflowIndices`]],[]));let Cr;var wr,Tr,Er,Dr;let Or;new(Cr=(wr=class extends (Dr=m.Component){get componentProps(){return this.props}componentDidMount(){if(this.updateOverflow(),window.addEventListener(`resize`,this.updateOverflow),document.addEventListener(`pointerdown`,this.handleOutside),typeof ResizeObserver<`u`){var e,t;this.resizeObserver=new ResizeObserver(this.updateOverflow),this.root.current&&this.resizeObserver.observe(this.root.current),this.nav.current&&this.resizeObserver.observe(this.nav.current);for(let n of(e=(t=this.nav.current)==null?void 0:t.children)==null?[]:e)this.resizeObserver.observe(n)}}componentDidUpdate(){this.updateOverflow()}componentWillUnmount(){var e;(e=this.resizeObserver)==null||e.disconnect(),window.removeEventListener(`resize`,this.updateOverflow),document.removeEventListener(`pointerdown`,this.handleOutside)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,children:i,className:a,collapseBelow:o,fill:f,iconPlacement:p=`start`,justified:h,menuPlacement:g=`bottom-end`,menuStrategy:_=`absolute`,minimumVisibleItems:v,moreIcon:y,moreText:b=`More`,onClick:x,onKeyDown:S,onOverflowChange:C,threshold:w,"aria-label":T,variant:E}=n,D=(0,l._)(n,[`as`,`children`,`className`,`collapseBelow`,`fill`,`iconPlacement`,`justified`,`menuPlacement`,`menuStrategy`,`minimumVisibleItems`,`moreIcon`,`moreText`,`onClick`,`onKeyDown`,`onOverflowChange`,`threshold`,`aria-label`,`variant`]),O=m.Children.toArray(i),k=this.store.overflowIndices.length>0,A=`${this.componentProps.id}-menu`,[j,M]=g.split(`-`),N=j===`top`?[`bottom-100`,M===`end`?`end-0`:`start-0`]:j===`bottom`?[`top-100`,M===`end`?`end-0`:`start-0`]:j===`left`?[`end-100`,M===`end`?`bottom-0`:`top-0`]:[`start-100`,M===`end`?`bottom-0`:`top-0`],P=y==null?/*#__PURE__*/ (0,u.jsx)(L,{name:`three-dots`}):y,F=b===!1?null:b;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},D),{ref:this.root,className:(0,d.default)(`nav-overflow d-flex align-items-start position-relative`,this.store.initialized&&`nav-overflow-initialized`,a),onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:/*#__PURE__*/ (0,u.jsxs)(K,{ref:this.nav,variant:E,fill:f,justified:h,"aria-label":T,className:`flex-nowrap flex-grow-1`,children:[O.map((e,t)=>this.renderChild(e,t)),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:(0,d.default)(`nav-item nav-overflow-item flex-shrink-0`,!k&&`position-absolute invisible`),"data-menu-placement":g,children:[/*#__PURE__*/ (0,u.jsxs)(`button`,{ref:this.toggleButton,type:`button`,className:`nav-link`,"aria-haspopup":`menu`,"aria-expanded":this.store.open,"aria-controls":A,"aria-label":F?void 0:`More`,"data-overflow-toggle":!0,children:[p===`start`&&P,F,p===`end`&&P]}),/*#__PURE__*/ (0,u.jsx)(`div`,{id:A,className:(0,d.default)(`menu nav-overflow-menu`,N,_===`fixed`&&`position-fixed`,{show:this.store.open&&k}),role:`menu`,hidden:!this.store.open||!k,children:this.store.overflowIndices.map(e=>this.renderChild(O[e],e,!0))})]})]})}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`nav`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`toggleButton`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new Sr),(0,a._)(this,`resizeObserver`,void 0),(0,a._)(this,`updateOverflow`,()=>{var e,t,n,r,i,a;let o=this.root.current,s=this.nav.current;if(!o||!s)return;let c=[...s.children].filter(e=>{var t;return e!==((t=this.toggleButton.current)==null?void 0:t.parentElement)}),l=c.map(e=>e.getBoundingClientRect().width||e.offsetWidth),u=Number.parseFloat(getComputedStyle(s).columnGap)||0,d=l.reduce((e,t)=>e+t,0)+u*Math.max(0,c.length-1),f=((n=this.toggleButton.current)==null?void 0:n.getBoundingClientRect().width)||((r=this.toggleButton.current)==null?void 0:r.offsetWidth)||0,p=o.clientWidth,m=this.getCollapseBelow(),h=m>0&&p>0&&p<m,g=c.map(e=>e.classList.contains(`nav-overflow-keep`)),_=c.map((e,t)=>t),v=Math.max(0,Math.min((e=(t=this.componentProps.minimumVisibleItems)==null?this.componentProps.threshold:t)==null?0:e,c.length)),y=d;if(h)for(let e=_.length-1;e>=0;e--)g[e]||_.splice(e,1);else if(p>0&&d>p)for(;y+f>p&&_.length>v;){let e=_.findLast(e=>!g[e]);if(e===void 0)break;y-=l[e]+(_.length>1?u:0),_.splice(_.indexOf(e),1)}let b=new Set(_),x=c.map((e,t)=>t).filter(e=>!b.has(e)),S=this.store.overflowIndices,C=S.length!==x.length||S.some((e,t)=>e!==x[t]);(!this.store.initialized||C)&&this.store.setOverflowIndices(x),C&&((i=(a=this.componentProps).onOverflowChange)==null||i.call(a,x.length,_.length))}),(0,a._)(this,`getCollapseBelow`,()=>{let{collapseBelow:e=0}=this.componentProps;if(typeof e==`number`)return e;let t=getComputedStyle(this.root.current).getPropertyValue(`--bs-breakpoint-${e}`);return Number.parseFloat(t)||0}),(0,a._)(this,`handleClick`,e=>{var t,n;(t=(n=this.componentProps).onClick)==null||t.call(n,e);let r=e.target instanceof Element?e.target:null;e.defaultPrevented||(r!=null&&r.closest(`[data-overflow-toggle]`)?this.store.toggle():r!=null&&r.closest(`.nav-overflow-menu`)&&!r.closest(`[aria-haspopup="true"]`)&&this.store.setOpen(!1))}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),!e.defaultPrevented){if(e.key===`Escape`&&this.store.open){var r;this.store.setOpen(!1),(r=this.toggleButton.current)==null||r.focus()}else e.key===`ArrowDown`&&e.target===this.toggleButton.current&&(e.preventDefault(),this.store.setOpen(!0),queueMicrotask(()=>{var e,t;return(t=this.root.current)==null||(e=t.querySelector(`.nav-overflow-menu a[href]:not([aria-disabled="true"]), .nav-overflow-menu button:not(:disabled)`))==null?void 0:e.focus()}))}}),(0,a._)(this,`handleOutside`,e=>{var t;e.target instanceof Node&&!((t=this.root.current)!=null&&t.contains(e.target))&&this.store.setOpen(!1)}),(0,a._)(this,`renderChild`,(e,t,n=!1)=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e))return/*#__PURE__*/ (0,u.jsx)(`span`,{children:e},t);if(n)return e.type===G?/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,`nav-overflow-submenu`)}):/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,`menu-item`),role:`menuitem`});let r=this.store.overflowIndices.includes(t);return/*#__PURE__*/ (0,m.cloneElement)(e,{className:(0,d.default)(e.props.className,r&&`position-absolute invisible`),"aria-hidden":r||void 0,tabIndex:r?-1:e.props.tabIndex})})}},{c:[Or,Er]}=(0,t._)(wr,[],[p.observer],Dr),wr),Tr=class extends o._{constructor(){super(Or),(0,a._)(this,`displayName`,`NavOverflow`),Er()}},(0,a._)(Tr,Cr,void 0),Tr);const kr=I(e=>{let{as:t=`ul`,theme:n,size:r,className:i}=e,a=(0,l._)(e,[`as`,`theme`,`size`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`pagination`,n&&`theme-${n}`,r&&`pagination-${r}`,i)}))});kr.displayName=`Pagination`;const Ar=I(e=>{let{as:t=`li`,active:n,disabled:r,className:i,children:a}=e,o=(0,l._)(e,[`as`,`active`,`disabled`,`className`,`children`]);var f,p;let h=/*#__PURE__*/ (0,m.isValidElement)(a)&&a.type===jr?/*#__PURE__*/ (0,m.cloneElement)(a,{active:(f=a.props.active)==null?n:f,disabled:(p=a.props.disabled)==null?r:p}):a;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`page-item`,{active:n,disabled:r},i),children:h}))});Ar.displayName=`PageItem`;const jr=I(e=>{let{as:t,active:n,disabled:r,className:i,href:a,tabIndex:o,onClick:f,"aria-current":p}=e,m=(0,l._)(e,[`as`,`active`,`disabled`,`className`,`href`,`tabIndex`,`onClick`,`aria-current`]);return/*#__PURE__*/ (0,u.jsx)(t==null?a===void 0?`span`:`a`:t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`page-link`,i),href:r?void 0:a,tabIndex:r?-1:o,"aria-disabled":r||void 0,"aria-current":p==null?n?`page`:void 0:p,onClick:r?void 0:f}))});jr.displayName=`PageLink`;const Mr=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`page-link`,n)}))});Mr.displayName=`PageText`;const Nr=I(e=>{let{as:t=`span`,size:n,animation:r,theme:i,width:a,className:o,style:f,"aria-hidden":p=!0}=e,m=(0,l._)(e,[`as`,`size`,`animation`,`theme`,`width`,`className`,`style`,`aria-hidden`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(r?`placeholder-${r}`:`placeholder`,!r&&n&&`placeholder-${n}`,!r&&i&&`bg-${i}`,o),style:(0,s._)({width:r?void 0:a},f),"aria-hidden":p}))});Nr.displayName=`Placeholder`;const Pr=I(e=>{let{as:t,className:n,children:r=`\xA0`}=e,i=(0,l._)(e,[`as`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},i),{className:(0,d.default)(`placeholder`,n),"aria-hidden":`true`,disabled:!0,children:r}))});Pr.displayName=`PlaceholderButton`;const Fr=I(e=>{let{as:t=`div`,title:n,placement:r=`top`,show:i=!0,role:a=`tooltip`,className:o,children:f,arrowStyle:p}=e,m=(0,l._)(e,[`as`,`title`,`placement`,`show`,`role`,`className`,`children`,`arrowStyle`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`popover`,{show:i},`bs-popover-${wn[r]}`,o),role:a,hidden:!i,"data-bs-placement":r,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{style:p,className:(0,d.default)(`popover-arrow`,Tn[r])}),n!=null&&/*#__PURE__*/ (0,u.jsx)(`h3`,{className:`popover-header`,children:n}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`popover-body`,children:f})]}))});Fr.displayName=`Popover`;const Ir=I(e=>{let{as:t=`div`,value:n,min:r=0,max:i=100,theme:a,striped:o,animated:f,barProps:p={},className:m,style:h,children:g}=e,_=(0,l._)(e,[`as`,`value`,`min`,`max`,`theme`,`striped`,`animated`,`barProps`,`className`,`style`,`children`]);if(![n,r,i].every(Number.isFinite)||i<=r)throw RangeError(`Progress requires finite values and max greater than min`);let v=Math.min(i,Math.max(r,n)),y=`${(v-r)/(i-r)*100}%`,b=(0,c._)((0,s._)({width:`min(100%, calc(var(--_progress-width) + var(--_progress-stack-offset, 100%)))`},h),{"--_progress-width":y}),{className:x,style:S}=p,C=(0,l._)(p,[`className`,`style`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},_),{className:(0,d.default)(`progress`,m),style:b,role:`progressbar`,"aria-valuenow":v,"aria-valuemin":r,"aria-valuemax":i,children:/*#__PURE__*/ (0,u.jsx)(`div`,(0,c._)((0,s._)({},C),{className:(0,d.default)(`progress-bar`,a&&`theme-${a}`,{"progress-bar-striped":o||f,"progress-bar-animated":f},x),style:(0,s._)({width:`var(--_progress-bar-width, ${y})`},S),children:g}))}))});Ir.displayName=`Progress`;const Lr=I(e=>{let{as:t=`div`,className:n,style:r}=e,i=(0,l._)(e,[`as`,`className`,`style`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`progress-stacked`,n),style:(0,s._)({"--_progress-stack-offset":`0%`,"--_progress-bar-width":`100%`},r)}))});Lr.displayName=`ProgressStack`;var Rr,zr,Br,Vr,Hr,Ur=/*#__PURE__*/ new WeakMap,Wr=/*#__PURE__*/ new WeakMap,Gr=class{get activeId(){return(0,n._)(this,Ur)}set activeId(e){(0,i._)(this,Ur,e)}get guides(){return(0,n._)(this,Wr)}set guides(e){(0,i._)(this,Wr,e)}constructor(){(0,r._)(this,Ur,{writable:!0,value:(Hr(this),Rr(this,``))}),(0,r._)(this,Wr,{writable:!0,value:zr(this)}),(0,a._)(this,`setGuides`,Br(this,e=>this.guides=e)),(0,a._)(this,`setActiveId`,Vr(this,e=>this.activeId=e))}};({e:[Rr,zr,Br,Vr,Hr]}=(0,t._)(Gr,[[f.observable,1,`activeId`],[f.observable,1,`guides`],[f.action,0,`setGuides`],[f.action,0,`setActiveId`]],[]));let Kr;var qr,Jr,Yr,Xr;let Zr;new(Kr=(qr=class extends (Xr=m.Component){get componentProps(){return this.props}componentDidMount(){var e;this.mounted=!0,this.refresh(),(e=this.root.current)==null||e.addEventListener(`scroll`,this.handleScroll,{passive:!0}),window.addEventListener(`scroll`,this.handleScroll,{passive:!0}),window.addEventListener(`resize`,this.handleResize),document.addEventListener(`click`,this.handleNavigationClick)}componentDidUpdate(e){(e.children!==this.componentProps.children||e.target!==this.componentProps.target||e.rootMargin!==this.componentProps.rootMargin||e.topMargin!==this.componentProps.topMargin||e.threshold!==this.componentProps.threshold||e.scrollRoot!==this.componentProps.scrollRoot)&&this.refresh(),e.debug!==this.componentProps.debug&&this.updateGuides()}componentWillUnmount(){var e,t,n;this.mounted=!1,(e=this.observer)==null||e.disconnect(),(t=this.bottomObserver)==null||t.disconnect(),(n=this.root.current)==null||n.removeEventListener(`scroll`,this.handleScroll),window.removeEventListener(`scroll`,this.handleScroll),window.removeEventListener(`resize`,this.handleResize),document.removeEventListener(`click`,this.handleNavigationClick)}render(){var e,t,n;let r=(e=this.componentProps.as)==null?`div`:e,i=this.componentProps,{as:a,children:o,className:f,debug:p,onActiveChange:m,onClick:h,onKeyDown:g,rootMargin:_,scrollRoot:v,smoothScroll:y,target:b,threshold:x,topMargin:S}=i,C=(0,l._)(i,[`as`,`children`,`className`,`debug`,`onActiveChange`,`onClick`,`onKeyDown`,`rootMargin`,`scrollRoot`,`smoothScroll`,`target`,`threshold`,`topMargin`]);return/*#__PURE__*/ (0,u.jsxs)(r,(0,c._)((0,s._)({},C),{ref:this.root,className:(0,d.default)(`scrollspy`,f),"data-active-id":this.store.activeId||void 0,"data-bs-root-margin":(t=this.componentProps.rootMargin)==null?void 0:t,tabIndex:(n=this.componentProps.tabIndex)==null?0:n,onClick:this.componentProps.onClick,onKeyDown:this.componentProps.onKeyDown,children:[o,/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.sentinel,className:`position-relative invisible m-0 border-0 p-0 w-0 h-0`,"aria-hidden":`true`}),this.renderDebug()]}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`store`,new Gr),(0,a._)(this,`entries`,[]),(0,a._)(this,`observer`,void 0),(0,a._)(this,`bottomObserver`,void 0),(0,a._)(this,`intersecting`,/* @__PURE__ */ new Set),(0,a._)(this,`atBottom`,!1),(0,a._)(this,`mounted`,!1),(0,a._)(this,`sentinel`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`refresh`,()=>{var e;let t=this.root.current;if(!t)return;let n=this.componentProps.target?document.querySelector(this.componentProps.target):t,r=[...(e=n==null?void 0:n.querySelectorAll(`a[href^="#"]`))==null?[]:e];this.entries=r.flatMap(e=>{var t;let n=(t=e.getAttribute(`href`))==null?void 0:t.slice(1);if(!n)return[];let r=decodeURIComponent(n),i=document.getElementById(r);return!i||i.hidden||i.closest(`[hidden]`)||i.getAttribute(`aria-hidden`)===`true`||getComputedStyle(i).display===`none`||getComputedStyle(i).visibility===`hidden`?[]:[{id:r,link:e,section:i}]}),this.entries.sort((e,t)=>e.section.getBoundingClientRect().top-t.section.getBoundingClientRect().top),this.rebuildObservers(),this.updateActive(),this.updateGuides()}),(0,a._)(this,`handleResize`,()=>{this.rebuildObservers(),this.updateGuides()}),(0,a._)(this,`handleScroll`,()=>this.updateGuides()),(0,a._)(this,`getRootHeight`,()=>{var e,t;return this.componentProps.scrollRoot===`window`?document.documentElement.clientHeight||window.innerHeight:(e=(t=this.root.current)==null?void 0:t.clientHeight)==null?0:e}),(0,a._)(this,`getRootMargin`,()=>{if(this.componentProps.rootMargin!=null)return this.componentProps.rootMargin;let{topMargin:e=`12%`}=this.componentProps,t=Number.parseFloat(e)||0,n=this.getRootHeight(),r=e.endsWith(`%`)?t:n?t/n*100:12;return`0px 0px -${Math.min(Math.max(100-r,0),100)}% 0px`}),(0,a._)(this,`rebuildObservers`,()=>{var e,t,n;(t=this.observer)==null||t.disconnect(),(n=this.bottomObserver)==null||n.disconnect(),this.intersecting.clear(),this.atBottom=!1;let r=this.componentProps.scrollRoot===`window`?null:this.root.current,i=new window.IntersectionObserver(e=>{if(this.mounted&&this.observer===i){for(let t of e)t.isIntersecting?this.intersecting.add(t.target):this.intersecting.delete(t.target);this.updateActive()}},{root:r,rootMargin:this.getRootMargin(),threshold:(e=this.componentProps.threshold)==null?[0]:e});this.observer=i;for(let e of new Set(this.entries.map(e=>e.section)))i.observe(e);let a=new window.IntersectionObserver(e=>{var t,n;if(!this.mounted||this.bottomObserver!==a)return;let i=(t=r==null?document.scrollingElement:r)==null?document.documentElement:t;this.atBottom=!!((n=e.at(-1))!=null&&n.isIntersecting)&&i.scrollHeight>i.clientHeight,this.updateActive(),this.updateGuides()},{root:r,threshold:[0]});this.bottomObserver=a,this.sentinel.current&&a.observe(this.sentinel.current)}),(0,a._)(this,`handleNavigationClick`,e=>{if(!this.componentProps.smoothScroll||e.defaultPrevented)return;let t=e.target instanceof Element?e.target.closest(`a[href^="#"]`):null,n=this.entries.find(e=>e.link===t);if(!t||!n)return;e.preventDefault();let r=this.root.current,{scrollRoot:i=`self`}=this.componentProps;if(i===`window`)window.scrollTo({top:window.scrollY+n.section.getBoundingClientRect().top,behavior:`smooth`});else if(r){let e=r.scrollTop+n.section.getBoundingClientRect().top-r.getBoundingClientRect().top;r.scrollTo({top:e,behavior:`smooth`})}window.history.replaceState(null,``,`#${encodeURIComponent(n.id)}`);let a=!n.section.hasAttribute(`tabindex`);a&&(n.section.tabIndex=-1),n.section.focus({preventScroll:!0}),a&&n.section.removeAttribute(`tabindex`),this.updateActive()}),(0,a._)(this,`getActivationLine`,e=>{var t;let n=this.getRootMargin().trim().split(/\s+/),r=(t=n[2])==null?n[0]:t,i=Number.parseFloat(r)||0;return e+(r.endsWith(`%`)?e*i/100:i)}),(0,a._)(this,`updateGuides`,()=>{let e=this.root.current;if(!this.componentProps.debug||!e)return this.store.setGuides(void 0);let t=e.getBoundingClientRect(),n=this.getRootHeight();this.store.setGuides({top:this.componentProps.scrollRoot===`window`?0:t.top,left:this.componentProps.scrollRoot===`window`?0:t.left,width:this.componentProps.scrollRoot===`window`?window.innerWidth:e.clientWidth,height:n,line:this.getActivationLine(n),atBottom:this.atBottom})}),(0,a._)(this,`updateActive`,()=>{var e,t,n,r,i,a;if(!this.root.current||!this.entries.length)return;let o=this.entries.at(-1),s=(e=(t=(n=this.atBottom?o:void 0)==null?[...this.entries].reverse().find(({section:e})=>this.intersecting.has(e)):n)==null?this.entries.find(e=>e.id===this.store.activeId):t)==null?this.entries[0]:e,c=new Set(this.entries.filter(e=>e.id===s.id).map(e=>e.link)),l=s.link.closest(`.nav`),u=l==null||(r=l.parentElement)==null?void 0:r.closest(`.nav`);for(;u&&u!==this.root.current;){var d;let e=[...this.entries].reverse().find(e=>e.link.closest(`.nav`)===u&&!!(e.section.compareDocumentPosition(s.section)&Node.DOCUMENT_POSITION_FOLLOWING));e&&c.add(e.link),l=u,u=(d=l.parentElement)==null?void 0:d.closest(`.nav`)}for(let{link:e}of this.entries){let t=c.has(e);e.classList.toggle(`active`,t),t?e.setAttribute(`aria-current`,`location`):e.removeAttribute(`aria-current`)}s.id!==this.store.activeId&&(this.store.setActiveId(s.id),(i=(a=this.componentProps).onActiveChange)==null||i.call(a,s.id))}),(0,a._)(this,`renderDebug`,()=>{let e=this.store.guides;if(!this.componentProps.debug||!e)return null;let{top:t,left:n,width:r,height:i,line:a,atBottom:o}=e;return/*#__PURE__*/ (0,h.createPortal)(/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-fixed overflow-hidden pe-none`,style:{top:t,left:n,width:r,height:i,zIndex:1080},"aria-hidden":`true`,"data-scrollspy-debug":!0,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`position-absolute start-0 end-0 border-top border-danger border-2`,style:{top:a,borderTopStyle:`dashed`},"data-scrollspy-line":!0}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`position-absolute bottom-0 start-0 end-0 border-top border-danger`,style:{height:12,borderTop:`1px solid #dc3545`,background:o?`rgb(220 53 69 / 40%)`:`rgb(220 53 69 / 10%)`},"data-scrollspy-bottom":o?`reached`:`pending`})]}),document.body)})}},{c:[Zr,Yr]}=(0,t._)(qr,[],[p.observer],Xr),qr),Jr=class extends o._{constructor(){super(Zr),(0,a._)(this,`displayName`,`ScrollSpy`),Yr()}},(0,a._)(Jr,Kr,void 0),Jr);const q=I(e=>{let{as:t=`span`,animation:n=`border`,size:r,theme:i,className:a,role:o=`status`}=e,f=(0,l._)(e,[`as`,`animation`,`size`,`theme`,`className`,`role`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{role:o,className:(0,d.default)(`spinner-${n}`,r&&`spinner-${r}`,i&&`theme-${i}`,a)}))});q.displayName=`Spinner`;const Qr=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`spinner-rotate`,n)}))});Qr.displayName=`SpinnerIcon`;const $r=I(e=>{let{as:t=`div`,direction:n=`vertical`,gap:r,className:i}=e,a=(0,l._)(e,[`as`,`direction`,`gap`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(n===`horizontal`?`hstack`:`vstack`,r!==void 0&&`gap-${r}`,i)}))});$r.displayName=`Stack`;const ei=(e,t)=>(0,d.default)(`stepper`,e===!0?`stepper-horizontal`:e&&`${e}:stepper-horizontal`,t),ti=I(e=>{let{as:t=`ol`,horizontal:n,className:r}=e,i=(0,l._)(e,[`as`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:ei(n,r)}))});ti.displayName=`Stepper`;const ni=I(e=>{let{as:t=`nav`,horizontal:n,className:r}=e,i=(0,l._)(e,[`as`,`horizontal`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:ei(n,r)}))});ni.displayName=`StepperNav`;const ri=I(e=>{let{as:t=`li`,active:n,theme:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`theme`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`stepper-item`,{active:n},r&&`theme-${r}`,i)}))});ri.displayName=`StepperItem`;const ii=I(e=>{let{as:t=`a`,active:n,theme:r,className:i}=e,a=(0,l._)(e,[`as`,`active`,`theme`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`stepper-item`,{active:n},r&&`theme-${r}`,i)}))});ii.displayName=`StepperLink`;const ai=I(e=>{let{as:t=`button`,active:n,theme:r,className:i,type:a=`button`}=e,o=(0,l._)(e,[`as`,`active`,`theme`,`className`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:a,className:(0,d.default)(`stepper-item p-0 border-0 bg-transparent`,{active:n},r&&`theme-${r}`,i)}))});ai.displayName=`StepperButton`;const oi=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`stepper-overflow`,n)}))});oi.displayName=`StepperOverflow`;let si;var ci,li,ui,di,fi,pi,mi,hi;const gi=I(e=>{let{as:t=`div`,eventKey:n,label:r,disabled:i}=e,a=(0,l._)(e,[`as`,`eventKey`,`label`,`disabled`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,s._)({},a))});gi.displayName=`Tab`;let _i;new(si=(ci=/*#__PURE__*/ new WeakMap,li=class extends (fi=m.Component){get componentProps(){return this.props}get tabs(){return m.Children.toArray(this.componentProps.children).filter(e=>typeof e!=`string`||e.trim()).map(e=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e)||typeof e.props.eventKey!=`string`||!(`label`in e.props))throw TypeError(`Tabs children must be Tab elements.`);return e})}get selectedKey(){return(0,n._)(this,ci)}set selectedKey(e){(0,i._)(this,ci,e)}get activeKey(){var e,t,n;let r=(e=this.componentProps.activeKey)==null?this.selectedKey:e;return this.tabs.some(({props:e})=>e.eventKey===r&&!e.disabled)?r:(t=(n=this.tabs.find(({props:e})=>!e.disabled))==null?void 0:n.props.eventKey)==null?``:t}get orientation(){var e;return(e=this.componentProps.orientation)==null?this.componentProps.vertical?`vertical`:`horizontal`:e}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,activeKey:i,className:a,defaultActiveKey:o,fade:d,onChange:f,onClick:p,onKeyDown:m,id:h,orientation:g,children:_,variant:v,vertical:y,fill:b,justified:x,cardHeader:S,navbar:C}=n,w=(0,l._)(n,[`as`,`activeKey`,`className`,`defaultActiveKey`,`fade`,`onChange`,`onClick`,`onKeyDown`,`id`,`orientation`,`children`,`variant`,`vertical`,`fill`,`justified`,`cardHeader`,`navbar`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},w),{ref:this.root,id:this.componentProps.id,className:a,onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:[this.renderTabs(),this.renderPanels()]}))}constructor(...e){var t,n,i,o,l;super(...e),(0,a._)(this,`root`,(hi(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,ci,{writable:!0,value:pi(this,(t=(n=(i=this.componentProps.defaultActiveKey)==null?(o=this.tabs.find(({props:e})=>!e.disabled))==null?void 0:o.props.eventKey:i)==null?(l=this.tabs[0])==null?void 0:l.props.eventKey:n)==null?``:t)}),(0,a._)(this,`handleClick`,e=>{var t,n,r;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented)return;let i=e.target.closest(`[data-tab-index]`),a=i&&((r=this.tabs[Number(i.dataset.tabIndex)])==null?void 0:r.props);a&&!a.disabled&&this.activate(a.eventKey)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n,r,i;if((t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented)return;let a=e.target.closest(`[data-tab-index]`),o=Number(a==null?void 0:a.dataset.tabIndex),{tabs:s}=this;if(!a||Number.isNaN(o))return;let c=this.orientation!==`vertical`,l=c?e.key===`ArrowLeft`:e.key===`ArrowUp`,u=c?e.key===`ArrowRight`:e.key===`ArrowDown`,d=s.map(({props:e},t)=>e.disabled?-1:t).filter(e=>e>=0),f=d.indexOf(o),p=e.key===`Home`?d[0]:e.key===`End`?d.at(-1):l?d[(f-1+d.length)%d.length]:u?d[(f+1)%d.length]:void 0;if(p===void 0)return;e.preventDefault();let m=s[p];this.activate(m.props.eventKey),(i=this.root.current)==null||(r=i.querySelector(`[data-tab-index="${p}"]`))==null||r.focus()}),(0,a._)(this,`activate`,mi(this,e=>{var t,n;(t=(n=this.componentProps).onChange)==null||t.call(n,e),this.componentProps.activeKey===void 0&&(this.selectedKey=e)})),(0,a._)(this,`tabId`,e=>`${this.componentProps.id}-tab-${encodeURIComponent(e)}`),(0,a._)(this,`panelId`,e=>`${this.componentProps.id}-panel-${encodeURIComponent(e)}`),(0,a._)(this,`renderTabs`,()=>{var e;let{variant:t=`tabs`,fill:n,justified:r,cardHeader:i,navbar:a}=this.componentProps,{orientation:o}=this,l=t===`list-group`,f={role:`tablist`,"aria-label":(e=this.componentProps[`aria-label`])==null?`Tabs`:e,"aria-orientation":o,children:this.tabs.map(({props:e},t)=>{let n=e.eventKey===this.activeKey,r={id:this.tabId(e.eventKey),type:`button`,role:`tab`,"data-tab-index":t,"aria-controls":this.panelId(e.eventKey),"aria-selected":n,"aria-disabled":e.disabled||void 0,tabIndex:n?0:-1,disabled:e.disabled,className:(0,d.default)({active:n},e.disabled&&`disabled`),children:e.label};return l?/*#__PURE__*/ (0,u.jsx)(pn,(0,c._)((0,s._)({as:`button`},r),{action:!0}),e.eventKey):/*#__PURE__*/ (0,u.jsx)(or,(0,s._)({as:`button`},r),e.eventKey)})};return l?/*#__PURE__*/ (0,u.jsx)(un,(0,s._)({as:`div`},f)):/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({as:`div`},f),{variant:t,vertical:o===`vertical`,fill:n,justified:r,cardHeader:i,navbar:a}))}),(0,a._)(this,`renderPanels`,()=>{let{fade:e=!0}=this.componentProps;return/*#__PURE__*/ (0,u.jsx)(`div`,{className:`tab-content`,children:this.tabs.map(t=>{var n;let{eventKey:r,className:i}=t.props,a=r===this.activeKey;return/*#__PURE__*/ (0,m.cloneElement)(t,{key:r,id:this.panelId(r),role:`tabpanel`,"aria-labelledby":this.tabId(r),"aria-hidden":!a,tabIndex:(n=t.props.tabIndex)==null?0:n,className:(0,d.default)(`tab-pane`,{active:a,show:a&&e},!e&&`tab-pane-instant`,i),hidden:!a})})})})}},{e:[pi,mi,hi],c:[_i,di]}=(0,t._)(li,[[f.observable,1,`selectedKey`],[f.action,0,`activate`]],[p.observer],fi),li),ui=class extends o._{constructor(){super(_i),(0,a._)(this,`displayName`,`Tabs`),di()}},(0,a._)(ui,si,void 0),ui);var vi,yi;const bi={"top-start":`top-0 start-0`,"top-center":`top-0 start-50 translate-middle-x`,"top-end":`top-0 end-0`,"middle-start":`top-50 start-0 translate-middle-y`,"middle-center":`top-50 start-50 translate-middle`,"middle-end":`top-50 end-0 translate-middle-y`,"bottom-start":`bottom-0 start-0`,"bottom-center":`bottom-0 start-50 translate-middle-x`,"bottom-end":`bottom-0 end-0`},xi=I(e=>{let{as:t=`div`,position:n=`top-end`,className:r,"aria-live":i=`polite`,"aria-atomic":a=!0}=e,o=(0,l._)(e,[`as`,`position`,`className`,`aria-live`,`aria-atomic`]),f=n===`static`;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`toast-container`,!f&&`position-fixed`,!f&&`p-3`,f?`position-static`:bi[n],r),"aria-live":i,"aria-atomic":a}))});xi.displayName=`ToastContainer`;const Si=I(e=>{let{as:t=`div`,theme:n,show:r=!0,translucent:i,instant:a,role:o=`status`,className:f}=e,p=(0,l._)(e,[`as`,`theme`,`show`,`translucent`,`instant`,`role`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`toast`,{show:r,"toast-translucent":i,"toast-instant":a},n&&`theme-${n}`,f),role:o}))});Si.displayName=`ToastItem`;const Ci=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`toast-header`,n)}))});Ci.displayName=`ToastHeader`;const wi=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`toast-body`,n)}))});wi.displayName=`ToastBody`;var Ti=/*#__PURE__*/ new WeakMap,Ei=class{get messages(){return(0,n._)(this,Ti)}set messages(e){(0,i._)(this,Ti,e)}open(e){var t,n;let r=(t=e.id)==null?(0,g.uniqueID)():t;this.close(r);let i=Date.now(),{promise:a,resolve:o}=Promise.withResolvers(),l=e.delay===0?void 0:setTimeout(()=>this.close(r),(n=e.delay)==null?3e3:n),u=(0,c._)((0,s._)({},e),{id:r,openedAt:i,resolve:o,timer:l});return this.messages=[...this.messages,u],a}close(e){let t=this.messages.find(t=>t.id===e);if(!t)return;let{resolve:n,timer:r}=t,i=(0,l._)(t,[`resolve`,`timer`]);clearTimeout(r),n==null||n((0,c._)((0,s._)({},i),{closedAt:Date.now()})),this.messages=this.messages.filter(t=>t.id!==e)}constructor(e=g.Timestamp){(0,a._)(this,`TimeScalar`,void 0),(0,r._)(this,Ti,{writable:!0,value:void 0}),(0,a._)(this,`Component`,void 0),(0,a._)(this,`renderMessage`,void 0),(0,a._)(this,`handleDismiss`,void 0),this.TimeScalar=e,(0,i._)(this,Ti,(yi(this),vi(this,[]))),this.Component=(0,p.observer)(({position:e})=>/*#__PURE__*/ (0,u.jsx)(xi,{position:e,onClick:this.handleDismiss,children:this.messages.map(this.renderMessage)})),this.renderMessage=({id:e,openedAt:t,title:n,body:r,theme:i,translucent:a,instant:o,role:s,delay:c=3e3})=>{let l=!!n||c===0,d=this.TimeScalar.distanceOf(Date.now(),t).toShortString();return/*#__PURE__*/ (0,u.jsxs)(Si,{theme:i,translucent:a,instant:o,role:s,children:[l&&/*#__PURE__*/ (0,u.jsxs)(Ci,{children:[/*#__PURE__*/ (0,u.jsx)(`strong`,{className:`me-auto`,children:n}),/*#__PURE__*/ (0,u.jsx)(`small`,{children:d}),/*#__PURE__*/ (0,u.jsx)(B,{"data-toast-dismiss":e})]}),/*#__PURE__*/ (0,u.jsx)(wi,{children:r})]},e)},this.handleDismiss=({target:e})=>{var t;if(!(e instanceof Element))return;let n=(t=e.closest(`[data-toast-dismiss]`))==null?void 0:t.dataset.toastDismiss;n&&this.close(n)},this.Component.displayName=`ToastComponent`}};({e:[vi,yi]}=(0,t._)(Ei,[[f.observable,1,`messages`],[f.action,2,`open`],[f.action,2,`close`]],[]));const Di=new Set((/* @__PURE__ */ `accessKey.accept.alt.autoCapitalize.autoComplete.autoFocus.capture.checked.contentEditable.contextMenu.defaultChecked.defaultValue.dir.dirName.disabled.draggable.enterKeyHint.form.formAction.formEncType.formMethod.formNoValidate.formTarget.hidden.height.id.inlist.inputMode.is.itemID.itemProp.itemRef.itemScope.itemType.lang.list.max.maxLength.min.minLength.multiple.name.nonce.pattern.part.popover.popoverTarget.popoverTargetAction.placeholder.about.content.datatype.prefix.property.radioGroup.readOnly.rel.resource.results.rev.role.required.slot.spellCheck.src.step.tabIndex.title.typeof.translate.value.vocab.width.autoCorrect.autoSave.color.security.unselectable.exportparts.inert.onAnimationEnd.onAnimationIteration.onAnimationStart.onAbort.onAuxClick.onBeforeInput.onBeforeToggle.onBlur.onCanPlay.onCanPlayThrough.onChange.onClick.onCompositionEnd.onCompositionStart.onCompositionUpdate.onContextMenu.onCopy.onCut.onDoubleClick.onDrag.onDragEnd.onDragEnter.onDragExit.onDragLeave.onDragOver.onDragStart.onDrop.onDurationChange.onEmptied.onEncrypted.onEnded.onError.onFocus.onGotPointerCapture.onInput.onInvalid.onKeyDown.onKeyPress.onKeyUp.onLoad.onLoadedData.onLoadedMetadata.onLoadStart.onLostPointerCapture.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onPaste.onPause.onPlay.onPlaying.onPointerCancel.onPointerDown.onPointerEnter.onPointerLeave.onPointerMove.onPointerOut.onPointerOver.onPointerUp.onProgress.onRateChange.onScroll.onSeeked.onSeeking.onSelect.onScrollEnd.onStalled.onSuspend.onTimeUpdate.onToggle.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onVolumeChange.onWaiting.onWheel`.split(`.`)).flatMap(e=>[e,`${e}Capture`]));function Oi(e){let t={},n={};for(let[r,i]of Object.entries(e))(Di.has(r)||r.startsWith(`aria-`)?t:n)[r]=i;return{inputProps:t,rootProps:n}}const ki=I(e=>{let{as:t=`label`,type:n=`checkbox`,variant:r=`solid`,className:i,theme:a,name:o,value:f,checked:p,defaultChecked:m,disabled:h,required:g,size:_,inputRef:v,inputClassName:y,inputStyle:b,children:x,onChange:S}=e,C=(0,l._)(e,[`as`,`type`,`variant`,`className`,`theme`,`name`,`value`,`checked`,`defaultChecked`,`disabled`,`required`,`size`,`inputRef`,`inputClassName`,`inputStyle`,`children`,`onChange`]);var w;let{inputProps:T,rootProps:E}=Oi(C);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},E),{className:(0,d.default)(`btn-check`,`btn-${r}`,a&&`theme-${a}`,_&&`btn-${_}`,i),children:[/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},T),{ref:v,className:y,style:b,type:n,name:o,value:f,checked:p,defaultChecked:m,disabled:h,required:g,autoComplete:(w=T.autoComplete)==null?`off`:w,onChange:S})),x]}))});ki.displayName=`ToggleButton`;var Ai=class extends m.Component{get componentProps(){return this.props}render(){var e,t;let n=this.componentProps,{as:r=`button`,target:i,attribute:a,value:o,onToggled:f,theme:p,variant:m,disabled:h}=n,g=(0,l._)(n,[`as`,`target`,`attribute`,`value`,`onToggled`,`theme`,`variant`,`disabled`]);return r===`button`?/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({},g),{theme:p,variant:m,disabled:h,onClick:this.handleClick})):/*#__PURE__*/ (0,u.jsx)(r,(0,c._)((0,s._)({},g),{className:(0,d.default)(p&&`theme-${p}`,m&&`btn-${m}`,g.className),role:(e=g.role)==null?`button`:e,tabIndex:h?-1:(t=g.tabIndex)==null?0:t,"aria-disabled":h||void 0,onClick:this.handleClick,onKeyDown:this.handleKeyDown}))}constructor(...e){super(...e),(0,a._)(this,`handleClick`,e=>{var t,n;if((t=(n=this.componentProps).onClick)==null||t.call(n,e),e.defaultPrevented||this.componentProps.disabled)return;let{target:r,attribute:i=`class`,value:a,onToggled:o}=this.componentProps,s=r?[...document.querySelectorAll(r)]:[e.currentTarget],c=s.map(e=>{var t,n;return{element:e,attribute:(t=e.dataset.bsAttribute)==null?i:t,value:(n=e.dataset.bsValue)==null?a:n}});if(c.some(({attribute:e})=>e.toLowerCase()===`id`))throw TypeError(`Toggler cannot change the id attribute`);for(let{element:e,attribute:t,value:n}of c){if(n==null)continue;let r=String(n),i=new window.CustomEvent(`toggle.bs.toggler`,{cancelable:!0});if(e.dispatchEvent(i)){if(t===`class`)for(let t of r.split(/\s+/).filter(Boolean))e.classList.toggle(t);else e.getAttribute(t)===r?e.removeAttribute(t):e.setAttribute(t,r);e.dispatchEvent(new window.CustomEvent(`toggled.bs.toggler`))}}o==null||o(s)}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),e.defaultPrevented||this.componentProps.disabled||e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),e.currentTarget.click())})}};(0,a._)(Ai,`displayName`,`Toggler`);const ji=I(e=>{let{as:t=`div`,placement:n=`top`,show:r=!0,role:i=`tooltip`,className:a,children:o,arrowStyle:f}=e,p=(0,l._)(e,[`as`,`placement`,`show`,`role`,`className`,`children`,`arrowStyle`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},p),{className:(0,d.default)(`tooltip`,{show:r},`bs-tooltip-${wn[n]}`,a),role:i,hidden:!r,"data-bs-placement":n,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{style:f,className:(0,d.default)(`tooltip-arrow`,Tn[n])}),/*#__PURE__*/ (0,u.jsx)(`div`,{className:`tooltip-inner`,children:o})]}))});ji.displayName=`Tooltip`;const J=I(e=>{let{as:t=`img`,fluid:n,thumbnail:r,rounded:i,roundedCircle:a,className:o}=e,f=(0,l._)(e,[`as`,`fluid`,`thumbnail`,`rounded`,`roundedCircle`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},f),{className:(0,d.default)({"img-fluid":n,"img-thumbnail":r,rounded:i,"rounded-circle":a},o)}))});J.displayName=`Image`;const Mi=I(e=>{let{as:t=`figure`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`figure`,n)}))});Mi.displayName=`Figure`;const Ni=I(e=>{let{as:t=`img`,fluid:n=!0}=e,r=(0,l._)(e,[`as`,`fluid`]);return/*#__PURE__*/ (0,u.jsx)(J,(0,c._)((0,s._)({as:t},r),{fluid:n}))});Ni.displayName=`FigureImage`;const Pi=I(e=>{let{as:t=`figcaption`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`figure-caption`,n)}))});Pi.displayName=`FigureCaption`;const Fi=I(e=>{let{as:t,className:n,children:r,striped:i,stripedColumns:a,hover:o,bordered:f,borderless:p,card:m,small:h,responsive:g,stacked:_,verticalAlign:v,captionTop:y}=e,b=(0,l._)(e,[`as`,`className`,`children`,`striped`,`stripedColumns`,`hover`,`bordered`,`borderless`,`card`,`small`,`responsive`,`stacked`,`verticalAlign`,`captionTop`]),x=t==null?`div`:t,S=!g&&t?t:`table`,C=!!g||!!m,w=/*#__PURE__*/ (0,u.jsx)(S,(0,c._)((0,s._)({},g&&t?{}:b),{className:(0,d.default)(`table`,{"table-striped":i,"table-striped-columns":a,"table-hover":o,"table-bordered":f,"table-borderless":p,"table-sm":h},_===!0&&`table-stacked`,typeof _==`string`&&`${_}:table-stacked`,v&&`align-${v}`,y&&`caption-top`,g&&t?void 0:n),children:r}));return C?/*#__PURE__*/ (0,u.jsx)(x,(0,c._)((0,s._)({},g&&t?b:{}),{className:(0,d.default)(g&&`table-responsive`,g&&g!==!0&&`${g}:table-responsive`,m&&`table-card`,g&&t&&n),children:w})):w});Fi.displayName=`Table`;var Ii=class extends m.PureComponent{get componentProps(){return this.props}componentDidMount(){window.addEventListener(`click`,this.switchClick,!0)}componentWillUnmount(){window.removeEventListener(`click`,this.switchClick,!0)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,n=this.componentProps,{as:r,children:i,onInnerClick:a,onOuterClick:o}=n,d=(0,l._)(n,[`as`,`children`,`onInnerClick`,`onOuterClick`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({ref:this.root},d),{children:i}))}constructor(...e){super(...e),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`switchClick`,e=>{var t;let{onInnerClick:n,onOuterClick:r}=this.componentProps;(t=this.root.current)!=null&&t.contains(e.target)?n==null||n(e):r==null||r(e)})}};
2
2
  /*!
3
3
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
4
4
  *
@@ -38,4 +38,4 @@ ${X(o+1,u)}`,m=d.includes(`
38
38
  ${X(n,g)}`,_=Aa(C,v,b,t,n,g,p)?y:v,s&&s.length>0){var w=n+1;_+=`>`,t||(_+=`
39
39
  `,_+=X(w,g)),_+=s.reduce(Sa,[]).map(Da(t,w,r)).join(t?``:`
40
40
  ${X(w,g)}`),t||(_+=`
41
- `,_+=X(w-1,g)),_+=`</${o}>`}else ka(C,v,n,g,p)||(_+=` `),_+=`/>`;return _}),Ma=``,Na=`React.Fragment`,Pa=function(e,t,n){var r={};return t&&(r={key:t}),{type:`ReactElement`,displayName:e,props:r,defaultProps:{},childrens:n}},Fa=function(e){return!!e.key},Ia=function(e){return e.childrens.length===0},La=(function(e,t,n,r){var i=e.type,a=e.key,o=e.childrens;if(i!==`ReactFragment`)throw Error(`The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: ${i}`);return ja(Pa(r.useFragmentShortSyntax?Ia(e)||Fa(e)?Na:Ma:Na,a,o),t,n,r)}),Ra=[`<`,`>`,`{`,`}`],za=function(e){return Ra.some(function(t){return e.includes(t)})},Ba=function(e){return za(e)?`{\`${e}\`}`:e},Va=function(e){var t=e;return t.endsWith(` `)&&(t=t.replace(/^(.*?)(\s+)$/,`$1{'$2'}`)),t.startsWith(` `)&&(t=t.replace(/^(\s+)(.*)$/,`{'$1'}$2`)),t},Ha=(function(e,t,n,r){if(e.type===`number`)return String(e.value);if(e.type===`string`)return e.value?`${Va(Ba(String(e.value)))}`:``;if(e.type===`ReactElement`)return ja(e,t,n,r);if(e.type===`ReactFragment`)return La(e,t,n,r);throw TypeError(`Unknow format type "${e.type}"`)}),Ua=(function(e,t){return Ha(e,!1,0,t)}),Wa=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,a=i===void 0||i,o=t.showFunctions,s=o!==void 0&&o,c=t.functionValue,l=t.tabStop,u=l===void 0?2:l,d=t.useBooleanShorthandSyntax,f=d===void 0||d,p=t.useFragmentShortSyntax,m=p===void 0||p,h=t.sortProps,g=h===void 0||h,_=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw Error(`react-element-to-jsx-string: Expected a ReactElement`);var y={filterProps:r,showDefaultProps:a,showFunctions:s,functionValue:c,tabStop:u,useBooleanShorthandSyntax:f,useFragmentShortSyntax:m,sortProps:g,maxInlineAttributesLineLength:_,displayName:v};return Ua(ma(e,y),y)};const Ga=(0,D.createHighlighterCoreSync)({themes:[E.default,T.default],langs:[_.default,v.default,y.default,b.default,x.default,S.default,w.default,C.default],engine:(0,O.createJavaScriptRegexEngine)()}),Ka=I(e=>{let{as:t=`pre`,className:n=``,language:r,header:i,children:a}=e,o=(0,l._)(e,[`as`,`className`,`language`,`header`,`children`]),d=typeof a==`string`?a:Wa(/*#__PURE__*/ (0,m.isValidElement)(a)?a:/*#__PURE__*/ (0,u.jsx)(u.Fragment,{children:a})),f=Ga.codeToHtml(d,{lang:r,themes:{light:`github-light`,dark:`github-dark`},defaultColor:!1,structure:`inline`,transformers:[{span:({properties:e})=>{e.style=`${e.style};color:light-dark(var(--shiki-light),var(--shiki-dark))`}}]}),p=/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`m-0 shiki language-${r} ${n}`},o),{children:/*#__PURE__*/ (0,u.jsx)(`code`,{dangerouslySetInnerHTML:{__html:f},className:`language-${r}`})}));return i?/*#__PURE__*/ (0,u.jsxs)(`figure`,{className:`m-0`,children:[/*#__PURE__*/ (0,u.jsx)(`figcaption`,{className:`px-3 pb-6 mb-6 bg-body-tertiary border-bottom`,children:i}),p]}):p});Ka.displayName=`CodeBlock`;let qa;var Ja,Ya,Xa,Za,Qa,$a=(0,k.reaction)(e=>e.componentProps.endTime),eo,to;let no;new(qa=(Ja=/*#__PURE__*/ new WeakMap,Ya=class extends (Qa=k.ObservedComponent){get componentProps(){return this.observedProps}get rest(){return(0,n._)(this,Ja)}set rest(e){(0,i._)(this,Ja,e)}get endTimestamp(){return+new Date(this.componentProps.endTime||Date.now())}get timeSections(){let{units:e}=this.componentProps,{rest:t}=this;return e.reduce((n,{label:r},i)=>{let a=e.slice(i).map(({scale:e})=>e).reduce((e,t)=>e*t,1),o=~~(t/a);return t-=o*a,n.push({value:o,label:r}),n},[])}stop(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}componentDidMount(){super.componentDidMount(),this.initTimer()}initTimer(){this.stop(),this.tick(),this.timer=window.setInterval(this.tick,g.Second)}componentWillUnmount(){super.componentWillUnmount(),this.stop()}render(){let e=this.componentProps,{as:t,className:n=``,itemClassName:r=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,units:i,endTime:a,onEnd:o}=e,d=(0,l._)(e,[`as`,`className`,`itemClassName`,`units`,`endTime`,`onEnd`]),f=t==null?`ol`:t,{timeSections:p}=this;return/*#__PURE__*/ (0,u.jsx)(f,(0,c._)((0,s._)({className:`list-unstyled m-0 ${n}`},d),{children:p.map(({value:e,label:t})=>/*#__PURE__*/ (0,u.jsxs)(`li`,{className:r,children:[/*#__PURE__*/ (0,u.jsx)(`strong`,{children:(e+``).padStart(2,`0`)}),/*#__PURE__*/ (0,u.jsx)(`span`,{children:t})]},t))}))}constructor(...e){super(...e),(0,r._)(this,Ja,{writable:!0,value:(to(this),eo(this,0))}),(0,a._)(this,`timer`,0),(0,a._)(this,`tick`,()=>{let{onEnd:e,endTime:t}=this.componentProps,n=this.endTimestamp-Date.now();n>0?this.rest=n:(this.rest=0,this.stop(),e==null||e(t))})}},{e:[eo,to],c:[no,Za]}=(0,t._)(Ya,[[f.observable,1,`rest`],[f.computed,3,`timeSections`],[$a,2,`initTimer`]],[p.observer],Qa),Ya),Xa=class extends o._{constructor(){super(no),(0,a._)(this,`displayName`,`Countdown`),Za()}},(0,a._)(Xa,qa,void 0),Xa);var ro,io,ao,oo=class extends Error{constructor(e=`Dialog closed`){super(e)}},so=/*#__PURE__*/ new WeakMap,co=/*#__PURE__*/ new WeakMap,lo=class{get input(){return(0,n._)(this,so)}set input(e){(0,i._)(this,so,e)}get defer(){return(0,n._)(this,co)}set defer(e){(0,i._)(this,co,e)}open(e){e&&(this.input=e);let t=new A.Defer;this.defer=t;let n=(0,f.action)(()=>this.defer===t&&(this.defer=void 0));return t.promise.then(n,n),t.promise}constructor(e){(0,r._)(this,so,{writable:!0,value:(ao(this),ro(this,{}))}),(0,r._)(this,co,{writable:!0,value:io(this)}),(0,a._)(this,`Component`,void 0),this.Component=(0,p.observer)(t=>/*#__PURE__*/ (0,u.jsx)(e,(0,c._)((0,s._)({},t,this.input),{defer:this.defer}))),this.Component.displayName=`DialogComponent`}};({e:[ro,io,ao]}=(0,t._)(lo,[[f.observable,1,`input`],[f.observable,1,`defer`],[f.action,2,`open`]],[]));const uo=I(e=>{let{as:t=`div`,className:n=``,children:r,maxWidth:i=`100%`,duration:a,height:o}=e,d=(0,l._)(e,[`as`,`className`,`children`,`maxWidth`,`duration`,`height`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`overflow-hidden max-w-100 ${n}`},d),{children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block align-top text-nowrap ONAURG_scrollWrap`,style:{maxWidth:i,animationDuration:a,height:o,lineHeight:o},children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block ONAURG_scrollItem`,style:{animationDuration:a},children:r})})}))}),fo=I(e=>{let{as:t,children:n,className:r=``,style:i,maxWidth:a,duration:o,height:d}=e,f=(0,l._)(e,[`as`,`children`,`className`,`style`,`maxWidth`,`duration`,`height`]);return d?/*#__PURE__*/ (0,u.jsx)(t==null?`div`:t,(0,c._)((0,s._)({},f),{className:`overflow-hidden ONAURG_scrollHeightWrap ${r}`,style:(0,s._)({maxWidth:a,"--scroll-height":d},i),children:/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`d-inline-block overflow-hidden max-w-100 ONAURG_scrollContainer`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-block overflow-hidden text-wrap text-break ONAURG_unScrollItem`,children:n}),/*#__PURE__*/ (0,u.jsx)(uo,{duration:o,children:n})]})})):/*#__PURE__*/ (0,u.jsx)(uo,(0,c._)((0,s._)({as:t},f),{className:r,style:i,maxWidth:a,duration:o,height:d,children:n}))});uo.displayName=`HorizontalMarquee`,fo.displayName=`HorizontalMarqueeBox`;const po=({scope:e,children:t})=>{let n=typeof t==`string`?t:Wa(/*#__PURE__*/ (0,m.isValidElement)(t)?t:/*#__PURE__*/ (0,u.jsx)(u.Fragment,{children:t}));return/*#__PURE__*/ (0,u.jsxs)(j.LiveProvider,{code:n,scope:e,language:`tsx`,children:[/*#__PURE__*/ (0,u.jsx)(j.LivePreview,{className:`mb-3`}),/*#__PURE__*/ (0,u.jsx)(j.LiveEditor,{}),/*#__PURE__*/ (0,u.jsx)(j.LiveError,{className:`fg-danger small p-2`})]})},mo=I(e=>{let{as:t=`div`,className:n=``,children:r=`Loading...`,opacity:i=25,style:a}=e,o=(0,l._)(e,[`as`,`className`,`children`,`opacity`,`style`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({className:`fixed-top h-100 w-100 d-flex justify-content-center align-items-center bg-black ${n}`,style:(0,c._)((0,s._)({},a),{opacity:i/100})},o),{children:[/*#__PURE__*/ (0,u.jsx)(q,{theme:`success`}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`ms-3 fg-white`,children:r})]}))});mo.displayName=`Loading`;const ho=I(e=>{let{as:t=`article`,className:n,children:r}=e,i=(0,l._)(e,[`as`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`markdown-body`,n),dangerouslySetInnerHTML:{__html:(0,M.marked)(r,{async:!1})}}))});ho.displayName=`MarkdownView`;const go=[`primary`,`secondary`,`success`,`danger`,`warning`,`info`,`dark`,`light`];function _o(e,t=[]){let n=t[0]?go.filter(e=>!t.find(t=>t===e)):go;return n[[...e].reduce((e,t)=>e+t.charCodeAt(0),0)%n.length]}let vo;var yo,bo,xo,So,Co,wo,To,Eo;let Do;new(vo=(yo=/*#__PURE__*/ new WeakMap,bo=class extends (Co=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,yo)}set open(e){(0,i._)(this,yo,e)}componentWillUnmount(){document.removeEventListener(`pointerdown`,this.handleOutside),clearTimeout(this.timer),this.position.dispose()}componentDidMount(){document.addEventListener(`pointerdown`,this.handleOutside)}componentDidUpdate(e){let{open:t,root:n,overlay:r,props:i,position:a}=this,{placement:o=`top`,responsivePlacement:s,offset:c=i.detail==null?8:12,padding:l,flip:u,container:d}=i;if(!t)return a.dispose();n.current&&r.current&&(a.element!==r.current||e.placement!==i.placement||e.responsivePlacement!==s||e.offset!==i.offset||e.padding!==l||e.flip!==u||e.container!==d?a.attach(n.current,r.current,{placement:o,responsivePlacement:s,offset:c,padding:l,flip:u}):a.update())}render(){var e;let t=(e=this.componentProps.as)==null?`span`:e,n=this.componentProps,{as:r,title:i,detail:a,placement:o=`top`,responsivePlacement:f,container:p,offset:g,padding:_,flip:v,trigger:y,delay:b,overlayClassName:x,children:S,className:C=``,onMouseEnter:w,onMouseLeave:T,onFocus:E,onBlur:D,onClick:O,onKeyDown:k}=n,A=(0,l._)(n,[`as`,`title`,`detail`,`placement`,`responsivePlacement`,`container`,`offset`,`padding`,`flip`,`trigger`,`delay`,`overlayClassName`,`children`,`className`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`,`onClick`,`onKeyDown`]),j=this.open?this.id:void 0,M=this.position.element?this.position.placement.split(`-`)[0]:o,N=(0,d.default)(`w-max`,x),P=a==null?/*#__PURE__*/ (0,u.jsx)(ji,{ref:this.overlay,id:j,style:(0,s._)({},this.position.style),arrowStyle:(0,s._)({},this.position.arrowStyle),className:N,placement:M,children:i}):/*#__PURE__*/ (0,u.jsx)(Fr,{ref:this.overlay,id:j,style:(0,s._)({},this.position.style),arrowStyle:(0,s._)({},this.position.arrowStyle),className:N,title:i,placement:M,children:a}),F=this.open&&p?typeof p==`string`?document.querySelector(p):typeof p==`function`?p():p:void 0;if(this.open&&p&&!F)throw Error(`Overlay container was not found`);let I=/*#__PURE__*/ (0,m.isValidElement)(S)?/*#__PURE__*/ (0,m.cloneElement)(S,{"aria-describedby":[S.props[`aria-describedby`],j].filter(Boolean).join(` `)||void 0}):S;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},A),{ref:this.root,className:`position-relative d-inline-block ${C}`,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:[I,this.open&&(F?/*#__PURE__*/ (0,h.createPortal)(P,F):P)]}))}constructor(...e){super(...e),(0,r._)(this,yo,{writable:!0,value:(Eo(this),wo(this,!1))}),(0,a._)(this,`id`,(0,g.uniqueID)()),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`overlay`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`position`,new W),(0,a._)(this,`timer`,void 0),(0,a._)(this,`setOpen`,To(this,e=>this.open=e)),(0,a._)(this,`hide`,()=>{clearTimeout(this.timer),this.setOpen(!1)}),(0,a._)(this,`setOpenAfterDelay`,e=>{clearTimeout(this.timer);let{delay:t}=this.componentProps,n=typeof t==`number`?t:t==null?void 0:t[e?`show`:`hide`];if(!n)return this.setOpen(e);this.timer=setTimeout(()=>this.setOpen(e),n)}),(0,a._)(this,`contains`,e=>{var t,n;return e instanceof Node&&(!!((t=this.root.current)!=null&&t.contains(e))||!!((n=this.overlay.current)!=null&&n.contains(e)))}),(0,a._)(this,`hasTrigger`,e=>(this.componentProps.trigger?Array.isArray(this.componentProps.trigger)?this.componentProps.trigger:[this.componentProps.trigger]:[`hover`,`focus`]).includes(e)),(0,a._)(this,`handleMouseEnter`,e=>{var t,n;(t=(n=this.componentProps).onMouseEnter)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`hover`)&&this.setOpenAfterDelay(!0)}),(0,a._)(this,`handleMouseLeave`,e=>{var t,n;(t=(n=this.componentProps).onMouseLeave)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`hover`)&&!this.contains(e.relatedTarget)&&!this.contains(document.activeElement)&&this.setOpenAfterDelay(!1)}),(0,a._)(this,`handleFocus`,e=>{var t,n;(t=(n=this.componentProps).onFocus)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`focus`)&&this.setOpenAfterDelay(!0)}),(0,a._)(this,`handleBlur`,e=>{var t,n;(t=(n=this.componentProps).onBlur)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`focus`)&&!this.contains(e.relatedTarget)&&this.setOpenAfterDelay(!1)}),(0,a._)(this,`handleClick`,e=>{var t,n,r;(t=(n=this.componentProps).onClick)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`click`)&&!(e.target instanceof Node&&(r=this.overlay.current)!=null&&r.contains(e.target))&&this.setOpenAfterDelay(!this.open)}),(0,a._)(this,`handleOutside`,({target:e})=>{e instanceof Node&&!this.contains(e)&&this.hide()}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),!e.defaultPrevented&&e.key===`Escape`&&this.open&&(e.preventDefault(),this.hide())})}},{e:[wo,To,Eo],c:[Do,So]}=(0,t._)(bo,[[f.observable,1,`open`],[f.action,0,`setOpen`]],[p.observer],Co),bo),xo=class extends o._{constructor(){super(Do),(0,a._)(this,`displayName`,`OverlayBox`),So()}},(0,a._)(xo,vo,void 0),xo);let Oo;var ko,Ao,jo,Mo,No,Po,Fo;let Io;new(Oo=(ko=/*#__PURE__*/ new WeakMap,Ao=class extends (No=k.ObservedComponent){get componentProps(){return this.props}get observedComponentProps(){return this.observedProps}get weekFormatter(){var e;let{locale:t=(e=globalThis.navigator)==null?void 0:e.language}=this.observedComponentProps;return new Intl.DateTimeFormat(t,{weekday:`long`})}get currentDate(){return(0,n._)(this,ko)}set currentDate(e){(0,i._)(this,ko,e)}get dateGrid(){let e=new Date(this.currentDate);e.setDate(1),e=/* @__PURE__ */ new Date(+e-e.getDay()*g.Day);let t=Array.from(Array(42),(t,n)=>new Date(+e+n*g.Day));return(0,g.splitArray)(t,7)}changeMonth(e){var t,n;this.currentDate=(0,g.changeMonth)(this.currentDate,e),(t=(n=this.componentProps).onChange)==null||t.call(n,this.currentDate)}render(){var e;let t=(e=this.componentProps.as)==null?`table`:e,{weekFormatter:n,currentDate:r,dateGrid:i}=this,a=this.observedComponentProps,{as:o,className:d=``,style:f,theme:p=`primary`,onChange:m,onSelect:h}=a,_=(0,l._)(a,[`as`,`className`,`style`,`theme`,`onChange`,`onSelect`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},_),{className:`table ${d}`,style:(0,s._)({tableLayout:`fixed`},f),children:[/*#__PURE__*/ (0,u.jsx)(`caption`,{children:/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`d-flex justify-content-between align-items-center`,children:[/*#__PURE__*/ (0,u.jsx)(R,{theme:p,onClick:this.changePreviousMonth,children:`<`}),(0,g.formatDate)(r,`YYYY-MM`),/*#__PURE__*/ (0,u.jsx)(R,{theme:p,onClick:this.changeNextMonth,children:`>`})]})}),/*#__PURE__*/ (0,u.jsx)(`thead`,{children:/*#__PURE__*/ (0,u.jsx)(`tr`,{children:i[0].map((e,t,{length:r})=>/*#__PURE__*/ (0,u.jsx)(`th`,{className:`theme-${p} theme-contrast`,style:{width:`calc(100% / ${r})`},scope:`col`,children:n.format(e)},t))})}),/*#__PURE__*/ (0,u.jsx)(`tbody`,{children:i.map(e=>/*#__PURE__*/ (0,u.jsx)(`tr`,{children:e.map(this.renderDate)},e[0]+``))})]}))}constructor(...e){super(...e),(0,r._)(this,ko,{writable:!0,value:(Fo(this),Po(this,/* @__PURE__ */ new Date))}),(0,a._)(this,`changePreviousMonth`,()=>this.changeMonth(-1)),(0,a._)(this,`changeNextMonth`,()=>this.changeMonth(1)),(0,a._)(this,`handleCellClick`,({target:e,currentTarget:t})=>{var n,r,i;if(!(e instanceof Element))return;let a=e.closest(`[data-calendar-index]`);if(!a||!t.contains(a))return;let o=a.dataset.calendarDate,s=Number(a.dataset.calendarIndex),c=(n=this.componentProps.value)==null?void 0:n.filter(({date:e})=>(0,g.formatDate)(e,`YYYY-MM-DD`)===o),l=c==null?void 0:c[s];l&&((r=(i=this.componentProps).onSelect)==null||r.call(i,l))}),(0,a._)(this,`renderDate`,e=>{let{value:t}=this.observedComponentProps,n=(0,g.formatDate)(e,`YYYY-MM-DD`),r=t==null?void 0:t.filter(({date:e})=>(0,g.formatDate)(e,`YYYY-MM-DD`)===n);return/*#__PURE__*/ (0,u.jsxs)(`td`,{className:(0,d.default)({"opacity-50":e.getMonth()!==this.currentDate.getMonth(),"fw-bold":n===(0,g.formatDate)(/* @__PURE__ */ new Date,`YYYY-MM-DD`)}),onClick:this.handleCellClick,children:[/*#__PURE__*/ (0,u.jsx)(`time`,{className:`d-block`,dateTime:e.toJSON(),children:e.getDate()}),r==null?void 0:r.map((e,t)=>typeof e.content==`object`?e.content:/*#__PURE__*/ (0,u.jsx)(Do,{title:e.content,children:/*#__PURE__*/ (0,u.jsx)(H,{className:`d-inline-block text-decoration-none w-100 text-truncate`,theme:_o(e.content+``,[`light`]),"data-calendar-date":n,"data-calendar-index":t,href:e.link,children:e.content})},`${n}-${t}`))]},e+``)})}},{e:[Po,Fo],c:[Io,Mo]}=(0,t._)(Ao,[[f.computed,3,`weekFormatter`],[f.observable,1,`currentDate`],[f.computed,3,`dateGrid`],[f.action,2,`changeMonth`]],[p.observer],No),Ao),jo=class extends o._{constructor(){super(Io),(0,a._)(this,`displayName`,`MonthCalendar`),Mo()}},(0,a._)(jo,Oo,void 0),jo);const Lo=({avatar:e,name:t})=>/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(De,{size:2,style:{marginRight:`0.5rem`},src:e}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`align-middle`,children:t})]});Lo.displayName=`Nameplate`;let Ro;var zo,Bo,Vo,Ho,Uo,Wo,Go,Ko,qo;const Jo=Array.from({length:6},(e,t)=>`h${t+1}`).join(`,`);let Yo;new(Ro=(zo=/*#__PURE__*/ new WeakMap,Bo=/*#__PURE__*/ new WeakMap,Vo=class extends (Wo=m.Component){get componentProps(){return this.props}get list(){return(0,n._)(this,zo)}set list(e){(0,i._)(this,zo,e)}get scrollY(){return(0,n._)(this,Bo)}set scrollY(e){(0,i._)(this,Bo,e)}get currentActiveId(){var e;let{list:t,scrollY:n}=this,r=t.findIndex(({top:e})=>e>n);return(e=t[r<0?t.length-1:r-1])==null?void 0:e.id}componentDidMount(){globalThis.document&&(window.addEventListener(`scroll`,this.updateScrollY),window.addEventListener(`resize`,this.updateScrollY),this.initList(),this.updateScrollY())}static slugOf(e){let t=e.toLowerCase().replace(/\W+/g,`-`).replace(/^-+|-+$/g,``);return!t||document.getElementById(t)?(0,g.uniqueID)():t}initList(){let{rootSelector:e}=this.componentProps,t=e?document.querySelector(e):document;t&&(this.list=Array.from(t.querySelectorAll(Jo),e=>{var t;let n=e.textContent.trim();(t=e).id||(t.id=Yo.slugOf(n));let{id:r,tagName:i}=e,a=e.getBoundingClientRect().top+window.scrollY;return{id:r,level:+i[1],text:n,top:a}}))}componentWillUnmount(){window.removeEventListener(`scroll`,this.updateScrollY),window.removeEventListener(`resize`,this.updateScrollY)}render(){let{list:e}=this,t=this.componentProps,{depth:n,minDepth:r,rootSelector:i,onItemClick:a}=t,o=(0,l._)(t,[`depth`,`minDepth`,`rootSelector`,`onItemClick`]);return/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({as:this.componentProps.as},o),{variant:`underline`,vertical:!0,children:e.map(this.renderLink)}))}constructor(...e){super(...e),(0,r._)(this,zo,{writable:!0,value:(qo(this),Go(this,[]))}),(0,r._)(this,Bo,{writable:!0,value:Ko(this,0)}),(0,a._)(this,`updateScrollY`,(0,f.action)(()=>{this.scrollY=window.scrollY,this.list=this.list.map(e=>{let t=document.getElementById(e.id);return t?(0,c._)((0,s._)({},e),{top:t.getBoundingClientRect().top+this.scrollY}):e})})),(0,a._)(this,`scrollTo`,e=>()=>{var t,n;setTimeout(()=>(0,g.scrollTo)(`[id="${e.id}"]`)),(t=(n=this.componentProps).onItemClick)==null||t.call(n,e)}),(0,a._)(this,`renderLink`,({id:e,level:t,text:n,top:r})=>{let{currentActiveId:i}=this,{depth:a=1/0,minDepth:o=1}=this.componentProps;return o<=t&&t<=a&&/*#__PURE__*/ (0,u.jsx)(or,{className:(0,d.default)(`justify-content-start text-wrap min-w-0`,i===e&&`active`),style:{paddingInlineStart:`${t-o+.75}rem`},href:`#${e}`,"aria-current":i===e?`location`:void 0,onClick:this.scrollTo({id:e,level:t,text:n,top:r}),children:n},e)})}},{e:[Go,Ko,qo],c:[Yo,Uo]}=(0,t._)(Vo,[[f.observable,1,`list`],[f.observable,1,`scrollY`],[f.computed,3,`currentActiveId`],[f.action,2,`initList`]],[p.observer],Wo),Vo),Ho=class extends o._{constructor(){super(Yo),(0,a._)(this,`displayName`,`PageNav`),Uo()}},(0,a._)(Ho,Ro,void 0),Ho);var Xo,Zo,Qo,$o,es,ts,ns;let rs;var is=/*#__PURE__*/ new WeakMap,as=/*#__PURE__*/ new WeakMap,os=/*#__PURE__*/ new WeakMap,ss=class extends (Zo=m.Component){get componentProps(){return this.props}get scrollLeft(){return(0,n._)(this,is)}set scrollLeft(e){(0,i._)(this,is,e)}get scrollWidth(){return(0,n._)(this,as)}set scrollWidth(e){(0,i._)(this,as,e)}get clientWidth(){return(0,n._)(this,os)}set clientWidth(e){(0,i._)(this,os,e)}get canScrollLeft(){return this.scrollLeft>0}get canScrollRight(){return this.scrollLeft+this.clientWidth<this.scrollWidth}componentDidMount(){let e=this.updateScroll();e&&(e.addEventListener(`scroll`,this.updateScroll),this.resizeObserver=new ResizeObserver(this.updateScroll),this.resizeObserver.observe(e))}componentWillUnmount(){var e,t;(e=this.resizeObserver)==null||e.disconnect(),(t=this.scrollerRef.current)==null||t.removeEventListener(`scroll`,this.updateScroll)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,{canScrollLeft:n,canScrollRight:r}=this,i=this.componentProps,{as:a,className:o=``,children:d,rootRef:f}=i,p=(0,l._)(i,[`as`,`className`,`children`,`rootRef`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},p),{ref:f,className:`position-relative overflow-y-hidden ${o}`,children:[n&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 start-0 z-1 border-0 px-2 nZcgHq_scrollButtonLeft`,"aria-label":`Scroll left`,onClick:this.scrollBackward,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`caret-left-fill`})}),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.scrollerRef,className:`overflow-x-auto nZcgHq_scrollerInner`,children:d}),r&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 end-0 z-1 border-0 px-2 nZcgHq_scrollButtonRight`,"aria-label":`Scroll right`,onClick:this.scrollForward,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`caret-right-fill`})})]}))}constructor(...e){super(...e),(0,a._)(this,`scrollerRef`,(ns(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,is,{writable:!0,value:Qo(this,0)}),(0,r._)(this,as,{writable:!0,value:$o(this,0)}),(0,r._)(this,os,{writable:!0,value:es(this,0)}),(0,a._)(this,`updateScroll`,ts(this,()=>{let e=this.scrollerRef.current;return e&&(this.scrollLeft=e.scrollLeft,this.scrollWidth=e.scrollWidth,this.clientWidth=e.clientWidth),e})),(0,a._)(this,`resizeObserver`,void 0),(0,a._)(this,`scrollBy`,e=>{let t=this.scrollerRef.current;t==null||t.scrollBy({left:e*t.clientWidth*.8,behavior:`smooth`})}),(0,a._)(this,`scrollBackward`,()=>this.scrollBy(-1)),(0,a._)(this,`scrollForward`,()=>this.scrollBy(1))}};({e:[Qo,$o,es,ts,ns],c:[rs,Xo]}=(0,t._)(ss,[[f.observable,1,`scrollLeft`],[f.observable,1,`scrollWidth`],[f.observable,1,`clientWidth`],[f.computed,3,`canScrollLeft`],[f.computed,3,`canScrollRight`],[f.action,0,`updateScroll`]],[p.observer],Zo)),Xo();const cs=I(e=>{let{as:t,className:n=``,navClassName:r,children:i,ref:a,variant:o,vertical:f,fill:p,justified:m,cardHeader:h,navbar:g}=e,_=(0,l._)(e,[`as`,`className`,`navClassName`,`children`,`ref`,`variant`,`vertical`,`fill`,`justified`,`cardHeader`,`navbar`]);return/*#__PURE__*/ (0,u.jsx)(rs,(0,c._)((0,s._)({as:t},t?_:{}),{rootRef:t?a:void 0,className:n,children:/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({},t?{}:_),{ref:t?void 0:a,className:(0,d.default)(`flex-nowrap`,r),variant:o,vertical:f,fill:p,justified:m,cardHeader:h,navbar:g,children:i}))}))});cs.displayName=`ScrollNav`;let ls;var us,ds,fs,ps,ms,hs,gs,_s,vs;function ys(e,t,n){return(0,N._)(function*(){let r=yield(0,P.default)(e,{useCORS:!0});return new Promise((e,i)=>r.toBlob(t=>t?e(URL.createObjectURL(t)):i(),t,n))})()}let bs;new(ls=(us=/*#__PURE__*/ new WeakMap,ds=/*#__PURE__*/ new WeakMap,fs=class extends (hs=m.Component){get loading(){return(0,n._)(this,us)}set loading(e){(0,i._)(this,us,e)}get imageURI(){return(0,n._)(this,ds)}set imageURI(e){(0,i._)(this,ds,e)}componentDidMount(){var e,t;(e=(t=globalThis).addEventListener)==null||e.call(t,`resize`,this.generateImage)}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`resize`,this.generateImage)}render(){let e=this.props,{className:t=``,children:n}=e,r=(0,l._)(e,[`className`,`children`]),{loading:i,imageURI:a}=this;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[i&&/*#__PURE__*/ (0,u.jsx)(mo,{}),/*#__PURE__*/ (0,u.jsxs)(`div`,(0,c._)((0,s._)({},r),{ref:this.root,className:`position-relative ${t}`,onMouseEnter:a?void 0:this.generateImage,onTouchStart:a?void 0:this.generateImage,children:[n,a&&/*#__PURE__*/ (0,u.jsx)(J,{className:`position-absolute start-0 top-0 w-100 h-100`,src:a,alt:`Share Image`,fluid:!0,onClick:this.share})]}))]})}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`root`,(vs(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,us,{writable:!0,value:gs(this,!1)}),(0,r._)(this,ds,{writable:!0,value:_s(this,``)}),(0,a._)(this,`generateImage`,()=>(0,N._)(function*(){t.imageURI&&(URL.revokeObjectURL(t.imageURI),t.imageURI=``),t.loading=!0,t.imageURI=yield ys(t.root.current),t.loading=!1})()),(0,a._)(this,`share`,e=>(0,N._)(function*(){var n,r;e.stopPropagation();let i=yield(0,g.blobOf)(t.imageURI),a=new File([i],`${t.props.title}.png`,{type:i.type});yield(n=(r=navigator).share)==null?void 0:n.call(r,(0,s._)({files:[a]},t.props))})())}},{e:[gs,_s,vs],c:[bs,ms]}=(0,t._)(fs,[[f.observable,1,`loading`],[f.observable,1,`imageURI`]],[p.observer],hs),fs),ps=class extends o._{constructor(){super(bs),(0,a._)(this,`displayName`,`ShareBox`),ms()}},(0,a._)(ps,ls,void 0),ps);const xs=I(e=>{let{as:t,animation:n,loading:r,disabled:i,children:a}=e,o=(0,l._)(e,[`as`,`animation`,`loading`,`disabled`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(R,(0,c._)((0,s._)({as:t},o),{disabled:r||i,children:[r&&/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(q,{className:a?`me-2`:``,size:`sm`,animation:n,role:`status`,"aria-hidden":`true`}),!a&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`visually-hidden`,children:`Loading...`})]}),a]}))});xs.displayName=`SpinnerButton`;const Ss=I(e=>{let{as:t=`tr`,animation:n=`border`,theme:r=`primary`,size:i,colSpan:a}=e,o=(0,l._)(e,[`as`,`animation`,`theme`,`size`,`colSpan`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{children:/*#__PURE__*/ (0,u.jsx)(`td`,{className:`text-center p-4`,colSpan:a,children:/*#__PURE__*/ (0,u.jsx)(q,{animation:n,theme:r,size:i,role:`status`,"aria-label":`Loading`})})}))});Ss.displayName=`TableSpinner`;let Cs;var ws,Ts,Es,Ds,Os,ks,As,js,Ms;let Ns;new(Cs=(ws=/*#__PURE__*/ new WeakMap,Ts=/*#__PURE__*/ new WeakMap,Es=class extends (ks=m.Component){get expanded(){return(0,n._)(this,ws)}set expanded(e){(0,i._)(this,ws,e)}get overflowed(){return(0,n._)(this,Ts)}set overflowed(e){(0,i._)(this,Ts,e)}componentDidMount(){this.checkOverflow(),window.addEventListener(`resize`,this.checkOverflow)}componentDidUpdate({rows:e,children:t}){this.expanded||t===this.props.children&&e===this.props.rows||this.checkOverflow()}componentWillUnmount(){window.removeEventListener(`resize`,this.checkOverflow)}render(){let{children:e,rows:t=3,expandText:n=`⏬`,collapseText:r}=this.props,{expanded:i,overflowed:a}=this,o={overflow:`hidden`,display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:t};return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.contentRef,style:i?void 0:o,children:e}),(a||i)&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`bg-transparent border-0 p-0`,"aria-expanded":i,onClick:this.toggle,children:i?r:n})]})}constructor(...e){super(...e),(0,r._)(this,ws,{writable:!0,value:(Ms(this),As(this,!1))}),(0,r._)(this,Ts,{writable:!0,value:js(this,!1)}),(0,a._)(this,`contentRef`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`checkOverflow`,(0,f.action)(()=>{let{current:e}=this.contentRef;e&&(this.overflowed=e.scrollHeight>e.clientHeight)})),(0,a._)(this,`toggle`,(0,f.action)(()=>{this.expanded=!this.expanded,this.expanded||requestAnimationFrame(this.checkOverflow)}))}},{e:[As,js,Ms],c:[Ns,Os]}=(0,t._)(Es,[[f.observable,1,`expanded`],[f.observable,1,`overflowed`]],[p.observer],ks),Es),Ds=class extends o._{constructor(){super(Ns),(0,a._)(this,`displayName`,`TextTruncateContent`),Os()}},(0,a._)(Ds,Cs,void 0),Ds);const Ps=I(e=>{let{as:t=`div`,rows:n=3,expandText:r=`⏬`,collapseText:i=`⏫`,children:a}=e,o=(0,l._)(e,[`as`,`rows`,`expandText`,`collapseText`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{children:/*#__PURE__*/ (0,u.jsx)(Ns,{rows:n,expandText:r,collapseText:i,children:a})}))});Ps.displayName=`TextTruncate`;const Q=I(e=>{let{as:t=`time`,dateTime:n,format:r}=e,i=(0,l._)(e,[`as`,`dateTime`,`format`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({dateTime:new Date(n).toJSON()},i),{children:(0,g.formatDate)(n,r)}))});Q.displayName=`Time`;const Fs={ms:`millisecond(s)`,s:`second(s)`,m:`minute(s)`,H:`hour(s)`,D:`day(s)`,W:`week(s)`,M:`month(s)`,Y:`year(s)`},Is=I(e=>{let{as:t=`time`,date:n,unitWords:r=Fs,beforeWord:i=` before`,afterWord:a=` after`}=e,o=(0,l._)(e,[`as`,`date`,`unitWords`,`beforeWord`,`afterWord`]);n=new Date(n);let{distance:d,unit:f}=(0,g.diffTime)(n);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},o),{dateTime:n.toJSON(),title:n.toLocaleString(),children:[Math.abs(d),` `,r[f],d<0?i:a]}))});Is.displayName=`TimeDistance`;const Ls=I(e=>{let{as:t=`ol`,className:n,events:r,timeFormat:i}=e,a=(0,l._)(e,[`as`,`className`,`events`,`timeFormat`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`list-unstyled M_u5hG_timeline ${n}`},a),{children:r.map(({title:e,summary:t,time:n,link:r,people:a})=>/*#__PURE__*/ (0,u.jsx)(`li`,{className:`position-relative M_u5hG_timelineItem M_u5hG_right`,children:/*#__PURE__*/ (0,u.jsx)(Le,{children:/*#__PURE__*/ (0,u.jsxs)(Ue,{className:`p-4 d-flex flex-column gap-3 align-items-center`,children:[/*#__PURE__*/ (0,u.jsx)(Ge,{className:`h5 m-0`,children:/*#__PURE__*/ (0,u.jsx)(`a`,{className:`text-decoration-none stretched-link`,href:r,children:e})}),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`small fg-3 d-flex gap-2`,children:[`⏲️`,/*#__PURE__*/ (0,u.jsx)(Q,{dateTime:n[0],format:i}),n[1]&&`~`,n[1]&&/*#__PURE__*/ (0,u.jsx)(Q,{dateTime:n[1],format:i})]}),/*#__PURE__*/ (0,u.jsx)(`ul`,{className:`list-unstyled m-0 d-flex gap-2 flex-wrap justify-content-around`,children:a==null?void 0:a.map(e=>/*#__PURE__*/ (0,u.jsx)(`li`,{children:/*#__PURE__*/ (0,u.jsx)(Lo,(0,s._)({},e))},e.name))}),/*#__PURE__*/ (0,u.jsx)(Ke,{className:`m-0`,children:t})]})})},e))}))});Ls.displayName=`Timeline`;let Rs;var zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs;let Js;new(Rs=(zs=/*#__PURE__*/ new WeakMap,Bs=/*#__PURE__*/ new WeakMap,Vs=class extends (Ws=m.Component){get componentProps(){return this.props}get echoed(){return(0,n._)(this,zs)}set echoed(e){(0,i._)(this,zs,e)}get started(){return(0,n._)(this,Bs)}set started(e){(0,i._)(this,Bs,e)}componentDidMount(){this.start()}componentWillUnmount(){var e;(e=this.visibilityObserver)==null||e.disconnect()}componentDidUpdate(){var e;this.forwardRootRef((e=this.root)==null?null:e)}render(){var e;let t=(e=this.componentProps.as)==null?`pre`:e,n=this.componentProps,{as:r,rootRef:i,className:a,text:o,intervals:f}=n,p=(0,l._)(n,[`as`,`rootRef`,`className`,`text`,`intervals`]),{started:m,echoed:h}=this;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{ref:this.init,className:(0,d.default)(`text-wrap`,a),children:m?h+(h===o?``:`_`):o}))}constructor(...e){var t;super(...e),t=this,(0,r._)(this,zs,{writable:!0,value:(qs(this),Gs(this,``))}),(0,r._)(this,Bs,{writable:!0,value:Ks(this,!1)}),(0,a._)(this,`visibilityObserver`,void 0),(0,a._)(this,`root`,void 0),(0,a._)(this,`forwardedRootRef`,void 0),(0,a._)(this,`releaseRootRef`,void 0),(0,a._)(this,`start`,(0,f.action)(()=>this.started=!0)),(0,a._)(this,`echo`,(0,f.action)(e=>this.echoed+=e)),(0,a._)(this,`forwardRootRef`,e=>{var t,n;let{rootRef:r}=this.componentProps;if((this.root!==e||this.forwardedRootRef!==r)&&((t=(n=this).releaseRootRef)==null||t.call(n),this.releaseRootRef=void 0,this.root=e,this.forwardedRootRef=r,e)){if(typeof r==`function`){let t=r(e);this.releaseRootRef=typeof t==`function`?t:()=>r(null)}else r&&(r.current=e,this.releaseRootRef=()=>r.current=null)}}),(0,a._)(this,`init`,e=>{var n;(n=this.visibilityObserver)==null||n.disconnect(),this.forwardRootRef(e),e&&(this.visibilityObserver=new IntersectionObserver(([{isIntersecting:e}],n)=>(0,N._)(function*(){if(!e)return;n.disconnect();let{text:r,intervals:i=150}=t.componentProps;for(let e of r)yield(0,g.sleep)(i/1e3),t.echo(e)})()),this.visibilityObserver.observe(e))})}},{e:[Gs,Ks,qs],c:[Js,Us]}=(0,t._)(Vs,[[f.observable,1,`echoed`],[f.observable,1,`started`]],[p.observer],Ws),Vs),Hs=class extends o._{constructor(){super(Js),(0,a._)(this,`displayName`,`TypeEchoContent`),Us()}},(0,a._)(Hs,Rs,void 0),Hs);const Ys=I(e=>{let{as:t,text:n,intervals:r,ref:i}=e,a=(0,l._)(e,[`as`,`text`,`intervals`,`ref`]);return/*#__PURE__*/ (0,u.jsx)(Js,(0,c._)((0,s._)({as:t},a),{rootRef:i,text:n,intervals:r}))});Ys.displayName=`TypeEcho`;const Xs=I(e=>{let{as:t=`div`,fluid:n,className:r}=e,i=(0,l._)(e,[`as`,`fluid`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(n===!0?`container-fluid`:n?`${n}:container`:`container`,r)}))});Xs.displayName=`Container`;const Zs=I(e=>{let{as:t=`div`,xs:n,sm:r,md:i,lg:a,xl:o,"2xl":f,className:p}=e,m=(0,l._)(e,[`as`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`className`]),h=[[`sm`,r],[`md`,i],[`lg`,a],[`xl`,o],[`2xl`,f]];return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`row`,n!==void 0&&`row-cols-${n}`,h.map(([e,t])=>t!==void 0&&`${e}:row-cols-${t}`),p)}))});Zs.displayName=`Row`;const $=I(e=>{let{as:t=`div`,xs:n,sm:r,md:i,lg:a,xl:o,"2xl":f,className:p}=e,m=(0,l._)(e,[`as`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`className`]),h=[[void 0,n],[`sm`,r],[`md`,i],[`lg`,a],[`xl`,o],[`2xl`,f]],g=h.some(([,e])=>typeof e==`object`?e.span!==void 0:e!==void 0),_=h.map(([e,t])=>{if(t===void 0)return[];let n=e?`${e}:`:``,{span:r,offset:i,order:a}=typeof t==`object`?t:{span:t};return[r!==void 0&&`${n}col${r===!0?``:`-${r}`}`,i!==void 0&&`${n}offset-${i}`,a!==void 0&&`${n}order-${a}`]});return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(!g&&`col`,_,p)}))});$.displayName=`Col`;const Qs=I(({as:e=`address`,email:t,website:n})=>/*#__PURE__*/ (0,u.jsxs)(e,{className:`mb-0 d-flex justify-content-around gap-2`,children:[t&&/*#__PURE__*/ (0,u.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:`mailto:`+t,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`envelope`})}),n&&/*#__PURE__*/ (0,u.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:n,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`globe2`})})]}));Qs.displayName=`UserAddress`;const $s=`UcKh3G_image`,ec=I(e=>{let{as:t,className:n=``,title:r,rank:i=[],linkOf:a}=e,o=(0,l._)(e,[`as`,`className`,`title`,`rank`,`linkOf`]);return/*#__PURE__*/ (0,u.jsx)(Xs,(0,c._)((0,s._)({as:t,className:n},o),{children:/*#__PURE__*/ (0,u.jsxs)(Zs,{className:`UcKh3G_rankBox`,children:[/*#__PURE__*/ (0,u.jsxs)($,{xs:12,lg:7,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`shadow rounded-3 UcKh3G_title`,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`UcKh3G_medal`,children:[/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`})]}),/*#__PURE__*/ (0,u.jsx)(`h3`,{"data-text":r,className:`position-relative m-auto mb-0 fw-bold text-center`,children:r})]}),/*#__PURE__*/ (0,u.jsx)(Zs,{as:`ul`,className:`mt-2 g-0 align-items-end text-center ps-0 pt-2 list-unstyled UcKh3G_topUsers`,children:i.slice(0,3).map(e=>/*#__PURE__*/ (0,u.jsxs)($,{as:`li`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`shadow-lg overflow-hidden rounded-circle m-auto ${$s}`,children:/*#__PURE__*/ (0,u.jsx)(J,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-relative overflow-hidden UcKh3G_topUser`,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-relative`,children:[/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-block overflow-hidden m-auto mb-1 rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`a`,{className:`d-block mb-0 stretched-link`,href:(a==null?void 0:a(e))||`#`,children:e.name}),/*#__PURE__*/ (0,u.jsx)(`strong`,{children:e.score})]}),/*#__PURE__*/ (0,u.jsx)(Qs,(0,s._)({},e))]})]},e.id))})]}),/*#__PURE__*/ (0,u.jsx)($,{xs:12,lg:5,children:/*#__PURE__*/ (0,u.jsx)(Fi,{className:`my-3 pt-2 UcKh3G_restUsers`,responsive:!0,children:/*#__PURE__*/ (0,u.jsx)(`tbody`,{children:i.slice(3,10).map((e,t,{length:n})=>/*#__PURE__*/ (0,u.jsxs)(`tr`,{className:`position-relative`,children:[/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:/*#__PURE__*/ (0,u.jsx)(H,{className:`fw-bold fst-italic`,children:(t+4+``).padStart((n+``).length,`0`)})}),/*#__PURE__*/ (0,u.jsxs)(`td`,{className:`position-relative text-truncate UcKh3G_name`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block overflow-hidden align-middle rounded-circle ${$s}`,children:/*#__PURE__*/ (0,u.jsx)(J,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),/*#__PURE__*/ (0,u.jsx)(`a`,{className:`ms-2 d-inline-block align-middle stretched-link`,style:{color:`rgb(248, ${(t+2)*15}, ${(t+2)*35})`},href:(a==null?void 0:a(e))||`#`,children:e.name})]}),/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:e.score}),/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:/*#__PURE__*/ (0,u.jsx)(Qs,(0,s._)({},e))})]},e.id))})})})]})}))});ec.displayName=`UserRankView`;const tc=I(e=>{let{as:t=`div`,className:n=``,children:r,duration:i}=e,a=(0,l._)(e,[`as`,`className`,`children`,`duration`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`overflow-hidden h-100 ${n}`},a),{children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block max-w-100 max-h-100 x8UL2q_scrollWrap`,style:{"--duration":i},children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block x8UL2q_scrollItem`,children:r})})}))});tc.displayName=`VerticalMarquee`;const nc=[`🐵`,`🐔`,`🐶`,`🐷`,`🐭`,`🐮`,`🐯`,`🐰`,`🐲`,`🐍`,`🐴`,`🐐`],rc=e=>{let t=e<0?e+1:e;return nc[(t%12+12)%12]},ic=I(e=>{let{as:t=`ol`,className:n=``,itemClassName:r=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,startYear:i,endYear:a=(/* @__PURE__ */ new Date()).getFullYear(),itemOf:o}=e,d=(0,l._)(e,[`as`,`className`,`itemClassName`,`startYear`,`endYear`,`itemOf`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`list-unstyled m-0 d-flex flex-wrap justify-content-center gap-3 ${n}`},d),{children:Array.from({length:a-i+1},(e,t)=>{let n=a-t;if(n===0)return null;let i=rc(n),{link:s=`#`,title:c}=(o==null?void 0:o(n,i))||{};return/*#__PURE__*/ (0,u.jsx)(`li`,{className:r,children:/*#__PURE__*/ (0,u.jsxs)(`a`,{className:`d-inline-block p-3 text-decoration-none text-center`,href:s,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`fs-3xl`,children:i}),c]})},n)})}))});ic.displayName=`ZodiacBar`;const ac=I(e=>{let{as:t=`label`,className:n,end:r,size:i,validation:a}=e,o=(0,l._)(e,[`as`,`className`,`end`,`size`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`form-control form-adorn`,r&&`form-adorn-end`,i&&`form-control-${i}`,a&&`is-${a}`,n)}))});ac.displayName=`FormAdornment`;const oc=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-adorn-text`,n)}))});oc.displayName=`FormAdornmentText`;const sc=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`form-adorn-icon`,n)}))});sc.displayName=`FormAdornmentIcon`;const cc=I(e=>{let{as:t=`input`,className:n,validation:r}=e,i=(0,l._)(e,[`as`,`className`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{"aria-invalid":r?r===`invalid`:i[`aria-invalid`],className:(0,d.default)(`form-ghost`,r&&`is-${r}`,n)}))});cc.displayName=`FormGhost`;var lc=class extends m.Component{componentDidMount(){this.setIndeterminate()}componentDidUpdate(){this.setIndeterminate()}render(){let e=this.props,{as:t=`input`,className:n,size:r,theme:i,validation:a,indeterminate:o,forwardedRef:f}=e,p=(0,l._)(e,[`as`,`className`,`size`,`theme`,`validation`,`indeterminate`,`forwardedRef`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{ref:this.setInputRef,type:`checkbox`,"aria-invalid":a?a===`invalid`:p[`aria-invalid`],"aria-checked":o?`mixed`:p[`aria-checked`],className:(0,d.default)(`check`,r&&`check-${r}`,i&&`theme-${i}`,a&&`is-${a}`,n)}))}constructor(...e){super(...e),(0,a._)(this,`input`,void 0),(0,a._)(this,`setIndeterminate`,()=>{this.input&&(this.input.indeterminate=this.props.indeterminate||!1)}),(0,a._)(this,`setInputRef`,e=>{this.input=e||void 0;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const uc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(lc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));uc.displayName=`Checkbox`;const dc=I(e=>{let{as:t=`span`,className:n,active:r,theme:i,type:a=`button`}=e,o=(0,l._)(e,[`as`,`className`,`active`,`theme`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`chip`,{active:r},i&&`theme-${i}`,n),type:t===`button`?a:void 0,"aria-pressed":t===`button`?r:void 0}))});dc.displayName=`Chip`;const fc=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`chip-icon`,n)}))});fc.displayName=`ChipIcon`;const pc=I(e=>{let{as:t=`img`,className:n,alt:r=``}=e,i=(0,l._)(e,[`as`,`className`,`alt`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{alt:r,className:(0,d.default)(`chip-img`,n)}))});pc.displayName=`ChipImage`;const mc=I(e=>{let{as:t=`button`,className:n,children:r,"aria-label":i=`Remove`}=e,a=(0,l._)(e,[`as`,`className`,`children`,`aria-label`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{type:`button`,"aria-label":i,className:(0,d.default)(`chip-dismiss`,n),children:r==null?/*#__PURE__*/ (0,u.jsx)(L,{name:`x-lg`}):r}))});mc.displayName=`ChipDismiss`;var hc=class extends m.Component{updatePlugin(){}componentDidMount(){this.initialize()}componentDidUpdate(e){this.configurationChanged(e)?(this.dispose(),this.initialize()):this.updatePlugin()}componentWillUnmount(){this.dispose()}dispose(){var e;this.revision++,(e=this.instance)==null||e.dispose(),this.instance=void 0}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`element`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`instance`,void 0),(0,a._)(this,`revision`,0),(0,a._)(this,`initialize`,()=>(0,N._)(function*(){let e=++t.revision,n=yield t.load();e===t.revision&&t.element.current&&(t.instance=n(t.element.current),t.updatePlugin())})())}},gc=class extends hc{render(){let e=this.props,{as:t=`div`,className:n,theme:r,separator:i,allowDuplicates:a,maxChips:o,createOnBlur:f,dismissible:p,placeholder:m,onValuesChange:h,forwardedRef:g,validation:_}=e,v=(0,l._)(e,[`as`,`className`,`theme`,`separator`,`allowDuplicates`,`maxChips`,`createOnBlur`,`dismissible`,`placeholder`,`onValuesChange`,`forwardedRef`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},v),{ref:this.setRef,className:(0,d.default)(`chip-input`,r&&`theme-${r}`,_&&`is-${_}`,n),"data-bs-chips":``,"data-bs-separator":i,"data-bs-allow-duplicates":a,"data-bs-max-chips":o,"data-bs-create-on-blur":f}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.separator!==this.props.separator||e.allowDuplicates!==this.props.allowDuplicates||e.maxChips!==this.props.maxChips||e.createOnBlur!==this.props.createOnBlur||e.dismissible!==this.props.dismissible||e.placeholder!==this.props.placeholder),(0,a._)(this,`load`,()=>(0,N._)(function*(){let[{default:e},{default:n}]=yield Promise.all([import(`bootstrap/js/src/chips.js`),import(`bootstrap/js/src/dom/event-handler.js`)]),{separator:r=`,`,allowDuplicates:i=!1,maxChips:a=null,createOnBlur:o=!0,dismissible:s=!0,placeholder:c=``}=t.props;return l=>{let d=e.getOrCreateInstance(l,{separator:r,allowDuplicates:i,maxChips:a,createOnBlur:o,dismissible:s,placeholder:c,dismissIcon:(0,F.renderToStaticMarkup)(/*#__PURE__*/ (0,u.jsx)(L,{name:`x-lg`}))});return l.addEventListener(`change.bs.chips`,t.handleValuesChange),{dispose:()=>{l.removeEventListener(`change.bs.chips`,t.handleValuesChange),n.off(l,`.bs.chips`),d.dispose()}}}})()),(0,a._)(this,`handleValuesChange`,e=>{var t,n;return(t=(n=this.props).onValuesChange)==null?void 0:t.call(n,e.values)}),(0,a._)(this,`setRef`,e=>{this.element.current=e;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const _c=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(gc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));_c.displayName=`ChipInput`;let vc;var yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc;const Fc=I(e=>{let{as:t=`button`,className:n,value:r,children:i,description:a,icon:o,checkedIcon:f,searchText:p}=e,m=(0,l._)(e,[`as`,`className`,`value`,`children`,`description`,`icon`,`checkedIcon`,`searchText`]);var h;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},m),{type:`button`,role:`option`,"aria-selected":(h=m[`aria-selected`])!=null&&h,className:(0,d.default)(`menu-item`,n),"data-bs-value":r,"data-search-text":p,"data-label":Lc(i),"data-option-hidden":m.hidden||void 0,children:[o&&/*#__PURE__*/ (0,u.jsx)(L,{name:o,className:`menu-item-icon`}),a?/*#__PURE__*/ (0,u.jsxs)(er,{children:[i,/*#__PURE__*/ (0,u.jsx)(tr,{children:a})]}):i,f&&/*#__PURE__*/ (0,u.jsx)(L,{name:`check-lg`,className:`menu-item-check`})]}))});Fc.displayName=`ComboboxOption`;const Ic=I(e=>{let{as:t=`div`,label:n,children:r}=e,i=(0,l._)(e,[`as`,`label`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},i),{role:`group`,"aria-label":typeof n==`string`?n:void 0,children:[/*#__PURE__*/ (0,u.jsx)(Qn,{children:n}),r]}))});Ic.displayName=`ComboboxGroup`;const Lc=e=>m.Children.toArray(e).map(e=>/*#__PURE__*/ (0,m.isValidElement)(e)?Lc(e.props.children):String(e)).join(` `),Rc=e=>m.Children.toArray(e).flatMap(e=>/*#__PURE__*/ (0,m.isValidElement)(e)&&e.type===Fc?[e]:/*#__PURE__*/ (0,m.isValidElement)(e)?Rc(e.props.children):[]);let zc;new(vc=(yc=/*#__PURE__*/ new WeakMap,bc=/*#__PURE__*/ new WeakMap,xc=/*#__PURE__*/ new WeakMap,Sc=/*#__PURE__*/ new WeakMap,Cc=class extends (Ec=m.Component){get componentProps(){return this.props}get query(){return(0,n._)(this,yc)}set query(e){(0,i._)(this,yc,e)}get current(){return(0,n._)(this,bc)}set current(e){(0,i._)(this,bc,e)}get visibleOptionCount(){return(0,n._)(this,xc)}set visibleOptionCount(e){(0,i._)(this,xc,e)}get selectedLabel(){return(0,n._)(this,Sc)}set selectedLabel(e){(0,i._)(this,Sc,e)}get values(){var e;let t=(e=this.componentProps.value)==null?this.current:e;return Array.isArray(t)?t:t?[t]:[]}componentDidMount(){var e;this.updateAccessibility(),this.optionObserver=new MutationObserver(this.updateAccessibility);let t=(e=this.menu.current)==null?void 0:e.panel.current;t&&this.optionObserver.observe(t,{childList:!0,subtree:!0,characterData:!0})}componentDidUpdate(){this.updateAccessibility()}componentWillUnmount(){var e;(e=this.optionObserver)==null||e.disconnect()}render(){var e,t,n,r;let i=(e=this.componentProps.as)==null?`div`:e,a=this.componentProps,{as:o,className:f,id:p,name:h,value:g,defaultValue:_,placeholder:v=`Select an item…`,disabled:y,multiple:b,onChange:x,onClick:S,menuClassName:C,children:w,controlSize:T,search:E,searchNormalize:D,searchPlaceholder:O=`Search…`,noResultsText:k=`No results found`,validation:A}=a,j=(0,l._)(a,[`as`,`className`,`id`,`name`,`value`,`defaultValue`,`placeholder`,`disabled`,`multiple`,`onChange`,`onClick`,`menuClassName`,`children`,`controlSize`,`search`,`searchNormalize`,`searchPlaceholder`,`noResultsText`,`validation`]),M=Rc(w).filter(e=>this.values.includes(e.props.value)),N=M.length>0||!!this.selectedLabel,P=b&&M.length>1?`${M.length} selected`:(t=(r=M[0])==null?void 0:r.props.children)==null?this.selectedLabel:t,F=this.visibleOptionCount===0;return/*#__PURE__*/ (0,u.jsxs)(i,(0,c._)((0,s._)({},j),{className:(0,d.default)(`combobox`,f),children:[/*#__PURE__*/ (0,u.jsxs)(G,{ref:this.menu,className:`w-100`,id:p?`${p}-combobox`:void 0,label:/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`span`,{className:(0,d.default)(`combobox-value`,!N&&`combobox-placeholder`),children:N?P:v}),/*#__PURE__*/ (0,u.jsx)(L,{name:`chevron-down`,className:`combobox-caret`})]}),toggleProps:{id:p,className:(0,d.default)(`form-control combobox-toggle`,T&&`form-control-${T}`,A&&`is-${A}`),variant:!1,disabled:y,"aria-haspopup":`listbox`,"aria-label":(n=this.componentProps[`aria-label`])==null?v:n,"aria-labelledby":this.componentProps[`aria-labelledby`],"aria-describedby":this.componentProps[`aria-describedby`],"aria-invalid":A?A===`invalid`:this.componentProps[`aria-invalid`]},autoClose:!b,menuClassName:(0,d.default)(C,`combobox-menu`),onClick:this.handleClick,children:[E&&/*#__PURE__*/ (0,u.jsx)(`div`,{className:`combobox-search`,children:/*#__PURE__*/ (0,u.jsx)(`input`,{type:`search`,className:`form-control combobox-search-input`,"aria-label":O,placeholder:O,autoComplete:`off`,value:this.query,onChange:this.handleSearch})}),m.Children.map(w,this.renderChild),E&&F&&/*#__PURE__*/ (0,u.jsx)(`div`,{className:`combobox-empty`,role:`status`,children:k})]}),this.values.length||b?this.values.map(this.renderHiddenInput):this.renderHiddenInput(``)]}))}constructor(...e){var t;super(...e),(0,r._)(this,yc,{writable:!0,value:(Pc(this),Dc(this,``))}),(0,r._)(this,bc,{writable:!0,value:Oc(this,(t=this.componentProps.defaultValue)==null?this.componentProps.multiple?[]:``:t)}),(0,r._)(this,xc,{writable:!0,value:kc(this,0)}),(0,r._)(this,Sc,{writable:!0,value:Ac(this,``)}),(0,a._)(this,`menu`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`optionObserver`,void 0),(0,a._)(this,`updateAccessibility`,jc(this,()=>{var e,t,n,r,i,a,o,s;let c=(a=this.menu.current)==null?void 0:a.panel.current,l=[...(e=c==null?void 0:c.querySelectorAll(`[data-bs-value]`))==null?[]:e],u=[],d=0;for(let e of l){var f,p,m,h,g;let t=(f=e.dataset.bsValue)==null?``:f,n=(p=(m=e.dataset.searchText)==null?e.textContent:m)==null?``:p,r=e.dataset.optionHidden!==`true`&&this.normalize(n).includes(this.normalize(this.query)),i=this.values.includes(t);e.setAttribute(`role`,`option`),e.setAttribute(`aria-selected`,String(i)),e.classList.toggle(`selected`,i),e.hidden=!r,e.style.display=r?``:`none`,r&&d++,i&&u.push((h=(g=e.dataset.label)==null?e.textContent:g)==null?``:h)}for(let e of(t=c==null?void 0:c.querySelectorAll(`[role="group"]`))==null?[]:t){let t=[...e.querySelectorAll(`[data-bs-value]`)].some(({hidden:e})=>!e);e.hidden=!t,e.style.display=t?``:`none`}this.visibleOptionCount=d,this.selectedLabel=this.componentProps.multiple&&u.length>1?`${u.length} selected`:(n=u[0])==null?``:n,c==null||c.setAttribute(`role`,`listbox`),c==null||c.setAttribute(`aria-multiselectable`,String(!!this.componentProps.multiple)),c==null||c.setAttribute(`aria-label`,(r=(i=this.componentProps[`aria-label`])==null?this.componentProps.placeholder:i)==null?`Options`:r),(s=this.menu.current)==null||(o=s.trigger.current)==null||o.setAttribute(`aria-haspopup`,`listbox`)})),(0,a._)(this,`setCurrent`,Mc(this,e=>this.current=e)),(0,a._)(this,`handleSearch`,Nc(this,({currentTarget:{value:e}})=>this.query=e)),(0,a._)(this,`handleClick`,e=>{var t,n,r,i,a;(n=(r=this.componentProps).onClick)==null||n.call(r,e);let{target:o,defaultPrevented:s}=e;if(s||this.componentProps.disabled||!(o instanceof Element))return;let c=o.closest(`[data-bs-value]`);if(!c||c.disabled||c.getAttribute(`aria-disabled`)===`true`)return;let l=(t=c.dataset.bsValue)==null?``:t,u=this.componentProps.multiple?this.values.includes(l)?this.values.filter(e=>e!==l):[...this.values,l]:l;(i=(a=this.componentProps).onChange)==null||i.call(a,u),this.componentProps.value===void 0&&this.setCurrent(u)}),(0,a._)(this,`normalize`,e=>{let t=e.toLocaleLowerCase();return this.componentProps.searchNormalize?t.normalize(`NFD`).replace(RegExp(`[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1-\\u05C2\\u05C4-\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7-\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u07FD\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u0897-\\u089F\\u08CA-\\u08E1\\u08E3-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962-\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7-\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2-\\u09E3\\u09FE\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47-\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70-\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2-\\u0AE3\\u0AFA-\\u0AFF\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47-\\u0B48\\u0B4B-\\u0B4D\\u0B55-\\u0B57\\u0B62-\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C04\\u0C3C\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55-\\u0C56\\u0C62-\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5-\\u0CD6\\u0CE2-\\u0CE3\\u0CF3\\u0D00-\\u0D03\\u0D3B-\\u0D3C\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62-\\u0D63\\u0D81-\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2-\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EBC\\u0EC8-\\u0ECE\\u0F18-\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1715\\u1732-\\u1734\\u1752-\\u1753\\u1772-\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u180F\\u1885-\\u1886\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ADD\\u1AE0-\\u1AEB\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF4\\u1CF7-\\u1CF9\\u1DC0-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099-\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69E-\\uA69F\\uA6F0-\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA82C\\uA880-\\uA881\\uA8B4-\\uA8C5\\uA8E0-\\uA8F1\\uA8FF\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C-\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7-\\uAAB8\\uAABE-\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5-\\uAAF6\\uABE3-\\uABEA\\uABEC-\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\u{101FD}\\u{102E0}\\u{10376}-\\u{1037A}\\u{10A01}-\\u{10A03}\\u{10A05}-\\u{10A06}\\u{10A0C}-\\u{10A0F}\\u{10A38}-\\u{10A3A}\\u{10A3F}\\u{10AE5}-\\u{10AE6}\\u{10D24}-\\u{10D27}\\u{10D69}-\\u{10D6D}\\u{10EAB}-\\u{10EAC}\\u{10EFA}-\\u{10EFF}\\u{10F46}-\\u{10F50}\\u{10F82}-\\u{10F85}\\u{11000}-\\u{11002}\\u{11038}-\\u{11046}\\u{11070}\\u{11073}-\\u{11074}\\u{1107F}-\\u{11082}\\u{110B0}-\\u{110BA}\\u{110C2}\\u{11100}-\\u{11102}\\u{11127}-\\u{11134}\\u{11145}-\\u{11146}\\u{11173}\\u{11180}-\\u{11182}\\u{111B3}-\\u{111C0}\\u{111C9}-\\u{111CC}\\u{111CE}-\\u{111CF}\\u{1122C}-\\u{11237}\\u{1123E}\\u{11241}\\u{112DF}-\\u{112EA}\\u{11300}-\\u{11303}\\u{1133B}-\\u{1133C}\\u{1133E}-\\u{11344}\\u{11347}-\\u{11348}\\u{1134B}-\\u{1134D}\\u{11357}\\u{11362}-\\u{11363}\\u{11366}-\\u{1136C}\\u{11370}-\\u{11374}\\u{113B8}-\\u{113C0}\\u{113C2}\\u{113C5}\\u{113C7}-\\u{113CA}\\u{113CC}-\\u{113D0}\\u{113D2}\\u{113E1}-\\u{113E2}\\u{11435}-\\u{11446}\\u{1145E}\\u{114B0}-\\u{114C3}\\u{115AF}-\\u{115B5}\\u{115B8}-\\u{115C0}\\u{115DC}-\\u{115DD}\\u{11630}-\\u{11640}\\u{116AB}-\\u{116B7}\\u{1171D}-\\u{1172B}\\u{1182C}-\\u{1183A}\\u{11930}-\\u{11935}\\u{11937}-\\u{11938}\\u{1193B}-\\u{1193E}\\u{11940}\\u{11942}-\\u{11943}\\u{119D1}-\\u{119D7}\\u{119DA}-\\u{119E0}\\u{119E4}\\u{11A01}-\\u{11A0A}\\u{11A33}-\\u{11A39}\\u{11A3B}-\\u{11A3E}\\u{11A47}\\u{11A51}-\\u{11A5B}\\u{11A8A}-\\u{11A99}\\u{11B60}-\\u{11B67}\\u{11C2F}-\\u{11C36}\\u{11C38}-\\u{11C3F}\\u{11C92}-\\u{11CA7}\\u{11CA9}-\\u{11CB6}\\u{11D31}-\\u{11D36}\\u{11D3A}\\u{11D3C}-\\u{11D3D}\\u{11D3F}-\\u{11D45}\\u{11D47}\\u{11D8A}-\\u{11D8E}\\u{11D90}-\\u{11D91}\\u{11D93}-\\u{11D97}\\u{11EF3}-\\u{11EF6}\\u{11F00}-\\u{11F01}\\u{11F03}\\u{11F34}-\\u{11F3A}\\u{11F3E}-\\u{11F42}\\u{11F5A}\\u{13440}\\u{13447}-\\u{13455}\\u{1611E}-\\u{1612F}\\u{16AF0}-\\u{16AF4}\\u{16B30}-\\u{16B36}\\u{16F4F}\\u{16F51}-\\u{16F87}\\u{16F8F}-\\u{16F92}\\u{16FE4}\\u{16FF0}-\\u{16FF1}\\u{1BC9D}-\\u{1BC9E}\\u{1CF00}-\\u{1CF2D}\\u{1CF30}-\\u{1CF46}\\u{1D165}-\\u{1D169}\\u{1D16D}-\\u{1D172}\\u{1D17B}-\\u{1D182}\\u{1D185}-\\u{1D18B}\\u{1D1AA}-\\u{1D1AD}\\u{1D242}-\\u{1D244}\\u{1DA00}-\\u{1DA36}\\u{1DA3B}-\\u{1DA6C}\\u{1DA75}\\u{1DA84}\\u{1DA9B}-\\u{1DA9F}\\u{1DAA1}-\\u{1DAAF}\\u{1E000}-\\u{1E006}\\u{1E008}-\\u{1E018}\\u{1E01B}-\\u{1E021}\\u{1E023}-\\u{1E024}\\u{1E026}-\\u{1E02A}\\u{1E08F}\\u{1E130}-\\u{1E136}\\u{1E2AE}\\u{1E2EC}-\\u{1E2EF}\\u{1E4EC}-\\u{1E4EF}\\u{1E5EE}-\\u{1E5EF}\\u{1E6E3}\\u{1E6E6}\\u{1E6EE}-\\u{1E6EF}\\u{1E6F5}\\u{1E8D0}-\\u{1E8D6}\\u{1E944}-\\u{1E94A}\\u{E0100}-\\u{E01EF}]`,`gu`),``):t}),(0,a._)(this,`matches`,e=>{var t;return this.normalize((t=e.props.searchText)==null?Lc(e.props.children):t).includes(this.normalize(this.query))}),(0,a._)(this,`renderChild`,e=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e))return e;if(e.type===Fc){let t=e,n=this.values.includes(t.props.value);return/*#__PURE__*/ (0,m.cloneElement)(t,{hidden:t.props.hidden||!this.matches(t),className:(0,d.default)(t.props.className,n&&`selected`),"aria-selected":n,role:`option`})}let t=Rc(e.props.children);return/*#__PURE__*/ (0,m.cloneElement)(e,(0,c._)((0,s._)({},e.type===Ic&&{hidden:!t.some(this.matches)}),{children:m.Children.map(e.props.children,this.renderChild)}))}),(0,a._)(this,`renderHiddenInput`,e=>/*#__PURE__*/ (0,u.jsx)(`input`,{type:`hidden`,name:this.componentProps.name,value:e,disabled:this.componentProps.disabled},e))}},{e:[Dc,Oc,kc,Ac,jc,Mc,Nc,Pc],c:[zc,Tc]}=(0,t._)(Cc,[[f.observable,1,`query`],[f.observable,1,`current`],[f.observable,1,`visibleOptionCount`],[f.observable,1,`selectedLabel`],[f.action,0,`updateAccessibility`],[f.action,0,`setCurrent`],[f.action,0,`handleSearch`]],[p.observer],Ec),Cc),wc=class extends o._{constructor(){super(zc),(0,a._)(this,`displayName`,`Combobox`),Tc()}},(0,a._)(wc,vc,void 0),wc);const Bc={sm:`form-control-sm`,lg:`form-control-lg`},Vc=I(e=>{let{as:t=`input`,className:n,plaintext:r,ghost:i,caret:a,color:o,controlSize:f,validation:p}=e,m=(0,l._)(e,[`as`,`className`,`plaintext`,`ghost`,`caret`,`color`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{"aria-invalid":p?p===`invalid`:m[`aria-invalid`],className:(0,d.default)(i?`form-ghost`:r?`form-control-plaintext`:`form-control`,!i&&a&&`form-control-caret`,!i&&!r&&o&&`form-control-color`,!i&&!r&&f&&Bc[f],p&&`is-${p}`,n)}))});Vc.displayName=`FormControl`;const Hc=I(e=>{let{as:t=`textarea`,className:n,controlSize:r,validation:i}=e,a=(0,l._)(e,[`as`,`className`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{"aria-invalid":i?i===`invalid`:a[`aria-invalid`],className:(0,d.default)(`form-control`,r&&Bc[r],i&&`is-${i}`,n)}))});Hc.displayName=`FormTextArea`;const Uc=I(e=>{let{as:t=`select`,className:n,controlSize:r,validation:i}=e,a=(0,l._)(e,[`as`,`className`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{"aria-invalid":i?i===`invalid`:a[`aria-invalid`],className:(0,d.default)(`form-control`,r&&Bc[r],i&&`is-${i}`,n)}))});Uc.displayName=`FormSelect`;var Wc=class extends hc{render(){let e=this.props,{as:t,className:n,enhanced:r,inline:i,selectionMode:a,min:o,max:f,options:p,displayMonthsCount:m,selectedDates:h,firstWeekday:g,placement:_,datepickerTheme:v,onDatesChange:y,ghost:b,controlSize:x,validation:S,kind:C=`input`,hostProps:w,leadingIcon:T,forwardedRef:E}=e,D=(0,l._)(e,[`as`,`className`,`enhanced`,`inline`,`selectionMode`,`min`,`max`,`options`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`ghost`,`controlSize`,`validation`,`kind`,`hostProps`,`leadingIcon`,`forwardedRef`]),O=t==null?C===`div`?`div`:`input`:t,k={"data-bs-toggle":r||C!==`input`?`datepicker`:void 0,"data-bs-inline":i||C===`div`||void 0,"data-bs-selection-mode":a,"data-bs-display-months-count":m,"data-bs-selected-dates":h?JSON.stringify(h):void 0,"data-bs-first-weekday":g,"data-bs-placement":_,"data-bs-datepicker-theme":v,"data-bs-date-min":r?o:void 0,"data-bs-date-max":r?f:void 0};if(C===`button`){let{children:e}=w,n=(0,l._)(w,[`children`]);return/*#__PURE__*/ (0,u.jsxs)(R,(0,c._)((0,s._)({as:t},n,k),{ref:this.setRef,children:[T&&/*#__PURE__*/ (0,u.jsx)(L,{name:T}),/*#__PURE__*/ (0,u.jsx)(`span`,{"data-bs-datepicker-display":``,children:e})]}))}return C===`div`?/*#__PURE__*/ (0,u.jsx)(O,(0,c._)((0,s._)({},w,k),{ref:this.setRef})):/*#__PURE__*/ (0,u.jsx)(O,(0,c._)((0,s._)({},D,k),{ref:this.setRef,className:(0,d.default)(b?`form-ghost`:`form-control`,x&&`form-control-${x}`,S&&`is-${S}`,n),"aria-invalid":S?S===`invalid`:D[`aria-invalid`],type:r?`text`:`date`,min:o,max:f}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.options!==this.props.options||e.enhanced!==this.props.enhanced||e.inline!==this.props.inline||e.selectionMode!==this.props.selectionMode||e.displayMonthsCount!==this.props.displayMonthsCount||e.firstWeekday!==this.props.firstWeekday||e.placement!==this.props.placement||e.datepickerTheme!==this.props.datepickerTheme||e.min!==this.props.min||e.max!==this.props.max||JSON.stringify(e.selectedDates)!==JSON.stringify(this.props.selectedDates)),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{enhanced:e,kind:n=`input`}=t.props;if(!e&&n===`input`)return()=>({dispose:()=>void 0});let{ReactDatepicker:r}=yield Promise.resolve().then(()=>require("./DatePickerPlugin-CpGuQRsi.js")),{options:i,inline:a,selectionMode:o,min:c,max:l,displayMonthsCount:u,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m}=t.props,h=(0,s._)({},i,a!==void 0&&{inline:a},o!==void 0&&{selectionMode:o},c!==void 0&&{dateMin:String(c)},l!==void 0&&{dateMax:String(l)},u!==void 0&&{displayMonthsCount:u},d!==void 0&&{selectedDates:d},f!==void 0&&{firstWeekday:f},p!==void 0&&{placement:p},m!==void 0&&{datepickerTheme:m});return e=>{let n=[...e.childNodes],i=r.getOrCreateInstance(e,h);return e.addEventListener(`change.bs.datepicker`,t.handleDatesChange),{dispose:()=>{e.removeEventListener(`change.bs.datepicker`,t.handleDatesChange),i.dispose(),t.props.kind===`div`&&e.replaceChildren(...n)}}}})()),(0,a._)(this,`handleDatesChange`,e=>{var t,n;return(t=(n=this.props).onDatesChange)==null?void 0:t.call(n,e.dates)}),(0,a._)(this,`setRef`,e=>{this.element.current=e;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const Gc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(Wc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));Gc.displayName=`DatePicker`;const Kc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>{let[n,...r]=[e,t],{as:i,options:a,inline:o,selectionMode:s,displayMonthsCount:c,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m,onDatesChange:h,leadingIcon:g}=n,_=(0,l._)(n,[`as`,`options`,`inline`,`selectionMode`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`leadingIcon`]),[v]=r;return/*#__PURE__*/ (0,u.jsx)(Wc,{as:i,kind:`button`,leadingIcon:g,hostProps:_,forwardedRef:v,options:a,inline:o,selectionMode:s,displayMonthsCount:c,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m,onDatesChange:h})}));Kc.displayName=`DatePickerButton`;const qc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>{let[n,...r]=[e,t],{as:i,options:a,selectionMode:o,displayMonthsCount:s,selectedDates:c,firstWeekday:d,placement:f,datepickerTheme:p,onDatesChange:m,inline:h=!0}=n,g=(0,l._)(n,[`as`,`options`,`selectionMode`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`inline`]),[_]=r;return/*#__PURE__*/ (0,u.jsx)(Wc,{as:i,kind:`div`,hostProps:g,forwardedRef:_,options:a,inline:h,selectionMode:o,displayMonthsCount:s,selectedDates:c,firstWeekday:d,placement:f,datepickerTheme:p,onDatesChange:m})}));qc.displayName=`DatePickerInline`;const Jc=I(e=>{let{as:t=`small`,className:n,block:r}=e,i=(0,l._)(e,[`as`,`className`,`block`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`form-text`,r&&`d-block`,n)}))});Jc.displayName=`FormText`;const Yc=I(e=>{let{as:t=`div`,className:n,type:r=`invalid`,tooltip:i}=e,a=(0,l._)(e,[`as`,`className`,`type`,`tooltip`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)({tooltip:i},i?`${r}-tooltip`:`${r}-feedback`,n)}))});Yc.displayName=`FormFeedback`;const Xc=I(e=>{let{as:t=`form`,className:n,validated:r}=e,i=(0,l._)(e,[`as`,`className`,`validated`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(r&&`was-validated`,n)}))});Xc.displayName=`Form`;const Zc=I(e=>{let{as:t=`div`,className:n,card:r}=e,i=(0,l._)(e,[`as`,`className`,`card`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`form-field`,r&&`form-field-card`,n)}))});Zc.displayName=`FormField`;const Qc=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-group`,n)}))});Qc.displayName=`FormGroup`;const $c=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-field-content`,n)}))});$c.displayName=`FormFieldContent`;const el=I(e=>{let{as:t=`label`,className:n,plain:r,column:i,controlSize:a}=e,o=(0,l._)(e,[`as`,`className`,`plain`,`column`,`controlSize`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(i?`col-form-label`:!r&&`form-label`,i&&a&&`col-form-label-${a}`,n)}))});el.displayName=`FormLabel`;const tl=I(e=>{let{as:t=`label`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`chip-input-label`,n)}))});tl.displayName=`ChipInputLabel`;const nl=I(e=>{let{as:t=`legend`,className:n,column:r,controlSize:i}=e,a=(0,l._)(e,[`as`,`className`,`column`,`controlSize`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(r&&`col-form-label`,r&&i&&`col-form-label-${i}`,n)}))});nl.displayName=`FormLegend`;const rl=e=>/*#__PURE__*/ (0,m.isValidElement)(e)&&(e.type===`label`||e.type===el),il=I(e=>{let{as:t=`div`,className:n,always:r,children:i}=e,a=(0,l._)(e,[`as`,`className`,`always`,`children`]),o=m.Children.toArray(i);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`form-floating`,r&&`form-floating-always`,n),children:[o.filter(rl),o.filter(e=>!rl(e))]}))});il.displayName=`FormFloatingLabel`;const al=I(e=>{let{as:t=`div`,className:n,size:r}=e,i=(0,l._)(e,[`as`,`className`,`size`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`input-group`,r&&`input-group-${r}`,n)}))});al.displayName=`InputGroup`;const ol=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]),i=t==null?typeof r.htmlFor==`string`?`label`:`span`:t;return/*#__PURE__*/ (0,u.jsx)(i,(0,c._)((0,s._)({},r),{className:(0,d.default)(`input-group-text`,n)}))});ol.displayName=`InputGroupText`;const sl=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`input-group-btn`,n)}))});sl.displayName=`InputGroupButton`;const cl=I(e=>{let{as:t,children:n}=e,r=(0,l._)(e,[`as`,`children`]),i=(0,c._)((0,s._)({},n.props,r),{className:(0,d.default)(`input-group-ignore`,n.props.className)});return t?/*#__PURE__*/ (0,m.createElement)(t,i):/*#__PURE__*/ (0,m.cloneElement)(n,i)});cl.displayName=`InputGroupIgnore`;var ll=class extends G{componentDidMount(){var e,t;this.root.current=(e=(t=this.trigger.current)==null?void 0:t.closest(`.input-group`))==null?null:e,super.componentDidMount()}render(){return/*#__PURE__*/ (0,u.jsx)(ul,(0,c._)((0,s._)({},this.props),{owner:this}))}constructor(...e){super(...e),(0,a._)(this,`handlePanelClick`,e=>{var t,n;(t=(n=this.props).onClick)==null||t.call(n,e),e.defaultPrevented||this.handleSelect(e)}),(0,a._)(this,`handleTriggerKeyDown`,this.handleKeyDown),(0,a._)(this,`handleBlur`,e=>{var t,n,r;(t=(n=this.props).onBlur)==null||t.call(n,e);let{autoClose:i=!0}=this.props;!e.defaultPrevented&&i!==!1&&i!==`inside`&&!((r=this.root.current)!=null&&r.contains(e.relatedTarget))&&this.setOpen(!1)})}};(0,a._)(ll,`displayName`,`InputGroupMenu`);const ul=(0,p.observer)(({owner:{open:e,trigger:t,panel:n,handleToggle:r,handleTriggerKeyDown:i,handleBlur:a,handlePanelClick:o,handleKeyDown:l},id:f,label:p,split:m,toggleProps:h,className:g,children:_,align:v=`end`,menuClassName:y})=>{var b;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({},h),{ref:t,className:(0,d.default)(`input-group-btn`,m&&`menu-toggle-split`,h==null?void 0:h.className,g),"aria-label":m?(b=h==null?void 0:h[`aria-label`])==null?`Toggle menu`:b:h==null?void 0:h[`aria-label`],"aria-expanded":e,"aria-controls":f?`${f}-menu`:void 0,onClick:r,onKeyDown:i,onBlur:a,children:p})),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:n,id:f?`${f}-menu`:void 0,className:(0,d.default)(`menu top-100`,v===`end`?`end-0`:`start-0`,e&&`show`,y),hidden:!e,onClick:o,onKeyDown:l,onBlur:a,children:_})]})});var dl=class extends hc{updatePlugin(){var e,t,n,r;let{value:i}=this.props,a=(t=this.element.current)==null?void 0:t.querySelector(`.otp-slots`);a==null||a.classList.add(`min-w-0`,`max-w-100`);for(let t of(e=a==null?void 0:a.querySelectorAll(`.otp-slot`))==null?[]:e)t.classList.add(`min-w-0`);i!==void 0&&((n=this.instance)==null?void 0:n.getValue())!==String(i)&&((r=this.instance)==null||r.setValue(String(i)))}dispose(){var e,t;(e=this.element.current)==null||e.removeEventListener(`complete.bs.otpInput`,this.handleComplete),(t=this.element.current)==null||t.removeEventListener(`input.bs.otpInput`,this.handleValueChange),super.dispose()}render(){let e=this.props,{as:t=`div`,className:n,wrapperClassName:r,length:i,type:a=`numeric`,mask:o,groups:f,separator:p,connected:m,size:h,validation:g,onComplete:_,onValueChange:v,forwardedRef:y,autoComplete:b=`one-time-code`}=e,x=(0,l._)(e,[`as`,`className`,`wrapperClassName`,`length`,`type`,`mask`,`groups`,`separator`,`connected`,`size`,`validation`,`onComplete`,`onValueChange`,`forwardedRef`,`autoComplete`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},this.props.as?x:{}),{ref:this.setRootRef,className:(0,d.default)(`otp min-w-0 max-w-100`,m&&`otp-connected`,h&&`otp-${h}`,g&&`is-${g}`,r),"data-bs-otp":``,"data-bs-length":i,"data-bs-type":a,"data-bs-mask":o||void 0,"data-bs-groups":f?JSON.stringify(f):void 0,"data-bs-separator":p,children:/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},this.props.as?{}:x),{ref:this.props.as?void 0:this.forwardRef,name:x.name,type:`text`,maxLength:i,autoComplete:b,inputMode:a===`numeric`?`numeric`:`text`,"aria-invalid":g?g===`invalid`:x[`aria-invalid`],pattern:a===`numeric`?`[0-9]*`:a===`alpha`?`[A-Za-z]*`:`[A-Za-z0-9]*`,className:(0,d.default)(`otp-input`,n)}))}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.length!==this.props.length||e.type!==this.props.type||e.mask!==this.props.mask||e.separator!==this.props.separator||JSON.stringify(e.groups)!==JSON.stringify(this.props.groups)),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{default:e}=yield import(`bootstrap/js/src/otp-input.js`),{length:n,type:r=`numeric`,mask:i=!1,groups:a=null,separator:o=`·`}=t.props;return s=>(s.addEventListener(`complete.bs.otpInput`,t.handleComplete),s.addEventListener(`input.bs.otpInput`,t.handleValueChange),e.getOrCreateInstance(s,{length:n,type:r,mask:i,groups:a,separator:o}))})()),(0,a._)(this,`handleComplete`,e=>{var t,n;return(t=(n=this.props).onComplete)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`handleValueChange`,e=>{var t,n;return(t=(n=this.props).onValueChange)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`forwardRef`,e=>{let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)}),(0,a._)(this,`setRootRef`,e=>{this.element.current=e,this.props.as&&this.forwardRef(e)})}};const fl=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(dl,(0,c._)((0,s._)({},e),{forwardedRef:t}))));fl.displayName=`OTPInput`;const pl=[`weak`,`fair`,`good`,`strong`];var ml=class extends m.Component{componentDidMount(){this.mounted=!0,this.initialize()}componentDidUpdate(e){e.input!==this.props.input||e.minLength!==this.props.minLength||e.messages!==this.props.messages||e.weights!==this.props.weights||e.thresholds!==this.props.thresholds||e.scorer!==this.props.scorer||e.variant!==this.props.variant||e.strength!==this.props.strength||e.showText!==this.props.showText?(this.dispose(),this.initialize()):this.props.strength===void 0&&this.handleInput()}componentWillUnmount(){this.mounted=!1,this.dispose()}render(){var e,t;let n=this.props,{className:r,input:i,minLength:a,messages:o,weights:f,thresholds:p,scorer:m,forwardedRef:h,variant:g=`segments`,strength:_,showText:v=!0}=n,y=(0,l._)(n,[`className`,`input`,`minLength`,`messages`,`weights`,`thresholds`,`scorer`,`forwardedRef`,`variant`,`strength`,`showText`]),b=g===`bar`,x=_?pl.indexOf(_)+1:0;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`div`,(0,c._)((0,s._)({},y),{ref:this.setMeterRef,className:(0,d.default)(b?`strength-bar`:`strength`,r),"data-bs-strength":_,role:`meter`,"aria-valuemin":0,"aria-valuemax":pl.length,"aria-valuenow":x,"aria-valuetext":_||`Empty`,children:!b&&pl.map((e,t)=>/*#__PURE__*/ (0,u.jsx)(`div`,{className:(0,d.default)(`strength-segment`,t<x&&`active`)},e))})),v&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`strength-text`,"data-bs-strength":_,children:_&&((e=(t=this.props.messages)==null?void 0:t[_])==null?_:e)})]})}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`meter`,void 0),(0,a._)(this,`instance`,void 0),(0,a._)(this,`instanceElement`,void 0),(0,a._)(this,`passwordInput`,void 0),(0,a._)(this,`mounted`,!1),(0,a._)(this,`revision`,0),(0,a._)(this,`initialize`,()=>(0,N._)(function*(){var e,n,r;let i=++t.revision,a=t.meter;if(!a||t.props.strength!==void 0)return;let{default:o}=yield import(`bootstrap/js/src/strength.js`),{input:c,minLength:l,messages:u,weights:d,thresholds:f,scorer:p}=t.props,m=(0,s._)({},c!==void 0&&{input:c},l!==void 0&&{minLength:l},u!==void 0&&{messages:(0,s._)({},o.Default.messages,u)},d!==void 0&&{weights:d},f!==void 0&&{thresholds:f},p!==void 0&&{scorer:p});t.mounted&&t.meter===a&&i===t.revision&&(t.instanceElement=a,t.instance=o.getOrCreateInstance(a,m),t.passwordInput=typeof c==`string`?document.querySelector(c)||void 0:c||((e=a.parentElement)==null?void 0:e.querySelector(`input[type="password"]`))||void 0,(n=t.passwordInput)==null||n.addEventListener(`input`,t.handleInput),(r=t.passwordInput)==null||r.addEventListener(`change`,t.handleInput),t.handleInput())})()),(0,a._)(this,`handleInput`,()=>{var e;let t=(e=this.instance)==null?void 0:e.getStrength(),n=t?pl.indexOf(t)+1:0,r=this.instanceElement;r==null||r.setAttribute(`aria-valuenow`,String(n)),r==null||r.setAttribute(`aria-valuetext`,t||`Empty`)}),(0,a._)(this,`dispose`,()=>{var e,t,n;this.revision++,(e=this.passwordInput)==null||e.removeEventListener(`input`,this.handleInput),(t=this.passwordInput)==null||t.removeEventListener(`change`,this.handleInput),(n=this.instance)==null||n.dispose(),this.instance=void 0,this.instanceElement=void 0,this.passwordInput=void 0}),(0,a._)(this,`setMeterRef`,e=>{this.meter=e||void 0;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const hl=/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(ml,(0,c._)((0,s._)({},e),{forwardedRef:t})));hl.displayName=`PasswordStrength`;const gl=I(e=>{let{as:t=`input`,className:n,size:r,theme:i,validation:a}=e,o=(0,l._)(e,[`as`,`className`,`size`,`theme`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:`radio`,"aria-invalid":a?a===`invalid`:o[`aria-invalid`],className:(0,d.default)(`radio`,r&&`radio-${r}`,i&&`theme-${i}`,a&&`is-${a}`,n)}))});gl.displayName=`Radio`;const _l=I(e=>{let{as:t,type:n=`checkbox`,indeterminate:r,listGroup:i,className:a}=e,o=(0,l._)(e,[`as`,`type`,`indeterminate`,`listGroup`,`className`]);return n===`checkbox`?/*#__PURE__*/ (0,u.jsx)(uc,(0,c._)((0,s._)({as:t},o),{className:(0,d.default)(i&&`list-group-item-check`,a),indeterminate:r})):/*#__PURE__*/ (0,u.jsx)(gl,(0,c._)((0,s._)({as:t},o),{className:(0,d.default)(i&&`list-group-item-check`,a)}))});_l.displayName=`FormCheck`;var vl=class extends hc{dispose(){var e;(e=this.element.current)==null||e.removeEventListener(`changed.bs.range`,this.handleValueChange),super.dispose()}render(){var e;let t=this.props,{as:n=`div`,className:r,wrapperClassName:i,min:a=0,max:o=100,value:f,defaultValue:p,bubble:m,theme:h,formatter:g,onValueChange:_,forwardedRef:v,validation:y,style:b}=t,x=(0,l._)(t,[`as`,`className`,`wrapperClassName`,`min`,`max`,`value`,`defaultValue`,`bubble`,`theme`,`formatter`,`onValueChange`,`forwardedRef`,`validation`,`style`]),S=Number((e=f==null?p:f)==null?(Number(a)+Number(o))/2:e),C=Number(o)<=Number(a)?0:Math.max(0,Math.min(1,(S-Number(a))/(Number(o)-Number(a))));return/*#__PURE__*/ (0,u.jsx)(n,(0,c._)((0,s._)({},this.props.as?x:{}),{ref:this.setRootRef,className:(0,d.default)(`form-range`,h&&`theme-${h}`,y&&`is-${y}`,i),"data-bs-bubble":m||void 0,style:{"--bs-range-fill":C},children:/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},this.props.as?{}:x),{ref:this.props.as?void 0:this.forwardRef,name:x.name,type:`range`,min:a,max:o,value:f,defaultValue:p,"aria-invalid":y?y===`invalid`:x[`aria-invalid`],className:(0,d.default)(`form-range-input`,y&&`is-${y}`,r),style:b}))}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.bubble!==this.props.bubble||e.formatter!==this.props.formatter||e.list!==this.props.list||e.min!==this.props.min||e.max!==this.props.max),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{default:e}=yield import(`bootstrap/js/src/range.js`),{bubble:n=!1,formatter:r=null}=t.props;return i=>(i.addEventListener(`changed.bs.range`,t.handleValueChange),e.getOrCreateInstance(i,{bubble:n,formatter:r}))})()),(0,a._)(this,`updatePlugin`,()=>{var e;return(e=this.instance)==null?void 0:e.update()}),(0,a._)(this,`handleValueChange`,e=>{var t,n;return(t=(n=this.props).onValueChange)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`forwardRef`,e=>{let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)}),(0,a._)(this,`setRootRef`,e=>{this.element.current=e,this.props.as&&this.forwardRef(e)})}};const yl=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(vl,(0,c._)((0,s._)({},e),{forwardedRef:t}))));yl.displayName=`FormRange`;const bl=I(e=>{let{as:t=`label`,id:n,className:r,size:i,theme:a,validation:o,width:f,indicatorWidth:p,inputRef:m,inputId:h,inputClassName:g,inputStyle:_,style:v,children:y}=e,{inputProps:b,rootProps:x}=Oi((0,l._)(e,[`as`,`id`,`className`,`size`,`theme`,`validation`,`width`,`indicatorWidth`,`inputRef`,`inputId`,`inputClassName`,`inputStyle`,`style`,`children`])),{"aria-invalid":S}=b;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({id:n},x),{className:(0,d.default)(`switch`,i&&`switch-${i}`,a&&`theme-${a}`,o&&`is-${o}`,r),style:(0,s._)({"--bs-switch-width":f,"--bs-switch-indicator-width":p},v),children:[/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},b),{ref:m,id:h,role:`switch`,type:`checkbox`,className:(0,d.default)(o&&`is-${o}`,g),style:_,"aria-invalid":o?o===`invalid`:S})),y]}))});bl.displayName=`FormSwitch`;function xl(e){return t=>{t&&new IntersectionObserver(([{isIntersecting:t,target:n}],r)=>{if(!t)return;let i=[`animate__animated`,`animate__${e}`];n.classList.add(...i),n.addEventListener(`animationend`,()=>n.classList.remove(...i),{once:!0}),r.disconnect()}).observe(t)}}const Sl=I(e=>{let{as:t=`div`,aspectRatio:n=`1x1`,className:r,style:i}=e,a=(0,l._)(e,[`as`,`aspectRatio`,`className`,`style`]),o=/^(auto|1x1|4x3|16x9|21x9)$/.test(n),f=o?i==null?{}:i:(0,c._)((0,s._)({},i),{"--bs-ratio":n});return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`ratio-${o?n:`auto`}`,r),style:f}))});Sl.displayName=`Ratio`,exports.Accordion=ue,exports.AccordionBody=pe,exports.AccordionHeader=fe,exports.AccordionItem=de,Object.defineProperty(exports,"AccordionToggle",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"Alert",{enumerable:!0,get:function(){return V}}),exports.AlertHeading=Ee,exports.AlertLink=Te,exports.Avatar=De,exports.AvatarImage=Oe,exports.AvatarStack=ke,exports.Badge=H,exports.Breadcrumb=je,exports.BreadcrumbDivider=Pe,exports.BreadcrumbItem=Me,exports.BreadcrumbLink=Ne,exports.Button=R,exports.ButtonGroup=Fe,exports.ButtonInput=ne,exports.ButtonToolbar=Ie,exports.Card=Le,exports.CardBody=Ue,exports.CardFooter=We,exports.CardGroup=Be,exports.CardHeader=He,exports.CardImage=Re,exports.CardImageOverlay=Ve,exports.CardSubtitle=ze,exports.CardText=Ke,exports.CardTitle=Ge,Object.defineProperty(exports,"Carousel",{enumerable:!0,get:function(){return gt}}),exports.CarouselSlide=ht,exports.Checkbox=uc,exports.Chip=dc,exports.ChipDismiss=mc,exports.ChipIcon=fc,exports.ChipImage=pc,exports.ChipInput=_c,exports.ChipInputLabel=tl,exports.ClickBoundary=Ii,exports.CloseButton=B,exports.CodeBlock=Ka,exports.Col=$,Object.defineProperty(exports,"Collapse",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(exports,"CollapseToggle",{enumerable:!0,get:function(){return zt}}),Object.defineProperty(exports,"Combobox",{enumerable:!0,get:function(){return zc}}),exports.ComboboxGroup=Ic,exports.ComboboxOption=Fc,exports.Container=Xs,Object.defineProperty(exports,"Countdown",{enumerable:!0,get:function(){return no}}),exports.DatePicker=Gc,exports.DatePickerButton=Kc,exports.DatePickerInline=qc,exports.Dialog=lo,exports.DialogBody=Wt,exports.DialogClose=oo,exports.DialogFooter=Gt,exports.DialogHeader=Ht,exports.DialogTitle=Ut,Object.defineProperty(exports,"Drawer",{enumerable:!0,get:function(){return cn}}),exports.DrawerBody=an,exports.DrawerFooter=on,exports.DrawerHeader=nn,exports.DrawerTitle=rn,exports.Fade=ln,exports.Figure=Mi,exports.FigureCaption=Pi,exports.FigureImage=Ni,exports.FloatingPosition=W,exports.Form=Xc,exports.FormAdornment=ac,exports.FormAdornmentIcon=sc,exports.FormAdornmentText=oc,exports.FormCheck=_l,exports.FormControl=Vc,exports.FormFeedback=Yc,exports.FormField=Zc,exports.FormFieldContent=$c,exports.FormFloatingLabel=il,exports.FormGhost=cc,exports.FormGroup=Qc,exports.FormLabel=el,exports.FormLegend=nl,exports.FormRange=yl,exports.FormSelect=Uc,exports.FormSwitch=bl,exports.FormText=Jc,exports.FormTextArea=Hc,exports.HorizontalMarquee=uo,exports.HorizontalMarqueeBox=fo,exports.Icon=L,exports.Image=J,exports.InputGroup=al,exports.InputGroupButton=sl,exports.InputGroupIgnore=cl,exports.InputGroupMenu=ll,exports.InputGroupText=ol,exports.ListGroup=un,exports.ListGroupItem=pn,exports.LiveTSX=po,exports.Loading=mo,exports.MarkdownView=ho,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return G}}),exports.MenuDivider=$n,exports.MenuHeader=Qn,exports.MenuItem=qn,exports.MenuItemCheck=Xn,exports.MenuItemContent=er,exports.MenuItemDescription=tr,exports.MenuItemIcon=Yn,exports.MenuPanel=Jn,Object.defineProperty(exports,"MenuSubmenu",{enumerable:!0,get:function(){return nr}}),exports.MenuText=Zn,Object.defineProperty(exports,"MonthCalendar",{enumerable:!0,get:function(){return Io}}),exports.Nameplate=Lo,exports.NativeDialog=Kt,exports.Nav=K,exports.NavItem=ar,exports.NavLink=or,Object.defineProperty(exports,"NavOverflow",{enumerable:!0,get:function(){return Or}}),exports.Navbar=sr,exports.NavbarBrand=cr,exports.NavbarNav=lr,exports.NavbarText=ur,exports.NavbarToggler=dr,exports.OTPInput=fl,exports.OVERLAY_ARROW_POSITIONS=Tn,exports.OVERLAY_DIRECTIONS=wn,Object.defineProperty(exports,"OverlayBox",{enumerable:!0,get:function(){return Do}}),exports.PageItem=Ar,exports.PageLink=jr,Object.defineProperty(exports,"PageNav",{enumerable:!0,get:function(){return Yo}}),exports.PageText=Mr,exports.Pagination=kr,exports.PasswordStrength=hl,exports.Placeholder=Nr,exports.PlaceholderButton=Pr,exports.Popover=Fr,exports.Progress=Ir,exports.ProgressStack=Lr,exports.Radio=gl,exports.Ratio=Sl,exports.Row=Zs,exports.ScrollNav=cs,Object.defineProperty(exports,"ScrollSpy",{enumerable:!0,get:function(){return Zr}}),Object.defineProperty(exports,"ShareBox",{enumerable:!0,get:function(){return bs}}),exports.Spinner=q,exports.SpinnerButton=xs,exports.SpinnerIcon=Qr,exports.Stack=$r,exports.Stepper=ti,exports.StepperButton=ai,exports.StepperItem=ri,exports.StepperLink=ii,exports.StepperNav=ni,exports.StepperOverflow=oi,exports.Tab=gi,exports.Table=Fi,exports.TableSpinner=Ss,Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function(){return _i}}),exports.TextTruncate=Ps,exports.Time=Q,exports.TimeDistance=Is,exports.Timeline=Ls,exports.Toast=Ei,exports.ToastBody=wi,exports.ToastContainer=xi,exports.ToastHeader=Ci,exports.ToastItem=Si,exports.ToggleButton=ki,exports.Toggler=Ai,exports.Tooltip=ji,exports.TypeEcho=Ys,exports.UserRankView=ec,exports.VariantColors=go,exports.VerticalMarquee=tc,exports.ZodiacBar=ic,exports.ZodiacSigns=nc,exports.animate=xl,exports.elementToImage=ys,exports.polymorphic=I,exports.text2color=_o,exports.zodiacOf=rc;
41
+ `,_+=X(w-1,g)),_+=`</${o}>`}else ka(C,v,n,g,p)||(_+=` `),_+=`/>`;return _}),Ma=``,Na=`React.Fragment`,Pa=function(e,t,n){var r={};return t&&(r={key:t}),{type:`ReactElement`,displayName:e,props:r,defaultProps:{},childrens:n}},Fa=function(e){return!!e.key},Ia=function(e){return e.childrens.length===0},La=(function(e,t,n,r){var i=e.type,a=e.key,o=e.childrens;if(i!==`ReactFragment`)throw Error(`The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: ${i}`);return ja(Pa(r.useFragmentShortSyntax?Ia(e)||Fa(e)?Na:Ma:Na,a,o),t,n,r)}),Ra=[`<`,`>`,`{`,`}`],za=function(e){return Ra.some(function(t){return e.includes(t)})},Ba=function(e){return za(e)?`{\`${e}\`}`:e},Va=function(e){var t=e;return t.endsWith(` `)&&(t=t.replace(/^(.*?)(\s+)$/,`$1{'$2'}`)),t.startsWith(` `)&&(t=t.replace(/^(\s+)(.*)$/,`{'$1'}$2`)),t},Ha=(function(e,t,n,r){if(e.type===`number`)return String(e.value);if(e.type===`string`)return e.value?`${Va(Ba(String(e.value)))}`:``;if(e.type===`ReactElement`)return ja(e,t,n,r);if(e.type===`ReactFragment`)return La(e,t,n,r);throw TypeError(`Unknow format type "${e.type}"`)}),Ua=(function(e,t){return Ha(e,!1,0,t)}),Wa=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,a=i===void 0||i,o=t.showFunctions,s=o!==void 0&&o,c=t.functionValue,l=t.tabStop,u=l===void 0?2:l,d=t.useBooleanShorthandSyntax,f=d===void 0||d,p=t.useFragmentShortSyntax,m=p===void 0||p,h=t.sortProps,g=h===void 0||h,_=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw Error(`react-element-to-jsx-string: Expected a ReactElement`);var y={filterProps:r,showDefaultProps:a,showFunctions:s,functionValue:c,tabStop:u,useBooleanShorthandSyntax:f,useFragmentShortSyntax:m,sortProps:g,maxInlineAttributesLineLength:_,displayName:v};return Ua(ma(e,y),y)};const Ga=(0,D.createHighlighterCoreSync)({themes:[E.default,T.default],langs:[_.default,v.default,y.default,b.default,x.default,S.default,w.default,C.default],engine:(0,O.createJavaScriptRegexEngine)()}),Ka=I(e=>{let{as:t=`pre`,className:n=``,language:r,header:i,children:a}=e,o=(0,l._)(e,[`as`,`className`,`language`,`header`,`children`]),d=typeof a==`string`?a:Wa(/*#__PURE__*/ (0,m.isValidElement)(a)?a:/*#__PURE__*/ (0,u.jsx)(u.Fragment,{children:a})),f=Ga.codeToHtml(d,{lang:r,themes:{light:`github-light`,dark:`github-dark`},defaultColor:!1,structure:`inline`,transformers:[{span:({properties:e})=>{e.style=`${e.style};color:light-dark(var(--shiki-light),var(--shiki-dark))`}}]}),p=/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`m-0 shiki language-${r} ${n}`},o),{children:/*#__PURE__*/ (0,u.jsx)(`code`,{dangerouslySetInnerHTML:{__html:f},className:`language-${r}`})}));return i?/*#__PURE__*/ (0,u.jsxs)(`figure`,{className:`m-0`,children:[/*#__PURE__*/ (0,u.jsx)(`figcaption`,{className:`px-3 pb-6 mb-6 bg-body-tertiary border-bottom`,children:i}),p]}):p});Ka.displayName=`CodeBlock`;let qa;var Ja,Ya,Xa,Za,Qa,$a=(0,k.reaction)(e=>e.componentProps.endTime),eo,to;let no;new(qa=(Ja=/*#__PURE__*/ new WeakMap,Ya=class extends (Qa=k.ObservedComponent){get componentProps(){return this.observedProps}get rest(){return(0,n._)(this,Ja)}set rest(e){(0,i._)(this,Ja,e)}get endTimestamp(){return+new Date(this.componentProps.endTime||Date.now())}get timeSections(){let{units:e}=this.componentProps,{rest:t}=this;return e.reduce((n,{label:r},i)=>{let a=e.slice(i).map(({scale:e})=>e).reduce((e,t)=>e*t,1),o=~~(t/a);return t-=o*a,n.push({value:o,label:r}),n},[])}stop(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}componentDidMount(){super.componentDidMount(),this.initTimer()}initTimer(){this.stop(),this.tick(),this.timer=window.setInterval(this.tick,g.Second)}componentWillUnmount(){super.componentWillUnmount(),this.stop()}render(){let e=this.componentProps,{as:t,className:n=``,itemClassName:r=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,units:i,endTime:a,onEnd:o}=e,d=(0,l._)(e,[`as`,`className`,`itemClassName`,`units`,`endTime`,`onEnd`]),f=t==null?`ol`:t,{timeSections:p}=this;return/*#__PURE__*/ (0,u.jsx)(f,(0,c._)((0,s._)({className:`list-unstyled m-0 ${n}`},d),{children:p.map(({value:e,label:t})=>/*#__PURE__*/ (0,u.jsxs)(`li`,{className:r,children:[/*#__PURE__*/ (0,u.jsx)(`strong`,{children:(e+``).padStart(2,`0`)}),/*#__PURE__*/ (0,u.jsx)(`span`,{children:t})]},t))}))}constructor(...e){super(...e),(0,r._)(this,Ja,{writable:!0,value:(to(this),eo(this,0))}),(0,a._)(this,`timer`,0),(0,a._)(this,`tick`,()=>{let{onEnd:e,endTime:t}=this.componentProps,n=this.endTimestamp-Date.now();n>0?this.rest=n:(this.rest=0,this.stop(),e==null||e(t))})}},{e:[eo,to],c:[no,Za]}=(0,t._)(Ya,[[f.observable,1,`rest`],[f.computed,3,`timeSections`],[$a,2,`initTimer`]],[p.observer],Qa),Ya),Xa=class extends o._{constructor(){super(no),(0,a._)(this,`displayName`,`Countdown`),Za()}},(0,a._)(Xa,qa,void 0),Xa);var ro,io,ao,oo=class extends Error{constructor(e=`Dialog closed`){super(e)}},so=/*#__PURE__*/ new WeakMap,co=/*#__PURE__*/ new WeakMap,lo=class{get input(){return(0,n._)(this,so)}set input(e){(0,i._)(this,so,e)}get defer(){return(0,n._)(this,co)}set defer(e){(0,i._)(this,co,e)}open(e){e&&(this.input=e);let t=new A.Defer;this.defer=t;let n=(0,f.action)(()=>this.defer===t&&(this.defer=void 0));return t.promise.then(n,n),t.promise}constructor(e){(0,r._)(this,so,{writable:!0,value:(ao(this),ro(this,{}))}),(0,r._)(this,co,{writable:!0,value:io(this)}),(0,a._)(this,`Component`,void 0),this.Component=(0,p.observer)(t=>/*#__PURE__*/ (0,u.jsx)(e,(0,c._)((0,s._)({},t,this.input),{defer:this.defer}))),this.Component.displayName=`DialogBoxComponent`}};({e:[ro,io,ao]}=(0,t._)(lo,[[f.observable,1,`input`],[f.observable,1,`defer`],[f.action,2,`open`]],[]));const uo=I(e=>{let{as:t=`div`,className:n=``,children:r,maxWidth:i=`100%`,duration:a,height:o}=e,d=(0,l._)(e,[`as`,`className`,`children`,`maxWidth`,`duration`,`height`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`overflow-hidden max-w-100 ${n}`},d),{children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block align-top text-nowrap ONAURG_scrollWrap`,style:{maxWidth:i,animationDuration:a,height:o,lineHeight:o},children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block ONAURG_scrollItem`,style:{animationDuration:a},children:r})})}))}),fo=I(e=>{let{as:t,children:n,className:r=``,style:i,maxWidth:a,duration:o,height:d}=e,f=(0,l._)(e,[`as`,`children`,`className`,`style`,`maxWidth`,`duration`,`height`]);return d?/*#__PURE__*/ (0,u.jsx)(t==null?`div`:t,(0,c._)((0,s._)({},f),{className:`overflow-hidden ONAURG_scrollHeightWrap ${r}`,style:(0,s._)({maxWidth:a,"--scroll-height":d},i),children:/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`d-inline-block overflow-hidden max-w-100 ONAURG_scrollContainer`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-block overflow-hidden text-wrap text-break ONAURG_unScrollItem`,children:n}),/*#__PURE__*/ (0,u.jsx)(uo,{duration:o,children:n})]})})):/*#__PURE__*/ (0,u.jsx)(uo,(0,c._)((0,s._)({as:t},f),{className:r,style:i,maxWidth:a,duration:o,height:d,children:n}))});uo.displayName=`HorizontalMarquee`,fo.displayName=`HorizontalMarqueeBox`;const po=({scope:e,children:t})=>{let n=typeof t==`string`?t:Wa(/*#__PURE__*/ (0,m.isValidElement)(t)?t:/*#__PURE__*/ (0,u.jsx)(u.Fragment,{children:t}));return/*#__PURE__*/ (0,u.jsxs)(j.LiveProvider,{code:n,scope:e,language:`tsx`,children:[/*#__PURE__*/ (0,u.jsx)(j.LivePreview,{className:`mb-3`}),/*#__PURE__*/ (0,u.jsx)(j.LiveEditor,{}),/*#__PURE__*/ (0,u.jsx)(j.LiveError,{className:`fg-danger small p-2`})]})},mo=I(e=>{let{as:t=`div`,className:n=``,children:r=`Loading...`,opacity:i=25,style:a}=e,o=(0,l._)(e,[`as`,`className`,`children`,`opacity`,`style`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({className:`fixed-top h-100 w-100 d-flex justify-content-center align-items-center bg-black ${n}`,style:(0,c._)((0,s._)({},a),{opacity:i/100})},o),{children:[/*#__PURE__*/ (0,u.jsx)(q,{theme:`success`}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`ms-3 fg-white`,children:r})]}))});mo.displayName=`Loading`;const ho=I(e=>{let{as:t=`article`,className:n,children:r}=e,i=(0,l._)(e,[`as`,`className`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`markdown-body`,n),dangerouslySetInnerHTML:{__html:(0,M.marked)(r,{async:!1})}}))});ho.displayName=`MarkdownView`;const go=[`primary`,`secondary`,`success`,`danger`,`warning`,`info`,`dark`,`light`];function _o(e,t=[]){let n=t[0]?go.filter(e=>!t.find(t=>t===e)):go;return n[[...e].reduce((e,t)=>e+t.charCodeAt(0),0)%n.length]}let vo;var yo,bo,xo,So,Co,wo,To,Eo;let Do;new(vo=(yo=/*#__PURE__*/ new WeakMap,bo=class extends (Co=m.Component){get componentProps(){return this.props}get open(){return(0,n._)(this,yo)}set open(e){(0,i._)(this,yo,e)}componentWillUnmount(){document.removeEventListener(`pointerdown`,this.handleOutside),clearTimeout(this.timer),this.position.dispose()}componentDidMount(){document.addEventListener(`pointerdown`,this.handleOutside)}componentDidUpdate(e){let{open:t,root:n,overlay:r,props:i,position:a}=this,{placement:o=`top`,responsivePlacement:s,offset:c=i.detail==null?8:12,padding:l,flip:u,container:d}=i;if(!t)return a.dispose();n.current&&r.current&&(a.element!==r.current||e.placement!==i.placement||e.responsivePlacement!==s||e.offset!==i.offset||e.padding!==l||e.flip!==u||e.container!==d?a.attach(n.current,r.current,{placement:o,responsivePlacement:s,offset:c,padding:l,flip:u}):a.update())}render(){var e;let t=(e=this.componentProps.as)==null?`span`:e,n=this.componentProps,{as:r,title:i,detail:a,placement:o=`top`,responsivePlacement:f,container:p,offset:g,padding:_,flip:v,trigger:y,delay:b,overlayClassName:x,children:S,className:C=``,onMouseEnter:w,onMouseLeave:T,onFocus:E,onBlur:D,onClick:O,onKeyDown:k}=n,A=(0,l._)(n,[`as`,`title`,`detail`,`placement`,`responsivePlacement`,`container`,`offset`,`padding`,`flip`,`trigger`,`delay`,`overlayClassName`,`children`,`className`,`onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`,`onClick`,`onKeyDown`]),j=this.open?this.id:void 0,M=this.position.element?this.position.placement.split(`-`)[0]:o,N=(0,d.default)(`w-max`,x),P=a==null?/*#__PURE__*/ (0,u.jsx)(ji,{ref:this.overlay,id:j,style:(0,s._)({},this.position.style),arrowStyle:(0,s._)({},this.position.arrowStyle),className:N,placement:M,children:i}):/*#__PURE__*/ (0,u.jsx)(Fr,{ref:this.overlay,id:j,style:(0,s._)({},this.position.style),arrowStyle:(0,s._)({},this.position.arrowStyle),className:N,title:i,placement:M,children:a}),F=this.open&&p?typeof p==`string`?document.querySelector(p):typeof p==`function`?p():p:void 0;if(this.open&&p&&!F)throw Error(`Overlay container was not found`);let I=/*#__PURE__*/ (0,m.isValidElement)(S)?/*#__PURE__*/ (0,m.cloneElement)(S,{"aria-describedby":[S.props[`aria-describedby`],j].filter(Boolean).join(` `)||void 0}):S;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},A),{ref:this.root,className:`position-relative d-inline-block ${C}`,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,onKeyDown:this.handleKeyDown,children:[I,this.open&&(F?/*#__PURE__*/ (0,h.createPortal)(P,F):P)]}))}constructor(...e){super(...e),(0,r._)(this,yo,{writable:!0,value:(Eo(this),wo(this,!1))}),(0,a._)(this,`id`,(0,g.uniqueID)()),(0,a._)(this,`root`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`overlay`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`position`,new W),(0,a._)(this,`timer`,void 0),(0,a._)(this,`setOpen`,To(this,e=>this.open=e)),(0,a._)(this,`hide`,()=>{clearTimeout(this.timer),this.setOpen(!1)}),(0,a._)(this,`setOpenAfterDelay`,e=>{clearTimeout(this.timer);let{delay:t}=this.componentProps,n=typeof t==`number`?t:t==null?void 0:t[e?`show`:`hide`];if(!n)return this.setOpen(e);this.timer=setTimeout(()=>this.setOpen(e),n)}),(0,a._)(this,`contains`,e=>{var t,n;return e instanceof Node&&(!!((t=this.root.current)!=null&&t.contains(e))||!!((n=this.overlay.current)!=null&&n.contains(e)))}),(0,a._)(this,`hasTrigger`,e=>(this.componentProps.trigger?Array.isArray(this.componentProps.trigger)?this.componentProps.trigger:[this.componentProps.trigger]:[`hover`,`focus`]).includes(e)),(0,a._)(this,`handleMouseEnter`,e=>{var t,n;(t=(n=this.componentProps).onMouseEnter)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`hover`)&&this.setOpenAfterDelay(!0)}),(0,a._)(this,`handleMouseLeave`,e=>{var t,n;(t=(n=this.componentProps).onMouseLeave)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`hover`)&&!this.contains(e.relatedTarget)&&!this.contains(document.activeElement)&&this.setOpenAfterDelay(!1)}),(0,a._)(this,`handleFocus`,e=>{var t,n;(t=(n=this.componentProps).onFocus)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`focus`)&&this.setOpenAfterDelay(!0)}),(0,a._)(this,`handleBlur`,e=>{var t,n;(t=(n=this.componentProps).onBlur)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`focus`)&&!this.contains(e.relatedTarget)&&this.setOpenAfterDelay(!1)}),(0,a._)(this,`handleClick`,e=>{var t,n,r;(t=(n=this.componentProps).onClick)==null||t.call(n,e),!e.defaultPrevented&&this.hasTrigger(`click`)&&!(e.target instanceof Node&&(r=this.overlay.current)!=null&&r.contains(e.target))&&this.setOpenAfterDelay(!this.open)}),(0,a._)(this,`handleOutside`,({target:e})=>{e instanceof Node&&!this.contains(e)&&this.hide()}),(0,a._)(this,`handleKeyDown`,e=>{var t,n;(t=(n=this.componentProps).onKeyDown)==null||t.call(n,e),!e.defaultPrevented&&e.key===`Escape`&&this.open&&(e.preventDefault(),this.hide())})}},{e:[wo,To,Eo],c:[Do,So]}=(0,t._)(bo,[[f.observable,1,`open`],[f.action,0,`setOpen`]],[p.observer],Co),bo),xo=class extends o._{constructor(){super(Do),(0,a._)(this,`displayName`,`OverlayBox`),So()}},(0,a._)(xo,vo,void 0),xo);let Oo;var ko,Ao,jo,Mo,No,Po,Fo;let Io;new(Oo=(ko=/*#__PURE__*/ new WeakMap,Ao=class extends (No=k.ObservedComponent){get componentProps(){return this.props}get observedComponentProps(){return this.observedProps}get weekFormatter(){var e;let{locale:t=(e=globalThis.navigator)==null?void 0:e.language}=this.observedComponentProps;return new Intl.DateTimeFormat(t,{weekday:`long`})}get currentDate(){return(0,n._)(this,ko)}set currentDate(e){(0,i._)(this,ko,e)}get dateGrid(){let e=new Date(this.currentDate);e.setDate(1),e=/* @__PURE__ */ new Date(+e-e.getDay()*g.Day);let t=Array.from(Array(42),(t,n)=>new Date(+e+n*g.Day));return(0,g.splitArray)(t,7)}changeMonth(e){var t,n;this.currentDate=(0,g.changeMonth)(this.currentDate,e),(t=(n=this.componentProps).onChange)==null||t.call(n,this.currentDate)}render(){var e;let t=(e=this.componentProps.as)==null?`table`:e,{weekFormatter:n,currentDate:r,dateGrid:i}=this,a=this.observedComponentProps,{as:o,className:d=``,style:f,theme:p=`primary`,onChange:m,onSelect:h}=a,_=(0,l._)(a,[`as`,`className`,`style`,`theme`,`onChange`,`onSelect`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},_),{className:`table ${d}`,style:(0,s._)({tableLayout:`fixed`},f),children:[/*#__PURE__*/ (0,u.jsx)(`caption`,{children:/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`d-flex justify-content-between align-items-center`,children:[/*#__PURE__*/ (0,u.jsx)(R,{theme:p,onClick:this.changePreviousMonth,children:`<`}),(0,g.formatDate)(r,`YYYY-MM`),/*#__PURE__*/ (0,u.jsx)(R,{theme:p,onClick:this.changeNextMonth,children:`>`})]})}),/*#__PURE__*/ (0,u.jsx)(`thead`,{children:/*#__PURE__*/ (0,u.jsx)(`tr`,{children:i[0].map((e,t,{length:r})=>/*#__PURE__*/ (0,u.jsx)(`th`,{className:`theme-${p} theme-contrast`,style:{width:`calc(100% / ${r})`},scope:`col`,children:n.format(e)},t))})}),/*#__PURE__*/ (0,u.jsx)(`tbody`,{children:i.map(e=>/*#__PURE__*/ (0,u.jsx)(`tr`,{children:e.map(this.renderDate)},e[0]+``))})]}))}constructor(...e){super(...e),(0,r._)(this,ko,{writable:!0,value:(Fo(this),Po(this,/* @__PURE__ */ new Date))}),(0,a._)(this,`changePreviousMonth`,()=>this.changeMonth(-1)),(0,a._)(this,`changeNextMonth`,()=>this.changeMonth(1)),(0,a._)(this,`handleCellClick`,({target:e,currentTarget:t})=>{var n,r,i;if(!(e instanceof Element))return;let a=e.closest(`[data-calendar-index]`);if(!a||!t.contains(a))return;let o=a.dataset.calendarDate,s=Number(a.dataset.calendarIndex),c=(n=this.componentProps.value)==null?void 0:n.filter(({date:e})=>(0,g.formatDate)(e,`YYYY-MM-DD`)===o),l=c==null?void 0:c[s];l&&((r=(i=this.componentProps).onSelect)==null||r.call(i,l))}),(0,a._)(this,`renderDate`,e=>{let{value:t}=this.observedComponentProps,n=(0,g.formatDate)(e,`YYYY-MM-DD`),r=t==null?void 0:t.filter(({date:e})=>(0,g.formatDate)(e,`YYYY-MM-DD`)===n);return/*#__PURE__*/ (0,u.jsxs)(`td`,{className:(0,d.default)({"opacity-50":e.getMonth()!==this.currentDate.getMonth(),"fw-bold":n===(0,g.formatDate)(/* @__PURE__ */ new Date,`YYYY-MM-DD`)}),onClick:this.handleCellClick,children:[/*#__PURE__*/ (0,u.jsx)(`time`,{className:`d-block`,dateTime:e.toJSON(),children:e.getDate()}),r==null?void 0:r.map((e,t)=>typeof e.content==`object`?e.content:/*#__PURE__*/ (0,u.jsx)(Do,{title:e.content,children:/*#__PURE__*/ (0,u.jsx)(H,{className:`d-inline-block text-decoration-none w-100 text-truncate`,theme:_o(e.content+``,[`light`]),"data-calendar-date":n,"data-calendar-index":t,href:e.link,children:e.content})},`${n}-${t}`))]},e+``)})}},{e:[Po,Fo],c:[Io,Mo]}=(0,t._)(Ao,[[f.computed,3,`weekFormatter`],[f.observable,1,`currentDate`],[f.computed,3,`dateGrid`],[f.action,2,`changeMonth`]],[p.observer],No),Ao),jo=class extends o._{constructor(){super(Io),(0,a._)(this,`displayName`,`MonthCalendar`),Mo()}},(0,a._)(jo,Oo,void 0),jo);const Lo=({avatar:e,name:t})=>/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(De,{size:2,style:{marginRight:`0.5rem`},src:e}),/*#__PURE__*/ (0,u.jsx)(`span`,{className:`align-middle`,children:t})]});Lo.displayName=`Nameplate`;let Ro;var zo,Bo,Vo,Ho,Uo,Wo,Go,Ko,qo;const Jo=Array.from({length:6},(e,t)=>`h${t+1}`).join(`,`);let Yo;new(Ro=(zo=/*#__PURE__*/ new WeakMap,Bo=/*#__PURE__*/ new WeakMap,Vo=class extends (Wo=m.Component){get componentProps(){return this.props}get list(){return(0,n._)(this,zo)}set list(e){(0,i._)(this,zo,e)}get scrollY(){return(0,n._)(this,Bo)}set scrollY(e){(0,i._)(this,Bo,e)}get currentActiveId(){var e;let{list:t,scrollY:n}=this,r=t.findIndex(({top:e})=>e>n);return(e=t[r<0?t.length-1:r-1])==null?void 0:e.id}componentDidMount(){globalThis.document&&(window.addEventListener(`scroll`,this.updateScrollY),window.addEventListener(`resize`,this.updateScrollY),this.initList(),this.updateScrollY())}static slugOf(e){let t=e.toLowerCase().replace(/\W+/g,`-`).replace(/^-+|-+$/g,``);return!t||document.getElementById(t)?(0,g.uniqueID)():t}initList(){let{rootSelector:e}=this.componentProps,t=e?document.querySelector(e):document;t&&(this.list=Array.from(t.querySelectorAll(Jo),e=>{var t;let n=e.textContent.trim();(t=e).id||(t.id=Yo.slugOf(n));let{id:r,tagName:i}=e,a=e.getBoundingClientRect().top+window.scrollY;return{id:r,level:+i[1],text:n,top:a}}))}componentWillUnmount(){window.removeEventListener(`scroll`,this.updateScrollY),window.removeEventListener(`resize`,this.updateScrollY)}render(){let{list:e}=this,t=this.componentProps,{depth:n,minDepth:r,rootSelector:i,onItemClick:a}=t,o=(0,l._)(t,[`depth`,`minDepth`,`rootSelector`,`onItemClick`]);return/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({as:this.componentProps.as},o),{variant:`underline`,vertical:!0,children:e.map(this.renderLink)}))}constructor(...e){super(...e),(0,r._)(this,zo,{writable:!0,value:(qo(this),Go(this,[]))}),(0,r._)(this,Bo,{writable:!0,value:Ko(this,0)}),(0,a._)(this,`updateScrollY`,(0,f.action)(()=>{this.scrollY=window.scrollY,this.list=this.list.map(e=>{let t=document.getElementById(e.id);return t?(0,c._)((0,s._)({},e),{top:t.getBoundingClientRect().top+this.scrollY}):e})})),(0,a._)(this,`scrollTo`,e=>()=>{var t,n;setTimeout(()=>(0,g.scrollTo)(`[id="${e.id}"]`)),(t=(n=this.componentProps).onItemClick)==null||t.call(n,e)}),(0,a._)(this,`renderLink`,({id:e,level:t,text:n,top:r})=>{let{currentActiveId:i}=this,{depth:a=1/0,minDepth:o=1}=this.componentProps;return o<=t&&t<=a&&/*#__PURE__*/ (0,u.jsx)(or,{className:(0,d.default)(`justify-content-start text-wrap min-w-0`,i===e&&`active`),style:{paddingInlineStart:`${t-o+.75}rem`},href:`#${e}`,"aria-current":i===e?`location`:void 0,onClick:this.scrollTo({id:e,level:t,text:n,top:r}),children:n},e)})}},{e:[Go,Ko,qo],c:[Yo,Uo]}=(0,t._)(Vo,[[f.observable,1,`list`],[f.observable,1,`scrollY`],[f.computed,3,`currentActiveId`],[f.action,2,`initList`]],[p.observer],Wo),Vo),Ho=class extends o._{constructor(){super(Yo),(0,a._)(this,`displayName`,`PageNav`),Uo()}},(0,a._)(Ho,Ro,void 0),Ho);var Xo,Zo,Qo,$o,es,ts,ns;let rs;var is=/*#__PURE__*/ new WeakMap,as=/*#__PURE__*/ new WeakMap,os=/*#__PURE__*/ new WeakMap,ss=class extends (Zo=m.Component){get componentProps(){return this.props}get scrollLeft(){return(0,n._)(this,is)}set scrollLeft(e){(0,i._)(this,is,e)}get scrollWidth(){return(0,n._)(this,as)}set scrollWidth(e){(0,i._)(this,as,e)}get clientWidth(){return(0,n._)(this,os)}set clientWidth(e){(0,i._)(this,os,e)}get canScrollLeft(){return this.scrollLeft>0}get canScrollRight(){return this.scrollLeft+this.clientWidth<this.scrollWidth}componentDidMount(){let e=this.updateScroll();e&&(e.addEventListener(`scroll`,this.updateScroll),this.resizeObserver=new ResizeObserver(this.updateScroll),this.resizeObserver.observe(e))}componentWillUnmount(){var e,t;(e=this.resizeObserver)==null||e.disconnect(),(t=this.scrollerRef.current)==null||t.removeEventListener(`scroll`,this.updateScroll)}render(){var e;let t=(e=this.componentProps.as)==null?`div`:e,{canScrollLeft:n,canScrollRight:r}=this,i=this.componentProps,{as:a,className:o=``,children:d,rootRef:f}=i,p=(0,l._)(i,[`as`,`className`,`children`,`rootRef`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},p),{ref:f,className:`position-relative overflow-y-hidden ${o}`,children:[n&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 start-0 z-1 border-0 px-2 nZcgHq_scrollButtonLeft`,"aria-label":`Scroll left`,onClick:this.scrollBackward,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`caret-left-fill`})}),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.scrollerRef,className:`overflow-x-auto nZcgHq_scrollerInner`,children:d}),r&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`position-absolute top-0 bottom-0 end-0 z-1 border-0 px-2 nZcgHq_scrollButtonRight`,"aria-label":`Scroll right`,onClick:this.scrollForward,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`caret-right-fill`})})]}))}constructor(...e){super(...e),(0,a._)(this,`scrollerRef`,(ns(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,is,{writable:!0,value:Qo(this,0)}),(0,r._)(this,as,{writable:!0,value:$o(this,0)}),(0,r._)(this,os,{writable:!0,value:es(this,0)}),(0,a._)(this,`updateScroll`,ts(this,()=>{let e=this.scrollerRef.current;return e&&(this.scrollLeft=e.scrollLeft,this.scrollWidth=e.scrollWidth,this.clientWidth=e.clientWidth),e})),(0,a._)(this,`resizeObserver`,void 0),(0,a._)(this,`scrollBy`,e=>{let t=this.scrollerRef.current;t==null||t.scrollBy({left:e*t.clientWidth*.8,behavior:`smooth`})}),(0,a._)(this,`scrollBackward`,()=>this.scrollBy(-1)),(0,a._)(this,`scrollForward`,()=>this.scrollBy(1))}};({e:[Qo,$o,es,ts,ns],c:[rs,Xo]}=(0,t._)(ss,[[f.observable,1,`scrollLeft`],[f.observable,1,`scrollWidth`],[f.observable,1,`clientWidth`],[f.computed,3,`canScrollLeft`],[f.computed,3,`canScrollRight`],[f.action,0,`updateScroll`]],[p.observer],Zo)),Xo();const cs=I(e=>{let{as:t,className:n=``,navClassName:r,children:i,ref:a,variant:o,vertical:f,fill:p,justified:m,cardHeader:h,navbar:g}=e,_=(0,l._)(e,[`as`,`className`,`navClassName`,`children`,`ref`,`variant`,`vertical`,`fill`,`justified`,`cardHeader`,`navbar`]);return/*#__PURE__*/ (0,u.jsx)(rs,(0,c._)((0,s._)({as:t},t?_:{}),{rootRef:t?a:void 0,className:n,children:/*#__PURE__*/ (0,u.jsx)(K,(0,c._)((0,s._)({},t?{}:_),{ref:t?void 0:a,className:(0,d.default)(`flex-nowrap`,r),variant:o,vertical:f,fill:p,justified:m,cardHeader:h,navbar:g,children:i}))}))});cs.displayName=`ScrollNav`;let ls;var us,ds,fs,ps,ms,hs,gs,_s,vs;function ys(e,t,n){return(0,N._)(function*(){let r=yield(0,P.default)(e,{useCORS:!0});return new Promise((e,i)=>r.toBlob(t=>t?e(URL.createObjectURL(t)):i(),t,n))})()}let bs;new(ls=(us=/*#__PURE__*/ new WeakMap,ds=/*#__PURE__*/ new WeakMap,fs=class extends (hs=m.Component){get loading(){return(0,n._)(this,us)}set loading(e){(0,i._)(this,us,e)}get imageURI(){return(0,n._)(this,ds)}set imageURI(e){(0,i._)(this,ds,e)}componentDidMount(){var e,t;(e=(t=globalThis).addEventListener)==null||e.call(t,`resize`,this.generateImage)}componentWillUnmount(){var e,t;(e=(t=globalThis).removeEventListener)==null||e.call(t,`resize`,this.generateImage)}render(){let e=this.props,{className:t=``,children:n}=e,r=(0,l._)(e,[`className`,`children`]),{loading:i,imageURI:a}=this;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[i&&/*#__PURE__*/ (0,u.jsx)(mo,{}),/*#__PURE__*/ (0,u.jsxs)(`div`,(0,c._)((0,s._)({},r),{ref:this.root,className:`position-relative ${t}`,onMouseEnter:a?void 0:this.generateImage,onTouchStart:a?void 0:this.generateImage,children:[n,a&&/*#__PURE__*/ (0,u.jsx)(J,{className:`position-absolute start-0 top-0 w-100 h-100`,src:a,alt:`Share Image`,fluid:!0,onClick:this.share})]}))]})}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`root`,(vs(this),/*#__PURE__*/ (0,m.createRef)())),(0,r._)(this,us,{writable:!0,value:gs(this,!1)}),(0,r._)(this,ds,{writable:!0,value:_s(this,``)}),(0,a._)(this,`generateImage`,()=>(0,N._)(function*(){t.imageURI&&(URL.revokeObjectURL(t.imageURI),t.imageURI=``),t.loading=!0,t.imageURI=yield ys(t.root.current),t.loading=!1})()),(0,a._)(this,`share`,e=>(0,N._)(function*(){var n,r;e.stopPropagation();let i=yield(0,g.blobOf)(t.imageURI),a=new File([i],`${t.props.title}.png`,{type:i.type});yield(n=(r=navigator).share)==null?void 0:n.call(r,(0,s._)({files:[a]},t.props))})())}},{e:[gs,_s,vs],c:[bs,ms]}=(0,t._)(fs,[[f.observable,1,`loading`],[f.observable,1,`imageURI`]],[p.observer],hs),fs),ps=class extends o._{constructor(){super(bs),(0,a._)(this,`displayName`,`ShareBox`),ms()}},(0,a._)(ps,ls,void 0),ps);const xs=I(e=>{let{as:t,animation:n,loading:r,disabled:i,children:a}=e,o=(0,l._)(e,[`as`,`animation`,`loading`,`disabled`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(R,(0,c._)((0,s._)({as:t},o),{disabled:r||i,children:[r&&/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(q,{className:a?`me-2`:``,size:`sm`,animation:n,role:`status`,"aria-hidden":`true`}),!a&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`visually-hidden`,children:`Loading...`})]}),a]}))});xs.displayName=`SpinnerButton`;const Ss=I(e=>{let{as:t=`tr`,animation:n=`border`,theme:r=`primary`,size:i,colSpan:a}=e,o=(0,l._)(e,[`as`,`animation`,`theme`,`size`,`colSpan`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{children:/*#__PURE__*/ (0,u.jsx)(`td`,{className:`text-center p-4`,colSpan:a,children:/*#__PURE__*/ (0,u.jsx)(q,{animation:n,theme:r,size:i,role:`status`,"aria-label":`Loading`})})}))});Ss.displayName=`TableSpinner`;let Cs;var ws,Ts,Es,Ds,Os,ks,As,js,Ms;let Ns;new(Cs=(ws=/*#__PURE__*/ new WeakMap,Ts=/*#__PURE__*/ new WeakMap,Es=class extends (ks=m.Component){get expanded(){return(0,n._)(this,ws)}set expanded(e){(0,i._)(this,ws,e)}get overflowed(){return(0,n._)(this,Ts)}set overflowed(e){(0,i._)(this,Ts,e)}componentDidMount(){this.checkOverflow(),window.addEventListener(`resize`,this.checkOverflow)}componentDidUpdate({rows:e,children:t}){this.expanded||t===this.props.children&&e===this.props.rows||this.checkOverflow()}componentWillUnmount(){window.removeEventListener(`resize`,this.checkOverflow)}render(){let{children:e,rows:t=3,expandText:n=`⏬`,collapseText:r}=this.props,{expanded:i,overflowed:a}=this,o={overflow:`hidden`,display:`-webkit-box`,WebkitBoxOrient:`vertical`,WebkitLineClamp:t};return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`div`,{ref:this.contentRef,style:i?void 0:o,children:e}),(a||i)&&/*#__PURE__*/ (0,u.jsx)(`button`,{type:`button`,className:`bg-transparent border-0 p-0`,"aria-expanded":i,onClick:this.toggle,children:i?r:n})]})}constructor(...e){super(...e),(0,r._)(this,ws,{writable:!0,value:(Ms(this),As(this,!1))}),(0,r._)(this,Ts,{writable:!0,value:js(this,!1)}),(0,a._)(this,`contentRef`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`checkOverflow`,(0,f.action)(()=>{let{current:e}=this.contentRef;e&&(this.overflowed=e.scrollHeight>e.clientHeight)})),(0,a._)(this,`toggle`,(0,f.action)(()=>{this.expanded=!this.expanded,this.expanded||requestAnimationFrame(this.checkOverflow)}))}},{e:[As,js,Ms],c:[Ns,Os]}=(0,t._)(Es,[[f.observable,1,`expanded`],[f.observable,1,`overflowed`]],[p.observer],ks),Es),Ds=class extends o._{constructor(){super(Ns),(0,a._)(this,`displayName`,`TextTruncateContent`),Os()}},(0,a._)(Ds,Cs,void 0),Ds);const Ps=I(e=>{let{as:t=`div`,rows:n=3,expandText:r=`⏬`,collapseText:i=`⏫`,children:a}=e,o=(0,l._)(e,[`as`,`rows`,`expandText`,`collapseText`,`children`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{children:/*#__PURE__*/ (0,u.jsx)(Ns,{rows:n,expandText:r,collapseText:i,children:a})}))});Ps.displayName=`TextTruncate`;const Q=I(e=>{let{as:t=`time`,dateTime:n,format:r}=e,i=(0,l._)(e,[`as`,`dateTime`,`format`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({dateTime:new Date(n).toJSON()},i),{children:(0,g.formatDate)(n,r)}))});Q.displayName=`Time`;const Fs={ms:`millisecond(s)`,s:`second(s)`,m:`minute(s)`,H:`hour(s)`,D:`day(s)`,W:`week(s)`,M:`month(s)`,Y:`year(s)`},Is=I(e=>{let{as:t=`time`,date:n,unitWords:r=Fs,beforeWord:i=` before`,afterWord:a=` after`}=e,o=(0,l._)(e,[`as`,`date`,`unitWords`,`beforeWord`,`afterWord`]);n=new Date(n);let{distance:d,unit:f}=(0,g.diffTime)(n);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},o),{dateTime:n.toJSON(),title:n.toLocaleString(),children:[Math.abs(d),` `,r[f],d<0?i:a]}))});Is.displayName=`TimeDistance`;const Ls=I(e=>{let{as:t=`ol`,className:n,events:r,timeFormat:i}=e,a=(0,l._)(e,[`as`,`className`,`events`,`timeFormat`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`list-unstyled M_u5hG_timeline ${n}`},a),{children:r.map(({title:e,summary:t,time:n,link:r,people:a})=>/*#__PURE__*/ (0,u.jsx)(`li`,{className:`position-relative M_u5hG_timelineItem M_u5hG_right`,children:/*#__PURE__*/ (0,u.jsx)(Le,{children:/*#__PURE__*/ (0,u.jsxs)(Ue,{className:`p-4 d-flex flex-column gap-3 align-items-center`,children:[/*#__PURE__*/ (0,u.jsx)(Ge,{className:`h5 m-0`,children:/*#__PURE__*/ (0,u.jsx)(`a`,{className:`text-decoration-none stretched-link`,href:r,children:e})}),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`small fg-3 d-flex gap-2`,children:[`⏲️`,/*#__PURE__*/ (0,u.jsx)(Q,{dateTime:n[0],format:i}),n[1]&&`~`,n[1]&&/*#__PURE__*/ (0,u.jsx)(Q,{dateTime:n[1],format:i})]}),/*#__PURE__*/ (0,u.jsx)(`ul`,{className:`list-unstyled m-0 d-flex gap-2 flex-wrap justify-content-around`,children:a==null?void 0:a.map(e=>/*#__PURE__*/ (0,u.jsx)(`li`,{children:/*#__PURE__*/ (0,u.jsx)(Lo,(0,s._)({},e))},e.name))}),/*#__PURE__*/ (0,u.jsx)(Ke,{className:`m-0`,children:t})]})})},e))}))});Ls.displayName=`Timeline`;let Rs;var zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs;let Js;new(Rs=(zs=/*#__PURE__*/ new WeakMap,Bs=/*#__PURE__*/ new WeakMap,Vs=class extends (Ws=m.Component){get componentProps(){return this.props}get echoed(){return(0,n._)(this,zs)}set echoed(e){(0,i._)(this,zs,e)}get started(){return(0,n._)(this,Bs)}set started(e){(0,i._)(this,Bs,e)}componentDidMount(){this.start()}componentWillUnmount(){var e;(e=this.visibilityObserver)==null||e.disconnect()}componentDidUpdate(){var e;this.forwardRootRef((e=this.root)==null?null:e)}render(){var e;let t=(e=this.componentProps.as)==null?`pre`:e,n=this.componentProps,{as:r,rootRef:i,className:a,text:o,intervals:f}=n,p=(0,l._)(n,[`as`,`rootRef`,`className`,`text`,`intervals`]),{started:m,echoed:h}=this;return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{ref:this.init,className:(0,d.default)(`text-wrap`,a),children:m?h+(h===o?``:`_`):o}))}constructor(...e){var t;super(...e),t=this,(0,r._)(this,zs,{writable:!0,value:(qs(this),Gs(this,``))}),(0,r._)(this,Bs,{writable:!0,value:Ks(this,!1)}),(0,a._)(this,`visibilityObserver`,void 0),(0,a._)(this,`root`,void 0),(0,a._)(this,`forwardedRootRef`,void 0),(0,a._)(this,`releaseRootRef`,void 0),(0,a._)(this,`start`,(0,f.action)(()=>this.started=!0)),(0,a._)(this,`echo`,(0,f.action)(e=>this.echoed+=e)),(0,a._)(this,`forwardRootRef`,e=>{var t,n;let{rootRef:r}=this.componentProps;if((this.root!==e||this.forwardedRootRef!==r)&&((t=(n=this).releaseRootRef)==null||t.call(n),this.releaseRootRef=void 0,this.root=e,this.forwardedRootRef=r,e)){if(typeof r==`function`){let t=r(e);this.releaseRootRef=typeof t==`function`?t:()=>r(null)}else r&&(r.current=e,this.releaseRootRef=()=>r.current=null)}}),(0,a._)(this,`init`,e=>{var n;(n=this.visibilityObserver)==null||n.disconnect(),this.forwardRootRef(e),e&&(this.visibilityObserver=new IntersectionObserver(([{isIntersecting:e}],n)=>(0,N._)(function*(){if(!e)return;n.disconnect();let{text:r,intervals:i=150}=t.componentProps;for(let e of r)yield(0,g.sleep)(i/1e3),t.echo(e)})()),this.visibilityObserver.observe(e))})}},{e:[Gs,Ks,qs],c:[Js,Us]}=(0,t._)(Vs,[[f.observable,1,`echoed`],[f.observable,1,`started`]],[p.observer],Ws),Vs),Hs=class extends o._{constructor(){super(Js),(0,a._)(this,`displayName`,`TypeEchoContent`),Us()}},(0,a._)(Hs,Rs,void 0),Hs);const Ys=I(e=>{let{as:t,text:n,intervals:r,ref:i}=e,a=(0,l._)(e,[`as`,`text`,`intervals`,`ref`]);return/*#__PURE__*/ (0,u.jsx)(Js,(0,c._)((0,s._)({as:t},a),{rootRef:i,text:n,intervals:r}))});Ys.displayName=`TypeEcho`;const Xs=I(e=>{let{as:t=`div`,fluid:n,className:r}=e,i=(0,l._)(e,[`as`,`fluid`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(n===!0?`container-fluid`:n?`${n}:container`:`container`,r)}))});Xs.displayName=`Container`;const Zs=I(e=>{let{as:t=`div`,xs:n,sm:r,md:i,lg:a,xl:o,"2xl":f,className:p}=e,m=(0,l._)(e,[`as`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`className`]),h=[[`sm`,r],[`md`,i],[`lg`,a],[`xl`,o],[`2xl`,f]];return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(`row`,n!==void 0&&`row-cols-${n}`,h.map(([e,t])=>t!==void 0&&`${e}:row-cols-${t}`),p)}))});Zs.displayName=`Row`;const $=I(e=>{let{as:t=`div`,xs:n,sm:r,md:i,lg:a,xl:o,"2xl":f,className:p}=e,m=(0,l._)(e,[`as`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`className`]),h=[[void 0,n],[`sm`,r],[`md`,i],[`lg`,a],[`xl`,o],[`2xl`,f]],g=h.some(([,e])=>typeof e==`object`?e.span!==void 0:e!==void 0),_=h.map(([e,t])=>{if(t===void 0)return[];let n=e?`${e}:`:``,{span:r,offset:i,order:a}=typeof t==`object`?t:{span:t};return[r!==void 0&&`${n}col${r===!0?``:`-${r}`}`,i!==void 0&&`${n}offset-${i}`,a!==void 0&&`${n}order-${a}`]});return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{className:(0,d.default)(!g&&`col`,_,p)}))});$.displayName=`Col`;const Qs=I(({as:e=`address`,email:t,website:n})=>/*#__PURE__*/ (0,u.jsxs)(e,{className:`mb-0 d-flex justify-content-around gap-2`,children:[t&&/*#__PURE__*/ (0,u.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:`mailto:`+t,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`envelope`})}),n&&/*#__PURE__*/ (0,u.jsx)(`a`,{rel:`noreferrer`,target:`_blank`,href:n,children:/*#__PURE__*/ (0,u.jsx)(L,{name:`globe2`})})]}));Qs.displayName=`UserAddress`;const $s=`UcKh3G_image`,ec=I(e=>{let{as:t,className:n=``,title:r,rank:i=[],linkOf:a}=e,o=(0,l._)(e,[`as`,`className`,`title`,`rank`,`linkOf`]);return/*#__PURE__*/ (0,u.jsx)(Xs,(0,c._)((0,s._)({as:t,className:n},o),{children:/*#__PURE__*/ (0,u.jsxs)(Zs,{className:`UcKh3G_rankBox`,children:[/*#__PURE__*/ (0,u.jsxs)($,{xs:12,lg:7,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`shadow rounded-3 UcKh3G_title`,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`UcKh3G_medal`,children:[/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-inline-block ms-1 overflow-hidden rounded-circle`})]}),/*#__PURE__*/ (0,u.jsx)(`h3`,{"data-text":r,className:`position-relative m-auto mb-0 fw-bold text-center`,children:r})]}),/*#__PURE__*/ (0,u.jsx)(Zs,{as:`ul`,className:`mt-2 g-0 align-items-end text-center ps-0 pt-2 list-unstyled UcKh3G_topUsers`,children:i.slice(0,3).map(e=>/*#__PURE__*/ (0,u.jsxs)($,{as:`li`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`shadow-lg overflow-hidden rounded-circle m-auto ${$s}`,children:/*#__PURE__*/ (0,u.jsx)(J,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-relative overflow-hidden UcKh3G_topUser`,children:[/*#__PURE__*/ (0,u.jsxs)(`div`,{className:`position-relative`,children:[/*#__PURE__*/ (0,u.jsx)(`i`,{className:`d-block overflow-hidden m-auto mb-1 rounded-circle`}),/*#__PURE__*/ (0,u.jsx)(`a`,{className:`d-block mb-0 stretched-link`,href:(a==null?void 0:a(e))||`#`,children:e.name}),/*#__PURE__*/ (0,u.jsx)(`strong`,{children:e.score})]}),/*#__PURE__*/ (0,u.jsx)(Qs,(0,s._)({},e))]})]},e.id))})]}),/*#__PURE__*/ (0,u.jsx)($,{xs:12,lg:5,children:/*#__PURE__*/ (0,u.jsx)(Fi,{className:`my-3 pt-2 UcKh3G_restUsers`,responsive:!0,children:/*#__PURE__*/ (0,u.jsx)(`tbody`,{children:i.slice(3,10).map((e,t,{length:n})=>/*#__PURE__*/ (0,u.jsxs)(`tr`,{className:`position-relative`,children:[/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:/*#__PURE__*/ (0,u.jsx)(H,{className:`fw-bold fst-italic`,children:(t+4+``).padStart((n+``).length,`0`)})}),/*#__PURE__*/ (0,u.jsxs)(`td`,{className:`position-relative text-truncate UcKh3G_name`,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block overflow-hidden align-middle rounded-circle ${$s}`,children:/*#__PURE__*/ (0,u.jsx)(J,{src:e.avatar,alt:e.name,loading:`lazy`,fluid:!0})}),/*#__PURE__*/ (0,u.jsx)(`a`,{className:`ms-2 d-inline-block align-middle stretched-link`,style:{color:`rgb(248, ${(t+2)*15}, ${(t+2)*35})`},href:(a==null?void 0:a(e))||`#`,children:e.name})]}),/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:e.score}),/*#__PURE__*/ (0,u.jsx)(`td`,{className:`align-middle`,children:/*#__PURE__*/ (0,u.jsx)(Qs,(0,s._)({},e))})]},e.id))})})})]})}))});ec.displayName=`UserRankView`;const tc=I(e=>{let{as:t=`div`,className:n=``,children:r,duration:i}=e,a=(0,l._)(e,[`as`,`className`,`children`,`duration`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`overflow-hidden h-100 ${n}`},a),{children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block max-w-100 max-h-100 x8UL2q_scrollWrap`,style:{"--duration":i},children:/*#__PURE__*/ (0,u.jsx)(`div`,{className:`d-inline-block x8UL2q_scrollItem`,children:r})})}))});tc.displayName=`VerticalMarquee`;const nc=[`🐵`,`🐔`,`🐶`,`🐷`,`🐭`,`🐮`,`🐯`,`🐰`,`🐲`,`🐍`,`🐴`,`🐐`],rc=e=>{let t=e<0?e+1:e;return nc[(t%12+12)%12]},ic=I(e=>{let{as:t=`ol`,className:n=``,itemClassName:r=`border rounded px-4 py-3 d-flex flex-column justify-content-center align-items-center`,startYear:i,endYear:a=(/* @__PURE__ */ new Date()).getFullYear(),itemOf:o}=e,d=(0,l._)(e,[`as`,`className`,`itemClassName`,`startYear`,`endYear`,`itemOf`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({className:`list-unstyled m-0 d-flex flex-wrap justify-content-center gap-3 ${n}`},d),{children:Array.from({length:a-i+1},(e,t)=>{let n=a-t;if(n===0)return null;let i=rc(n),{link:s=`#`,title:c}=(o==null?void 0:o(n,i))||{};return/*#__PURE__*/ (0,u.jsx)(`li`,{className:r,children:/*#__PURE__*/ (0,u.jsxs)(`a`,{className:`d-inline-block p-3 text-decoration-none text-center`,href:s,children:[/*#__PURE__*/ (0,u.jsx)(`div`,{className:`fs-3xl`,children:i}),c]})},n)})}))});ic.displayName=`ZodiacBar`;const ac=I(e=>{let{as:t=`label`,className:n,end:r,size:i,validation:a}=e,o=(0,l._)(e,[`as`,`className`,`end`,`size`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`form-control form-adorn`,r&&`form-adorn-end`,i&&`form-control-${i}`,a&&`is-${a}`,n)}))});ac.displayName=`FormAdornment`;const oc=I(e=>{let{as:t=`span`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-adorn-text`,n)}))});oc.displayName=`FormAdornmentText`;const sc=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`form-adorn-icon`,n)}))});sc.displayName=`FormAdornmentIcon`;const cc=I(e=>{let{as:t=`input`,className:n,validation:r}=e,i=(0,l._)(e,[`as`,`className`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{"aria-invalid":r?r===`invalid`:i[`aria-invalid`],className:(0,d.default)(`form-ghost`,r&&`is-${r}`,n)}))});cc.displayName=`FormGhost`;var lc=class extends m.Component{componentDidMount(){this.setIndeterminate()}componentDidUpdate(){this.setIndeterminate()}render(){let e=this.props,{as:t=`input`,className:n,size:r,theme:i,validation:a,indeterminate:o,forwardedRef:f}=e,p=(0,l._)(e,[`as`,`className`,`size`,`theme`,`validation`,`indeterminate`,`forwardedRef`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},p),{ref:this.setInputRef,type:`checkbox`,"aria-invalid":a?a===`invalid`:p[`aria-invalid`],"aria-checked":o?`mixed`:p[`aria-checked`],className:(0,d.default)(`check`,r&&`check-${r}`,i&&`theme-${i}`,a&&`is-${a}`,n)}))}constructor(...e){super(...e),(0,a._)(this,`input`,void 0),(0,a._)(this,`setIndeterminate`,()=>{this.input&&(this.input.indeterminate=this.props.indeterminate||!1)}),(0,a._)(this,`setInputRef`,e=>{this.input=e||void 0;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const uc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(lc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));uc.displayName=`Checkbox`;const dc=I(e=>{let{as:t=`span`,className:n,active:r,theme:i,type:a=`button`}=e,o=(0,l._)(e,[`as`,`className`,`active`,`theme`,`type`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(`chip`,{active:r},i&&`theme-${i}`,n),type:t===`button`?a:void 0,"aria-pressed":t===`button`?r:void 0}))});dc.displayName=`Chip`;const fc=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(L,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`chip-icon`,n)}))});fc.displayName=`ChipIcon`;const pc=I(e=>{let{as:t=`img`,className:n,alt:r=``}=e,i=(0,l._)(e,[`as`,`className`,`alt`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{alt:r,className:(0,d.default)(`chip-img`,n)}))});pc.displayName=`ChipImage`;const mc=I(e=>{let{as:t=`button`,className:n,children:r,"aria-label":i=`Remove`}=e,a=(0,l._)(e,[`as`,`className`,`children`,`aria-label`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{type:`button`,"aria-label":i,className:(0,d.default)(`chip-dismiss`,n),children:r==null?/*#__PURE__*/ (0,u.jsx)(L,{name:`x-lg`}):r}))});mc.displayName=`ChipDismiss`;var hc=class extends m.Component{updatePlugin(){}componentDidMount(){this.initialize()}componentDidUpdate(e){this.configurationChanged(e)?(this.dispose(),this.initialize()):this.updatePlugin()}componentWillUnmount(){this.dispose()}dispose(){var e;this.revision++,(e=this.instance)==null||e.dispose(),this.instance=void 0}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`element`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`instance`,void 0),(0,a._)(this,`revision`,0),(0,a._)(this,`initialize`,()=>(0,N._)(function*(){let e=++t.revision,n=yield t.load();e===t.revision&&t.element.current&&(t.instance=n(t.element.current),t.updatePlugin())})())}},gc=class extends hc{render(){let e=this.props,{as:t=`div`,className:n,theme:r,separator:i,allowDuplicates:a,maxChips:o,createOnBlur:f,dismissible:p,placeholder:m,onValuesChange:h,forwardedRef:g,validation:_}=e,v=(0,l._)(e,[`as`,`className`,`theme`,`separator`,`allowDuplicates`,`maxChips`,`createOnBlur`,`dismissible`,`placeholder`,`onValuesChange`,`forwardedRef`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},v),{ref:this.setRef,className:(0,d.default)(`chip-input`,r&&`theme-${r}`,_&&`is-${_}`,n),"data-bs-chips":``,"data-bs-separator":i,"data-bs-allow-duplicates":a,"data-bs-max-chips":o,"data-bs-create-on-blur":f}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.separator!==this.props.separator||e.allowDuplicates!==this.props.allowDuplicates||e.maxChips!==this.props.maxChips||e.createOnBlur!==this.props.createOnBlur||e.dismissible!==this.props.dismissible||e.placeholder!==this.props.placeholder),(0,a._)(this,`load`,()=>(0,N._)(function*(){let[{default:e},{default:n}]=yield Promise.all([import(`bootstrap/js/src/chips.js`),import(`bootstrap/js/src/dom/event-handler.js`)]),{separator:r=`,`,allowDuplicates:i=!1,maxChips:a=null,createOnBlur:o=!0,dismissible:s=!0,placeholder:c=``}=t.props;return l=>{let d=e.getOrCreateInstance(l,{separator:r,allowDuplicates:i,maxChips:a,createOnBlur:o,dismissible:s,placeholder:c,dismissIcon:(0,F.renderToStaticMarkup)(/*#__PURE__*/ (0,u.jsx)(L,{name:`x-lg`}))});return l.addEventListener(`change.bs.chips`,t.handleValuesChange),{dispose:()=>{l.removeEventListener(`change.bs.chips`,t.handleValuesChange),n.off(l,`.bs.chips`),d.dispose()}}}})()),(0,a._)(this,`handleValuesChange`,e=>{var t,n;return(t=(n=this.props).onValuesChange)==null?void 0:t.call(n,e.values)}),(0,a._)(this,`setRef`,e=>{this.element.current=e;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const _c=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(gc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));_c.displayName=`ChipInput`;let vc;var yc,bc,xc,Sc,Cc,wc,Tc,Ec,Dc,Oc,kc,Ac,jc,Mc,Nc,Pc;const Fc=I(e=>{let{as:t=`button`,className:n,value:r,children:i,description:a,icon:o,checkedIcon:f,searchText:p}=e,m=(0,l._)(e,[`as`,`className`,`value`,`children`,`description`,`icon`,`checkedIcon`,`searchText`]);var h;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},m),{type:`button`,role:`option`,"aria-selected":(h=m[`aria-selected`])!=null&&h,className:(0,d.default)(`menu-item`,n),"data-bs-value":r,"data-search-text":p,"data-label":Lc(i),"data-option-hidden":m.hidden||void 0,children:[o&&/*#__PURE__*/ (0,u.jsx)(L,{name:o,className:`menu-item-icon`}),a?/*#__PURE__*/ (0,u.jsxs)(er,{children:[i,/*#__PURE__*/ (0,u.jsx)(tr,{children:a})]}):i,f&&/*#__PURE__*/ (0,u.jsx)(L,{name:`check-lg`,className:`menu-item-check`})]}))});Fc.displayName=`ComboboxOption`;const Ic=I(e=>{let{as:t=`div`,label:n,children:r}=e,i=(0,l._)(e,[`as`,`label`,`children`]);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},i),{role:`group`,"aria-label":typeof n==`string`?n:void 0,children:[/*#__PURE__*/ (0,u.jsx)(Qn,{children:n}),r]}))});Ic.displayName=`ComboboxGroup`;const Lc=e=>m.Children.toArray(e).map(e=>/*#__PURE__*/ (0,m.isValidElement)(e)?Lc(e.props.children):String(e)).join(` `),Rc=e=>m.Children.toArray(e).flatMap(e=>/*#__PURE__*/ (0,m.isValidElement)(e)&&e.type===Fc?[e]:/*#__PURE__*/ (0,m.isValidElement)(e)?Rc(e.props.children):[]);let zc;new(vc=(yc=/*#__PURE__*/ new WeakMap,bc=/*#__PURE__*/ new WeakMap,xc=/*#__PURE__*/ new WeakMap,Sc=/*#__PURE__*/ new WeakMap,Cc=class extends (Ec=m.Component){get componentProps(){return this.props}get query(){return(0,n._)(this,yc)}set query(e){(0,i._)(this,yc,e)}get current(){return(0,n._)(this,bc)}set current(e){(0,i._)(this,bc,e)}get visibleOptionCount(){return(0,n._)(this,xc)}set visibleOptionCount(e){(0,i._)(this,xc,e)}get selectedLabel(){return(0,n._)(this,Sc)}set selectedLabel(e){(0,i._)(this,Sc,e)}get values(){var e;let t=(e=this.componentProps.value)==null?this.current:e;return Array.isArray(t)?t:t?[t]:[]}componentDidMount(){var e;this.updateAccessibility(),this.optionObserver=new MutationObserver(this.updateAccessibility);let t=(e=this.menu.current)==null?void 0:e.panel.current;t&&this.optionObserver.observe(t,{childList:!0,subtree:!0,characterData:!0})}componentDidUpdate(){this.updateAccessibility()}componentWillUnmount(){var e;(e=this.optionObserver)==null||e.disconnect()}render(){var e,t,n,r;let i=(e=this.componentProps.as)==null?`div`:e,a=this.componentProps,{as:o,className:f,id:p,name:h,value:g,defaultValue:_,placeholder:v=`Select an item…`,disabled:y,multiple:b,onChange:x,onClick:S,menuClassName:C,children:w,controlSize:T,search:E,searchNormalize:D,searchPlaceholder:O=`Search…`,noResultsText:k=`No results found`,validation:A}=a,j=(0,l._)(a,[`as`,`className`,`id`,`name`,`value`,`defaultValue`,`placeholder`,`disabled`,`multiple`,`onChange`,`onClick`,`menuClassName`,`children`,`controlSize`,`search`,`searchNormalize`,`searchPlaceholder`,`noResultsText`,`validation`]),M=Rc(w).filter(e=>this.values.includes(e.props.value)),N=M.length>0||!!this.selectedLabel,P=b&&M.length>1?`${M.length} selected`:(t=(r=M[0])==null?void 0:r.props.children)==null?this.selectedLabel:t,F=this.visibleOptionCount===0;return/*#__PURE__*/ (0,u.jsxs)(i,(0,c._)((0,s._)({},j),{className:(0,d.default)(`combobox`,f),children:[/*#__PURE__*/ (0,u.jsxs)(G,{ref:this.menu,className:`w-100`,id:p?`${p}-combobox`:void 0,label:/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`span`,{className:(0,d.default)(`combobox-value`,!N&&`combobox-placeholder`),children:N?P:v}),/*#__PURE__*/ (0,u.jsx)(L,{name:`chevron-down`,className:`combobox-caret`})]}),toggleProps:{id:p,className:(0,d.default)(`form-control combobox-toggle`,T&&`form-control-${T}`,A&&`is-${A}`),variant:!1,disabled:y,"aria-haspopup":`listbox`,"aria-label":(n=this.componentProps[`aria-label`])==null?v:n,"aria-labelledby":this.componentProps[`aria-labelledby`],"aria-describedby":this.componentProps[`aria-describedby`],"aria-invalid":A?A===`invalid`:this.componentProps[`aria-invalid`]},autoClose:!b,menuClassName:(0,d.default)(C,`combobox-menu`),onClick:this.handleClick,children:[E&&/*#__PURE__*/ (0,u.jsx)(`div`,{className:`combobox-search`,children:/*#__PURE__*/ (0,u.jsx)(`input`,{type:`search`,className:`form-control combobox-search-input`,"aria-label":O,placeholder:O,autoComplete:`off`,value:this.query,onChange:this.handleSearch})}),m.Children.map(w,this.renderChild),E&&F&&/*#__PURE__*/ (0,u.jsx)(`div`,{className:`combobox-empty`,role:`status`,children:k})]}),this.values.length||b?this.values.map(this.renderHiddenInput):this.renderHiddenInput(``)]}))}constructor(...e){var t;super(...e),(0,r._)(this,yc,{writable:!0,value:(Pc(this),Dc(this,``))}),(0,r._)(this,bc,{writable:!0,value:Oc(this,(t=this.componentProps.defaultValue)==null?this.componentProps.multiple?[]:``:t)}),(0,r._)(this,xc,{writable:!0,value:kc(this,0)}),(0,r._)(this,Sc,{writable:!0,value:Ac(this,``)}),(0,a._)(this,`menu`,/*#__PURE__*/ (0,m.createRef)()),(0,a._)(this,`optionObserver`,void 0),(0,a._)(this,`updateAccessibility`,jc(this,()=>{var e,t,n,r,i,a,o,s;let c=(a=this.menu.current)==null?void 0:a.panel.current,l=[...(e=c==null?void 0:c.querySelectorAll(`[data-bs-value]`))==null?[]:e],u=[],d=0;for(let e of l){var f,p,m,h,g;let t=(f=e.dataset.bsValue)==null?``:f,n=(p=(m=e.dataset.searchText)==null?e.textContent:m)==null?``:p,r=e.dataset.optionHidden!==`true`&&this.normalize(n).includes(this.normalize(this.query)),i=this.values.includes(t);e.setAttribute(`role`,`option`),e.setAttribute(`aria-selected`,String(i)),e.classList.toggle(`selected`,i),e.hidden=!r,e.style.display=r?``:`none`,r&&d++,i&&u.push((h=(g=e.dataset.label)==null?e.textContent:g)==null?``:h)}for(let e of(t=c==null?void 0:c.querySelectorAll(`[role="group"]`))==null?[]:t){let t=[...e.querySelectorAll(`[data-bs-value]`)].some(({hidden:e})=>!e);e.hidden=!t,e.style.display=t?``:`none`}this.visibleOptionCount=d,this.selectedLabel=this.componentProps.multiple&&u.length>1?`${u.length} selected`:(n=u[0])==null?``:n,c==null||c.setAttribute(`role`,`listbox`),c==null||c.setAttribute(`aria-multiselectable`,String(!!this.componentProps.multiple)),c==null||c.setAttribute(`aria-label`,(r=(i=this.componentProps[`aria-label`])==null?this.componentProps.placeholder:i)==null?`Options`:r),(s=this.menu.current)==null||(o=s.trigger.current)==null||o.setAttribute(`aria-haspopup`,`listbox`)})),(0,a._)(this,`setCurrent`,Mc(this,e=>this.current=e)),(0,a._)(this,`handleSearch`,Nc(this,({currentTarget:{value:e}})=>this.query=e)),(0,a._)(this,`handleClick`,e=>{var t,n,r,i,a;(n=(r=this.componentProps).onClick)==null||n.call(r,e);let{target:o,defaultPrevented:s}=e;if(s||this.componentProps.disabled||!(o instanceof Element))return;let c=o.closest(`[data-bs-value]`);if(!c||c.disabled||c.getAttribute(`aria-disabled`)===`true`)return;let l=(t=c.dataset.bsValue)==null?``:t,u=this.componentProps.multiple?this.values.includes(l)?this.values.filter(e=>e!==l):[...this.values,l]:l;(i=(a=this.componentProps).onChange)==null||i.call(a,u),this.componentProps.value===void 0&&this.setCurrent(u)}),(0,a._)(this,`normalize`,e=>{let t=e.toLocaleLowerCase();return this.componentProps.searchNormalize?t.normalize(`NFD`).replace(RegExp(`[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1-\\u05C2\\u05C4-\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7-\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u07FD\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u0897-\\u089F\\u08CA-\\u08E1\\u08E3-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962-\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7-\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2-\\u09E3\\u09FE\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47-\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70-\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2-\\u0AE3\\u0AFA-\\u0AFF\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47-\\u0B48\\u0B4B-\\u0B4D\\u0B55-\\u0B57\\u0B62-\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C04\\u0C3C\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55-\\u0C56\\u0C62-\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5-\\u0CD6\\u0CE2-\\u0CE3\\u0CF3\\u0D00-\\u0D03\\u0D3B-\\u0D3C\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62-\\u0D63\\u0D81-\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2-\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EBC\\u0EC8-\\u0ECE\\u0F18-\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1715\\u1732-\\u1734\\u1752-\\u1753\\u1772-\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u180F\\u1885-\\u1886\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ADD\\u1AE0-\\u1AEB\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF4\\u1CF7-\\u1CF9\\u1DC0-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099-\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69E-\\uA69F\\uA6F0-\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA82C\\uA880-\\uA881\\uA8B4-\\uA8C5\\uA8E0-\\uA8F1\\uA8FF\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C-\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7-\\uAAB8\\uAABE-\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5-\\uAAF6\\uABE3-\\uABEA\\uABEC-\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\u{101FD}\\u{102E0}\\u{10376}-\\u{1037A}\\u{10A01}-\\u{10A03}\\u{10A05}-\\u{10A06}\\u{10A0C}-\\u{10A0F}\\u{10A38}-\\u{10A3A}\\u{10A3F}\\u{10AE5}-\\u{10AE6}\\u{10D24}-\\u{10D27}\\u{10D69}-\\u{10D6D}\\u{10EAB}-\\u{10EAC}\\u{10EFA}-\\u{10EFF}\\u{10F46}-\\u{10F50}\\u{10F82}-\\u{10F85}\\u{11000}-\\u{11002}\\u{11038}-\\u{11046}\\u{11070}\\u{11073}-\\u{11074}\\u{1107F}-\\u{11082}\\u{110B0}-\\u{110BA}\\u{110C2}\\u{11100}-\\u{11102}\\u{11127}-\\u{11134}\\u{11145}-\\u{11146}\\u{11173}\\u{11180}-\\u{11182}\\u{111B3}-\\u{111C0}\\u{111C9}-\\u{111CC}\\u{111CE}-\\u{111CF}\\u{1122C}-\\u{11237}\\u{1123E}\\u{11241}\\u{112DF}-\\u{112EA}\\u{11300}-\\u{11303}\\u{1133B}-\\u{1133C}\\u{1133E}-\\u{11344}\\u{11347}-\\u{11348}\\u{1134B}-\\u{1134D}\\u{11357}\\u{11362}-\\u{11363}\\u{11366}-\\u{1136C}\\u{11370}-\\u{11374}\\u{113B8}-\\u{113C0}\\u{113C2}\\u{113C5}\\u{113C7}-\\u{113CA}\\u{113CC}-\\u{113D0}\\u{113D2}\\u{113E1}-\\u{113E2}\\u{11435}-\\u{11446}\\u{1145E}\\u{114B0}-\\u{114C3}\\u{115AF}-\\u{115B5}\\u{115B8}-\\u{115C0}\\u{115DC}-\\u{115DD}\\u{11630}-\\u{11640}\\u{116AB}-\\u{116B7}\\u{1171D}-\\u{1172B}\\u{1182C}-\\u{1183A}\\u{11930}-\\u{11935}\\u{11937}-\\u{11938}\\u{1193B}-\\u{1193E}\\u{11940}\\u{11942}-\\u{11943}\\u{119D1}-\\u{119D7}\\u{119DA}-\\u{119E0}\\u{119E4}\\u{11A01}-\\u{11A0A}\\u{11A33}-\\u{11A39}\\u{11A3B}-\\u{11A3E}\\u{11A47}\\u{11A51}-\\u{11A5B}\\u{11A8A}-\\u{11A99}\\u{11B60}-\\u{11B67}\\u{11C2F}-\\u{11C36}\\u{11C38}-\\u{11C3F}\\u{11C92}-\\u{11CA7}\\u{11CA9}-\\u{11CB6}\\u{11D31}-\\u{11D36}\\u{11D3A}\\u{11D3C}-\\u{11D3D}\\u{11D3F}-\\u{11D45}\\u{11D47}\\u{11D8A}-\\u{11D8E}\\u{11D90}-\\u{11D91}\\u{11D93}-\\u{11D97}\\u{11EF3}-\\u{11EF6}\\u{11F00}-\\u{11F01}\\u{11F03}\\u{11F34}-\\u{11F3A}\\u{11F3E}-\\u{11F42}\\u{11F5A}\\u{13440}\\u{13447}-\\u{13455}\\u{1611E}-\\u{1612F}\\u{16AF0}-\\u{16AF4}\\u{16B30}-\\u{16B36}\\u{16F4F}\\u{16F51}-\\u{16F87}\\u{16F8F}-\\u{16F92}\\u{16FE4}\\u{16FF0}-\\u{16FF1}\\u{1BC9D}-\\u{1BC9E}\\u{1CF00}-\\u{1CF2D}\\u{1CF30}-\\u{1CF46}\\u{1D165}-\\u{1D169}\\u{1D16D}-\\u{1D172}\\u{1D17B}-\\u{1D182}\\u{1D185}-\\u{1D18B}\\u{1D1AA}-\\u{1D1AD}\\u{1D242}-\\u{1D244}\\u{1DA00}-\\u{1DA36}\\u{1DA3B}-\\u{1DA6C}\\u{1DA75}\\u{1DA84}\\u{1DA9B}-\\u{1DA9F}\\u{1DAA1}-\\u{1DAAF}\\u{1E000}-\\u{1E006}\\u{1E008}-\\u{1E018}\\u{1E01B}-\\u{1E021}\\u{1E023}-\\u{1E024}\\u{1E026}-\\u{1E02A}\\u{1E08F}\\u{1E130}-\\u{1E136}\\u{1E2AE}\\u{1E2EC}-\\u{1E2EF}\\u{1E4EC}-\\u{1E4EF}\\u{1E5EE}-\\u{1E5EF}\\u{1E6E3}\\u{1E6E6}\\u{1E6EE}-\\u{1E6EF}\\u{1E6F5}\\u{1E8D0}-\\u{1E8D6}\\u{1E944}-\\u{1E94A}\\u{E0100}-\\u{E01EF}]`,`gu`),``):t}),(0,a._)(this,`matches`,e=>{var t;return this.normalize((t=e.props.searchText)==null?Lc(e.props.children):t).includes(this.normalize(this.query))}),(0,a._)(this,`renderChild`,e=>{if(!/*#__PURE__*/ (0,m.isValidElement)(e))return e;if(e.type===Fc){let t=e,n=this.values.includes(t.props.value);return/*#__PURE__*/ (0,m.cloneElement)(t,{hidden:t.props.hidden||!this.matches(t),className:(0,d.default)(t.props.className,n&&`selected`),"aria-selected":n,role:`option`})}let t=Rc(e.props.children);return/*#__PURE__*/ (0,m.cloneElement)(e,(0,c._)((0,s._)({},e.type===Ic&&{hidden:!t.some(this.matches)}),{children:m.Children.map(e.props.children,this.renderChild)}))}),(0,a._)(this,`renderHiddenInput`,e=>/*#__PURE__*/ (0,u.jsx)(`input`,{type:`hidden`,name:this.componentProps.name,value:e,disabled:this.componentProps.disabled},e))}},{e:[Dc,Oc,kc,Ac,jc,Mc,Nc,Pc],c:[zc,Tc]}=(0,t._)(Cc,[[f.observable,1,`query`],[f.observable,1,`current`],[f.observable,1,`visibleOptionCount`],[f.observable,1,`selectedLabel`],[f.action,0,`updateAccessibility`],[f.action,0,`setCurrent`],[f.action,0,`handleSearch`]],[p.observer],Ec),Cc),wc=class extends o._{constructor(){super(zc),(0,a._)(this,`displayName`,`Combobox`),Tc()}},(0,a._)(wc,vc,void 0),wc);const Bc={sm:`form-control-sm`,lg:`form-control-lg`},Vc=I(e=>{let{as:t=`input`,className:n,plaintext:r,ghost:i,caret:a,color:o,controlSize:f,validation:p}=e,m=(0,l._)(e,[`as`,`className`,`plaintext`,`ghost`,`caret`,`color`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},m),{"aria-invalid":p?p===`invalid`:m[`aria-invalid`],className:(0,d.default)(i?`form-ghost`:r?`form-control-plaintext`:`form-control`,!i&&a&&`form-control-caret`,!i&&!r&&o&&`form-control-color`,!i&&!r&&f&&Bc[f],p&&`is-${p}`,n)}))});Vc.displayName=`FormControl`;const Hc=I(e=>{let{as:t=`textarea`,className:n,controlSize:r,validation:i}=e,a=(0,l._)(e,[`as`,`className`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{"aria-invalid":i?i===`invalid`:a[`aria-invalid`],className:(0,d.default)(`form-control`,r&&Bc[r],i&&`is-${i}`,n)}))});Hc.displayName=`FormTextArea`;const Uc=I(e=>{let{as:t=`select`,className:n,controlSize:r,validation:i}=e,a=(0,l._)(e,[`as`,`className`,`controlSize`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{"aria-invalid":i?i===`invalid`:a[`aria-invalid`],className:(0,d.default)(`form-control`,r&&Bc[r],i&&`is-${i}`,n)}))});Uc.displayName=`FormSelect`;var Wc=class extends hc{render(){let e=this.props,{as:t,className:n,enhanced:r,inline:i,selectionMode:a,min:o,max:f,options:p,displayMonthsCount:m,selectedDates:h,firstWeekday:g,placement:_,datepickerTheme:v,onDatesChange:y,ghost:b,controlSize:x,validation:S,kind:C=`input`,hostProps:w,leadingIcon:T,forwardedRef:E}=e,D=(0,l._)(e,[`as`,`className`,`enhanced`,`inline`,`selectionMode`,`min`,`max`,`options`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`ghost`,`controlSize`,`validation`,`kind`,`hostProps`,`leadingIcon`,`forwardedRef`]),O=t==null?C===`div`?`div`:`input`:t,k={"data-bs-toggle":r||C!==`input`?`datepicker`:void 0,"data-bs-inline":i||C===`div`||void 0,"data-bs-selection-mode":a,"data-bs-display-months-count":m,"data-bs-selected-dates":h?JSON.stringify(h):void 0,"data-bs-first-weekday":g,"data-bs-placement":_,"data-bs-datepicker-theme":v,"data-bs-date-min":r?o:void 0,"data-bs-date-max":r?f:void 0};if(C===`button`){let{children:e}=w,n=(0,l._)(w,[`children`]);return/*#__PURE__*/ (0,u.jsxs)(R,(0,c._)((0,s._)({as:t},n,k),{ref:this.setRef,children:[T&&/*#__PURE__*/ (0,u.jsx)(L,{name:T}),/*#__PURE__*/ (0,u.jsx)(`span`,{"data-bs-datepicker-display":``,children:e})]}))}return C===`div`?/*#__PURE__*/ (0,u.jsx)(O,(0,c._)((0,s._)({},w,k),{ref:this.setRef})):/*#__PURE__*/ (0,u.jsx)(O,(0,c._)((0,s._)({},D,k),{ref:this.setRef,className:(0,d.default)(b?`form-ghost`:`form-control`,x&&`form-control-${x}`,S&&`is-${S}`,n),"aria-invalid":S?S===`invalid`:D[`aria-invalid`],type:r?`text`:`date`,min:o,max:f}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.options!==this.props.options||e.enhanced!==this.props.enhanced||e.inline!==this.props.inline||e.selectionMode!==this.props.selectionMode||e.displayMonthsCount!==this.props.displayMonthsCount||e.firstWeekday!==this.props.firstWeekday||e.placement!==this.props.placement||e.datepickerTheme!==this.props.datepickerTheme||e.min!==this.props.min||e.max!==this.props.max||JSON.stringify(e.selectedDates)!==JSON.stringify(this.props.selectedDates)),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{enhanced:e,kind:n=`input`}=t.props;if(!e&&n===`input`)return()=>({dispose:()=>void 0});let{ReactDatepicker:r}=yield Promise.resolve().then(()=>require("./DatePickerPlugin-CpGuQRsi.js")),{options:i,inline:a,selectionMode:o,min:c,max:l,displayMonthsCount:u,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m}=t.props,h=(0,s._)({},i,a!==void 0&&{inline:a},o!==void 0&&{selectionMode:o},c!==void 0&&{dateMin:String(c)},l!==void 0&&{dateMax:String(l)},u!==void 0&&{displayMonthsCount:u},d!==void 0&&{selectedDates:d},f!==void 0&&{firstWeekday:f},p!==void 0&&{placement:p},m!==void 0&&{datepickerTheme:m});return e=>{let n=[...e.childNodes],i=r.getOrCreateInstance(e,h);return e.addEventListener(`change.bs.datepicker`,t.handleDatesChange),{dispose:()=>{e.removeEventListener(`change.bs.datepicker`,t.handleDatesChange),i.dispose(),t.props.kind===`div`&&e.replaceChildren(...n)}}}})()),(0,a._)(this,`handleDatesChange`,e=>{var t,n;return(t=(n=this.props).onDatesChange)==null?void 0:t.call(n,e.dates)}),(0,a._)(this,`setRef`,e=>{this.element.current=e;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const Gc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(Wc,(0,c._)((0,s._)({},e),{forwardedRef:t}))));Gc.displayName=`DatePicker`;const Kc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>{let[n,...r]=[e,t],{as:i,options:a,inline:o,selectionMode:s,displayMonthsCount:c,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m,onDatesChange:h,leadingIcon:g}=n,_=(0,l._)(n,[`as`,`options`,`inline`,`selectionMode`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`leadingIcon`]),[v]=r;return/*#__PURE__*/ (0,u.jsx)(Wc,{as:i,kind:`button`,leadingIcon:g,hostProps:_,forwardedRef:v,options:a,inline:o,selectionMode:s,displayMonthsCount:c,selectedDates:d,firstWeekday:f,placement:p,datepickerTheme:m,onDatesChange:h})}));Kc.displayName=`DatePickerButton`;const qc=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>{let[n,...r]=[e,t],{as:i,options:a,selectionMode:o,displayMonthsCount:s,selectedDates:c,firstWeekday:d,placement:f,datepickerTheme:p,onDatesChange:m,inline:h=!0}=n,g=(0,l._)(n,[`as`,`options`,`selectionMode`,`displayMonthsCount`,`selectedDates`,`firstWeekday`,`placement`,`datepickerTheme`,`onDatesChange`,`inline`]),[_]=r;return/*#__PURE__*/ (0,u.jsx)(Wc,{as:i,kind:`div`,hostProps:g,forwardedRef:_,options:a,inline:h,selectionMode:o,displayMonthsCount:s,selectedDates:c,firstWeekday:d,placement:f,datepickerTheme:p,onDatesChange:m})}));qc.displayName=`DatePickerInline`;const Jc=I(e=>{let{as:t=`small`,className:n,block:r}=e,i=(0,l._)(e,[`as`,`className`,`block`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`form-text`,r&&`d-block`,n)}))});Jc.displayName=`FormText`;const Yc=I(e=>{let{as:t=`div`,className:n,type:r=`invalid`,tooltip:i}=e,a=(0,l._)(e,[`as`,`className`,`type`,`tooltip`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)({tooltip:i},i?`${r}-tooltip`:`${r}-feedback`,n)}))});Yc.displayName=`FormFeedback`;const Xc=I(e=>{let{as:t=`form`,className:n,validated:r}=e,i=(0,l._)(e,[`as`,`className`,`validated`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(r&&`was-validated`,n)}))});Xc.displayName=`Form`;const Zc=I(e=>{let{as:t=`div`,className:n,card:r}=e,i=(0,l._)(e,[`as`,`className`,`card`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`form-field`,r&&`form-field-card`,n)}))});Zc.displayName=`FormField`;const Qc=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-group`,n)}))});Qc.displayName=`FormGroup`;const $c=I(e=>{let{as:t=`div`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`form-field-content`,n)}))});$c.displayName=`FormFieldContent`;const el=I(e=>{let{as:t=`label`,className:n,plain:r,column:i,controlSize:a}=e,o=(0,l._)(e,[`as`,`className`,`plain`,`column`,`controlSize`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{className:(0,d.default)(i?`col-form-label`:!r&&`form-label`,i&&a&&`col-form-label-${a}`,n)}))});el.displayName=`FormLabel`;const tl=I(e=>{let{as:t=`label`,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},r),{className:(0,d.default)(`chip-input-label`,n)}))});tl.displayName=`ChipInputLabel`;const nl=I(e=>{let{as:t=`legend`,className:n,column:r,controlSize:i}=e,a=(0,l._)(e,[`as`,`className`,`column`,`controlSize`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(r&&`col-form-label`,r&&i&&`col-form-label-${i}`,n)}))});nl.displayName=`FormLegend`;const rl=e=>/*#__PURE__*/ (0,m.isValidElement)(e)&&(e.type===`label`||e.type===el),il=I(e=>{let{as:t=`div`,className:n,always:r,children:i}=e,a=(0,l._)(e,[`as`,`className`,`always`,`children`]),o=m.Children.toArray(i);return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`form-floating`,r&&`form-floating-always`,n),children:[o.filter(rl),o.filter(e=>!rl(e))]}))});il.displayName=`FormFloatingLabel`;const al=I(e=>{let{as:t=`div`,className:n,size:r}=e,i=(0,l._)(e,[`as`,`className`,`size`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},i),{className:(0,d.default)(`input-group`,r&&`input-group-${r}`,n)}))});al.displayName=`InputGroup`;const ol=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]),i=t==null?typeof r.htmlFor==`string`?`label`:`span`:t;return/*#__PURE__*/ (0,u.jsx)(i,(0,c._)((0,s._)({},r),{className:(0,d.default)(`input-group-text`,n)}))});ol.displayName=`InputGroupText`;const sl=I(e=>{let{as:t,className:n}=e,r=(0,l._)(e,[`as`,`className`]);return/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({as:t},r),{className:(0,d.default)(`input-group-btn`,n)}))});sl.displayName=`InputGroupButton`;const cl=I(e=>{let{as:t,children:n}=e,r=(0,l._)(e,[`as`,`children`]),i=(0,c._)((0,s._)({},n.props,r),{className:(0,d.default)(`input-group-ignore`,n.props.className)});return t?/*#__PURE__*/ (0,m.createElement)(t,i):/*#__PURE__*/ (0,m.cloneElement)(n,i)});cl.displayName=`InputGroupIgnore`;var ll=class extends G{componentDidMount(){var e,t;this.root.current=(e=(t=this.trigger.current)==null?void 0:t.closest(`.input-group`))==null?null:e,super.componentDidMount()}render(){return/*#__PURE__*/ (0,u.jsx)(ul,(0,c._)((0,s._)({},this.props),{owner:this}))}constructor(...e){super(...e),(0,a._)(this,`handlePanelClick`,e=>{var t,n;(t=(n=this.props).onClick)==null||t.call(n,e),e.defaultPrevented||this.handleSelect(e)}),(0,a._)(this,`handleTriggerKeyDown`,this.handleKeyDown),(0,a._)(this,`handleBlur`,e=>{var t,n,r;(t=(n=this.props).onBlur)==null||t.call(n,e);let{autoClose:i=!0}=this.props;!e.defaultPrevented&&i!==!1&&i!==`inside`&&!((r=this.root.current)!=null&&r.contains(e.relatedTarget))&&this.setOpen(!1)})}};(0,a._)(ll,`displayName`,`InputGroupMenu`);const ul=(0,p.observer)(({owner:{open:e,trigger:t,panel:n,handleToggle:r,handleTriggerKeyDown:i,handleBlur:a,handlePanelClick:o,handleKeyDown:l},id:f,label:p,split:m,toggleProps:h,className:g,children:_,align:v=`end`,menuClassName:y})=>{var b;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(R,(0,c._)((0,s._)({},h),{ref:t,className:(0,d.default)(`input-group-btn`,m&&`menu-toggle-split`,h==null?void 0:h.className,g),"aria-label":m?(b=h==null?void 0:h[`aria-label`])==null?`Toggle menu`:b:h==null?void 0:h[`aria-label`],"aria-expanded":e,"aria-controls":f?`${f}-menu`:void 0,onClick:r,onKeyDown:i,onBlur:a,children:p})),/*#__PURE__*/ (0,u.jsx)(`div`,{ref:n,id:f?`${f}-menu`:void 0,className:(0,d.default)(`menu top-100`,v===`end`?`end-0`:`start-0`,e&&`show`,y),hidden:!e,onClick:o,onKeyDown:l,onBlur:a,children:_})]})});var dl=class extends hc{updatePlugin(){var e,t,n,r;let{value:i}=this.props,a=(t=this.element.current)==null?void 0:t.querySelector(`.otp-slots`);a==null||a.classList.add(`min-w-0`,`max-w-100`);for(let t of(e=a==null?void 0:a.querySelectorAll(`.otp-slot`))==null?[]:e)t.classList.add(`min-w-0`);i!==void 0&&((n=this.instance)==null?void 0:n.getValue())!==String(i)&&((r=this.instance)==null||r.setValue(String(i)))}dispose(){var e,t;(e=this.element.current)==null||e.removeEventListener(`complete.bs.otpInput`,this.handleComplete),(t=this.element.current)==null||t.removeEventListener(`input.bs.otpInput`,this.handleValueChange),super.dispose()}render(){let e=this.props,{as:t=`div`,className:n,wrapperClassName:r,length:i,type:a=`numeric`,mask:o,groups:f,separator:p,connected:m,size:h,validation:g,onComplete:_,onValueChange:v,forwardedRef:y,autoComplete:b=`one-time-code`}=e,x=(0,l._)(e,[`as`,`className`,`wrapperClassName`,`length`,`type`,`mask`,`groups`,`separator`,`connected`,`size`,`validation`,`onComplete`,`onValueChange`,`forwardedRef`,`autoComplete`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},this.props.as?x:{}),{ref:this.setRootRef,className:(0,d.default)(`otp min-w-0 max-w-100`,m&&`otp-connected`,h&&`otp-${h}`,g&&`is-${g}`,r),"data-bs-otp":``,"data-bs-length":i,"data-bs-type":a,"data-bs-mask":o||void 0,"data-bs-groups":f?JSON.stringify(f):void 0,"data-bs-separator":p,children:/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},this.props.as?{}:x),{ref:this.props.as?void 0:this.forwardRef,name:x.name,type:`text`,maxLength:i,autoComplete:b,inputMode:a===`numeric`?`numeric`:`text`,"aria-invalid":g?g===`invalid`:x[`aria-invalid`],pattern:a===`numeric`?`[0-9]*`:a===`alpha`?`[A-Za-z]*`:`[A-Za-z0-9]*`,className:(0,d.default)(`otp-input`,n)}))}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.length!==this.props.length||e.type!==this.props.type||e.mask!==this.props.mask||e.separator!==this.props.separator||JSON.stringify(e.groups)!==JSON.stringify(this.props.groups)),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{default:e}=yield import(`bootstrap/js/src/otp-input.js`),{length:n,type:r=`numeric`,mask:i=!1,groups:a=null,separator:o=`·`}=t.props;return s=>(s.addEventListener(`complete.bs.otpInput`,t.handleComplete),s.addEventListener(`input.bs.otpInput`,t.handleValueChange),e.getOrCreateInstance(s,{length:n,type:r,mask:i,groups:a,separator:o}))})()),(0,a._)(this,`handleComplete`,e=>{var t,n;return(t=(n=this.props).onComplete)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`handleValueChange`,e=>{var t,n;return(t=(n=this.props).onValueChange)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`forwardRef`,e=>{let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)}),(0,a._)(this,`setRootRef`,e=>{this.element.current=e,this.props.as&&this.forwardRef(e)})}};const fl=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(dl,(0,c._)((0,s._)({},e),{forwardedRef:t}))));fl.displayName=`OTPInput`;const pl=[`weak`,`fair`,`good`,`strong`];var ml=class extends m.Component{componentDidMount(){this.mounted=!0,this.initialize()}componentDidUpdate(e){e.input!==this.props.input||e.minLength!==this.props.minLength||e.messages!==this.props.messages||e.weights!==this.props.weights||e.thresholds!==this.props.thresholds||e.scorer!==this.props.scorer||e.variant!==this.props.variant||e.strength!==this.props.strength||e.showText!==this.props.showText?(this.dispose(),this.initialize()):this.props.strength===void 0&&this.handleInput()}componentWillUnmount(){this.mounted=!1,this.dispose()}render(){var e,t;let n=this.props,{className:r,input:i,minLength:a,messages:o,weights:f,thresholds:p,scorer:m,forwardedRef:h,variant:g=`segments`,strength:_,showText:v=!0}=n,y=(0,l._)(n,[`className`,`input`,`minLength`,`messages`,`weights`,`thresholds`,`scorer`,`forwardedRef`,`variant`,`strength`,`showText`]),b=g===`bar`,x=_?pl.indexOf(_)+1:0;return/*#__PURE__*/ (0,u.jsxs)(u.Fragment,{children:[/*#__PURE__*/ (0,u.jsx)(`div`,(0,c._)((0,s._)({},y),{ref:this.setMeterRef,className:(0,d.default)(b?`strength-bar`:`strength`,r),"data-bs-strength":_,role:`meter`,"aria-valuemin":0,"aria-valuemax":pl.length,"aria-valuenow":x,"aria-valuetext":_||`Empty`,children:!b&&pl.map((e,t)=>/*#__PURE__*/ (0,u.jsx)(`div`,{className:(0,d.default)(`strength-segment`,t<x&&`active`)},e))})),v&&/*#__PURE__*/ (0,u.jsx)(`span`,{className:`strength-text`,"data-bs-strength":_,children:_&&((e=(t=this.props.messages)==null?void 0:t[_])==null?_:e)})]})}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`meter`,void 0),(0,a._)(this,`instance`,void 0),(0,a._)(this,`instanceElement`,void 0),(0,a._)(this,`passwordInput`,void 0),(0,a._)(this,`mounted`,!1),(0,a._)(this,`revision`,0),(0,a._)(this,`initialize`,()=>(0,N._)(function*(){var e,n,r;let i=++t.revision,a=t.meter;if(!a||t.props.strength!==void 0)return;let{default:o}=yield import(`bootstrap/js/src/strength.js`),{input:c,minLength:l,messages:u,weights:d,thresholds:f,scorer:p}=t.props,m=(0,s._)({},c!==void 0&&{input:c},l!==void 0&&{minLength:l},u!==void 0&&{messages:(0,s._)({},o.Default.messages,u)},d!==void 0&&{weights:d},f!==void 0&&{thresholds:f},p!==void 0&&{scorer:p});t.mounted&&t.meter===a&&i===t.revision&&(t.instanceElement=a,t.instance=o.getOrCreateInstance(a,m),t.passwordInput=typeof c==`string`?document.querySelector(c)||void 0:c||((e=a.parentElement)==null?void 0:e.querySelector(`input[type="password"]`))||void 0,(n=t.passwordInput)==null||n.addEventListener(`input`,t.handleInput),(r=t.passwordInput)==null||r.addEventListener(`change`,t.handleInput),t.handleInput())})()),(0,a._)(this,`handleInput`,()=>{var e;let t=(e=this.instance)==null?void 0:e.getStrength(),n=t?pl.indexOf(t)+1:0,r=this.instanceElement;r==null||r.setAttribute(`aria-valuenow`,String(n)),r==null||r.setAttribute(`aria-valuetext`,t||`Empty`)}),(0,a._)(this,`dispose`,()=>{var e,t,n;this.revision++,(e=this.passwordInput)==null||e.removeEventListener(`input`,this.handleInput),(t=this.passwordInput)==null||t.removeEventListener(`change`,this.handleInput),(n=this.instance)==null||n.dispose(),this.instance=void 0,this.instanceElement=void 0,this.passwordInput=void 0}),(0,a._)(this,`setMeterRef`,e=>{this.meter=e||void 0;let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)})}};const hl=/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(ml,(0,c._)((0,s._)({},e),{forwardedRef:t})));hl.displayName=`PasswordStrength`;const gl=I(e=>{let{as:t=`input`,className:n,size:r,theme:i,validation:a}=e,o=(0,l._)(e,[`as`,`className`,`size`,`theme`,`validation`]);return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},o),{type:`radio`,"aria-invalid":a?a===`invalid`:o[`aria-invalid`],className:(0,d.default)(`radio`,r&&`radio-${r}`,i&&`theme-${i}`,a&&`is-${a}`,n)}))});gl.displayName=`Radio`;const _l=I(e=>{let{as:t,type:n=`checkbox`,indeterminate:r,listGroup:i,className:a}=e,o=(0,l._)(e,[`as`,`type`,`indeterminate`,`listGroup`,`className`]);return n===`checkbox`?/*#__PURE__*/ (0,u.jsx)(uc,(0,c._)((0,s._)({as:t},o),{className:(0,d.default)(i&&`list-group-item-check`,a),indeterminate:r})):/*#__PURE__*/ (0,u.jsx)(gl,(0,c._)((0,s._)({as:t},o),{className:(0,d.default)(i&&`list-group-item-check`,a)}))});_l.displayName=`FormCheck`;var vl=class extends hc{dispose(){var e;(e=this.element.current)==null||e.removeEventListener(`changed.bs.range`,this.handleValueChange),super.dispose()}render(){var e;let t=this.props,{as:n=`div`,className:r,wrapperClassName:i,min:a=0,max:o=100,value:f,defaultValue:p,bubble:m,theme:h,formatter:g,onValueChange:_,forwardedRef:v,validation:y,style:b}=t,x=(0,l._)(t,[`as`,`className`,`wrapperClassName`,`min`,`max`,`value`,`defaultValue`,`bubble`,`theme`,`formatter`,`onValueChange`,`forwardedRef`,`validation`,`style`]),S=Number((e=f==null?p:f)==null?(Number(a)+Number(o))/2:e),C=Number(o)<=Number(a)?0:Math.max(0,Math.min(1,(S-Number(a))/(Number(o)-Number(a))));return/*#__PURE__*/ (0,u.jsx)(n,(0,c._)((0,s._)({},this.props.as?x:{}),{ref:this.setRootRef,className:(0,d.default)(`form-range`,h&&`theme-${h}`,y&&`is-${y}`,i),"data-bs-bubble":m||void 0,style:{"--bs-range-fill":C},children:/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},this.props.as?{}:x),{ref:this.props.as?void 0:this.forwardRef,name:x.name,type:`range`,min:a,max:o,value:f,defaultValue:p,"aria-invalid":y?y===`invalid`:x[`aria-invalid`],className:(0,d.default)(`form-range-input`,y&&`is-${y}`,r),style:b}))}))}constructor(...e){var t;super(...e),t=this,(0,a._)(this,`configurationChanged`,e=>e.bubble!==this.props.bubble||e.formatter!==this.props.formatter||e.list!==this.props.list||e.min!==this.props.min||e.max!==this.props.max),(0,a._)(this,`load`,()=>(0,N._)(function*(){let{default:e}=yield import(`bootstrap/js/src/range.js`),{bubble:n=!1,formatter:r=null}=t.props;return i=>(i.addEventListener(`changed.bs.range`,t.handleValueChange),e.getOrCreateInstance(i,{bubble:n,formatter:r}))})()),(0,a._)(this,`updatePlugin`,()=>{var e;return(e=this.instance)==null?void 0:e.update()}),(0,a._)(this,`handleValueChange`,e=>{var t,n;return(t=(n=this.props).onValueChange)==null?void 0:t.call(n,e.value)}),(0,a._)(this,`forwardRef`,e=>{let{forwardedRef:t}=this.props;typeof t==`function`?t(e):t&&(t.current=e)}),(0,a._)(this,`setRootRef`,e=>{this.element.current=e,this.props.as&&this.forwardRef(e)})}};const yl=I(/*#__PURE__*/ (0,m.forwardRef)((e,t)=>/*#__PURE__*/ (0,u.jsx)(vl,(0,c._)((0,s._)({},e),{forwardedRef:t}))));yl.displayName=`FormRange`;const bl=I(e=>{let{as:t=`label`,id:n,className:r,size:i,theme:a,validation:o,width:f,indicatorWidth:p,inputRef:m,inputId:h,inputClassName:g,inputStyle:_,style:v,children:y}=e,{inputProps:b,rootProps:x}=Oi((0,l._)(e,[`as`,`id`,`className`,`size`,`theme`,`validation`,`width`,`indicatorWidth`,`inputRef`,`inputId`,`inputClassName`,`inputStyle`,`style`,`children`])),{"aria-invalid":S}=b;return/*#__PURE__*/ (0,u.jsxs)(t,(0,c._)((0,s._)({id:n},x),{className:(0,d.default)(`switch`,i&&`switch-${i}`,a&&`theme-${a}`,o&&`is-${o}`,r),style:(0,s._)({"--bs-switch-width":f,"--bs-switch-indicator-width":p},v),children:[/*#__PURE__*/ (0,u.jsx)(`input`,(0,c._)((0,s._)({},b),{ref:m,id:h,role:`switch`,type:`checkbox`,className:(0,d.default)(o&&`is-${o}`,g),style:_,"aria-invalid":o?o===`invalid`:S})),y]}))});bl.displayName=`FormSwitch`;function xl(e){return t=>{t&&new IntersectionObserver(([{isIntersecting:t,target:n}],r)=>{if(!t)return;let i=[`animate__animated`,`animate__${e}`];n.classList.add(...i),n.addEventListener(`animationend`,()=>n.classList.remove(...i),{once:!0}),r.disconnect()}).observe(t)}}const Sl=I(e=>{let{as:t=`div`,aspectRatio:n=`1x1`,className:r,style:i}=e,a=(0,l._)(e,[`as`,`aspectRatio`,`className`,`style`]),o=/^(auto|1x1|4x3|16x9|21x9)$/.test(n),f=o?i==null?{}:i:(0,c._)((0,s._)({},i),{"--bs-ratio":n});return/*#__PURE__*/ (0,u.jsx)(t,(0,c._)((0,s._)({},a),{className:(0,d.default)(`ratio-${o?n:`auto`}`,r),style:f}))});Sl.displayName=`Ratio`,exports.Accordion=ue,exports.AccordionBody=pe,exports.AccordionHeader=fe,exports.AccordionItem=de,Object.defineProperty(exports,"AccordionToggle",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"Alert",{enumerable:!0,get:function(){return V}}),exports.AlertHeading=Ee,exports.AlertLink=Te,exports.Avatar=De,exports.AvatarImage=Oe,exports.AvatarStack=ke,exports.Badge=H,exports.Breadcrumb=je,exports.BreadcrumbDivider=Pe,exports.BreadcrumbItem=Me,exports.BreadcrumbLink=Ne,exports.Button=R,exports.ButtonGroup=Fe,exports.ButtonInput=ne,exports.ButtonToolbar=Ie,exports.Card=Le,exports.CardBody=Ue,exports.CardFooter=We,exports.CardGroup=Be,exports.CardHeader=He,exports.CardImage=Re,exports.CardImageOverlay=Ve,exports.CardSubtitle=ze,exports.CardText=Ke,exports.CardTitle=Ge,Object.defineProperty(exports,"Carousel",{enumerable:!0,get:function(){return gt}}),exports.CarouselSlide=ht,exports.Checkbox=uc,exports.Chip=dc,exports.ChipDismiss=mc,exports.ChipIcon=fc,exports.ChipImage=pc,exports.ChipInput=_c,exports.ChipInputLabel=tl,exports.ClickBoundary=Ii,exports.CloseButton=B,exports.CodeBlock=Ka,exports.Col=$,Object.defineProperty(exports,"Collapse",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(exports,"CollapseToggle",{enumerable:!0,get:function(){return zt}}),Object.defineProperty(exports,"Combobox",{enumerable:!0,get:function(){return zc}}),exports.ComboboxGroup=Ic,exports.ComboboxOption=Fc,exports.Container=Xs,Object.defineProperty(exports,"Countdown",{enumerable:!0,get:function(){return no}}),exports.DatePicker=Gc,exports.DatePickerButton=Kc,exports.DatePickerInline=qc,exports.Dialog=Kt,exports.DialogBody=Wt,exports.DialogBox=lo,exports.DialogBoxClose=oo,exports.DialogFooter=Gt,exports.DialogHeader=Ht,exports.DialogTitle=Ut,Object.defineProperty(exports,"Drawer",{enumerable:!0,get:function(){return cn}}),exports.DrawerBody=an,exports.DrawerFooter=on,exports.DrawerHeader=nn,exports.DrawerTitle=rn,exports.Fade=ln,exports.Figure=Mi,exports.FigureCaption=Pi,exports.FigureImage=Ni,exports.FloatingPosition=W,exports.Form=Xc,exports.FormAdornment=ac,exports.FormAdornmentIcon=sc,exports.FormAdornmentText=oc,exports.FormCheck=_l,exports.FormControl=Vc,exports.FormFeedback=Yc,exports.FormField=Zc,exports.FormFieldContent=$c,exports.FormFloatingLabel=il,exports.FormGhost=cc,exports.FormGroup=Qc,exports.FormLabel=el,exports.FormLegend=nl,exports.FormRange=yl,exports.FormSelect=Uc,exports.FormSwitch=bl,exports.FormText=Jc,exports.FormTextArea=Hc,exports.HorizontalMarquee=uo,exports.HorizontalMarqueeBox=fo,exports.Icon=L,exports.Image=J,exports.InputGroup=al,exports.InputGroupButton=sl,exports.InputGroupIgnore=cl,exports.InputGroupMenu=ll,exports.InputGroupText=ol,exports.ListGroup=un,exports.ListGroupItem=pn,exports.LiveTSX=po,exports.Loading=mo,exports.MarkdownView=ho,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return G}}),exports.MenuDivider=$n,exports.MenuHeader=Qn,exports.MenuItem=qn,exports.MenuItemCheck=Xn,exports.MenuItemContent=er,exports.MenuItemDescription=tr,exports.MenuItemIcon=Yn,exports.MenuPanel=Jn,Object.defineProperty(exports,"MenuSubmenu",{enumerable:!0,get:function(){return nr}}),exports.MenuText=Zn,Object.defineProperty(exports,"MonthCalendar",{enumerable:!0,get:function(){return Io}}),exports.Nameplate=Lo,exports.Nav=K,exports.NavItem=ar,exports.NavLink=or,Object.defineProperty(exports,"NavOverflow",{enumerable:!0,get:function(){return Or}}),exports.Navbar=sr,exports.NavbarBrand=cr,exports.NavbarNav=lr,exports.NavbarText=ur,exports.NavbarToggler=dr,exports.OTPInput=fl,exports.OVERLAY_ARROW_POSITIONS=Tn,exports.OVERLAY_DIRECTIONS=wn,Object.defineProperty(exports,"OverlayBox",{enumerable:!0,get:function(){return Do}}),exports.PageItem=Ar,exports.PageLink=jr,Object.defineProperty(exports,"PageNav",{enumerable:!0,get:function(){return Yo}}),exports.PageText=Mr,exports.Pagination=kr,exports.PasswordStrength=hl,exports.Placeholder=Nr,exports.PlaceholderButton=Pr,exports.Popover=Fr,exports.Progress=Ir,exports.ProgressStack=Lr,exports.Radio=gl,exports.Ratio=Sl,exports.Row=Zs,exports.ScrollNav=cs,Object.defineProperty(exports,"ScrollSpy",{enumerable:!0,get:function(){return Zr}}),Object.defineProperty(exports,"ShareBox",{enumerable:!0,get:function(){return bs}}),exports.Spinner=q,exports.SpinnerButton=xs,exports.SpinnerIcon=Qr,exports.Stack=$r,exports.Stepper=ti,exports.StepperButton=ai,exports.StepperItem=ri,exports.StepperLink=ii,exports.StepperNav=ni,exports.StepperOverflow=oi,exports.Tab=gi,exports.Table=Fi,exports.TableSpinner=Ss,Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function(){return _i}}),exports.TextTruncate=Ps,exports.Time=Q,exports.TimeDistance=Is,exports.Timeline=Ls,exports.Toast=Ei,exports.ToastBody=wi,exports.ToastContainer=xi,exports.ToastHeader=Ci,exports.ToastItem=Si,exports.ToggleButton=ki,exports.Toggler=Ai,exports.Tooltip=ji,exports.TypeEcho=Ys,exports.UserRankView=ec,exports.VariantColors=go,exports.VerticalMarquee=tc,exports.ZodiacBar=ic,exports.ZodiacSigns=nc,exports.animate=xl,exports.elementToImage=ys,exports.polymorphic=I,exports.text2color=_o,exports.zodiacOf=rc;