import{g as Nu,r as b,a as be,R as zl,u as M1,b as im,N as er,O as Cd,B as N1,c as j1,d as kn,e as Ad}from"./@react-router-BYp2nE-h.js";import{_ as z1,a as U1,u as wl,T as Bc,l as B1,Q as F1,b as H1}from"./@libs-D5wV4VoF.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function l(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var rm={exports:{}},ju={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var L1=Symbol.for("react.transitional.element"),V1=Symbol.for("react.fragment");function um(e,t,n){var l=null;if(n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),"key"in t){n={};for(var a in t)a!=="key"&&(n[a]=t[a])}else n=t;return t=n.ref,{$$typeof:L1,type:e,key:l,ref:t!==void 0?t:null,props:n}}ju.Fragment=V1;ju.jsx=um;ju.jsxs=um;rm.exports=ju;var g=rm.exports;const $1="_refreshAnimate_o9fr8_10",q1={refreshAnimate:$1},G1="_searchInput_203nf_28",Y1="_radioWrapper_203nf_40",X1="_searchWrapper_203nf_64",Q1="_searchWrapperFrom_203nf_68",Z1="_searchIcon_203nf_72",K1="_xIcon_203nf_73",J1="_dropDownIcon_203nf_99",me={searchInput:G1,radioWrapper:Y1,searchWrapper:X1,searchWrapperFrom:Q1,searchIcon:Z1,xIcon:K1,dropDownIcon:J1};var om={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(i=a(i,l(u)))}return i}function l(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var r="";for(var u in i)t.call(i,u)&&i[u]&&(r=a(r,u));return r}function a(i,r){return r?i?i+" "+r:i+r:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(om);var k1=om.exports;const G=Nu(k1);function sm(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)!==-1)continue;n[l]=e[l]}return n}function Od(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function I1(e){var t=W1(e,"string");return typeof t=="symbol"?t:String(t)}function W1(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var l=n.call(e,t);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function cm(e,t,n){var l=b.useRef(e!==void 0),a=b.useState(t),i=a[0],r=a[1],u=e!==void 0,o=l.current;return l.current=u,!u&&o&&i!==t&&r(t),[u?e:i,b.useCallback(function(s){for(var c=arguments.length,f=new Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];n&&n.apply(void 0,[s].concat(f)),r(s)},[n])]}function P1(e,t){return Object.keys(t).reduce(function(n,l){var a,i=n,r=i[Od(l)],u=i[l],o=sm(i,[Od(l),l].map(I1)),s=t[l],c=cm(u,r,e[s]),f=c[0],p=c[1];return z1({},o,(a={},a[l]=f,a[s]=p,a))},e)}const eS=["xxl","xl","lg","md","sm","xs"],tS="xs",Ti=b.createContext({prefixes:{},breakpoints:eS,minBreakpoint:tS}),{Consumer:O_,Provider:__}=Ti;function X(e,t){const{prefixes:n}=b.useContext(Ti);return e||n[t]||t}function fm(){const{breakpoints:e}=b.useContext(Ti);return e}function dm(){const{minBreakpoint:e}=b.useContext(Ti);return e}function Fc(){const{dir:e}=b.useContext(Ti);return e==="rtl"}function zu(e){return e&&e.ownerDocument||document}function nS(e){var t=zu(e);return t&&t.defaultView||window}function lS(e,t){return nS(e).getComputedStyle(e,t)}var aS=/([A-Z])/g;function iS(e){return e.replace(aS,"-$1").toLowerCase()}var rS=/^ms-/;function tr(e){return iS(e).replace(rS,"-ms-")}var uS=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function oS(e){return!!(e&&uS.test(e))}function pm(e,t){var n="",l="";if(typeof t=="string")return e.style.getPropertyValue(tr(t))||lS(e).getPropertyValue(tr(t));Object.keys(t).forEach(function(a){var i=t[a];!i&&i!==0?e.style.removeProperty(tr(a)):oS(a)?l+=a+"("+i+") ":n+=tr(a)+": "+i+";"}),l&&(n+="transform: "+l+";"),e.style.cssText+=";"+n}var gm={exports:{}},sS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",cS=sS,fS=cS;function mm(){}function hm(){}hm.resetWarningCache=mm;var dS=function(){function e(l,a,i,r,u,o){if(o!==fS){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hm,resetWarningCache:mm};return n.PropTypes=n,n};gm.exports=dS();var pS=gm.exports;const z=Nu(pS),_d={disabled:!1},vm=be.createContext(null);var gS=function(t){return t.scrollTop},$a="unmounted",Wn="exited",hn="entering",ll="entered",hs="exiting",gn=function(e){U1(t,e);function t(l,a){var i;i=e.call(this,l,a)||this;var r=a,u=r&&!r.isMounting?l.enter:l.appear,o;return i.appearStatus=null,l.in?u?(o=Wn,i.appearStatus=hn):o=ll:l.unmountOnExit||l.mountOnEnter?o=$a:o=Wn,i.state={status:o},i.nextCallback=null,i}t.getDerivedStateFromProps=function(a,i){var r=a.in;return r&&i.status===$a?{status:Wn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var i=null;if(a!==this.props){var r=this.state.status;this.props.in?r!==hn&&r!==ll&&(i=hn):(r===hn||r===ll)&&(i=hs)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,i,r,u;return i=r=u=a,a!=null&&typeof a!="number"&&(i=a.exit,r=a.enter,u=a.appear!==void 0?a.appear:r),{exit:i,enter:r,appear:u}},n.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===hn){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:zl.findDOMNode(this);r&&gS(r)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wn&&this.setState({status:$a})},n.performEnter=function(a){var i=this,r=this.props.enter,u=this.context?this.context.isMounting:a,o=this.props.nodeRef?[u]:[zl.findDOMNode(this),u],s=o[0],c=o[1],f=this.getTimeouts(),p=u?f.appear:f.enter;if(!a&&!r||_d.disabled){this.safeSetState({status:ll},function(){i.props.onEntered(s)});return}this.props.onEnter(s,c),this.safeSetState({status:hn},function(){i.props.onEntering(s,c),i.onTransitionEnd(p,function(){i.safeSetState({status:ll},function(){i.props.onEntered(s,c)})})})},n.performExit=function(){var a=this,i=this.props.exit,r=this.getTimeouts(),u=this.props.nodeRef?void 0:zl.findDOMNode(this);if(!i||_d.disabled){this.safeSetState({status:Wn},function(){a.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:hs},function(){a.props.onExiting(u),a.onTransitionEnd(r.exit,function(){a.safeSetState({status:Wn},function(){a.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},n.setNextCallback=function(a){var i=this,r=!0;return this.nextCallback=function(u){r&&(r=!1,i.nextCallback=null,a(u))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(a,i){this.setNextCallback(i);var r=this.props.nodeRef?this.props.nodeRef.current:zl.findDOMNode(this),u=a==null&&!this.props.addEndListener;if(!r||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=o[0],c=o[1];this.props.addEndListener(s,c)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===$a)return null;var i=this.props,r=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var u=sm(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return be.createElement(vm.Provider,{value:null},typeof r=="function"?r(a,u):be.cloneElement(be.Children.only(r),u))},t}(be.Component);gn.contextType=vm;gn.propTypes={};function Ol(){}gn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ol,onEntering:Ol,onEntered:Ol,onExit:Ol,onExiting:Ol,onExited:Ol};gn.UNMOUNTED=$a;gn.EXITED=Wn;gn.ENTERING=hn;gn.ENTERED=ll;gn.EXITING=hs;function mS(e){return e.code==="Escape"||e.keyCode===27}function hS(){const e=b.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Di(e){if(!e||typeof e=="function")return null;const{major:t}=hS();return t>=19?e.props.ref:e.ref}const Hc=!!(typeof window<"u"&&window.document&&window.document.createElement);var vs=!1,ys=!1;try{var yo={get passive(){return vs=!0},get once(){return ys=vs=!0}};Hc&&(window.addEventListener("test",yo,yo),window.removeEventListener("test",yo,!0))}catch{}function ym(e,t,n,l){if(l&&typeof l!="boolean"&&!ys){var a=l.once,i=l.capture,r=n;!ys&&a&&(r=n.__once||function u(o){this.removeEventListener(t,u,i),n.call(this,o)},n.__once=r),e.addEventListener(t,r,vs?l:i)}e.addEventListener(t,n,l)}function vS(e,t,n,l){var a=l&&typeof l!="boolean"?l.capture:l;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)}function al(e,t,n,l){return ym(e,t,n,l),function(){vS(e,t,n,l)}}function yS(e,t,n,l){if(l===void 0&&(l=!0),e){var a=document.createEvent("HTMLEvents");a.initEvent(t,n,l),e.dispatchEvent(a)}}function SS(e){var t=pm(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function xS(e,t,n){n===void 0&&(n=5);var l=!1,a=setTimeout(function(){l||yS(e,"transitionend",!0)},t+n),i=al(e,"transitionend",function(){l=!0},{once:!0});return function(){clearTimeout(a),i()}}function wS(e,t,n,l){n==null&&(n=SS(e)||0);var a=xS(e,n,l),i=al(e,"transitionend",t);return function(){a(),i()}}function Td(e,t){const n=pm(e,t)||"",l=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*l}function bS(e,t){const n=Td(e,"transitionDuration"),l=Td(e,"transitionDelay"),a=wS(e,i=>{i.target===e&&(a(),t(i))},n+l)}function ES(e){e.offsetHeight}const Dd=e=>!e||typeof e=="function"?e:t=>{e.current=t};function RS(e,t){const n=Dd(e),l=Dd(t);return a=>{n&&n(a),l&&l(a)}}function Mi(e,t){return b.useMemo(()=>RS(e,t),[e,t])}function Xr(e){return e&&"setState"in e?zl.findDOMNode(e):e??null}const Sm=be.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:l,onExiting:a,onExited:i,addEndListener:r,children:u,childRef:o,...s},c)=>{const f=b.useRef(null),p=Mi(f,o),d=A=>{p(Xr(A))},m=A=>R=>{A&&f.current&&A(f.current,R)},S=b.useCallback(m(e),[e]),x=b.useCallback(m(t),[t]),v=b.useCallback(m(n),[n]),h=b.useCallback(m(l),[l]),y=b.useCallback(m(a),[a]),w=b.useCallback(m(i),[i]),E=b.useCallback(m(r),[r]);return g.jsx(gn,{ref:c,...s,onEnter:S,onEntered:v,onEntering:x,onExit:h,onExited:w,onExiting:y,addEndListener:E,nodeRef:f,children:typeof u=="function"?(A,R)=>u(A,{...R,ref:d}):be.cloneElement(u,{ref:d})})});Sm.displayName="TransitionWrapper";function CS(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e},[e]),t}function xm(e){const t=CS(e);return b.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const wm=e=>b.forwardRef((t,n)=>g.jsx("div",{...t,ref:n,className:G(t.className,e)}));function Ss(){return b.useState(null)}function AS(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e},[e]),t}function Dt(e){const t=AS(e);return b.useCallback(function(...n){return t.current&&t.current(...n)},[t])}function OS(e,t,n,l=!1){const a=Dt(n);b.useEffect(()=>{const i=typeof e=="function"?e():e;return i.addEventListener(t,a,l),()=>i.removeEventListener(t,a,l)},[e])}function _S(){const e=b.useRef(!0),t=b.useRef(()=>e.current);return b.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function TS(e){const t=b.useRef(null);return b.useEffect(()=>{t.current=e}),t.current}const DS=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",MS=typeof document<"u",Md=MS||DS?b.useLayoutEffect:b.useEffect,NS=["as","disabled"];function jS(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}function zS(e){return!e||e.trim()==="#"}function Lc({tagName:e,disabled:t,href:n,target:l,rel:a,role:i,onClick:r,tabIndex:u=0,type:o}){e||(n!=null||l!=null||a!=null?e="a":e="button");const s={tagName:e};if(e==="button")return[{type:o||"button",disabled:t},s];const c=p=>{if((t||e==="a"&&zS(n))&&p.preventDefault(),t){p.stopPropagation();return}r==null||r(p)},f=p=>{p.key===" "&&(p.preventDefault(),c(p))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:i??"button",disabled:void 0,tabIndex:t?void 0:u,href:n,target:e==="a"?l:void 0,"aria-disabled":t||void 0,rel:e==="a"?a:void 0,onClick:c,onKeyDown:f},s]}const bm=b.forwardRef((e,t)=>{let{as:n,disabled:l}=e,a=jS(e,NS);const[i,{tagName:r}]=Lc(Object.assign({tagName:n,disabled:l},a));return g.jsx(r,Object.assign({},a,i,{ref:t}))});bm.displayName="Button";const US=["onKeyDown"];function BS(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}function FS(e){return!e||e.trim()==="#"}const Em=b.forwardRef((e,t)=>{let{onKeyDown:n}=e,l=BS(e,US);const[a]=Lc(Object.assign({tagName:"a"},l)),i=Dt(r=>{a.onKeyDown(r),n==null||n(r)});return FS(l.href)||l.role==="button"?g.jsx("a",Object.assign({ref:t},l,a,{onKeyDown:i})):g.jsx("a",Object.assign({ref:t},l,{onKeyDown:n}))});Em.displayName="Anchor";const HS={[hn]:"show",[ll]:"show"},xs=b.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:l,...a},i)=>{const r={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...a},u=b.useCallback((o,s)=>{ES(o),l==null||l(o,s)},[l]);return g.jsx(Sm,{ref:i,addEndListener:bS,...r,onEnter:u,childRef:Di(t),children:(o,s)=>b.cloneElement(t,{...s,className:G("fade",e,t.props.className,HS[o],n[o])})})});xs.displayName="Fade";const nt=b.forwardRef(({bsPrefix:e,bg:t="primary",pill:n=!1,text:l,className:a,as:i="span",...r},u)=>{const o=X(e,"badge");return g.jsx(i,{ref:u,...r,className:G(a,o,n&&"rounded-pill",l&&`text-${l}`,t&&`bg-${t}`)})});nt.displayName="Badge";const Ye=b.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:l,active:a=!1,disabled:i=!1,className:r,...u},o)=>{const s=X(t,"btn"),[c,{tagName:f}]=Lc({tagName:e,disabled:i,...u}),p=f;return g.jsx(p,{...c,...u,ref:o,disabled:i,className:G(r,s,a&&"active",n&&`${s}-${n}`,l&&`${s}-${l}`,u.href&&i&&"disabled")})});Ye.displayName="Button";const Ka=b.forwardRef(({bsPrefix:e,size:t,vertical:n=!1,className:l,role:a="group",as:i="div",...r},u)=>{const o=X(e,"btn-group");let s=o;return n&&(s=`${o}-vertical`),g.jsx(i,{...r,ref:u,role:a,className:G(l,s,t&&`${o}-${t}`)})});Ka.displayName="ButtonGroup";const Rm=b.forwardRef(({bsPrefix:e,className:t,role:n="toolbar",...l},a)=>{const i=X(e,"btn-toolbar");return g.jsx("div",{...l,ref:a,className:G(t,i),role:n})});Rm.displayName="ButtonToolbar";const Vc=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"card-body"),g.jsx(n,{ref:a,className:G(e,t),...l})));Vc.displayName="CardBody";const Cm=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"card-footer"),g.jsx(n,{ref:a,className:G(e,t),...l})));Cm.displayName="CardFooter";const Am=b.createContext(null);Am.displayName="CardHeaderContext";const Om=b.forwardRef(({bsPrefix:e,className:t,as:n="div",...l},a)=>{const i=X(e,"card-header"),r=b.useMemo(()=>({cardHeaderBsPrefix:i}),[i]);return g.jsx(Am.Provider,{value:r,children:g.jsx(n,{ref:a,...l,className:G(t,i)})})});Om.displayName="CardHeader";const _m=b.forwardRef(({bsPrefix:e,className:t,variant:n,as:l="img",...a},i)=>{const r=X(e,"card-img");return g.jsx(l,{ref:i,className:G(n?`${r}-${n}`:r,t),...a})});_m.displayName="CardImg";const Tm=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"card-img-overlay"),g.jsx(n,{ref:a,className:G(e,t),...l})));Tm.displayName="CardImgOverlay";const Dm=b.forwardRef(({className:e,bsPrefix:t,as:n="a",...l},a)=>(t=X(t,"card-link"),g.jsx(n,{ref:a,className:G(e,t),...l})));Dm.displayName="CardLink";const LS=wm("h6"),Mm=b.forwardRef(({className:e,bsPrefix:t,as:n=LS,...l},a)=>(t=X(t,"card-subtitle"),g.jsx(n,{ref:a,className:G(e,t),...l})));Mm.displayName="CardSubtitle";const Nm=b.forwardRef(({className:e,bsPrefix:t,as:n="p",...l},a)=>(t=X(t,"card-text"),g.jsx(n,{ref:a,className:G(e,t),...l})));Nm.displayName="CardText";const VS=wm("h5"),jm=b.forwardRef(({className:e,bsPrefix:t,as:n=VS,...l},a)=>(t=X(t,"card-title"),g.jsx(n,{ref:a,className:G(e,t),...l})));jm.displayName="CardTitle";const zm=b.forwardRef(({bsPrefix:e,className:t,bg:n,text:l,border:a,body:i=!1,children:r,as:u="div",...o},s)=>{const c=X(e,"card");return g.jsx(u,{ref:s,...o,className:G(t,c,n&&`bg-${n}`,l&&`text-${l}`,a&&`border-${a}`),children:i?g.jsx(Vc,{children:r}):r})});zm.displayName="Card";const nr=Object.assign(zm,{Img:_m,Title:jm,Subtitle:Mm,Body:Vc,Link:Dm,Text:Nm,Header:Om,Footer:Cm,ImgOverlay:Tm});function $S(){const e=b.useRef(!0),t=b.useRef(()=>e.current);return b.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function qS(e){const t=b.useRef(e);return t.current=e,t}function GS(e){const t=qS(e);b.useEffect(()=>()=>t.current(),[])}const ws=2**31-1;function Um(e,t,n){const l=n-Date.now();e.current=l<=ws?setTimeout(t,l):setTimeout(()=>Um(e,t,n),ws)}function YS(){const e=$S(),t=b.useRef();return GS(()=>clearTimeout(t.current)),b.useMemo(()=>{const n=()=>clearTimeout(t.current);function l(a,i=0){e()&&(n(),i<=ws?t.current=setTimeout(a,i):Um(t,a,Date.now()+i))}return{set:l,clear:n,handleRef:t}},[])}function XS(e,t){let n=0;return b.Children.map(e,l=>b.isValidElement(l)?t(l,n++):l)}function QS(e,t){return b.Children.toArray(e).some(n=>b.isValidElement(n)&&n.type===t)}function ZS({as:e,bsPrefix:t,className:n,...l}){t=X(t,"col");const a=fm(),i=dm(),r=[],u=[];return a.forEach(o=>{const s=l[o];delete l[o];let c,f,p;typeof s=="object"&&s!=null?{span:c,offset:f,order:p}=s:c=s;const d=o!==i?`-${o}`:"";c&&r.push(c===!0?`${t}${d}`:`${t}${d}-${c}`),p!=null&&u.push(`order${d}-${p}`),f!=null&&u.push(`offset${d}-${f}`)}),[{...l,className:G(n,...r,...u)},{as:e,bsPrefix:t,spans:r}]}const Ul=b.forwardRef((e,t)=>{const[{className:n,...l},{as:a="div",bsPrefix:i,spans:r}]=ZS(e);return g.jsx(a,{...l,ref:t,className:G(n,!r.length&&i)})});Ul.displayName="Col";var KS=Function.prototype.bind.call(Function.prototype.call,[].slice);function Nd(e,t){return KS(e.querySelectorAll(t))}function JS(e,t,n){const l=b.useRef(e!==void 0),[a,i]=b.useState(t),r=e!==void 0,u=l.current;return l.current=r,!r&&u&&a!==t&&i(t),[r?e:a,b.useCallback((...o)=>{const[s,...c]=o;let f=n==null?void 0:n(s,...c);return i(s),f},[n])]}function kS(){const[,e]=b.useReducer(t=>t+1,0);return e}const Uu=b.createContext(null);var jd=Object.prototype.hasOwnProperty;function zd(e,t,n){for(n of e.keys())if(Ja(n,t))return n}function Ja(e,t){var n,l,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((l=e.length)===t.length)for(;l--&&Ja(e[l],t[l]););return l===-1}if(n===Set){if(e.size!==t.size)return!1;for(l of e)if(a=l,a&&typeof a=="object"&&(a=zd(t,a),!a)||!t.has(a))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(l of e)if(a=l[0],a&&typeof a=="object"&&(a=zd(t,a),!a)||!Ja(l[1],t.get(a)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((l=e.byteLength)===t.byteLength)for(;l--&&e.getInt8(l)===t.getInt8(l););return l===-1}if(ArrayBuffer.isView(e)){if((l=e.byteLength)===t.byteLength)for(;l--&&e[l]===t[l];);return l===-1}if(!n||typeof e=="object"){l=0;for(n in e)if(jd.call(e,n)&&++l&&!jd.call(t,n)||!(n in t)||!Ja(e[n],t[n]))return!1;return Object.keys(t).length===l}}return e!==e&&t!==t}function IS(e){const t=_S();return[e[0],b.useCallback(n=>{if(t())return e[1](n)},[t,e[1]])]}var Qe="top",Ct="bottom",At="right",Ze="left",$c="auto",Ni=[Qe,Ct,At,Ze],ra="start",di="end",WS="clippingParents",Bm="viewport",Ma="popper",PS="reference",Ud=Ni.reduce(function(e,t){return e.concat([t+"-"+ra,t+"-"+di])},[]),Fm=[].concat(Ni,[$c]).reduce(function(e,t){return e.concat([t,t+"-"+ra,t+"-"+di])},[]),ex="beforeRead",tx="read",nx="afterRead",lx="beforeMain",ax="main",ix="afterMain",rx="beforeWrite",ux="write",ox="afterWrite",sx=[ex,tx,nx,lx,ax,ix,rx,ux,ox];function Lt(e){return e.split("-")[0]}function st(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function gl(e){var t=st(e).Element;return e instanceof t||e instanceof Element}function Vt(e){var t=st(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qc(e){if(typeof ShadowRoot>"u")return!1;var t=st(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ul=Math.max,Qr=Math.min,ua=Math.round;function bs(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Hm(){return!/^((?!chrome|android).)*safari/i.test(bs())}function oa(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var l=e.getBoundingClientRect(),a=1,i=1;t&&Vt(e)&&(a=e.offsetWidth>0&&ua(l.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ua(l.height)/e.offsetHeight||1);var r=gl(e)?st(e):window,u=r.visualViewport,o=!Hm()&&n,s=(l.left+(o&&u?u.offsetLeft:0))/a,c=(l.top+(o&&u?u.offsetTop:0))/i,f=l.width/a,p=l.height/i;return{width:f,height:p,top:c,right:s+f,bottom:c+p,left:s,x:s,y:c}}function Gc(e){var t=oa(e),n=e.offsetWidth,l=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:l}}function Lm(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qc(n)){var l=t;do{if(l&&e.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function Ln(e){return e?(e.nodeName||"").toLowerCase():null}function un(e){return st(e).getComputedStyle(e)}function cx(e){return["table","td","th"].indexOf(Ln(e))>=0}function Xn(e){return((gl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bu(e){return Ln(e)==="html"?e:e.assignedSlot||e.parentNode||(qc(e)?e.host:null)||Xn(e)}function Bd(e){return!Vt(e)||un(e).position==="fixed"?null:e.offsetParent}function fx(e){var t=/firefox/i.test(bs()),n=/Trident/i.test(bs());if(n&&Vt(e)){var l=un(e);if(l.position==="fixed")return null}var a=Bu(e);for(qc(a)&&(a=a.host);Vt(a)&&["html","body"].indexOf(Ln(a))<0;){var i=un(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ji(e){for(var t=st(e),n=Bd(e);n&&cx(n)&&un(n).position==="static";)n=Bd(n);return n&&(Ln(n)==="html"||Ln(n)==="body"&&un(n).position==="static")?t:n||fx(e)||t}function Yc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ka(e,t,n){return ul(e,Qr(t,n))}function dx(e,t,n){var l=ka(e,t,n);return l>n?n:l}function Vm(){return{top:0,right:0,bottom:0,left:0}}function $m(e){return Object.assign({},Vm(),e)}function qm(e,t){return t.reduce(function(n,l){return n[l]=e,n},{})}var px=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,$m(typeof t!="number"?t:qm(t,Ni))};function gx(e){var t,n=e.state,l=e.name,a=e.options,i=n.elements.arrow,r=n.modifiersData.popperOffsets,u=Lt(n.placement),o=Yc(u),s=[Ze,At].indexOf(u)>=0,c=s?"height":"width";if(!(!i||!r)){var f=px(a.padding,n),p=Gc(i),d=o==="y"?Qe:Ze,m=o==="y"?Ct:At,S=n.rects.reference[c]+n.rects.reference[o]-r[o]-n.rects.popper[c],x=r[o]-n.rects.reference[o],v=ji(i),h=v?o==="y"?v.clientHeight||0:v.clientWidth||0:0,y=S/2-x/2,w=f[d],E=h-p[c]-f[m],A=h/2-p[c]/2+y,R=ka(w,A,E),D=o;n.modifiersData[l]=(t={},t[D]=R,t.centerOffset=R-A,t)}}function mx(e){var t=e.state,n=e.options,l=n.element,a=l===void 0?"[data-popper-arrow]":l;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Lm(t.elements.popper,a)&&(t.elements.arrow=a))}const hx={name:"arrow",enabled:!0,phase:"main",fn:gx,effect:mx,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sa(e){return e.split("-")[1]}var vx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yx(e,t){var n=e.x,l=e.y,a=t.devicePixelRatio||1;return{x:ua(n*a)/a||0,y:ua(l*a)/a||0}}function Fd(e){var t,n=e.popper,l=e.popperRect,a=e.placement,i=e.variation,r=e.offsets,u=e.position,o=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,f=e.isFixed,p=r.x,d=p===void 0?0:p,m=r.y,S=m===void 0?0:m,x=typeof c=="function"?c({x:d,y:S}):{x:d,y:S};d=x.x,S=x.y;var v=r.hasOwnProperty("x"),h=r.hasOwnProperty("y"),y=Ze,w=Qe,E=window;if(s){var A=ji(n),R="clientHeight",D="clientWidth";if(A===st(n)&&(A=Xn(n),un(A).position!=="static"&&u==="absolute"&&(R="scrollHeight",D="scrollWidth")),A=A,a===Qe||(a===Ze||a===At)&&i===di){w=Ct;var M=f&&A===E&&E.visualViewport?E.visualViewport.height:A[R];S-=M-l.height,S*=o?1:-1}if(a===Ze||(a===Qe||a===Ct)&&i===di){y=At;var N=f&&A===E&&E.visualViewport?E.visualViewport.width:A[D];d-=N-l.width,d*=o?1:-1}}var j=Object.assign({position:u},s&&vx),F=c===!0?yx({x:d,y:S},st(n)):{x:d,y:S};if(d=F.x,S=F.y,o){var U;return Object.assign({},j,(U={},U[w]=h?"0":"",U[y]=v?"0":"",U.transform=(E.devicePixelRatio||1)<=1?"translate("+d+"px, "+S+"px)":"translate3d("+d+"px, "+S+"px, 0)",U))}return Object.assign({},j,(t={},t[w]=h?S+"px":"",t[y]=v?d+"px":"",t.transform="",t))}function Sx(e){var t=e.state,n=e.options,l=n.gpuAcceleration,a=l===void 0?!0:l,i=n.adaptive,r=i===void 0?!0:i,u=n.roundOffsets,o=u===void 0?!0:u,s={placement:Lt(t.placement),variation:sa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Fd(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Fd(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const xx={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Sx,data:{}};var lr={passive:!0};function wx(e){var t=e.state,n=e.instance,l=e.options,a=l.scroll,i=a===void 0?!0:a,r=l.resize,u=r===void 0?!0:r,o=st(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&s.forEach(function(c){c.addEventListener("scroll",n.update,lr)}),u&&o.addEventListener("resize",n.update,lr),function(){i&&s.forEach(function(c){c.removeEventListener("scroll",n.update,lr)}),u&&o.removeEventListener("resize",n.update,lr)}}const bx={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wx,data:{}};var Ex={left:"right",right:"left",bottom:"top",top:"bottom"};function Cr(e){return e.replace(/left|right|bottom|top/g,function(t){return Ex[t]})}var Rx={start:"end",end:"start"};function Hd(e){return e.replace(/start|end/g,function(t){return Rx[t]})}function Xc(e){var t=st(e),n=t.pageXOffset,l=t.pageYOffset;return{scrollLeft:n,scrollTop:l}}function Qc(e){return oa(Xn(e)).left+Xc(e).scrollLeft}function Cx(e,t){var n=st(e),l=Xn(e),a=n.visualViewport,i=l.clientWidth,r=l.clientHeight,u=0,o=0;if(a){i=a.width,r=a.height;var s=Hm();(s||!s&&t==="fixed")&&(u=a.offsetLeft,o=a.offsetTop)}return{width:i,height:r,x:u+Qc(e),y:o}}function Ax(e){var t,n=Xn(e),l=Xc(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=ul(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),r=ul(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-l.scrollLeft+Qc(e),o=-l.scrollTop;return un(a||n).direction==="rtl"&&(u+=ul(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:r,x:u,y:o}}function Zc(e){var t=un(e),n=t.overflow,l=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+l)}function Gm(e){return["html","body","#document"].indexOf(Ln(e))>=0?e.ownerDocument.body:Vt(e)&&Zc(e)?e:Gm(Bu(e))}function Ia(e,t){var n;t===void 0&&(t=[]);var l=Gm(e),a=l===((n=e.ownerDocument)==null?void 0:n.body),i=st(l),r=a?[i].concat(i.visualViewport||[],Zc(l)?l:[]):l,u=t.concat(r);return a?u:u.concat(Ia(Bu(r)))}function Es(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ox(e,t){var n=oa(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ld(e,t,n){return t===Bm?Es(Cx(e,n)):gl(t)?Ox(t,n):Es(Ax(Xn(e)))}function _x(e){var t=Ia(Bu(e)),n=["absolute","fixed"].indexOf(un(e).position)>=0,l=n&&Vt(e)?ji(e):e;return gl(l)?t.filter(function(a){return gl(a)&&Lm(a,l)&&Ln(a)!=="body"}):[]}function Tx(e,t,n,l){var a=t==="clippingParents"?_x(e):[].concat(t),i=[].concat(a,[n]),r=i[0],u=i.reduce(function(o,s){var c=Ld(e,s,l);return o.top=ul(c.top,o.top),o.right=Qr(c.right,o.right),o.bottom=Qr(c.bottom,o.bottom),o.left=ul(c.left,o.left),o},Ld(e,r,l));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Ym(e){var t=e.reference,n=e.element,l=e.placement,a=l?Lt(l):null,i=l?sa(l):null,r=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,o;switch(a){case Qe:o={x:r,y:t.y-n.height};break;case Ct:o={x:r,y:t.y+t.height};break;case At:o={x:t.x+t.width,y:u};break;case Ze:o={x:t.x-n.width,y:u};break;default:o={x:t.x,y:t.y}}var s=a?Yc(a):null;if(s!=null){var c=s==="y"?"height":"width";switch(i){case ra:o[s]=o[s]-(t[c]/2-n[c]/2);break;case di:o[s]=o[s]+(t[c]/2-n[c]/2);break}}return o}function pi(e,t){t===void 0&&(t={});var n=t,l=n.placement,a=l===void 0?e.placement:l,i=n.strategy,r=i===void 0?e.strategy:i,u=n.boundary,o=u===void 0?WS:u,s=n.rootBoundary,c=s===void 0?Bm:s,f=n.elementContext,p=f===void 0?Ma:f,d=n.altBoundary,m=d===void 0?!1:d,S=n.padding,x=S===void 0?0:S,v=$m(typeof x!="number"?x:qm(x,Ni)),h=p===Ma?PS:Ma,y=e.rects.popper,w=e.elements[m?h:p],E=Tx(gl(w)?w:w.contextElement||Xn(e.elements.popper),o,c,r),A=oa(e.elements.reference),R=Ym({reference:A,element:y,placement:a}),D=Es(Object.assign({},y,R)),M=p===Ma?D:A,N={top:E.top-M.top+v.top,bottom:M.bottom-E.bottom+v.bottom,left:E.left-M.left+v.left,right:M.right-E.right+v.right},j=e.modifiersData.offset;if(p===Ma&&j){var F=j[a];Object.keys(N).forEach(function(U){var Q=[At,Ct].indexOf(U)>=0?1:-1,I=[Qe,Ct].indexOf(U)>=0?"y":"x";N[U]+=F[I]*Q})}return N}function Dx(e,t){t===void 0&&(t={});var n=t,l=n.placement,a=n.boundary,i=n.rootBoundary,r=n.padding,u=n.flipVariations,o=n.allowedAutoPlacements,s=o===void 0?Fm:o,c=sa(l),f=c?u?Ud:Ud.filter(function(m){return sa(m)===c}):Ni,p=f.filter(function(m){return s.indexOf(m)>=0});p.length===0&&(p=f);var d=p.reduce(function(m,S){return m[S]=pi(e,{placement:S,boundary:a,rootBoundary:i,padding:r})[Lt(S)],m},{});return Object.keys(d).sort(function(m,S){return d[m]-d[S]})}function Mx(e){if(Lt(e)===$c)return[];var t=Cr(e);return[Hd(e),t,Hd(t)]}function Nx(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,r=n.altAxis,u=r===void 0?!0:r,o=n.fallbackPlacements,s=n.padding,c=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,m=d===void 0?!0:d,S=n.allowedAutoPlacements,x=t.options.placement,v=Lt(x),h=v===x,y=o||(h||!m?[Cr(x)]:Mx(x)),w=[x].concat(y).reduce(function(Re,Fe){return Re.concat(Lt(Fe)===$c?Dx(t,{placement:Fe,boundary:c,rootBoundary:f,padding:s,flipVariations:m,allowedAutoPlacements:S}):Fe)},[]),E=t.rects.reference,A=t.rects.popper,R=new Map,D=!0,M=w[0],N=0;N<w.length;N++){var j=w[N],F=Lt(j),U=sa(j)===ra,Q=[Qe,Ct].indexOf(F)>=0,I=Q?"width":"height",_=pi(t,{placement:j,boundary:c,rootBoundary:f,altBoundary:p,padding:s}),B=Q?U?At:Ze:U?Ct:Qe;E[I]>A[I]&&(B=Cr(B));var H=Cr(B),Z=[];if(i&&Z.push(_[F]<=0),u&&Z.push(_[B]<=0,_[H]<=0),Z.every(function(Re){return Re})){M=j,D=!1;break}R.set(j,Z)}if(D)for(var K=m?3:1,se=function(Fe){var Da=w.find(function(Wi){var Kn=R.get(Wi);if(Kn)return Kn.slice(0,Fe).every(function(mo){return mo})});if(Da)return M=Da,"break"},Me=K;Me>0;Me--){var pt=se(Me);if(pt==="break")break}t.placement!==M&&(t.modifiersData[l]._skip=!0,t.placement=M,t.reset=!0)}}const jx={name:"flip",enabled:!0,phase:"main",fn:Nx,requiresIfExists:["offset"],data:{_skip:!1}};function Vd(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function $d(e){return[Qe,At,Ct,Ze].some(function(t){return e[t]>=0})}function zx(e){var t=e.state,n=e.name,l=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,r=pi(t,{elementContext:"reference"}),u=pi(t,{altBoundary:!0}),o=Vd(r,l),s=Vd(u,a,i),c=$d(o),f=$d(s);t.modifiersData[n]={referenceClippingOffsets:o,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Ux={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zx};function Bx(e,t,n){var l=Lt(e),a=[Ze,Qe].indexOf(l)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=i[0],u=i[1];return r=r||0,u=(u||0)*a,[Ze,At].indexOf(l)>=0?{x:u,y:r}:{x:r,y:u}}function Fx(e){var t=e.state,n=e.options,l=e.name,a=n.offset,i=a===void 0?[0,0]:a,r=Fm.reduce(function(c,f){return c[f]=Bx(f,t.rects,i),c},{}),u=r[t.placement],o=u.x,s=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=o,t.modifiersData.popperOffsets.y+=s),t.modifiersData[l]=r}const Hx={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Fx};function Lx(e){var t=e.state,n=e.name;t.modifiersData[n]=Ym({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Vx={name:"popperOffsets",enabled:!0,phase:"read",fn:Lx,data:{}};function $x(e){return e==="x"?"y":"x"}function qx(e){var t=e.state,n=e.options,l=e.name,a=n.mainAxis,i=a===void 0?!0:a,r=n.altAxis,u=r===void 0?!1:r,o=n.boundary,s=n.rootBoundary,c=n.altBoundary,f=n.padding,p=n.tether,d=p===void 0?!0:p,m=n.tetherOffset,S=m===void 0?0:m,x=pi(t,{boundary:o,rootBoundary:s,padding:f,altBoundary:c}),v=Lt(t.placement),h=sa(t.placement),y=!h,w=Yc(v),E=$x(w),A=t.modifiersData.popperOffsets,R=t.rects.reference,D=t.rects.popper,M=typeof S=="function"?S(Object.assign({},t.rects,{placement:t.placement})):S,N=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(A){if(i){var U,Q=w==="y"?Qe:Ze,I=w==="y"?Ct:At,_=w==="y"?"height":"width",B=A[w],H=B+x[Q],Z=B-x[I],K=d?-D[_]/2:0,se=h===ra?R[_]:D[_],Me=h===ra?-D[_]:-R[_],pt=t.elements.arrow,Re=d&&pt?Gc(pt):{width:0,height:0},Fe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Vm(),Da=Fe[Q],Wi=Fe[I],Kn=ka(0,R[_],Re[_]),mo=y?R[_]/2-K-Kn-Da-N.mainAxis:se-Kn-Da-N.mainAxis,C1=y?-R[_]/2+K+Kn+Wi+N.mainAxis:Me+Kn+Wi+N.mainAxis,ho=t.elements.arrow&&ji(t.elements.arrow),A1=ho?w==="y"?ho.clientTop||0:ho.clientLeft||0:0,hd=(U=j==null?void 0:j[w])!=null?U:0,O1=B+mo-hd-A1,_1=B+C1-hd,vd=ka(d?Qr(H,O1):H,B,d?ul(Z,_1):Z);A[w]=vd,F[w]=vd-B}if(u){var yd,T1=w==="x"?Qe:Ze,D1=w==="x"?Ct:At,Jn=A[E],Pi=E==="y"?"height":"width",Sd=Jn+x[T1],xd=Jn-x[D1],vo=[Qe,Ze].indexOf(v)!==-1,wd=(yd=j==null?void 0:j[E])!=null?yd:0,bd=vo?Sd:Jn-R[Pi]-D[Pi]-wd+N.altAxis,Ed=vo?Jn+R[Pi]+D[Pi]-wd-N.altAxis:xd,Rd=d&&vo?dx(bd,Jn,Ed):ka(d?bd:Sd,Jn,d?Ed:xd);A[E]=Rd,F[E]=Rd-Jn}t.modifiersData[l]=F}}const Gx={name:"preventOverflow",enabled:!0,phase:"main",fn:qx,requiresIfExists:["offset"]};function Yx(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xx(e){return e===st(e)||!Vt(e)?Xc(e):Yx(e)}function Qx(e){var t=e.getBoundingClientRect(),n=ua(t.width)/e.offsetWidth||1,l=ua(t.height)/e.offsetHeight||1;return n!==1||l!==1}function Zx(e,t,n){n===void 0&&(n=!1);var l=Vt(t),a=Vt(t)&&Qx(t),i=Xn(t),r=oa(e,a,n),u={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(l||!l&&!n)&&((Ln(t)!=="body"||Zc(i))&&(u=Xx(t)),Vt(t)?(o=oa(t,!0),o.x+=t.clientLeft,o.y+=t.clientTop):i&&(o.x=Qc(i))),{x:r.left+u.scrollLeft-o.x,y:r.top+u.scrollTop-o.y,width:r.width,height:r.height}}function Kx(e){var t=new Map,n=new Set,l=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var r=[].concat(i.requires||[],i.requiresIfExists||[]);r.forEach(function(u){if(!n.has(u)){var o=t.get(u);o&&a(o)}}),l.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),l}function Jx(e){var t=Kx(e);return sx.reduce(function(n,l){return n.concat(t.filter(function(a){return a.phase===l}))},[])}function kx(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ix(e){var t=e.reduce(function(n,l){var a=n[l.name];return n[l.name]=a?Object.assign({},a,l,{options:Object.assign({},a.options,l.options),data:Object.assign({},a.data,l.data)}):l,n},{});return Object.keys(t).map(function(n){return t[n]})}var qd={placement:"bottom",modifiers:[],strategy:"absolute"};function Gd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(l){return!(l&&typeof l.getBoundingClientRect=="function")})}function Wx(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,l=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?qd:a;return function(u,o,s){s===void 0&&(s=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},qd,i),modifiersData:{},elements:{reference:u,popper:o},attributes:{},styles:{}},f=[],p=!1,d={state:c,setOptions:function(v){var h=typeof v=="function"?v(c.options):v;S(),c.options=Object.assign({},i,c.options,h),c.scrollParents={reference:gl(u)?Ia(u):u.contextElement?Ia(u.contextElement):[],popper:Ia(o)};var y=Jx(Ix([].concat(l,c.options.modifiers)));return c.orderedModifiers=y.filter(function(w){return w.enabled}),m(),d.update()},forceUpdate:function(){if(!p){var v=c.elements,h=v.reference,y=v.popper;if(Gd(h,y)){c.rects={reference:Zx(h,ji(y),c.options.strategy==="fixed"),popper:Gc(y)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(N){return c.modifiersData[N.name]=Object.assign({},N.data)});for(var w=0;w<c.orderedModifiers.length;w++){if(c.reset===!0){c.reset=!1,w=-1;continue}var E=c.orderedModifiers[w],A=E.fn,R=E.options,D=R===void 0?{}:R,M=E.name;typeof A=="function"&&(c=A({state:c,options:D,name:M,instance:d})||c)}}}},update:kx(function(){return new Promise(function(x){d.forceUpdate(),x(c)})}),destroy:function(){S(),p=!0}};if(!Gd(u,o))return d;d.setOptions(s).then(function(x){!p&&s.onFirstUpdate&&s.onFirstUpdate(x)});function m(){c.orderedModifiers.forEach(function(x){var v=x.name,h=x.options,y=h===void 0?{}:h,w=x.effect;if(typeof w=="function"){var E=w({state:c,name:v,instance:d,options:y}),A=function(){};f.push(E||A)}})}function S(){f.forEach(function(x){return x()}),f=[]}return d}}const Px=Wx({defaultModifiers:[Ux,Vx,xx,bx,Hx,jx,Gx,hx]}),ew=["enabled","placement","strategy","modifiers"];function tw(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}const nw={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},lw={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const l=(t.getAttribute("aria-describedby")||"").split(",").filter(a=>a.trim()!==n.id);l.length?t.setAttribute("aria-describedby",l.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:l}=e.elements,a=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();if(n.id&&a==="tooltip"&&"setAttribute"in l){const i=l.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(n.id)!==-1)return;l.setAttribute("aria-describedby",i?`${i},${n.id}`:n.id)}}},aw=[];function Xm(e,t,n={}){let{enabled:l=!0,placement:a="bottom",strategy:i="absolute",modifiers:r=aw}=n,u=tw(n,ew);const o=b.useRef(r),s=b.useRef(),c=b.useCallback(()=>{var x;(x=s.current)==null||x.update()},[]),f=b.useCallback(()=>{var x;(x=s.current)==null||x.forceUpdate()},[]),[p,d]=IS(b.useState({placement:a,update:c,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),m=b.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:x})=>{const v={},h={};Object.keys(x.elements).forEach(y=>{v[y]=x.styles[y],h[y]=x.attributes[y]}),d({state:x,styles:v,attributes:h,update:c,forceUpdate:f,placement:x.placement})}}),[c,f,d]),S=b.useMemo(()=>(Ja(o.current,r)||(o.current=r),o.current),[r]);return b.useEffect(()=>{!s.current||!l||s.current.setOptions({placement:a,strategy:i,modifiers:[...S,m,nw]})},[i,a,m,l,S]),b.useEffect(()=>{if(!(!l||e==null||t==null))return s.current=Px(e,t,Object.assign({},u,{placement:a,strategy:i,modifiers:[...S,lw,m]})),()=>{s.current!=null&&(s.current.destroy(),s.current=void 0,d(x=>Object.assign({},x,{attributes:{},styles:{popper:{}}})))}},[l,e,t]),p}function Rs(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var iw=function(){},rw=iw;const uw=Nu(rw),Yd=()=>{};function ow(e){return e.button===0}function sw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Ar=e=>e&&("current"in e?e.current:e),Xd={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Qm(e,t=Yd,{disabled:n,clickTrigger:l="click"}={}){const a=b.useRef(!1),i=b.useRef(!1),r=b.useCallback(s=>{const c=Ar(e);uw(!!c,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),a.current=!c||sw(s)||!ow(s)||!!Rs(c,s.target)||i.current,i.current=!1},[e]),u=Dt(s=>{const c=Ar(e);c&&Rs(c,s.target)?i.current=!0:i.current=!1}),o=Dt(s=>{a.current||t(s)});b.useEffect(()=>{var s,c;if(n||e==null)return;const f=zu(Ar(e)),p=f.defaultView||window;let d=(s=p.event)!=null?s:(c=p.parent)==null?void 0:c.event,m=null;Xd[l]&&(m=al(f,Xd[l],u,!0));const S=al(f,l,r,!0),x=al(f,l,h=>{if(h===d){d=void 0;return}o(h)});let v=[];return"ontouchstart"in f.documentElement&&(v=[].slice.call(f.body.children).map(h=>al(h,"mousemove",Yd))),()=>{m==null||m(),S(),x(),v.forEach(h=>h())}},[e,n,l,r,u,o])}function cw(e){const t={};return Array.isArray(e)?(e==null||e.forEach(n=>{t[n.name]=n}),t):e||t}function fw(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Zm({enabled:e,enableEvents:t,placement:n,flip:l,offset:a,fixed:i,containerPadding:r,arrowElement:u,popperConfig:o={}}){var s,c,f,p,d;const m=cw(o.modifiers);return Object.assign({},o,{placement:n,enabled:e,strategy:i?"fixed":o.strategy,modifiers:fw(Object.assign({},m,{eventListeners:{enabled:t,options:(s=m.eventListeners)==null?void 0:s.options},preventOverflow:Object.assign({},m.preventOverflow,{options:r?Object.assign({padding:r},(c=m.preventOverflow)==null?void 0:c.options):(f=m.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:a},(p=m.offset)==null?void 0:p.options)},arrow:Object.assign({},m.arrow,{enabled:!!u,options:Object.assign({},(d=m.arrow)==null?void 0:d.options,{element:u})}),flip:Object.assign({enabled:!!l},m.flip)}))})}const dw=["children","usePopper"];function pw(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}const gw=()=>{};function Km(e={}){const t=b.useContext(Uu),[n,l]=Ss(),a=b.useRef(!1),{flip:i,offset:r,rootCloseEvent:u,fixed:o=!1,placement:s,popperConfig:c={},enableEventListeners:f=!0,usePopper:p=!!t}=e,d=(t==null?void 0:t.show)==null?!!e.show:t.show;d&&!a.current&&(a.current=!0);const m=A=>{t==null||t.toggle(!1,A)},{placement:S,setMenu:x,menuElement:v,toggleElement:h}=t||{},y=Xm(h,v,Zm({placement:s||S||"bottom-start",enabled:p,enableEvents:f??d,offset:r,flip:i,fixed:o,arrowElement:n,popperConfig:c})),w=Object.assign({ref:x||gw,"aria-labelledby":h==null?void 0:h.id},y.attributes.popper,{style:y.styles.popper}),E={show:d,placement:S,hasShown:a.current,toggle:t==null?void 0:t.toggle,popper:p?y:null,arrowProps:p?Object.assign({ref:l},y.attributes.arrow,{style:y.styles.arrow}):{}};return Qm(v,m,{clickTrigger:u,disabled:!d}),[w,E]}function Jm(e){let{children:t,usePopper:n=!0}=e,l=pw(e,dw);const[a,i]=Km(Object.assign({},l,{usePopper:n}));return g.jsx(g.Fragment,{children:t(a,i)})}Jm.displayName="DropdownMenu";const km={prefix:String(Math.round(Math.random()*1e10)),current:0},Im=be.createContext(km),mw=be.createContext(!1);let So=new WeakMap;function hw(e=!1){let t=b.useContext(Im),n=b.useRef(null);if(n.current===null&&!e){var l,a;let i=(a=be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||a===void 0||(l=a.ReactCurrentOwner)===null||l===void 0?void 0:l.current;if(i){let r=So.get(i);r==null?So.set(i,{id:t.current,state:i.memoizedState}):i.memoizedState!==r.state&&(t.current=r.id,So.delete(i))}n.current=++t.current}return n.current}function vw(e){let t=b.useContext(Im),n=hw(!!e),l=`react-aria${t.prefix}`;return e||`${l}-${n}`}function yw(e){let t=be.useId(),[n]=b.useState(Ew()),l=n?"react-aria":`react-aria${km.prefix}`;return e||`${l}-${t}`}const Sw=typeof be.useId=="function"?yw:vw;function xw(){return!1}function ww(){return!0}function bw(e){return()=>{}}function Ew(){return typeof be.useSyncExternalStore=="function"?be.useSyncExternalStore(bw,xw,ww):b.useContext(mw)}const Wm=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},Qd=()=>{};function Pm(){const e=Sw(),{show:t=!1,toggle:n=Qd,setToggle:l,menuElement:a}=b.useContext(Uu)||{},i=b.useCallback(u=>{n(!t,u)},[t,n]),r={id:e,ref:l||Qd,onClick:i,"aria-expanded":!!t};return a&&Wm(a)&&(r["aria-haspopup"]=!0),[r,{show:t,toggle:n}]}function eh({children:e}){const[t,n]=Pm();return g.jsx(g.Fragment,{children:e(t,n)})}eh.displayName="DropdownToggle";const Cs=b.createContext(null),Zd=(e,t=null)=>e!=null?String(e):t||null,th=b.createContext(null);th.displayName="NavContext";const Rw="data-rr-ui-";function nh(e){return`${Rw}${e}`}const Cw=["eventKey","disabled","onClick","active","as"];function Aw(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}function lh({key:e,href:t,active:n,disabled:l,onClick:a}){const i=b.useContext(Cs),r=b.useContext(th),{activeKey:u}=r||{},o=Zd(e,t),s=n==null&&e!=null?Zd(u)===o:n;return[{onClick:Dt(f=>{l||(a==null||a(f),i&&!f.isPropagationStopped()&&i(o,f))}),"aria-disabled":l||void 0,"aria-selected":s,[nh("dropdown-item")]:""},{isActive:s}]}const ah=b.forwardRef((e,t)=>{let{eventKey:n,disabled:l,onClick:a,active:i,as:r=bm}=e,u=Aw(e,Cw);const[o]=lh({key:n,href:u.href,disabled:l,onClick:a,active:i});return g.jsx(r,Object.assign({},u,{ref:t},o))});ah.displayName="DropdownItem";const ih=b.createContext(Hc?window:void 0);ih.Provider;function rh(){return b.useContext(ih)}function Kd(){const e=kS(),t=b.useRef(null),n=b.useCallback(l=>{t.current=l,e()},[e]);return[t,n]}function zi({defaultShow:e,show:t,onSelect:n,onToggle:l,itemSelector:a=`* [${nh("dropdown-item")}]`,focusFirstItemOnShow:i,placement:r="bottom-start",children:u}){const o=rh(),[s,c]=JS(t,e,l),[f,p]=Kd(),d=f.current,[m,S]=Kd(),x=m.current,v=TS(s),h=b.useRef(null),y=b.useRef(!1),w=b.useContext(Cs),E=b.useCallback((j,F,U=F==null?void 0:F.type)=>{c(j,{originalEvent:F,source:U})},[c]),A=Dt((j,F)=>{n==null||n(j,F),E(!1,F,"select"),F.isPropagationStopped()||w==null||w(j,F)}),R=b.useMemo(()=>({toggle:E,placement:r,show:s,menuElement:d,toggleElement:x,setMenu:p,setToggle:S}),[E,r,s,d,x,p,S]);d&&v&&!s&&(y.current=d.contains(d.ownerDocument.activeElement));const D=Dt(()=>{x&&x.focus&&x.focus()}),M=Dt(()=>{const j=h.current;let F=i;if(F==null&&(F=f.current&&Wm(f.current)?"keyboard":!1),F===!1||F==="keyboard"&&!/^key.+$/.test(j))return;const U=Nd(f.current,a)[0];U&&U.focus&&U.focus()});b.useEffect(()=>{s?M():y.current&&(y.current=!1,D())},[s,y,D,M]),b.useEffect(()=>{h.current=null});const N=(j,F)=>{if(!f.current)return null;const U=Nd(f.current,a);let Q=U.indexOf(j)+F;return Q=Math.max(0,Math.min(Q,U.length)),U[Q]};return OS(b.useCallback(()=>o.document,[o]),"keydown",j=>{var F,U;const{key:Q}=j,I=j.target,_=(F=f.current)==null?void 0:F.contains(I),B=(U=m.current)==null?void 0:U.contains(I);if(/input|textarea/i.test(I.tagName)&&(Q===" "||Q!=="Escape"&&_||Q==="Escape"&&I.type==="search")||!_&&!B||Q==="Tab"&&(!f.current||!s))return;h.current=j.type;const Z={originalEvent:j,source:j.type};switch(Q){case"ArrowUp":{const K=N(I,-1);K&&K.focus&&K.focus(),j.preventDefault();return}case"ArrowDown":if(j.preventDefault(),!s)c(!0,Z);else{const K=N(I,1);K&&K.focus&&K.focus()}return;case"Tab":ym(I.ownerDocument,"keyup",K=>{var se;(K.key==="Tab"&&!K.target||!((se=f.current)!=null&&se.contains(K.target)))&&c(!1,Z)},{once:!0});break;case"Escape":Q==="Escape"&&(j.preventDefault(),j.stopPropagation()),c(!1,Z);break}}),g.jsx(Cs.Provider,{value:A,children:g.jsx(Uu.Provider,{value:R,children:u})})}zi.displayName="Dropdown";zi.Menu=Jm;zi.Toggle=eh;zi.Item=ah;const Kc=b.createContext({});Kc.displayName="DropdownContext";const uh=b.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:l="separator",...a},i)=>(t=X(t,"dropdown-divider"),g.jsx(n,{ref:i,className:G(e,t),role:l,...a})));uh.displayName="DropdownDivider";const oh=b.forwardRef(({className:e,bsPrefix:t,as:n="div",role:l="heading",...a},i)=>(t=X(t,"dropdown-header"),g.jsx(n,{ref:i,className:G(e,t),role:l,...a})));oh.displayName="DropdownHeader";const sh=b.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:l=!1,onClick:a,active:i,as:r=Em,...u},o)=>{const s=X(e,"dropdown-item"),[c,f]=lh({key:n,href:u.href,disabled:l,onClick:a,active:i});return g.jsx(r,{...u,...c,ref:o,className:G(t,s,f.isActive&&"active",l&&"disabled")})});sh.displayName="DropdownItem";const ch=b.forwardRef(({className:e,bsPrefix:t,as:n="span",...l},a)=>(t=X(t,"dropdown-item-text"),g.jsx(n,{ref:a,className:G(e,t),...l})));ch.displayName="DropdownItemText";const Ow=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",_w=typeof document<"u",fh=_w||Ow?b.useLayoutEffect:b.useEffect,Jc=b.createContext(null);Jc.displayName="InputGroupContext";const dh=b.createContext(null);dh.displayName="NavbarContext";function ph(e,t){return e}const _l=z.oneOf(["start","end"]),Tw=z.oneOfType([_l,z.shape({sm:_l}),z.shape({md:_l}),z.shape({lg:_l}),z.shape({xl:_l}),z.shape({xxl:_l}),z.object]);function gh(e,t,n){const l=n?"top-end":"top-start",a=n?"top-start":"top-end",i=n?"bottom-end":"bottom-start",r=n?"bottom-start":"bottom-end",u=n?"right-start":"left-start",o=n?"right-end":"left-end",s=n?"left-start":"right-start",c=n?"left-end":"right-end";let f=e?r:i;return t==="up"?f=e?a:l:t==="end"?f=e?c:s:t==="start"?f=e?o:u:t==="down-centered"?f="bottom":t==="up-centered"&&(f="top"),f}const mh=b.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:l,flip:a=!0,show:i,renderOnMount:r,as:u="div",popperConfig:o,variant:s,...c},f)=>{let p=!1;const d=b.useContext(dh),m=X(e,"dropdown-menu"),{align:S,drop:x,isRTL:v}=b.useContext(Kc);n=n||S;const h=b.useContext(Jc),y=[];if(n)if(typeof n=="object"){const j=Object.keys(n);if(j.length){const F=j[0],U=n[F];p=U==="start",y.push(`${m}-${F}-${U}`)}}else n==="end"&&(p=!0);const w=gh(p,x,v),[E,{hasShown:A,popper:R,show:D,toggle:M}]=Km({flip:a,rootCloseEvent:l,show:i,usePopper:!d&&y.length===0,offset:[0,2],popperConfig:o,placement:w});if(E.ref=Mi(ph(f),E.ref),fh(()=>{D&&(R==null||R.update())},[D]),!A&&!r&&!h)return null;typeof u!="string"&&(E.show=D,E.close=()=>M==null?void 0:M(!1),E.align=n);let N=c.style;return R!=null&&R.placement&&(N={...c.style,...E.style},c["x-placement"]=R.placement),g.jsx(u,{...c,...E,style:N,...(y.length||d)&&{"data-bs-popper":"static"},className:G(t,m,D&&"show",p&&`${m}-end`,s&&`${m}-${s}`,...y)})});mh.displayName="DropdownMenu";const hh=b.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:l,as:a=Ye,...i},r)=>{const u=X(e,"dropdown-toggle"),o=b.useContext(Uu);l!==void 0&&(i.bsPrefix=l);const[s]=Pm();return s.ref=Mi(s.ref,ph(r)),g.jsx(a,{className:G(n,u,t&&`${u}-split`,(o==null?void 0:o.show)&&"show"),...s,...i})});hh.displayName="DropdownToggle";const vh=b.forwardRef((e,t)=>{const{bsPrefix:n,drop:l="down",show:a,className:i,align:r="start",onSelect:u,onToggle:o,focusFirstItemOnShow:s,as:c="div",navbar:f,autoClose:p=!0,...d}=P1(e,{show:"onToggle"}),m=b.useContext(Jc),S=X(n,"dropdown"),x=Fc(),v=R=>p===!1?R==="click":p==="inside"?R!=="rootClose":p==="outside"?R!=="select":!0,h=xm((R,D)=>{var M;!((M=D.originalEvent)==null||(M=M.target)==null)&&M.classList.contains("dropdown-toggle")&&D.source==="mousedown"||(D.originalEvent.currentTarget===document&&(D.source!=="keydown"||D.originalEvent.key==="Escape")&&(D.source="rootClose"),v(D.source)&&(o==null||o(R,D)))}),w=gh(r==="end",l,x),E=b.useMemo(()=>({align:r,drop:l,isRTL:x}),[r,l,x]),A={down:S,"down-centered":`${S}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return g.jsx(Kc.Provider,{value:E,children:g.jsx(zi,{placement:w,show:a,onSelect:u,onToggle:h,focusFirstItemOnShow:s,itemSelector:`.${S}-item:not(.disabled):not(:disabled)`,children:m?d.children:g.jsx(c,{...d,ref:t,className:G(i,a&&"show",A[l])})})})});vh.displayName="Dropdown";const En=Object.assign(vh,{Toggle:hh,Menu:mh,Item:sh,ItemText:ch,Divider:uh,Header:oh}),Dw={type:z.string,tooltip:z.bool,as:z.elementType},Fu=b.forwardRef(({as:e="div",className:t,type:n="valid",tooltip:l=!1,...a},i)=>g.jsx(e,{...a,ref:i,className:G(t,`${n}-${l?"tooltip":"feedback"}`)}));Fu.displayName="Feedback";Fu.propTypes=Dw;const on=b.createContext({}),kc=b.forwardRef(({id:e,bsPrefix:t,className:n,type:l="checkbox",isValid:a=!1,isInvalid:i=!1,as:r="input",...u},o)=>{const{controlId:s}=b.useContext(on);return t=X(t,"form-check-input"),g.jsx(r,{...u,ref:o,type:l,id:e||s,className:G(n,t,a&&"is-valid",i&&"is-invalid")})});kc.displayName="FormCheckInput";const Zr=b.forwardRef(({bsPrefix:e,className:t,htmlFor:n,...l},a)=>{const{controlId:i}=b.useContext(on);return e=X(e,"form-check-label"),g.jsx("label",{...l,ref:a,htmlFor:n||i,className:G(t,e)})});Zr.displayName="FormCheckLabel";const yh=b.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:n,inline:l=!1,reverse:a=!1,disabled:i=!1,isValid:r=!1,isInvalid:u=!1,feedbackTooltip:o=!1,feedback:s,feedbackType:c,className:f,style:p,title:d="",type:m="checkbox",label:S,children:x,as:v="input",...h},y)=>{t=X(t,"form-check"),n=X(n,"form-switch");const{controlId:w}=b.useContext(on),E=b.useMemo(()=>({controlId:e||w}),[w,e]),A=!x&&S!=null&&S!==!1||QS(x,Zr),R=g.jsx(kc,{...h,type:m==="switch"?"checkbox":m,ref:y,isValid:r,isInvalid:u,disabled:i,as:v});return g.jsx(on.Provider,{value:E,children:g.jsx("div",{style:p,className:G(f,A&&t,l&&`${t}-inline`,a&&`${t}-reverse`,m==="switch"&&n),children:x||g.jsxs(g.Fragment,{children:[R,A&&g.jsx(Zr,{title:d,children:S}),s&&g.jsx(Fu,{type:c,tooltip:o,children:s})]})})})});yh.displayName="FormCheck";const Kr=Object.assign(yh,{Input:kc,Label:Zr}),Sh=b.forwardRef(({bsPrefix:e,type:t,size:n,htmlSize:l,id:a,className:i,isValid:r=!1,isInvalid:u=!1,plaintext:o,readOnly:s,as:c="input",...f},p)=>{const{controlId:d}=b.useContext(on);return e=X(e,"form-control"),g.jsx(c,{...f,type:t,size:l,ref:p,readOnly:s,id:a||d,className:G(i,o?`${e}-plaintext`:e,n&&`${e}-${n}`,t==="color"&&`${e}-color`,r&&"is-valid",u&&"is-invalid")})});Sh.displayName="FormControl";const Mw=Object.assign(Sh,{Feedback:Fu}),xh=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"form-floating"),g.jsx(n,{ref:a,className:G(e,t),...l})));xh.displayName="FormFloating";const Ic=b.forwardRef(({controlId:e,as:t="div",...n},l)=>{const a=b.useMemo(()=>({controlId:e}),[e]);return g.jsx(on.Provider,{value:a,children:g.jsx(t,{...n,ref:l})})});Ic.displayName="FormGroup";const wh=b.forwardRef(({as:e="label",bsPrefix:t,column:n=!1,visuallyHidden:l=!1,className:a,htmlFor:i,...r},u)=>{const{controlId:o}=b.useContext(on);t=X(t,"form-label");let s="col-form-label";typeof n=="string"&&(s=`${s} ${s}-${n}`);const c=G(a,t,l&&"visually-hidden",n&&s);return i=i||o,n?g.jsx(Ul,{ref:u,as:"label",className:c,htmlFor:i,...r}):g.jsx(e,{ref:u,className:c,htmlFor:i,...r})});wh.displayName="FormLabel";const bh=b.forwardRef(({bsPrefix:e,className:t,id:n,...l},a)=>{const{controlId:i}=b.useContext(on);return e=X(e,"form-range"),g.jsx("input",{...l,type:"range",ref:a,className:G(t,e),id:n||i})});bh.displayName="FormRange";const Eh=b.forwardRef(({bsPrefix:e,size:t,htmlSize:n,className:l,isValid:a=!1,isInvalid:i=!1,id:r,...u},o)=>{const{controlId:s}=b.useContext(on);return e=X(e,"form-select"),g.jsx("select",{...u,size:n,ref:o,className:G(l,e,t&&`${e}-${t}`,a&&"is-valid",i&&"is-invalid"),id:r||s})});Eh.displayName="FormSelect";const Rh=b.forwardRef(({bsPrefix:e,className:t,as:n="small",muted:l,...a},i)=>(e=X(e,"form-text"),g.jsx(n,{...a,ref:i,className:G(t,e,l&&"text-muted")})));Rh.displayName="FormText";const Ch=b.forwardRef((e,t)=>g.jsx(Kr,{...e,ref:t,type:"switch"}));Ch.displayName="Switch";const Nw=Object.assign(Ch,{Input:Kr.Input,Label:Kr.Label}),Ah=b.forwardRef(({bsPrefix:e,className:t,children:n,controlId:l,label:a,...i},r)=>(e=X(e,"form-floating"),g.jsxs(Ic,{ref:r,className:G(t,e),controlId:l,...i,children:[n,g.jsx("label",{htmlFor:l,children:a})]})));Ah.displayName="FloatingLabel";const jw={_ref:z.any,validated:z.bool,as:z.elementType},Wc=b.forwardRef(({className:e,validated:t,as:n="form",...l},a)=>g.jsx(n,{...l,ref:a,className:G(e,t&&"was-validated")}));Wc.displayName="Form";Wc.propTypes=jw;const Il=Object.assign(Wc,{Group:Ic,Control:Mw,Floating:xh,Check:Kr,Switch:Nw,Label:wh,Text:Rh,Range:bh,Select:Eh,FloatingLabel:Ah}),Jd=e=>!e||typeof e=="function"?e:t=>{e.current=t};function zw(e,t){const n=Jd(e),l=Jd(t);return a=>{n&&n(a),l&&l(a)}}function Hu(e,t){return b.useMemo(()=>zw(e,t),[e,t])}const xo=(e,t)=>Hc?e==null?(t||zu()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function kd(e,t){const n=rh(),[l,a]=b.useState(()=>xo(e,n==null?void 0:n.document));if(!l){const i=xo(e);i&&a(i)}return b.useEffect(()=>{},[t,l]),b.useEffect(()=>{const i=xo(e);i!==l&&a(i)},[e,l]),l}function Uw({children:e,in:t,onExited:n,mountOnEnter:l,unmountOnExit:a}){const i=b.useRef(null),r=b.useRef(t),u=Dt(n);b.useEffect(()=>{t?r.current=!0:u(i.current)},[t,u]);const o=Hu(i,Di(e)),s=b.cloneElement(e,{ref:o});return t?s:a||!r.current&&l?null:s}const Bw=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function Fw(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}function Hw(e){let{onEnter:t,onEntering:n,onEntered:l,onExit:a,onExiting:i,onExited:r,addEndListener:u,children:o}=e,s=Fw(e,Bw);const c=b.useRef(null),f=Hu(c,Di(o)),p=w=>E=>{w&&c.current&&w(c.current,E)},d=b.useCallback(p(t),[t]),m=b.useCallback(p(n),[n]),S=b.useCallback(p(l),[l]),x=b.useCallback(p(a),[a]),v=b.useCallback(p(i),[i]),h=b.useCallback(p(r),[r]),y=b.useCallback(p(u),[u]);return Object.assign({},s,{nodeRef:c},t&&{onEnter:d},n&&{onEntering:m},l&&{onEntered:S},a&&{onExit:x},i&&{onExiting:v},r&&{onExited:h},u&&{addEndListener:y},{children:typeof o=="function"?(w,E)=>o(w,Object.assign({},E,{ref:f})):b.cloneElement(o,{ref:f})})}const Lw=["component"];function Vw(e,t){if(e==null)return{};var n={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(t.indexOf(l)>=0)continue;n[l]=e[l]}return n}const $w=b.forwardRef((e,t)=>{let{component:n}=e,l=Vw(e,Lw);const a=Hw(l);return g.jsx(n,Object.assign({ref:t},a))});function qw({in:e,onTransition:t}){const n=b.useRef(null),l=b.useRef(!0),a=Dt(t);return Md(()=>{if(!n.current)return;let i=!1;return a({in:e,element:n.current,initial:l.current,isStale:()=>i}),()=>{i=!0}},[e,a]),Md(()=>(l.current=!1,()=>{l.current=!0}),[]),n}function Gw({children:e,in:t,onExited:n,onEntered:l,transition:a}){const[i,r]=b.useState(!t);t&&i&&r(!1);const u=qw({in:!!t,onTransition:s=>{const c=()=>{s.isStale()||(s.in?l==null||l(s.element,s.initial):(r(!0),n==null||n(s.element)))};Promise.resolve(a(s)).then(c,f=>{throw s.in||r(!0),f})}}),o=Hu(u,Di(e));return i&&!t?null:b.cloneElement(e,{ref:o})}function Yw(e,t,n){return e?g.jsx($w,Object.assign({},n,{component:e})):t?g.jsx(Gw,Object.assign({},n,{transition:t})):g.jsx(Uw,Object.assign({},n))}function Id(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const Xw=()=>{};function Qw(e,t,{disabled:n,clickTrigger:l}={}){const a=t||Xw;Qm(e,a,{disabled:n,clickTrigger:l});const i=Dt(r=>{mS(r)&&a(r)});b.useEffect(()=>{if(n||e==null)return;const r=zu(Ar(e));let u=(r.defaultView||window).event;const o=al(r,"keyup",s=>{if(s===u){u=void 0;return}i(s)});return()=>{o()}},[e,n,i])}const Oh=b.forwardRef((e,t)=>{const{flip:n,offset:l,placement:a,containerPadding:i,popperConfig:r={},transition:u,runTransition:o}=e,[s,c]=Ss(),[f,p]=Ss(),d=Hu(c,t),m=kd(e.container),S=kd(e.target),[x,v]=b.useState(!e.show),h=Xm(S,s,Zm({placement:a,enableEvents:!!e.show,containerPadding:i||5,flip:n,offset:l,arrowElement:f,popperConfig:r}));e.show&&x&&v(!1);const y=(...j)=>{v(!0),e.onExited&&e.onExited(...j)},w=e.show||!x;if(Qw(s,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;const{onExit:E,onExiting:A,onEnter:R,onEntering:D,onEntered:M}=e;let N=e.children(Object.assign({},h.attributes.popper,{style:h.styles.popper,ref:d}),{popper:h,placement:a,show:!!e.show,arrowProps:Object.assign({},h.attributes.arrow,{style:h.styles.arrow,ref:p})});return N=Yw(u,o,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:N,onExit:E,onExiting:A,onExited:y,onEnter:R,onEntering:D,onEntered:M}),m?zl.createPortal(N,m):null});Oh.displayName="Overlay";const _h=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"popover-header"),g.jsx(n,{ref:a,className:G(e,t),...l})));_h.displayName="PopoverHeader";const Pc=b.forwardRef(({className:e,bsPrefix:t,as:n="div",...l},a)=>(t=X(t,"popover-body"),g.jsx(n,{ref:a,className:G(e,t),...l})));Pc.displayName="PopoverBody";function Th(e,t){let n=e;return e==="left"?n=t?"end":"start":e==="right"&&(n=t?"start":"end"),n}function Dh(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const Mh=b.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:l,children:a,body:i,arrowProps:r,hasDoneInitialMeasure:u,popper:o,show:s,...c},f)=>{const p=X(e,"popover"),d=Fc(),[m]=(t==null?void 0:t.split("-"))||[],S=Th(m,d);let x=l;return s&&!u&&(x={...l,...Dh(o==null?void 0:o.strategy)}),g.jsxs("div",{ref:f,role:"tooltip",style:x,"x-placement":m,className:G(n,p,m&&`bs-popover-${S}`),...c,children:[g.jsx("div",{className:"popover-arrow",...r}),i?g.jsx(Pc,{children:a}):a]})});Mh.displayName="Popover";const ef=Object.assign(Mh,{Header:_h,Body:Pc,POPPER_OFFSET:[0,8]}),Nh=b.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:l,children:a,arrowProps:i,hasDoneInitialMeasure:r,popper:u,show:o,...s},c)=>{e=X(e,"tooltip");const f=Fc(),[p]=(t==null?void 0:t.split("-"))||[],d=Th(p,f);let m=l;return o&&!r&&(m={...l,...Dh(u==null?void 0:u.strategy)}),g.jsxs("div",{ref:c,style:m,role:"tooltip","x-placement":p,className:G(n,e,`bs-tooltip-${d}`),...s,children:[g.jsx("div",{className:"tooltip-arrow",...i}),g.jsx("div",{className:`${e}-inner`,children:a})]})});Nh.displayName="Tooltip";const jh=Object.assign(Nh,{TOOLTIP_OFFSET:[0,6]});function Zw(e){const t=b.useRef(null),n=X(void 0,"popover"),l=X(void 0,"tooltip"),a=b.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(Id(t.current,n))return ef.POPPER_OFFSET;if(Id(t.current,l))return jh.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,l]);return[t,[a]]}function Kw(e,t){const{ref:n}=e,{ref:l}=t;e.ref=n.__wrapped||(n.__wrapped=a=>n(Xr(a))),t.ref=l.__wrapped||(l.__wrapped=a=>l(Xr(a)))}const zh=b.forwardRef(({children:e,transition:t=xs,popperConfig:n={},rootClose:l=!1,placement:a="top",show:i=!1,...r},u)=>{const o=b.useRef({}),[s,c]=b.useState(null),[f,p]=Zw(r.offset),d=Mi(u,f),m=t===!0?xs:t||void 0,S=xm(x=>{c(x),n==null||n.onFirstUpdate==null||n.onFirstUpdate(x)});return fh(()=>{s&&r.target&&(o.current.scheduleUpdate==null||o.current.scheduleUpdate())},[s,r.target]),b.useEffect(()=>{i||c(null)},[i]),g.jsx(Oh,{...r,ref:d,popperConfig:{...n,modifiers:p.concat(n.modifiers||[]),onFirstUpdate:S},transition:m,rootClose:l,placement:a,show:i,children:(x,{arrowProps:v,popper:h,show:y})=>{var w;Kw(x,v);const E=h==null?void 0:h.placement,A=Object.assign(o.current,{state:h==null?void 0:h.state,scheduleUpdate:h==null?void 0:h.update,placement:E,outOfBoundaries:(h==null||(w=h.state)==null||(w=w.modifiersData.hide)==null?void 0:w.isReferenceHidden)||!1,strategy:n.strategy}),R=!!s;return typeof e=="function"?e({...x,placement:E,show:y,...!t&&y&&{className:"show"},popper:A,arrowProps:v,hasDoneInitialMeasure:R}):b.cloneElement(e,{...x,placement:E,arrowProps:v,popper:A,hasDoneInitialMeasure:R,className:G(e.props.className,!t&&y&&"show"),style:{...e.props.style,...x.style}})}})});zh.displayName="Overlay";function Jw(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function Wd(e,t,n){const[l]=t,a=l.currentTarget,i=l.relatedTarget||l.nativeEvent[n];(!i||i!==a)&&!Rs(a,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const gi=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:l={},show:a,defaultShow:i=!1,onToggle:r,delay:u,placement:o,flip:s=o&&o.indexOf("auto")!==-1,...c})=>{const f=b.useRef(null),p=Mi(f,Di(n)),d=YS(),m=b.useRef(""),[S,x]=cm(a,i,r),v=Jw(u),{onFocus:h,onBlur:y,onClick:w}=typeof n!="function"?b.Children.only(n).props:{},E=I=>{p(Xr(I))},A=b.useCallback(()=>{if(d.clear(),m.current="show",!v.show){x(!0);return}d.set(()=>{m.current==="show"&&x(!0)},v.show)},[v.show,x,d]),R=b.useCallback(()=>{if(d.clear(),m.current="hide",!v.hide){x(!1);return}d.set(()=>{m.current==="hide"&&x(!1)},v.hide)},[v.hide,x,d]),D=b.useCallback((...I)=>{A(),h==null||h(...I)},[A,h]),M=b.useCallback((...I)=>{R(),y==null||y(...I)},[R,y]),N=b.useCallback((...I)=>{x(!S),w==null||w(...I)},[w,x,S]),j=b.useCallback((...I)=>{Wd(A,I,"fromElement")},[A]),F=b.useCallback((...I)=>{Wd(R,I,"toElement")},[R]),U=e==null?[]:[].concat(e),Q={ref:E};return U.indexOf("click")!==-1&&(Q.onClick=N),U.indexOf("focus")!==-1&&(Q.onFocus=D,Q.onBlur=M),U.indexOf("hover")!==-1&&(Q.onMouseOver=j,Q.onMouseOut=F),g.jsxs(g.Fragment,{children:[typeof n=="function"?n(Q):b.cloneElement(n,Q),g.jsx(zh,{...c,show:S,onHide:R,flip:s,placement:o,popperConfig:l,target:f.current,children:t})]})},Pd=1e3;function kw(e,t,n){const l=(e-t)/(n-t)*100;return Math.round(l*Pd)/Pd}function ep({min:e,now:t,max:n,label:l,visuallyHidden:a,striped:i,animated:r,className:u,style:o,variant:s,bsPrefix:c,...f},p){return g.jsx("div",{ref:p,...f,role:"progressbar",className:G(u,`${c}-bar`,{[`bg-${s}`]:s,[`${c}-bar-animated`]:r,[`${c}-bar-striped`]:r||i}),style:{width:`${kw(t,e,n)}%`,...o},"aria-valuenow":t,"aria-valuemin":e,"aria-valuemax":n,children:a?g.jsx("span",{className:"visually-hidden",children:l}):l})}const tf=b.forwardRef(({isChild:e=!1,...t},n)=>{const l={min:0,max:100,animated:!1,visuallyHidden:!1,striped:!1,...t};if(l.bsPrefix=X(l.bsPrefix,"progress"),e)return ep(l,n);const{min:a,now:i,max:r,label:u,visuallyHidden:o,striped:s,animated:c,bsPrefix:f,variant:p,className:d,children:m,...S}=l;return g.jsx("div",{ref:n,...S,className:G(d,f),children:m?XS(m,x=>b.cloneElement(x,{isChild:!0})):ep({min:a,now:i,max:r,label:u,visuallyHidden:o,striped:s,animated:c,bsPrefix:f,variant:p},n)})});tf.displayName="ProgressBar";const Ml=b.forwardRef(({bsPrefix:e,className:t,as:n="div",...l},a)=>{const i=X(e,"row"),r=fm(),u=dm(),o=`${i}-cols`,s=[];return r.forEach(c=>{const f=l[c];delete l[c];let p;f!=null&&typeof f=="object"?{cols:p}=f:p=f;const d=c!==u?`-${c}`:"";p!=null&&s.push(`${o}${d}-${p}`)}),g.jsx(n,{ref:a,...l,className:G(t,i,...s)})});Ml.displayName="Row";const Iw={id:z.string,toggleLabel:z.string,href:z.string,target:z.string,onClick:z.func,title:z.node.isRequired,type:z.string,disabled:z.bool,align:Tw,menuRole:z.string,renderMenuOnMount:z.bool,rootCloseEvent:z.string,flip:z.bool,bsPrefix:z.string,variant:z.string,size:z.string},nf=b.forwardRef(({id:e,bsPrefix:t,size:n,variant:l,title:a,type:i="button",toggleLabel:r="Toggle dropdown",children:u,onClick:o,href:s,target:c,menuRole:f,renderMenuOnMount:p,rootCloseEvent:d,flip:m,...S},x)=>g.jsxs(En,{ref:x,...S,as:Ka,children:[g.jsx(Ye,{size:n,variant:l,disabled:S.disabled,bsPrefix:t,href:s,target:c,onClick:o,type:i,children:a}),g.jsx(En.Toggle,{split:!0,id:e,size:n,variant:l,disabled:S.disabled,childBsPrefix:t,children:g.jsx("span",{className:"visually-hidden",children:r})}),g.jsx(En.Menu,{role:f,renderOnMount:p,rootCloseEvent:d,flip:m,children:u})]}));nf.propTypes=Iw;nf.displayName="SplitButton";const Ww=RegExp.prototype.test.bind(/(<([^>]+)>)/i),Pw=({column:e})=>{const n=e.getFilterValue(),l=g.jsx(ef,{id:"popover-positioned-top",children:g.jsxs("div",{className:"p-3",children:[g.jsx("input",{type:"number",value:(n==null?void 0:n[0])??"",onChange:a=>e.setFilterValue(i=>[a.target.value,i==null?void 0:i[1]]),placeholder:"Min",className:"form-control"}),g.jsx("p",{className:"text-center",children:"to"}),g.jsx("input",{type:"number",value:(n==null?void 0:n[1])??"",onChange:a=>e.setFilterValue(i=>[i==null?void 0:i[0],a.target.value]),placeholder:"Max",className:"form-control"}),g.jsx(Ye,{variant:"secondary",size:"sm",className:"w-100 mt-2",onClick:()=>document.body.click(),children:"Close"})]})});return g.jsx(gi,{trigger:"click",placement:"bottom",rootClose:!0,overlay:l,children:g.jsx("form",{className:me.searchWrapperFrom,onReset:()=>{e.setFilterValue(()=>[void 0,void 0])},children:g.jsxs("div",{className:me.searchWrapper,children:[g.jsx(Il.Control,{className:me.searchInput,readOnly:!0,type:"text",placeholder:"Set Range",value:typeof(n==null?void 0:n[0])<"u"||typeof(n==null?void 0:n[1])<"u"?`${typeof(n==null?void 0:n[0])>"u"||(n==null?void 0:n[0])===""?"-∞":n==null?void 0:n[0].toLocaleString()} to ${typeof(n==null?void 0:n[1])>"u"||(n==null?void 0:n[1])===""?"∞":n==null?void 0:n[1].toLocaleString()}`:void 0}),g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 512 512",className:`${me.searchIcon} ${me.dropDownIcon}`,children:g.jsx("path",{fill:"currentColor",d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})}),g.jsx("button",{type:"reset",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.xIcon,children:g.jsx("path",{fill:"currentColor",d:"M17.3 18.7a1 1 0 0 0 1.4-1.4L13.42 12l5.3-5.3a1 1 0 0 0-1.42-1.4L12 10.58l-5.3-5.3a1 1 0 0 0-1.4 1.42L10.58 12l-5.3 5.3a1 1 0 1 0 1.42 1.4L12 13.42l5.3 5.3Z"})})})]})})})},eb=({column:e})=>{const t=e.getFilterValue(),n=g.jsx(ef,{id:"popover-positioned-top",children:g.jsxs("div",{className:`${me.radioWrapper} p-2`,children:[g.jsx(Il.Check,{label:"True",name:"group1",type:"radio",id:"radio-true",onChange:()=>{e.setFilterValue(!0)}}),g.jsx(Il.Check,{label:"False",name:"group1",type:"radio",id:"radio-false",onChange:()=>{e.setFilterValue(!1)}}),g.jsx(Ye,{variant:"secondary",size:"sm",className:"w-100",onClick:()=>document.body.click(),children:"Close"})]})});return g.jsx(gi,{trigger:"click",placement:"bottom",rootClose:!0,overlay:n,children:g.jsx("form",{className:me.searchWrapperFrom,onReset:()=>{e.setFilterValue(()=>{})},children:g.jsxs("div",{className:me.searchWrapper,children:[g.jsx(Il.Control,{className:me.searchInput,readOnly:!0,type:"text",placeholder:"Filter",value:typeof t>"u"?void 0:t?"True":"False"}),g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 512 512",className:`${me.searchIcon} ${me.dropDownIcon}`,children:g.jsx("path",{fill:"currentColor",d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})}),g.jsx("button",{type:"reset",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.xIcon,children:g.jsx("path",{fill:"currentColor",d:"M17.3 18.7a1 1 0 0 0 1.4-1.4L13.42 12l5.3-5.3a1 1 0 0 0-1.42-1.4L12 10.58l-5.3-5.3a1 1 0 0 0-1.4 1.42L10.58 12l-5.3 5.3a1 1 0 1 0 1.42 1.4L12 13.42l5.3 5.3Z"})})})]})})})},tb=({column:e})=>g.jsx("form",{onReset:()=>{e.setFilterValue(null)},children:g.jsxs("div",{className:me.searchWrapper,children:[g.jsx(Il.Control,{className:me.searchInput,type:"text",placeholder:"Search",onChange:t=>{e.setFilterValue(t.target.value?t.target.value:"")}}),g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.searchIcon,children:g.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M15.62 17.03a9 9 0 1 1 1.41-1.41l4.68 4.67a1 1 0 0 1-1.42 1.42l-4.67-4.68ZM17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z","clip-rule":"evenodd"})}),g.jsx("button",{type:"reset",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.xIcon,children:g.jsx("path",{fill:"currentColor",d:"M17.3 18.7a1 1 0 0 0 1.4-1.4L13.42 12l5.3-5.3a1 1 0 0 0-1.42-1.4L12 10.58l-5.3-5.3a1 1 0 0 0-1.4 1.42L10.58 12l-5.3 5.3a1 1 0 1 0 1.42 1.4L12 13.42l5.3 5.3Z"})})})]})}),nb=({column:e})=>{const t=Array.from(e.getFacetedUniqueValues().keys()).sort(),n=e.getFilterValue(),l=Ww(t==null?void 0:t[0])||typeof(t==null?void 0:t[0])=="object",a=t.reduce((i,r)=>(typeof r<"u"&&(l||(n===void 0||r!=null&&r.toLowerCase().includes(n==null?void 0:n.toLowerCase()))&&i.push({value:r,label:r})),i),[]).slice(0,10);return g.jsx(gi,{trigger:"click",placement:"bottom-start",rootClose:!0,overlay:g.jsx(En,{show:!0,drop:"down-centered",children:g.jsx(En.Menu,{children:g.jsx(g.Fragment,{children:a.length>0?a.map(i=>g.jsx(En.Item,{eventKey:i.value,onClick:()=>{e.setFilterValue(i.value?i.value:""),document.body.click()},children:i.label})):g.jsx(En.Item,{disabled:!0,children:"Start typing to search."})})})}),children:g.jsx("form",{className:me.searchWrapperFrom,onReset:()=>{e.setFilterValue(()=>{})},children:g.jsxs("div",{className:me.searchWrapper,children:[g.jsx(Il.Control,{className:me.searchInput,type:"text",placeholder:"Search",value:typeof n>"u"?void 0:n,onChange:i=>{e.setFilterValue(i.target.value?i.target.value:"")}}),g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.searchIcon,children:g.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M15.62 17.03a9 9 0 1 1 1.41-1.41l4.68 4.67a1 1 0 0 1-1.42 1.42l-4.67-4.68ZM17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z","clip-rule":"evenodd"})}),g.jsx("button",{type:"reset",children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:me.xIcon,children:g.jsx("path",{fill:"currentColor",d:"M17.3 18.7a1 1 0 0 0 1.4-1.4L13.42 12l5.3-5.3a1 1 0 0 0-1.42-1.4L12 10.58l-5.3-5.3a1 1 0 0 0-1.4 1.42L10.58 12l-5.3 5.3a1 1 0 1 0 1.42 1.4L12 13.42l5.3 5.3Z"})})})]})})})},lb=({column:e,table:t})=>{var l;const n=(l=t.getPreFilteredRowModel().flatRows[0])==null?void 0:l.getValue(e.id);return typeof n=="number"?g.jsx(Pw,{column:e}):typeof n=="boolean"?g.jsx(eb,{column:e}):typeof n=="object"?g.jsx(tb,{column:e}):g.jsx(nb,{column:e})};/**
   * table-core
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function Lu(){return{accessor:(e,t)=>typeof e=="function"?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function Rn(e,t){return typeof e=="function"?e(t):e}function ct(e,t){return n=>{t.setState(l=>({...l,[e]:Rn(n,l[e])}))}}function Vu(e){return e instanceof Function}function ab(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function ib(e,t){const n=[],l=a=>{a.forEach(i=>{n.push(i);const r=t(i);r!=null&&r.length&&l(r)})};return l(e),n}function L(e,t,n){let l=[],a;return i=>{let r;n.key&&n.debug&&(r=Date.now());const u=e(i);if(!(u.length!==l.length||u.some((c,f)=>l[f]!==c)))return a;l=u;let s;if(n.key&&n.debug&&(s=Date.now()),a=t(...u),n==null||n.onChange==null||n.onChange(a),n.key&&n.debug&&n!=null&&n.debug()){const c=Math.round((Date.now()-r)*100)/100,f=Math.round((Date.now()-s)*100)/100,p=f/16,d=(m,S)=>{for(m=String(m);m.length<S;)m=" "+m;return m};console.info(`%c⏱ ${d(f,5)} /${d(c,5)} ms`,`
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,n==null?void 0:n.key)}return a}}function V(e,t,n,l){return{debug:()=>{var a;return(a=e==null?void 0:e.debugAll)!=null?a:e[t]},key:!1,onChange:l}}function rb(e,t,n,l){const a=()=>{var r;return(r=i.getValue())!=null?r:e.options.renderFallbackValue},i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(l),renderValue:a,getContext:L(()=>[e,n,t,i],(r,u,o,s)=>({table:r,column:u,row:o,cell:s,getValue:s.getValue,renderValue:s.renderValue}),V(e.options,"debugCells"))};return e._features.forEach(r=>{r.createCell==null||r.createCell(i,n,t,e)},{}),i}function ub(e,t,n,l){var a,i;const u={...e._getDefaultColumnDef(),...t},o=u.accessorKey;let s=(a=(i=u.id)!=null?i:o?typeof String.prototype.replaceAll=="function"?o.replaceAll(".","_"):o.replace(/\./g,"_"):void 0)!=null?a:typeof u.header=="string"?u.header:void 0,c;if(u.accessorFn?c=u.accessorFn:o&&(o.includes(".")?c=p=>{let d=p;for(const S of o.split(".")){var m;d=(m=d)==null?void 0:m[S]}return d}:c=p=>p[u.accessorKey]),!s)throw new Error;let f={id:`${String(s)}`,accessorFn:c,parent:l,depth:n,columnDef:u,columns:[],getFlatColumns:L(()=>[!0],()=>{var p;return[f,...(p=f.columns)==null?void 0:p.flatMap(d=>d.getFlatColumns())]},V(e.options,"debugColumns")),getLeafColumns:L(()=>[e._getOrderColumnsFn()],p=>{var d;if((d=f.columns)!=null&&d.length){let m=f.columns.flatMap(S=>S.getLeafColumns());return p(m)}return[f]},V(e.options,"debugColumns"))};for(const p of e._features)p.createColumn==null||p.createColumn(f,e);return f}const He="debugHeaders";function tp(e,t,n){var l;let i={id:(l=n.id)!=null?l:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const r=[],u=o=>{o.subHeaders&&o.subHeaders.length&&o.subHeaders.map(u),r.push(o)};return u(i),r},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(r=>{r.createHeader==null||r.createHeader(i,e)}),i}const ob={createTable:e=>{e.getHeaderGroups=L(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,l,a)=>{var i,r;const u=(i=l==null?void 0:l.map(f=>n.find(p=>p.id===f)).filter(Boolean))!=null?i:[],o=(r=a==null?void 0:a.map(f=>n.find(p=>p.id===f)).filter(Boolean))!=null?r:[],s=n.filter(f=>!(l!=null&&l.includes(f.id))&&!(a!=null&&a.includes(f.id)));return ar(t,[...u,...s,...o],e)},V(e.options,He)),e.getCenterHeaderGroups=L(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,l,a)=>(n=n.filter(i=>!(l!=null&&l.includes(i.id))&&!(a!=null&&a.includes(i.id))),ar(t,n,e,"center")),V(e.options,He)),e.getLeftHeaderGroups=L(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,l)=>{var a;const i=(a=l==null?void 0:l.map(r=>n.find(u=>u.id===r)).filter(Boolean))!=null?a:[];return ar(t,i,e,"left")},V(e.options,He)),e.getRightHeaderGroups=L(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,l)=>{var a;const i=(a=l==null?void 0:l.map(r=>n.find(u=>u.id===r)).filter(Boolean))!=null?a:[];return ar(t,i,e,"right")},V(e.options,He)),e.getFooterGroups=L(()=>[e.getHeaderGroups()],t=>[...t].reverse(),V(e.options,He)),e.getLeftFooterGroups=L(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),V(e.options,He)),e.getCenterFooterGroups=L(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),V(e.options,He)),e.getRightFooterGroups=L(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),V(e.options,He)),e.getFlatHeaders=L(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),V(e.options,He)),e.getLeftFlatHeaders=L(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),V(e.options,He)),e.getCenterFlatHeaders=L(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),V(e.options,He)),e.getRightFlatHeaders=L(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),V(e.options,He)),e.getCenterLeafHeaders=L(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var l;return!((l=n.subHeaders)!=null&&l.length)}),V(e.options,He)),e.getLeftLeafHeaders=L(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var l;return!((l=n.subHeaders)!=null&&l.length)}),V(e.options,He)),e.getRightLeafHeaders=L(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var l;return!((l=n.subHeaders)!=null&&l.length)}),V(e.options,He)),e.getLeafHeaders=L(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,l)=>{var a,i,r,u,o,s;return[...(a=(i=t[0])==null?void 0:i.headers)!=null?a:[],...(r=(u=n[0])==null?void 0:u.headers)!=null?r:[],...(o=(s=l[0])==null?void 0:s.headers)!=null?o:[]].map(c=>c.getLeafHeaders()).flat()},V(e.options,He))}};function ar(e,t,n,l){var a,i;let r=0;const u=function(p,d){d===void 0&&(d=1),r=Math.max(r,d),p.filter(m=>m.getIsVisible()).forEach(m=>{var S;(S=m.columns)!=null&&S.length&&u(m.columns,d+1)},0)};u(e);let o=[];const s=(p,d)=>{const m={depth:d,id:[l,`${d}`].filter(Boolean).join("_"),headers:[]},S=[];p.forEach(x=>{const v=[...S].reverse()[0],h=x.column.depth===m.depth;let y,w=!1;if(h&&x.column.parent?y=x.column.parent:(y=x.column,w=!0),v&&(v==null?void 0:v.column)===y)v.subHeaders.push(x);else{const E=tp(n,y,{id:[l,d,y.id,x==null?void 0:x.id].filter(Boolean).join("_"),isPlaceholder:w,placeholderId:w?`${S.filter(A=>A.column===y).length}`:void 0,depth:d,index:S.length});E.subHeaders.push(x),S.push(E)}m.headers.push(x),x.headerGroup=m}),o.push(m),d>0&&s(S,d-1)},c=t.map((p,d)=>tp(n,p,{depth:r,index:d}));s(c,r-1),o.reverse();const f=p=>p.filter(m=>m.column.getIsVisible()).map(m=>{let S=0,x=0,v=[0];m.subHeaders&&m.subHeaders.length?(v=[],f(m.subHeaders).forEach(y=>{let{colSpan:w,rowSpan:E}=y;S+=w,v.push(E)})):S=1;const h=Math.min(...v);return x=x+h,m.colSpan=S,m.rowSpan=x,{colSpan:S,rowSpan:x}});return f((a=(i=o[0])==null?void 0:i.headers)!=null?a:[]),o}const lf=(e,t,n,l,a,i,r)=>{let u={id:t,index:l,original:n,depth:a,parentId:r,_valuesCache:{},_uniqueValuesCache:{},getValue:o=>{if(u._valuesCache.hasOwnProperty(o))return u._valuesCache[o];const s=e.getColumn(o);if(s!=null&&s.accessorFn)return u._valuesCache[o]=s.accessorFn(u.original,l),u._valuesCache[o]},getUniqueValues:o=>{if(u._uniqueValuesCache.hasOwnProperty(o))return u._uniqueValuesCache[o];const s=e.getColumn(o);if(s!=null&&s.accessorFn)return s.columnDef.getUniqueValues?(u._uniqueValuesCache[o]=s.columnDef.getUniqueValues(u.original,l),u._uniqueValuesCache[o]):(u._uniqueValuesCache[o]=[u.getValue(o)],u._uniqueValuesCache[o])},renderValue:o=>{var s;return(s=u.getValue(o))!=null?s:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>ib(u.subRows,o=>o.subRows),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let o=[],s=u;for(;;){const c=s.getParentRow();if(!c)break;o.push(c),s=c}return o.reverse()},getAllCells:L(()=>[e.getAllLeafColumns()],o=>o.map(s=>rb(e,u,s,s.id)),V(e.options,"debugRows")),_getAllCellsByColumnId:L(()=>[u.getAllCells()],o=>o.reduce((s,c)=>(s[c.column.id]=c,s),{}),V(e.options,"debugRows"))};for(let o=0;o<e._features.length;o++){const s=e._features[o];s==null||s.createRow==null||s.createRow(u,e)}return u},sb={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Uh=(e,t,n)=>{var l,a;const i=n==null||(l=n.toString())==null?void 0:l.toLowerCase();return!!(!((a=e.getValue(t))==null||(a=a.toString())==null||(a=a.toLowerCase())==null)&&a.includes(i))};Uh.autoRemove=e=>Mt(e);const Bh=(e,t,n)=>{var l;return!!(!((l=e.getValue(t))==null||(l=l.toString())==null)&&l.includes(n))};Bh.autoRemove=e=>Mt(e);const Fh=(e,t,n)=>{var l;return((l=e.getValue(t))==null||(l=l.toString())==null?void 0:l.toLowerCase())===(n==null?void 0:n.toLowerCase())};Fh.autoRemove=e=>Mt(e);const Hh=(e,t,n)=>{var l;return(l=e.getValue(t))==null?void 0:l.includes(n)};Hh.autoRemove=e=>Mt(e);const Lh=(e,t,n)=>!n.some(l=>{var a;return!((a=e.getValue(t))!=null&&a.includes(l))});Lh.autoRemove=e=>Mt(e)||!(e!=null&&e.length);const Vh=(e,t,n)=>n.some(l=>{var a;return(a=e.getValue(t))==null?void 0:a.includes(l)});Vh.autoRemove=e=>Mt(e)||!(e!=null&&e.length);const $h=(e,t,n)=>e.getValue(t)===n;$h.autoRemove=e=>Mt(e);const qh=(e,t,n)=>e.getValue(t)==n;qh.autoRemove=e=>Mt(e);const af=(e,t,n)=>{let[l,a]=n;const i=e.getValue(t);return i>=l&&i<=a};af.resolveFilterValue=e=>{let[t,n]=e,l=typeof t!="number"?parseFloat(t):t,a=typeof n!="number"?parseFloat(n):n,i=t===null||Number.isNaN(l)?-1/0:l,r=n===null||Number.isNaN(a)?1/0:a;if(i>r){const u=i;i=r,r=u}return[i,r]};af.autoRemove=e=>Mt(e)||Mt(e[0])&&Mt(e[1]);const kt={includesString:Uh,includesStringSensitive:Bh,equalsString:Fh,arrIncludes:Hh,arrIncludesAll:Lh,arrIncludesSome:Vh,equals:$h,weakEquals:qh,inNumberRange:af};function Mt(e){return e==null||e===""}const cb={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ct("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],l=n==null?void 0:n.getValue(e.id);return typeof l=="string"?kt.includesString:typeof l=="number"?kt.inNumberRange:typeof l=="boolean"||l!==null&&typeof l=="object"?kt.equals:Array.isArray(l)?kt.arrIncludes:kt.weakEquals},e.getFilterFn=()=>{var n,l;return Vu(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(l=t.options.filterFns)==null?void 0:l[e.columnDef.filterFn])!=null?n:kt[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,l,a;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((l=t.options.enableColumnFilters)!=null?l:!0)&&((a=t.options.enableFilters)!=null?a:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(l=>l.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,l;return(n=(l=t.getState().columnFilters)==null?void 0:l.findIndex(a=>a.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(l=>{const a=e.getFilterFn(),i=l==null?void 0:l.find(c=>c.id===e.id),r=Rn(n,i?i.value:void 0);if(np(a,r,e)){var u;return(u=l==null?void 0:l.filter(c=>c.id!==e.id))!=null?u:[]}const o={id:e.id,value:r};if(i){var s;return(s=l==null?void 0:l.map(c=>c.id===e.id?o:c))!=null?s:[]}return l!=null&&l.length?[...l,o]:[o]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),l=a=>{var i;return(i=Rn(t,a))==null?void 0:i.filter(r=>{const u=n.find(o=>o.id===r.id);if(u){const o=u.getFilterFn();if(np(o,r.value,u))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(l)},e.resetColumnFilters=t=>{var n,l;e.setColumnFilters(t?[]:(n=(l=e.initialState)==null?void 0:l.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function np(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const fb=(e,t,n)=>n.reduce((l,a)=>{const i=a.getValue(e);return l+(typeof i=="number"?i:0)},0),db=(e,t,n)=>{let l;return n.forEach(a=>{const i=a.getValue(e);i!=null&&(l>i||l===void 0&&i>=i)&&(l=i)}),l},pb=(e,t,n)=>{let l;return n.forEach(a=>{const i=a.getValue(e);i!=null&&(l<i||l===void 0&&i>=i)&&(l=i)}),l},gb=(e,t,n)=>{let l,a;return n.forEach(i=>{const r=i.getValue(e);r!=null&&(l===void 0?r>=r&&(l=a=r):(l>r&&(l=r),a<r&&(a=r)))}),[l,a]},mb=(e,t)=>{let n=0,l=0;if(t.forEach(a=>{let i=a.getValue(e);i!=null&&(i=+i)>=i&&(++n,l+=i)}),n)return l/n},hb=(e,t)=>{if(!t.length)return;const n=t.map(i=>i.getValue(e));if(!ab(n))return;if(n.length===1)return n[0];const l=Math.floor(n.length/2),a=n.sort((i,r)=>i-r);return n.length%2!==0?a[l]:(a[l-1]+a[l])/2},vb=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),yb=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,Sb=(e,t)=>t.length,wo={sum:fb,min:db,max:pb,extent:gb,mean:mb,median:hb,unique:vb,uniqueCount:yb,count:Sb},xb={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ct("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(l=>l!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,l;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((l=t.options.enableGrouping)!=null?l:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],l=n==null?void 0:n.getValue(e.id);if(typeof l=="number")return wo.sum;if(Object.prototype.toString.call(l)==="[object Date]")return wo.extent},e.getAggregationFn=()=>{var n,l;if(!e)throw new Error;return Vu(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(l=t.options.aggregationFns)==null?void 0:l[e.columnDef.aggregationFn])!=null?n:wo[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,l;e.setGrouping(t?[]:(n=(l=e.initialState)==null?void 0:l.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const l=t.getColumn(n);return l!=null&&l.columnDef.getGroupingValue?(e._groupingValuesCache[n]=l.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,l)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var a;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((a=n.subRows)!=null&&a.length)}}};function wb(e,t,n){if(!(t!=null&&t.length)||!n)return e;const l=e.filter(i=>!t.includes(i.id));return n==="remove"?l:[...t.map(i=>e.find(r=>r.id===i)).filter(Boolean),...l]}const bb={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ct("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=L(n=>[Wa(t,n)],n=>n.findIndex(l=>l.id===e.id),V(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var l;return((l=Wa(t,n)[0])==null?void 0:l.id)===e.id},e.getIsLastColumn=n=>{var l;const a=Wa(t,n);return((l=a[a.length-1])==null?void 0:l.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=L(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,l)=>a=>{let i=[];if(!(t!=null&&t.length))i=a;else{const r=[...t],u=[...a];for(;u.length&&r.length;){const o=r.shift(),s=u.findIndex(c=>c.id===o);s>-1&&i.push(u.splice(s,1)[0])}i=[...i,...u]}return wb(i,n,l)},V(e.options,"debugTable"))}},bo=()=>({left:[],right:[]}),Eb={getInitialState:e=>({columnPinning:bo(),...e}),getDefaultOptions:e=>({onColumnPinningChange:ct("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const l=e.getLeafColumns().map(a=>a.id).filter(Boolean);t.setColumnPinning(a=>{var i,r;if(n==="right"){var u,o;return{left:((u=a==null?void 0:a.left)!=null?u:[]).filter(f=>!(l!=null&&l.includes(f))),right:[...((o=a==null?void 0:a.right)!=null?o:[]).filter(f=>!(l!=null&&l.includes(f))),...l]}}if(n==="left"){var s,c;return{left:[...((s=a==null?void 0:a.left)!=null?s:[]).filter(f=>!(l!=null&&l.includes(f))),...l],right:((c=a==null?void 0:a.right)!=null?c:[]).filter(f=>!(l!=null&&l.includes(f)))}}return{left:((i=a==null?void 0:a.left)!=null?i:[]).filter(f=>!(l!=null&&l.includes(f))),right:((r=a==null?void 0:a.right)!=null?r:[]).filter(f=>!(l!=null&&l.includes(f)))}})},e.getCanPin=()=>e.getLeafColumns().some(l=>{var a,i,r;return((a=l.columnDef.enablePinning)!=null?a:!0)&&((i=(r=t.options.enableColumnPinning)!=null?r:t.options.enablePinning)!=null?i:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(u=>u.id),{left:l,right:a}=t.getState().columnPinning,i=n.some(u=>l==null?void 0:l.includes(u)),r=n.some(u=>a==null?void 0:a.includes(u));return i?"left":r?"right":!1},e.getPinnedIndex=()=>{var n,l;const a=e.getIsPinned();return a?(n=(l=t.getState().columnPinning)==null||(l=l[a])==null?void 0:l.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=L(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,l,a)=>{const i=[...l??[],...a??[]];return n.filter(r=>!i.includes(r.column.id))},V(t.options,"debugRows")),e.getLeftVisibleCells=L(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,l)=>(l??[]).map(i=>n.find(r=>r.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),V(t.options,"debugRows")),e.getRightVisibleCells=L(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,l)=>(l??[]).map(i=>n.find(r=>r.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),V(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,l;return e.setColumnPinning(t?bo():(n=(l=e.initialState)==null?void 0:l.columnPinning)!=null?n:bo())},e.getIsSomeColumnsPinned=t=>{var n;const l=e.getState().columnPinning;if(!t){var a,i;return!!((a=l.left)!=null&&a.length||(i=l.right)!=null&&i.length)}return!!((n=l[t])!=null&&n.length)},e.getLeftLeafColumns=L(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(l=>t.find(a=>a.id===l)).filter(Boolean),V(e.options,"debugColumns")),e.getRightLeafColumns=L(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(l=>t.find(a=>a.id===l)).filter(Boolean),V(e.options,"debugColumns")),e.getCenterLeafColumns=L(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,l)=>{const a=[...n??[],...l??[]];return t.filter(i=>!a.includes(i.id))},V(e.options,"debugColumns"))}};function Rb(e){return e||(typeof document<"u"?document:null)}const ir={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Eo=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),Cb={getDefaultColumnDef:()=>ir,getInitialState:e=>({columnSizing:{},columnSizingInfo:Eo(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ct("columnSizing",e),onColumnSizingInfoChange:ct("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,l,a;const i=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:ir.minSize,(l=i??e.columnDef.size)!=null?l:ir.size),(a=e.columnDef.maxSize)!=null?a:ir.maxSize)},e.getStart=L(n=>[n,Wa(t,n),t.getState().columnSizing],(n,l)=>l.slice(0,e.getIndex(n)).reduce((a,i)=>a+i.getSize(),0),V(t.options,"debugColumns")),e.getAfter=L(n=>[n,Wa(t,n),t.getState().columnSizing],(n,l)=>l.slice(e.getIndex(n)+1).reduce((a,i)=>a+i.getSize(),0),V(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:l,...a}=n;return a})},e.getCanResize=()=>{var n,l;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((l=t.options.enableColumnResizing)!=null?l:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const l=a=>{if(a.subHeaders.length)a.subHeaders.forEach(l);else{var i;n+=(i=a.column.getSize())!=null?i:0}};return l(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const l=t.getColumn(e.column.id),a=l==null?void 0:l.getCanResize();return i=>{if(!l||!a||(i.persist==null||i.persist(),Ro(i)&&i.touches&&i.touches.length>1))return;const r=e.getSize(),u=e?e.getLeafHeaders().map(v=>[v.column.id,v.column.getSize()]):[[l.id,l.getSize()]],o=Ro(i)?Math.round(i.touches[0].clientX):i.clientX,s={},c=(v,h)=>{typeof h=="number"&&(t.setColumnSizingInfo(y=>{var w,E;const A=t.options.columnResizeDirection==="rtl"?-1:1,R=(h-((w=y==null?void 0:y.startOffset)!=null?w:0))*A,D=Math.max(R/((E=y==null?void 0:y.startSize)!=null?E:0),-.999999);return y.columnSizingStart.forEach(M=>{let[N,j]=M;s[N]=Math.round(Math.max(j+j*D,0)*100)/100}),{...y,deltaOffset:R,deltaPercentage:D}}),(t.options.columnResizeMode==="onChange"||v==="end")&&t.setColumnSizing(y=>({...y,...s})))},f=v=>c("move",v),p=v=>{c("end",v),t.setColumnSizingInfo(h=>({...h,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},d=Rb(n),m={moveHandler:v=>f(v.clientX),upHandler:v=>{d==null||d.removeEventListener("mousemove",m.moveHandler),d==null||d.removeEventListener("mouseup",m.upHandler),p(v.clientX)}},S={moveHandler:v=>(v.cancelable&&(v.preventDefault(),v.stopPropagation()),f(v.touches[0].clientX),!1),upHandler:v=>{var h;d==null||d.removeEventListener("touchmove",S.moveHandler),d==null||d.removeEventListener("touchend",S.upHandler),v.cancelable&&(v.preventDefault(),v.stopPropagation()),p((h=v.touches[0])==null?void 0:h.clientX)}},x=Ab()?{passive:!1}:!1;Ro(i)?(d==null||d.addEventListener("touchmove",S.moveHandler,x),d==null||d.addEventListener("touchend",S.upHandler,x)):(d==null||d.addEventListener("mousemove",m.moveHandler,x),d==null||d.addEventListener("mouseup",m.upHandler,x)),t.setColumnSizingInfo(v=>({...v,startOffset:o,startSize:r,deltaOffset:0,deltaPercentage:0,columnSizingStart:u,isResizingColumn:l.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?Eo():(n=e.initialState.columnSizingInfo)!=null?n:Eo())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((l,a)=>l+a.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((l,a)=>l+a.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((l,a)=>l+a.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((l,a)=>l+a.getSize(),0))!=null?t:0}}};let rr=null;function Ab(){if(typeof rr=="boolean")return rr;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return rr=e,rr}function Ro(e){return e.type==="touchstart"}const Ob={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ct("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(l=>({...l,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,l;const a=e.columns;return(n=a.length?a.some(i=>i.getIsVisible()):(l=t.getState().columnVisibility)==null?void 0:l[e.id])!=null?n:!0},e.getCanHide=()=>{var n,l;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((l=t.options.enableHiding)!=null?l:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=L(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(l=>l.column.getIsVisible()),V(t.options,"debugRows")),e.getVisibleCells=L(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,l,a)=>[...n,...l,...a],V(t.options,"debugRows"))},createTable:e=>{const t=(n,l)=>L(()=>[l(),l().filter(a=>a.getIsVisible()).map(a=>a.id).join("_")],a=>a.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),V(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var l;e.setColumnVisibility(n?{}:(l=e.initialState.columnVisibility)!=null?l:{})},e.toggleAllColumnsVisible=n=>{var l;n=(l=n)!=null?l:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((a,i)=>({...a,[i.id]:n||!(i.getCanHide!=null&&i.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var l;e.toggleAllColumnsVisible((l=n.target)==null?void 0:l.checked)}}};function Wa(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const _b={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Tb={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ct("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const l=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof l=="string"||typeof l=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,l,a,i;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((l=t.options.enableGlobalFilter)!=null?l:!0)&&((a=t.options.enableFilters)!=null?a:!0)&&((i=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>kt.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:l}=e.options;return Vu(l)?l:l==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[l])!=null?t:kt[l]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Db={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ct("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var l,a;if(!t){e._queue(()=>{t=!0});return}if((l=(a=e.options.autoResetAll)!=null?a:e.options.autoResetExpanded)!=null?l:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=l=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(l),e.toggleAllRowsExpanded=l=>{l??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=l=>{var a,i;e.setExpanded(l?{}:(a=(i=e.initialState)==null?void 0:i.expanded)!=null?a:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(l=>l.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>l=>{l.persist==null||l.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const l=e.getState().expanded;return l===!0||Object.values(l).some(Boolean)},e.getIsAllRowsExpanded=()=>{const l=e.getState().expanded;return typeof l=="boolean"?l===!0:!(!Object.keys(l).length||e.getRowModel().flatRows.some(a=>!a.getIsExpanded()))},e.getExpandedDepth=()=>{let l=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const r=i.split(".");l=Math.max(l,r.length)}),l},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(l=>{var a;const i=l===!0?!0:!!(l!=null&&l[e.id]);let r={};if(l===!0?Object.keys(t.getRowModel().rowsById).forEach(u=>{r[u]=!0}):r=l,n=(a=n)!=null?a:!i,!i&&n)return{...r,[e.id]:!0};if(i&&!n){const{[e.id]:u,...o}=r;return o}return l})},e.getIsExpanded=()=>{var n;const l=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:l===!0||l!=null&&l[e.id])},e.getCanExpand=()=>{var n,l,a;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((l=t.options.enableExpanding)!=null?l:!0)&&!!((a=e.subRows)!=null&&a.length)},e.getIsAllParentsExpanded=()=>{let n=!0,l=e;for(;n&&l.parentId;)l=t.getRow(l.parentId,!0),n=l.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},As=0,Os=10,Co=()=>({pageIndex:As,pageSize:Os}),Mb={getInitialState:e=>({...e,pagination:{...Co(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ct("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var l,a;if(!t){e._queue(()=>{t=!0});return}if((l=(a=e.options.autoResetAll)!=null?a:e.options.autoResetPageIndex)!=null?l:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=l=>{const a=i=>Rn(l,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(a)},e.resetPagination=l=>{var a;e.setPagination(l?Co():(a=e.initialState.pagination)!=null?a:Co())},e.setPageIndex=l=>{e.setPagination(a=>{let i=Rn(l,a.pageIndex);const r=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,r)),{...a,pageIndex:i}})},e.resetPageIndex=l=>{var a,i;e.setPageIndex(l?As:(a=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageIndex)!=null?a:As)},e.resetPageSize=l=>{var a,i;e.setPageSize(l?Os:(a=(i=e.initialState)==null||(i=i.pagination)==null?void 0:i.pageSize)!=null?a:Os)},e.setPageSize=l=>{e.setPagination(a=>{const i=Math.max(1,Rn(l,a.pageSize)),r=a.pageSize*a.pageIndex,u=Math.floor(r/i);return{...a,pageIndex:u,pageSize:i}})},e.setPageCount=l=>e.setPagination(a=>{var i;let r=Rn(l,(i=e.options.pageCount)!=null?i:-1);return typeof r=="number"&&(r=Math.max(-1,r)),{...a,pageCount:r}}),e.getPageOptions=L(()=>[e.getPageCount()],l=>{let a=[];return l&&l>0&&(a=[...new Array(l)].fill(null).map((i,r)=>r)),a},V(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:l}=e.getState().pagination,a=e.getPageCount();return a===-1?!0:a===0?!1:l<a-1},e.previousPage=()=>e.setPageIndex(l=>l-1),e.nextPage=()=>e.setPageIndex(l=>l+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var l;return(l=e.options.pageCount)!=null?l:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var l;return(l=e.options.rowCount)!=null?l:e.getPrePaginationRowModel().rows.length}}},Ao=()=>({top:[],bottom:[]}),Nb={getInitialState:e=>({rowPinning:Ao(),...e}),getDefaultOptions:e=>({onRowPinningChange:ct("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,l,a)=>{const i=l?e.getLeafRows().map(o=>{let{id:s}=o;return s}):[],r=a?e.getParentRows().map(o=>{let{id:s}=o;return s}):[],u=new Set([...r,e.id,...i]);t.setRowPinning(o=>{var s,c;if(n==="bottom"){var f,p;return{top:((f=o==null?void 0:o.top)!=null?f:[]).filter(S=>!(u!=null&&u.has(S))),bottom:[...((p=o==null?void 0:o.bottom)!=null?p:[]).filter(S=>!(u!=null&&u.has(S))),...Array.from(u)]}}if(n==="top"){var d,m;return{top:[...((d=o==null?void 0:o.top)!=null?d:[]).filter(S=>!(u!=null&&u.has(S))),...Array.from(u)],bottom:((m=o==null?void 0:o.bottom)!=null?m:[]).filter(S=>!(u!=null&&u.has(S)))}}return{top:((s=o==null?void 0:o.top)!=null?s:[]).filter(S=>!(u!=null&&u.has(S))),bottom:((c=o==null?void 0:o.bottom)!=null?c:[]).filter(S=>!(u!=null&&u.has(S)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:l,enablePinning:a}=t.options;return typeof l=="function"?l(e):(n=l??a)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:l,bottom:a}=t.getState().rowPinning,i=n.some(u=>l==null?void 0:l.includes(u)),r=n.some(u=>a==null?void 0:a.includes(u));return i?"top":r?"bottom":!1},e.getPinnedIndex=()=>{var n,l;const a=e.getIsPinned();if(!a)return-1;const i=(n=a==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(r=>{let{id:u}=r;return u});return(l=i==null?void 0:i.indexOf(e.id))!=null?l:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,l;return e.setRowPinning(t?Ao():(n=(l=e.initialState)==null?void 0:l.rowPinning)!=null?n:Ao())},e.getIsSomeRowsPinned=t=>{var n;const l=e.getState().rowPinning;if(!t){var a,i;return!!((a=l.top)!=null&&a.length||(i=l.bottom)!=null&&i.length)}return!!((n=l[t])!=null&&n.length)},e._getPinnedRows=(t,n,l)=>{var a;return((a=e.options.keepPinnedRows)==null||a?(n??[]).map(r=>{const u=e.getRow(r,!0);return u.getIsAllParentsExpanded()?u:null}):(n??[]).map(r=>t.find(u=>u.id===r))).filter(Boolean).map(r=>({...r,position:l}))},e.getTopRows=L(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),V(e.options,"debugRows")),e.getBottomRows=L(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),V(e.options,"debugRows")),e.getCenterRows=L(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,l)=>{const a=new Set([...n??[],...l??[]]);return t.filter(i=>!a.has(i.id))},V(e.options,"debugRows"))}},jb={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ct("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const l={...n},a=e.getPreGroupedRowModel().flatRows;return t?a.forEach(i=>{i.getCanSelect()&&(l[i.id]=!0)}):a.forEach(i=>{delete l[i.id]}),l})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const l=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),a={...n};return e.getRowModel().rows.forEach(i=>{_s(a,i.id,l,!0,e)}),a}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=L(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Oo(e,n):{rows:[],flatRows:[],rowsById:{}},V(e.options,"debugTable")),e.getFilteredSelectedRowModel=L(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Oo(e,n):{rows:[],flatRows:[],rowsById:{}},V(e.options,"debugTable")),e.getGroupedSelectedRowModel=L(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Oo(e,n):{rows:[],flatRows:[],rowsById:{}},V(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let l=!!(t.length&&Object.keys(n).length);return l&&t.some(a=>a.getCanSelect()&&!n[a.id])&&(l=!1),l},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(a=>a.getCanSelect()),{rowSelection:n}=e.getState();let l=!!t.length;return l&&t.some(a=>!n[a.id])&&(l=!1),l},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,l)=>{const a=e.getIsSelected();t.setRowSelection(i=>{var r;if(n=typeof n<"u"?n:!a,e.getCanSelect()&&a===n)return i;const u={...i};return _s(u,e.id,n,(r=l==null?void 0:l.selectChildren)!=null?r:!0,t),u})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return rf(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Ts(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Ts(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return l=>{var a;n&&e.toggleSelected((a=l.target)==null?void 0:a.checked)}}}},_s=(e,t,n,l,a)=>{var i;const r=a.getRow(t,!0);n?(r.getCanMultiSelect()||Object.keys(e).forEach(u=>delete e[u]),r.getCanSelect()&&(e[t]=!0)):delete e[t],l&&(i=r.subRows)!=null&&i.length&&r.getCanSelectSubRows()&&r.subRows.forEach(u=>_s(e,u.id,n,l,a))};function Oo(e,t){const n=e.getState().rowSelection,l=[],a={},i=function(r,u){return r.map(o=>{var s;const c=rf(o,n);if(c&&(l.push(o),a[o.id]=o),(s=o.subRows)!=null&&s.length&&(o={...o,subRows:i(o.subRows)}),c)return o}).filter(Boolean)};return{rows:i(t.rows),flatRows:l,rowsById:a}}function rf(e,t){var n;return(n=t[e.id])!=null?n:!1}function Ts(e,t,n){var l;if(!((l=e.subRows)!=null&&l.length))return!1;let a=!0,i=!1;return e.subRows.forEach(r=>{if(!(i&&!a)&&(r.getCanSelect()&&(rf(r,t)?i=!0:a=!1),r.subRows&&r.subRows.length)){const u=Ts(r,t);u==="all"?i=!0:(u==="some"&&(i=!0),a=!1)}}),a?"all":i?"some":!1}const Ds=/([0-9]+)/gm,zb=(e,t,n)=>Gh(Vn(e.getValue(n)).toLowerCase(),Vn(t.getValue(n)).toLowerCase()),Ub=(e,t,n)=>Gh(Vn(e.getValue(n)),Vn(t.getValue(n))),Bb=(e,t,n)=>uf(Vn(e.getValue(n)).toLowerCase(),Vn(t.getValue(n)).toLowerCase()),Fb=(e,t,n)=>uf(Vn(e.getValue(n)),Vn(t.getValue(n))),Hb=(e,t,n)=>{const l=e.getValue(n),a=t.getValue(n);return l>a?1:l<a?-1:0},Lb=(e,t,n)=>uf(e.getValue(n),t.getValue(n));function uf(e,t){return e===t?0:e>t?1:-1}function Vn(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function Gh(e,t){const n=e.split(Ds).filter(Boolean),l=t.split(Ds).filter(Boolean);for(;n.length&&l.length;){const a=n.shift(),i=l.shift(),r=parseInt(a,10),u=parseInt(i,10),o=[r,u].sort();if(isNaN(o[0])){if(a>i)return 1;if(i>a)return-1;continue}if(isNaN(o[1]))return isNaN(r)?-1:1;if(r>u)return 1;if(u>r)return-1}return n.length-l.length}const Na={alphanumeric:zb,alphanumericCaseSensitive:Ub,text:Bb,textCaseSensitive:Fb,datetime:Hb,basic:Lb},Vb={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ct("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let l=!1;for(const a of n){const i=a==null?void 0:a.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return Na.datetime;if(typeof i=="string"&&(l=!0,i.split(Ds).length>1))return Na.alphanumeric}return l?Na.text:Na.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,l;if(!e)throw new Error;return Vu(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(l=t.options.sortingFns)==null?void 0:l[e.columnDef.sortingFn])!=null?n:Na[e.columnDef.sortingFn]},e.toggleSorting=(n,l)=>{const a=e.getNextSortingOrder(),i=typeof n<"u"&&n!==null;t.setSorting(r=>{const u=r==null?void 0:r.find(d=>d.id===e.id),o=r==null?void 0:r.findIndex(d=>d.id===e.id);let s=[],c,f=i?n:a==="desc";if(r!=null&&r.length&&e.getCanMultiSort()&&l?u?c="toggle":c="add":r!=null&&r.length&&o!==r.length-1?c="replace":u?c="toggle":c="replace",c==="toggle"&&(i||a||(c="remove")),c==="add"){var p;s=[...r,{id:e.id,desc:f}],s.splice(0,s.length-((p=t.options.maxMultiSortColCount)!=null?p:Number.MAX_SAFE_INTEGER))}else c==="toggle"?s=r.map(d=>d.id===e.id?{...d,desc:f}:d):c==="remove"?s=r.filter(d=>d.id!==e.id):s=[{id:e.id,desc:f}];return s})},e.getFirstSortDir=()=>{var n,l;return((n=(l=e.columnDef.sortDescFirst)!=null?l:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var l,a;const i=e.getFirstSortDir(),r=e.getIsSorted();return r?r!==i&&((l=t.options.enableSortingRemoval)==null||l)&&(!(n&&(a=t.options.enableMultiRemove)!=null)||a)?!1:r==="desc"?"asc":"desc":i},e.getCanSort=()=>{var n,l;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((l=t.options.enableSorting)!=null?l:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,l;return(n=(l=e.columnDef.enableMultiSort)!=null?l:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const l=(n=t.getState().sorting)==null?void 0:n.find(a=>a.id===e.id);return l?l.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,l;return(n=(l=t.getState().sorting)==null?void 0:l.findIndex(a=>a.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(l=>l.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return l=>{n&&(l.persist==null||l.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(l):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,l;e.setSorting(t?[]:(n=(l=e.initialState)==null?void 0:l.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},$b=[ob,Ob,bb,Eb,sb,cb,_b,Tb,Vb,xb,Db,Mb,Nb,jb,Cb];function qb(e){var t,n;const l=[...$b,...(t=e._features)!=null?t:[]];let a={_features:l};const i=a._features.reduce((p,d)=>Object.assign(p,d.getDefaultOptions==null?void 0:d.getDefaultOptions(a)),{}),r=p=>a.options.mergeOptions?a.options.mergeOptions(i,p):{...i,...p};let o={...{},...(n=e.initialState)!=null?n:{}};a._features.forEach(p=>{var d;o=(d=p.getInitialState==null?void 0:p.getInitialState(o))!=null?d:o});const s=[];let c=!1;const f={_features:l,options:{...i,...e},initialState:o,_queue:p=>{s.push(p),c||(c=!0,Promise.resolve().then(()=>{for(;s.length;)s.shift()();c=!1}).catch(d=>setTimeout(()=>{throw d})))},reset:()=>{a.setState(a.initialState)},setOptions:p=>{const d=Rn(p,a.options);a.options=r(d)},getState:()=>a.options.state,setState:p=>{a.options.onStateChange==null||a.options.onStateChange(p)},_getRowId:(p,d,m)=>{var S;return(S=a.options.getRowId==null?void 0:a.options.getRowId(p,d,m))!=null?S:`${m?[m.id,d].join("."):d}`},getCoreRowModel:()=>(a._getCoreRowModel||(a._getCoreRowModel=a.options.getCoreRowModel(a)),a._getCoreRowModel()),getRowModel:()=>a.getPaginationRowModel(),getRow:(p,d)=>{let m=(d?a.getPrePaginationRowModel():a.getRowModel()).rowsById[p];if(!m&&(m=a.getCoreRowModel().rowsById[p],!m))throw new Error;return m},_getDefaultColumnDef:L(()=>[a.options.defaultColumn],p=>{var d;return p=(d=p)!=null?d:{},{header:m=>{const S=m.header.column.columnDef;return S.accessorKey?S.accessorKey:S.accessorFn?S.id:null},cell:m=>{var S,x;return(S=(x=m.renderValue())==null||x.toString==null?void 0:x.toString())!=null?S:null},...a._features.reduce((m,S)=>Object.assign(m,S.getDefaultColumnDef==null?void 0:S.getDefaultColumnDef()),{}),...p}},V(e,"debugColumns")),_getColumnDefs:()=>a.options.columns,getAllColumns:L(()=>[a._getColumnDefs()],p=>{const d=function(m,S,x){return x===void 0&&(x=0),m.map(v=>{const h=ub(a,v,x,S),y=v;return h.columns=y.columns?d(y.columns,h,x+1):[],h})};return d(p)},V(e,"debugColumns")),getAllFlatColumns:L(()=>[a.getAllColumns()],p=>p.flatMap(d=>d.getFlatColumns()),V(e,"debugColumns")),_getAllFlatColumnsById:L(()=>[a.getAllFlatColumns()],p=>p.reduce((d,m)=>(d[m.id]=m,d),{}),V(e,"debugColumns")),getAllLeafColumns:L(()=>[a.getAllColumns(),a._getOrderColumnsFn()],(p,d)=>{let m=p.flatMap(S=>S.getLeafColumns());return d(m)},V(e,"debugColumns")),getColumn:p=>a._getAllFlatColumnsById()[p]};Object.assign(a,f);for(let p=0;p<a._features.length;p++){const d=a._features[p];d==null||d.createTable==null||d.createTable(a)}return a}function Gb(){return e=>L(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},l=function(a,i,r){i===void 0&&(i=0);const u=[];for(let s=0;s<a.length;s++){const c=lf(e,e._getRowId(a[s],s,r),a[s],s,i,void 0,r==null?void 0:r.id);if(n.flatRows.push(c),n.rowsById[c.id]=c,u.push(c),e.options.getSubRows){var o;c.originalSubRows=e.options.getSubRows(a[s],s),(o=c.originalSubRows)!=null&&o.length&&(c.subRows=l(c.originalSubRows,i+1,c))}}return u};return n.rows=l(t),n},V(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function Yb(e){const t=[],n=l=>{var a;t.push(l),(a=l.subRows)!=null&&a.length&&l.getIsExpanded()&&l.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Xb(){return(e,t)=>L(()=>{var n;return[(n=e.getColumn(t))==null?void 0:n.getFacetedRowModel()]},n=>{if(!n)return;const l=n.flatRows.flatMap(r=>{var u;return(u=r.getUniqueValues(t))!=null?u:[]}).map(Number).filter(r=>!Number.isNaN(r));if(!l.length)return;let a=l[0],i=l[l.length-1];for(const r of l)r<a?a=r:r>i&&(i=r);return[a,i]},V(e.options,"debugTable"))}function Yh(e,t,n){return n.options.filterFromLeafRows?Qb(e,t,n):Zb(e,t,n)}function Qb(e,t,n){var l;const a=[],i={},r=(l=n.options.maxLeafRowFilterDepth)!=null?l:100,u=function(o,s){s===void 0&&(s=0);const c=[];for(let p=0;p<o.length;p++){var f;let d=o[p];const m=lf(n,d.id,d.original,d.index,d.depth,void 0,d.parentId);if(m.columnFilters=d.columnFilters,(f=d.subRows)!=null&&f.length&&s<r){if(m.subRows=u(d.subRows,s+1),d=m,t(d)&&!m.subRows.length){c.push(d),i[d.id]=d,a.push(d);continue}if(t(d)||m.subRows.length){c.push(d),i[d.id]=d,a.push(d);continue}}else d=m,t(d)&&(c.push(d),i[d.id]=d,a.push(d))}return c};return{rows:u(e),flatRows:a,rowsById:i}}function Zb(e,t,n){var l;const a=[],i={},r=(l=n.options.maxLeafRowFilterDepth)!=null?l:100,u=function(o,s){s===void 0&&(s=0);const c=[];for(let p=0;p<o.length;p++){let d=o[p];if(t(d)){var f;if((f=d.subRows)!=null&&f.length&&s<r){const S=lf(n,d.id,d.original,d.index,d.depth,void 0,d.parentId);S.subRows=u(d.subRows,s+1),d=S}c.push(d),a.push(d),i[d.id]=d}}return c};return{rows:u(e),flatRows:a,rowsById:i}}function Kb(){return(e,t)=>L(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter,e.getFilteredRowModel()],(n,l,a)=>{if(!n.rows.length||!(l!=null&&l.length)&&!a)return n;const i=[...l.map(u=>u.id).filter(u=>u!==t),a?"__global__":void 0].filter(Boolean),r=u=>{for(let o=0;o<i.length;o++)if(u.columnFilters[i[o]]===!1)return!1;return!0};return Yh(n.rows,r,e)},V(e.options,"debugTable"))}function Jb(){return(e,t)=>L(()=>{var n;return[(n=e.getColumn(t))==null?void 0:n.getFacetedRowModel()]},n=>{if(!n)return new Map;let l=new Map;for(let i=0;i<n.flatRows.length;i++){const r=n.flatRows[i].getUniqueValues(t);for(let u=0;u<r.length;u++){const o=r[u];if(l.has(o)){var a;l.set(o,((a=l.get(o))!=null?a:0)+1)}else l.set(o,1)}}return l},V(e.options,"debugTable"))}function kb(){return e=>L(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,l)=>{if(!t.rows.length||!(n!=null&&n.length)&&!l){for(let p=0;p<t.flatRows.length;p++)t.flatRows[p].columnFilters={},t.flatRows[p].columnFiltersMeta={};return t}const a=[],i=[];(n??[]).forEach(p=>{var d;const m=e.getColumn(p.id);if(!m)return;const S=m.getFilterFn();S&&a.push({id:p.id,filterFn:S,resolvedValue:(d=S.resolveFilterValue==null?void 0:S.resolveFilterValue(p.value))!=null?d:p.value})});const r=(n??[]).map(p=>p.id),u=e.getGlobalFilterFn(),o=e.getAllLeafColumns().filter(p=>p.getCanGlobalFilter());l&&u&&o.length&&(r.push("__global__"),o.forEach(p=>{var d;i.push({id:p.id,filterFn:u,resolvedValue:(d=u.resolveFilterValue==null?void 0:u.resolveFilterValue(l))!=null?d:l})}));let s,c;for(let p=0;p<t.flatRows.length;p++){const d=t.flatRows[p];if(d.columnFilters={},a.length)for(let m=0;m<a.length;m++){s=a[m];const S=s.id;d.columnFilters[S]=s.filterFn(d,S,s.resolvedValue,x=>{d.columnFiltersMeta[S]=x})}if(i.length){for(let m=0;m<i.length;m++){c=i[m];const S=c.id;if(c.filterFn(d,S,c.resolvedValue,x=>{d.columnFiltersMeta[S]=x})){d.columnFilters.__global__=!0;break}}d.columnFilters.__global__!==!0&&(d.columnFilters.__global__=!1)}}const f=p=>{for(let d=0;d<r.length;d++)if(p.columnFilters[r[d]]===!1)return!1;return!0};return Yh(t.rows,f,e)},V(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function Ib(e){return t=>L(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,l)=>{if(!l.rows.length)return l;const{pageSize:a,pageIndex:i}=n;let{rows:r,flatRows:u,rowsById:o}=l;const s=a*i,c=s+a;r=r.slice(s,c);let f;t.options.paginateExpandedRows?f={rows:r,flatRows:u,rowsById:o}:f=Yb({rows:r,flatRows:u,rowsById:o}),f.flatRows=[];const p=d=>{f.flatRows.push(d),d.subRows.length&&d.subRows.forEach(p)};return f.rows.forEach(p),f},V(t.options,"debugTable"))}function Wb(){return e=>L(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const l=e.getState().sorting,a=[],i=l.filter(o=>{var s;return(s=e.getColumn(o.id))==null?void 0:s.getCanSort()}),r={};i.forEach(o=>{const s=e.getColumn(o.id);s&&(r[o.id]={sortUndefined:s.columnDef.sortUndefined,invertSorting:s.columnDef.invertSorting,sortingFn:s.getSortingFn()})});const u=o=>{const s=o.map(c=>({...c}));return s.sort((c,f)=>{for(let d=0;d<i.length;d+=1){var p;const m=i[d],S=r[m.id],x=S.sortUndefined,v=(p=m==null?void 0:m.desc)!=null?p:!1;let h=0;if(x){const y=c.getValue(m.id),w=f.getValue(m.id),E=y===void 0,A=w===void 0;if(E||A){if(x==="first")return E?-1:1;if(x==="last")return E?1:-1;h=E&&A?0:E?x:-x}}if(h===0&&(h=S.sortingFn(c,f,m.id)),h!==0)return v&&(h*=-1),S.invertSorting&&(h*=-1),h}return c.index-f.index}),s.forEach(c=>{var f;a.push(c),(f=c.subRows)!=null&&f.length&&(c.subRows=u(c.subRows))}),s};return{rows:u(n.rows),flatRows:a,rowsById:n.rowsById}},V(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
   * react-table
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function lp(e,t){return e?Pb(e)?b.createElement(e,t):e:null}function Pb(e){return eE(e)||typeof e=="function"||tE(e)}function eE(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function tE(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function nE(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=b.useState(()=>({current:qb(t)})),[l,a]=b.useState(()=>n.current.initialState);return n.current.setOptions(i=>({...i,...e,state:{...l,...e.state},onStateChange:r=>{a(r),e.onStateChange==null||e.onStateChange(r)}})),n.current}var ap=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},zt=[],mt=[],lE=typeof Uint8Array<"u"?Uint8Array:Array,of=!1;function Xh(){of=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)zt[t]=e[t],mt[e.charCodeAt(t)]=t;mt[45]=62,mt[95]=63}function aE(e){of||Xh();var t,n,l,a,i,r,u=e.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=e[u-2]==="="?2:e[u-1]==="="?1:0,r=new lE(u*3/4-i),l=i>0?u-4:u;var o=0;for(t=0,n=0;t<l;t+=4,n+=3)a=mt[e.charCodeAt(t)]<<18|mt[e.charCodeAt(t+1)]<<12|mt[e.charCodeAt(t+2)]<<6|mt[e.charCodeAt(t+3)],r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=a&255;return i===2?(a=mt[e.charCodeAt(t)]<<2|mt[e.charCodeAt(t+1)]>>4,r[o++]=a&255):i===1&&(a=mt[e.charCodeAt(t)]<<10|mt[e.charCodeAt(t+1)]<<4|mt[e.charCodeAt(t+2)]>>2,r[o++]=a>>8&255,r[o++]=a&255),r}function iE(e){return zt[e>>18&63]+zt[e>>12&63]+zt[e>>6&63]+zt[e&63]}function rE(e,t,n){for(var l,a=[],i=t;i<n;i+=3)l=(e[i]<<16)+(e[i+1]<<8)+e[i+2],a.push(iE(l));return a.join("")}function ip(e){of||Xh();for(var t,n=e.length,l=n%3,a="",i=[],r=16383,u=0,o=n-l;u<o;u+=r)i.push(rE(e,u,u+r>o?o:u+r));return l===1?(t=e[n-1],a+=zt[t>>2],a+=zt[t<<4&63],a+="=="):l===2&&(t=(e[n-2]<<8)+e[n-1],a+=zt[t>>10],a+=zt[t>>4&63],a+=zt[t<<2&63],a+="="),i.push(a),i.join("")}function $u(e,t,n,l,a){var i,r,u=a*8-l-1,o=(1<<u)-1,s=o>>1,c=-7,f=n?a-1:0,p=n?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-c)-1,d>>=-c,c+=u;c>0;i=i*256+e[t+f],f+=p,c-=8);for(r=i&(1<<-c)-1,i>>=-c,c+=l;c>0;r=r*256+e[t+f],f+=p,c-=8);if(i===0)i=1-s;else{if(i===o)return r?NaN:(d?-1:1)*(1/0);r=r+Math.pow(2,l),i=i-s}return(d?-1:1)*r*Math.pow(2,i-l)}function Qh(e,t,n,l,a,i){var r,u,o,s=i*8-a-1,c=(1<<s)-1,f=c>>1,p=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=l?0:i-1,m=l?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,r=c):(r=Math.floor(Math.log(t)/Math.LN2),t*(o=Math.pow(2,-r))<1&&(r--,o*=2),r+f>=1?t+=p/o:t+=p*Math.pow(2,1-f),t*o>=2&&(r++,o/=2),r+f>=c?(u=0,r=c):r+f>=1?(u=(t*o-1)*Math.pow(2,a),r=r+f):(u=t*Math.pow(2,f-1)*Math.pow(2,a),r=0));a>=8;e[n+d]=u&255,d+=m,u/=256,a-=8);for(r=r<<a|u,s+=a;s>0;e[n+d]=r&255,d+=m,r/=256,s-=8);e[n+d-m]|=S*128}var uE={}.toString,Zh=Array.isArray||function(e){return uE.call(e)=="[object Array]"},oE=50;T.TYPED_ARRAY_SUPPORT=ap.TYPED_ARRAY_SUPPORT!==void 0?ap.TYPED_ARRAY_SUPPORT:!0;Jr();function Jr(){return T.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Pt(e,t){if(Jr()<t)throw new RangeError("Invalid typed array length");return T.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=T.prototype):(e===null&&(e=new T(t)),e.length=t),e}function T(e,t,n){if(!T.TYPED_ARRAY_SUPPORT&&!(this instanceof T))return new T(e,t,n);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return sf(this,e)}return Kh(this,e,t,n)}T.poolSize=8192;T._augment=function(e){return e.__proto__=T.prototype,e};function Kh(e,t,n,l){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?fE(e,t,n,l):typeof t=="string"?cE(e,t,n):dE(e,t)}T.from=function(e,t,n){return Kh(null,e,t,n)};T.TYPED_ARRAY_SUPPORT&&(T.prototype.__proto__=Uint8Array.prototype,T.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&T[Symbol.species]);function Jh(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function sE(e,t,n,l){return Jh(t),t<=0?Pt(e,t):n!==void 0?typeof l=="string"?Pt(e,t).fill(n,l):Pt(e,t).fill(n):Pt(e,t)}T.alloc=function(e,t,n){return sE(null,e,t,n)};function sf(e,t){if(Jh(t),e=Pt(e,t<0?0:cf(t)|0),!T.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}T.allocUnsafe=function(e){return sf(null,e)};T.allocUnsafeSlow=function(e){return sf(null,e)};function cE(e,t,n){if((typeof n!="string"||n==="")&&(n="utf8"),!T.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var l=kh(t,n)|0;e=Pt(e,l);var a=e.write(t,n);return a!==l&&(e=e.slice(0,a)),e}function Ms(e,t){var n=t.length<0?0:cf(t.length)|0;e=Pt(e,n);for(var l=0;l<n;l+=1)e[l]=t[l]&255;return e}function fE(e,t,n,l){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(l||0))throw new RangeError("'length' is out of bounds");return n===void 0&&l===void 0?t=new Uint8Array(t):l===void 0?t=new Uint8Array(t,n):t=new Uint8Array(t,n,l),T.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=T.prototype):e=Ms(e,t),e}function dE(e,t){if(qt(t)){var n=cf(t.length)|0;return e=Pt(e,n),e.length===0||t.copy(e,0,0,n),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||ME(t.length)?Pt(e,0):Ms(e,t);if(t.type==="Buffer"&&Zh(t.data))return Ms(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function cf(e){if(e>=Jr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Jr().toString(16)+" bytes");return e|0}T.isBuffer=Bl;function qt(e){return!!(e!=null&&e._isBuffer)}T.compare=function(t,n){if(!qt(t)||!qt(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var l=t.length,a=n.length,i=0,r=Math.min(l,a);i<r;++i)if(t[i]!==n[i]){l=t[i],a=n[i];break}return l<a?-1:a<l?1:0};T.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};T.concat=function(t,n){if(!Zh(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return T.alloc(0);var l;if(n===void 0)for(n=0,l=0;l<t.length;++l)n+=t[l].length;var a=T.allocUnsafe(n),i=0;for(l=0;l<t.length;++l){var r=t[l];if(!qt(r))throw new TypeError('"list" argument must be an Array of Buffers');r.copy(a,i),i+=r.length}return a};function kh(e,t){if(qt(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var l=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return kr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return l0(e).length;default:if(l)return kr(e).length;t=(""+t).toLowerCase(),l=!0}}T.byteLength=kh;function pE(e,t,n){var l=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return EE(this,t,n);case"utf8":case"utf-8":return Ph(this,t,n);case"ascii":return wE(this,t,n);case"latin1":case"binary":return bE(this,t,n);case"base64":return SE(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return RE(this,t,n);default:if(l)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),l=!0}}T.prototype._isBuffer=!0;function il(e,t,n){var l=e[t];e[t]=e[n],e[n]=l}T.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<t;n+=2)il(this,n,n+1);return this};T.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<t;n+=4)il(this,n,n+3),il(this,n+1,n+2);return this};T.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<t;n+=8)il(this,n,n+7),il(this,n+1,n+6),il(this,n+2,n+5),il(this,n+3,n+4);return this};T.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Ph(this,0,t):pE.apply(this,arguments)};T.prototype.equals=function(t){if(!qt(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:T.compare(this,t)===0};T.prototype.inspect=function(){var t="",n=oE;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"};T.prototype.compare=function(t,n,l,a,i){if(!qt(t))throw new TypeError("Argument must be a Buffer");if(n===void 0&&(n=0),l===void 0&&(l=t?t.length:0),a===void 0&&(a=0),i===void 0&&(i=this.length),n<0||l>t.length||a<0||i>this.length)throw new RangeError("out of range index");if(a>=i&&n>=l)return 0;if(a>=i)return-1;if(n>=l)return 1;if(n>>>=0,l>>>=0,a>>>=0,i>>>=0,this===t)return 0;for(var r=i-a,u=l-n,o=Math.min(r,u),s=this.slice(a,i),c=t.slice(n,l),f=0;f<o;++f)if(s[f]!==c[f]){r=s[f],u=c[f];break}return r<u?-1:u<r?1:0};function Ih(e,t,n,l,a){if(e.length===0)return-1;if(typeof n=="string"?(l=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0)if(a)n=0;else return-1;if(typeof t=="string"&&(t=T.from(t,l)),qt(t))return t.length===0?-1:rp(e,t,n,l,a);if(typeof t=="number")return t=t&255,T.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):rp(e,[t],n,l,a);throw new TypeError("val must be string, number or Buffer")}function rp(e,t,n,l,a){var i=1,r=e.length,u=t.length;if(l!==void 0&&(l=String(l).toLowerCase(),l==="ucs2"||l==="ucs-2"||l==="utf16le"||l==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,r/=2,u/=2,n/=2}function o(d,m){return i===1?d[m]:d.readUInt16BE(m*i)}var s;if(a){var c=-1;for(s=n;s<r;s++)if(o(e,s)===o(t,c===-1?0:s-c)){if(c===-1&&(c=s),s-c+1===u)return c*i}else c!==-1&&(s-=s-c),c=-1}else for(n+u>r&&(n=r-u),s=n;s>=0;s--){for(var f=!0,p=0;p<u;p++)if(o(e,s+p)!==o(t,p)){f=!1;break}if(f)return s}return-1}T.prototype.includes=function(t,n,l){return this.indexOf(t,n,l)!==-1};T.prototype.indexOf=function(t,n,l){return Ih(this,t,n,l,!0)};T.prototype.lastIndexOf=function(t,n,l){return Ih(this,t,n,l,!1)};function gE(e,t,n,l){n=Number(n)||0;var a=e.length-n;l?(l=Number(l),l>a&&(l=a)):l=a;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");l>i/2&&(l=i/2);for(var r=0;r<l;++r){var u=parseInt(t.substr(r*2,2),16);if(isNaN(u))return r;e[n+r]=u}return r}function mE(e,t,n,l){return Yu(kr(t,e.length-n),e,n,l)}function Wh(e,t,n,l){return Yu(TE(t),e,n,l)}function hE(e,t,n,l){return Wh(e,t,n,l)}function vE(e,t,n,l){return Yu(l0(t),e,n,l)}function yE(e,t,n,l){return Yu(DE(t,e.length-n),e,n,l)}T.prototype.write=function(t,n,l,a){if(n===void 0)a="utf8",l=this.length,n=0;else if(l===void 0&&typeof n=="string")a=n,l=this.length,n=0;else if(isFinite(n))n=n|0,isFinite(l)?(l=l|0,a===void 0&&(a="utf8")):(a=l,l=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-n;if((l===void 0||l>i)&&(l=i),t.length>0&&(l<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var r=!1;;)switch(a){case"hex":return gE(this,t,n,l);case"utf8":case"utf-8":return mE(this,t,n,l);case"ascii":return Wh(this,t,n,l);case"latin1":case"binary":return hE(this,t,n,l);case"base64":return vE(this,t,n,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yE(this,t,n,l);default:if(r)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),r=!0}};T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function SE(e,t,n){return t===0&&n===e.length?ip(e):ip(e.slice(t,n))}function Ph(e,t,n){n=Math.min(e.length,n);for(var l=[],a=t;a<n;){var i=e[a],r=null,u=i>239?4:i>223?3:i>191?2:1;if(a+u<=n){var o,s,c,f;switch(u){case 1:i<128&&(r=i);break;case 2:o=e[a+1],(o&192)===128&&(f=(i&31)<<6|o&63,f>127&&(r=f));break;case 3:o=e[a+1],s=e[a+2],(o&192)===128&&(s&192)===128&&(f=(i&15)<<12|(o&63)<<6|s&63,f>2047&&(f<55296||f>57343)&&(r=f));break;case 4:o=e[a+1],s=e[a+2],c=e[a+3],(o&192)===128&&(s&192)===128&&(c&192)===128&&(f=(i&15)<<18|(o&63)<<12|(s&63)<<6|c&63,f>65535&&f<1114112&&(r=f))}}r===null?(r=65533,u=1):r>65535&&(r-=65536,l.push(r>>>10&1023|55296),r=56320|r&1023),l.push(r),a+=u}return xE(l)}var up=4096;function xE(e){var t=e.length;if(t<=up)return String.fromCharCode.apply(String,e);for(var n="",l=0;l<t;)n+=String.fromCharCode.apply(String,e.slice(l,l+=up));return n}function wE(e,t,n){var l="";n=Math.min(e.length,n);for(var a=t;a<n;++a)l+=String.fromCharCode(e[a]&127);return l}function bE(e,t,n){var l="";n=Math.min(e.length,n);for(var a=t;a<n;++a)l+=String.fromCharCode(e[a]);return l}function EE(e,t,n){var l=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>l)&&(n=l);for(var a="",i=t;i<n;++i)a+=_E(e[i]);return a}function RE(e,t,n){for(var l=e.slice(t,n),a="",i=0;i<l.length;i+=2)a+=String.fromCharCode(l[i]+l[i+1]*256);return a}T.prototype.slice=function(t,n){var l=this.length;t=~~t,n=n===void 0?l:~~n,t<0?(t+=l,t<0&&(t=0)):t>l&&(t=l),n<0?(n+=l,n<0&&(n=0)):n>l&&(n=l),n<t&&(n=t);var a;if(T.TYPED_ARRAY_SUPPORT)a=this.subarray(t,n),a.__proto__=T.prototype;else{var i=n-t;a=new T(i,void 0);for(var r=0;r<i;++r)a[r]=this[r+t]}return a};function De(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}T.prototype.readUIntLE=function(t,n,l){t=t|0,n=n|0,l||De(t,n,this.length);for(var a=this[t],i=1,r=0;++r<n&&(i*=256);)a+=this[t+r]*i;return a};T.prototype.readUIntBE=function(t,n,l){t=t|0,n=n|0,l||De(t,n,this.length);for(var a=this[t+--n],i=1;n>0&&(i*=256);)a+=this[t+--n]*i;return a};T.prototype.readUInt8=function(t,n){return n||De(t,1,this.length),this[t]};T.prototype.readUInt16LE=function(t,n){return n||De(t,2,this.length),this[t]|this[t+1]<<8};T.prototype.readUInt16BE=function(t,n){return n||De(t,2,this.length),this[t]<<8|this[t+1]};T.prototype.readUInt32LE=function(t,n){return n||De(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};T.prototype.readUInt32BE=function(t,n){return n||De(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};T.prototype.readIntLE=function(t,n,l){t=t|0,n=n|0,l||De(t,n,this.length);for(var a=this[t],i=1,r=0;++r<n&&(i*=256);)a+=this[t+r]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*n)),a};T.prototype.readIntBE=function(t,n,l){t=t|0,n=n|0,l||De(t,n,this.length);for(var a=n,i=1,r=this[t+--a];a>0&&(i*=256);)r+=this[t+--a]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*n)),r};T.prototype.readInt8=function(t,n){return n||De(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};T.prototype.readInt16LE=function(t,n){n||De(t,2,this.length);var l=this[t]|this[t+1]<<8;return l&32768?l|4294901760:l};T.prototype.readInt16BE=function(t,n){n||De(t,2,this.length);var l=this[t+1]|this[t]<<8;return l&32768?l|4294901760:l};T.prototype.readInt32LE=function(t,n){return n||De(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};T.prototype.readInt32BE=function(t,n){return n||De(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};T.prototype.readFloatLE=function(t,n){return n||De(t,4,this.length),$u(this,t,!0,23,4)};T.prototype.readFloatBE=function(t,n){return n||De(t,4,this.length),$u(this,t,!1,23,4)};T.prototype.readDoubleLE=function(t,n){return n||De(t,8,this.length),$u(this,t,!0,52,8)};T.prototype.readDoubleBE=function(t,n){return n||De(t,8,this.length),$u(this,t,!1,52,8)};function We(e,t,n,l,a,i){if(!qt(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<i)throw new RangeError('"value" argument is out of bounds');if(n+l>e.length)throw new RangeError("Index out of range")}T.prototype.writeUIntLE=function(t,n,l,a){if(t=+t,n=n|0,l=l|0,!a){var i=Math.pow(2,8*l)-1;We(this,t,n,l,i,0)}var r=1,u=0;for(this[n]=t&255;++u<l&&(r*=256);)this[n+u]=t/r&255;return n+l};T.prototype.writeUIntBE=function(t,n,l,a){if(t=+t,n=n|0,l=l|0,!a){var i=Math.pow(2,8*l)-1;We(this,t,n,l,i,0)}var r=l-1,u=1;for(this[n+r]=t&255;--r>=0&&(u*=256);)this[n+r]=t/u&255;return n+l};T.prototype.writeUInt8=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,1,255,0),T.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=t&255,n+1};function qu(e,t,n,l){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a<i;++a)e[n+a]=(t&255<<8*(l?a:1-a))>>>(l?a:1-a)*8}T.prototype.writeUInt16LE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,2,65535,0),T.TYPED_ARRAY_SUPPORT?(this[n]=t&255,this[n+1]=t>>>8):qu(this,t,n,!0),n+2};T.prototype.writeUInt16BE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,2,65535,0),T.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t&255):qu(this,t,n,!1),n+2};function Gu(e,t,n,l){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a<i;++a)e[n+a]=t>>>(l?a:3-a)*8&255}T.prototype.writeUInt32LE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,4,4294967295,0),T.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=t&255):Gu(this,t,n,!0),n+4};T.prototype.writeUInt32BE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,4,4294967295,0),T.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255):Gu(this,t,n,!1),n+4};T.prototype.writeIntLE=function(t,n,l,a){if(t=+t,n=n|0,!a){var i=Math.pow(2,8*l-1);We(this,t,n,l,i-1,-i)}var r=0,u=1,o=0;for(this[n]=t&255;++r<l&&(u*=256);)t<0&&o===0&&this[n+r-1]!==0&&(o=1),this[n+r]=(t/u>>0)-o&255;return n+l};T.prototype.writeIntBE=function(t,n,l,a){if(t=+t,n=n|0,!a){var i=Math.pow(2,8*l-1);We(this,t,n,l,i-1,-i)}var r=l-1,u=1,o=0;for(this[n+r]=t&255;--r>=0&&(u*=256);)t<0&&o===0&&this[n+r+1]!==0&&(o=1),this[n+r]=(t/u>>0)-o&255;return n+l};T.prototype.writeInt8=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,1,127,-128),T.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=t&255,n+1};T.prototype.writeInt16LE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,2,32767,-32768),T.TYPED_ARRAY_SUPPORT?(this[n]=t&255,this[n+1]=t>>>8):qu(this,t,n,!0),n+2};T.prototype.writeInt16BE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,2,32767,-32768),T.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=t&255):qu(this,t,n,!1),n+2};T.prototype.writeInt32LE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,4,2147483647,-2147483648),T.TYPED_ARRAY_SUPPORT?(this[n]=t&255,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):Gu(this,t,n,!0),n+4};T.prototype.writeInt32BE=function(t,n,l){return t=+t,n=n|0,l||We(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),T.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=t&255):Gu(this,t,n,!1),n+4};function e0(e,t,n,l,a,i){if(n+l>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function t0(e,t,n,l,a){return a||e0(e,t,n,4),Qh(e,t,n,l,23,4),n+4}T.prototype.writeFloatLE=function(t,n,l){return t0(this,t,n,!0,l)};T.prototype.writeFloatBE=function(t,n,l){return t0(this,t,n,!1,l)};function n0(e,t,n,l,a){return a||e0(e,t,n,8),Qh(e,t,n,l,52,8),n+8}T.prototype.writeDoubleLE=function(t,n,l){return n0(this,t,n,!0,l)};T.prototype.writeDoubleBE=function(t,n,l){return n0(this,t,n,!1,l)};T.prototype.copy=function(t,n,l,a){if(l||(l=0),!a&&a!==0&&(a=this.length),n>=t.length&&(n=t.length),n||(n=0),a>0&&a<l&&(a=l),a===l||t.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(l<0||l>=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),t.length-n<a-l&&(a=t.length-n+l);var i=a-l,r;if(this===t&&l<n&&n<a)for(r=i-1;r>=0;--r)t[r+n]=this[r+l];else if(i<1e3||!T.TYPED_ARRAY_SUPPORT)for(r=0;r<i;++r)t[r+n]=this[r+l];else Uint8Array.prototype.set.call(t,this.subarray(l,l+i),n);return i};T.prototype.fill=function(t,n,l,a){if(typeof t=="string"){if(typeof n=="string"?(a=n,n=0,l=this.length):typeof l=="string"&&(a=l,l=this.length),t.length===1){var i=t.charCodeAt(0);i<256&&(t=i)}if(a!==void 0&&typeof a!="string")throw new TypeError("encoding must be a string");if(typeof a=="string"&&!T.isEncoding(a))throw new TypeError("Unknown encoding: "+a)}else typeof t=="number"&&(t=t&255);if(n<0||this.length<n||this.length<l)throw new RangeError("Out of range index");if(l<=n)return this;n=n>>>0,l=l===void 0?this.length:l>>>0,t||(t=0);var r;if(typeof t=="number")for(r=n;r<l;++r)this[r]=t;else{var u=qt(t)?t:kr(new T(t,a).toString()),o=u.length;for(r=0;r<l-n;++r)this[r+n]=u[r%o]}return this};var CE=/[^+\/0-9A-Za-z-_]/g;function AE(e){if(e=OE(e).replace(CE,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function OE(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function _E(e){return e<16?"0"+e.toString(16):e.toString(16)}function kr(e,t){t=t||1/0;for(var n,l=e.length,a=null,i=[],r=0;r<l;++r){if(n=e.charCodeAt(r),n>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(r+1===l){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=(a-55296<<10|n-56320)+65536}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return i}function TE(e){for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function DE(e,t){for(var n,l,a,i=[],r=0;r<e.length&&!((t-=2)<0);++r)n=e.charCodeAt(r),l=n>>8,a=n%256,i.push(a),i.push(l);return i}function l0(e){return aE(AE(e))}function Yu(e,t,n,l){for(var a=0;a<l&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function ME(e){return e!==e}function Bl(e){return e!=null&&(!!e._isBuffer||a0(e)||NE(e))}function a0(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function NE(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&a0(e.slice(0,0))}const jE=46,zE=/\\(\\)?/g,UE=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),BE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,FE=/^\w*$/,HE=function(e){return Object.prototype.toString.call(e)},i0=function(e){const t=typeof e;return t==="symbol"||t==="object"&&e&&HE(e)==="[object Symbol]"},LE=function(e,t){if(Array.isArray(e))return!1;const n=typeof e;return n==="number"||n==="symbol"||n==="boolean"||!e||i0(e)?!0:FE.test(e)||!BE.test(e)||t!=null&&e in Object(t)},VE=function(e){const t=[];return e.charCodeAt(0)===jE&&t.push(""),e.replace(UE,function(n,l,a,i){let r=n;a?r=i.replace(zE,"$1"):l&&(r=l.trim()),t.push(r)}),t},$E=function(e,t){return Array.isArray(e)?e:LE(e,t)?[e]:VE(e)},qE=function(e){if(typeof e=="string"||i0(e))return e;const t=`${e}`;return t=="0"&&1/e==-INFINITY?"-0":t},GE=function(e,t){t=$E(t,e);let n=0;const l=t.length;for(;e!=null&&n<l;)e=e[qE(t[n++])];return n&&n===l?e:void 0},YE=function(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)},r0=function(e){if(e==null)return[void 0,void 0];if(typeof e!="object")return[Error('Invalid option "columns": expect an array or an object')];if(Array.isArray(e)){const t=[];for(const n of e)if(typeof n=="string")t.push({key:n,header:n});else if(typeof n=="object"&&n!==null&&!Array.isArray(n)){if(!n.key)return[Error('Invalid column definition: property "key" is required')];n.header===void 0&&(n.header=n.key),t.push(n)}else return[Error("Invalid column definition: expect a string or an object")];e=t}else{const t=[];for(const n in e)t.push({key:n,header:e[n]});e=t}return[void 0,e]};class Fl extends Error{constructor(t,n,...l){Array.isArray(n)&&(n=n.join(" ")),super(n),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,Fl),this.code=t;for(const a of l)for(const i in a){const r=a[i];this[i]=Bl(r)?r.toString():r==null?r:JSON.parse(JSON.stringify(r))}}}const XE=function(e){return e.replace(/([A-Z])/g,function(t,n){return"_"+n.toLowerCase()})},u0=function(e){const t={};for(const a in e)t[XE(a)]=e[a];if(t.bom===void 0||t.bom===null||t.bom===!1)t.bom=!1;else if(t.bom!==!0)return[new Fl("CSV_OPTION_BOOLEAN_INVALID_TYPE",["option `bom` is optional and must be a boolean value,",`got ${JSON.stringify(t.bom)}`])];if(t.delimiter===void 0||t.delimiter===null)t.delimiter=",";else if(Bl(t.delimiter))t.delimiter=t.delimiter.toString();else if(typeof t.delimiter!="string")return[new Fl("CSV_OPTION_DELIMITER_INVALID_TYPE",["option `delimiter` must be a buffer or a string,",`got ${JSON.stringify(t.delimiter)}`])];if(t.quote===void 0||t.quote===null)t.quote='"';else if(t.quote===!0)t.quote='"';else if(t.quote===!1)t.quote="";else if(Bl(t.quote))t.quote=t.quote.toString();else if(typeof t.quote!="string")return[new Fl("CSV_OPTION_QUOTE_INVALID_TYPE",["option `quote` must be a boolean, a buffer or a string,",`got ${JSON.stringify(t.quote)}`])];if((t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),t.escape_formulas===void 0||t.escape_formulas===null)t.escape_formulas=!1;else if(typeof t.escape_formulas!="boolean")return[new Fl("CSV_OPTION_ESCAPE_FORMULAS_INVALID_TYPE",["option `escape_formulas` must be a boolean,",`got ${JSON.stringify(t.escape_formulas)}`])];if((t.quoted_empty===void 0||t.quoted_empty===null)&&(t.quoted_empty=void 0),t.quoted_match===void 0||t.quoted_match===null||t.quoted_match===!1?t.quoted_match=null:Array.isArray(t.quoted_match)||(t.quoted_match=[t.quoted_match]),t.quoted_match)for(const a of t.quoted_match){const i=typeof a=="string",r=a instanceof RegExp;if(!i&&!r)return[Error(`Invalid Option: quoted_match must be a string or a regex, got ${JSON.stringify(a)}`)]}if((t.quoted_string===void 0||t.quoted_string===null)&&(t.quoted_string=!1),(t.eof===void 0||t.eof===null)&&(t.eof=!0),t.escape===void 0||t.escape===null)t.escape='"';else if(Bl(t.escape))t.escape=t.escape.toString();else if(typeof t.escape!="string")return[Error(`Invalid Option: escape must be a buffer or a string, got ${JSON.stringify(t.escape)}`)];if(t.escape.length>1)return[Error(`Invalid Option: escape must be one character, got ${t.escape.length} characters`)];(t.header===void 0||t.header===null)&&(t.header=!1);const[n,l]=r0(t.columns);if(n!==void 0)return[n];if(t.columns=l,(t.quoted===void 0||t.quoted===null)&&(t.quoted=!1),(t.cast===void 0||t.cast===null)&&(t.cast={}),(t.cast.bigint===void 0||t.cast.bigint===null)&&(t.cast.bigint=a=>""+a),(t.cast.boolean===void 0||t.cast.boolean===null)&&(t.cast.boolean=a=>a?"1":""),(t.cast.date===void 0||t.cast.date===null)&&(t.cast.date=a=>""+a.getTime()),(t.cast.number===void 0||t.cast.number===null)&&(t.cast.number=a=>""+a),(t.cast.object===void 0||t.cast.object===null)&&(t.cast.object=a=>JSON.stringify(a)),(t.cast.string===void 0||t.cast.string===null)&&(t.cast.string=function(a){return a}),t.on_record!==void 0&&typeof t.on_record!="function")return[Error('Invalid Option: "on_record" must be a function.')];if(t.record_delimiter===void 0||t.record_delimiter===null)t.record_delimiter=`
`;else if(Bl(t.record_delimiter))t.record_delimiter=t.record_delimiter.toString();else if(typeof t.record_delimiter!="string")return[Error(`Invalid Option: record_delimiter must be a buffer or a string, got ${JSON.stringify(t.record_delimiter)}`)];switch(t.record_delimiter){case"unix":t.record_delimiter=`
`;break;case"mac":t.record_delimiter="\r";break;case"windows":t.record_delimiter=`\r
`;break;case"ascii":t.record_delimiter="";break;case"unicode":t.record_delimiter="\u2028";break}return[void 0,t]},QE=T.from([239,187,191]),ZE=function(e,t,n){return{options:e,state:t,info:n,__transform:function(l,a){if(!Array.isArray(l)&&typeof l!="object")return Error(`Invalid Record: expect an array or an object, got ${JSON.stringify(l)}`);if(this.info.records===0){if(Array.isArray(l)){if(this.options.header===!0&&this.options.columns===void 0)return Error("Undiscoverable Columns: header option requires column option or object records")}else if(this.options.columns===void 0){const[u,o]=r0(Object.keys(l));if(u)return;this.options.columns=o}}if(this.info.records===0){this.bom(a);const u=this.headers(a);if(u)return u}try{this.options.on_record&&this.options.on_record(l,this.info.records)}catch(u){return u}let i,r;if(this.options.eof){if([i,r]=this.stringify(l),i)return i;if(r===void 0)return;r=r+this.options.record_delimiter}else{if([i,r]=this.stringify(l),i)return i;if(r===void 0)return;(this.options.header||this.info.records)&&(r=this.options.record_delimiter+r)}this.info.records++,a(r)},stringify:function(l,a=!1){if(typeof l!="object")return[void 0,l];const{columns:i}=this.options,r=[];if(Array.isArray(l)){i&&l.splice(i.length);for(let o=0;o<l.length;o++){const s=l[o],[c,f]=this.__cast(s,{index:o,column:o,records:this.info.records,header:a});if(c)return[c];r[o]=[f,s]}}else for(let o=0;o<i.length;o++){const s=GE(l,i[o].key),[c,f]=this.__cast(s,{index:o,column:i[o].key,records:this.info.records,header:a});if(c)return[c];r[o]=[f,s]}let u="";for(let o=0;o<r.length;o++){let s,c,[f,p]=r[o];if(typeof f=="string")s=this.options;else if(YE(f)){if(s=f,f=s.value,delete s.value,typeof f!="string"&&f!==void 0&&f!==null&&c)return[Error(`Invalid Casting Value: returned value must return a string, null or undefined, got ${JSON.stringify(f)}`)];if(s={...this.options,...s},[c,s]=u0(s),c!==void 0)return[c]}else if(f==null)s=this.options;else return[Error(`Invalid Casting Value: returned value must return a string, an object, null or undefined, got ${JSON.stringify(f)}`)];const{delimiter:d,escape:m,quote:S,quoted:x,quoted_empty:v,quoted_string:h,quoted_match:y,record_delimiter:w,escape_formulas:E}=s;if(f===""&&p===""){let A=y&&y.filter(D=>typeof D=="string"?f.indexOf(D)!==-1:D.test(f));A=A&&A.length>0,(A||v===!0||h===!0&&v!==!1)===!0&&(f=S+f+S),u+=f}else if(f){if(typeof f!="string")return[Error(`Formatter must return a string, null or undefined, got ${JSON.stringify(f)}`)];const A=d.length&&f.indexOf(d)>=0,R=S!==""&&f.indexOf(S)>=0,D=f.indexOf(m)>=0&&m!==S,M=f.indexOf(w)>=0,N=h&&typeof p=="string";let j=y&&y.filter(U=>typeof U=="string"?f.indexOf(U)!==-1:U.test(f));if(j=j&&j.length>0,E)switch(f[0]){case"=":case"+":case"-":case"@":case"	":case"\r":case"＝":case"＋":case"－":case"＠":f=`'${f}`;break}const F=R===!0||A||M||x||N||j;if(F===!0&&D===!0){const U=m==="\\"?new RegExp(m+m,"g"):new RegExp(m,"g");f=f.replace(U,m+m)}if(R===!0){const U=new RegExp(S,"g");f=f.replace(U,m+S)}F===!0&&(f=S+f+S),u+=f}else(v===!0||p===""&&h===!0&&v!==!1)&&(u+=S+S);o!==r.length-1&&(u+=d)}return[void 0,u]},bom:function(l){this.options.bom===!0&&l(QE)},headers:function(l){if(this.options.header===!1||this.options.columns===void 0)return;let a,i=this.options.columns.map(r=>r.header);if(this.options.eof?([a,i]=this.stringify(i,!0),i+=this.options.record_delimiter):[a,i]=this.stringify(i),a)return a;l(i)},__cast:function(l,a){const i=typeof l;try{return i==="string"?[void 0,this.options.cast.string(l,a)]:i==="bigint"?[void 0,this.options.cast.bigint(l,a)]:i==="number"?[void 0,this.options.cast.number(l,a)]:i==="boolean"?[void 0,this.options.cast.boolean(l,a)]:l instanceof Date?[void 0,this.options.cast.date(l,a)]:i==="object"&&l!==null?[void 0,this.options.cast.object(l,a)]:[void 0,l,l]}catch(r){return[r]}}}},KE=function(e,t={}){const n=[],[l,a]=u0(t);if(l!==void 0)throw l;const u=ZE(a,{stop:!1},{records:0});for(const o of e){const s=u.__transform(o,function(c){n.push(c)});if(s!==void 0)throw s}if(n.length===0){u.bom(s=>{n.push(s)});const o=u.headers(s=>{n.push(s)});if(o!==void 0)throw o}return n.join("")};function op(e){return g.jsx(jh,{id:"character_tooltip",children:e})}const JE=(e,t)=>{const{rows:n}=e.getCoreRowModel(),l=e.getHeaderGroups().map(s=>s.headers.map(c=>c.column.columnDef.header)),a=n.map(s=>s.getVisibleCells().map(c=>c.getValue()));console.log(l,a);const i=KE([...l,...a]),r="csv",u=new Blob([i],{type:`text/${r};charset=utf8;`}),o=document.createElement("a");o.download=t,o.href=URL.createObjectURL(u),o.setAttribute("visibility","hidden"),document.body.appendChild(o),o.click(),document.body.removeChild(o)},Xu=({isFetching:e=!1,debugTable:t=!1,data:n=[],columns:l,striped:a=!1,hover:i=!1,initialState:r=void 0,exportFileName:u=void 0})=>{let o={pagination:{pageSize:15}};r!==void 0&&(o=r);const s=nE({data:n,columns:l,getCoreRowModel:Gb(),getFilteredRowModel:kb(),getSortedRowModel:Wb(),getPaginationRowModel:Ib(),getFacetedRowModel:Kb(),getFacetedUniqueValues:Jb(),getFacetedMinMaxValues:Xb(),debugTable:t,initialState:o});return g.jsx(kE,{table:s,data:n,columns:l,isFetching:e,debugTable:t,initialState:r,striped:a,hover:i,exportFileName:u})};function kE({table:e,isFetching:t=!1,striped:n=!1,hover:l=!1,debugTable:a=!1,exportFileName:i=void 0}){const{rows:r}=e.getRowModel(),u=M1(),o=typeof i<"u"?i:`ExportedData_${u.pathname}`;return g.jsxs(g.Fragment,{children:[g.jsxs("div",{striped:n,hover:l,children:[g.jsx(Ul,{className:"",children:e.getHeaderGroups().map(s=>g.jsxs(g.Fragment,{children:[g.jsx(Ml,{children:s.headers.map(c=>g.jsx(Ul,{xs:12,className:`col-sm-12 col-md-12 col-lg-12 col-xl mt-4 ${c.column.columnDef.width}`,children:c.isPlaceholder?null:g.jsxs(Ml,{className:c.column.getCanSort()?"d-dlex cursor-pointer select-none":"d-flex",children:[g.jsx(Ml,{onClick:c.column.getToggleSortingHandler(),children:g.jsxs("div",{className:"d-flex",children:[c.column.getCanSort()?g.jsx("div",{children:{asc:g.jsx("i",{className:"fas fa-sort-down fa-fw"}),desc:g.jsx("i",{className:"fas fa-sort-up fa-fw"})}[c.column.getIsSorted()]??g.jsx("i",{className:"fas fa-sort fa-fw"})}):null,lp(c.column.columnDef.header,c.getContext())]})}),g.jsx(Ml,{children:c.column.getCanFilter()&&r.length>=0?g.jsx(lb,{column:c.column,table:e}):g.jsx(g.Fragment,{})})]})},c.id))},`name-${s.id}`),g.jsx("hr",{})]}))}),g.jsx(Ul,{children:r.map(s=>g.jsxs(g.Fragment,{children:[g.jsx(Ml,{className:"",children:s.getVisibleCells().map(c=>g.jsx(Ul,{xs:12,className:`col-sm-12 col-md-12 col-lg-12 col-xl mt-2 ${c.column.columnDef.width}`,children:lp(c.column.columnDef.cell,c.getContext())},c.id))},s.id),g.jsx("hr",{})]}))})]}),g.jsxs("div",{className:"d-flex justify-content-between",children:[g.jsxs(Ka,{children:[g.jsx(Ye,{active:!0,variant:"info",children:g.jsxs(g.Fragment,{children:[e.getState().pagination.pageIndex+1," of ",e.getPageCount()]})}),t?g.jsx(gi,{placement:"bottom",trigger:"focus",overlay:op("Refreshing Data"),children:g.jsx(Ye,{variant:"info",children:g.jsx("i",{className:q1.refreshAnimate+" fas fa-sync"})})}):g.jsx(gi,{placement:"bottom",trigger:"focus",overlay:op("Data Loaded: "+new Date().toLocaleString()),children:g.jsx(Ye,{variant:"info",children:g.jsx("i",{className:"far fa-check-circle"})})}),g.jsx(Ye,{active:!0,variant:"primary",onClick:()=>JE(e,o),children:"Export Table to CSV"})," "]}),g.jsxs(Rm,{children:[g.jsxs(Ka,{children:[g.jsx(Ye,{variant:"success",onClick:()=>e.setPageIndex(0),disabled:!e.getCanPreviousPage(),children:g.jsx("i",{className:"fas fa-angle-double-left"})})," ",g.jsx(Ye,{variant:"success",onClick:()=>e.previousPage(),disabled:!e.getCanPreviousPage(),children:g.jsx("i",{className:"fas fa-caret-left"})})," ",g.jsx(Ye,{variant:"success",onClick:()=>e.nextPage(),disabled:!e.getCanNextPage(),children:g.jsx("i",{className:"fas fa-caret-right"})}),g.jsx(Ye,{variant:"success",onClick:()=>e.setPageIndex(e.getPageCount()-1),disabled:!e.getCanNextPage(),children:g.jsx("i",{className:"fas fa-angle-double-right"})})]}),g.jsxs(Ka,{className:"ms-1",children:[g.jsx(Ye,{active:!0,variant:"success",children:"Page Size:"})," ",g.jsx(nf,{id:"pageSizeDropdown",variant:"success",title:e.getState().pagination.pageSize,children:[15,30,60,100,1e6].map(s=>g.jsxs(En.Item,{id:`${s}`,eventKey:s,onClick:c=>{console.log(c.target.id),e.setPageSize(Number(c.target.id))},children:["Show ",s]},s))})]})]})]}),a&&g.jsxs("div",{className:"col-xs-12",children:[g.jsxs("div",{children:[e.getRowModel().rows.length," Rows"]}),g.jsx("pre",{children:JSON.stringify(e.getState(),null,2)})]})]})}const IE="_flexContainer_ia7nm_1",WE="_errorAnim_ia7nm_33",PE="_ldsDualRing_ia7nm_38",Ir={flexContainer:IE,errorAnim:WE,ldsDualRing:PE},eR=({className:e=""})=>g.jsx("div",{className:e+" "+Ir.ldsDualRing}),tR=(e={title:"Loading..."})=>g.jsx("div",{className:Ir.flexContainer,children:g.jsxs("div",{className:"text-center",children:[g.jsx(eR,{}),g.jsx("h3",{children:e.title&&e.title}),g.jsx("p",{children:e.message&&e.message})]})}),nR=(e={title:"Error Loading Component"})=>g.jsx("div",{className:Ir.flexContainer,children:g.jsxs("div",{className:"text-center",children:[g.jsx("div",{className:Ir.errorAnim,children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",fill:"currentColor",className:"bi bi-exclamation-triangle",viewBox:"0 0 16 16",children:[g.jsx("path",{d:"M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"}),g.jsx("path",{d:"M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"})]})}),g.jsx("h3",{children:e.title&&e.title}),g.jsx("p",{children:e.message&&e.message}),g.jsx("p",{})]})});class Wl extends b.Component{constructor(t){super(t),this.state={hasError:!1}}componentDidCatch(t,n){console.error("ErrorBoundary caught an error: ",t,n),this.setState({hasError:!0})}render(){return this.state.hasError?g.jsx(nR,{}):this.props.children}}function o0(e,t){return function(){return e.apply(t,arguments)}}const{toString:lR}=Object.prototype,{getPrototypeOf:ff}=Object,{iterator:Qu,toStringTag:s0}=Symbol,Zu=(e=>t=>{const n=lR.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=e=>(e=e.toLowerCase(),t=>Zu(t)===e),Ku=e=>t=>typeof t===e,{isArray:ba}=Array,ca=Ku("undefined");function Ui(e){return e!==null&&!ca(e)&&e.constructor!==null&&!ca(e.constructor)&&Ke(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const c0=Nt("ArrayBuffer");function aR(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&c0(e.buffer),t}const iR=Ku("string"),Ke=Ku("function"),f0=Ku("number"),Bi=e=>e!==null&&typeof e=="object",rR=e=>e===!0||e===!1,Or=e=>{if(Zu(e)!=="object")return!1;const t=ff(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(s0 in e)&&!(Qu in e)},uR=e=>{if(!Bi(e)||Ui(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},oR=Nt("Date"),sR=Nt("File"),cR=e=>!!(e&&typeof e.uri<"u"),fR=e=>e&&typeof e.getParts<"u",dR=Nt("Blob"),pR=Nt("FileList"),gR=e=>Bi(e)&&Ke(e.pipe);function mR(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const sp=mR(),cp=typeof sp.FormData<"u"?sp.FormData:void 0,hR=e=>{let t;return e&&(cp&&e instanceof cp||Ke(e.append)&&((t=Zu(e))==="formdata"||t==="object"&&Ke(e.toString)&&e.toString()==="[object FormData]"))},vR=Nt("URLSearchParams"),[yR,SR,xR,wR]=["ReadableStream","Request","Response","Headers"].map(Nt),bR=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let l,a;if(typeof e!="object"&&(e=[e]),ba(e))for(l=0,a=e.length;l<a;l++)t.call(null,e[l],l,e);else{if(Ui(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let u;for(l=0;l<r;l++)u=i[l],t.call(null,e[u],u,e)}}function d0(e,t){if(Ui(e))return null;t=t.toLowerCase();const n=Object.keys(e);let l=n.length,a;for(;l-- >0;)if(a=n[l],t===a.toLowerCase())return a;return null}const rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,p0=e=>!ca(e)&&e!==rl;function Ns(){const{caseless:e,skipUndefined:t}=p0(this)&&this||{},n={},l=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const r=e&&d0(n,i)||i;Or(n[r])&&Or(a)?n[r]=Ns(n[r],a):Or(a)?n[r]=Ns({},a):ba(a)?n[r]=a.slice():(!t||!ca(a))&&(n[r]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&Fi(arguments[a],l);return n}const ER=(e,t,n,{allOwnKeys:l}={})=>(Fi(t,(a,i)=>{n&&Ke(a)?Object.defineProperty(e,i,{value:o0(a,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:l}),e),RR=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),CR=(e,t,n,l)=>{e.prototype=Object.create(t.prototype,l),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},AR=(e,t,n,l)=>{let a,i,r;const u={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)r=a[i],(!l||l(r,e,t))&&!u[r]&&(t[r]=e[r],u[r]=!0);e=n!==!1&&ff(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},OR=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const l=e.indexOf(t,n);return l!==-1&&l===n},_R=e=>{if(!e)return null;if(ba(e))return e;let t=e.length;if(!f0(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},TR=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ff(Uint8Array)),DR=(e,t)=>{const l=(e&&e[Qu]).call(e);let a;for(;(a=l.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},MR=(e,t)=>{let n;const l=[];for(;(n=e.exec(t))!==null;)l.push(n);return l},NR=Nt("HTMLFormElement"),jR=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,l,a){return l.toUpperCase()+a}),fp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zR=Nt("RegExp"),g0=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),l={};Fi(n,(a,i)=>{let r;(r=t(a,i,e))!==!1&&(l[i]=r||a)}),Object.defineProperties(e,l)},UR=e=>{g0(e,(t,n)=>{if(Ke(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const l=e[n];if(Ke(l)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},BR=(e,t)=>{const n={},l=a=>{a.forEach(i=>{n[i]=!0})};return ba(e)?l(e):l(String(e).split(t)),n},FR=()=>{},HR=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function LR(e){return!!(e&&Ke(e.append)&&e[s0]==="FormData"&&e[Qu])}const VR=e=>{const t=new Array(10),n=(l,a)=>{if(Bi(l)){if(t.indexOf(l)>=0)return;if(Ui(l))return l;if(!("toJSON"in l)){t[a]=l;const i=ba(l)?[]:{};return Fi(l,(r,u)=>{const o=n(r,a+1);!ca(o)&&(i[u]=o)}),t[a]=void 0,i}}return l};return n(e,0)},$R=Nt("AsyncFunction"),qR=e=>e&&(Bi(e)||Ke(e))&&Ke(e.then)&&Ke(e.catch),m0=((e,t)=>e?setImmediate:t?((n,l)=>(rl.addEventListener("message",({source:a,data:i})=>{a===rl&&i===n&&l.length&&l.shift()()},!1),a=>{l.push(a),rl.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ke(rl.postMessage)),GR=typeof queueMicrotask<"u"?queueMicrotask.bind(rl):typeof process<"u"&&process.nextTick||m0,YR=e=>e!=null&&Ke(e[Qu]),C={isArray:ba,isArrayBuffer:c0,isBuffer:Ui,isFormData:hR,isArrayBufferView:aR,isString:iR,isNumber:f0,isBoolean:rR,isObject:Bi,isPlainObject:Or,isEmptyObject:uR,isReadableStream:yR,isRequest:SR,isResponse:xR,isHeaders:wR,isUndefined:ca,isDate:oR,isFile:sR,isReactNativeBlob:cR,isReactNative:fR,isBlob:dR,isRegExp:zR,isFunction:Ke,isStream:gR,isURLSearchParams:vR,isTypedArray:TR,isFileList:pR,forEach:Fi,merge:Ns,extend:ER,trim:bR,stripBOM:RR,inherits:CR,toFlatObject:AR,kindOf:Zu,kindOfTest:Nt,endsWith:OR,toArray:_R,forEachEntry:DR,matchAll:MR,isHTMLForm:NR,hasOwnProperty:fp,hasOwnProp:fp,reduceDescriptors:g0,freezeMethods:UR,toObjectSet:BR,toCamelCase:jR,noop:FR,toFiniteNumber:HR,findKey:d0,global:rl,isContextDefined:p0,isSpecCompliantForm:LR,toJSONObject:VR,isAsyncFn:$R,isThenable:qR,setImmediate:m0,asap:GR,isIterable:YR};let $=class h0 extends Error{static from(t,n,l,a,i,r){const u=new h0(t.message,n||t.code,l,a,i);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),r&&Object.assign(u,r),u}constructor(t,n,l,a,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),l&&(this.config=l),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:C.toJSONObject(this.config),code:this.code,status:this.status}}};$.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";$.ERR_BAD_OPTION="ERR_BAD_OPTION";$.ECONNABORTED="ECONNABORTED";$.ETIMEDOUT="ETIMEDOUT";$.ERR_NETWORK="ERR_NETWORK";$.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";$.ERR_DEPRECATED="ERR_DEPRECATED";$.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";$.ERR_BAD_REQUEST="ERR_BAD_REQUEST";$.ERR_CANCELED="ERR_CANCELED";$.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";$.ERR_INVALID_URL="ERR_INVALID_URL";const XR=null;function js(e){return C.isPlainObject(e)||C.isArray(e)}function v0(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function _o(e,t,n){return e?e.concat(t).map(function(a,i){return a=v0(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function QR(e){return C.isArray(e)&&!e.some(js)}const ZR=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function Ju(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,x){return!C.isUndefined(x[S])});const l=n.metaTokens,a=n.visitor||c,i=n.dots,r=n.indexes,o=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(a))throw new TypeError("visitor must be a function");function s(m){if(m===null)return"";if(C.isDate(m))return m.toISOString();if(C.isBoolean(m))return m.toString();if(!o&&C.isBlob(m))throw new $("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(m)||C.isTypedArray(m)?o&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,S,x){let v=m;if(C.isReactNative(t)&&C.isReactNativeBlob(m))return t.append(_o(x,S,i),s(m)),!1;if(m&&!x&&typeof m=="object"){if(C.endsWith(S,"{}"))S=l?S:S.slice(0,-2),m=JSON.stringify(m);else if(C.isArray(m)&&QR(m)||(C.isFileList(m)||C.endsWith(S,"[]"))&&(v=C.toArray(m)))return S=v0(S),v.forEach(function(y,w){!(C.isUndefined(y)||y===null)&&t.append(r===!0?_o([S],w,i):r===null?S:S+"[]",s(y))}),!1}return js(m)?!0:(t.append(_o(x,S,i),s(m)),!1)}const f=[],p=Object.assign(ZR,{defaultVisitor:c,convertValue:s,isVisitable:js});function d(m,S){if(!C.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+S.join("."));f.push(m),C.forEach(m,function(v,h){(!(C.isUndefined(v)||v===null)&&a.call(t,v,C.isString(h)?h.trim():h,S,p))===!0&&d(v,S?S.concat(h):[h])}),f.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return d(e),t}function dp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(l){return t[l]})}function df(e,t){this._pairs=[],e&&Ju(e,this,t)}const y0=df.prototype;y0.append=function(t,n){this._pairs.push([t,n])};y0.toString=function(t){const n=t?function(l){return t.call(this,l,dp)}:dp;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function KR(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function S0(e,t,n){if(!t)return e;const l=n&&n.encode||KR,a=C.isFunction(n)?{serialize:n}:n,i=a&&a.serialize;let r;if(i?r=i(t,a):r=C.isURLSearchParams(t)?t.toString():new df(t,a).toString(l),r){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class pp{constructor(){this.handlers=[]}use(t,n,l){return this.handlers.push({fulfilled:t,rejected:n,synchronous:l?l.synchronous:!1,runWhen:l?l.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(l){l!==null&&t(l)})}}const pf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},JR=typeof URLSearchParams<"u"?URLSearchParams:df,kR=typeof FormData<"u"?FormData:null,IR=typeof Blob<"u"?Blob:null,WR={isBrowser:!0,classes:{URLSearchParams:JR,FormData:kR,Blob:IR},protocols:["http","https","file","blob","url","data"]},gf=typeof window<"u"&&typeof document<"u",zs=typeof navigator=="object"&&navigator||void 0,PR=gf&&(!zs||["ReactNative","NativeScript","NS"].indexOf(zs.product)<0),e2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",t2=gf&&window.location.href||"http://localhost",n2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gf,hasStandardBrowserEnv:PR,hasStandardBrowserWebWorkerEnv:e2,navigator:zs,origin:t2},Symbol.toStringTag,{value:"Module"})),Le={...n2,...WR};function l2(e,t){return Ju(e,new Le.classes.URLSearchParams,{visitor:function(n,l,a,i){return Le.isNode&&C.isBuffer(n)?(this.append(l,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function a2(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function i2(e){const t={},n=Object.keys(e);let l;const a=n.length;let i;for(l=0;l<a;l++)i=n[l],t[i]=e[i];return t}function x0(e){function t(n,l,a,i){let r=n[i++];if(r==="__proto__")return!0;const u=Number.isFinite(+r),o=i>=n.length;return r=!r&&C.isArray(a)?a.length:r,o?(C.hasOwnProp(a,r)?a[r]=[a[r],l]:a[r]=l,!u):((!a[r]||!C.isObject(a[r]))&&(a[r]=[]),t(n,l,a[r],i)&&C.isArray(a[r])&&(a[r]=i2(a[r])),!u)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(l,a)=>{t(a2(l),a,n,0)}),n}return null}function r2(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(l){if(l.name!=="SyntaxError")throw l}return(n||JSON.stringify)(e)}const Hi={transitional:pf,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const l=n.getContentType()||"",a=l.indexOf("application/json")>-1,i=C.isObject(t);if(i&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return a?JSON.stringify(x0(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t)||C.isReadableStream(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(l.indexOf("application/x-www-form-urlencoded")>-1)return l2(t,this.formSerializer).toString();if((u=C.isFileList(t))||l.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Ju(u?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),r2(t)):t}],transformResponse:[function(t){const n=this.transitional||Hi.transitional,l=n&&n.forcedJSONParsing,a=this.responseType==="json";if(C.isResponse(t)||C.isReadableStream(t))return t;if(t&&C.isString(t)&&(l&&!this.responseType||a)){const r=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(u){if(r)throw u.name==="SyntaxError"?$.from(u,$.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{Hi.headers[e]={}});const u2=C.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),o2=e=>{const t={};let n,l,a;return e&&e.split(`
`).forEach(function(r){a=r.indexOf(":"),n=r.substring(0,a).trim().toLowerCase(),l=r.substring(a+1).trim(),!(!n||t[n]&&u2[n])&&(n==="set-cookie"?t[n]?t[n].push(l):t[n]=[l]:t[n]=t[n]?t[n]+", "+l:l)}),t},gp=Symbol("internals");function ja(e){return e&&String(e).trim().toLowerCase()}function _r(e){return e===!1||e==null?e:C.isArray(e)?e.map(_r):String(e)}function s2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let l;for(;l=n.exec(e);)t[l[1]]=l[2];return t}const c2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function To(e,t,n,l,a){if(C.isFunction(l))return l.call(this,t,n);if(a&&(t=n),!!C.isString(t)){if(C.isString(l))return t.indexOf(l)!==-1;if(C.isRegExp(l))return l.test(t)}}function f2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,l)=>n.toUpperCase()+l)}function d2(e,t){const n=C.toCamelCase(" "+t);["get","set","has"].forEach(l=>{Object.defineProperty(e,l+n,{value:function(a,i,r){return this[l].call(this,t,a,i,r)},configurable:!0})})}let Je=class{constructor(t){t&&this.set(t)}set(t,n,l){const a=this;function i(u,o,s){const c=ja(o);if(!c)throw new Error("header name must be a non-empty string");const f=C.findKey(a,c);(!f||a[f]===void 0||s===!0||s===void 0&&a[f]!==!1)&&(a[f||o]=_r(u))}const r=(u,o)=>C.forEach(u,(s,c)=>i(s,c,o));if(C.isPlainObject(t)||t instanceof this.constructor)r(t,n);else if(C.isString(t)&&(t=t.trim())&&!c2(t))r(o2(t),n);else if(C.isObject(t)&&C.isIterable(t)){let u={},o,s;for(const c of t){if(!C.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[s=c[0]]=(o=u[s])?C.isArray(o)?[...o,c[1]]:[o,c[1]]:c[1]}r(u,n)}else t!=null&&i(n,t,l);return this}get(t,n){if(t=ja(t),t){const l=C.findKey(this,t);if(l){const a=this[l];if(!n)return a;if(n===!0)return s2(a);if(C.isFunction(n))return n.call(this,a,l);if(C.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ja(t),t){const l=C.findKey(this,t);return!!(l&&this[l]!==void 0&&(!n||To(this,this[l],l,n)))}return!1}delete(t,n){const l=this;let a=!1;function i(r){if(r=ja(r),r){const u=C.findKey(l,r);u&&(!n||To(l,l[u],u,n))&&(delete l[u],a=!0)}}return C.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let l=n.length,a=!1;for(;l--;){const i=n[l];(!t||To(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,l={};return C.forEach(this,(a,i)=>{const r=C.findKey(l,i);if(r){n[r]=_r(a),delete n[i];return}const u=t?f2(i):String(i).trim();u!==i&&delete n[i],n[u]=_r(a),l[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return C.forEach(this,(l,a)=>{l!=null&&l!==!1&&(n[a]=t&&C.isArray(l)?l.join(", "):l)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const l=new this(t);return n.forEach(a=>l.set(a)),l}static accessor(t){const l=(this[gp]=this[gp]={accessors:{}}).accessors,a=this.prototype;function i(r){const u=ja(r);l[u]||(d2(a,r),l[u]=!0)}return C.isArray(t)?t.forEach(i):i(t),this}};Je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.reduceDescriptors(Je.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(l){this[n]=l}}});C.freezeMethods(Je);function Do(e,t){const n=this||Hi,l=t||n,a=Je.from(l.headers);let i=l.data;return C.forEach(e,function(u){i=u.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function w0(e){return!!(e&&e.__CANCEL__)}let Li=class extends ${constructor(t,n,l){super(t??"canceled",$.ERR_CANCELED,n,l),this.name="CanceledError",this.__CANCEL__=!0}};function b0(e,t,n){const l=n.config.validateStatus;!n.status||!l||l(n.status)?e(n):t(new $("Request failed with status code "+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function p2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function g2(e,t){e=e||10;const n=new Array(e),l=new Array(e);let a=0,i=0,r;return t=t!==void 0?t:1e3,function(o){const s=Date.now(),c=l[i];r||(r=s),n[a]=o,l[a]=s;let f=i,p=0;for(;f!==a;)p+=n[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),s-r<t)return;const d=c&&s-c;return d?Math.round(p*1e3/d):void 0}}function m2(e,t){let n=0,l=1e3/t,a,i;const r=(s,c=Date.now())=>{n=c,a=null,i&&(clearTimeout(i),i=null),e(...s)};return[(...s)=>{const c=Date.now(),f=c-n;f>=l?r(s,c):(a=s,i||(i=setTimeout(()=>{i=null,r(a)},l-f)))},()=>a&&r(a)]}const Wr=(e,t,n=3)=>{let l=0;const a=g2(50,250);return m2(i=>{const r=i.loaded,u=i.lengthComputable?i.total:void 0,o=r-l,s=a(o),c=r<=u;l=r;const f={loaded:r,total:u,progress:u?r/u:void 0,bytes:o,rate:s||void 0,estimated:s&&u&&c?(u-r)/s:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(f)},n)},mp=(e,t)=>{const n=e!=null;return[l=>t[0]({lengthComputable:n,total:e,loaded:l}),t[1]]},hp=e=>(...t)=>C.asap(()=>e(...t)),h2=Le.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Le.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>!0,v2=Le.hasStandardBrowserEnv?{write(e,t,n,l,a,i,r){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];C.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),C.isString(l)&&u.push(`path=${l}`),C.isString(a)&&u.push(`domain=${a}`),i===!0&&u.push("secure"),C.isString(r)&&u.push(`SameSite=${r}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function y2(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function S2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function E0(e,t,n){let l=!y2(t);return e&&(l||n==!1)?S2(e,t):t}const vp=e=>e instanceof Je?{...e}:e;function ml(e,t){t=t||{};const n={};function l(s,c,f,p){return C.isPlainObject(s)&&C.isPlainObject(c)?C.merge.call({caseless:p},s,c):C.isPlainObject(c)?C.merge({},c):C.isArray(c)?c.slice():c}function a(s,c,f,p){if(C.isUndefined(c)){if(!C.isUndefined(s))return l(void 0,s,f,p)}else return l(s,c,f,p)}function i(s,c){if(!C.isUndefined(c))return l(void 0,c)}function r(s,c){if(C.isUndefined(c)){if(!C.isUndefined(s))return l(void 0,s)}else return l(void 0,c)}function u(s,c,f){if(f in t)return l(s,c);if(f in e)return l(void 0,s)}const o={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:u,headers:(s,c,f)=>a(vp(s),vp(c),f,!0)};return C.forEach(Object.keys({...e,...t}),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=C.hasOwnProp(o,c)?o[c]:a,p=f(e[c],t[c],c);C.isUndefined(p)&&f!==u||(n[c]=p)}),n}const R0=e=>{const t=ml({},e);let{data:n,withXSRFToken:l,xsrfHeaderName:a,xsrfCookieName:i,headers:r,auth:u}=t;if(t.headers=r=Je.from(r),t.url=S0(E0(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&r.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),C.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(C.isFunction(n.getHeaders)){const o=n.getHeaders(),s=["content-type","content-length"];Object.entries(o).forEach(([c,f])=>{s.includes(c.toLowerCase())&&r.set(c,f)})}}if(Le.hasStandardBrowserEnv&&(l&&C.isFunction(l)&&(l=l(t)),l||l!==!1&&h2(t.url))){const o=a&&i&&v2.read(i);o&&r.set(a,o)}return t},x2=typeof XMLHttpRequest<"u",w2=x2&&function(e){return new Promise(function(n,l){const a=R0(e);let i=a.data;const r=Je.from(a.headers).normalize();let{responseType:u,onUploadProgress:o,onDownloadProgress:s}=a,c,f,p,d,m;function S(){d&&d(),m&&m(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let x=new XMLHttpRequest;x.open(a.method.toUpperCase(),a.url,!0),x.timeout=a.timeout;function v(){if(!x)return;const y=Je.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),E={data:!u||u==="text"||u==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:y,config:e,request:x};b0(function(R){n(R),S()},function(R){l(R),S()},E),x=null}"onloadend"in x?x.onloadend=v:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(v)},x.onabort=function(){x&&(l(new $("Request aborted",$.ECONNABORTED,e,x)),x=null)},x.onerror=function(w){const E=w&&w.message?w.message:"Network Error",A=new $(E,$.ERR_NETWORK,e,x);A.event=w||null,l(A),x=null},x.ontimeout=function(){let w=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const E=a.transitional||pf;a.timeoutErrorMessage&&(w=a.timeoutErrorMessage),l(new $(w,E.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,x)),x=null},i===void 0&&r.setContentType(null),"setRequestHeader"in x&&C.forEach(r.toJSON(),function(w,E){x.setRequestHeader(E,w)}),C.isUndefined(a.withCredentials)||(x.withCredentials=!!a.withCredentials),u&&u!=="json"&&(x.responseType=a.responseType),s&&([p,m]=Wr(s,!0),x.addEventListener("progress",p)),o&&x.upload&&([f,d]=Wr(o),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",d)),(a.cancelToken||a.signal)&&(c=y=>{x&&(l(!y||y.type?new Li(null,e,x):y),x.abort(),x=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const h=p2(a.url);if(h&&Le.protocols.indexOf(h)===-1){l(new $("Unsupported protocol "+h+":",$.ERR_BAD_REQUEST,e));return}x.send(i||null)})},b2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let l=new AbortController,a;const i=function(s){if(!a){a=!0,u();const c=s instanceof Error?s:this.reason;l.abort(c instanceof $?c:new Li(c instanceof Error?c.message:c))}};let r=t&&setTimeout(()=>{r=null,i(new $(`timeout of ${t}ms exceeded`,$.ETIMEDOUT))},t);const u=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(s=>{s.unsubscribe?s.unsubscribe(i):s.removeEventListener("abort",i)}),e=null)};e.forEach(s=>s.addEventListener("abort",i));const{signal:o}=l;return o.unsubscribe=()=>C.asap(u),o}},E2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let l=0,a;for(;l<n;)a=l+t,yield e.slice(l,a),l=a},R2=async function*(e,t){for await(const n of C2(e))yield*E2(n,t)},C2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:l}=await t.read();if(n)break;yield l}}finally{await t.cancel()}},yp=(e,t,n,l)=>{const a=R2(e,t);let i=0,r,u=o=>{r||(r=!0,l&&l(o))};return new ReadableStream({async pull(o){try{const{done:s,value:c}=await a.next();if(s){u(),o.close();return}let f=c.byteLength;if(n){let p=i+=f;n(p)}o.enqueue(new Uint8Array(c))}catch(s){throw u(s),s}},cancel(o){return u(o),a.return()}},{highWaterMark:2})},Sp=64*1024,{isFunction:ur}=C,A2=(({Request:e,Response:t})=>({Request:e,Response:t}))(C.global),{ReadableStream:xp,TextEncoder:wp}=C.global,bp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},O2=e=>{e=C.merge.call({skipUndefined:!0},A2,e);const{fetch:t,Request:n,Response:l}=e,a=t?ur(t):typeof fetch=="function",i=ur(n),r=ur(l);if(!a)return!1;const u=a&&ur(xp),o=a&&(typeof wp=="function"?(m=>S=>m.encode(S))(new wp):async m=>new Uint8Array(await new n(m).arrayBuffer())),s=i&&u&&bp(()=>{let m=!1;const S=new n(Le.origin,{body:new xp,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!S}),c=r&&u&&bp(()=>C.isReadableStream(new l("").body)),f={stream:c&&(m=>m.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!f[m]&&(f[m]=(S,x)=>{let v=S&&S[m];if(v)return v.call(S);throw new $(`Response type '${m}' is not supported`,$.ERR_NOT_SUPPORT,x)})});const p=async m=>{if(m==null)return 0;if(C.isBlob(m))return m.size;if(C.isSpecCompliantForm(m))return(await new n(Le.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(C.isArrayBufferView(m)||C.isArrayBuffer(m))return m.byteLength;if(C.isURLSearchParams(m)&&(m=m+""),C.isString(m))return(await o(m)).byteLength},d=async(m,S)=>{const x=C.toFiniteNumber(m.getContentLength());return x??p(S)};return async m=>{let{url:S,method:x,data:v,signal:h,cancelToken:y,timeout:w,onDownloadProgress:E,onUploadProgress:A,responseType:R,headers:D,withCredentials:M="same-origin",fetchOptions:N}=R0(m),j=t||fetch;R=R?(R+"").toLowerCase():"text";let F=b2([h,y&&y.toAbortSignal()],w),U=null;const Q=F&&F.unsubscribe&&(()=>{F.unsubscribe()});let I;try{if(A&&s&&x!=="get"&&x!=="head"&&(I=await d(D,v))!==0){let se=new n(S,{method:"POST",body:v,duplex:"half"}),Me;if(C.isFormData(v)&&(Me=se.headers.get("content-type"))&&D.setContentType(Me),se.body){const[pt,Re]=mp(I,Wr(hp(A)));v=yp(se.body,Sp,pt,Re)}}C.isString(M)||(M=M?"include":"omit");const _=i&&"credentials"in n.prototype,B={...N,signal:F,method:x.toUpperCase(),headers:D.normalize().toJSON(),body:v,duplex:"half",credentials:_?M:void 0};U=i&&new n(S,B);let H=await(i?j(U,N):j(S,B));const Z=c&&(R==="stream"||R==="response");if(c&&(E||Z&&Q)){const se={};["status","statusText","headers"].forEach(Fe=>{se[Fe]=H[Fe]});const Me=C.toFiniteNumber(H.headers.get("content-length")),[pt,Re]=E&&mp(Me,Wr(hp(E),!0))||[];H=new l(yp(H.body,Sp,pt,()=>{Re&&Re(),Q&&Q()}),se)}R=R||"text";let K=await f[C.findKey(f,R)||"text"](H,m);return!Z&&Q&&Q(),await new Promise((se,Me)=>{b0(se,Me,{data:K,headers:Je.from(H.headers),status:H.status,statusText:H.statusText,config:m,request:U})})}catch(_){throw Q&&Q(),_&&_.name==="TypeError"&&/Load failed|fetch/i.test(_.message)?Object.assign(new $("Network Error",$.ERR_NETWORK,m,U,_&&_.response),{cause:_.cause||_}):$.from(_,_&&_.code,m,U,_&&_.response)}}},_2=new Map,C0=e=>{let t=e&&e.env||{};const{fetch:n,Request:l,Response:a}=t,i=[l,a,n];let r=i.length,u=r,o,s,c=_2;for(;u--;)o=i[u],s=c.get(o),s===void 0&&c.set(o,s=u?new Map:O2(t)),c=s;return s};C0();const mf={http:XR,xhr:w2,fetch:{get:C0}};C.forEach(mf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ep=e=>`- ${e}`,T2=e=>C.isFunction(e)||e===null||e===!1;function D2(e,t){e=C.isArray(e)?e:[e];const{length:n}=e;let l,a;const i={};for(let r=0;r<n;r++){l=e[r];let u;if(a=l,!T2(l)&&(a=mf[(u=String(l)).toLowerCase()],a===void 0))throw new $(`Unknown adapter '${u}'`);if(a&&(C.isFunction(a)||(a=a.get(t))))break;i[u||"#"+r]=a}if(!a){const r=Object.entries(i).map(([o,s])=>`adapter ${o} `+(s===!1?"is not supported by the environment":"is not available in the build"));let u=n?r.length>1?`since :
`+r.map(Ep).join(`
`):" "+Ep(r[0]):"as no adapter specified";throw new $("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return a}const A0={getAdapter:D2,adapters:mf};function Mo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Li(null,e)}function Rp(e){return Mo(e),e.headers=Je.from(e.headers),e.data=Do.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),A0.getAdapter(e.adapter||Hi.adapter,e)(e).then(function(l){return Mo(e),l.data=Do.call(e,e.transformResponse,l),l.headers=Je.from(l.headers),l},function(l){return w0(l)||(Mo(e),l&&l.response&&(l.response.data=Do.call(e,e.transformResponse,l.response),l.response.headers=Je.from(l.response.headers))),Promise.reject(l)})}const O0="1.13.6",ku={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ku[e]=function(l){return typeof l===e||"a"+(t<1?"n ":" ")+e}});const Cp={};ku.transitional=function(t,n,l){function a(i,r){return"[Axios v"+O0+"] Transitional option '"+i+"'"+r+(l?". "+l:"")}return(i,r,u)=>{if(t===!1)throw new $(a(r," has been removed"+(n?" in "+n:"")),$.ERR_DEPRECATED);return n&&!Cp[r]&&(Cp[r]=!0,console.warn(a(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,u):!0}};ku.spelling=function(t){return(n,l)=>(console.warn(`${l} is likely a misspelling of ${t}`),!0)};function M2(e,t,n){if(typeof e!="object")throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);const l=Object.keys(e);let a=l.length;for(;a-- >0;){const i=l[a],r=t[i];if(r){const u=e[i],o=u===void 0||r(u,i,e);if(o!==!0)throw new $("option "+i+" must be "+o,$.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $("Unknown option "+i,$.ERR_BAD_OPTION)}}const Tr={assertOptions:M2,validators:ku},gt=Tr.validators;let ol=class{constructor(t){this.defaults=t||{},this.interceptors={request:new pp,response:new pp}}async request(t,n){try{return await this._request(t,n)}catch(l){if(l instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{l.stack?i&&!String(l.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(l.stack+=`
`+i):l.stack=i}catch{}}throw l}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ml(this.defaults,n);const{transitional:l,paramsSerializer:a,headers:i}=n;l!==void 0&&Tr.assertOptions(l,{silentJSONParsing:gt.transitional(gt.boolean),forcedJSONParsing:gt.transitional(gt.boolean),clarifyTimeoutError:gt.transitional(gt.boolean),legacyInterceptorReqResOrdering:gt.transitional(gt.boolean)},!1),a!=null&&(C.isFunction(a)?n.paramsSerializer={serialize:a}:Tr.assertOptions(a,{encode:gt.function,serialize:gt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Tr.assertOptions(n,{baseUrl:gt.spelling("baseURL"),withXsrfToken:gt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=i&&C.merge(i.common,i[n.method]);i&&C.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=Je.concat(r,i);const u=[];let o=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(n)===!1)return;o=o&&S.synchronous;const x=n.transitional||pf;x&&x.legacyInterceptorReqResOrdering?u.unshift(S.fulfilled,S.rejected):u.push(S.fulfilled,S.rejected)});const s=[];this.interceptors.response.forEach(function(S){s.push(S.fulfilled,S.rejected)});let c,f=0,p;if(!o){const m=[Rp.bind(this),void 0];for(m.unshift(...u),m.push(...s),p=m.length,c=Promise.resolve(n);f<p;)c=c.then(m[f++],m[f++]);return c}p=u.length;let d=n;for(;f<p;){const m=u[f++],S=u[f++];try{d=m(d)}catch(x){S.call(this,x);break}}try{c=Rp.call(this,d)}catch(m){return Promise.reject(m)}for(f=0,p=s.length;f<p;)c=c.then(s[f++],s[f++]);return c}getUri(t){t=ml(this.defaults,t);const n=E0(t.baseURL,t.url,t.allowAbsoluteUrls);return S0(n,t.params,t.paramsSerializer)}};C.forEach(["delete","get","head","options"],function(t){ol.prototype[t]=function(n,l){return this.request(ml(l||{},{method:t,url:n,data:(l||{}).data}))}});C.forEach(["post","put","patch"],function(t){function n(l){return function(i,r,u){return this.request(ml(u||{},{method:t,headers:l?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}ol.prototype[t]=n(),ol.prototype[t+"Form"]=n(!0)});let N2=class _0{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const l=this;this.promise.then(a=>{if(!l._listeners)return;let i=l._listeners.length;for(;i-- >0;)l._listeners[i](a);l._listeners=null}),this.promise.then=a=>{let i;const r=new Promise(u=>{l.subscribe(u),i=u}).then(a);return r.cancel=function(){l.unsubscribe(i)},r},t(function(i,r,u){l.reason||(l.reason=new Li(i,r,u),n(l.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=l=>{t.abort(l)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new _0(function(a){t=a}),cancel:t}}};function j2(e){return function(n){return e.apply(null,n)}}function z2(e){return C.isObject(e)&&e.isAxiosError===!0}const Us={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Us).forEach(([e,t])=>{Us[t]=e});function T0(e){const t=new ol(e),n=o0(ol.prototype.request,t);return C.extend(n,ol.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return T0(ml(e,a))},n}const re=T0(Hi);re.Axios=ol;re.CanceledError=Li;re.CancelToken=N2;re.isCancel=w0;re.VERSION=O0;re.toFormData=Ju;re.AxiosError=$;re.Cancel=re.CanceledError;re.all=function(t){return Promise.all(t)};re.spread=j2;re.isAxiosError=z2;re.mergeConfig=ml;re.AxiosHeaders=Je;re.formToJSON=e=>x0(C.isHTMLForm(e)?new FormData(e):e);re.getAdapter=A0.getAdapter;re.HttpStatusCode=Us;re.default=re;const{Axios:N_,AxiosError:j_,CanceledError:z_,isCancel:U_,CancelToken:B_,VERSION:F_,all:H_,Cancel:L_,isAxiosError:V_,spread:$_,toFormData:q_,AxiosHeaders:G_,HttpStatusCode:Y_,formToJSON:X_,getAdapter:Q_,mergeConfig:Z_}=re;re.defaults.xsrfHeaderName="X-CSRFToken";async function U2(e=3){return(await re.get("/m/api/extractions",{params:{past_days:e}})).data}async function B2(){return(await re.get("/m/api/extractions/past")).data}async function F2(){return(await re.get("/m/api/extractions/future")).data}async function H2(){return(await re.get("/m/api/user/permissions")).data}async function L2(){return(await re.get("/m/api/admin/list")).data}async function V2(){return(await re.get("/m/api/admin/explain")).data}async function $2(){return(await re.get("/m/api/admin/outstanding")).data}const q2=()=>{const{isLoading:e,isFetching:t,error:n,data:l}=wl(["explain"],()=>V2(),{refetchOnWindowFocus:!0});return g.jsxs(g.Fragment,{children:[g.jsx(tf,{striped:t,variant:n?"danger":t?"info":"success",now:100}),g.jsxs("pre",{children:[`#Tax Steps Explanation (Highest Rank First):
`,e?"Loading...":g.jsxs(g.Fragment,{children:[`---------------------------------------------------------------------------------------------------------
`,l==null?void 0:l.taxes.map(a=>g.jsxs(g.Fragment,{children:[console.log(a),`${a.name}
`,`  - Structures Captured in Tax Rank:
`,a.structures.map(i=>`     - ${i}
`),`---------------------------------------------------------------------------------------------------------
`]})),`
#All Structures Seen:
`,l==null?void 0:l.structures.map(a=>g.jsx(g.Fragment,{children:`  - ${a}
`}))]})]})]})},G2=()=>{const{isLoading:e,isFetching:t,error:n,data:l}=wl(["outstanding"],()=>$2(),{refetchOnWindowFocus:!1});return g.jsxs(g.Fragment,{children:[g.jsx(tf,{striped:t,variant:n?"danger":t?"info":"success",now:100}),g.jsxs("pre",{children:[`Mining Taxes:
`,e?"Loading...":"",l==null?void 0:l.map(a=>g.jsx(g.Fragment,{children:`${a}
`}))]})]})},Y2=()=>{const{isLoading:e,isFetching:t,data:n}=wl(["admin-corps"],()=>L2(),{initialData:[],refetchOnWindowFocus:!1}),l=Lu(),a=[l.accessor("name",{header:"Corporation"}),l.accessor("char_tokens",{header:"Character Level Tokens"}),l.accessor("corp_tokens",{header:"Corp Level Tokens"}),l.accessor("obs",{header:"Last Observation Update"}),l.accessor("frack",{header:"Last Frack Update"})];return g.jsxs(Wl,{children:[g.jsx(Xu,{isLoading:e,isFetching:t,data:n,columns:a}),g.jsx("br",{}),g.jsx(nr,{children:g.jsx(nr.Body,{children:g.jsx(Wl,{children:g.jsx(G2,{})})})}),g.jsx("br",{}),g.jsx(nr,{children:g.jsx(nr.Body,{children:g.jsx(Wl,{children:g.jsx(q2,{})})})})]})},hf=(e,t,n)=>{if(n){console.log(e,t,n);let l=e.getValue(t).reduce((a,i)=>a+"  "+i.type.cat+" "+i.type.name,"");return l?l.toLowerCase().includes(n.toLowerCase()):!1}else return!0},X2="_ore1884_hgwkx_1",Q2="_ore1921_hgwkx_5",Z2="_ore1920_hgwkx_9",K2="_ore1922_hgwkx_13",J2="_ore1923_hgwkx_17",Ut={ore1884:X2,ore1921:Q2,ore1920:Z2,ore1922:K2,ore1923:J2},No={1884:Ut.ore1884,1921:Ut.ore1920,1920:Ut.ore1921,1922:Ut.ore1922,1923:Ut.ore1923},vf=()=>g.jsx("div",{className:"flex-container",children:g.jsxs("div",{className:"text-center",children:[g.jsx(nt,{className:`${Ut.ore1884} fw-normal mx-1`,children:"Ubiquitous Moon Asteroids"}),g.jsx(nt,{className:`${Ut.ore1920} fw-normal mx-1`,children:"Common Moon Asteroids"}),g.jsx(nt,{className:`${Ut.ore1921} fw-normal mx-1`,children:"Uncommon Moon Asteroids"}),g.jsx(nt,{className:`${Ut.ore1922} fw-normal mx-1`,children:"Rare Moon Asteroids"}),g.jsx(nt,{className:`${Ut.ore1923} fw-normal mx-1`,children:"Exceptional Moon Asteroids"})]})}),yf=({ore:e,percent:t,badgePercent:n,value:l=0,valueMessage:a=""})=>g.jsxs("div",{className:"d-flex align-items-center",children:[g.jsx("img",{alt:e.type.name,style:{width:"30px",height:"30px",margin:"15px",borderRadius:"30px"},className:`${No[e.type.cat_id]}`,src:"https://images.evetech.net/types/"+e.type.id+"/icon"}),g.jsxs("div",{style:{flexGrow:1},children:[e.type.name," ",g.jsxs("div",{className:"float-end",children:[g.jsxs(nt,{pill:!0,className:"fw-normal",children:[n.toFixed(0),"% of Ore Composition"]}),l>0?g.jsxs(nt,{pill:!0,className:"fw-normal",children:["$",Number(l/1e9).toFixed(1),"B ",a]}):g.jsx(g.Fragment,{}),g.jsx(nt,{pill:!0,className:`pull-right fw-normal ${No[e.type.cat_id]}`,children:e.type.cat})]}),g.jsx("div",{className:"progress my-1 w-100",children:g.jsxs("div",{className:`progress-bar progress-bar-striped bg-info fw-bold ${No[e.type.cat_id]}`,style:{width:t+"%"},children:[t.toFixed(0),"%"]})})]})]});var k2=["date","verboseDate","tooltip","children"];function Bs(){return Bs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},Bs.apply(this,arguments)}function I2(e,t){if(e==null)return{};var n=W2(e,t),l,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}function W2(e,t){if(e==null)return{};var n={},l=Object.keys(e),a,i;for(i=0;i<l.length;i++)a=l[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Pr(e,t){var n=e.date,l=e.verboseDate,a=e.tooltip,i=e.children,r=I2(e,k2),u=b.useMemo(function(){return n.toISOString()},[n]);return be.createElement("time",Bs({ref:t},r,{dateTime:u,title:a?l:void 0}),i)}Pr=be.forwardRef(Pr);Pr.propTypes={date:z.instanceOf(Date).isRequired,verboseDate:z.string,tooltip:z.bool.isRequired,children:z.string.isRequired};var Ap=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function P2(e,t){return!!(e===t||Ap(e)&&Ap(t))}function eC(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!P2(e[n],t[n]))return!1;return!0}function tC(e,t){t===void 0&&(t=eC);var n=null;function l(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(n&&n.lastThis===this&&t(a,n.lastArgs))return n.lastResult;var r=e.apply(this,a);return n={lastResult:r,lastArgs:a,lastThis:this},r}return l.clear=function(){n=null},l}function Fs(e){"@babel/helpers - typeof";return Fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fs(e)}function nC(e){if(D0())return Intl.DateTimeFormat.supportedLocalesOf(e)[0]}function D0(){var e=(typeof Intl>"u"?"undefined":Fs(Intl))==="object";return e&&typeof Intl.DateTimeFormat=="function"}function Hs(e){"@babel/helpers - typeof";return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hs(e)}function M0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lC(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function N0(e,t,n){return t&&lC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var aC=function(){function e(t){M0(this,e);var n=(typeof Intl>"u"?"undefined":Hs(Intl))==="object",l=n&&typeof Intl.DateTimeFormat=="function";l?this.formatter=new Intl.DateTimeFormat(t,uC):this.formatter=new iC}return N0(e,[{key:"format",value:function(n){return this.formatter.format(rC(n))}}]),e}(),iC=function(){function e(){M0(this,e)}return N0(e,[{key:"format",value:function(n){return String(n)}}]),e}();function rC(e){return typeof e=="number"?new Date(e):e}var uC={weekday:"long",day:"numeric",month:"long",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"};function eu(e){"@babel/helpers - typeof";return eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eu(e)}function oC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sC(e,t){for(var n=0;n<t.length;n++){var l=t[n];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function cC(e,t,n){return t&&sC(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var j0=function(){function e(){oC(this,e),this.cache={}}return cC(e,[{key:"get",value:function(){for(var n=this.cache,l=arguments.length,a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];for(var r=0,u=a;r<u.length;r++){var o=u[r];if(eu(n)!=="object")return;n=n[o]}return n}},{key:"put",value:function(){for(var n=arguments.length,l=new Array(n),a=0;a<n;a++)l[a]=arguments[a];for(var i=l.pop(),r=l.pop(),u=this.cache,o=0,s=l;o<s.length;o++){var c=s[o];eu(u[c])!=="object"&&(u[c]={}),u=u[c]}return u[r]=i}}]),e}(),Op=new j0,fC=D0();function dC(e,t){var n=gC(e),l=JSON.stringify(t),a=function(){return t&&fC?new Intl.DateTimeFormat(n,t):new aC(n)},i=Op.get(String(n),l)||Op.put(String(n),l,a());return function(r){return i.format(r)}}const pC=tC(dC);var jo={};function gC(e){var t=e.toString();return jo[t]?jo[t]:jo[t]=nC(e)}function Ls(e){"@babel/helpers - typeof";return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ls(e)}function mC(e){return hC(e)?e:new Date(e)}function hC(e){return e instanceof Date||vC(e)}function vC(e){return Ls(e)==="object"&&typeof e.getTime=="function"}var _p=new j0;function yC(e,t){var n=t.polyfill,l=String(e)+":"+String(n);return _p.get(l)||_p.put(l,new Bc(e,{polyfill:n}))}function SC(e,t){return bC(e)||wC(e,t)||z0(e,t)||xC()}function xC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wC(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var l=[],a=!0,i=!1,r,u;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!(t&&l.length===t));a=!0);}catch(o){i=!0,u=o}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw u}}return l}}function bC(e){if(Array.isArray(e))return e}function EC(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=z0(e))||t){n&&(e=n);var l=0;return function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z0(e,t){if(e){if(typeof e=="string")return Tp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tp(e,t)}}function Tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,l=new Array(t);n<t;n++)l[n]=e[n];return l}const RC={listeners:[],add:function(t){var n=this,l=this.listeners.length===0;return CC(this.listeners,t),l?this.start():this.scheduleNextTick(),{stop:function(){AC(n.listeners,t),n.listeners.length===0?n.stop():n.scheduleNextTick()},forceUpdate:function(){Dp(t)}}},tick:function(){this.scheduledTick=void 0;for(var t=Date.now(),n=EC(this.listeners),l;!(l=n()).done;){var a=l.value;t>=a.updateTime&&Dp(a)}},scheduleNextTick:function(){var t=this;if(this.cancelNextTick(),this.listeners.length!==0){for(var n=this.listeners[0].updateTime,l=1;l<this.listeners.length;)this.listeners[l].updateTime<n&&(n=this.listeners[l].updateTime),l++;this.scheduledTick=setTimeout(function(){t.tick(),t.scheduleNextTick()},n-Date.now())}},cancelNextTick:function(){clearTimeout(this.scheduledTick),this.scheduledTick=void 0},start:function(){this.scheduleNextTick()},stop:function(){this.cancelNextTick()}};function Dp(e){var t=e.getNewValueAndNextUpdateTime(),n=SC(t,2),l=n[0],a=n[1];e.setValue(l),e.updateTime=a}function CC(e,t){e.push(t)}function AC(e,t){var n=OC(e,t);e.splice(n,1)}function OC(e,t){return e.indexOf(t)}function or(e,t){return MC(e)||DC(e,t)||TC(e,t)||_C()}function _C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TC(e,t){if(e){if(typeof e=="string")return Mp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mp(e,t)}}function Mp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,l=new Array(t);n<t;n++)l[n]=e[n];return l}function DC(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var l=[],a=!0,i=!1,r,u;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!(t&&l.length===t));a=!0);}catch(o){i=!0,u=o}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw u}}return l}}function MC(e){if(Array.isArray(e))return e}function NC(e){var t=e.date,n=e.future,l=e.locale,a=e.locales,i=e.timeStyle,r=e.round,u=e.freezeAt,o=e.formatVerboseDate,s=e.verboseDateFormat,c=e.updateInterval,f=e.tick,p=f===void 0?!0:f,d=e.now,m=e.timeOffset,S=m===void 0?0:m,x=e.polyfill,v=b.useMemo(function(){return l&&(a=[l]),a.concat(Bc.getDefaultLocale())},[l,a]),h=b.useMemo(function(){return yC(v,{polyfill:x})},[v,x]);t=b.useMemo(function(){return mC(t)},[t]);var y=b.useCallback(function(){var _=(d||Date.now())-S,B=!1;u!==void 0&&_>u&&(_=u,B=!0);var H=h.format(t,i,{getTimeToNextUpdate:!0,now:_,future:n,round:r}),Z=or(H,2),K=Z[0],se=Z[1];return B?se=zC:se=c||se||60*1e3,[K,_+se]},[t,n,i,c,r,u,h,d]),w=b.useRef();w.current=y;var E=b.useMemo(y,[]),A=or(E,2),R=A[0],D=A[1],M=b.useState(R),N=or(M,2),j=N[0],F=N[1],U=b.useRef();b.useEffect(function(){if(p)return U.current=RC.add({getNewValueAndNextUpdateTime:function(){return w.current()},setValue:F,updateTime:D}),function(){U.current.stop()}},[p]),b.useEffect(function(){if(U.current)U.current.forceUpdate();else{var _=y(),B=or(_,1),H=B[0];F(H)}},[y]);var Q=b.useMemo(function(){return pC(v,s)},[v,s]),I=b.useMemo(function(){return o?o(t):Q(t)},[t,o,Q]);return{date:t,formattedDate:j,verboseDate:I}}var jC=365*24*60*60*1e3,zC=1e3*jC,Vs=z.oneOfType,Np=z.arrayOf,Hl=z.string,jp=z.number,qa=z.shape,sr=z.func,UC=Vs([qa({minTime:jp,formatAs:Hl.isRequired}),qa({test:sr,formatAs:Hl.isRequired}),qa({minTime:jp,format:sr.isRequired}),qa({test:sr,format:sr.isRequired})]),BC=Vs([Hl,qa({steps:Np(UC).isRequired,labels:Vs([Hl,Np(Hl)]).isRequired,round:Hl})]),FC=["date","future","timeStyle","round","freezeAt","locale","locales","formatVerboseDate","verboseDateFormat","updateInterval","tick","now","timeOffset","polyfill","tooltip","component","container","wrapperComponent","wrapperProps"];function tu(){return tu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},tu.apply(this,arguments)}function HC(e,t){if(e==null)return{};var n=LC(e,t),l,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(n[l]=e[l])}return n}function LC(e,t){if(e==null)return{};var n={},l=Object.keys(e),a,i;for(i=0;i<l.length;i++)a=l[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function nu(e){var t=e.date,n=e.future,l=e.timeStyle,a=e.round,i=e.freezeAt,r=e.locale,u=e.locales,o=u===void 0?[]:u,s=e.formatVerboseDate,c=e.verboseDateFormat,f=e.updateInterval,p=e.tick,d=e.now,m=e.timeOffset,S=e.polyfill,x=e.tooltip,v=x===void 0?!0:x,h=e.component,y=h===void 0?Pr:h,w=e.container,E=e.wrapperComponent,A=e.wrapperProps,R=HC(e,FC),D=NC({date:t,future:n,timeStyle:l,round:a,freezeAt:i,locale:r,locales:o,formatVerboseDate:s,verboseDateFormat:c,updateInterval:f,tick:p,now:d,timeOffset:m,polyfill:S}),M=D.date,N=D.verboseDate,j=D.formattedDate,F=be.createElement(y,tu({date:M,verboseDate:N,tooltip:v},R),j),U=E||w;return U?be.createElement(U,tu({},A,{verboseDate:N}),F):F}nu.propTypes={date:z.oneOfType([z.instanceOf(Date),z.number]).isRequired,locale:z.string,locales:z.arrayOf(z.string),future:z.bool,timeStyle:BC,round:z.string,freezeAt:z.number,component:z.elementType,tooltip:z.bool,formatVerboseDate:z.func,verboseDateFormat:z.object,updateInterval:z.oneOfType([z.number,z.arrayOf(z.shape({threshold:z.number,interval:z.number.isRequired}))]),tick:z.bool,now:z.number,timeOffset:z.number,polyfill:z.bool,wrapperComponent:z.elementType,wrapperProps:z.object};nu=be.memo(nu);const VC=Intl.DateTimeFormat("default",{year:"numeric",month:"long",day:"numeric"}),$C=Intl.DateTimeFormat("default",{hour:"numeric",minute:"numeric",hour12:!1}),Sf=({stringDate:e})=>{const t=Date.parse(e);return g.jsxs("div",{className:"text-center",children:[VC.format(t)," ",$C.format(t),g.jsx("br",{}),g.jsx(nt,{className:"",children:g.jsx(nu,{date:t})})]})},qC=()=>{const{isFetching:e,data:t}=wl({queryKey:["extractions"],queryFn:()=>U2(),initialData:[],refetchOnWindowFocus:!1}),n=Lu(),l=[n.accessor("extraction_end",{header:"Frack Arrival (local time)",cell:a=>g.jsx(Sf,{stringDate:a.getValue()}),enableColumnFilter:!1}),n.accessor("moon.name",{header:"Moon",cell:a=>g.jsxs("div",{className:"text-center",children:[g.jsx("h6",{children:a.getValue()}),g.jsx("br",{}),g.jsx("p",{className:"m-0",children:a.cell.row.original.ObserverName}),g.jsxs("p",{children:[a.cell.row.original.constellation," - ",a.cell.row.original.region]}),a.cell.row.original.value>0&&g.jsxs(nt,{children:["Current Mined Value: $",Number(a.cell.row.original.value/1e9).toFixed(2),"B"]})]})}),n.accessor("jackpot",{header:"Jackpot",cell:a=>a.getValue()?g.jsx("div",{className:"text-center jackpot",children:g.jsx("i",{className:"fas fa-award",style:{fontSize:"64px"}})}):g.jsx(g.Fragment,{})}),n.accessor("mined_ore",{header:"Ore Composition",width:"col-lg-6 col-xl-6",cell:a=>{var i;return a.getValue()?g.jsx(g.Fragment,{children:g.jsx("div",{className:"",children:(i=a.getValue())==null?void 0:i.map(r=>{let u=Number(r.volume/r.total_volume*100);return g.jsx(yf,{ore:r,percent:u,badgePercent:r.total_volume/a.cell.row.original.total_m3*100,value:r.value,valueMessage:"Mined"})})})}):g.jsx(g.Fragment,{})},filterFn:hf})];return g.jsxs(Wl,{children:[g.jsx("h5",{className:"text-center small",children:"Key:"}),g.jsx(vf,{}),g.jsx("br",{}),g.jsx(Xu,{isFetching:e,data:t,columns:l})]})},GC=()=>{const{isLoading:e,data:t}=wl(["future-extractions"],()=>F2(),{initialData:[],refetchOnWindowFocus:!1}),n=Lu(),l=[n.accessor("extraction_end",{header:"Frack Arrival (local time)",cell:a=>g.jsx(Sf,{stringDate:a.getValue()}),enableColumnFilter:!1}),n.accessor("moon.name",{header:"Moon",cell:a=>g.jsxs("div",{className:"text-center",children:[g.jsx("h6",{children:a.getValue()}),g.jsx("br",{}),g.jsx("p",{className:"m-0",children:a.cell.row.original.ObserverName}),g.jsxs("p",{children:[a.cell.row.original.constellation," - ",a.cell.row.original.region]}),a.cell.row.original.value>0&&g.jsxs(nt,{children:["Value Estimate: $",Number(a.cell.row.original.value/1e9).toFixed(2),"B"]})]})}),n.accessor("jackpot",{header:"Jackpot",cell:a=>a.getValue()?g.jsx("div",{className:"text-center jackpot",children:g.jsx("i",{className:"fas fa-award",style:{fontSize:"64px"}})}):g.jsx(g.Fragment,{})}),n.accessor("mined_ore",{header:"Ore Composition",width:"col-lg-6 col-xl-6",cell:a=>{var i;return a.getValue()?g.jsx(g.Fragment,{children:g.jsx("div",{className:"align-items-center",children:(i=a.getValue())==null?void 0:i.map(r=>{let u=r.total_volume/a.cell.row.original.total_m3*100;return g.jsx(yf,{ore:r,percent:u,badgePercent:r.total_volume/a.cell.row.original.total_m3*100,value:r.value,valueMessage:"Estimated"})})})}):g.jsx(g.Fragment,{})},filterFn:hf})];return g.jsxs(Wl,{children:[g.jsx("h5",{className:"text-center small",children:"Key:"}),g.jsx(vf,{}),g.jsx("br",{}),g.jsx(Xu,{isLoading:e,data:t,columns:l})]})},zp=document.getElementById("nav-left"),YC=({futureExtractions:e=!1,limitedFutureExtractions:t=!1,admin:n=!1})=>zp?im.createPortal(g.jsxs(g.Fragment,{children:[g.jsx(er,{to:"active",className:"nav-link",children:"Active Moons"}),(e||t)&&g.jsx(er,{to:"future",className:"nav-link",children:"Future Extractions"}),e&&g.jsx(er,{to:"past",className:"nav-link",children:"Past Extractions"}),n&&g.jsx(er,{to:"admin",className:"nav-link",children:"Admin"})]}),zp):g.jsx(g.Fragment,{}),XC=()=>{const{isLoading:e,data:t}=wl(["perms"],()=>H2(),{refetchOnWindowFocus:!1});return console.log("here"),e?g.jsxs(g.Fragment,{children:[g.jsx(tR,{}),g.jsx(Cd,{})," "]}):g.jsxs(g.Fragment,{children:[g.jsx(YC,{futureExtractions:t.view_observations,limitedFutureExtractions:t.view_limited_future,admin:t.su}),g.jsx(Cd,{})," "]})},QC=()=>{const{isLoading:e,data:t}=wl(["extractions","Past"],()=>B2(),{initialData:[],refetchOnWindowFocus:!1}),n=Lu(),l=[n.accessor("extraction_end",{header:"Frack Arrival (local time)",cell:a=>g.jsx(Sf,{stringDate:a.getValue()}),enableColumnFilter:!1}),n.accessor("moon.name",{header:"Moon",cell:a=>g.jsxs("div",{className:"text-center",children:[g.jsx("h6",{children:a.getValue()}),g.jsx("br",{}),g.jsx("p",{className:"m-0",children:a.cell.row.original.ObserverName}),g.jsxs("p",{children:[a.cell.row.original.constellation," - ",a.cell.row.original.region]}),a.cell.row.original.value>0&&g.jsxs(nt,{children:["Total Mined Value $",Number(a.cell.row.original.value/1e9).toFixed(2),"B"]})]})}),n.accessor("jackpot",{header:"Jackpot",cell:a=>a.getValue()?g.jsx("div",{className:"text-center jackpot",children:g.jsx("i",{className:"fas fa-award",style:{fontSize:"64px"}})}):g.jsx(g.Fragment,{})}),n.accessor("mined_ore",{header:"Ore Composition",width:"col-lg-6 col-xl-6",cell:a=>{var i;return a.getValue()?g.jsx(g.Fragment,{children:g.jsx("div",{children:(i=a.getValue())==null?void 0:i.map(r=>{let u=Number(r.volume/r.total_volume*100);return g.jsx(yf,{ore:r,percent:u,badgePercent:r.total_volume/a.cell.row.original.total_m3*100,value:r.value,valueMessage:"Mined"})})})}):g.jsx(g.Fragment,{})},filterFn:hf})];return g.jsxs(Wl,{children:[g.jsx("h5",{className:"text-center small",children:"Key:"}),g.jsx(vf,{}),g.jsx("br",{}),g.jsx(Xu,{isLoading:e,data:t,columns:l})]})};Bc.addDefaultLocale(B1);const ZC=()=>g.jsx(g.Fragment,{children:g.jsx(N1,{children:g.jsxs(j1,{children:[g.jsx(kn,{index:!0,element:g.jsx(Ad,{to:"m/r/",replace:!0})}),g.jsxs(kn,{path:"m/r/",element:g.jsx(XC,{}),children:[g.jsx(kn,{index:!0,element:g.jsx(Ad,{to:"active",replace:!0})}),g.jsx(kn,{path:"active",element:g.jsx(qC,{})}),g.jsx(kn,{path:"admin",element:g.jsx(Y2,{})}),g.jsx(kn,{path:"future",element:g.jsx(GC,{})}),g.jsx(kn,{path:"past",element:g.jsx(QC,{})})]})]})})});var U0={exports:{}},Iu={},B0={exports:{}},F0={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(_,B){var H=_.length;_.push(B);e:for(;0<H;){var Z=H-1>>>1,K=_[Z];if(0<a(K,B))_[Z]=B,_[H]=K,H=Z;else break e}}function n(_){return _.length===0?null:_[0]}function l(_){if(_.length===0)return null;var B=_[0],H=_.pop();if(H!==B){_[0]=H;e:for(var Z=0,K=_.length,se=K>>>1;Z<se;){var Me=2*(Z+1)-1,pt=_[Me],Re=Me+1,Fe=_[Re];if(0>a(pt,H))Re<K&&0>a(Fe,pt)?(_[Z]=Fe,_[Re]=H,Z=Re):(_[Z]=pt,_[Me]=H,Z=Me);else if(Re<K&&0>a(Fe,H))_[Z]=Fe,_[Re]=H,Z=Re;else break e}}return B}function a(_,B){var H=_.sortIndex-B.sortIndex;return H!==0?H:_.id-B.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var r=Date,u=r.now();e.unstable_now=function(){return r.now()-u}}var o=[],s=[],c=1,f=null,p=3,d=!1,m=!1,S=!1,x=!1,v=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function w(_){for(var B=n(s);B!==null;){if(B.callback===null)l(s);else if(B.startTime<=_)l(s),B.sortIndex=B.expirationTime,t(o,B);else break;B=n(s)}}function E(_){if(S=!1,w(_),!m)if(n(o)!==null)m=!0,A||(A=!0,F());else{var B=n(s);B!==null&&I(E,B.startTime-_)}}var A=!1,R=-1,D=5,M=-1;function N(){return x?!0:!(e.unstable_now()-M<D)}function j(){if(x=!1,A){var _=e.unstable_now();M=_;var B=!0;try{e:{m=!1,S&&(S=!1,h(R),R=-1),d=!0;var H=p;try{t:{for(w(_),f=n(o);f!==null&&!(f.expirationTime>_&&N());){var Z=f.callback;if(typeof Z=="function"){f.callback=null,p=f.priorityLevel;var K=Z(f.expirationTime<=_);if(_=e.unstable_now(),typeof K=="function"){f.callback=K,w(_),B=!0;break t}f===n(o)&&l(o),w(_)}else l(o);f=n(o)}if(f!==null)B=!0;else{var se=n(s);se!==null&&I(E,se.startTime-_),B=!1}}break e}finally{f=null,p=H,d=!1}B=void 0}}finally{B?F():A=!1}}}var F;if(typeof y=="function")F=function(){y(j)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,Q=U.port2;U.port1.onmessage=j,F=function(){Q.postMessage(null)}}else F=function(){v(j,0)};function I(_,B){R=v(function(){_(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var B=3;break;default:B=p}var H=p;p=B;try{return _()}finally{p=H}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(_,B){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var H=p;p=_;try{return B()}finally{p=H}},e.unstable_scheduleCallback=function(_,B,H){var Z=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?Z+H:Z):H=Z,_){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=H+K,_={id:c++,callback:B,priorityLevel:_,startTime:H,expirationTime:K,sortIndex:-1},H>Z?(_.sortIndex=H,t(s,_),n(o)===null&&_===n(s)&&(S?(h(R),R=-1):S=!0,I(E,H-Z))):(_.sortIndex=K,t(o,_),m||d||(m=!0,A||(A=!0,F()))),_},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(_){var B=p;return function(){var H=p;p=B;try{return _.apply(this,arguments)}finally{p=H}}}})(F0);B0.exports=F0;var KC=B0.exports;/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ae=KC,H0=b,JC=im;function O(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function L0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Vi(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function V0(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function $0(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Up(e){if(Vi(e)!==e)throw Error(O(188))}function kC(e){var t=e.alternate;if(!t){if(t=Vi(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,l=t;;){var a=n.return;if(a===null)break;var i=a.alternate;if(i===null){if(l=a.return,l!==null){n=l;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return Up(a),e;if(i===l)return Up(a),t;i=i.sibling}throw Error(O(188))}if(n.return!==l.return)n=a,l=i;else{for(var r=!1,u=a.child;u;){if(u===n){r=!0,n=a,l=i;break}if(u===l){r=!0,l=a,n=i;break}u=u.sibling}if(!r){for(u=i.child;u;){if(u===n){r=!0,n=i,l=a;break}if(u===l){r=!0,l=i,n=a;break}u=u.sibling}if(!r)throw Error(O(189))}}if(n.alternate!==l)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function q0(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=q0(e),t!==null)return t;e=e.sibling}return null}var de=Object.assign,IC=Symbol.for("react.element"),cr=Symbol.for("react.transitional.element"),Ga=Symbol.for("react.portal"),Ll=Symbol.for("react.fragment"),G0=Symbol.for("react.strict_mode"),$s=Symbol.for("react.profiler"),Y0=Symbol.for("react.consumer"),en=Symbol.for("react.context"),xf=Symbol.for("react.forward_ref"),qs=Symbol.for("react.suspense"),Gs=Symbol.for("react.suspense_list"),wf=Symbol.for("react.memo"),vn=Symbol.for("react.lazy"),Ys=Symbol.for("react.activity"),WC=Symbol.for("react.memo_cache_sentinel"),Bp=Symbol.iterator;function za(e){return e===null||typeof e!="object"?null:(e=Bp&&e[Bp]||e["@@iterator"],typeof e=="function"?e:null)}var PC=Symbol.for("react.client.reference");function Xs(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===PC?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ll:return"Fragment";case $s:return"Profiler";case G0:return"StrictMode";case qs:return"Suspense";case Gs:return"SuspenseList";case Ys:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Ga:return"Portal";case en:return e.displayName||"Context";case Y0:return(e._context.displayName||"Context")+".Consumer";case xf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wf:return t=e.displayName||null,t!==null?t:Xs(e.type)||"Memo";case vn:t=e._payload,e=e._init;try{return Xs(e(t))}catch{}}return null}var Ya=Array.isArray,q=H0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=JC.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,sl={pending:!1,data:null,method:null,action:null},Qs=[],Vl=-1;function Gt(e){return{current:e}}function Te(e){0>Vl||(e.current=Qs[Vl],Qs[Vl]=null,Vl--)}function oe(e,t){Vl++,Qs[Vl]=e.current,e.current=t}var $t=Gt(null),mi=Gt(null),Dn=Gt(null),lu=Gt(null);function au(e,t){switch(oe(Dn,t),oe(mi,e),oe($t,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qg(t),e=c1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Te($t),oe($t,e)}function fa(){Te($t),Te(mi),Te(Dn)}function Zs(e){e.memoizedState!==null&&oe(lu,e);var t=$t.current,n=c1(t,e.type);t!==n&&(oe(mi,e),oe($t,n))}function iu(e){mi.current===e&&(Te($t),Te(mi)),lu.current===e&&(Te(lu),Ai._currentValue=sl)}var zo,Fp;function Pn(e){if(zo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zo=t&&t[1]||"",Fp=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+zo+e+Fp}var Uo=!1;function Bo(e,t){if(!e||Uo)return"";Uo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(d){var p=d}Reflect.construct(e,[],f)}else{try{f.call()}catch(d){p=d}e.call(f.prototype)}}else{try{throw Error()}catch(d){p=d}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(d){if(d&&p&&typeof d.stack=="string")return[d.stack,p.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=l.DetermineComponentFrameRoot(),r=i[0],u=i[1];if(r&&u){var o=r.split(`
`),s=u.split(`
`);for(a=l=0;l<o.length&&!o[l].includes("DetermineComponentFrameRoot");)l++;for(;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;if(l===o.length||a===s.length)for(l=o.length-1,a=s.length-1;1<=l&&0<=a&&o[l]!==s[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==s[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==s[a]){var c=`
`+o[l].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=l&&0<=a);break}}}finally{Uo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Pn(n):""}function eA(e,t){switch(e.tag){case 26:case 27:case 5:return Pn(e.type);case 16:return Pn("Lazy");case 13:return e.child!==t&&t!==null?Pn("Suspense Fallback"):Pn("Suspense");case 19:return Pn("SuspenseList");case 0:case 15:return Bo(e.type,!1);case 11:return Bo(e.type.render,!1);case 1:return Bo(e.type,!0);case 31:return Pn("Activity");default:return""}}function Hp(e){try{var t="",n=null;do t+=eA(e,n),n=e,e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Ks=Object.prototype.hasOwnProperty,bf=Ae.unstable_scheduleCallback,Fo=Ae.unstable_cancelCallback,tA=Ae.unstable_shouldYield,nA=Ae.unstable_requestPaint,it=Ae.unstable_now,lA=Ae.unstable_getCurrentPriorityLevel,X0=Ae.unstable_ImmediatePriority,Q0=Ae.unstable_UserBlockingPriority,ru=Ae.unstable_NormalPriority,aA=Ae.unstable_LowPriority,Z0=Ae.unstable_IdlePriority,iA=Ae.log,rA=Ae.unstable_setDisableYieldValue,$i=null,rt=null;function Cn(e){if(typeof iA=="function"&&rA(e),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode($i,e)}catch{}}var ut=Math.clz32?Math.clz32:sA,uA=Math.log,oA=Math.LN2;function sA(e){return e>>>=0,e===0?32:31-(uA(e)/oA|0)|0}var fr=256,dr=262144,pr=4194304;function el(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Wu(e,t,n){var l=e.pendingLanes;if(l===0)return 0;var a=0,i=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var u=l&134217727;return u!==0?(l=u&~i,l!==0?a=el(l):(r&=u,r!==0?a=el(r):n||(n=u&~e,n!==0&&(a=el(n))))):(u=l&~i,u!==0?a=el(u):r!==0?a=el(r):n||(n=l&~e,n!==0&&(a=el(n)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:a}function qi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function cA(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function K0(){var e=pr;return pr<<=1,!(pr&62914560)&&(pr=4194304),e}function Ho(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Gi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function fA(e,t,n,l,a,i){var r=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var u=e.entanglements,o=e.expirationTimes,s=e.hiddenUpdates;for(n=r&~n;0<n;){var c=31-ut(n),f=1<<c;u[c]=0,o[c]=-1;var p=s[c];if(p!==null)for(s[c]=null,c=0;c<p.length;c++){var d=p[c];d!==null&&(d.lane&=-536870913)}n&=~f}l!==0&&J0(e,l,0),i!==0&&a===0&&e.tag!==0&&(e.suspendedLanes|=i&~(r&~t))}function J0(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-ut(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|n&261930}function k0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var l=31-ut(n),a=1<<l;a&t|e[l]&t&&(e[l]|=t),n&=~a}}function I0(e,t){var n=t&-t;return n=n&42?1:Ef(n),n&(e.suspendedLanes|t)?0:n}function Ef(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Rf(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function W0(){var e=te.p;return e!==0?e:(e=window.event,e===void 0?32:w1(e.type))}function Lp(e,t){var n=te.p;try{return te.p=e,t()}finally{te.p=n}}var Qn=Math.random().toString(36).slice(2),je="__reactFiber$"+Qn,Ie="__reactProps$"+Qn,Ea="__reactContainer$"+Qn,Js="__reactEvents$"+Qn,dA="__reactListeners$"+Qn,pA="__reactHandles$"+Qn,Vp="__reactResources$"+Qn,Yi="__reactMarker$"+Qn;function Cf(e){delete e[je],delete e[Ie],delete e[Js],delete e[dA],delete e[pA]}function $l(e){var t=e[je];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ea]||n[je]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Zg(e);e!==null;){if(n=e[je])return n;e=Zg(e)}return t}e=n,n=e.parentNode}return null}function Ra(e){if(e=e[je]||e[Ea]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Xa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(O(33))}function Pl(e){var t=e[Vp];return t||(t=e[Vp]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function _e(e){e[Yi]=!0}var P0=new Set,ev={};function bl(e,t){da(e,t),da(e+"Capture",t)}function da(e,t){for(ev[e]=t,e=0;e<t.length;e++)P0.add(t[e])}var gA=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$p={},qp={};function mA(e){return Ks.call(qp,e)?!0:Ks.call($p,e)?!1:gA.test(e)?qp[e]=!0:($p[e]=!0,!1)}function Dr(e,t,n){if(mA(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function gr(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Xt(e,t,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+l)}}function vt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hA(e,t,n){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var a=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(r){n=""+r,i.call(this,r)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(r){n=""+r},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ks(e){if(!e._valueTracker){var t=tv(e)?"checked":"value";e._valueTracker=hA(e,t,""+e[t])}}function nv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),l="";return e&&(l=tv(e)?e.checked?"true":"false":e.value),e=l,e!==n?(t.setValue(e),!0):!1}function uu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var vA=/[\n"\\]/g;function xt(e){return e.replace(vA,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Is(e,t,n,l,a,i,r,u){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+vt(t)):e.value!==""+vt(t)&&(e.value=""+vt(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?Ws(e,r,vt(t)):n!=null?Ws(e,r,vt(n)):l!=null&&e.removeAttribute("value"),a==null&&i!=null&&(e.defaultChecked=!!i),a!=null&&(e.checked=a&&typeof a!="function"&&typeof a!="symbol"),u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.name=""+vt(u):e.removeAttribute("name")}function lv(e,t,n,l,a,i,r,u){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){ks(e);return}n=n!=null?""+vt(n):"",t=t!=null?""+vt(t):n,u||t===e.value||(e.value=t),e.defaultValue=t}l=l??a,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=u?e.checked:!!l,e.defaultChecked=!!l,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r),ks(e)}function Ws(e,t,n){t==="number"&&uu(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ea(e,t,n,l){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&l&&(e[n].defaultSelected=!0)}else{for(n=""+vt(n),t=null,a=0;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,l&&(e[a].defaultSelected=!0);return}t!==null||e[a].disabled||(t=e[a])}t!==null&&(t.selected=!0)}}function av(e,t,n){if(t!=null&&(t=""+vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+vt(n):""}function iv(e,t,n,l){if(t==null){if(l!=null){if(n!=null)throw Error(O(92));if(Ya(l)){if(1<l.length)throw Error(O(93));l=l[0]}n=l}n==null&&(n=""),t=n}n=vt(t),e.defaultValue=n,l=e.textContent,l===n&&l!==""&&l!==null&&(e.value=l),ks(e)}function pa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yA=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Gp(e,t,n){var l=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,n):typeof n!="number"||n===0||yA.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function rv(e,t,n){if(t!=null&&typeof t!="object")throw Error(O(62));if(e=e.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var a in t)l=t[a],t.hasOwnProperty(a)&&n[a]!==l&&Gp(e,a,l)}else for(var i in t)t.hasOwnProperty(i)&&Gp(e,i,t[i])}function Af(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var SA=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),xA=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Mr(e){return xA.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tn(){}var Ps=null;function Of(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ql=null,ta=null;function Yp(e){var t=Ra(e);if(t&&(e=t.stateNode)){var n=e[Ie]||null;e:switch(e=t.stateNode,t.type){case"input":if(Is(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+xt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var l=n[t];if(l!==e&&l.form===e.form){var a=l[Ie]||null;if(!a)throw Error(O(90));Is(l,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)l=n[t],l.form===e.form&&nv(l)}break e;case"textarea":av(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ea(e,!!n.multiple,t,!1)}}}var Lo=!1;function uv(e,t,n){if(Lo)return e(t,n);Lo=!0;try{var l=e(t);return l}finally{if(Lo=!1,(ql!==null||ta!==null)&&(co(),ql&&(t=ql,e=ta,ta=ql=null,Yp(t),e)))for(t=0;t<e.length;t++)Yp(e[t])}}function hi(e,t){var n=e.stateNode;if(n===null)return null;var l=n[Ie]||null;if(l===null)return null;n=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(O(231,t,typeof n));return n}var sn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ec=!1;if(sn)try{var Ua={};Object.defineProperty(Ua,"passive",{get:function(){ec=!0}}),window.addEventListener("test",Ua,Ua),window.removeEventListener("test",Ua,Ua)}catch{ec=!1}var An=null,_f=null,Nr=null;function ov(){if(Nr)return Nr;var e,t=_f,n=t.length,l,a="value"in An?An.value:An.textContent,i=a.length;for(e=0;e<n&&t[e]===a[e];e++);var r=n-e;for(l=1;l<=r&&t[n-l]===a[i-l];l++);return Nr=a.slice(e,1<l?1-l:void 0)}function jr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function mr(){return!0}function Xp(){return!1}function Pe(e){function t(n,l,a,i,r){this._reactName=n,this._targetInst=a,this.type=l,this.nativeEvent=i,this.target=r,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?mr:Xp,this.isPropagationStopped=Xp,this}return de(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=mr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=mr)},persist:function(){},isPersistent:mr}),t}var El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pu=Pe(El),Xi=de({},El,{view:0,detail:0}),wA=Pe(Xi),Vo,$o,Ba,eo=de({},Xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ba&&(Ba&&e.type==="mousemove"?(Vo=e.screenX-Ba.screenX,$o=e.screenY-Ba.screenY):$o=Vo=0,Ba=e),Vo)},movementY:function(e){return"movementY"in e?e.movementY:$o}}),Qp=Pe(eo),bA=de({},eo,{dataTransfer:0}),EA=Pe(bA),RA=de({},Xi,{relatedTarget:0}),qo=Pe(RA),CA=de({},El,{animationName:0,elapsedTime:0,pseudoElement:0}),AA=Pe(CA),OA=de({},El,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_A=Pe(OA),TA=de({},El,{data:0}),Zp=Pe(TA),DA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},MA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},NA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=NA[e])?!!t[e]:!1}function Tf(){return jA}var zA=de({},Xi,{key:function(e){if(e.key){var t=DA[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=jr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?MA[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tf,charCode:function(e){return e.type==="keypress"?jr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),UA=Pe(zA),BA=de({},eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kp=Pe(BA),FA=de({},Xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tf}),HA=Pe(FA),LA=de({},El,{propertyName:0,elapsedTime:0,pseudoElement:0}),VA=Pe(LA),$A=de({},eo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qA=Pe($A),GA=de({},El,{newState:0,oldState:0}),YA=Pe(GA),XA=[9,13,27,32],Df=sn&&"CompositionEvent"in window,Pa=null;sn&&"documentMode"in document&&(Pa=document.documentMode);var QA=sn&&"TextEvent"in window&&!Pa,sv=sn&&(!Df||Pa&&8<Pa&&11>=Pa),Jp=" ",kp=!1;function cv(e,t){switch(e){case"keyup":return XA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gl=!1;function ZA(e,t){switch(e){case"compositionend":return fv(t);case"keypress":return t.which!==32?null:(kp=!0,Jp);case"textInput":return e=t.data,e===Jp&&kp?null:e;default:return null}}function KA(e,t){if(Gl)return e==="compositionend"||!Df&&cv(e,t)?(e=ov(),Nr=_f=An=null,Gl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return sv&&t.locale!=="ko"?null:t.data;default:return null}}var JA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ip(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!JA[e.type]:t==="textarea"}function dv(e,t,n,l){ql?ta?ta.push(l):ta=[l]:ql=l,t=Cu(t,"onChange"),0<t.length&&(n=new Pu("onChange","change",null,n,l),e.push({event:n,listeners:t}))}var ei=null,vi=null;function kA(e){u1(e,0)}function to(e){var t=Xa(e);if(nv(t))return e}function Wp(e,t){if(e==="change")return t}var pv=!1;if(sn){var Go;if(sn){var Yo="oninput"in document;if(!Yo){var Pp=document.createElement("div");Pp.setAttribute("oninput","return;"),Yo=typeof Pp.oninput=="function"}Go=Yo}else Go=!1;pv=Go&&(!document.documentMode||9<document.documentMode)}function eg(){ei&&(ei.detachEvent("onpropertychange",gv),vi=ei=null)}function gv(e){if(e.propertyName==="value"&&to(vi)){var t=[];dv(t,vi,e,Of(e)),uv(kA,t)}}function IA(e,t,n){e==="focusin"?(eg(),ei=t,vi=n,ei.attachEvent("onpropertychange",gv)):e==="focusout"&&eg()}function WA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return to(vi)}function PA(e,t){if(e==="click")return to(t)}function eO(e,t){if(e==="input"||e==="change")return to(t)}function tO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ft=typeof Object.is=="function"?Object.is:tO;function yi(e,t){if(ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),l=Object.keys(t);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var a=n[l];if(!Ks.call(t,a)||!ft(e[a],t[a]))return!1}return!0}function tg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ng(e,t){var n=tg(e);e=0;for(var l;n;){if(n.nodeType===3){if(l=e+n.textContent.length,e<=t&&l>=t)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=tg(n)}}function mv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=uu(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=uu(e.document)}return t}function Mf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var nO=sn&&"documentMode"in document&&11>=document.documentMode,Yl=null,tc=null,ti=null,nc=!1;function lg(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nc||Yl==null||Yl!==uu(l)||(l=Yl,"selectionStart"in l&&Mf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),ti&&yi(ti,l)||(ti=l,l=Cu(tc,"onSelect"),0<l.length&&(t=new Pu("onSelect","select",null,t,n),e.push({event:t,listeners:l}),t.target=Yl)))}function In(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xl={animationend:In("Animation","AnimationEnd"),animationiteration:In("Animation","AnimationIteration"),animationstart:In("Animation","AnimationStart"),transitionrun:In("Transition","TransitionRun"),transitionstart:In("Transition","TransitionStart"),transitioncancel:In("Transition","TransitionCancel"),transitionend:In("Transition","TransitionEnd")},Xo={},vv={};sn&&(vv=document.createElement("div").style,"AnimationEvent"in window||(delete Xl.animationend.animation,delete Xl.animationiteration.animation,delete Xl.animationstart.animation),"TransitionEvent"in window||delete Xl.transitionend.transition);function Rl(e){if(Xo[e])return Xo[e];if(!Xl[e])return e;var t=Xl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in vv)return Xo[e]=t[n];return e}var yv=Rl("animationend"),Sv=Rl("animationiteration"),xv=Rl("animationstart"),lO=Rl("transitionrun"),aO=Rl("transitionstart"),iO=Rl("transitioncancel"),wv=Rl("transitionend"),bv=new Map,lc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");lc.push("scrollEnd");function jt(e,t){bv.set(e,t),bl(t,[e])}var ou=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ht=[],Ql=0,Nf=0;function no(){for(var e=Ql,t=Nf=Ql=0;t<e;){var n=ht[t];ht[t++]=null;var l=ht[t];ht[t++]=null;var a=ht[t];ht[t++]=null;var i=ht[t];if(ht[t++]=null,l!==null&&a!==null){var r=l.pending;r===null?a.next=a:(a.next=r.next,r.next=a),l.pending=a}i!==0&&Ev(n,a,i)}}function lo(e,t,n,l){ht[Ql++]=e,ht[Ql++]=t,ht[Ql++]=n,ht[Ql++]=l,Nf|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function jf(e,t,n,l){return lo(e,t,n,l),su(e)}function Cl(e,t){return lo(e,null,null,t),su(e)}function Ev(e,t,n){e.lanes|=n;var l=e.alternate;l!==null&&(l.lanes|=n);for(var a=!1,i=e.return;i!==null;)i.childLanes|=n,l=i.alternate,l!==null&&(l.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(a=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,a&&t!==null&&(a=31-ut(n),e=i.hiddenUpdates,l=e[a],l===null?e[a]=[t]:l.push(t),t.lane=n|536870912),i):null}function su(e){if(50<ci)throw ci=0,Rc=null,Error(O(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Zl={};function rO(e,t,n,l){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,l){return new rO(e,t,n,l)}function zf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ln(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Rv(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zr(e,t,n,l,a,i){var r=0;if(l=e,typeof e=="function")zf(e)&&(r=1);else if(typeof e=="string")r=f_(e,n,$t.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ys:return e=lt(31,n,t,a),e.elementType=Ys,e.lanes=i,e;case Ll:return cl(n.children,a,i,t);case G0:r=8,a|=24;break;case $s:return e=lt(12,n,t,a|2),e.elementType=$s,e.lanes=i,e;case qs:return e=lt(13,n,t,a),e.elementType=qs,e.lanes=i,e;case Gs:return e=lt(19,n,t,a),e.elementType=Gs,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case en:r=10;break e;case Y0:r=9;break e;case xf:r=11;break e;case wf:r=14;break e;case vn:r=16,l=null;break e}r=29,n=Error(O(130,e===null?"null":typeof e,"")),l=null}return t=lt(r,n,t,a),t.elementType=e,t.type=l,t.lanes=i,t}function cl(e,t,n,l){return e=lt(7,e,l,t),e.lanes=n,e}function Qo(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function Cv(e){var t=lt(18,null,null,0);return t.stateNode=e,t}function Zo(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ag=new WeakMap;function wt(e,t){if(typeof e=="object"&&e!==null){var n=ag.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Hp(t)},ag.set(e,t),t)}return{value:e,source:t,stack:Hp(t)}}var Kl=[],Jl=0,cu=null,Si=0,yt=[],St=0,$n=null,Bt=1,Ft="";function It(e,t){Kl[Jl++]=Si,Kl[Jl++]=cu,cu=e,Si=t}function Av(e,t,n){yt[St++]=Bt,yt[St++]=Ft,yt[St++]=$n,$n=e;var l=Bt;e=Ft;var a=32-ut(l)-1;l&=~(1<<a),n+=1;var i=32-ut(t)+a;if(30<i){var r=a-a%5;i=(l&(1<<r)-1).toString(32),l>>=r,a-=r,Bt=1<<32-ut(t)+a|n<<a|l,Ft=i+e}else Bt=1<<i|n<<a|l,Ft=e}function Uf(e){e.return!==null&&(It(e,1),Av(e,1,0))}function Bf(e){for(;e===cu;)cu=Kl[--Jl],Kl[Jl]=null,Si=Kl[--Jl],Kl[Jl]=null;for(;e===$n;)$n=yt[--St],yt[St]=null,Ft=yt[--St],yt[St]=null,Bt=yt[--St],yt[St]=null}function Ov(e,t){yt[St++]=Bt,yt[St++]=Ft,yt[St++]=$n,Bt=t.id,Ft=t.overflow,$n=e}var ze=null,fe=null,P=!1,Mn=null,bt=!1,ac=Error(O(519));function qn(e){var t=Error(O(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xi(wt(t,e)),ac}function ig(e){var t=e.stateNode,n=e.type,l=e.memoizedProps;switch(t[je]=e,t[Ie]=l,n){case"dialog":J("cancel",t),J("close",t);break;case"iframe":case"object":case"embed":J("load",t);break;case"video":case"audio":for(n=0;n<Ri.length;n++)J(Ri[n],t);break;case"source":J("error",t);break;case"img":case"image":case"link":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"input":J("invalid",t),lv(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":J("invalid",t);break;case"textarea":J("invalid",t),iv(t,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||l.suppressHydrationWarning===!0||s1(t.textContent,n)?(l.popover!=null&&(J("beforetoggle",t),J("toggle",t)),l.onScroll!=null&&J("scroll",t),l.onScrollEnd!=null&&J("scrollend",t),l.onClick!=null&&(t.onclick=tn),t=!0):t=!1,t||qn(e,!0)}function rg(e){for(ze=e.return;ze;)switch(ze.tag){case 5:case 31:case 13:bt=!1;return;case 27:case 3:bt=!0;return;default:ze=ze.return}}function Tl(e){if(e!==ze)return!1;if(!P)return rg(e),P=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Tc(e.type,e.memoizedProps)),n=!n),n&&fe&&qn(e),rg(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));fe=Qg(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));fe=Qg(e)}else t===27?(t=fe,Zn(e.type)?(e=jc,jc=null,fe=e):fe=t):fe=ze?Rt(e.stateNode.nextSibling):null;return!0}function hl(){fe=ze=null,P=!1}function Ko(){var e=Mn;return e!==null&&(Xe===null?Xe=e:Xe.push.apply(Xe,e),Mn=null),e}function xi(e){Mn===null?Mn=[e]:Mn.push(e)}var ic=Gt(null),Al=null,nn=null;function Sn(e,t,n){oe(ic,t._currentValue),t._currentValue=n}function an(e){e._currentValue=ic.current,Te(ic)}function rc(e,t,n){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===n)break;e=e.return}}function uc(e,t,n,l){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var i=a.dependencies;if(i!==null){var r=a.child;i=i.firstContext;e:for(;i!==null;){var u=i;i=a;for(var o=0;o<t.length;o++)if(u.context===t[o]){i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),rc(i.return,n,e),l||(r=null);break e}i=u.next}}else if(a.tag===18){if(r=a.return,r===null)throw Error(O(341));r.lanes|=n,i=r.alternate,i!==null&&(i.lanes|=n),rc(r,n,e),r=null}else r=a.child;if(r!==null)r.return=a;else for(r=a;r!==null;){if(r===e){r=null;break}if(a=r.sibling,a!==null){a.return=r.return,r=a;break}r=r.return}a=r}}function Ca(e,t,n,l){e=null;for(var a=t,i=!1;a!==null;){if(!i){if(a.flags&524288)i=!0;else if(a.flags&262144)break}if(a.tag===10){var r=a.alternate;if(r===null)throw Error(O(387));if(r=r.memoizedProps,r!==null){var u=a.type;ft(a.pendingProps.value,r.value)||(e!==null?e.push(u):e=[u])}}else if(a===lu.current){if(r=a.alternate,r===null)throw Error(O(387));r.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e!==null?e.push(Ai):e=[Ai])}a=a.return}e!==null&&uc(t,e,n,l),t.flags|=262144}function fu(e){for(e=e.firstContext;e!==null;){if(!ft(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function vl(e){Al=e,nn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ue(e){return _v(Al,e)}function hr(e,t){return Al===null&&vl(e),_v(e,t)}function _v(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},nn===null){if(e===null)throw Error(O(308));nn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else nn=nn.next=t;return n}var uO=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},oO=Ae.unstable_scheduleCallback,sO=Ae.unstable_NormalPriority,we={$$typeof:en,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ff(){return{controller:new uO,data:new Map,refCount:0}}function Qi(e){e.refCount--,e.refCount===0&&oO(sO,function(){e.controller.abort()})}var ni=null,oc=0,ga=0,na=null;function cO(e,t){if(ni===null){var n=ni=[];oc=0,ga=od(),na={status:"pending",value:void 0,then:function(l){n.push(l)}}}return oc++,t.then(ug,ug),t}function ug(){if(--oc===0&&ni!==null){na!==null&&(na.status="fulfilled");var e=ni;ni=null,ga=0,na=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function fO(e,t){var n=[],l={status:"pending",value:null,reason:null,then:function(a){n.push(a)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var a=0;a<n.length;a++)(0,n[a])(t)},function(a){for(l.status="rejected",l.reason=a,a=0;a<n.length;a++)(0,n[a])(void 0)}),l}var og=q.S;q.S=function(e,t){qy=it(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&cO(e,t),og!==null&&og(e,t)};var fl=Gt(null);function Hf(){var e=fl.current;return e!==null?e:ue.pooledCache}function Ur(e,t){t===null?oe(fl,fl.current):oe(fl,t.pool)}function Tv(){var e=Hf();return e===null?null:{parent:we._currentValue,pool:e}}var Aa=Error(O(460)),Lf=Error(O(474)),ao=Error(O(542)),du={then:function(){}};function sg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Dv(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(tn,tn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,fg(e),e;default:if(typeof t.status=="string")t.then(tn,tn);else{if(e=ue,e!==null&&100<e.shellSuspendCounter)throw Error(O(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var a=t;a.status="fulfilled",a.value=l}},function(l){if(t.status==="pending"){var a=t;a.status="rejected",a.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,fg(e),e}throw dl=t,Aa}}function tl(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(dl=n,Aa):n}}var dl=null;function cg(){if(dl===null)throw Error(O(459));var e=dl;return dl=null,e}function fg(e){if(e===Aa||e===ao)throw Error(O(483))}var la=null,wi=0;function vr(e){var t=wi;return wi+=1,la===null&&(la=[]),Dv(la,e,t)}function Fa(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function yr(e,t){throw t.$$typeof===IC?Error(O(525)):(e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Mv(e){function t(v,h){if(e){var y=v.deletions;y===null?(v.deletions=[h],v.flags|=16):y.push(h)}}function n(v,h){if(!e)return null;for(;h!==null;)t(v,h),h=h.sibling;return null}function l(v){for(var h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function a(v,h){return v=ln(v,h),v.index=0,v.sibling=null,v}function i(v,h,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<h?(v.flags|=67108866,h):y):(v.flags|=67108866,h)):(v.flags|=1048576,h)}function r(v){return e&&v.alternate===null&&(v.flags|=67108866),v}function u(v,h,y,w){return h===null||h.tag!==6?(h=Qo(y,v.mode,w),h.return=v,h):(h=a(h,y),h.return=v,h)}function o(v,h,y,w){var E=y.type;return E===Ll?c(v,h,y.props.children,w,y.key):h!==null&&(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===vn&&tl(E)===h.type)?(h=a(h,y.props),Fa(h,y),h.return=v,h):(h=zr(y.type,y.key,y.props,null,v.mode,w),Fa(h,y),h.return=v,h)}function s(v,h,y,w){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=Zo(y,v.mode,w),h.return=v,h):(h=a(h,y.children||[]),h.return=v,h)}function c(v,h,y,w,E){return h===null||h.tag!==7?(h=cl(y,v.mode,w,E),h.return=v,h):(h=a(h,y),h.return=v,h)}function f(v,h,y){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Qo(""+h,v.mode,y),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case cr:return y=zr(h.type,h.key,h.props,null,v.mode,y),Fa(y,h),y.return=v,y;case Ga:return h=Zo(h,v.mode,y),h.return=v,h;case vn:return h=tl(h),f(v,h,y)}if(Ya(h)||za(h))return h=cl(h,v.mode,y,null),h.return=v,h;if(typeof h.then=="function")return f(v,vr(h),y);if(h.$$typeof===en)return f(v,hr(v,h),y);yr(v,h)}return null}function p(v,h,y,w){var E=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return E!==null?null:u(v,h,""+y,w);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case cr:return y.key===E?o(v,h,y,w):null;case Ga:return y.key===E?s(v,h,y,w):null;case vn:return y=tl(y),p(v,h,y,w)}if(Ya(y)||za(y))return E!==null?null:c(v,h,y,w,null);if(typeof y.then=="function")return p(v,h,vr(y),w);if(y.$$typeof===en)return p(v,h,hr(v,y),w);yr(v,y)}return null}function d(v,h,y,w,E){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return v=v.get(y)||null,u(h,v,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case cr:return v=v.get(w.key===null?y:w.key)||null,o(h,v,w,E);case Ga:return v=v.get(w.key===null?y:w.key)||null,s(h,v,w,E);case vn:return w=tl(w),d(v,h,y,w,E)}if(Ya(w)||za(w))return v=v.get(y)||null,c(h,v,w,E,null);if(typeof w.then=="function")return d(v,h,y,vr(w),E);if(w.$$typeof===en)return d(v,h,y,hr(h,w),E);yr(h,w)}return null}function m(v,h,y,w){for(var E=null,A=null,R=h,D=h=0,M=null;R!==null&&D<y.length;D++){R.index>D?(M=R,R=null):M=R.sibling;var N=p(v,R,y[D],w);if(N===null){R===null&&(R=M);break}e&&R&&N.alternate===null&&t(v,R),h=i(N,h,D),A===null?E=N:A.sibling=N,A=N,R=M}if(D===y.length)return n(v,R),P&&It(v,D),E;if(R===null){for(;D<y.length;D++)R=f(v,y[D],w),R!==null&&(h=i(R,h,D),A===null?E=R:A.sibling=R,A=R);return P&&It(v,D),E}for(R=l(R);D<y.length;D++)M=d(R,v,D,y[D],w),M!==null&&(e&&M.alternate!==null&&R.delete(M.key===null?D:M.key),h=i(M,h,D),A===null?E=M:A.sibling=M,A=M);return e&&R.forEach(function(j){return t(v,j)}),P&&It(v,D),E}function S(v,h,y,w){if(y==null)throw Error(O(151));for(var E=null,A=null,R=h,D=h=0,M=null,N=y.next();R!==null&&!N.done;D++,N=y.next()){R.index>D?(M=R,R=null):M=R.sibling;var j=p(v,R,N.value,w);if(j===null){R===null&&(R=M);break}e&&R&&j.alternate===null&&t(v,R),h=i(j,h,D),A===null?E=j:A.sibling=j,A=j,R=M}if(N.done)return n(v,R),P&&It(v,D),E;if(R===null){for(;!N.done;D++,N=y.next())N=f(v,N.value,w),N!==null&&(h=i(N,h,D),A===null?E=N:A.sibling=N,A=N);return P&&It(v,D),E}for(R=l(R);!N.done;D++,N=y.next())N=d(R,v,D,N.value,w),N!==null&&(e&&N.alternate!==null&&R.delete(N.key===null?D:N.key),h=i(N,h,D),A===null?E=N:A.sibling=N,A=N);return e&&R.forEach(function(F){return t(v,F)}),P&&It(v,D),E}function x(v,h,y,w){if(typeof y=="object"&&y!==null&&y.type===Ll&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case cr:e:{for(var E=y.key;h!==null;){if(h.key===E){if(E=y.type,E===Ll){if(h.tag===7){n(v,h.sibling),w=a(h,y.props.children),w.return=v,v=w;break e}}else if(h.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===vn&&tl(E)===h.type){n(v,h.sibling),w=a(h,y.props),Fa(w,y),w.return=v,v=w;break e}n(v,h);break}else t(v,h);h=h.sibling}y.type===Ll?(w=cl(y.props.children,v.mode,w,y.key),w.return=v,v=w):(w=zr(y.type,y.key,y.props,null,v.mode,w),Fa(w,y),w.return=v,v=w)}return r(v);case Ga:e:{for(E=y.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(v,h.sibling),w=a(h,y.children||[]),w.return=v,v=w;break e}else{n(v,h);break}else t(v,h);h=h.sibling}w=Zo(y,v.mode,w),w.return=v,v=w}return r(v);case vn:return y=tl(y),x(v,h,y,w)}if(Ya(y))return m(v,h,y,w);if(za(y)){if(E=za(y),typeof E!="function")throw Error(O(150));return y=E.call(y),S(v,h,y,w)}if(typeof y.then=="function")return x(v,h,vr(y),w);if(y.$$typeof===en)return x(v,h,hr(v,y),w);yr(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,h!==null&&h.tag===6?(n(v,h.sibling),w=a(h,y),w.return=v,v=w):(n(v,h),w=Qo(y,v.mode,w),w.return=v,v=w),r(v)):n(v,h)}return function(v,h,y,w){try{wi=0;var E=x(v,h,y,w);return la=null,E}catch(R){if(R===Aa||R===ao)throw R;var A=lt(29,R,null,v.mode);return A.lanes=w,A.return=v,A}finally{}}}var yl=Mv(!0),Nv=Mv(!1),yn=!1;function Vf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function sc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Nn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function jn(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,ee&2){var a=l.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t,t=su(e),Ev(e,null,n),t}return lo(e,l,t,n),su(e)}function li(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,k0(e,n)}}function Jo(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var r={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?a=i=r:i=i.next=r,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:l.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var cc=!1;function ai(){if(cc){var e=na;if(e!==null)throw e}}function ii(e,t,n,l){cc=!1;var a=e.updateQueue;yn=!1;var i=a.firstBaseUpdate,r=a.lastBaseUpdate,u=a.shared.pending;if(u!==null){a.shared.pending=null;var o=u,s=o.next;o.next=null,r===null?i=s:r.next=s,r=o;var c=e.alternate;c!==null&&(c=c.updateQueue,u=c.lastBaseUpdate,u!==r&&(u===null?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=o))}if(i!==null){var f=a.baseState;r=0,c=s=o=null,u=i;do{var p=u.lane&-536870913,d=p!==u.lane;if(d?(W&p)===p:(l&p)===p){p!==0&&p===ga&&(cc=!0),c!==null&&(c=c.next={lane:0,tag:u.tag,payload:u.payload,callback:null,next:null});e:{var m=e,S=u;p=t;var x=n;switch(S.tag){case 1:if(m=S.payload,typeof m=="function"){f=m.call(x,f,p);break e}f=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=S.payload,p=typeof m=="function"?m.call(x,f,p):m,p==null)break e;f=de({},f,p);break e;case 2:yn=!0}}p=u.callback,p!==null&&(e.flags|=64,d&&(e.flags|=8192),d=a.callbacks,d===null?a.callbacks=[p]:d.push(p))}else d={lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},c===null?(s=c=d,o=f):c=c.next=d,r|=p;if(u=u.next,u===null){if(u=a.shared.pending,u===null)break;d=u,u=d.next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}while(!0);c===null&&(o=f),a.baseState=o,a.firstBaseUpdate=s,a.lastBaseUpdate=c,i===null&&(a.shared.lanes=0),Yn|=r,e.lanes=r,e.memoizedState=f}}function jv(e,t){if(typeof e!="function")throw Error(O(191,e));e.call(t)}function zv(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)jv(n[e],t)}var ma=Gt(null),pu=Gt(0);function dg(e,t){e=pn,oe(pu,e),oe(ma,t),pn=e|t.baseLanes}function fc(){oe(pu,pn),oe(ma,ma.current)}function $f(){pn=pu.current,Te(ma),Te(pu)}var dt=Gt(null),Et=null;function xn(e){var t=e.alternate;oe(ve,ve.current&1),oe(dt,e),Et===null&&(t===null||ma.current!==null||t.memoizedState!==null)&&(Et=e)}function dc(e){oe(ve,ve.current),oe(dt,e),Et===null&&(Et=e)}function Uv(e){e.tag===22?(oe(ve,ve.current),oe(dt,e),Et===null&&(Et=e)):wn()}function wn(){oe(ve,ve.current),oe(dt,dt.current)}function tt(e){Te(dt),Et===e&&(Et=null),Te(ve)}var ve=Gt(0);function gu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Mc(n)||Nc(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cn=0,Y=null,ie=null,Se=null,mu=!1,aa=!1,Sl=!1,hu=0,bi=0,ia=null,dO=0;function ge(){throw Error(O(321))}function qf(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ft(e[n],t[n]))return!1;return!0}function Gf(e,t,n,l,a,i){return cn=i,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,q.H=e===null||e.memoizedState===null?dy:ed,Sl=!1,i=n(l,a),Sl=!1,aa&&(i=Fv(t,n,l,a)),Bv(e),i}function Bv(e){q.H=Ei;var t=ie!==null&&ie.next!==null;if(cn=0,Se=ie=Y=null,mu=!1,bi=0,ia=null,t)throw Error(O(300));e===null||Ee||(e=e.dependencies,e!==null&&fu(e)&&(Ee=!0))}function Fv(e,t,n,l){Y=e;var a=0;do{if(aa&&(ia=null),bi=0,aa=!1,25<=a)throw Error(O(301));if(a+=1,Se=ie=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}q.H=py,i=t(n,l)}while(aa);return i}function pO(){var e=q.H,t=e.useState()[0];return t=typeof t.then=="function"?Zi(t):t,e=e.useState()[0],(ie!==null?ie.memoizedState:null)!==e&&(Y.flags|=1024),t}function Yf(){var e=hu!==0;return hu=0,e}function Xf(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Qf(e){if(mu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}mu=!1}cn=0,Se=ie=Y=null,aa=!1,bi=hu=0,ia=null}function Ve(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Se===null?Y.memoizedState=Se=e:Se=Se.next=e,Se}function ye(){if(ie===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=ie.next;var t=Se===null?Y.memoizedState:Se.next;if(t!==null)Se=t,ie=e;else{if(e===null)throw Y.alternate===null?Error(O(467)):Error(O(310));ie=e,e={memoizedState:ie.memoizedState,baseState:ie.baseState,baseQueue:ie.baseQueue,queue:ie.queue,next:null},Se===null?Y.memoizedState=Se=e:Se=Se.next=e}return Se}function io(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Zi(e){var t=bi;return bi+=1,ia===null&&(ia=[]),e=Dv(ia,e,t),t=Y,(Se===null?t.memoizedState:Se.next)===null&&(t=t.alternate,q.H=t===null||t.memoizedState===null?dy:ed),e}function ro(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Zi(e);if(e.$$typeof===en)return Ue(e)}throw Error(O(438,String(e)))}function Zf(e){var t=null,n=Y.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var l=Y.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(a){return a.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=io(),Y.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),l=0;l<e;l++)n[l]=WC;return t.index++,n}function fn(e,t){return typeof t=="function"?t(e):t}function Br(e){var t=ye();return Kf(t,ie,e)}function Kf(e,t,n){var l=e.queue;if(l===null)throw Error(O(311));l.lastRenderedReducer=n;var a=e.baseQueue,i=l.pending;if(i!==null){if(a!==null){var r=a.next;a.next=i.next,i.next=r}t.baseQueue=a=i,l.pending=null}if(i=e.baseState,a===null)e.memoizedState=i;else{t=a.next;var u=r=null,o=null,s=t,c=!1;do{var f=s.lane&-536870913;if(f!==s.lane?(W&f)===f:(cn&f)===f){var p=s.revertLane;if(p===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),f===ga&&(c=!0);else if((cn&p)===p){s=s.next,p===ga&&(c=!0);continue}else f={lane:0,revertLane:s.revertLane,gesture:null,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(u=o=f,r=i):o=o.next=f,Y.lanes|=p,Yn|=p;f=s.action,Sl&&n(i,f),i=s.hasEagerState?s.eagerState:n(i,f)}else p={lane:f,revertLane:s.revertLane,gesture:s.gesture,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},o===null?(u=o=p,r=i):o=o.next=p,Y.lanes|=f,Yn|=f;s=s.next}while(s!==null&&s!==t);if(o===null?r=i:o.next=u,!ft(i,e.memoizedState)&&(Ee=!0,c&&(n=na,n!==null)))throw n;e.memoizedState=i,e.baseState=r,e.baseQueue=o,l.lastRenderedState=i}return a===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function ko(e){var t=ye(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var l=n.dispatch,a=n.pending,i=t.memoizedState;if(a!==null){n.pending=null;var r=a=a.next;do i=e(i,r.action),r=r.next;while(r!==a);ft(i,t.memoizedState)||(Ee=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,l]}function Hv(e,t,n){var l=Y,a=ye(),i=P;if(i){if(n===void 0)throw Error(O(407));n=n()}else n=t();var r=!ft((ie||a).memoizedState,n);if(r&&(a.memoizedState=n,Ee=!0),a=a.queue,Jf($v.bind(null,l,a,e),[e]),a.getSnapshot!==t||r||Se!==null&&Se.memoizedState.tag&1){if(l.flags|=2048,ha(9,{destroy:void 0},Vv.bind(null,l,a,n,t),null),ue===null)throw Error(O(349));i||cn&127||Lv(l,t,n)}return n}function Lv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t=io(),Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vv(e,t,n,l){t.value=n,t.getSnapshot=l,qv(t)&&Gv(e)}function $v(e,t,n){return n(function(){qv(t)&&Gv(e)})}function qv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ft(e,n)}catch{return!0}}function Gv(e){var t=Cl(e,2);t!==null&&ke(t,e,2)}function pc(e){var t=Ve();if(typeof e=="function"){var n=e;if(e=n(),Sl){Cn(!0);try{n()}finally{Cn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:e},t}function Yv(e,t,n,l){return e.baseState=n,Kf(e,ie,typeof l=="function"?l:fn)}function gO(e,t,n,l,a){if(oo(e))throw Error(O(485));if(e=t.action,e!==null){var i={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){i.listeners.push(r)}};q.T!==null?n(!0):i.isTransition=!1,l(i),n=t.pending,n===null?(i.next=t.pending=i,Xv(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Xv(e,t){var n=t.action,l=t.payload,a=e.state;if(t.isTransition){var i=q.T,r={};q.T=r;try{var u=n(a,l),o=q.S;o!==null&&o(r,u),pg(e,t,u)}catch(s){gc(e,t,s)}finally{i!==null&&r.types!==null&&(i.types=r.types),q.T=i}}else try{i=n(a,l),pg(e,t,i)}catch(s){gc(e,t,s)}}function pg(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){gg(e,t,l)},function(l){return gc(e,t,l)}):gg(e,t,n)}function gg(e,t,n){t.status="fulfilled",t.value=n,Qv(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Xv(e,n)))}function gc(e,t,n){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=n,Qv(t),t=t.next;while(t!==l)}e.action=null}function Qv(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Zv(e,t){return t}function mg(e,t){if(P){var n=ue.formState;if(n!==null){e:{var l=Y;if(P){if(fe){t:{for(var a=fe,i=bt;a.nodeType!==8;){if(!i){a=null;break t}if(a=Rt(a.nextSibling),a===null){a=null;break t}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){fe=Rt(a.nextSibling),l=a.data==="F!";break e}}qn(l)}l=!1}l&&(t=n[0])}}return n=Ve(),n.memoizedState=n.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zv,lastRenderedState:t},n.queue=l,n=sy.bind(null,Y,l),l.dispatch=n,l=pc(!1),i=Pf.bind(null,Y,!1,l.queue),l=Ve(),a={state:t,dispatch:null,action:e,pending:null},l.queue=a,n=gO.bind(null,Y,a,i,n),a.dispatch=n,l.memoizedState=e,[t,n,!1]}function hg(e){var t=ye();return Kv(t,ie,e)}function Kv(e,t,n){if(t=Kf(e,t,Zv)[0],e=Br(fn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=Zi(t)}catch(r){throw r===Aa?ao:r}else l=t;t=ye();var a=t.queue,i=a.dispatch;return n!==t.memoizedState&&(Y.flags|=2048,ha(9,{destroy:void 0},mO.bind(null,a,n),null)),[l,i,e]}function mO(e,t){e.action=t}function vg(e){var t=ye(),n=ie;if(n!==null)return Kv(t,n,e);ye(),t=t.memoizedState,n=ye();var l=n.queue.dispatch;return n.memoizedState=e,[t,l,!1]}function ha(e,t,n,l){return e={tag:e,create:n,deps:l,inst:t,next:null},t=Y.updateQueue,t===null&&(t=io(),Y.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(l=n.next,n.next=e,e.next=l,t.lastEffect=e),e}function Jv(){return ye().memoizedState}function Fr(e,t,n,l){var a=Ve();Y.flags|=e,a.memoizedState=ha(1|t,{destroy:void 0},n,l===void 0?null:l)}function uo(e,t,n,l){var a=ye();l=l===void 0?null:l;var i=a.memoizedState.inst;ie!==null&&l!==null&&qf(l,ie.memoizedState.deps)?a.memoizedState=ha(t,i,n,l):(Y.flags|=e,a.memoizedState=ha(1|t,i,n,l))}function yg(e,t){Fr(8390656,8,e,t)}function Jf(e,t){uo(2048,8,e,t)}function hO(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=io(),Y.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function kv(e){var t=ye().memoizedState;return hO({ref:t,nextImpl:e}),function(){if(ee&2)throw Error(O(440));return t.impl.apply(void 0,arguments)}}function Iv(e,t){return uo(4,2,e,t)}function Wv(e,t){return uo(4,4,e,t)}function Pv(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ey(e,t,n){n=n!=null?n.concat([e]):null,uo(4,4,Pv.bind(null,t,e),n)}function kf(){}function ty(e,t){var n=ye();t=t===void 0?null:t;var l=n.memoizedState;return t!==null&&qf(t,l[1])?l[0]:(n.memoizedState=[e,t],e)}function ny(e,t){var n=ye();t=t===void 0?null:t;var l=n.memoizedState;if(t!==null&&qf(t,l[1]))return l[0];if(l=e(),Sl){Cn(!0);try{e()}finally{Cn(!1)}}return n.memoizedState=[l,t],l}function If(e,t,n){return n===void 0||cn&1073741824&&!(W&261930)?e.memoizedState=t:(e.memoizedState=n,e=Yy(),Y.lanes|=e,Yn|=e,n)}function ly(e,t,n,l){return ft(n,t)?n:ma.current!==null?(e=If(e,n,l),ft(e,t)||(Ee=!0),e):!(cn&42)||cn&1073741824&&!(W&261930)?(Ee=!0,e.memoizedState=n):(e=Yy(),Y.lanes|=e,Yn|=e,t)}function ay(e,t,n,l,a){var i=te.p;te.p=i!==0&&8>i?i:8;var r=q.T,u={};q.T=u,Pf(e,!1,t,n);try{var o=a(),s=q.S;if(s!==null&&s(u,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var c=fO(o,l);ri(e,t,c,ot(e))}else ri(e,t,l,ot(e))}catch(f){ri(e,t,{then:function(){},status:"rejected",reason:f},ot())}finally{te.p=i,r!==null&&u.types!==null&&(r.types=u.types),q.T=r}}function vO(){}function mc(e,t,n,l){if(e.tag!==5)throw Error(O(476));var a=iy(e).queue;ay(e,a,t,sl,n===null?vO:function(){return ry(e),n(l)})}function iy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:sl,baseState:sl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:sl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ry(e){var t=iy(e);t.next===null&&(t=e.alternate.memoizedState),ri(e,t.next.queue,{},ot())}function Wf(){return Ue(Ai)}function uy(){return ye().memoizedState}function oy(){return ye().memoizedState}function yO(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=ot();e=Nn(n);var l=jn(t,e,n);l!==null&&(ke(l,t,n),li(l,t,n)),t={cache:Ff()},e.payload=t;return}t=t.return}}function SO(e,t,n){var l=ot();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},oo(e)?cy(t,n):(n=jf(e,t,n,l),n!==null&&(ke(n,e,l),fy(n,t,l)))}function sy(e,t,n){var l=ot();ri(e,t,n,l)}function ri(e,t,n,l){var a={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(oo(e))cy(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var r=t.lastRenderedState,u=i(r,n);if(a.hasEagerState=!0,a.eagerState=u,ft(u,r))return lo(e,t,a,0),ue===null&&no(),!1}catch{}finally{}if(n=jf(e,t,a,l),n!==null)return ke(n,e,l),fy(n,t,l),!0}return!1}function Pf(e,t,n,l){if(l={lane:2,revertLane:od(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},oo(e)){if(t)throw Error(O(479))}else t=jf(e,n,l,2),t!==null&&ke(t,e,2)}function oo(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function cy(e,t){aa=mu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fy(e,t,n){if(n&4194048){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,k0(e,n)}}var Ei={readContext:Ue,use:ro,useCallback:ge,useContext:ge,useEffect:ge,useImperativeHandle:ge,useLayoutEffect:ge,useInsertionEffect:ge,useMemo:ge,useReducer:ge,useRef:ge,useState:ge,useDebugValue:ge,useDeferredValue:ge,useTransition:ge,useSyncExternalStore:ge,useId:ge,useHostTransitionStatus:ge,useFormState:ge,useActionState:ge,useOptimistic:ge,useMemoCache:ge,useCacheRefresh:ge};Ei.useEffectEvent=ge;var dy={readContext:Ue,use:ro,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:yg,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Fr(4194308,4,Pv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fr(4194308,4,e,t)},useInsertionEffect:function(e,t){Fr(4,2,e,t)},useMemo:function(e,t){var n=Ve();t=t===void 0?null:t;var l=e();if(Sl){Cn(!0);try{e()}finally{Cn(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=Ve();if(n!==void 0){var a=n(t);if(Sl){Cn(!0);try{n(t)}finally{Cn(!1)}}}else a=t;return l.memoizedState=l.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},l.queue=e,e=e.dispatch=SO.bind(null,Y,e),[l.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:function(e){e=pc(e);var t=e.queue,n=sy.bind(null,Y,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:kf,useDeferredValue:function(e,t){var n=Ve();return If(n,e,t)},useTransition:function(){var e=pc(!1);return e=ay.bind(null,Y,e.queue,!0,!1),Ve().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=Y,a=Ve();if(P){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),ue===null)throw Error(O(349));W&127||Lv(l,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,yg($v.bind(null,l,i,e),[e]),l.flags|=2048,ha(9,{destroy:void 0},Vv.bind(null,l,i,n,t),null),n},useId:function(){var e=Ve(),t=ue.identifierPrefix;if(P){var n=Ft,l=Bt;n=(l&~(1<<32-ut(l)-1)).toString(32)+n,t="_"+t+"R_"+n,n=hu++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=dO++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Wf,useFormState:mg,useActionState:mg,useOptimistic:function(e){var t=Ve();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Pf.bind(null,Y,!0,n),n.dispatch=t,[e,t]},useMemoCache:Zf,useCacheRefresh:function(){return Ve().memoizedState=yO.bind(null,Y)},useEffectEvent:function(e){var t=Ve(),n={impl:e};return t.memoizedState=n,function(){if(ee&2)throw Error(O(440));return n.impl.apply(void 0,arguments)}}},ed={readContext:Ue,use:ro,useCallback:ty,useContext:Ue,useEffect:Jf,useImperativeHandle:ey,useInsertionEffect:Iv,useLayoutEffect:Wv,useMemo:ny,useReducer:Br,useRef:Jv,useState:function(){return Br(fn)},useDebugValue:kf,useDeferredValue:function(e,t){var n=ye();return ly(n,ie.memoizedState,e,t)},useTransition:function(){var e=Br(fn)[0],t=ye().memoizedState;return[typeof e=="boolean"?e:Zi(e),t]},useSyncExternalStore:Hv,useId:uy,useHostTransitionStatus:Wf,useFormState:hg,useActionState:hg,useOptimistic:function(e,t){var n=ye();return Yv(n,ie,e,t)},useMemoCache:Zf,useCacheRefresh:oy};ed.useEffectEvent=kv;var py={readContext:Ue,use:ro,useCallback:ty,useContext:Ue,useEffect:Jf,useImperativeHandle:ey,useInsertionEffect:Iv,useLayoutEffect:Wv,useMemo:ny,useReducer:ko,useRef:Jv,useState:function(){return ko(fn)},useDebugValue:kf,useDeferredValue:function(e,t){var n=ye();return ie===null?If(n,e,t):ly(n,ie.memoizedState,e,t)},useTransition:function(){var e=ko(fn)[0],t=ye().memoizedState;return[typeof e=="boolean"?e:Zi(e),t]},useSyncExternalStore:Hv,useId:uy,useHostTransitionStatus:Wf,useFormState:vg,useActionState:vg,useOptimistic:function(e,t){var n=ye();return ie!==null?Yv(n,ie,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Zf,useCacheRefresh:oy};py.useEffectEvent=kv;function Io(e,t,n,l){t=e.memoizedState,n=n(l,t),n=n==null?t:de({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var hc={enqueueSetState:function(e,t,n){e=e._reactInternals;var l=ot(),a=Nn(l);a.payload=t,n!=null&&(a.callback=n),t=jn(e,a,l),t!==null&&(ke(t,e,l),li(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var l=ot(),a=Nn(l);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=jn(e,a,l),t!==null&&(ke(t,e,l),li(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ot(),l=Nn(n);l.tag=2,t!=null&&(l.callback=t),t=jn(e,l,n),t!==null&&(ke(t,e,n),li(t,e,n))}};function Sg(e,t,n,l,a,i,r){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,i,r):t.prototype&&t.prototype.isPureReactComponent?!yi(n,l)||!yi(a,i):!0}function xg(e,t,n,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,l),t.state!==e&&hc.enqueueReplaceState(t,t.state,null)}function xl(e,t){var n=t;if("ref"in t){n={};for(var l in t)l!=="ref"&&(n[l]=t[l])}if(e=e.defaultProps){n===t&&(n=de({},n));for(var a in e)n[a]===void 0&&(n[a]=e[a])}return n}function gy(e){ou(e)}function my(e){console.error(e)}function hy(e){ou(e)}function vu(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function wg(e,t,n){try{var l=e.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function vc(e,t,n){return n=Nn(n),n.tag=3,n.payload={element:null},n.callback=function(){vu(e,t)},n}function vy(e){return e=Nn(e),e.tag=3,e}function yy(e,t,n,l){var a=n.type.getDerivedStateFromError;if(typeof a=="function"){var i=l.value;e.payload=function(){return a(i)},e.callback=function(){wg(t,n,l)}}var r=n.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(e.callback=function(){wg(t,n,l),typeof a!="function"&&(zn===null?zn=new Set([this]):zn.add(this));var u=l.stack;this.componentDidCatch(l.value,{componentStack:u!==null?u:""})})}function xO(e,t,n,l,a){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=n.alternate,t!==null&&Ca(t,n,a,!0),n=dt.current,n!==null){switch(n.tag){case 31:case 13:return Et===null?bu():n.alternate===null&&he===0&&(he=3),n.flags&=-257,n.flags|=65536,n.lanes=a,l===du?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([l]):t.add(l),os(e,l,a)),!1;case 22:return n.flags|=65536,l===du?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([l]):n.add(l)),os(e,l,a)),!1}throw Error(O(435,n.tag))}return os(e,l,a),bu(),!1}if(P)return t=dt.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,l!==ac&&(e=Error(O(422),{cause:l}),xi(wt(e,n)))):(l!==ac&&(t=Error(O(423),{cause:l}),xi(wt(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,l=wt(l,n),a=vc(e.stateNode,l,a),Jo(e,a),he!==4&&(he=2)),!1;var i=Error(O(520),{cause:l});if(i=wt(i,n),si===null?si=[i]:si.push(i),he!==4&&(he=2),t===null)return!0;l=wt(l,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=vc(n.stateNode,l,e),Jo(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(zn===null||!zn.has(i))))return n.flags|=65536,a&=-a,n.lanes|=a,a=vy(a),yy(a,e,n,l),Jo(n,a),!1}n=n.return}while(n!==null);return!1}var td=Error(O(461)),Ee=!1;function Ne(e,t,n,l){t.child=e===null?Nv(t,null,n,l):yl(t,e.child,n,l)}function bg(e,t,n,l,a){n=n.render;var i=t.ref;if("ref"in l){var r={};for(var u in l)u!=="ref"&&(r[u]=l[u])}else r=l;return vl(t),l=Gf(e,t,n,r,i,a),u=Yf(),e!==null&&!Ee?(Xf(e,t,a),dn(e,t,a)):(P&&u&&Uf(t),t.flags|=1,Ne(e,t,l,a),t.child)}function Eg(e,t,n,l,a){if(e===null){var i=n.type;return typeof i=="function"&&!zf(i)&&i.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=i,Sy(e,t,i,l,a)):(e=zr(n.type,null,l,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!nd(e,a)){var r=i.memoizedProps;if(n=n.compare,n=n!==null?n:yi,n(r,l)&&e.ref===t.ref)return dn(e,t,a)}return t.flags|=1,e=ln(i,l),e.ref=t.ref,e.return=t,t.child=e}function Sy(e,t,n,l,a){if(e!==null){var i=e.memoizedProps;if(yi(i,l)&&e.ref===t.ref)if(Ee=!1,t.pendingProps=l=i,nd(e,a))e.flags&131072&&(Ee=!0);else return t.lanes=e.lanes,dn(e,t,a)}return yc(e,t,n,l,a)}function xy(e,t,n,l){var a=l.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if(t.flags&128){if(i=i!==null?i.baseLanes|n:n,e!==null){for(l=t.child=e.child,a=0;l!==null;)a=a|l.lanes|l.childLanes,l=l.sibling;l=a&~i}else l=0,t.child=null;return Rg(e,t,i,n,l)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ur(t,i!==null?i.cachePool:null),i!==null?dg(t,i):fc(),Uv(t);else return l=t.lanes=536870912,Rg(e,t,i!==null?i.baseLanes|n:n,n,l)}else i!==null?(Ur(t,i.cachePool),dg(t,i),wn(),t.memoizedState=null):(e!==null&&Ur(t,null),fc(),wn());return Ne(e,t,a,n),t.child}function Qa(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Rg(e,t,n,l,a){var i=Hf();return i=i===null?null:{parent:we._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&Ur(t,null),fc(),Uv(t),e!==null&&Ca(e,t,l,!0),t.childLanes=a,null}function Hr(e,t){return t=yu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Cg(e,t,n){return yl(t,e.child,null,n),e=Hr(t,t.pendingProps),e.flags|=2,tt(t),t.memoizedState=null,e}function wO(e,t,n){var l=t.pendingProps,a=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(P){if(l.mode==="hidden")return e=Hr(t,l),t.lanes=536870912,Qa(null,e);if(dc(t),(e=fe)?(e=d1(e,bt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$n!==null?{id:Bt,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},n=Cv(e),n.return=t,t.child=n,ze=t,fe=null)):e=null,e===null)throw qn(t);return t.lanes=536870912,null}return Hr(t,l)}var i=e.memoizedState;if(i!==null){var r=i.dehydrated;if(dc(t),a)if(t.flags&256)t.flags&=-257,t=Cg(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(O(558));else if(Ee||Ca(e,t,n,!1),a=(n&e.childLanes)!==0,Ee||a){if(l=ue,l!==null&&(r=I0(l,n),r!==0&&r!==i.retryLane))throw i.retryLane=r,Cl(e,r),ke(l,e,r),td;bu(),t=Cg(e,t,n)}else e=i.treeContext,fe=Rt(r.nextSibling),ze=t,P=!0,Mn=null,bt=!1,e!==null&&Ov(t,e),t=Hr(t,l),t.flags|=4096;return t}return e=ln(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Lr(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(O(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,l,a){return vl(t),n=Gf(e,t,n,l,void 0,a),l=Yf(),e!==null&&!Ee?(Xf(e,t,a),dn(e,t,a)):(P&&l&&Uf(t),t.flags|=1,Ne(e,t,n,a),t.child)}function Ag(e,t,n,l,a,i){return vl(t),t.updateQueue=null,n=Fv(t,l,n,a),Bv(e),l=Yf(),e!==null&&!Ee?(Xf(e,t,i),dn(e,t,i)):(P&&l&&Uf(t),t.flags|=1,Ne(e,t,n,i),t.child)}function Og(e,t,n,l,a){if(vl(t),t.stateNode===null){var i=Zl,r=n.contextType;typeof r=="object"&&r!==null&&(i=Ue(r)),i=new n(l,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=hc,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},Vf(t),r=n.contextType,i.context=typeof r=="object"&&r!==null?Ue(r):Zl,i.state=t.memoizedState,r=n.getDerivedStateFromProps,typeof r=="function"&&(Io(t,n,r,l),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(r=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),r!==i.state&&hc.enqueueReplaceState(i,i.state,null),ii(t,l,i,a),ai(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var u=t.memoizedProps,o=xl(n,u);i.props=o;var s=i.context,c=n.contextType;r=Zl,typeof c=="object"&&c!==null&&(r=Ue(c));var f=n.getDerivedStateFromProps;c=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function",u=t.pendingProps!==u,c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u||s!==r)&&xg(t,i,l,r),yn=!1;var p=t.memoizedState;i.state=p,ii(t,l,i,a),ai(),s=t.memoizedState,u||p!==s||yn?(typeof f=="function"&&(Io(t,n,f,l),s=t.memoizedState),(o=yn||Sg(t,n,o,l,p,s,r))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=s),i.props=l,i.state=s,i.context=r,l=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{i=t.stateNode,sc(e,t),r=t.memoizedProps,c=xl(n,r),i.props=c,f=t.pendingProps,p=i.context,s=n.contextType,o=Zl,typeof s=="object"&&s!==null&&(o=Ue(s)),u=n.getDerivedStateFromProps,(s=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(r!==f||p!==o)&&xg(t,i,l,o),yn=!1,p=t.memoizedState,i.state=p,ii(t,l,i,a),ai();var d=t.memoizedState;r!==f||p!==d||yn||e!==null&&e.dependencies!==null&&fu(e.dependencies)?(typeof u=="function"&&(Io(t,n,u,l),d=t.memoizedState),(c=yn||Sg(t,n,c,l,p,d,o)||e!==null&&e.dependencies!==null&&fu(e.dependencies))?(s||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,d,o),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,d,o)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||r===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=d),i.props=l,i.state=d,i.context=o,l=c):(typeof i.componentDidUpdate!="function"||r===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Lr(e,t),l=(t.flags&128)!==0,i||l?(i=t.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&l?(t.child=yl(t,e.child,null,a),t.child=yl(t,null,n,a)):Ne(e,t,n,a),t.memoizedState=i.state,e=t.child):e=dn(e,t,a),e}function _g(e,t,n,l){return hl(),t.flags|=256,Ne(e,t,n,l),t.child}var Wo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Po(e){return{baseLanes:e,cachePool:Tv()}}function es(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=at),e}function wy(e,t,n){var l=t.pendingProps,a=!1,i=(t.flags&128)!==0,r;if((r=i)||(r=e!==null&&e.memoizedState===null?!1:(ve.current&2)!==0),r&&(a=!0,t.flags&=-129),r=(t.flags&32)!==0,t.flags&=-33,e===null){if(P){if(a?xn(t):wn(),(e=fe)?(e=d1(e,bt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$n!==null?{id:Bt,overflow:Ft}:null,retryLane:536870912,hydrationErrors:null},n=Cv(e),n.return=t,t.child=n,ze=t,fe=null)):e=null,e===null)throw qn(t);return Nc(e)?t.lanes=32:t.lanes=536870912,null}var u=l.children;return l=l.fallback,a?(wn(),a=t.mode,u=yu({mode:"hidden",children:u},a),l=cl(l,a,n,null),u.return=t,l.return=t,u.sibling=l,t.child=u,l=t.child,l.memoizedState=Po(n),l.childLanes=es(e,r,n),t.memoizedState=Wo,Qa(null,l)):(xn(t),Sc(t,u))}var o=e.memoizedState;if(o!==null&&(u=o.dehydrated,u!==null)){if(i)t.flags&256?(xn(t),t.flags&=-257,t=ts(e,t,n)):t.memoizedState!==null?(wn(),t.child=e.child,t.flags|=128,t=null):(wn(),u=l.fallback,a=t.mode,l=yu({mode:"visible",children:l.children},a),u=cl(u,a,n,null),u.flags|=2,l.return=t,u.return=t,l.sibling=u,t.child=l,yl(t,e.child,null,n),l=t.child,l.memoizedState=Po(n),l.childLanes=es(e,r,n),t.memoizedState=Wo,t=Qa(null,l));else if(xn(t),Nc(u)){if(r=u.nextSibling&&u.nextSibling.dataset,r)var s=r.dgst;r=s,l=Error(O(419)),l.stack="",l.digest=r,xi({value:l,source:null,stack:null}),t=ts(e,t,n)}else if(Ee||Ca(e,t,n,!1),r=(n&e.childLanes)!==0,Ee||r){if(r=ue,r!==null&&(l=I0(r,n),l!==0&&l!==o.retryLane))throw o.retryLane=l,Cl(e,l),ke(r,e,l),td;Mc(u)||bu(),t=ts(e,t,n)}else Mc(u)?(t.flags|=192,t.child=e.child,t=null):(e=o.treeContext,fe=Rt(u.nextSibling),ze=t,P=!0,Mn=null,bt=!1,e!==null&&Ov(t,e),t=Sc(t,l.children),t.flags|=4096);return t}return a?(wn(),u=l.fallback,a=t.mode,o=e.child,s=o.sibling,l=ln(o,{mode:"hidden",children:l.children}),l.subtreeFlags=o.subtreeFlags&65011712,s!==null?u=ln(s,u):(u=cl(u,a,n,null),u.flags|=2),u.return=t,l.return=t,l.sibling=u,t.child=l,Qa(null,l),l=t.child,u=e.child.memoizedState,u===null?u=Po(n):(a=u.cachePool,a!==null?(o=we._currentValue,a=a.parent!==o?{parent:o,pool:o}:a):a=Tv(),u={baseLanes:u.baseLanes|n,cachePool:a}),l.memoizedState=u,l.childLanes=es(e,r,n),t.memoizedState=Wo,Qa(e.child,l)):(xn(t),n=e.child,e=n.sibling,n=ln(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Sc(e,t){return t=yu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function yu(e,t){return e=lt(22,e,null,t),e.lanes=0,e}function ts(e,t,n){return yl(t,e.child,null,n),e=Sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Tg(e,t,n){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),rc(e.return,t,n)}function ns(e,t,n,l,a,i){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:a,treeForkCount:i}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=l,r.tail=n,r.tailMode=a,r.treeForkCount=i)}function by(e,t,n){var l=t.pendingProps,a=l.revealOrder,i=l.tail;l=l.children;var r=ve.current,u=(r&2)!==0;if(u?(r=r&1|2,t.flags|=128):r&=1,oe(ve,r),Ne(e,t,l,n),l=P?Si:0,!u&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Tg(e,n,t);else if(e.tag===19)Tg(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&gu(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),ns(t,!1,a,n,i,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&gu(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}ns(t,!0,n,null,i,l);break;case"together":ns(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function dn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yn|=t.lanes,!(n&t.childLanes))if(e!==null){if(Ca(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=ln(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ln(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function nd(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&fu(e)))}function bO(e,t,n){switch(t.tag){case 3:au(t,t.stateNode.containerInfo),Sn(t,we,e.memoizedState.cache),hl();break;case 27:case 5:Zs(t);break;case 4:au(t,t.stateNode.containerInfo);break;case 10:Sn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,dc(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(xn(t),t.flags|=128,null):n&t.child.childLanes?wy(e,t,n):(xn(t),e=dn(e,t,n),e!==null?e.sibling:null);xn(t);break;case 19:var a=(e.flags&128)!==0;if(l=(n&t.childLanes)!==0,l||(Ca(e,t,n,!1),l=(n&t.childLanes)!==0),a){if(l)return by(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),oe(ve,ve.current),l)break;return null;case 22:return t.lanes=0,xy(e,t,n,t.pendingProps);case 24:Sn(t,we,e.memoizedState.cache)}return dn(e,t,n)}function Ey(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ee=!0;else{if(!nd(e,n)&&!(t.flags&128))return Ee=!1,bO(e,t,n);Ee=!!(e.flags&131072)}else Ee=!1,P&&t.flags&1048576&&Av(t,Si,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=tl(t.elementType),t.type=e,typeof e=="function")zf(e)?(l=xl(e,l),t.tag=1,t=Og(null,t,e,l,n)):(t.tag=0,t=yc(null,t,e,l,n));else{if(e!=null){var a=e.$$typeof;if(a===xf){t.tag=11,t=bg(null,t,e,l,n);break e}else if(a===wf){t.tag=14,t=Eg(null,t,e,l,n);break e}}throw t=Xs(e)||e,Error(O(306,t,""))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return l=t.type,a=xl(l,t.pendingProps),Og(e,t,l,a,n);case 3:e:{if(au(t,t.stateNode.containerInfo),e===null)throw Error(O(387));l=t.pendingProps;var i=t.memoizedState;a=i.element,sc(e,t),ii(t,l,null,n);var r=t.memoizedState;if(l=r.cache,Sn(t,we,l),l!==i.cache&&uc(t,[we],n,!0),ai(),l=r.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:r.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=_g(e,t,l,n);break e}else if(l!==a){a=wt(Error(O(424)),t),xi(a),t=_g(e,t,l,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(fe=Rt(e.firstChild),ze=t,P=!0,Mn=null,bt=!0,n=Nv(t,null,l,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(hl(),l===a){t=dn(e,t,n);break e}Ne(e,t,l,n)}t=t.child}return t;case 26:return Lr(e,t),e===null?(n=Jg(t.type,null,t.pendingProps,null))?t.memoizedState=n:P||(n=t.type,e=t.pendingProps,l=Au(Dn.current).createElement(n),l[je]=t,l[Ie]=e,Be(l,n,e),_e(l),t.stateNode=l):t.memoizedState=Jg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Zs(t),e===null&&P&&(l=t.stateNode=p1(t.type,t.pendingProps,Dn.current),ze=t,bt=!0,a=fe,Zn(t.type)?(jc=a,fe=Rt(l.firstChild)):fe=a),Ne(e,t,t.pendingProps.children,n),Lr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&P&&((a=l=fe)&&(l=WO(l,t.type,t.pendingProps,bt),l!==null?(t.stateNode=l,ze=t,fe=Rt(l.firstChild),bt=!1,a=!0):a=!1),a||qn(t)),Zs(t),a=t.type,i=t.pendingProps,r=e!==null?e.memoizedProps:null,l=i.children,Tc(a,i)?l=null:r!==null&&Tc(a,r)&&(t.flags|=32),t.memoizedState!==null&&(a=Gf(e,t,pO,null,null,n),Ai._currentValue=a),Lr(e,t),Ne(e,t,l,n),t.child;case 6:return e===null&&P&&((e=n=fe)&&(n=PO(n,t.pendingProps,bt),n!==null?(t.stateNode=n,ze=t,fe=null,e=!0):e=!1),e||qn(t)),null;case 13:return wy(e,t,n);case 4:return au(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=yl(t,null,l,n):Ne(e,t,l,n),t.child;case 11:return bg(e,t,t.type,t.pendingProps,n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:return Ne(e,t,t.pendingProps.children,n),t.child;case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:return l=t.pendingProps,Sn(t,t.type,l.value),Ne(e,t,l.children,n),t.child;case 9:return a=t.type._context,l=t.pendingProps.children,vl(t),a=Ue(a),l=l(a),t.flags|=1,Ne(e,t,l,n),t.child;case 14:return Eg(e,t,t.type,t.pendingProps,n);case 15:return Sy(e,t,t.type,t.pendingProps,n);case 19:return by(e,t,n);case 31:return wO(e,t,n);case 22:return xy(e,t,n,t.pendingProps);case 24:return vl(t),l=Ue(we),e===null?(a=Hf(),a===null&&(a=ue,i=Ff(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=n),a=i),t.memoizedState={parent:l,cache:a},Vf(t),Sn(t,we,a)):(e.lanes&n&&(sc(e,t),ii(t,null,null,n),ai()),a=e.memoizedState,i=t.memoizedState,a.parent!==l?(a={parent:l,cache:l},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Sn(t,we,l)):(l=i.cache,Sn(t,we,l),l!==a.cache&&uc(t,[we],n,!0))),Ne(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(O(156,t.tag))}function Qt(e){e.flags|=4}function ls(e,t,n,l,a){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(a&335544128)===a)if(e.stateNode.complete)e.flags|=8192;else if(Zy())e.flags|=8192;else throw dl=du,Lf}else e.flags&=-16777217}function Dg(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!h1(t))if(Zy())e.flags|=8192;else throw dl=du,Lf}function Sr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?K0():536870912,e.lanes|=t,va|=t)}function Ha(e,t){if(!P)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,l=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,l|=a.subtreeFlags&65011712,l|=a.flags&65011712,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,l|=a.subtreeFlags,l|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=l,e.childLanes=n,t}function EO(e,t,n){var l=t.pendingProps;switch(Bf(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ce(t),null;case 1:return ce(t),null;case 3:return n=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),an(we),fa(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Tl(t)?Qt(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ko())),ce(t),null;case 26:var a=t.type,i=t.memoizedState;return e===null?(Qt(t),i!==null?(ce(t),Dg(t,i)):(ce(t),ls(t,a,null,l,n))):i?i!==e.memoizedState?(Qt(t),ce(t),Dg(t,i)):(ce(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&Qt(t),ce(t),ls(t,a,e,l,n)),null;case 27:if(iu(t),n=Dn.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Qt(t);else{if(!l){if(t.stateNode===null)throw Error(O(166));return ce(t),null}e=$t.current,Tl(t)?ig(t):(e=p1(a,l,n),t.stateNode=e,Qt(t))}return ce(t),null;case 5:if(iu(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Qt(t);else{if(!l){if(t.stateNode===null)throw Error(O(166));return ce(t),null}if(i=$t.current,Tl(t))ig(t);else{var r=Au(Dn.current);switch(i){case 1:i=r.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=r.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=r.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=r.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof l.is=="string"?r.createElement("select",{is:l.is}):r.createElement("select"),l.multiple?i.multiple=!0:l.size&&(i.size=l.size);break;default:i=typeof l.is=="string"?r.createElement(a,{is:l.is}):r.createElement(a)}}i[je]=t,i[Ie]=l;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)i.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=i;e:switch(Be(i,a,l),a){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Qt(t)}}return ce(t),ls(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Qt(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(O(166));if(e=Dn.current,Tl(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,a=ze,a!==null)switch(a.tag){case 27:case 5:l=a.memoizedProps}e[je]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||s1(e.nodeValue,n)),e||qn(t,!0)}else e=Au(e).createTextNode(l),e[je]=t,t.stateNode=e}return ce(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(l=Tl(t),n!==null){if(e===null){if(!l)throw Error(O(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(557));e[je]=t}else hl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ce(t),e=!1}else n=Ko(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(tt(t),t):(tt(t),null);if(t.flags&128)throw Error(O(558))}return ce(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Tl(t),l!==null&&l.dehydrated!==null){if(e===null){if(!a)throw Error(O(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(O(317));a[je]=t}else hl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ce(t),a=!1}else a=Ko(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(tt(t),t):(tt(t),null)}return tt(t),t.flags&128?(t.lanes=n,t):(n=l!==null,e=e!==null&&e.memoizedState!==null,n&&(l=t.child,a=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(a=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==a&&(l.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Sr(t,t.updateQueue),ce(t),null);case 4:return fa(),e===null&&sd(t.stateNode.containerInfo),ce(t),null;case 10:return an(t.type),ce(t),null;case 19:if(Te(ve),l=t.memoizedState,l===null)return ce(t),null;if(a=(t.flags&128)!==0,i=l.rendering,i===null)if(a)Ha(l,!1);else{if(he!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=gu(e),i!==null){for(t.flags|=128,Ha(l,!1),e=i.updateQueue,t.updateQueue=e,Sr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Rv(n,e),n=n.sibling;return oe(ve,ve.current&1|2),P&&It(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&it()>xu&&(t.flags|=128,a=!0,Ha(l,!1),t.lanes=4194304)}else{if(!a)if(e=gu(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Sr(t,e),Ha(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!P)return ce(t),null}else 2*it()-l.renderingStartTime>xu&&n!==536870912&&(t.flags|=128,a=!0,Ha(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=it(),e.sibling=null,n=ve.current,oe(ve,a?n&1|2:n&1),P&&It(t,l.treeForkCount),e):(ce(t),null);case 22:case 23:return tt(t),$f(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?n&536870912&&!(t.flags&128)&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),n=t.updateQueue,n!==null&&Sr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&Te(fl),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),an(we),ce(t),null;case 25:return null;case 30:return null}throw Error(O(156,t.tag))}function RO(e,t){switch(Bf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return an(we),fa(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return iu(t),null;case 31:if(t.memoizedState!==null){if(tt(t),t.alternate===null)throw Error(O(340));hl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(tt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));hl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Te(ve),null;case 4:return fa(),null;case 10:return an(t.type),null;case 22:case 23:return tt(t),$f(),e!==null&&Te(fl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return an(we),null;case 25:return null;default:return null}}function Ry(e,t){switch(Bf(t),t.tag){case 3:an(we),fa();break;case 26:case 27:case 5:iu(t);break;case 4:fa();break;case 31:t.memoizedState!==null&&tt(t);break;case 13:tt(t);break;case 19:Te(ve);break;case 10:an(t.type);break;case 22:case 23:tt(t),$f(),e!==null&&Te(fl);break;case 24:an(we)}}function Ki(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var a=l.next;n=a;do{if((n.tag&e)===e){l=void 0;var i=n.create,r=n.inst;l=i(),r.destroy=l}n=n.next}while(n!==a)}}catch(u){le(t,t.return,u)}}function Gn(e,t,n){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){var r=l.inst,u=r.destroy;if(u!==void 0){r.destroy=void 0,a=t;var o=n,s=u;try{s()}catch(c){le(a,o,c)}}}l=l.next}while(l!==i)}}catch(c){le(t,t.return,c)}}function Cy(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{zv(t,n)}catch(l){le(e,e.return,l)}}}function Ay(e,t,n){n.props=xl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(l){le(e,t,l)}}function ui(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof n=="function"?e.refCleanup=n(l):n.current=l}}catch(a){le(e,t,a)}}function Ht(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(a){le(e,t,a)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(a){le(e,t,a)}else n.current=null}function Oy(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(a){le(e,e.return,a)}}function as(e,t,n){try{var l=e.stateNode;QO(l,e.type,n,t),l[Ie]=t}catch(a){le(e,e.return,a)}}function _y(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zn(e.type)||e.tag===4}function is(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_y(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xc(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=tn));else if(l!==4&&(l===27&&Zn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(xc(e,t,n),e=e.sibling;e!==null;)xc(e,t,n),e=e.sibling}function Su(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&(l===27&&Zn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}function Ty(e){var t=e.stateNode,n=e.memoizedProps;try{for(var l=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);Be(t,l,n),t[je]=e,t[Ie]=n}catch(i){le(e,e.return,i)}}var Wt=!1,xe=!1,rs=!1,Mg=typeof WeakSet=="function"?WeakSet:Set,Oe=null;function CO(e,t){if(e=e.containerInfo,Oc=Du,e=hv(e),Mf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var a=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var r=0,u=-1,o=-1,s=0,c=0,f=e,p=null;t:for(;;){for(var d;f!==n||a!==0&&f.nodeType!==3||(u=r+a),f!==i||l!==0&&f.nodeType!==3||(o=r+l),f.nodeType===3&&(r+=f.nodeValue.length),(d=f.firstChild)!==null;)p=f,f=d;for(;;){if(f===e)break t;if(p===n&&++s===a&&(u=r),p===i&&++c===l&&(o=r),(d=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=d}n=u===-1||o===-1?null:{start:u,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(_c={focusedElem:e,selectionRange:n},Du=!1,Oe=t;Oe!==null;)if(t=Oe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Oe=e;else for(;Oe!==null;){switch(t=Oe,i=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&i!==null){e=void 0,n=t,a=i.memoizedProps,i=i.memoizedState,l=n.stateNode;try{var m=xl(n.type,a);e=l.getSnapshotBeforeUpdate(m,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(S){le(n,n.return,S)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Dc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Dc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(O(163))}if(e=t.sibling,e!==null){e.return=t.return,Oe=e;break}Oe=t.return}}function Dy(e,t,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Kt(e,n),l&4&&Ki(5,n);break;case 1:if(Kt(e,n),l&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(r){le(n,n.return,r)}else{var a=xl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(r){le(n,n.return,r)}}l&64&&Cy(n),l&512&&ui(n,n.return);break;case 3:if(Kt(e,n),l&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{zv(e,t)}catch(r){le(n,n.return,r)}}break;case 27:t===null&&l&4&&Ty(n);case 26:case 5:Kt(e,n),t===null&&l&4&&Oy(n),l&512&&ui(n,n.return);break;case 12:Kt(e,n);break;case 31:Kt(e,n),l&4&&jy(e,n);break;case 13:Kt(e,n),l&4&&zy(e,n),l&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=zO.bind(null,n),e_(e,n))));break;case 22:if(l=n.memoizedState!==null||Wt,!l){t=t!==null&&t.memoizedState!==null||xe,a=Wt;var i=xe;Wt=l,(xe=t)&&!i?Jt(e,n,(n.subtreeFlags&8772)!==0):Kt(e,n),Wt=a,xe=i}break;case 30:break;default:Kt(e,n)}}function My(e){var t=e.alternate;t!==null&&(e.alternate=null,My(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Cf(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var pe=null,Ge=!1;function Zt(e,t,n){for(n=n.child;n!==null;)Ny(e,t,n),n=n.sibling}function Ny(e,t,n){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount($i,n)}catch{}switch(n.tag){case 26:xe||Ht(n,t),Zt(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:xe||Ht(n,t);var l=pe,a=Ge;Zn(n.type)&&(pe=n.stateNode,Ge=!1),Zt(e,t,n),fi(n.stateNode),pe=l,Ge=a;break;case 5:xe||Ht(n,t);case 6:if(l=pe,a=Ge,pe=null,Zt(e,t,n),pe=l,Ge=a,pe!==null)if(Ge)try{(pe.nodeType===9?pe.body:pe.nodeName==="HTML"?pe.ownerDocument.body:pe).removeChild(n.stateNode)}catch(i){le(n,t,i)}else try{pe.removeChild(n.stateNode)}catch(i){le(n,t,i)}break;case 18:pe!==null&&(Ge?(e=pe,Yg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),wa(e)):Yg(pe,n.stateNode));break;case 4:l=pe,a=Ge,pe=n.stateNode.containerInfo,Ge=!0,Zt(e,t,n),pe=l,Ge=a;break;case 0:case 11:case 14:case 15:Gn(2,n,t),xe||Gn(4,n,t),Zt(e,t,n);break;case 1:xe||(Ht(n,t),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Ay(n,t,l)),Zt(e,t,n);break;case 21:Zt(e,t,n);break;case 22:xe=(l=xe)||n.memoizedState!==null,Zt(e,t,n),xe=l;break;default:Zt(e,t,n)}}function jy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{wa(e)}catch(n){le(t,t.return,n)}}}function zy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{wa(e)}catch(n){le(t,t.return,n)}}function AO(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Mg),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Mg),t;default:throw Error(O(435,e.tag))}}function xr(e,t){var n=AO(e);t.forEach(function(l){if(!n.has(l)){n.add(l);var a=UO.bind(null,e,l);l.then(a,a)}})}function $e(e,t){var n=t.deletions;if(n!==null)for(var l=0;l<n.length;l++){var a=n[l],i=e,r=t,u=r;e:for(;u!==null;){switch(u.tag){case 27:if(Zn(u.type)){pe=u.stateNode,Ge=!1;break e}break;case 5:pe=u.stateNode,Ge=!1;break e;case 3:case 4:pe=u.stateNode.containerInfo,Ge=!0;break e}u=u.return}if(pe===null)throw Error(O(160));Ny(i,r,a),pe=null,Ge=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Uy(t,e),t=t.sibling}var Tt=null;function Uy(e,t){var n=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:$e(t,e),qe(e),l&4&&(Gn(3,e,e.return),Ki(3,e),Gn(5,e,e.return));break;case 1:$e(t,e),qe(e),l&512&&(xe||n===null||Ht(n,n.return)),l&64&&Wt&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var a=Tt;if($e(t,e),qe(e),l&512&&(xe||n===null||Ht(n,n.return)),l&4){var i=n!==null?n.memoizedState:null;if(l=e.memoizedState,n===null)if(l===null)if(e.stateNode===null){e:{l=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(l){case"title":i=a.getElementsByTagName("title")[0],(!i||i[Yi]||i[je]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(l),a.head.insertBefore(i,a.querySelector("head > title"))),Be(i,l,n),i[je]=e,_e(i),l=i;break e;case"link":var r=Ig("link","href",a).get(l+(n.href||""));if(r){for(var u=0;u<r.length;u++)if(i=r[u],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){r.splice(u,1);break t}}i=a.createElement(l),Be(i,l,n),a.head.appendChild(i);break;case"meta":if(r=Ig("meta","content",a).get(l+(n.content||""))){for(u=0;u<r.length;u++)if(i=r[u],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){r.splice(u,1);break t}}i=a.createElement(l),Be(i,l,n),a.head.appendChild(i);break;default:throw Error(O(468,l))}i[je]=e,_e(i),l=i}e.stateNode=l}else Wg(a,e.type,e.stateNode);else e.stateNode=kg(a,l,e.memoizedProps);else i!==l?(i===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):i.count--,l===null?Wg(a,e.type,e.stateNode):kg(a,l,e.memoizedProps)):l===null&&e.stateNode!==null&&as(e,e.memoizedProps,n.memoizedProps)}break;case 27:$e(t,e),qe(e),l&512&&(xe||n===null||Ht(n,n.return)),n!==null&&l&4&&as(e,e.memoizedProps,n.memoizedProps);break;case 5:if($e(t,e),qe(e),l&512&&(xe||n===null||Ht(n,n.return)),e.flags&32){a=e.stateNode;try{pa(a,"")}catch(m){le(e,e.return,m)}}l&4&&e.stateNode!=null&&(a=e.memoizedProps,as(e,a,n!==null?n.memoizedProps:a)),l&1024&&(rs=!0);break;case 6:if($e(t,e),qe(e),l&4){if(e.stateNode===null)throw Error(O(162));l=e.memoizedProps,n=e.stateNode;try{n.nodeValue=l}catch(m){le(e,e.return,m)}}break;case 3:if(qr=null,a=Tt,Tt=Ou(t.containerInfo),$e(t,e),Tt=a,qe(e),l&4&&n!==null&&n.memoizedState.isDehydrated)try{wa(t.containerInfo)}catch(m){le(e,e.return,m)}rs&&(rs=!1,By(e));break;case 4:l=Tt,Tt=Ou(e.stateNode.containerInfo),$e(t,e),qe(e),Tt=l;break;case 12:$e(t,e),qe(e);break;case 31:$e(t,e),qe(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,xr(e,l)));break;case 13:$e(t,e),qe(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(so=it()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,xr(e,l)));break;case 22:a=e.memoizedState!==null;var o=n!==null&&n.memoizedState!==null,s=Wt,c=xe;if(Wt=s||a,xe=c||o,$e(t,e),xe=c,Wt=s,qe(e),l&8192)e:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||o||Wt||xe||nl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){o=n=t;try{if(i=o.stateNode,a)r=i.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{u=o.stateNode;var f=o.memoizedProps.style,p=f!=null&&f.hasOwnProperty("display")?f.display:null;u.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(m){le(o,o.return,m)}}}else if(t.tag===6){if(n===null){o=t;try{o.stateNode.nodeValue=a?"":o.memoizedProps}catch(m){le(o,o.return,m)}}}else if(t.tag===18){if(n===null){o=t;try{var d=o.stateNode;a?Xg(d,!0):Xg(o.stateNode,!1)}catch(m){le(o,o.return,m)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,xr(e,n))));break;case 19:$e(t,e),qe(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,xr(e,l)));break;case 30:break;case 21:break;default:$e(t,e),qe(e)}}function qe(e){var t=e.flags;if(t&2){try{for(var n,l=e.return;l!==null;){if(_y(l)){n=l;break}l=l.return}if(n==null)throw Error(O(160));switch(n.tag){case 27:var a=n.stateNode,i=is(e);Su(e,i,a);break;case 5:var r=n.stateNode;n.flags&32&&(pa(r,""),n.flags&=-33);var u=is(e);Su(e,u,r);break;case 3:case 4:var o=n.stateNode.containerInfo,s=is(e);xc(e,s,o);break;default:throw Error(O(161))}}catch(c){le(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function By(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;By(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Kt(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Dy(e,t.alternate,t),t=t.sibling}function nl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gn(4,t,t.return),nl(t);break;case 1:Ht(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Ay(t,t.return,n),nl(t);break;case 27:fi(t.stateNode);case 26:case 5:Ht(t,t.return),nl(t);break;case 22:t.memoizedState===null&&nl(t);break;case 30:nl(t);break;default:nl(t)}e=e.sibling}}function Jt(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,a=e,i=t,r=i.flags;switch(i.tag){case 0:case 11:case 15:Jt(a,i,n),Ki(4,i);break;case 1:if(Jt(a,i,n),l=i,a=l.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(s){le(l,l.return,s)}if(l=i,a=l.updateQueue,a!==null){var u=l.stateNode;try{var o=a.shared.hiddenCallbacks;if(o!==null)for(a.shared.hiddenCallbacks=null,a=0;a<o.length;a++)jv(o[a],u)}catch(s){le(l,l.return,s)}}n&&r&64&&Cy(i),ui(i,i.return);break;case 27:Ty(i);case 26:case 5:Jt(a,i,n),n&&l===null&&r&4&&Oy(i),ui(i,i.return);break;case 12:Jt(a,i,n);break;case 31:Jt(a,i,n),n&&r&4&&jy(a,i);break;case 13:Jt(a,i,n),n&&r&4&&zy(a,i);break;case 22:i.memoizedState===null&&Jt(a,i,n),ui(i,i.return);break;case 30:break;default:Jt(a,i,n)}t=t.sibling}}function ld(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Qi(n))}function ad(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qi(e))}function _t(e,t,n,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Fy(e,t,n,l),t=t.sibling}function Fy(e,t,n,l){var a=t.flags;switch(t.tag){case 0:case 11:case 15:_t(e,t,n,l),a&2048&&Ki(9,t);break;case 1:_t(e,t,n,l);break;case 3:_t(e,t,n,l),a&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qi(e)));break;case 12:if(a&2048){_t(e,t,n,l),e=t.stateNode;try{var i=t.memoizedProps,r=i.id,u=i.onPostCommit;typeof u=="function"&&u(r,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(o){le(t,t.return,o)}}else _t(e,t,n,l);break;case 31:_t(e,t,n,l);break;case 13:_t(e,t,n,l);break;case 23:break;case 22:i=t.stateNode,r=t.alternate,t.memoizedState!==null?i._visibility&2?_t(e,t,n,l):oi(e,t):i._visibility&2?_t(e,t,n,l):(i._visibility|=2,Nl(e,t,n,l,(t.subtreeFlags&10256)!==0||!1)),a&2048&&ld(r,t);break;case 24:_t(e,t,n,l),a&2048&&ad(t.alternate,t);break;default:_t(e,t,n,l)}}function Nl(e,t,n,l,a){for(a=a&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,r=t,u=n,o=l,s=r.flags;switch(r.tag){case 0:case 11:case 15:Nl(i,r,u,o,a),Ki(8,r);break;case 23:break;case 22:var c=r.stateNode;r.memoizedState!==null?c._visibility&2?Nl(i,r,u,o,a):oi(i,r):(c._visibility|=2,Nl(i,r,u,o,a)),a&&s&2048&&ld(r.alternate,r);break;case 24:Nl(i,r,u,o,a),a&&s&2048&&ad(r.alternate,r);break;default:Nl(i,r,u,o,a)}t=t.sibling}}function oi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,l=t,a=l.flags;switch(l.tag){case 22:oi(n,l),a&2048&&ld(l.alternate,l);break;case 24:oi(n,l),a&2048&&ad(l.alternate,l);break;default:oi(n,l)}t=t.sibling}}var Za=8192;function Dl(e,t,n){if(e.subtreeFlags&Za)for(e=e.child;e!==null;)Hy(e,t,n),e=e.sibling}function Hy(e,t,n){switch(e.tag){case 26:Dl(e,t,n),e.flags&Za&&e.memoizedState!==null&&d_(n,Tt,e.memoizedState,e.memoizedProps);break;case 5:Dl(e,t,n);break;case 3:case 4:var l=Tt;Tt=Ou(e.stateNode.containerInfo),Dl(e,t,n),Tt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Za,Za=16777216,Dl(e,t,n),Za=l):Dl(e,t,n));break;default:Dl(e,t,n)}}function Ly(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function La(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Oe=l,$y(l,e)}Ly(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Vy(e),e=e.sibling}function Vy(e){switch(e.tag){case 0:case 11:case 15:La(e),e.flags&2048&&Gn(9,e,e.return);break;case 3:La(e);break;case 12:La(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Vr(e)):La(e);break;default:La(e)}}function Vr(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var l=t[n];Oe=l,$y(l,e)}Ly(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gn(8,t,t.return),Vr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Vr(t));break;default:Vr(t)}e=e.sibling}}function $y(e,t){for(;Oe!==null;){var n=Oe;switch(n.tag){case 0:case 11:case 15:Gn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Qi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Oe=l;else e:for(n=e;Oe!==null;){l=Oe;var a=l.sibling,i=l.return;if(My(l),l===n){Oe=null;break e}if(a!==null){a.return=i,Oe=a;break e}Oe=i}}}var OO={getCacheForType:function(e){var t=Ue(we),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ue(we).controller.signal}},_O=typeof WeakMap=="function"?WeakMap:Map,ee=0,ue=null,k=null,W=0,ne=0,et=null,On=!1,Oa=!1,id=!1,pn=0,he=0,Yn=0,pl=0,rd=0,at=0,va=0,si=null,Xe=null,wc=!1,so=0,qy=0,xu=1/0,wu=null,zn=null,Ce=0,Un=null,ya=null,rn=0,bc=0,Ec=null,Gy=null,ci=0,Rc=null;function ot(){return ee&2&&W!==0?W&-W:q.T!==null?od():W0()}function Yy(){if(at===0)if(!(W&536870912)||P){var e=dr;dr<<=1,!(dr&3932160)&&(dr=262144),at=e}else at=536870912;return e=dt.current,e!==null&&(e.flags|=32),at}function ke(e,t,n){(e===ue&&(ne===2||ne===9)||e.cancelPendingCommit!==null)&&(Sa(e,0),_n(e,W,at,!1)),Gi(e,n),(!(ee&2)||e!==ue)&&(e===ue&&(!(ee&2)&&(pl|=n),he===4&&_n(e,W,at,!1)),Yt(e))}function Xy(e,t,n){if(ee&6)throw Error(O(327));var l=!n&&(t&127)===0&&(t&e.expiredLanes)===0||qi(e,t),a=l?MO(e,t):us(e,t,!0),i=l;do{if(a===0){Oa&&!l&&_n(e,t,0,!1);break}else{if(n=e.current.alternate,i&&!TO(n)){a=us(e,t,!1),i=!1;continue}if(a===2){if(i=t,e.errorRecoveryDisabledLanes&i)var r=0;else r=e.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){t=r;e:{var u=e;a=si;var o=u.current.memoizedState.isDehydrated;if(o&&(Sa(u,r).flags|=256),r=us(u,r,!1),r!==2){if(id&&!o){u.errorRecoveryDisabledLanes|=i,pl|=i,a=4;break e}i=Xe,Xe=a,i!==null&&(Xe===null?Xe=i:Xe.push.apply(Xe,i))}a=r}if(i=!1,a!==2)continue}}if(a===1){Sa(e,0),_n(e,t,0,!0);break}e:{switch(l=e,i=a,i){case 0:case 1:throw Error(O(345));case 4:if((t&4194048)!==t)break;case 6:_n(l,t,at,!On);break e;case 2:Xe=null;break;case 3:case 5:break;default:throw Error(O(329))}if((t&62914560)===t&&(a=so+300-it(),10<a)){if(_n(l,t,at,!On),Wu(l,0,!0)!==0)break e;rn=t,l.timeoutHandle=f1(Ng.bind(null,l,n,Xe,wu,wc,t,at,pl,va,On,i,"Throttled",-0,0),a);break e}Ng(l,n,Xe,wu,wc,t,at,pl,va,On,i,null,-0,0)}}break}while(!0);Yt(e)}function Ng(e,t,n,l,a,i,r,u,o,s,c,f,p,d){if(e.timeoutHandle=-1,f=t.subtreeFlags,f&8192||(f&16785408)===16785408){f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tn},Hy(t,i,f);var m=(i&62914560)===i?so-it():(i&4194048)===i?qy-it():0;if(m=p_(f,m),m!==null){rn=i,e.cancelPendingCommit=m(zg.bind(null,e,t,i,n,l,a,r,u,o,c,f,null,p,d)),_n(e,i,r,!s);return}}zg(e,t,i,n,l,a,r,u,o)}function TO(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var a=n[l],i=a.getSnapshot;a=a.value;try{if(!ft(i(),a))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function _n(e,t,n,l){t&=~rd,t&=~pl,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var a=t;0<a;){var i=31-ut(a),r=1<<i;l[i]=-1,a&=~r}n!==0&&J0(e,n,t)}function co(){return ee&6?!0:(Ji(0),!1)}function ud(){if(k!==null){if(ne===0)var e=k.return;else e=k,nn=Al=null,Qf(e),la=null,wi=0,e=k;for(;e!==null;)Ry(e.alternate,e),e=e.return;k=null}}function Sa(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,JO(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),rn=0,ud(),ue=e,k=n=ln(e.current,null),W=t,ne=0,et=null,On=!1,Oa=qi(e,t),id=!1,va=at=rd=pl=Yn=he=0,Xe=si=null,wc=!1,t&8&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var a=31-ut(l),i=1<<a;t|=e[a],l&=~i}return pn=t,no(),n}function Qy(e,t){Y=null,q.H=Ei,t===Aa||t===ao?(t=cg(),ne=3):t===Lf?(t=cg(),ne=4):ne=t===td?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,et=t,k===null&&(he=1,vu(e,wt(t,e.current)))}function Zy(){var e=dt.current;return e===null?!0:(W&4194048)===W?Et===null:(W&62914560)===W||W&536870912?e===Et:!1}function Ky(){var e=q.H;return q.H=Ei,e===null?Ei:e}function Jy(){var e=q.A;return q.A=OO,e}function bu(){he=4,On||(W&4194048)!==W&&dt.current!==null||(Oa=!0),!(Yn&134217727)&&!(pl&134217727)||ue===null||_n(ue,W,at,!1)}function us(e,t,n){var l=ee;ee|=2;var a=Ky(),i=Jy();(ue!==e||W!==t)&&(wu=null,Sa(e,t)),t=!1;var r=he;e:do try{if(ne!==0&&k!==null){var u=k,o=et;switch(ne){case 8:ud(),r=6;break e;case 3:case 2:case 9:case 6:dt.current===null&&(t=!0);var s=ne;if(ne=0,et=null,kl(e,u,o,s),n&&Oa){r=0;break e}break;default:s=ne,ne=0,et=null,kl(e,u,o,s)}}DO(),r=he;break}catch(c){Qy(e,c)}while(!0);return t&&e.shellSuspendCounter++,nn=Al=null,ee=l,q.H=a,q.A=i,k===null&&(ue=null,W=0,no()),r}function DO(){for(;k!==null;)ky(k)}function MO(e,t){var n=ee;ee|=2;var l=Ky(),a=Jy();ue!==e||W!==t?(wu=null,xu=it()+500,Sa(e,t)):Oa=qi(e,t);e:do try{if(ne!==0&&k!==null){t=k;var i=et;t:switch(ne){case 1:ne=0,et=null,kl(e,t,i,1);break;case 2:case 9:if(sg(i)){ne=0,et=null,jg(t);break}t=function(){ne!==2&&ne!==9||ue!==e||(ne=7),Yt(e)},i.then(t,t);break e;case 3:ne=7;break e;case 4:ne=5;break e;case 7:sg(i)?(ne=0,et=null,jg(t)):(ne=0,et=null,kl(e,t,i,7));break;case 5:var r=null;switch(k.tag){case 26:r=k.memoizedState;case 5:case 27:var u=k;if(r?h1(r):u.stateNode.complete){ne=0,et=null;var o=u.sibling;if(o!==null)k=o;else{var s=u.return;s!==null?(k=s,fo(s)):k=null}break t}}ne=0,et=null,kl(e,t,i,5);break;case 6:ne=0,et=null,kl(e,t,i,6);break;case 8:ud(),he=6;break e;default:throw Error(O(462))}}NO();break}catch(c){Qy(e,c)}while(!0);return nn=Al=null,q.H=l,q.A=a,ee=n,k!==null?0:(ue=null,W=0,no(),he)}function NO(){for(;k!==null&&!tA();)ky(k)}function ky(e){var t=Ey(e.alternate,e,pn);e.memoizedProps=e.pendingProps,t===null?fo(e):k=t}function jg(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ag(n,t,t.pendingProps,t.type,void 0,W);break;case 11:t=Ag(n,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:Qf(t);default:Ry(n,t),t=k=Rv(t,pn),t=Ey(n,t,pn)}e.memoizedProps=e.pendingProps,t===null?fo(e):k=t}function kl(e,t,n,l){nn=Al=null,Qf(t),la=null,wi=0;var a=t.return;try{if(xO(e,a,t,n,W)){he=1,vu(e,wt(n,e.current)),k=null;return}}catch(i){if(a!==null)throw k=a,i;he=1,vu(e,wt(n,e.current)),k=null;return}t.flags&32768?(P||l===1?e=!0:Oa||W&536870912?e=!1:(On=e=!0,(l===2||l===9||l===3||l===6)&&(l=dt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Iy(t,e)):fo(t)}function fo(e){var t=e;do{if(t.flags&32768){Iy(t,On);return}e=t.return;var n=EO(t.alternate,t,pn);if(n!==null){k=n;return}if(t=t.sibling,t!==null){k=t;return}k=t=e}while(t!==null);he===0&&(he=5)}function Iy(e,t){do{var n=RO(e.alternate,e);if(n!==null){n.flags&=32767,k=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){k=e;return}k=e=n}while(e!==null);he=6,k=null}function zg(e,t,n,l,a,i,r,u,o){e.cancelPendingCommit=null;do po();while(Ce!==0);if(ee&6)throw Error(O(327));if(t!==null){if(t===e.current)throw Error(O(177));if(i=t.lanes|t.childLanes,i|=Nf,fA(e,n,i,r,u,o),e===ue&&(k=ue=null,W=0),ya=t,Un=e,rn=n,bc=i,Ec=a,Gy=l,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,BO(ru,function(){return n1(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,t.subtreeFlags&13878||l){l=q.T,q.T=null,a=te.p,te.p=2,r=ee,ee|=4;try{CO(e,t,n)}finally{ee=r,te.p=a,q.T=l}}Ce=1,Wy(),Py(),e1()}}function Wy(){if(Ce===1){Ce=0;var e=Un,t=ya,n=(t.flags&13878)!==0;if(t.subtreeFlags&13878||n){n=q.T,q.T=null;var l=te.p;te.p=2;var a=ee;ee|=4;try{Uy(t,e);var i=_c,r=hv(e.containerInfo),u=i.focusedElem,o=i.selectionRange;if(r!==u&&u&&u.ownerDocument&&mv(u.ownerDocument.documentElement,u)){if(o!==null&&Mf(u)){var s=o.start,c=o.end;if(c===void 0&&(c=s),"selectionStart"in u)u.selectionStart=s,u.selectionEnd=Math.min(c,u.value.length);else{var f=u.ownerDocument||document,p=f&&f.defaultView||window;if(p.getSelection){var d=p.getSelection(),m=u.textContent.length,S=Math.min(o.start,m),x=o.end===void 0?S:Math.min(o.end,m);!d.extend&&S>x&&(r=x,x=S,S=r);var v=ng(u,S),h=ng(u,x);if(v&&h&&(d.rangeCount!==1||d.anchorNode!==v.node||d.anchorOffset!==v.offset||d.focusNode!==h.node||d.focusOffset!==h.offset)){var y=f.createRange();y.setStart(v.node,v.offset),d.removeAllRanges(),S>x?(d.addRange(y),d.extend(h.node,h.offset)):(y.setEnd(h.node,h.offset),d.addRange(y))}}}}for(f=[],d=u;d=d.parentNode;)d.nodeType===1&&f.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<f.length;u++){var w=f[u];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Du=!!Oc,_c=Oc=null}finally{ee=a,te.p=l,q.T=n}}e.current=t,Ce=2}}function Py(){if(Ce===2){Ce=0;var e=Un,t=ya,n=(t.flags&8772)!==0;if(t.subtreeFlags&8772||n){n=q.T,q.T=null;var l=te.p;te.p=2;var a=ee;ee|=4;try{Dy(e,t.alternate,t)}finally{ee=a,te.p=l,q.T=n}}Ce=3}}function e1(){if(Ce===4||Ce===3){Ce=0,nA();var e=Un,t=ya,n=rn,l=Gy;t.subtreeFlags&10256||t.flags&10256?Ce=5:(Ce=0,ya=Un=null,t1(e,e.pendingLanes));var a=e.pendingLanes;if(a===0&&(zn=null),Rf(n),t=t.stateNode,rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot($i,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=q.T,a=te.p,te.p=2,q.T=null;try{for(var i=e.onRecoverableError,r=0;r<l.length;r++){var u=l[r];i(u.value,{componentStack:u.stack})}}finally{q.T=t,te.p=a}}rn&3&&po(),Yt(e),a=e.pendingLanes,n&261930&&a&42?e===Rc?ci++:(ci=0,Rc=e):ci=0,Ji(0)}}function t1(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qi(t)))}function po(){return Wy(),Py(),e1(),n1()}function n1(){if(Ce!==5)return!1;var e=Un,t=bc;bc=0;var n=Rf(rn),l=q.T,a=te.p;try{te.p=32>n?32:n,q.T=null,n=Ec,Ec=null;var i=Un,r=rn;if(Ce=0,ya=Un=null,rn=0,ee&6)throw Error(O(331));var u=ee;if(ee|=4,Vy(i.current),Fy(i,i.current,r,n),ee=u,Ji(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot($i,i)}catch{}return!0}finally{te.p=a,q.T=l,t1(e,t)}}function Ug(e,t,n){t=wt(n,t),t=vc(e.stateNode,t,2),e=jn(e,t,2),e!==null&&(Gi(e,2),Yt(e))}function le(e,t,n){if(e.tag===3)Ug(e,e,n);else for(;t!==null;){if(t.tag===3){Ug(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(zn===null||!zn.has(l))){e=wt(n,e),n=vy(2),l=jn(t,n,2),l!==null&&(yy(n,l,t,e),Gi(l,2),Yt(l));break}}t=t.return}}function os(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new _O;var a=new Set;l.set(t,a)}else a=l.get(t),a===void 0&&(a=new Set,l.set(t,a));a.has(n)||(id=!0,a.add(n),e=jO.bind(null,e,t,n),t.then(e,e))}function jO(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ue===e&&(W&n)===n&&(he===4||he===3&&(W&62914560)===W&&300>it()-so?!(ee&2)&&Sa(e,0):rd|=n,va===W&&(va=0)),Yt(e)}function l1(e,t){t===0&&(t=K0()),e=Cl(e,t),e!==null&&(Gi(e,t),Yt(e))}function zO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),l1(e,n)}function UO(e,t){var n=0;switch(e.tag){case 31:case 13:var l=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(O(314))}l!==null&&l.delete(t),l1(e,n)}function BO(e,t){return bf(e,t)}var Eu=null,jl=null,Cc=!1,Ru=!1,ss=!1,Tn=0;function Yt(e){e!==jl&&e.next===null&&(jl===null?Eu=jl=e:jl=jl.next=e),Ru=!0,Cc||(Cc=!0,HO())}function Ji(e,t){if(!ss&&Ru){ss=!0;do for(var n=!1,l=Eu;l!==null;){if(e!==0){var a=l.pendingLanes;if(a===0)var i=0;else{var r=l.suspendedLanes,u=l.pingedLanes;i=(1<<31-ut(42|e)+1)-1,i&=a&~(r&~u),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,Bg(l,i))}else i=W,i=Wu(l,l===ue?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),!(i&3)||qi(l,i)||(n=!0,Bg(l,i));l=l.next}while(n);ss=!1}}function FO(){a1()}function a1(){Ru=Cc=!1;var e=0;Tn!==0&&KO()&&(e=Tn);for(var t=it(),n=null,l=Eu;l!==null;){var a=l.next,i=i1(l,t);i===0?(l.next=null,n===null?Eu=a:n.next=a,a===null&&(jl=n)):(n=l,(e!==0||i&3)&&(Ru=!0)),l=a}Ce!==0&&Ce!==5||Ji(e),Tn!==0&&(Tn=0)}function i1(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var r=31-ut(i),u=1<<r,o=a[r];o===-1?(!(u&n)||u&l)&&(a[r]=cA(u,t)):o<=t&&(e.expiredLanes|=u),i&=~u}if(t=ue,n=W,n=Wu(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,n===0||e===t&&(ne===2||ne===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Fo(l),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||qi(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(l!==null&&Fo(l),Rf(n)){case 2:case 8:n=Q0;break;case 32:n=ru;break;case 268435456:n=Z0;break;default:n=ru}return l=r1.bind(null,e),n=bf(n,l),e.callbackPriority=t,e.callbackNode=n,t}return l!==null&&l!==null&&Fo(l),e.callbackPriority=2,e.callbackNode=null,2}function r1(e,t){if(Ce!==0&&Ce!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(po()&&e.callbackNode!==n)return null;var l=W;return l=Wu(e,e===ue?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Xy(e,l,t),i1(e,it()),e.callbackNode!=null&&e.callbackNode===n?r1.bind(null,e):null)}function Bg(e,t){if(po())return null;Xy(e,t,!0)}function HO(){kO(function(){ee&6?bf(X0,FO):a1()})}function od(){if(Tn===0){var e=ga;e===0&&(e=fr,fr<<=1,!(fr&261888)&&(fr=256)),Tn=e}return Tn}function Fg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Mr(""+e)}function Hg(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function LO(e,t,n,l,a){if(t==="submit"&&n&&n.stateNode===a){var i=Fg((a[Ie]||null).action),r=l.submitter;r&&(t=(t=r[Ie]||null)?Fg(t.formAction):r.getAttribute("formAction"),t!==null&&(i=t,r=null));var u=new Pu("action","action",null,l,a);e.push({event:u,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Tn!==0){var o=r?Hg(a,r):new FormData(a);mc(n,{pending:!0,data:o,method:a.method,action:i},null,o)}}else typeof i=="function"&&(u.preventDefault(),o=r?Hg(a,r):new FormData(a),mc(n,{pending:!0,data:o,method:a.method,action:i},i,o))},currentTarget:a}]})}}for(var cs=0;cs<lc.length;cs++){var fs=lc[cs],VO=fs.toLowerCase(),$O=fs[0].toUpperCase()+fs.slice(1);jt(VO,"on"+$O)}jt(yv,"onAnimationEnd");jt(Sv,"onAnimationIteration");jt(xv,"onAnimationStart");jt("dblclick","onDoubleClick");jt("focusin","onFocus");jt("focusout","onBlur");jt(lO,"onTransitionRun");jt(aO,"onTransitionStart");jt(iO,"onTransitionCancel");jt(wv,"onTransitionEnd");da("onMouseEnter",["mouseout","mouseover"]);da("onMouseLeave",["mouseout","mouseover"]);da("onPointerEnter",["pointerout","pointerover"]);da("onPointerLeave",["pointerout","pointerover"]);bl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));bl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));bl("onBeforeInput",["compositionend","keypress","textInput","paste"]);bl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));bl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));bl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ri="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),qO=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ri));function u1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var l=e[n],a=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var r=l.length-1;0<=r;r--){var u=l[r],o=u.instance,s=u.currentTarget;if(u=u.listener,o!==i&&a.isPropagationStopped())break e;i=u,a.currentTarget=s;try{i(a)}catch(c){ou(c)}a.currentTarget=null,i=o}else for(r=0;r<l.length;r++){if(u=l[r],o=u.instance,s=u.currentTarget,u=u.listener,o!==i&&a.isPropagationStopped())break e;i=u,a.currentTarget=s;try{i(a)}catch(c){ou(c)}a.currentTarget=null,i=o}}}}function J(e,t){var n=t[Js];n===void 0&&(n=t[Js]=new Set);var l=e+"__bubble";n.has(l)||(o1(t,e,2,!1),n.add(l))}function ds(e,t,n){var l=0;t&&(l|=4),o1(n,e,l,t)}var wr="_reactListening"+Math.random().toString(36).slice(2);function sd(e){if(!e[wr]){e[wr]=!0,P0.forEach(function(n){n!=="selectionchange"&&(qO.has(n)||ds(n,!1,e),ds(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wr]||(t[wr]=!0,ds("selectionchange",!1,t))}}function o1(e,t,n,l){switch(w1(t)){case 2:var a=h_;break;case 8:a=v_;break;default:a=pd}n=a.bind(null,t,n,e),a=void 0,!ec||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(a=!0),l?a!==void 0?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):a!==void 0?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function ps(e,t,n,l,a){var i=l;if(!(t&1)&&!(t&2)&&l!==null)e:for(;;){if(l===null)return;var r=l.tag;if(r===3||r===4){var u=l.stateNode.containerInfo;if(u===a)break;if(r===4)for(r=l.return;r!==null;){var o=r.tag;if((o===3||o===4)&&r.stateNode.containerInfo===a)return;r=r.return}for(;u!==null;){if(r=$l(u),r===null)return;if(o=r.tag,o===5||o===6||o===26||o===27){l=i=r;continue e}u=u.parentNode}}l=l.return}uv(function(){var s=i,c=Of(n),f=[];e:{var p=bv.get(e);if(p!==void 0){var d=Pu,m=e;switch(e){case"keypress":if(jr(n)===0)break e;case"keydown":case"keyup":d=UA;break;case"focusin":m="focus",d=qo;break;case"focusout":m="blur",d=qo;break;case"beforeblur":case"afterblur":d=qo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Qp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=EA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=HA;break;case yv:case Sv:case xv:d=AA;break;case wv:d=VA;break;case"scroll":case"scrollend":d=wA;break;case"wheel":d=qA;break;case"copy":case"cut":case"paste":d=_A;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Kp;break;case"toggle":case"beforetoggle":d=YA}var S=(t&4)!==0,x=!S&&(e==="scroll"||e==="scrollend"),v=S?p!==null?p+"Capture":null:p;S=[];for(var h=s,y;h!==null;){var w=h;if(y=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||y===null||v===null||(w=hi(h,v),w!=null&&S.push(Ci(h,w,y))),x)break;h=h.return}0<S.length&&(p=new d(p,m,null,n,c),f.push({event:p,listeners:S}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",p&&n!==Ps&&(m=n.relatedTarget||n.fromElement)&&($l(m)||m[Ea]))break e;if((d||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,d?(m=n.relatedTarget||n.toElement,d=s,m=m?$l(m):null,m!==null&&(x=Vi(m),S=m.tag,m!==x||S!==5&&S!==27&&S!==6)&&(m=null)):(d=null,m=s),d!==m)){if(S=Qp,w="onMouseLeave",v="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(S=Kp,w="onPointerLeave",v="onPointerEnter",h="pointer"),x=d==null?p:Xa(d),y=m==null?p:Xa(m),p=new S(w,h+"leave",d,n,c),p.target=x,p.relatedTarget=y,w=null,$l(c)===s&&(S=new S(v,h+"enter",m,n,c),S.target=y,S.relatedTarget=x,w=S),x=w,d&&m)t:{for(S=GO,v=d,h=m,y=0,w=v;w;w=S(w))y++;w=0;for(var E=h;E;E=S(E))w++;for(;0<y-w;)v=S(v),y--;for(;0<w-y;)h=S(h),w--;for(;y--;){if(v===h||h!==null&&v===h.alternate){S=v;break t}v=S(v),h=S(h)}S=null}else S=null;d!==null&&Lg(f,p,d,S,!1),m!==null&&x!==null&&Lg(f,x,m,S,!0)}}e:{if(p=s?Xa(s):window,d=p.nodeName&&p.nodeName.toLowerCase(),d==="select"||d==="input"&&p.type==="file")var A=Wp;else if(Ip(p))if(pv)A=eO;else{A=WA;var R=IA}else d=p.nodeName,!d||d.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?s&&Af(s.elementType)&&(A=Wp):A=PA;if(A&&(A=A(e,s))){dv(f,A,n,c);break e}R&&R(e,p,s),e==="focusout"&&s&&p.type==="number"&&s.memoizedProps.value!=null&&Ws(p,"number",p.value)}switch(R=s?Xa(s):window,e){case"focusin":(Ip(R)||R.contentEditable==="true")&&(Yl=R,tc=s,ti=null);break;case"focusout":ti=tc=Yl=null;break;case"mousedown":nc=!0;break;case"contextmenu":case"mouseup":case"dragend":nc=!1,lg(f,n,c);break;case"selectionchange":if(nO)break;case"keydown":case"keyup":lg(f,n,c)}var D;if(Df)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Gl?cv(e,n)&&(M="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(M="onCompositionStart");M&&(sv&&n.locale!=="ko"&&(Gl||M!=="onCompositionStart"?M==="onCompositionEnd"&&Gl&&(D=ov()):(An=c,_f="value"in An?An.value:An.textContent,Gl=!0)),R=Cu(s,M),0<R.length&&(M=new Zp(M,e,null,n,c),f.push({event:M,listeners:R}),D?M.data=D:(D=fv(n),D!==null&&(M.data=D)))),(D=QA?ZA(e,n):KA(e,n))&&(M=Cu(s,"onBeforeInput"),0<M.length&&(R=new Zp("onBeforeInput","beforeinput",null,n,c),f.push({event:R,listeners:M}),R.data=D)),LO(f,e,s,n,c)}u1(f,t)})}function Ci(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cu(e,t){for(var n=t+"Capture",l=[];e!==null;){var a=e,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=hi(e,n),a!=null&&l.unshift(Ci(e,a,i)),a=hi(e,t),a!=null&&l.push(Ci(e,a,i))),e.tag===3)return l;e=e.return}return[]}function GO(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Lg(e,t,n,l,a){for(var i=t._reactName,r=[];n!==null&&n!==l;){var u=n,o=u.alternate,s=u.stateNode;if(u=u.tag,o!==null&&o===l)break;u!==5&&u!==26&&u!==27||s===null||(o=s,a?(s=hi(n,i),s!=null&&r.unshift(Ci(n,s,o))):a||(s=hi(n,i),s!=null&&r.push(Ci(n,s,o)))),n=n.return}r.length!==0&&e.push({event:t,listeners:r})}var YO=/\r\n?/g,XO=/\u0000|\uFFFD/g;function Vg(e){return(typeof e=="string"?e:""+e).replace(YO,`
`).replace(XO,"")}function s1(e,t){return t=Vg(t),Vg(e)===t}function ae(e,t,n,l,a,i){switch(n){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||pa(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&pa(e,""+l);break;case"className":gr(e,"class",l);break;case"tabIndex":gr(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":gr(e,n,l);break;case"style":rv(e,l,i);break;case"data":if(t!=="object"){gr(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Mr(""+l),e.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(n==="formAction"?(t!=="input"&&ae(e,t,"name",a.name,a,null),ae(e,t,"formEncType",a.formEncType,a,null),ae(e,t,"formMethod",a.formMethod,a,null),ae(e,t,"formTarget",a.formTarget,a,null)):(ae(e,t,"encType",a.encType,a,null),ae(e,t,"method",a.method,a,null),ae(e,t,"target",a.target,a,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(n);break}l=Mr(""+l),e.setAttribute(n,l);break;case"onClick":l!=null&&(e.onclick=tn);break;case"onScroll":l!=null&&J("scroll",e);break;case"onScrollEnd":l!=null&&J("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(O(61));if(n=l.__html,n!=null){if(a.children!=null)throw Error(O(60));e.innerHTML=n}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}n=Mr(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""+l):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":l===!0?e.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(n,l):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(n,l):e.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(n):e.setAttribute(n,l);break;case"popover":J("beforetoggle",e),J("toggle",e),Dr(e,"popover",l);break;case"xlinkActuate":Xt(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Xt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Xt(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Xt(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Xt(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Xt(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Xt(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Xt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Xt(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Dr(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=SA.get(n)||n,Dr(e,n,l))}}function Ac(e,t,n,l,a,i){switch(n){case"style":rv(e,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(O(61));if(n=l.__html,n!=null){if(a.children!=null)throw Error(O(60));e.innerHTML=n}}break;case"children":typeof l=="string"?pa(e,l):(typeof l=="number"||typeof l=="bigint")&&pa(e,""+l);break;case"onScroll":l!=null&&J("scroll",e);break;case"onScrollEnd":l!=null&&J("scrollend",e);break;case"onClick":l!=null&&(e.onclick=tn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ev.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),i=e[Ie]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,a),typeof l=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,l,a);break e}n in e?e[n]=l:l===!0?e.setAttribute(n,""):Dr(e,n,l)}}}function Be(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",e),J("load",e);var l=!1,a=!1,i;for(i in n)if(n.hasOwnProperty(i)){var r=n[i];if(r!=null)switch(i){case"src":l=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(O(137,t));default:ae(e,t,i,r,n,null)}}a&&ae(e,t,"srcSet",n.srcSet,n,null),l&&ae(e,t,"src",n.src,n,null);return;case"input":J("invalid",e);var u=i=r=a=null,o=null,s=null;for(l in n)if(n.hasOwnProperty(l)){var c=n[l];if(c!=null)switch(l){case"name":a=c;break;case"type":r=c;break;case"checked":o=c;break;case"defaultChecked":s=c;break;case"value":i=c;break;case"defaultValue":u=c;break;case"children":case"dangerouslySetInnerHTML":if(c!=null)throw Error(O(137,t));break;default:ae(e,t,l,c,n,null)}}lv(e,i,u,o,s,r,a,!1);return;case"select":J("invalid",e),l=r=i=null;for(a in n)if(n.hasOwnProperty(a)&&(u=n[a],u!=null))switch(a){case"value":i=u;break;case"defaultValue":r=u;break;case"multiple":l=u;default:ae(e,t,a,u,n,null)}t=i,n=r,e.multiple=!!l,t!=null?ea(e,!!l,t,!1):n!=null&&ea(e,!!l,n,!0);return;case"textarea":J("invalid",e),i=a=l=null;for(r in n)if(n.hasOwnProperty(r)&&(u=n[r],u!=null))switch(r){case"value":l=u;break;case"defaultValue":a=u;break;case"children":i=u;break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(O(91));break;default:ae(e,t,r,u,n,null)}iv(e,l,a,i);return;case"option":for(o in n)if(n.hasOwnProperty(o)&&(l=n[o],l!=null))switch(o){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ae(e,t,o,l,n,null)}return;case"dialog":J("beforetoggle",e),J("toggle",e),J("cancel",e),J("close",e);break;case"iframe":case"object":J("load",e);break;case"video":case"audio":for(l=0;l<Ri.length;l++)J(Ri[l],e);break;case"image":J("error",e),J("load",e);break;case"details":J("toggle",e);break;case"embed":case"source":case"link":J("error",e),J("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in n)if(n.hasOwnProperty(s)&&(l=n[s],l!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(O(137,t));default:ae(e,t,s,l,n,null)}return;default:if(Af(t)){for(c in n)n.hasOwnProperty(c)&&(l=n[c],l!==void 0&&Ac(e,t,c,l,n,void 0));return}}for(u in n)n.hasOwnProperty(u)&&(l=n[u],l!=null&&ae(e,t,u,l,n,null))}function QO(e,t,n,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,r=null,u=null,o=null,s=null,c=null;for(d in n){var f=n[d];if(n.hasOwnProperty(d)&&f!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":o=f;default:l.hasOwnProperty(d)||ae(e,t,d,null,l,f)}}for(var p in l){var d=l[p];if(f=n[p],l.hasOwnProperty(p)&&(d!=null||f!=null))switch(p){case"type":i=d;break;case"name":a=d;break;case"checked":s=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":u=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(O(137,t));break;default:d!==f&&ae(e,t,p,d,l,f)}}Is(e,r,u,o,s,c,i,a);return;case"select":d=r=u=p=null;for(i in n)if(o=n[i],n.hasOwnProperty(i)&&o!=null)switch(i){case"value":break;case"multiple":d=o;default:l.hasOwnProperty(i)||ae(e,t,i,null,l,o)}for(a in l)if(i=l[a],o=n[a],l.hasOwnProperty(a)&&(i!=null||o!=null))switch(a){case"value":p=i;break;case"defaultValue":u=i;break;case"multiple":r=i;default:i!==o&&ae(e,t,a,i,l,o)}t=u,n=r,l=d,p!=null?ea(e,!!n,p,!1):!!l!=!!n&&(t!=null?ea(e,!!n,t,!0):ea(e,!!n,n?[]:"",!1));return;case"textarea":d=p=null;for(u in n)if(a=n[u],n.hasOwnProperty(u)&&a!=null&&!l.hasOwnProperty(u))switch(u){case"value":break;case"children":break;default:ae(e,t,u,null,l,a)}for(r in l)if(a=l[r],i=n[r],l.hasOwnProperty(r)&&(a!=null||i!=null))switch(r){case"value":p=a;break;case"defaultValue":d=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(O(91));break;default:a!==i&&ae(e,t,r,a,l,i)}av(e,p,d);return;case"option":for(var m in n)if(p=n[m],n.hasOwnProperty(m)&&p!=null&&!l.hasOwnProperty(m))switch(m){case"selected":e.selected=!1;break;default:ae(e,t,m,null,l,p)}for(o in l)if(p=l[o],d=n[o],l.hasOwnProperty(o)&&p!==d&&(p!=null||d!=null))switch(o){case"selected":e.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:ae(e,t,o,p,l,d)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var S in n)p=n[S],n.hasOwnProperty(S)&&p!=null&&!l.hasOwnProperty(S)&&ae(e,t,S,null,l,p);for(s in l)if(p=l[s],d=n[s],l.hasOwnProperty(s)&&p!==d&&(p!=null||d!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(O(137,t));break;default:ae(e,t,s,p,l,d)}return;default:if(Af(t)){for(var x in n)p=n[x],n.hasOwnProperty(x)&&p!==void 0&&!l.hasOwnProperty(x)&&Ac(e,t,x,void 0,l,p);for(c in l)p=l[c],d=n[c],!l.hasOwnProperty(c)||p===d||p===void 0&&d===void 0||Ac(e,t,c,p,l,d);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!l.hasOwnProperty(v)&&ae(e,t,v,null,l,p);for(f in l)p=l[f],d=n[f],!l.hasOwnProperty(f)||p===d||p==null&&d==null||ae(e,t,f,p,l,d)}function $g(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ZO(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var a=n[l],i=a.transferSize,r=a.initiatorType,u=a.duration;if(i&&u&&$g(r)){for(r=0,u=a.responseEnd,l+=1;l<n.length;l++){var o=n[l],s=o.startTime;if(s>u)break;var c=o.transferSize,f=o.initiatorType;c&&$g(f)&&(o=o.responseEnd,r+=c*(o<u?1:(u-s)/(o-s)))}if(--l,t+=8*(i+r)/(a.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Oc=null,_c=null;function Au(e){return e.nodeType===9?e:e.ownerDocument}function qg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function c1(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Tc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var gs=null;function KO(){var e=window.event;return e&&e.type==="popstate"?e===gs?!1:(gs=e,!0):(gs=null,!1)}var f1=typeof setTimeout=="function"?setTimeout:void 0,JO=typeof clearTimeout=="function"?clearTimeout:void 0,Gg=typeof Promise=="function"?Promise:void 0,kO=typeof queueMicrotask=="function"?queueMicrotask:typeof Gg<"u"?function(e){return Gg.resolve(null).then(e).catch(IO)}:f1;function IO(e){setTimeout(function(){throw e})}function Zn(e){return e==="head"}function Yg(e,t){var n=t,l=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"||n==="/&"){if(l===0){e.removeChild(a),wa(t);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")fi(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,fi(n);for(var i=n.firstChild;i;){var r=i.nextSibling,u=i.nodeName;i[Yi]||u==="SCRIPT"||u==="STYLE"||u==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=r}}else n==="body"&&fi(e.ownerDocument.body);n=a}while(n);wa(t)}function Xg(e,t){var n=e;e=0;do{var l=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=l}while(n)}function Dc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Dc(n),Cf(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function WO(e,t,n,l){for(;e.nodeType===1;){var a=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Yi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==a.rel||e.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||e.getAttribute("title")!==(a.title==null?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(a.src==null?null:a.src)||e.getAttribute("type")!==(a.type==null?null:a.type)||e.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Rt(e.nextSibling),e===null)break}return null}function PO(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Rt(e.nextSibling),e===null))return null;return e}function d1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Rt(e.nextSibling),e===null))return null;return e}function Mc(e){return e.data==="$?"||e.data==="$~"}function Nc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function e_(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var l=function(){t(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Rt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var jc=null;function Qg(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Rt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Zg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function p1(e,t,n){switch(t=Au(n),e){case"html":if(e=t.documentElement,!e)throw Error(O(452));return e;case"head":if(e=t.head,!e)throw Error(O(453));return e;case"body":if(e=t.body,!e)throw Error(O(454));return e;default:throw Error(O(451))}}function fi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Cf(e)}var Ot=new Map,Kg=new Set;function Ou(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var mn=te.d;te.d={f:t_,r:n_,D:l_,C:a_,L:i_,m:r_,X:o_,S:u_,M:s_};function t_(){var e=mn.f(),t=co();return e||t}function n_(e){var t=Ra(e);t!==null&&t.tag===5&&t.type==="form"?ry(t):mn.r(e)}var _a=typeof document>"u"?null:document;function g1(e,t,n){var l=_a;if(l&&typeof t=="string"&&t){var a=xt(t);a='link[rel="'+e+'"][href="'+a+'"]',typeof n=="string"&&(a+='[crossorigin="'+n+'"]'),Kg.has(a)||(Kg.add(a),e={rel:e,crossOrigin:n,href:t},l.querySelector(a)===null&&(t=l.createElement("link"),Be(t,"link",e),_e(t),l.head.appendChild(t)))}}function l_(e){mn.D(e),g1("dns-prefetch",e,null)}function a_(e,t){mn.C(e,t),g1("preconnect",e,t)}function i_(e,t,n){mn.L(e,t,n);var l=_a;if(l&&e&&t){var a='link[rel="preload"][as="'+xt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(a+='[imagesrcset="'+xt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(a+='[imagesizes="'+xt(n.imageSizes)+'"]')):a+='[href="'+xt(e)+'"]';var i=a;switch(t){case"style":i=xa(e);break;case"script":i=Ta(e)}Ot.has(i)||(e=de({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ot.set(i,e),l.querySelector(a)!==null||t==="style"&&l.querySelector(ki(i))||t==="script"&&l.querySelector(Ii(i))||(t=l.createElement("link"),Be(t,"link",e),_e(t),l.head.appendChild(t)))}}function r_(e,t){mn.m(e,t);var n=_a;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",a='link[rel="modulepreload"][as="'+xt(l)+'"][href="'+xt(e)+'"]',i=a;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Ta(e)}if(!Ot.has(i)&&(e=de({rel:"modulepreload",href:e},t),Ot.set(i,e),n.querySelector(a)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ii(i)))return}l=n.createElement("link"),Be(l,"link",e),_e(l),n.head.appendChild(l)}}}function u_(e,t,n){mn.S(e,t,n);var l=_a;if(l&&e){var a=Pl(l).hoistableStyles,i=xa(e);t=t||"default";var r=a.get(i);if(!r){var u={loading:0,preload:null};if(r=l.querySelector(ki(i)))u.loading=5;else{e=de({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ot.get(i))&&cd(e,n);var o=r=l.createElement("link");_e(o),Be(o,"link",e),o._p=new Promise(function(s,c){o.onload=s,o.onerror=c}),o.addEventListener("load",function(){u.loading|=1}),o.addEventListener("error",function(){u.loading|=2}),u.loading|=4,$r(r,t,l)}r={type:"stylesheet",instance:r,count:1,state:u},a.set(i,r)}}}function o_(e,t){mn.X(e,t);var n=_a;if(n&&e){var l=Pl(n).hoistableScripts,a=Ta(e),i=l.get(a);i||(i=n.querySelector(Ii(a)),i||(e=de({src:e,async:!0},t),(t=Ot.get(a))&&fd(e,t),i=n.createElement("script"),_e(i),Be(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(a,i))}}function s_(e,t){mn.M(e,t);var n=_a;if(n&&e){var l=Pl(n).hoistableScripts,a=Ta(e),i=l.get(a);i||(i=n.querySelector(Ii(a)),i||(e=de({src:e,async:!0,type:"module"},t),(t=Ot.get(a))&&fd(e,t),i=n.createElement("script"),_e(i),Be(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(a,i))}}function Jg(e,t,n,l){var a=(a=Dn.current)?Ou(a):null;if(!a)throw Error(O(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=xa(n.href),n=Pl(a).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=xa(n.href);var i=Pl(a).hoistableStyles,r=i.get(e);if(r||(a=a.ownerDocument||a,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,r),(i=a.querySelector(ki(e)))&&!i._p&&(r.instance=i,r.state.loading=5),Ot.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ot.set(e,n),i||c_(a,e,n,r.state))),t&&l===null)throw Error(O(528,""));return r}if(t&&l!==null)throw Error(O(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ta(n),n=Pl(a).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(O(444,e))}}function xa(e){return'href="'+xt(e)+'"'}function ki(e){return'link[rel="stylesheet"]['+e+"]"}function m1(e){return de({},e,{"data-precedence":e.precedence,precedence:null})}function c_(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Be(t,"link",n),_e(t),e.head.appendChild(t))}function Ta(e){return'[src="'+xt(e)+'"]'}function Ii(e){return"script[async]"+e}function kg(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+xt(n.href)+'"]');if(l)return t.instance=l,_e(l),l;var a=de({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),_e(l),Be(l,"style",a),$r(l,n.precedence,e),t.instance=l;case"stylesheet":a=xa(n.href);var i=e.querySelector(ki(a));if(i)return t.state.loading|=4,t.instance=i,_e(i),i;l=m1(n),(a=Ot.get(a))&&cd(l,a),i=(e.ownerDocument||e).createElement("link"),_e(i);var r=i;return r._p=new Promise(function(u,o){r.onload=u,r.onerror=o}),Be(i,"link",l),t.state.loading|=4,$r(i,n.precedence,e),t.instance=i;case"script":return i=Ta(n.src),(a=e.querySelector(Ii(i)))?(t.instance=a,_e(a),a):(l=n,(a=Ot.get(i))&&(l=de({},n),fd(l,a)),e=e.ownerDocument||e,a=e.createElement("script"),_e(a),Be(a,"link",l),e.head.appendChild(a),t.instance=a);case"void":return null;default:throw Error(O(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(l=t.instance,t.state.loading|=4,$r(l,n.precedence,e));return t.instance}function $r(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=l.length?l[l.length-1]:null,i=a,r=0;r<l.length;r++){var u=l[r];if(u.dataset.precedence===t)i=u;else if(i!==a)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function cd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function fd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var qr=null;function Ig(e,t,n){if(qr===null){var l=new Map,a=qr=new Map;a.set(n,l)}else a=qr,l=a.get(n),l||(l=new Map,a.set(n,l));if(l.has(e))return l;for(l.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var i=n[a];if(!(i[Yi]||i[je]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var r=i.getAttribute(t)||"";r=e+r;var u=l.get(r);u?u.push(i):l.set(r,[i])}}return l}function Wg(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function f_(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function h1(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function d_(e,t,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(n.state.loading&4)){if(n.instance===null){var a=xa(l.href),i=t.querySelector(ki(a));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=_u.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=i,_e(i);return}i=t.ownerDocument||t,l=m1(l),(a=Ot.get(a))&&cd(l,a),i=i.createElement("link"),_e(i);var r=i;r._p=new Promise(function(u,o){r.onload=u,r.onerror=o}),Be(i,"link",l),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=_u.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var ms=0;function p_(e,t){return e.stylesheets&&e.count===0&&Gr(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var l=setTimeout(function(){if(e.stylesheets&&Gr(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&ms===0&&(ms=62500*ZO());var a=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Gr(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>ms?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(a)}}:null}function _u(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Tu=null;function Gr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Tu=new Map,t.forEach(g_,e),Tu=null,_u.call(e))}function g_(e,t){if(!(t.state.loading&4)){var n=Tu.get(e);if(n)var l=n.get(null);else{n=new Map,Tu.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var r=a[i];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(n.set(r.dataset.precedence,r),l=r)}l&&n.set(null,l)}a=t.instance,r=a.getAttribute("data-precedence"),i=n.get(r)||l,i===l&&n.set(null,a),n.set(r,a),this.count++,l=_u.bind(this),a.addEventListener("load",l),a.addEventListener("error",l),i?i.parentNode.insertBefore(a,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(a,e.firstChild)),t.state.loading|=4}}var Ai={$$typeof:en,Provider:null,Consumer:null,_currentValue:sl,_currentValue2:sl,_threadCount:0};function m_(e,t,n,l,a,i,r,u,o){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ho(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ho(0),this.hiddenUpdates=Ho(null),this.identifierPrefix=l,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function v1(e,t,n,l,a,i,r,u,o,s,c,f){return e=new m_(e,t,n,r,o,s,c,f,u),t=1,i===!0&&(t|=24),i=lt(3,null,null,t),e.current=i,i.stateNode=e,t=Ff(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:n,cache:t},Vf(i),e}function y1(e){return e?(e=Zl,e):Zl}function S1(e,t,n,l,a,i){a=y1(a),l.context===null?l.context=a:l.pendingContext=a,l=Nn(t),l.payload={element:n},i=i===void 0?null:i,i!==null&&(l.callback=i),n=jn(e,l,t),n!==null&&(ke(n,e,t),li(n,e,t))}function Pg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function dd(e,t){Pg(e,t),(e=e.alternate)&&Pg(e,t)}function x1(e){if(e.tag===13||e.tag===31){var t=Cl(e,67108864);t!==null&&ke(t,e,67108864),dd(e,67108864)}}function em(e){if(e.tag===13||e.tag===31){var t=ot();t=Ef(t);var n=Cl(e,t);n!==null&&ke(n,e,t),dd(e,t)}}var Du=!0;function h_(e,t,n,l){var a=q.T;q.T=null;var i=te.p;try{te.p=2,pd(e,t,n,l)}finally{te.p=i,q.T=a}}function v_(e,t,n,l){var a=q.T;q.T=null;var i=te.p;try{te.p=8,pd(e,t,n,l)}finally{te.p=i,q.T=a}}function pd(e,t,n,l){if(Du){var a=zc(l);if(a===null)ps(e,t,l,Mu,n),tm(e,l);else if(S_(a,e,t,n,l))l.stopPropagation();else if(tm(e,l),t&4&&-1<y_.indexOf(e)){for(;a!==null;){var i=Ra(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var r=el(i.pendingLanes);if(r!==0){var u=i;for(u.pendingLanes|=2,u.entangledLanes|=2;r;){var o=1<<31-ut(r);u.entanglements[1]|=o,r&=~o}Yt(i),!(ee&6)&&(xu=it()+500,Ji(0))}}break;case 31:case 13:u=Cl(i,2),u!==null&&ke(u,i,2),co(),dd(i,2)}if(i=zc(l),i===null&&ps(e,t,l,Mu,n),i===a)break;a=i}a!==null&&l.stopPropagation()}else ps(e,t,l,null,n)}}function zc(e){return e=Of(e),gd(e)}var Mu=null;function gd(e){if(Mu=null,e=$l(e),e!==null){var t=Vi(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=V0(t),e!==null)return e;e=null}else if(n===31){if(e=$0(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Mu=e,null}function w1(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(lA()){case X0:return 2;case Q0:return 8;case ru:case aA:return 32;case Z0:return 268435456;default:return 32}default:return 32}}var Uc=!1,Bn=null,Fn=null,Hn=null,Oi=new Map,_i=new Map,bn=[],y_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function tm(e,t){switch(e){case"focusin":case"focusout":Bn=null;break;case"dragenter":case"dragleave":Fn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":Oi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_i.delete(t.pointerId)}}function Va(e,t,n,l,a,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:l,nativeEvent:i,targetContainers:[a]},t!==null&&(t=Ra(t),t!==null&&x1(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,a!==null&&t.indexOf(a)===-1&&t.push(a),e)}function S_(e,t,n,l,a){switch(t){case"focusin":return Bn=Va(Bn,e,t,n,l,a),!0;case"dragenter":return Fn=Va(Fn,e,t,n,l,a),!0;case"mouseover":return Hn=Va(Hn,e,t,n,l,a),!0;case"pointerover":var i=a.pointerId;return Oi.set(i,Va(Oi.get(i)||null,e,t,n,l,a)),!0;case"gotpointercapture":return i=a.pointerId,_i.set(i,Va(_i.get(i)||null,e,t,n,l,a)),!0}return!1}function b1(e){var t=$l(e.target);if(t!==null){var n=Vi(t);if(n!==null){if(t=n.tag,t===13){if(t=V0(n),t!==null){e.blockedOn=t,Lp(e.priority,function(){em(n)});return}}else if(t===31){if(t=$0(n),t!==null){e.blockedOn=t,Lp(e.priority,function(){em(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zc(e.nativeEvent);if(n===null){n=e.nativeEvent;var l=new n.constructor(n.type,n);Ps=l,n.target.dispatchEvent(l),Ps=null}else return t=Ra(n),t!==null&&x1(t),e.blockedOn=n,!1;t.shift()}return!0}function nm(e,t,n){Yr(e)&&n.delete(t)}function x_(){Uc=!1,Bn!==null&&Yr(Bn)&&(Bn=null),Fn!==null&&Yr(Fn)&&(Fn=null),Hn!==null&&Yr(Hn)&&(Hn=null),Oi.forEach(nm),_i.forEach(nm)}function br(e,t){e.blockedOn===t&&(e.blockedOn=null,Uc||(Uc=!0,Ae.unstable_scheduleCallback(Ae.unstable_NormalPriority,x_)))}var Er=null;function lm(e){Er!==e&&(Er=e,Ae.unstable_scheduleCallback(Ae.unstable_NormalPriority,function(){Er===e&&(Er=null);for(var t=0;t<e.length;t+=3){var n=e[t],l=e[t+1],a=e[t+2];if(typeof l!="function"){if(gd(l||n)===null)continue;break}var i=Ra(n);i!==null&&(e.splice(t,3),t-=3,mc(i,{pending:!0,data:a,method:n.method,action:l},l,a))}}))}function wa(e){function t(o){return br(o,e)}Bn!==null&&br(Bn,e),Fn!==null&&br(Fn,e),Hn!==null&&br(Hn,e),Oi.forEach(t),_i.forEach(t);for(var n=0;n<bn.length;n++){var l=bn[n];l.blockedOn===e&&(l.blockedOn=null)}for(;0<bn.length&&(n=bn[0],n.blockedOn===null);)b1(n),n.blockedOn===null&&bn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var a=n[l],i=n[l+1],r=a[Ie]||null;if(typeof i=="function")r||lm(n);else if(r){var u=null;if(i&&i.hasAttribute("formAction")){if(a=i,r=i[Ie]||null)u=r.formAction;else if(gd(a)!==null)continue}else u=r.action;typeof u=="function"?n[l+1]=u:(n.splice(l,3),l-=3),lm(n)}}}function E1(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(r){return a=r})},focusReset:"manual",scroll:"manual"})}function t(){a!==null&&(a(),a=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),a!==null&&(a(),a=null)}}}function md(e){this._internalRoot=e}go.prototype.render=md.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));var n=t.current,l=ot();S1(n,l,e,t,null,null)};go.prototype.unmount=md.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;S1(e.current,2,null,e,null,null),co(),t[Ea]=null}};function go(e){this._internalRoot=e}go.prototype.unstable_scheduleHydration=function(e){if(e){var t=W0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<bn.length&&t!==0&&t<bn[n].priority;n++);bn.splice(n,0,e),n===0&&b1(e)}};var am=H0.version;if(am!=="19.2.4")throw Error(O(527,am,"19.2.4"));te.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=kC(t),e=e!==null?q0(e):null,e=e===null?null:e.stateNode,e};var w_={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Rr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Rr.isDisabled&&Rr.supportsFiber)try{$i=Rr.inject(w_),rt=Rr}catch{}}Iu.createRoot=function(e,t){if(!L0(e))throw Error(O(299));var n=!1,l="",a=gy,i=my,r=hy;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(a=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(r=t.onRecoverableError)),t=v1(e,1,!1,null,null,n,l,null,a,i,r,E1),e[Ea]=t.current,sd(e),new md(t)};Iu.hydrateRoot=function(e,t,n){if(!L0(e))throw Error(O(299));var l=!1,a="",i=gy,r=my,u=hy,o=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(u=n.onRecoverableError),n.formState!==void 0&&(o=n.formState)),t=v1(e,1,!0,t,n??null,l,a,o,i,r,u,E1),t.context=y1(null),n=t.current,l=ot(),l=Ef(l),a=Nn(l),a.callback=null,jn(n,a,l),n=l,t.current.lanes=n,Gi(t,n),Yt(t),e[Ea]=t.current,sd(e),new go(t)};Iu.version="19.2.4";function R1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R1)}catch(e){console.error(e)}}R1(),U0.exports=Iu;var b_=U0.exports;const E_=Nu(b_),R_=new F1;E_.createRoot(document.getElementById("root")).render(g.jsx(be.StrictMode,{children:g.jsx(H1,{client:R_,children:g.jsx(ZC,{})})}));
//# sourceMappingURL=index-CfoQ5wXp.js.map
