@ukpc-lib/react 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,4 @@
1
- var p0=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("react/jsx-runtime"),re=require("react"),cd=require("react-router-dom"),he=require("../styled-deb36a05.cjs"),fd=require("react-dom"),np=require("axios");function rp(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const be=rp(re),Pr={"modal-overlay":"_modal-overlay_10n3k_1","modal-title":"_modal-title_10n3k_12","modal-footer":"_modal-footer_10n3k_19","modal-container":"_modal-container_10n3k_25","modal-button":"_modal-button_10n3k_43","confirm-btn":"_confirm-btn_10n3k_51","text-white":"_text-white_10n3k_55","text-sm":"_text-sm_10n3k_59"};function dd({isOpen:e,onClose:t,onConfirm:r}){if(!e)return null;function i(s){var p;((p=s.target)==null?void 0:p.id)==="modal-wrapper"&&t()}return Q.jsx("div",{onClick:i,className:Pr["modal-overlay"],id:"modal-wrapper",children:Q.jsxs("div",{className:Pr["modal-container"],children:[Q.jsx("h3",{className:Pr["modal-title"],children:"Log out"}),Q.jsx("p",{className:Pr["text-sm"],children:"Are you sure want to log out?"}),Q.jsxs("div",{className:Pr["modal-footer"],children:[Q.jsx("button",{className:Pr["modal-button"],onClick:t,children:"Cancel"}),Q.jsx("button",{onClick:r,className:`${Pr["text-white"]} ${Pr["confirm-btn"]} ${Pr["modal-button"]}`,children:"Confirm"})]})]})})}function op(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[Q.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function ip(){return Q.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Q.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),Q.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const sp="_avartarDropdownMenu_1d31a_13",ap="_navbar_1d31a_34",lp="_userContainer_1d31a_71",up="_userFullName_1d31a_77",cp="_userAvatar_1d31a_84",fp="_relative_1d31a_92",qt={"avatar-dropdown-item":"_avatar-dropdown-item_1d31a_1",avartarDropdownMenu:sp,navbar:ap,"navbar-container":"_navbar-container_1d31a_45","logo-container":"_logo-container_1d31a_53","right-side-container":"_right-side-container_1d31a_62",userContainer:lp,userFullName:up,userAvatar:cp,relative:fp,"cursor-pointer":"_cursor-pointer_1d31a_96"},dp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",hd=re.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ll=re.createContext({}),vc=re.createContext(null),jl=typeof document<"u",hp=jl?re.useLayoutEffect:re.useEffect,pd=re.createContext({strict:!1}),yc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),pp="framerAppearId",md="data-"+yc(pp);function mp(e,t,r,i){const{visualElement:s}=re.useContext(Ll),p=re.useContext(pd),g=re.useContext(vc),S=re.useContext(hd).reducedMotion,m=re.useRef();i=i||p.renderer,!m.current&&i&&(m.current=i(e,{visualState:t,parent:s,props:r,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:S}));const b=m.current;re.useInsertionEffect(()=>{b&&b.update(r,g)});const A=re.useRef(!!(r[md]&&!window.HandoffComplete));return hp(()=>{b&&(b.render(),A.current&&b.animationState&&b.animationState.animateChanges())}),re.useEffect(()=>{b&&(b.updateFeatures(),!A.current&&b.animationState&&b.animationState.animateChanges(),A.current&&(A.current=!1,window.HandoffComplete=!0))}),b}function as(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gp(e,t,r){return re.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):as(r)&&(r.current=i))},[t])}function ba(e){return typeof e=="string"||Array.isArray(e)}function Bl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const bc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xc=["initial",...bc];function Vl(e){return Bl(e.animate)||xc.some(t=>ba(e[t]))}function gd(e){return!!(Vl(e)||e.variants)}function vp(e,t){if(Vl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||ba(r)?r:void 0,animate:ba(i)?i:void 0}}return e.inherit!==!1?t:{}}function yp(e){const{initial:t,animate:r}=vp(e,re.useContext(Ll));return re.useMemo(()=>({initial:t,animate:r}),[Wc(t),Wc(r)])}function Wc(e){return Array.isArray(e)?e.join(" "):e}const Uc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},xa={};for(const e in Uc)xa[e]={isEnabled:t=>Uc[e].some(r=>!!t[r])};function bp(e){for(const t in e)xa[t]={...xa[t],...e[t]}}const vd=re.createContext({}),yd=re.createContext({}),xp=Symbol.for("motionComponentSymbol");function Sp({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&bp(e);function p(S,m){let b;const A={...re.useContext(hd),...S,layoutId:wp(S)},{isStatic:w}=A,D=yp(S),L=i(S,w);if(!w&&jl){D.visualElement=mp(s,L,A,t);const H=re.useContext(yd),Y=re.useContext(pd).strict;D.visualElement&&(b=D.visualElement.loadFeatures(A,Y,e,H))}return be.createElement(Ll.Provider,{value:D},b&&D.visualElement?be.createElement(b,{visualElement:D.visualElement,...A}):null,r(s,S,gp(L,D.visualElement,m),L,w,D.visualElement))}const g=re.forwardRef(p);return g[xp]=s,g}function wp({layoutId:e}){const t=re.useContext(vd).id;return t&&e!==void 0?t+"-"+e:e}function kp(e){function t(i,s={}){return Sp(e(i,s))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(i,s)=>(r.has(s)||r.set(s,t(s)),r.get(s))})}const Tp=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Sc(e){return typeof e!="string"||e.includes("-")?!1:!!(Tp.indexOf(e)>-1||/[A-Z]/.test(e))}const El={};function Cp(e){Object.assign(El,e)}const wa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ai=new Set(wa);function bd(e,{layout:t,layoutId:r}){return ai.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!El[e]||e==="opacity")}const Ut=e=>!!(e&&e.getVelocity),Ep={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Rp=wa.length;function Pp(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,s){let p="";for(let g=0;g<Rp;g++){const S=wa[g];if(e[S]!==void 0){const m=Ep[S]||S;p+=`${m}(${e[S]}) `}}return t&&!e.z&&(p+="translateZ(0)"),p=p.trim(),s?p=s(e,i?"":p):r&&i&&(p="none"),p}const xd=e=>t=>typeof t=="string"&&t.startsWith(e),Sd=xd("--"),ec=xd("var(--"),Ap=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Ip=(e,t)=>t&&typeof e=="number"?t.transform(e):e,ho=(e,t,r)=>Math.min(Math.max(r,e),t),li={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ma={...li,transform:e=>ho(0,1,e)},ml={...li,default:1},ga=e=>Math.round(e*1e5)/1e5,zl=/(-)?([\d]*\.?[\d])+/g,wd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Mp=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ka(e){return typeof e=="string"}const Ta=e=>({test:t=>ka(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),lo=Ta("deg"),Qn=Ta("%"),me=Ta("px"),Dp=Ta("vh"),Op=Ta("vw"),Nc={...Qn,parse:e=>Qn.parse(e)/100,transform:e=>Qn.transform(e*100)},Hc={...li,transform:Math.round},kd={borderWidth:me,borderTopWidth:me,borderRightWidth:me,borderBottomWidth:me,borderLeftWidth:me,borderRadius:me,radius:me,borderTopLeftRadius:me,borderTopRightRadius:me,borderBottomRightRadius:me,borderBottomLeftRadius:me,width:me,maxWidth:me,height:me,maxHeight:me,size:me,top:me,right:me,bottom:me,left:me,padding:me,paddingTop:me,paddingRight:me,paddingBottom:me,paddingLeft:me,margin:me,marginTop:me,marginRight:me,marginBottom:me,marginLeft:me,rotate:lo,rotateX:lo,rotateY:lo,rotateZ:lo,scale:ml,scaleX:ml,scaleY:ml,scaleZ:ml,skew:lo,skewX:lo,skewY:lo,distance:me,translateX:me,translateY:me,translateZ:me,x:me,y:me,z:me,perspective:me,transformPerspective:me,opacity:ma,originX:Nc,originY:Nc,originZ:me,zIndex:Hc,fillOpacity:ma,strokeOpacity:ma,numOctaves:Hc};function wc(e,t,r,i){const{style:s,vars:p,transform:g,transformOrigin:S}=e;let m=!1,b=!1,A=!0;for(const w in t){const D=t[w];if(Sd(w)){p[w]=D;continue}const L=kd[w],H=Ip(D,L);if(ai.has(w)){if(m=!0,g[w]=H,!A)continue;D!==(L.default||0)&&(A=!1)}else w.startsWith("origin")?(b=!0,S[w]=H):s[w]=H}if(t.transform||(m||i?s.transform=Pp(e.transform,r,A,i):s.transform&&(s.transform="none")),b){const{originX:w="50%",originY:D="50%",originZ:L=0}=S;s.transformOrigin=`${w} ${D} ${L}`}}const kc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Td(e,t,r){for(const i in t)!Ut(t[i])&&!bd(i,r)&&(e[i]=t[i])}function Fp({transformTemplate:e},t,r){return re.useMemo(()=>{const i=kc();return wc(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}function _p(e,t,r){const i=e.style||{},s={};return Td(s,i,e),Object.assign(s,Fp(e,t,r)),e.transformValues?e.transformValues(s):s}function Lp(e,t,r){const i={},s=_p(e,t,r);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const jp=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||jp.has(e)}let Cd=e=>!Rl(e);function Bp(e){e&&(Cd=t=>t.startsWith("on")?!Rl(t):e(t))}try{Bp(require("@emotion/is-prop-valid").default)}catch{}function Vp(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(Cd(s)||r===!0&&Rl(s)||!t&&!Rl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function $c(e,t,r){return typeof e=="string"?e:me.transform(t+r*e)}function zp(e,t,r){const i=$c(t,e.x,e.width),s=$c(r,e.y,e.height);return`${i} ${s}`}const Wp={offset:"stroke-dashoffset",array:"stroke-dasharray"},Up={offset:"strokeDashoffset",array:"strokeDasharray"};function Np(e,t,r=1,i=0,s=!0){e.pathLength=1;const p=s?Wp:Up;e[p.offset]=me.transform(-i);const g=me.transform(t),S=me.transform(r);e[p.array]=`${g} ${S}`}function Tc(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:p,pathLength:g,pathSpacing:S=1,pathOffset:m=0,...b},A,w,D){if(wc(e,b,A,D),w){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:L,style:H,dimensions:Y}=e;L.transform&&(Y&&(H.transform=L.transform),delete L.transform),Y&&(s!==void 0||p!==void 0||H.transform)&&(H.transformOrigin=zp(Y,s!==void 0?s:.5,p!==void 0?p:.5)),t!==void 0&&(L.x=t),r!==void 0&&(L.y=r),i!==void 0&&(L.scale=i),g!==void 0&&Np(L,g,S,m,!1)}const Ed=()=>({...kc(),attrs:{}}),Cc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Hp(e,t,r,i){const s=re.useMemo(()=>{const p=Ed();return Tc(p,t,{enableHardwareAcceleration:!1},Cc(i),e.transformTemplate),{...p.attrs,style:{...p.style}}},[t]);if(e.style){const p={};Td(p,e.style,e),s.style={...p,...s.style}}return s}function $p(e=!1){return(r,i,s,{latestValues:p},g)=>{const m=(Sc(r)?Hp:Lp)(i,p,g,r),A={...Vp(i,typeof r=="string",e),...m,ref:s},{children:w}=i,D=re.useMemo(()=>Ut(w)?w.get():w,[w]);return re.createElement(r,{...A,children:D})}}function Rd(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const p in r)e.style.setProperty(p,r[p])}const Pd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ad(e,t,r,i){Rd(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(Pd.has(s)?s:yc(s),t.attrs[s])}function Ec(e,t){const{style:r}=e,i={};for(const s in r)(Ut(r[s])||t.style&&Ut(t.style[s])||bd(s,e))&&(i[s]=r[s]);return i}function Id(e,t){const r=Ec(e,t);for(const i in e)if(Ut(e[i])||Ut(t[i])){const s=wa.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function Rc(e,t,r,i={},s={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),t}function Yp(e){const t=re.useRef(null);return t.current===null&&(t.current=e()),t.current}const Pl=e=>Array.isArray(e),Gp=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Xp=e=>Pl(e)?e[e.length-1]||0:e;function kl(e){const t=Ut(e)?e.get():e;return Gp(t)?t.toValue():t}function Zp({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,p){const g={latestValues:Jp(i,s,p,e),renderState:t()};return r&&(g.mount=S=>r(i,S,g)),g}const Md=e=>(t,r)=>{const i=re.useContext(Ll),s=re.useContext(vc),p=()=>Zp(e,t,i,s);return r?p():Yp(p)};function Jp(e,t,r,i){const s={},p=i(e,{});for(const D in p)s[D]=kl(p[D]);let{initial:g,animate:S}=e;const m=Vl(e),b=gd(e);t&&b&&!m&&e.inherit!==!1&&(g===void 0&&(g=t.initial),S===void 0&&(S=t.animate));let A=r?r.initial===!1:!1;A=A||g===!1;const w=A?S:g;return w&&typeof w!="boolean"&&!Bl(w)&&(Array.isArray(w)?w:[w]).forEach(L=>{const H=Rc(e,L);if(!H)return;const{transitionEnd:Y,transition:B,...F}=H;for(const Z in F){let X=F[Z];if(Array.isArray(X)){const ee=A?X.length-1:0;X=X[ee]}X!==null&&(s[Z]=X)}for(const Z in Y)s[Z]=Y[Z]}),s}const Xe=e=>e;class Yc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Qp(e){let t=new Yc,r=new Yc,i=0,s=!1,p=!1;const g=new WeakSet,S={schedule:(m,b=!1,A=!1)=>{const w=A&&s,D=w?t:r;return b&&g.add(m),D.add(m)&&w&&s&&(i=t.order.length),m},cancel:m=>{r.remove(m),g.delete(m)},process:m=>{if(s){p=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length,i)for(let b=0;b<i;b++){const A=t.order[b];A(m),g.has(A)&&(S.schedule(A),e())}s=!1,p&&(p=!1,S.process(m))}};return S}const gl=["prepare","read","update","preRender","render","postRender"],Kp=40;function qp(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},p=gl.reduce((w,D)=>(w[D]=Qp(()=>r=!0),w),{}),g=w=>p[w].process(s),S=()=>{const w=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(w-s.timestamp,Kp),1),s.timestamp=w,s.isProcessing=!0,gl.forEach(g),s.isProcessing=!1,r&&t&&(i=!1,e(S))},m=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:gl.reduce((w,D)=>{const L=p[D];return w[D]=(H,Y=!1,B=!1)=>(r||m(),L.schedule(H,Y,B)),w},{}),cancel:w=>gl.forEach(D=>p[D].cancel(w)),state:s,steps:p}}const{schedule:Be,cancel:Dr,state:mt,steps:ju}=qp(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xe,!0),em={useVisualState:Md({scrapeMotionValuesFromProps:Id,createRenderState:Ed,onMount:(e,t,{renderState:r,latestValues:i})=>{Be.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),Be.render(()=>{Tc(r,i,{enableHardwareAcceleration:!1},Cc(t.tagName),e.transformTemplate),Ad(t,r)})}})},tm={useVisualState:Md({scrapeMotionValuesFromProps:Ec,createRenderState:kc})};function nm(e,{forwardMotionProps:t=!1},r,i){return{...Sc(e)?em:tm,preloadedFeatures:r,useRender:$p(t),createVisualElement:i,Component:e}}function Ar(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}const Dd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Wl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const rm=e=>t=>Dd(t)&&e(t,Wl(t));function Ir(e,t,r,i){return Ar(e,t,rm(r),i)}const om=(e,t)=>r=>t(e(r)),co=(...e)=>e.reduce(om);function Od(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Gc=Od("dragHorizontal"),Xc=Od("dragVertical");function Fd(e){let t=!1;if(e==="y")t=Xc();else if(e==="x")t=Gc();else{const r=Gc(),i=Xc();r&&i?t=()=>{r(),i()}:(r&&r(),i&&i())}return t}function _d(){const e=Fd(!0);return e?(e(),!1):!0}class mo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Zc(e,t){const r="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),s=(p,g)=>{if(p.pointerType==="touch"||_d())return;const S=e.getProps();e.animationState&&S.whileHover&&e.animationState.setActive("whileHover",t),S[i]&&Be.update(()=>S[i](p,g))};return Ir(e.current,r,s,{passive:!e.getProps()[i]})}class im extends mo{mount(){this.unmount=co(Zc(this.node,!0),Zc(this.node,!1))}unmount(){}}class sm extends mo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=co(Ar(this.node.current,"focus",()=>this.onFocus()),Ar(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ld=(e,t)=>t?e===t?!0:Ld(e,t.parentElement):!1;function Bu(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Wl(r))}class am extends mo{constructor(){super(...arguments),this.removeStartListeners=Xe,this.removeEndListeners=Xe,this.removeAccessibleListeners=Xe,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),p=Ir(window,"pointerup",(S,m)=>{if(!this.checkPressEnd())return;const{onTap:b,onTapCancel:A,globalTapTarget:w}=this.node.getProps();Be.update(()=>{!w&&!Ld(this.node.current,S.target)?A&&A(S,m):b&&b(S,m)})},{passive:!(i.onTap||i.onPointerUp)}),g=Ir(window,"pointercancel",(S,m)=>this.cancelPress(S,m),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=co(p,g),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=p=>{if(p.key!=="Enter"||this.isPressing)return;const g=S=>{S.key!=="Enter"||!this.checkPressEnd()||Bu("up",(m,b)=>{const{onTap:A}=this.node.getProps();A&&Be.update(()=>A(m,b))})};this.removeEndListeners(),this.removeEndListeners=Ar(this.node.current,"keyup",g),Bu("down",(S,m)=>{this.startPress(S,m)})},r=Ar(this.node.current,"keydown",t),i=()=>{this.isPressing&&Bu("cancel",(p,g)=>this.cancelPress(p,g))},s=Ar(this.node.current,"blur",i);this.removeAccessibleListeners=co(r,s)}}startPress(t,r){this.isPressing=!0;const{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&Be.update(()=>i(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!_d()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&Be.update(()=>i(t,r))}mount(){const t=this.node.getProps(),r=Ir(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Ar(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=co(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const tc=new WeakMap,Vu=new WeakMap,lm=e=>{const t=tc.get(e.target);t&&t(e)},um=e=>{e.forEach(lm)};function cm({root:e,...t}){const r=e||document;Vu.has(r)||Vu.set(r,{});const i=Vu.get(r),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(um,{root:e,...t})),i[s]}function fm(e,t,r){const i=cm(t);return tc.set(e,r),i.observe(e),()=>{tc.delete(e),i.unobserve(e)}}const dm={some:0,all:1};class hm extends mo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:s="some",once:p}=t,g={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:dm[s]},S=m=>{const{isIntersecting:b}=m;if(this.isInView===b||(this.isInView=b,p&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:A,onViewportLeave:w}=this.node.getProps(),D=b?A:w;D&&D(m)};return fm(this.node.current,g,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(pm(t,r))&&this.startObserver()}unmount(){}}function pm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const mm={inView:{Feature:hm},tap:{Feature:am},focus:{Feature:sm},hover:{Feature:im}};function jd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function gm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.get()),t}function vm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.getVelocity()),t}function Ul(e,t,r){const i=e.getProps();return Rc(i,t,r!==void 0?r:i.custom,gm(e),vm(e))}let Ca=Xe,On=Xe;process.env.NODE_ENV!=="production"&&(Ca=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},On=(e,t)=>{if(!e)throw new Error(t)});const fo=e=>e*1e3,Mr=e=>e/1e3,ym={current:!1},Bd=e=>Array.isArray(e)&&typeof e[0]=="number";function Vd(e){return!!(!e||typeof e=="string"&&zd[e]||Bd(e)||Array.isArray(e)&&e.every(Vd))}const pa=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,zd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:pa([0,.65,.55,1]),circOut:pa([.55,0,1,.45]),backIn:pa([.31,.01,.66,-.59]),backOut:pa([.33,1.53,.69,.99])};function Wd(e){if(e)return Bd(e)?pa(e):Array.isArray(e)?e.map(Wd):zd[e]}function bm(e,t,r,{delay:i=0,duration:s,repeat:p=0,repeatType:g="loop",ease:S,times:m}={}){const b={[t]:r};m&&(b.offset=m);const A=Wd(S);return Array.isArray(A)&&(b.easing=A),e.animate(b,{delay:i,duration:s,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:p+1,direction:g==="reverse"?"alternate":"normal"})}function xm(e,{repeat:t,repeatType:r="loop"}){const i=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Ud=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Sm=1e-7,wm=12;function km(e,t,r,i,s){let p,g,S=0;do g=t+(r-t)/2,p=Ud(g,i,s)-e,p>0?r=g:t=g;while(Math.abs(p)>Sm&&++S<wm);return g}function Ea(e,t,r,i){if(e===t&&r===i)return Xe;const s=p=>km(p,0,1,e,r);return p=>p===0||p===1?p:Ud(s(p),t,i)}const Tm=Ea(.42,0,1,1),Cm=Ea(0,0,.58,1),Nd=Ea(.42,0,.58,1),Em=e=>Array.isArray(e)&&typeof e[0]!="number",Hd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$d=e=>t=>1-e(1-t),Pc=e=>1-Math.sin(Math.acos(e)),Yd=$d(Pc),Rm=Hd(Pc),Gd=Ea(.33,1.53,.69,.99),Ac=$d(Gd),Pm=Hd(Ac),Am=e=>(e*=2)<1?.5*Ac(e):.5*(2-Math.pow(2,-10*(e-1))),Jc={linear:Xe,easeIn:Tm,easeInOut:Nd,easeOut:Cm,circIn:Pc,circInOut:Rm,circOut:Yd,backIn:Ac,backInOut:Pm,backOut:Gd,anticipate:Am},Qc=e=>{if(Array.isArray(e)){On(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,i,s]=e;return Ea(t,r,i,s)}else if(typeof e=="string")return On(Jc[e]!==void 0,`Invalid easing type '${e}'`),Jc[e];return e},Ic=(e,t)=>r=>!!(ka(r)&&Mp.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Xd=(e,t,r)=>i=>{if(!ka(i))return i;const[s,p,g,S]=i.match(zl);return{[e]:parseFloat(s),[t]:parseFloat(p),[r]:parseFloat(g),alpha:S!==void 0?parseFloat(S):1}},Im=e=>ho(0,255,e),zu={...li,transform:e=>Math.round(Im(e))},ii={test:Ic("rgb","red"),parse:Xd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+zu.transform(e)+", "+zu.transform(t)+", "+zu.transform(r)+", "+ga(ma.transform(i))+")"};function Mm(e){let t="",r="",i="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const nc={test:Ic("#"),parse:Mm,transform:ii.transform},ls={test:Ic("hsl","hue"),parse:Xd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Qn.transform(ga(t))+", "+Qn.transform(ga(r))+", "+ga(ma.transform(i))+")"},Rt={test:e=>ii.test(e)||nc.test(e)||ls.test(e),parse:e=>ii.test(e)?ii.parse(e):ls.test(e)?ls.parse(e):nc.parse(e),transform:e=>ka(e)?e:e.hasOwnProperty("red")?ii.transform(e):ls.transform(e)},He=(e,t,r)=>-r*e+r*t+e;function Wu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Dm({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,p=0,g=0;if(!t)s=p=g=r;else{const S=r<.5?r*(1+t):r+t-r*t,m=2*r-S;s=Wu(m,S,e+1/3),p=Wu(m,S,e),g=Wu(m,S,e-1/3)}return{red:Math.round(s*255),green:Math.round(p*255),blue:Math.round(g*255),alpha:i}}const Uu=(e,t,r)=>{const i=e*e;return Math.sqrt(Math.max(0,r*(t*t-i)+i))},Om=[nc,ii,ls],Fm=e=>Om.find(t=>t.test(e));function Kc(e){const t=Fm(e);On(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ls&&(r=Dm(r)),r}const Zd=(e,t)=>{const r=Kc(e),i=Kc(t),s={...r};return p=>(s.red=Uu(r.red,i.red,p),s.green=Uu(r.green,i.green,p),s.blue=Uu(r.blue,i.blue,p),s.alpha=He(r.alpha,i.alpha,p),ii.transform(s))};function _m(e){var t,r;return isNaN(e)&&ka(e)&&(((t=e.match(zl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(wd))===null||r===void 0?void 0:r.length)||0)>0}const Jd={regex:Ap,countKey:"Vars",token:"${v}",parse:Xe},Qd={regex:wd,countKey:"Colors",token:"${c}",parse:Rt.parse},Kd={regex:zl,countKey:"Numbers",token:"${n}",parse:li.parse};function Nu(e,{regex:t,countKey:r,token:i,parse:s}){const p=e.tokenised.match(t);p&&(e["num"+r]=p.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...p.map(s)))}function Al(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nu(r,Jd),Nu(r,Qd),Nu(r,Kd),r}function qd(e){return Al(e).values}function eh(e){const{values:t,numColors:r,numVars:i,tokenised:s}=Al(e),p=t.length;return g=>{let S=s;for(let m=0;m<p;m++)m<i?S=S.replace(Jd.token,g[m]):m<i+r?S=S.replace(Qd.token,Rt.transform(g[m])):S=S.replace(Kd.token,ga(g[m]));return S}}const Lm=e=>typeof e=="number"?0:e;function jm(e){const t=qd(e);return eh(e)(t.map(Lm))}const po={test:_m,parse:qd,createTransformer:eh,getAnimatableNone:jm},th=(e,t)=>r=>`${r>0?t:e}`;function nh(e,t){return typeof e=="number"?r=>He(e,t,r):Rt.test(e)?Zd(e,t):e.startsWith("var(")?th(e,t):oh(e,t)}const rh=(e,t)=>{const r=[...e],i=r.length,s=e.map((p,g)=>nh(p,t[g]));return p=>{for(let g=0;g<i;g++)r[g]=s[g](p);return r}},Bm=(e,t)=>{const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=nh(e[s],t[s]));return s=>{for(const p in i)r[p]=i[p](s);return r}},oh=(e,t)=>{const r=po.createTransformer(t),i=Al(e),s=Al(t);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?co(rh(i.values,s.values),r):(Ca(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),th(e,t))},Sa=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},qc=(e,t)=>r=>He(e,t,r);function Vm(e){return typeof e=="number"?qc:typeof e=="string"?Rt.test(e)?Zd:oh:Array.isArray(e)?rh:typeof e=="object"?Bm:qc}function zm(e,t,r){const i=[],s=r||Vm(e[0]),p=e.length-1;for(let g=0;g<p;g++){let S=s(e[g],e[g+1]);if(t){const m=Array.isArray(t)?t[g]||Xe:t;S=co(m,S)}i.push(S)}return i}function ih(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const p=e.length;if(On(p===t.length,"Both input and output ranges must be the same length"),p===1)return()=>t[0];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());const g=zm(t,i,s),S=g.length,m=b=>{let A=0;if(S>1)for(;A<e.length-2&&!(b<e[A+1]);A++);const w=Sa(e[A],e[A+1],b);return g[A](w)};return r?b=>m(ho(e[0],e[p-1],b)):m}function Wm(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=Sa(0,t,i);e.push(He(r,1,s))}}function Um(e){const t=[0];return Wm(t,e.length-1),t}function Nm(e,t){return e.map(r=>r*t)}function Hm(e,t){return e.map(()=>t||Nd).splice(0,e.length-1)}function Il({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=Em(i)?i.map(Qc):Qc(i),p={done:!1,value:t[0]},g=Nm(r&&r.length===t.length?r:Um(t),e),S=ih(g,t,{ease:Array.isArray(s)?s:Hm(t,s)});return{calculatedDuration:e,next:m=>(p.value=S(m),p.done=m>=e,p)}}function sh(e,t){return t?e*(1e3/t):0}const $m=5;function ah(e,t,r){const i=Math.max(t-$m,0);return sh(r-e(i),t-i)}const Hu=.001,Ym=.01,ef=10,Gm=.05,Xm=1;function Zm({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let s,p;Ca(e<=fo(ef),"Spring duration must be 10 seconds or less");let g=1-t;g=ho(Gm,Xm,g),e=ho(Ym,ef,Mr(e)),g<1?(s=b=>{const A=b*g,w=A*e,D=A-r,L=rc(b,g),H=Math.exp(-w);return Hu-D/L*H},p=b=>{const w=b*g*e,D=w*r+r,L=Math.pow(g,2)*Math.pow(b,2)*e,H=Math.exp(-w),Y=rc(Math.pow(b,2),g);return(-s(b)+Hu>0?-1:1)*((D-L)*H)/Y}):(s=b=>{const A=Math.exp(-b*e),w=(b-r)*e+1;return-Hu+A*w},p=b=>{const A=Math.exp(-b*e),w=(r-b)*(e*e);return A*w});const S=5/e,m=Qm(s,p,S);if(e=fo(e),isNaN(m))return{stiffness:100,damping:10,duration:e};{const b=Math.pow(m,2)*i;return{stiffness:b,damping:g*2*Math.sqrt(i*b),duration:e}}}const Jm=12;function Qm(e,t,r){let i=r;for(let s=1;s<Jm;s++)i=i-e(i)/t(i);return i}function rc(e,t){return e*Math.sqrt(1-t*t)}const Km=["duration","bounce"],qm=["stiffness","damping","mass"];function tf(e,t){return t.some(r=>e[r]!==void 0)}function eg(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tf(e,qm)&&tf(e,Km)){const r=Zm(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function lh({keyframes:e,restDelta:t,restSpeed:r,...i}){const s=e[0],p=e[e.length-1],g={done:!1,value:s},{stiffness:S,damping:m,mass:b,duration:A,velocity:w,isResolvedFromDuration:D}=eg({...i,velocity:-Mr(i.velocity||0)}),L=w||0,H=m/(2*Math.sqrt(S*b)),Y=p-s,B=Mr(Math.sqrt(S/b)),F=Math.abs(Y)<5;r||(r=F?.01:2),t||(t=F?.005:.5);let Z;if(H<1){const X=rc(B,H);Z=ee=>{const ne=Math.exp(-H*B*ee);return p-ne*((L+H*B*Y)/X*Math.sin(X*ee)+Y*Math.cos(X*ee))}}else if(H===1)Z=X=>p-Math.exp(-B*X)*(Y+(L+B*Y)*X);else{const X=B*Math.sqrt(H*H-1);Z=ee=>{const ne=Math.exp(-H*B*ee),te=Math.min(X*ee,300);return p-ne*((L+H*B*Y)*Math.sinh(te)+X*Y*Math.cosh(te))/X}}return{calculatedDuration:D&&A||null,next:X=>{const ee=Z(X);if(D)g.done=X>=A;else{let ne=L;X!==0&&(H<1?ne=ah(Z,X,ee):ne=0);const te=Math.abs(ne)<=r,oe=Math.abs(p-ee)<=t;g.done=te&&oe}return g.value=g.done?p:ee,g}}}function nf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:p=500,modifyTarget:g,min:S,max:m,restDelta:b=.5,restSpeed:A}){const w=e[0],D={done:!1,value:w},L=le=>S!==void 0&&le<S||m!==void 0&&le>m,H=le=>S===void 0?m:m===void 0||Math.abs(S-le)<Math.abs(m-le)?S:m;let Y=r*t;const B=w+Y,F=g===void 0?B:g(B);F!==B&&(Y=F-w);const Z=le=>-Y*Math.exp(-le/i),X=le=>F+Z(le),ee=le=>{const ce=Z(le),Ue=X(le);D.done=Math.abs(ce)<=b,D.value=D.done?F:Ue};let ne,te;const oe=le=>{L(D.value)&&(ne=le,te=lh({keyframes:[D.value,H(D.value)],velocity:ah(X,le,D.value),damping:s,stiffness:p,restDelta:b,restSpeed:A}))};return oe(0),{calculatedDuration:null,next:le=>{let ce=!1;return!te&&ne===void 0&&(ce=!0,ee(le),oe(le)),ne!==void 0&&le>ne?te.next(le-ne):(!ce&&ee(le),D)}}}const tg=e=>{const t=({timestamp:r})=>e(r);return{start:()=>Be.update(t,!0),stop:()=>Dr(t),now:()=>mt.isProcessing?mt.timestamp:performance.now()}},rf=2e4;function of(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<rf;)t+=r,i=e.next(t);return t>=rf?1/0:t}const ng={decay:nf,inertia:nf,tween:Il,keyframes:Il,spring:lh};function Ml({autoplay:e=!0,delay:t=0,driver:r=tg,keyframes:i,type:s="keyframes",repeat:p=0,repeatDelay:g=0,repeatType:S="loop",onPlay:m,onStop:b,onComplete:A,onUpdate:w,...D}){let L=1,H=!1,Y,B;const F=()=>{B=new Promise(pe=>{Y=pe})};F();let Z;const X=ng[s]||Il;let ee;X!==Il&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&On(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),ee=ih([0,100],i,{clamp:!1}),i=[0,100]);const ne=X({...D,keyframes:i});let te;S==="mirror"&&(te=X({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let oe="idle",le=null,ce=null,Ue=null;ne.calculatedDuration===null&&p&&(ne.calculatedDuration=of(ne));const{calculatedDuration:$e}=ne;let Te=1/0,Ye=1/0;$e!==null&&(Te=$e+g,Ye=Te*(p+1)-g);let Re=0;const ht=pe=>{if(ce===null)return;L>0&&(ce=Math.min(ce,pe)),L<0&&(ce=Math.min(pe-Ye/L,ce)),le!==null?Re=le:Re=Math.round(pe-ce)*L;const ke=Re-t*(L>=0?1:-1),Ht=L>=0?ke<0:ke>Ye;Re=Math.max(ke,0),oe==="finished"&&le===null&&(Re=Ye);let gt=Re,Me=ne;if(p){const Ze=Math.min(Re,Ye)/Te;let st=Math.floor(Ze),De=Ze%1;!De&&Ze>=1&&(De=1),De===1&&st--,st=Math.min(st,p+1),!!(st%2)&&(S==="reverse"?(De=1-De,g&&(De-=g/Te)):S==="mirror"&&(Me=te)),gt=ho(0,1,De)*Te}const Ce=Ht?{done:!1,value:i[0]}:Me.next(gt);ee&&(Ce.value=ee(Ce.value));let{done:Pt}=Ce;!Ht&&$e!==null&&(Pt=L>=0?Re>=Ye:Re<=0);const $t=le===null&&(oe==="finished"||oe==="running"&&Pt);return w&&w(Ce.value),$t&&Qe(),Ce},Ie=()=>{Z&&Z.stop(),Z=void 0},it=()=>{oe="idle",Ie(),Y(),F(),ce=Ue=null},Qe=()=>{oe="finished",A&&A(),Ie(),Y()},Ve=()=>{if(H)return;Z||(Z=r(ht));const pe=Z.now();m&&m(),le!==null?ce=pe-le:(!ce||oe==="finished")&&(ce=pe),oe==="finished"&&F(),Ue=ce,le=null,oe="running",Z.start()};e&&Ve();const Nt={then(pe,ke){return B.then(pe,ke)},get time(){return Mr(Re)},set time(pe){pe=fo(pe),Re=pe,le!==null||!Z||L===0?le=pe:ce=Z.now()-pe/L},get duration(){const pe=ne.calculatedDuration===null?of(ne):ne.calculatedDuration;return Mr(pe)},get speed(){return L},set speed(pe){pe===L||!Z||(L=pe,Nt.time=Mr(Re))},get state(){return oe},play:Ve,pause:()=>{oe="paused",le=Re},stop:()=>{H=!0,oe!=="idle"&&(oe="idle",b&&b(),it())},cancel:()=>{Ue!==null&&ht(Ue),it()},complete:()=>{oe="finished"},sample:pe=>(ce=0,ht(pe))};return Nt}function rg(e){let t;return()=>(t===void 0&&(t=e()),t)}const og=rg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ig=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),vl=10,sg=2e4,ag=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Vd(t.ease);function lg(e,t,{onUpdate:r,onComplete:i,...s}){if(!(og()&&ig.has(t)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let g=!1,S,m,b=!1;const A=()=>{m=new Promise(X=>{S=X})};A();let{keyframes:w,duration:D=300,ease:L,times:H}=s;if(ag(t,s)){const X=Ml({...s,repeat:0,delay:0});let ee={done:!1,value:w[0]};const ne=[];let te=0;for(;!ee.done&&te<sg;)ee=X.sample(te),ne.push(ee.value),te+=vl;H=void 0,w=ne,D=te-vl,L="linear"}const Y=bm(e.owner.current,t,w,{...s,duration:D,ease:L,times:H}),B=()=>{b=!1,Y.cancel()},F=()=>{b=!0,Be.update(B),S(),A()};return Y.onfinish=()=>{b||(e.set(xm(w,s)),i&&i(),F())},{then(X,ee){return m.then(X,ee)},attachTimeline(X){return Y.timeline=X,Y.onfinish=null,Xe},get time(){return Mr(Y.currentTime||0)},set time(X){Y.currentTime=fo(X)},get speed(){return Y.playbackRate},set speed(X){Y.playbackRate=X},get duration(){return Mr(D)},play:()=>{g||(Y.play(),Dr(B))},pause:()=>Y.pause(),stop:()=>{if(g=!0,Y.playState==="idle")return;const{currentTime:X}=Y;if(X){const ee=Ml({...s,autoplay:!1});e.setWithVelocity(ee.sample(X-vl).value,ee.sample(X).value,vl)}F()},complete:()=>{b||Y.finish()},cancel:F}}function ug({keyframes:e,delay:t,onUpdate:r,onComplete:i}){const s=()=>(r&&r(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Xe,pause:Xe,stop:Xe,then:p=>(p(),Promise.resolve()),cancel:Xe,complete:Xe});return t?Ml({keyframes:[0,1],duration:0,delay:t,onComplete:s}):s()}const cg={type:"spring",stiffness:500,damping:25,restSpeed:10},fg=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dg={type:"keyframes",duration:.8},hg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pg=(e,{keyframes:t})=>t.length>2?dg:ai.has(e)?e.startsWith("scale")?fg(t[1]):cg:hg,oc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(po.test(t)||t==="0")&&!t.startsWith("url(")),mg=new Set(["brightness","contrast","saturate","opacity"]);function gg(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(zl)||[];if(!i)return e;const s=r.replace(i,"");let p=mg.has(t)?1:0;return i!==r&&(p*=100),t+"("+p+s+")"}const vg=/([a-z-]*)\(.*?\)/g,ic={...po,getAnimatableNone:e=>{const t=e.match(vg);return t?t.map(gg).join(" "):e}},yg={...kd,color:Rt,backgroundColor:Rt,outlineColor:Rt,fill:Rt,stroke:Rt,borderColor:Rt,borderTopColor:Rt,borderRightColor:Rt,borderBottomColor:Rt,borderLeftColor:Rt,filter:ic,WebkitFilter:ic},Mc=e=>yg[e];function uh(e,t){let r=Mc(e);return r!==ic&&(r=po),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const ch=e=>/^0[^.\s]+$/.test(e);function bg(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||ch(e)}function xg(e,t,r,i){const s=oc(t,r);let p;Array.isArray(r)?p=[...r]:p=[null,r];const g=i.from!==void 0?i.from:e.get();let S;const m=[];for(let b=0;b<p.length;b++)p[b]===null&&(p[b]=b===0?g:p[b-1]),bg(p[b])&&m.push(b),typeof p[b]=="string"&&p[b]!=="none"&&p[b]!=="0"&&(S=p[b]);if(s&&m.length&&S)for(let b=0;b<m.length;b++){const A=m[b];p[A]=uh(t,S)}return p}function Sg({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:p,repeatType:g,repeatDelay:S,from:m,elapsed:b,...A}){return!!Object.keys(A).length}function Dc(e,t){return e[t]||e.default||e}const wg={skipAnimations:!1},Oc=(e,t,r,i={})=>s=>{const p=Dc(i,e)||{},g=p.delay||i.delay||0;let{elapsed:S=0}=i;S=S-fo(g);const m=xg(t,e,r,p),b=m[0],A=m[m.length-1],w=oc(e,b),D=oc(e,A);Ca(w===D,`You are trying to animate ${e} from "${b}" to "${A}". ${b} is not an animatable value - to enable this animation set ${b} to a value animatable to ${A} via the \`style\` property.`);let L={keyframes:m,velocity:t.getVelocity(),ease:"easeOut",...p,delay:-S,onUpdate:H=>{t.set(H),p.onUpdate&&p.onUpdate(H)},onComplete:()=>{s(),p.onComplete&&p.onComplete()}};if(Sg(p)||(L={...L,...pg(e,L)}),L.duration&&(L.duration=fo(L.duration)),L.repeatDelay&&(L.repeatDelay=fo(L.repeatDelay)),!w||!D||ym.current||p.type===!1||wg.skipAnimations)return ug(L);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const H=lg(t,e,L);if(H)return H}return Ml(L)};function Dl(e){return!!(Ut(e)&&e.add)}const fh=e=>/^\-?\d*\.?\d+$/.test(e);function Fc(e,t){e.indexOf(t)===-1&&e.push(t)}function _c(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Lc{constructor(){this.subscriptions=[]}add(t){return Fc(this.subscriptions,t),()=>_c(this.subscriptions,t)}notify(t,r,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,i);else for(let p=0;p<s;p++){const g=this.subscriptions[p];g&&g(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const sf=new Set;function jc(e,t,r){e||sf.has(t)||(console.warn(t),r&&console.warn(r),sf.add(t))}const kg=e=>!isNaN(parseFloat(e));class Tg{constructor(t,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,s=!0)=>{this.prev=this.current,this.current=i;const{delta:p,timestamp:g}=mt;this.lastUpdated!==g&&(this.timeDelta=p,this.lastUpdated=g,Be.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Be.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=kg(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&jc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Lc);const i=this.events[t].add(r);return t==="change"?()=>{i(),Be.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?sh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ds(e,t){return new Tg(e,t)}const dh=e=>t=>t.test(e),Cg={test:e=>e==="auto",parse:e=>e},hh=[li,me,Qn,lo,Op,Dp,Cg],fa=e=>hh.find(dh(e)),Eg=[...hh,Rt,po],Rg=e=>Eg.find(dh(e));function Pg(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ds(r))}function Ag(e,t){const r=Ul(e,t);let{transitionEnd:i={},transition:s={},...p}=r?e.makeTargetAnimatable(r,!1):{};p={...p,...i};for(const g in p){const S=Xp(p[g]);Pg(e,g,S)}}function Ig(e,t,r){var i,s;const p=Object.keys(t).filter(S=>!e.hasValue(S)),g=p.length;if(g)for(let S=0;S<g;S++){const m=p[S],b=t[m];let A=null;Array.isArray(b)&&(A=b[0]),A===null&&(A=(s=(i=r[m])!==null&&i!==void 0?i:e.readValue(m))!==null&&s!==void 0?s:t[m]),A!=null&&(typeof A=="string"&&(fh(A)||ch(A))?A=parseFloat(A):!Rg(A)&&po.test(b)&&(A=uh(m,b)),e.addValue(m,ds(A,{owner:e})),r[m]===void 0&&(r[m]=A),A!==null&&e.setBaseTarget(m,A))}}function Mg(e,t){return t?(t[e]||t.default||t).from:void 0}function Dg(e,t,r){const i={};for(const s in e){const p=Mg(s,t);if(p!==void 0)i[s]=p;else{const g=r.getValue(s);g&&(i[s]=g.get())}}return i}function Og({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function Fg(e,t){const r=e.get();if(Array.isArray(t)){for(let i=0;i<t.length;i++)if(t[i]!==r)return!0}else return r!==t}function ph(e,t,{delay:r=0,transitionOverride:i,type:s}={}){let{transition:p=e.getDefaultTransition(),transitionEnd:g,...S}=e.makeTargetAnimatable(t);const m=e.getValue("willChange");i&&(p=i);const b=[],A=s&&e.animationState&&e.animationState.getState()[s];for(const w in S){const D=e.getValue(w),L=S[w];if(!D||L===void 0||A&&Og(A,w))continue;const H={delay:r,elapsed:0,...Dc(p||{},w)};if(window.HandoffAppearAnimations){const F=e.getProps()[md];if(F){const Z=window.HandoffAppearAnimations(F,w,D,Be);Z!==null&&(H.elapsed=Z,H.isHandoff=!0)}}let Y=!H.isHandoff&&!Fg(D,L);if(H.type==="spring"&&(D.getVelocity()||H.velocity)&&(Y=!1),D.animation&&(Y=!1),Y)continue;D.start(Oc(w,D,L,e.shouldReduceMotion&&ai.has(w)?{type:!1}:H));const B=D.animation;Dl(m)&&(m.add(w),B.then(()=>m.remove(w))),b.push(B)}return g&&Promise.all(b).then(()=>{g&&Ag(e,g)}),b}function sc(e,t,r={}){const i=Ul(e,t,r.custom);let{transition:s=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(s=r.transitionOverride);const p=i?()=>Promise.all(ph(e,i,r)):()=>Promise.resolve(),g=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:b=0,staggerChildren:A,staggerDirection:w}=s;return _g(e,t,b+m,A,w,r)}:()=>Promise.resolve(),{when:S}=s;if(S){const[m,b]=S==="beforeChildren"?[p,g]:[g,p];return m().then(()=>b())}else return Promise.all([p(),g(r.delay)])}function _g(e,t,r=0,i=0,s=1,p){const g=[],S=(e.variantChildren.size-1)*i,m=s===1?(b=0)=>b*i:(b=0)=>S-b*i;return Array.from(e.variantChildren).sort(Lg).forEach((b,A)=>{b.notify("AnimationStart",t),g.push(sc(b,t,{...p,delay:r+m(A)}).then(()=>b.notify("AnimationComplete",t)))}),Promise.all(g)}function Lg(e,t){return e.sortNodePosition(t)}function jg(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(p=>sc(e,p,r));i=Promise.all(s)}else if(typeof t=="string")i=sc(e,t,r);else{const s=typeof t=="function"?Ul(e,t,r.custom):t;i=Promise.all(ph(e,s,r))}return i.then(()=>e.notify("AnimationComplete",t))}const Bg=[...bc].reverse(),Vg=bc.length;function zg(e){return t=>Promise.all(t.map(({animation:r,options:i})=>jg(e,r,i)))}function Wg(e){let t=zg(e);const r=Ng();let i=!0;const s=(m,b)=>{const A=Ul(e,b);if(A){const{transition:w,transitionEnd:D,...L}=A;m={...m,...L,...D}}return m};function p(m){t=m(e)}function g(m,b){const A=e.getProps(),w=e.getVariantContext(!0)||{},D=[],L=new Set;let H={},Y=1/0;for(let F=0;F<Vg;F++){const Z=Bg[F],X=r[Z],ee=A[Z]!==void 0?A[Z]:w[Z],ne=ba(ee),te=Z===b?X.isActive:null;te===!1&&(Y=F);let oe=ee===w[Z]&&ee!==A[Z]&&ne;if(oe&&i&&e.manuallyAnimateOnMount&&(oe=!1),X.protectedKeys={...H},!X.isActive&&te===null||!ee&&!X.prevProp||Bl(ee)||typeof ee=="boolean")continue;let ce=Ug(X.prevProp,ee)||Z===b&&X.isActive&&!oe&&ne||F>Y&&ne,Ue=!1;const $e=Array.isArray(ee)?ee:[ee];let Te=$e.reduce(s,{});te===!1&&(Te={});const{prevResolvedValues:Ye={}}=X,Re={...Ye,...Te},ht=Ie=>{ce=!0,L.has(Ie)&&(Ue=!0,L.delete(Ie)),X.needsAnimating[Ie]=!0};for(const Ie in Re){const it=Te[Ie],Qe=Ye[Ie];if(H.hasOwnProperty(Ie))continue;let Ve=!1;Pl(it)&&Pl(Qe)?Ve=!jd(it,Qe):Ve=it!==Qe,Ve?it!==void 0?ht(Ie):L.add(Ie):it!==void 0&&L.has(Ie)?ht(Ie):X.protectedKeys[Ie]=!0}X.prevProp=ee,X.prevResolvedValues=Te,X.isActive&&(H={...H,...Te}),i&&e.blockInitialAnimation&&(ce=!1),ce&&(!oe||Ue)&&D.push(...$e.map(Ie=>({animation:Ie,options:{type:Z,...m}})))}if(L.size){const F={};L.forEach(Z=>{const X=e.getBaseTarget(Z);X!==void 0&&(F[Z]=X)}),D.push({animation:F})}let B=!!D.length;return i&&(A.initial===!1||A.initial===A.animate)&&!e.manuallyAnimateOnMount&&(B=!1),i=!1,B?t(D):Promise.resolve()}function S(m,b,A){var w;if(r[m].isActive===b)return Promise.resolve();(w=e.variantChildren)===null||w===void 0||w.forEach(L=>{var H;return(H=L.animationState)===null||H===void 0?void 0:H.setActive(m,b)}),r[m].isActive=b;const D=g(A,m);for(const L in r)r[L].protectedKeys={};return D}return{animateChanges:g,setActive:S,setAnimateFunction:p,getState:()=>r}}function Ug(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!jd(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ng(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Hg extends mo{constructor(t){super(t),t.animationState||(t.animationState=Wg(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Bl(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let $g=0;class Yg extends mo{constructor(){super(...arguments),this.id=$g++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const p=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});r&&!t&&p.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Gg={animation:{Feature:Hg},exit:{Feature:Yg}},af=(e,t)=>Math.abs(e-t);function Xg(e,t){const r=af(e.x,t.x),i=af(e.y,t.y);return Math.sqrt(r**2+i**2)}class mh{constructor(t,r,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:p=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Yu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,L=Xg(w.offset,{x:0,y:0})>=3;if(!D&&!L)return;const{point:H}=w,{timestamp:Y}=mt;this.history.push({...H,timestamp:Y});const{onStart:B,onMove:F}=this.handlers;D||(B&&B(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,w)},this.handlePointerMove=(w,D)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=$u(D,this.transformPagePoint),Be.update(this.updatePoint,!0)},this.handlePointerUp=(w,D)=>{this.end();const{onEnd:L,onSessionEnd:H,resumeAnimation:Y}=this.handlers;if(this.dragSnapToOrigin&&Y&&Y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=Yu(w.type==="pointercancel"?this.lastMoveEventInfo:$u(D,this.transformPagePoint),this.history);this.startEvent&&L&&L(w,B),H&&H(w,B)},!Dd(t))return;this.dragSnapToOrigin=p,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const g=Wl(t),S=$u(g,this.transformPagePoint),{point:m}=S,{timestamp:b}=mt;this.history=[{...m,timestamp:b}];const{onSessionStart:A}=r;A&&A(t,Yu(S,this.history)),this.removeListeners=co(Ir(this.contextWindow,"pointermove",this.handlePointerMove),Ir(this.contextWindow,"pointerup",this.handlePointerUp),Ir(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function lf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:lf(e,gh(t)),offset:lf(e,Zg(t)),velocity:Jg(t,.1)}}function Zg(e){return e[0]}function gh(e){return e[e.length-1]}function Jg(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=gh(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>fo(t)));)r--;if(!i)return{x:0,y:0};const p=Mr(s.timestamp-i.timestamp);if(p===0)return{x:0,y:0};const g={x:(s.x-i.x)/p,y:(s.y-i.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function en(e){return e.max-e.min}function ac(e,t=0,r=.01){return Math.abs(e-t)<=r}function uf(e,t,r,i=.5){e.origin=i,e.originPoint=He(t.min,t.max,e.origin),e.scale=en(r)/en(t),(ac(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=He(r.min,r.max,e.origin)-e.originPoint,(ac(e.translate)||isNaN(e.translate))&&(e.translate=0)}function va(e,t,r,i){uf(e.x,t.x,r.x,i?i.originX:void 0),uf(e.y,t.y,r.y,i?i.originY:void 0)}function cf(e,t,r){e.min=r.min+t.min,e.max=e.min+en(t)}function Qg(e,t,r){cf(e.x,t.x,r.x),cf(e.y,t.y,r.y)}function ff(e,t,r){e.min=t.min-r.min,e.max=e.min+en(t)}function ya(e,t,r){ff(e.x,t.x,r.x),ff(e.y,t.y,r.y)}function Kg(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?He(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?He(r,e,i.max):Math.min(e,r)),e}function df(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function qg(e,{top:t,left:r,bottom:i,right:s}){return{x:df(e.x,r,s),y:df(e.y,t,i)}}function hf(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function ev(e,t){return{x:hf(e.x,t.x),y:hf(e.y,t.y)}}function tv(e,t){let r=.5;const i=en(e),s=en(t);return s>i?r=Sa(t.min,t.max-i,e.min):i>s&&(r=Sa(e.min,e.max-s,t.min)),ho(0,1,r)}function nv(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const lc=.35;function rv(e=lc){return e===!1?e=0:e===!0&&(e=lc),{x:pf(e,"left","right"),y:pf(e,"top","bottom")}}function pf(e,t,r){return{min:mf(e,t),max:mf(e,r)}}function mf(e,t){return typeof e=="number"?e:e[t]||0}const gf=()=>({translate:0,scale:1,origin:0,originPoint:0}),us=()=>({x:gf(),y:gf()}),vf=()=>({min:0,max:0}),qe=()=>({x:vf(),y:vf()});function yn(e){return[e("x"),e("y")]}function vh({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function ov({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function iv(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Gu(e){return e===void 0||e===1}function uc({scale:e,scaleX:t,scaleY:r}){return!Gu(e)||!Gu(t)||!Gu(r)}function ri(e){return uc(e)||yh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function yh(e){return yf(e.x)||yf(e.y)}function yf(e){return e&&e!=="0%"}function Ol(e,t,r){const i=e-r,s=t*i;return r+s}function bf(e,t,r,i,s){return s!==void 0&&(e=Ol(e,s,i)),Ol(e,r,i)+t}function cc(e,t=0,r=1,i,s){e.min=bf(e.min,t,r,i,s),e.max=bf(e.max,t,r,i,s)}function bh(e,{x:t,y:r}){cc(e.x,t.translate,t.scale,t.originPoint),cc(e.y,r.translate,r.scale,r.originPoint)}function sv(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let p,g;for(let S=0;S<s;S++){p=r[S],g=p.projectionDelta;const m=p.instance;m&&m.style&&m.style.display==="contents"||(i&&p.options.layoutScroll&&p.scroll&&p!==p.root&&cs(e,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),g&&(t.x*=g.x.scale,t.y*=g.y.scale,bh(e,g)),i&&ri(p.latestValues)&&cs(e,p.latestValues))}t.x=xf(t.x),t.y=xf(t.y)}function xf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function uo(e,t){e.min=e.min+t,e.max=e.max+t}function Sf(e,t,[r,i,s]){const p=t[s]!==void 0?t[s]:.5,g=He(e.min,e.max,p);cc(e,t[r],t[i],g,t.scale)}const av=["x","scaleX","originX"],lv=["y","scaleY","originY"];function cs(e,t){Sf(e.x,t,av),Sf(e.y,t,lv)}function xh(e,t){return vh(iv(e.getBoundingClientRect(),t))}function uv(e,t,r){const i=xh(e,r),{scroll:s}=t;return s&&(uo(i.x,s.offset.x),uo(i.y,s.offset.y)),i}const Sh=({current:e})=>e?e.ownerDocument.defaultView:null,cv=new WeakMap;class fv{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=qe(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=A=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Wl(A,"page").point)},p=(A,w)=>{const{drag:D,dragPropagation:L,onDragStart:H}=this.getProps();if(D&&!L&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Fd(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yn(B=>{let F=this.getAxisMotionValue(B).get()||0;if(Qn.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const X=Z.layout.layoutBox[B];X&&(F=en(X)*(parseFloat(F)/100))}}this.originPoint[B]=F}),H&&Be.update(()=>H(A,w),!1,!0);const{animationState:Y}=this.visualElement;Y&&Y.setActive("whileDrag",!0)},g=(A,w)=>{const{dragPropagation:D,dragDirectionLock:L,onDirectionLock:H,onDrag:Y}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:B}=w;if(L&&this.currentDirection===null){this.currentDirection=dv(B),this.currentDirection!==null&&H&&H(this.currentDirection);return}this.updateAxis("x",w.point,B),this.updateAxis("y",w.point,B),this.visualElement.render(),Y&&Y(A,w)},S=(A,w)=>this.stop(A,w),m=()=>yn(A=>{var w;return this.getAnimationState(A)==="paused"&&((w=this.getAxisMotionValue(A).animation)===null||w===void 0?void 0:w.play())}),{dragSnapToOrigin:b}=this.getProps();this.panSession=new mh(t,{onSessionStart:s,onStart:p,onMove:g,onSessionEnd:S,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,contextWindow:Sh(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:p}=this.getProps();p&&Be.update(()=>p(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:s}=this.getProps();if(!i||!yl(t,s,this.currentDirection))return;const p=this.getAxisMotionValue(t);let g=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(g=Kg(g,this.constraints[t],this.elastic[t])),p.set(g)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,p=this.constraints;r&&as(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=qg(s.layoutBox,r):this.constraints=!1,this.elastic=rv(i),p!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&yn(g=>{this.getAxisMotionValue(g)&&(this.constraints[g]=nv(s.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!as(t))return!1;const i=t.current;On(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const p=uv(i,s.root,this.visualElement.getTransformPagePoint());let g=ev(s.layout.layoutBox,p);if(r){const S=r(ov(g));this.hasMutatedConstraints=!!S,S&&(g=vh(S))}return g}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:S}=this.getProps(),m=this.constraints||{},b=yn(A=>{if(!yl(A,r,this.currentDirection))return;let w=m&&m[A]||{};g&&(w={min:0,max:0});const D=s?200:1e6,L=s?40:1e7,H={type:"inertia",velocity:i?t[A]:0,bounceStiffness:D,bounceDamping:L,timeConstant:750,restDelta:1,restSpeed:10,...p,...w};return this.startAxisValueAnimation(A,H)});return Promise.all(b).then(S)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return i.start(Oc(t,i,0,r))}stopAnimation(){yn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){yn(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),s=i[r];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){yn(r=>{const{drag:i}=this.getProps();if(!yl(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,p=this.getAxisMotionValue(r);if(s&&s.layout){const{min:g,max:S}=s.layout.layoutBox[r];p.set(t[r]-He(g,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!as(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};yn(g=>{const S=this.getAxisMotionValue(g);if(S){const m=S.get();s[g]=tv({min:m,max:m},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),yn(g=>{if(!yl(g,t,null))return;const S=this.getAxisMotionValue(g),{min:m,max:b}=this.constraints[g];S.set(He(m,b,s[g]))})}addListeners(){if(!this.visualElement.current)return;cv.set(this.visualElement,this);const t=this.visualElement.current,r=Ir(t,"pointerdown",m=>{const{drag:b,dragListener:A=!0}=this.getProps();b&&A&&this.start(m)}),i=()=>{const{dragConstraints:m}=this.getProps();as(m)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,p=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();const g=Ar(window,"resize",()=>this.scalePositionWithinConstraints()),S=s.addEventListener("didUpdate",({delta:m,hasLayoutChanged:b})=>{this.isDragging&&b&&(yn(A=>{const w=this.getAxisMotionValue(A);w&&(this.originPoint[A]+=m[A].translate,w.set(w.get()+m[A].translate))}),this.visualElement.render())});return()=>{g(),r(),p(),S&&S()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:p=!1,dragElastic:g=lc,dragMomentum:S=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:p,dragElastic:g,dragMomentum:S}}}function yl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function dv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class hv extends mo{constructor(t){super(t),this.removeGroupControls=Xe,this.removeListeners=Xe,this.controls=new fv(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xe}unmount(){this.removeGroupControls(),this.removeListeners()}}const wf=e=>(t,r)=>{e&&Be.update(()=>e(t,r))};class pv extends mo{constructor(){super(...arguments),this.removePointerDownListener=Xe}onPointerDown(t){this.session=new mh(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sh(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:wf(t),onStart:wf(r),onMove:i,onEnd:(p,g)=>{delete this.session,s&&Be.update(()=>s(p,g))}}}mount(){this.removePointerDownListener=Ir(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function mv(){const e=re.useContext(vc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=re.useId();return re.useEffect(()=>i(s),[]),!t&&r?[!1,()=>r&&r(s)]:[!0]}const Tl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const da={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(me.test(e))e=parseFloat(e);else return e;const r=kf(e,t.target.x),i=kf(e,t.target.y);return`${r}% ${i}%`}},gv={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=po.parse(e);if(s.length>5)return i;const p=po.createTransformer(e),g=typeof s[0]!="number"?1:0,S=r.x.scale*t.x,m=r.y.scale*t.y;s[0+g]/=S,s[1+g]/=m;const b=He(S,m,.5);return typeof s[2+g]=="number"&&(s[2+g]/=b),typeof s[3+g]=="number"&&(s[3+g]/=b),p(s)}};class vv extends re.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:p}=t;Cp(yv),p&&(r.group&&r.group.add(p),i&&i.register&&s&&i.register(p),p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),Tl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:p}=this.props,g=i.projection;return g&&(g.isPresent=p,s||t.layoutDependency!==r||r===void 0?g.willUpdate():this.safeToRemove(),t.isPresent!==p&&(p?g.promote():g.relegate()||Be.postRender(()=>{const S=g.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function wh(e){const[t,r]=mv(),i=re.useContext(vd);return re.createElement(vv,{...e,layoutGroup:i,switchLayoutGroup:re.useContext(yd),isPresent:t,safeToRemove:r})}const yv={borderRadius:{...da,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:da,borderTopRightRadius:da,borderBottomLeftRadius:da,borderBottomRightRadius:da,boxShadow:gv},kh=["TopLeft","TopRight","BottomLeft","BottomRight"],bv=kh.length,Tf=e=>typeof e=="string"?parseFloat(e):e,Cf=e=>typeof e=="number"||me.test(e);function xv(e,t,r,i,s,p){s?(e.opacity=He(0,r.opacity!==void 0?r.opacity:1,Sv(i)),e.opacityExit=He(t.opacity!==void 0?t.opacity:1,0,wv(i))):p&&(e.opacity=He(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let g=0;g<bv;g++){const S=`border${kh[g]}Radius`;let m=Ef(t,S),b=Ef(r,S);if(m===void 0&&b===void 0)continue;m||(m=0),b||(b=0),m===0||b===0||Cf(m)===Cf(b)?(e[S]=Math.max(He(Tf(m),Tf(b),i),0),(Qn.test(b)||Qn.test(m))&&(e[S]+="%")):e[S]=b}(t.rotate||r.rotate)&&(e.rotate=He(t.rotate||0,r.rotate||0,i))}function Ef(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Sv=Th(0,.5,Yd),wv=Th(.5,.95,Xe);function Th(e,t,r){return i=>i<e?0:i>t?1:r(Sa(e,t,i))}function Rf(e,t){e.min=t.min,e.max=t.max}function vn(e,t){Rf(e.x,t.x),Rf(e.y,t.y)}function Pf(e,t,r,i,s){return e-=t,e=Ol(e,1/r,i),s!==void 0&&(e=Ol(e,1/s,i)),e}function kv(e,t=0,r=1,i=.5,s,p=e,g=e){if(Qn.test(t)&&(t=parseFloat(t),t=He(g.min,g.max,t/100)-g.min),typeof t!="number")return;let S=He(p.min,p.max,i);e===p&&(S-=t),e.min=Pf(e.min,t,r,S,s),e.max=Pf(e.max,t,r,S,s)}function Af(e,t,[r,i,s],p,g){kv(e,t[r],t[i],t[s],t.scale,p,g)}const Tv=["x","scaleX","originX"],Cv=["y","scaleY","originY"];function If(e,t,r,i){Af(e.x,t,Tv,r?r.x:void 0,i?i.x:void 0),Af(e.y,t,Cv,r?r.y:void 0,i?i.y:void 0)}function Mf(e){return e.translate===0&&e.scale===1}function Ch(e){return Mf(e.x)&&Mf(e.y)}function Ev(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Eh(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Df(e){return en(e.x)/en(e.y)}class Rv{constructor(){this.members=[]}add(t){Fc(this.members,t),t.scheduleRender()}remove(t){if(_c(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let i;for(let s=r;s>=0;s--){const p=this.members[s];if(p.isPresent!==!1){i=p;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Of(e,t,r){let i="";const s=e.x.translate/t.x,p=e.y.translate/t.y;if((s||p)&&(i=`translate3d(${s}px, ${p}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:m,rotateX:b,rotateY:A}=r;m&&(i+=`rotate(${m}deg) `),b&&(i+=`rotateX(${b}deg) `),A&&(i+=`rotateY(${A}deg) `)}const g=e.x.scale*t.x,S=e.y.scale*t.y;return(g!==1||S!==1)&&(i+=`scale(${g}, ${S})`),i||"none"}const Pv=(e,t)=>e.depth-t.depth;class Av{constructor(){this.children=[],this.isDirty=!1}add(t){Fc(this.children,t),this.isDirty=!0}remove(t){_c(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Pv),this.isDirty=!1,this.children.forEach(t)}}function Iv(e,t){const r=performance.now(),i=({timestamp:s})=>{const p=s-r;p>=t&&(Dr(i),e(p-t))};return Be.read(i,!0),()=>Dr(i)}function Mv(e){window.MotionDebug&&window.MotionDebug.record(e)}function Dv(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Ov(e,t,r){const i=Ut(e)?e:ds(e);return i.start(Oc("",i,t,r)),i.animation}const Ff=["","X","Y","Z"],Fv={visibility:"hidden"},_f=1e3;let _v=0;const oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Rh({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(g={},S=t==null?void 0:t()){this.id=_v++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0,this.nodes.forEach(Bv),this.nodes.forEach(Nv),this.nodes.forEach(Hv),this.nodes.forEach(Vv),Mv(oi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new Av)}addEventListener(g,S){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Lc),this.eventHandlers.get(g).add(S)}notifyListeners(g,...S){const m=this.eventHandlers.get(g);m&&m.notify(...S)}hasListeners(g){return this.eventHandlers.has(g)}mount(g,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Dv(g),this.instance=g;const{layoutId:m,layout:b,visualElement:A}=this.options;if(A&&!A.current&&A.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(b||m)&&(this.isLayoutDirty=!0),e){let w;const D=()=>this.root.updateBlockedByResize=!1;e(g,()=>{this.root.updateBlockedByResize=!0,w&&w(),w=Iv(D,250),Tl.hasAnimatedSinceResize&&(Tl.hasAnimatedSinceResize=!1,this.nodes.forEach(jf))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&A&&(m||b)&&this.addEventListener("didUpdate",({delta:w,hasLayoutChanged:D,hasRelativeTargetChanged:L,layout:H})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const Y=this.options.transition||A.getDefaultTransition()||Zv,{onLayoutAnimationStart:B,onLayoutAnimationComplete:F}=A.getProps(),Z=!this.targetLayout||!Eh(this.targetLayout,H)||L,X=!D&&L;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||X||D&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(w,X);const ee={...Dc(Y,"layout"),onPlay:B,onComplete:F};(A.shouldReduceMotion||this.options.layoutRoot)&&(ee.delay=0,ee.type=!1),this.startAnimation(ee)}else D||jf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=H})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach($v),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const w=this.path[A];w.shouldResetTransform=!0,w.updateScroll("snapshot"),w.options.layoutRoot&&w.willUpdate(!1)}const{layoutId:S,layout:m}=this.options;if(S===void 0&&!m)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Lf);return}this.isUpdating||this.nodes.forEach(Wv),this.isUpdating=!1,this.nodes.forEach(Uv),this.nodes.forEach(Lv),this.nodes.forEach(jv),this.clearAllSnapshots();const S=performance.now();mt.delta=ho(0,1e3/60,S-mt.timestamp),mt.timestamp=S,mt.isProcessing=!0,ju.update.process(mt),ju.preRender.process(mt),ju.render.process(mt),mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(zv),this.sharedNodes.forEach(Yv)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Be.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Be.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=qe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:g,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!s)return;const g=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Ch(this.projectionDelta),m=this.getTransformTemplate(),b=m?m(this.latestValues,""):void 0,A=b!==this.prevTransformTemplateValue;g&&(S||ri(this.latestValues)||A)&&(s(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const S=this.measurePageBox();let m=this.removeElementScroll(S);return g&&(m=this.removeTransform(m)),Jv(m),{animationId:this.root.animationId,measuredBox:S,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:g}=this.options;if(!g)return qe();const S=g.measureViewportBox(),{scroll:m}=this.root;return m&&(uo(S.x,m.offset.x),uo(S.y,m.offset.y)),S}removeElementScroll(g){const S=qe();vn(S,g);for(let m=0;m<this.path.length;m++){const b=this.path[m],{scroll:A,options:w}=b;if(b!==this.root&&A&&w.layoutScroll){if(A.isRoot){vn(S,g);const{scroll:D}=this.root;D&&(uo(S.x,-D.offset.x),uo(S.y,-D.offset.y))}uo(S.x,A.offset.x),uo(S.y,A.offset.y)}}return S}applyTransform(g,S=!1){const m=qe();vn(m,g);for(let b=0;b<this.path.length;b++){const A=this.path[b];!S&&A.options.layoutScroll&&A.scroll&&A!==A.root&&cs(m,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),ri(A.latestValues)&&cs(m,A.latestValues)}return ri(this.latestValues)&&cs(m,this.latestValues),m}removeTransform(g){const S=qe();vn(S,g);for(let m=0;m<this.path.length;m++){const b=this.path[m];if(!b.instance||!ri(b.latestValues))continue;uc(b.latestValues)&&b.updateSnapshot();const A=qe(),w=b.measurePageBox();vn(A,w),If(S,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,A)}return ri(this.latestValues)&&If(S,this.latestValues),S}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var S;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==m;if(!(g||b&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:w,layoutId:D}=this.options;if(!(!this.layout||!(w||D))){if(this.resolvedRelativeTargetAt=mt.timestamp,!this.targetDelta&&!this.relativeTarget){const L=this.getClosestProjectingParent();L&&L.layout&&this.animationProgress!==1?(this.relativeParent=L,this.forceRelativeParentToResolveTarget(),this.relativeTarget=qe(),this.relativeTargetOrigin=qe(),ya(this.relativeTargetOrigin,this.layout.layoutBox,L.layout.layoutBox),vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=qe(),this.targetWithTransforms=qe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Qg(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):vn(this.target,this.layout.layoutBox),bh(this.target,this.targetDelta)):vn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const L=this.getClosestProjectingParent();L&&!!L.resumingFrom==!!this.resumingFrom&&!L.options.layoutScroll&&L.target&&this.animationProgress!==1?(this.relativeParent=L,this.forceRelativeParentToResolveTarget(),this.relativeTarget=qe(),this.relativeTargetOrigin=qe(),ya(this.relativeTargetOrigin,this.target,L.target),vn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}oi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||uc(this.parent.latestValues)||yh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var g;const S=this.getLead(),m=!!this.resumingFrom||this!==S;let b=!0;if((this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty)&&(b=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===mt.timestamp&&(b=!1),b)return;const{layout:A,layoutId:w}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||w))return;vn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,L=this.treeScale.y;sv(this.layoutCorrected,this.treeScale,this.path,m),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:H}=S;if(!H){this.projectionTransform&&(this.projectionDelta=us(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=us(),this.projectionDeltaWithTransform=us());const Y=this.projectionTransform;va(this.projectionDelta,this.layoutCorrected,H,this.latestValues),this.projectionTransform=Of(this.projectionDelta,this.treeScale),(this.projectionTransform!==Y||this.treeScale.x!==D||this.treeScale.y!==L)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",H)),oi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),g){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(g,S=!1){const m=this.snapshot,b=m?m.latestValues:{},A={...this.latestValues},w=us();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=qe(),L=m?m.source:void 0,H=this.layout?this.layout.source:void 0,Y=L!==H,B=this.getStack(),F=!B||B.members.length<=1,Z=!!(Y&&!F&&this.options.crossfade===!0&&!this.path.some(Xv));this.animationProgress=0;let X;this.mixTargetDelta=ee=>{const ne=ee/1e3;Bf(w.x,g.x,ne),Bf(w.y,g.y,ne),this.setTargetDelta(w),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ya(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Gv(this.relativeTarget,this.relativeTargetOrigin,D,ne),X&&Ev(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=qe()),vn(X,this.relativeTarget)),Y&&(this.animationValues=A,xv(A,b,this.latestValues,ne,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ne},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Be.update(()=>{Tl.hasAnimatedSinceResize=!0,this.currentAnimation=Ov(0,_f,{...g,onUpdate:S=>{this.mixTargetDelta(S),g.onUpdate&&g.onUpdate(S)},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_f),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:S,target:m,layout:b,latestValues:A}=g;if(!(!S||!m||!b)){if(this!==g&&this.layout&&b&&Ph(this.options.animationType,this.layout.layoutBox,b.layoutBox)){m=this.target||qe();const w=en(this.layout.layoutBox.x);m.x.min=g.target.x.min,m.x.max=m.x.min+w;const D=en(this.layout.layoutBox.y);m.y.min=g.target.y.min,m.y.max=m.y.min+D}vn(S,m),cs(S,A),va(this.projectionDeltaWithTransform,this.layoutCorrected,S,A)}}registerSharedNode(g,S){this.sharedNodes.has(g)||this.sharedNodes.set(g,new Rv),this.sharedNodes.get(g).add(S);const b=S.options.initialPromotionConfig;S.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(S):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var g;const{layoutId:S}=this.options;return S?((g=this.getStack())===null||g===void 0?void 0:g.lead)||this:this}getPrevLead(){var g;const{layoutId:S}=this.options;return S?(g=this.getStack())===null||g===void 0?void 0:g.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:S,preserveFollowOpacity:m}={}){const b=this.getStack();b&&b.promote(this,m),g&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetRotation(){const{visualElement:g}=this.options;if(!g)return;let S=!1;const{latestValues:m}=g;if((m.rotate||m.rotateX||m.rotateY||m.rotateZ)&&(S=!0),!S)return;const b={};for(let A=0;A<Ff.length;A++){const w="rotate"+Ff[A];m[w]&&(b[w]=m[w],g.setStaticValue(w,0))}g.render();for(const A in b)g.setStaticValue(A,b[A]);g.scheduleRender()}getProjectionStyles(g){var S,m;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Fv;const b={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,b.opacity="",b.pointerEvents=kl(g==null?void 0:g.pointerEvents)||"",b.transform=A?A(this.latestValues,""):"none",b;const w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){const Y={};return this.options.layoutId&&(Y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,Y.pointerEvents=kl(g==null?void 0:g.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(Y.transform=A?A({},""):"none",this.hasProjected=!1),Y}const D=w.animationValues||w.latestValues;this.applyTransformsToTarget(),b.transform=Of(this.projectionDeltaWithTransform,this.treeScale,D),A&&(b.transform=A(D,b.transform));const{x:L,y:H}=this.projectionDelta;b.transformOrigin=`${L.origin*100}% ${H.origin*100}% 0`,w.animationValues?b.opacity=w===this?(m=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&m!==void 0?m:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:b.opacity=w===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const Y in El){if(D[Y]===void 0)continue;const{correct:B,applyTo:F}=El[Y],Z=b.transform==="none"?D[Y]:B(D[Y],w);if(F){const X=F.length;for(let ee=0;ee<X;ee++)b[F[ee]]=Z}else b[Y]=Z}return this.options.layoutId&&(b.pointerEvents=w===this?kl(g==null?void 0:g.pointerEvents)||"":"none"),b}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var S;return(S=g.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(Lf),this.root.sharedNodes.clear()}}}function Lv(e){e.updateLayout()}function jv(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:p}=e.options,g=r.source!==e.layout.source;p==="size"?yn(w=>{const D=g?r.measuredBox[w]:r.layoutBox[w],L=en(D);D.min=i[w].min,D.max=D.min+L}):Ph(p,r.layoutBox,i)&&yn(w=>{const D=g?r.measuredBox[w]:r.layoutBox[w],L=en(i[w]);D.max=D.min+L,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[w].max=e.relativeTarget[w].min+L)});const S=us();va(S,i,r.layoutBox);const m=us();g?va(m,e.applyTransform(s,!0),r.measuredBox):va(m,i,r.layoutBox);const b=!Ch(S);let A=!1;if(!e.resumeFrom){const w=e.getClosestProjectingParent();if(w&&!w.resumeFrom){const{snapshot:D,layout:L}=w;if(D&&L){const H=qe();ya(H,r.layoutBox,D.layoutBox);const Y=qe();ya(Y,i,L.layoutBox),Eh(H,Y)||(A=!0),w.options.layoutRoot&&(e.relativeTarget=Y,e.relativeTargetOrigin=H,e.relativeParent=w)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:m,layoutDelta:S,hasLayoutChanged:b,hasRelativeTargetChanged:A})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function Bv(e){oi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Vv(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function zv(e){e.clearSnapshot()}function Lf(e){e.clearMeasurements()}function Wv(e){e.isLayoutDirty=!1}function Uv(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function jf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Nv(e){e.resolveTargetDelta()}function Hv(e){e.calcProjection()}function $v(e){e.resetRotation()}function Yv(e){e.removeLeadSnapshot()}function Bf(e,t,r){e.translate=He(t.translate,0,r),e.scale=He(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Vf(e,t,r,i){e.min=He(t.min,r.min,i),e.max=He(t.max,r.max,i)}function Gv(e,t,r,i){Vf(e.x,t.x,r.x,i),Vf(e.y,t.y,r.y,i)}function Xv(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Zv={duration:.45,ease:[.4,0,.1,1]},zf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Wf=zf("applewebkit/")&&!zf("chrome/")?Math.round:Xe;function Uf(e){e.min=Wf(e.min),e.max=Wf(e.max)}function Jv(e){Uf(e.x),Uf(e.y)}function Ph(e,t,r){return e==="position"||e==="preserve-aspect"&&!ac(Df(t),Df(r),.2)}const Qv=Rh({attachResizeListener:(e,t)=>Ar(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},Ah=Rh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new Qv({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kv={pan:{Feature:pv},drag:{Feature:hv,ProjectionNode:Ah,MeasureLayout:wh}},qv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ey(e){const t=qv.exec(e);if(!t)return[,];const[,r,i]=t;return[r,i]}const ty=4;function fc(e,t,r=1){On(r<=ty,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,s]=ey(e);if(!i)return;const p=window.getComputedStyle(t).getPropertyValue(i);if(p){const g=p.trim();return fh(g)?parseFloat(g):g}else return ec(s)?fc(s,t,r+1):s}function ny(e,{...t},r){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(s=>{const p=s.get();if(!ec(p))return;const g=fc(p,i);g&&s.set(g)});for(const s in t){const p=t[s];if(!ec(p))continue;const g=fc(p,i);g&&(t[s]=g,r||(r={}),r[s]===void 0&&(r[s]=p))}return{target:t,transitionEnd:r}}const ry=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ih=e=>ry.has(e),oy=e=>Object.keys(e).some(Ih),bl=e=>e===li||e===me,Nf=(e,t)=>parseFloat(e.split(", ")[t]),Hf=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return Nf(s[1],t);{const p=i.match(/^matrix\((.+)\)$/);return p?Nf(p[1],e):0}},iy=new Set(["x","y","z"]),sy=wa.filter(e=>!iy.has(e));function ay(e){const t=[];return sy.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const hs={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Hf(4,13),y:Hf(5,14)};hs.translateX=hs.x;hs.translateY=hs.y;const ly=(e,t,r)=>{const i=t.measureViewportBox(),s=t.current,p=getComputedStyle(s),{display:g}=p,S={};g==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(b=>{S[b]=hs[b](i,p)}),t.render();const m=t.measureViewportBox();return r.forEach(b=>{const A=t.getValue(b);A&&A.jump(S[b]),e[b]=hs[b](m,p)}),e},uy=(e,t,r={},i={})=>{t={...t},i={...i};const s=Object.keys(t).filter(Ih);let p=[],g=!1;const S=[];if(s.forEach(m=>{const b=e.getValue(m);if(!e.hasValue(m))return;let A=r[m],w=fa(A);const D=t[m];let L;if(Pl(D)){const H=D.length,Y=D[0]===null?1:0;A=D[Y],w=fa(A);for(let B=Y;B<H&&D[B]!==null;B++)L?On(fa(D[B])===L,"All keyframes must be of the same type"):(L=fa(D[B]),On(L===w||bl(w)&&bl(L),"Keyframes must be of the same dimension as the current value"))}else L=fa(D);if(w!==L)if(bl(w)&&bl(L)){const H=b.get();typeof H=="string"&&b.set(parseFloat(H)),typeof D=="string"?t[m]=parseFloat(D):Array.isArray(D)&&L===me&&(t[m]=D.map(parseFloat))}else w!=null&&w.transform&&(L!=null&&L.transform)&&(A===0||D===0)?A===0?b.set(L.transform(A)):t[m]=w.transform(D):(g||(p=ay(e),g=!0),S.push(m),i[m]=i[m]!==void 0?i[m]:t[m],b.jump(D))}),S.length){const m=S.indexOf("height")>=0?window.pageYOffset:null,b=ly(t,e,S);return p.length&&p.forEach(([A,w])=>{e.getValue(A).set(w)}),e.render(),jl&&m!==null&&window.scrollTo({top:m}),{target:b,transitionEnd:i}}else return{target:t,transitionEnd:i}};function cy(e,t,r,i){return oy(t)?uy(e,t,r,i):{target:t,transitionEnd:i}}const fy=(e,t,r,i)=>{const s=ny(e,t,i);return t=s.target,i=s.transitionEnd,cy(e,t,r,i)},dc={current:null},Mh={current:!1};function dy(){if(Mh.current=!0,!!jl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>dc.current=e.matches;e.addListener(t),t()}else dc.current=!1}function hy(e,t,r){const{willChange:i}=t;for(const s in t){const p=t[s],g=r[s];if(Ut(p))e.addValue(s,p),Dl(i)&&i.add(s),process.env.NODE_ENV==="development"&&jc(p.version==="10.18.0",`Attempting to mix Framer Motion versions ${p.version} with 10.18.0 may not work as expected.`);else if(Ut(g))e.addValue(s,ds(p,{owner:e})),Dl(i)&&i.remove(s);else if(g!==p)if(e.hasValue(s)){const S=e.getValue(s);!S.hasAnimated&&S.set(p)}else{const S=e.getStaticValue(s);e.addValue(s,ds(S!==void 0?S:p,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const $f=new WeakMap,Dh=Object.keys(xa),py=Dh.length,Yf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],my=xc.length;class gy{constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,visualState:p},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Be.render(this.render,!1,!0);const{latestValues:S,renderState:m}=p;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=m,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=g,this.isControllingVariants=Vl(r),this.isVariantNode=gd(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:b,...A}=this.scrapeMotionValuesFromProps(r,{});for(const w in A){const D=A[w];S[w]!==void 0&&Ut(D)&&(D.set(S[w],!1),Dl(b)&&b.add(w))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,$f.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Mh.current||dy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:dc.current,process.env.NODE_ENV!=="production"&&jc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$f.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const i=ai.has(t),s=r.on("change",g=>{this.latestValues[t]=g,this.props.onUpdate&&Be.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),p=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),p()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},i,s,p){let g,S;if(process.env.NODE_ENV!=="production"&&s&&i){const m="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?Ca(!1,m):On(!1,m)}for(let m=0;m<py;m++){const b=Dh[m],{isEnabled:A,Feature:w,ProjectionNode:D,MeasureLayout:L}=xa[b];D&&(g=D),A(r)&&(!this.features[b]&&w&&(this.features[b]=new w(this)),L&&(S=L))}if((this.type==="html"||this.type==="svg")&&!this.projection&&g){this.projection=new g(this.latestValues,this.parent&&this.parent.projection);const{layoutId:m,layout:b,drag:A,dragConstraints:w,layoutScroll:D,layoutRoot:L}=r;this.projection.setOptions({layoutId:m,layout:b,alwaysMeasureLayout:!!A||w&&as(w),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof b=="string"?b:"both",initialPromotionConfig:p,layoutScroll:D,layoutRoot:L})}return S}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):qe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Yf.length;i++){const s=Yf[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const p=t["on"+s];p&&(this.propEventSubscriptions[s]=this.on(s,p))}this.prevMotionValues=hy(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const r={};for(let i=0;i<my;i++){const s=xc[i],p=this.props[s];(ba(p)||p===!1)&&(r[s]=p)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=ds(r,{owner:this}),this.addValue(t,i)),i}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props,s=typeof i=="string"||typeof i=="object"?(r=Rc(this.props,i))===null||r===void 0?void 0:r[t]:void 0;if(i&&s!==void 0)return s;const p=this.getBaseTargetFromProps(this.props,t);return p!==void 0&&!Ut(p)?p:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Lc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Oh extends gy{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...i},{transformValues:s},p){let g=Dg(i,t||{},this);if(s&&(r&&(r=s(r)),i&&(i=s(i)),g&&(g=s(g))),p){Ig(this,i,g);const S=fy(this,i,g,r);r=S.transitionEnd,i=S.target}return{transition:t,transitionEnd:r,...i}}}function vy(e){return window.getComputedStyle(e)}class yy extends Oh{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(ai.has(r)){const i=Mc(r);return i&&i.default||0}else{const i=vy(t),s=(Sd(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return xh(t,r)}build(t,r,i,s){wc(t,r,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Ec(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ut(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,i,s){Rd(t,r,i,s)}}class by extends Oh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(ai.has(r)){const i=Mc(r);return i&&i.default||0}return r=Pd.has(r)?r:yc(r),t.getAttribute(r)}measureInstanceViewportBox(){return qe()}scrapeMotionValuesFromProps(t,r){return Id(t,r)}build(t,r,i,s){Tc(t,r,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,i,s){Ad(t,r,i,s)}mount(t){this.isSVGTag=Cc(t.tagName),super.mount(t)}}const xy=(e,t)=>Sc(e)?new by(t,{enableHardwareAcceleration:!1}):new yy(t,{enableHardwareAcceleration:!0}),Sy={layout:{ProjectionNode:Ah,MeasureLayout:wh}},wy={...Gg,...mm,...Kv,...Sy},Bc=kp((e,t)=>nm(e,t,wy,xy));function ky(){const[e,t]=re.useState("en"),[r,i]=re.useState(!1),s=re.useRef(null),p=S=>{t(S),i(!1)};re.useEffect(()=>{const S=m=>{s.current&&!s.current.contains(m.target)&&i(!1)};return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[]);const g=[{code:"en",name:"English"}];return Q.jsxs("div",{className:"relative",ref:s,children:[Q.jsx("button",{onClick:()=>i(!r),className:"focus:outline-none flex items-center text-white",children:Q.jsx(Gf,{})}),r&&Q.jsx(Bc.div,{className:"absolute top-full right-0 mt-2 space-y-1 bg-white border border-gray-200 rounded shadow p-1",initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.1},children:g.map(S=>Q.jsxs("button",{onClick:()=>p(S.code),className:`flex items-center w-full px-4 py-2 text-left focus:outline-none rounded-[4px] ${e===S.code?"bg-blue-500 text-white":"bg-white text-black"} hover:bg-blue-500 hover:text-white`,children:[Q.jsx(Gf,{}),Q.jsx("span",{className:"ml-2 text-sm",children:S.name})]},S.code))})]})}function Gf(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 15",width:"40",height:"28.57",children:[Q.jsxs("defs",{children:[Q.jsxs("linearGradient",{id:"a",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#FFF"}),Q.jsx("stop",{offset:"100%",stopColor:"#F0F0F0"})]}),Q.jsxs("linearGradient",{id:"b",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#0A17A7"}),Q.jsx("stop",{offset:"100%",stopColor:"#030E88"})]}),Q.jsxs("linearGradient",{id:"c",x1:"50%",x2:"50%",y1:"0%",y2:"100%",children:[Q.jsx("stop",{offset:"0%",stopColor:"#E6273E"}),Q.jsx("stop",{offset:"100%",stopColor:"#CF152B"})]})]}),Q.jsxs("g",{fill:"none",fillRule:"evenodd",children:[Q.jsx("path",{fill:"url(#a)",d:"M0 0h21v15H0z"}),Q.jsx("path",{fill:"url(#b)",d:"M-.002 0h21v15h-21z"}),Q.jsx("path",{fill:"url(#a)",d:"M5.003 10H-.002V5h5.005L-2.082.22l1.118-1.657 8.962 6.045V-1h5v5.608l8.962-6.045L23.078.22 15.993 5h5.005v5h-5.005l7.085 4.78-1.118 1.657-8.962-6.045V16h-5v-5.608l-8.962 6.045-1.118-1.658L5.003 10z"}),Q.jsx("path",{fill:"#DB1F35",fillRule:"nonzero",d:"M14.136 4.958l9.5-6.25a.25.25 0 00-.275-.417l-9.5 6.25a.25.25 0 10.275.417zm.732 5.522l8.515 5.74a.25.25 0 10.28-.415l-8.516-5.74a.25.25 0 00-.279.415zM6.142 4.526L-2.74-1.461a.25.25 0 00-.28.415L5.863 4.94a.25.25 0 00.279-.414zm.685 5.469l-9.845 6.53a.25.25 0 10.276.416l9.846-6.529a.25.25 0 00-.277-.417z"}),Q.jsx("path",{fill:"url(#c)",d:"M-.002 9h9v6h3V9h9V6h-9V0h-3v6h-9z"})]})]})}function Ty({logo:e,user:t,baseUrl:r,style:i,classNames:s=""}){const p=e||"/public/assets/icons/logo-header.png";return Q.jsx("nav",{className:`${qt.navbar} ${s}`,style:i,children:Q.jsxs("div",{className:qt["navbar-container"],children:[Q.jsx("div",{className:qt["logo-container"],children:Q.jsx("img",{src:p,alt:"logo-header"})}),Q.jsxs("div",{className:qt["right-side-container"],children:[Q.jsx(ky,{}),Q.jsxs("div",{className:qt.userContainer,children:[Q.jsx("p",{className:qt.userFullName,children:`${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}`}),Q.jsx(Cy,{baseUrl:r,avatarUrl:t==null?void 0:t.avatarUrl})]}),Q.jsx("span",{className:qt["cursor-pointer"],children:Q.jsx(ip,{})}),Q.jsx("span",{className:qt["cursor-pointer"],children:Q.jsx(op,{})})]})]})})}function Cy({avatarUrl:e,baseUrl:t}){const[r,i]=re.useState(!1),[s,p]=re.useState(!1),g=re.useRef(null),S=re.useRef(null),m=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${window.location.href}`};return re.useEffect(()=>{function b(A){A.target!==S.current&&A.target!==g.current&&i(!1)}return window.addEventListener("click",b),()=>window.removeEventListener("click",b)},[]),Q.jsxs(Q.Fragment,{children:[Q.jsxs("div",{className:qt.relative,children:[Q.jsx("img",{ref:g,onClick:()=>i(b=>!b),alt:"user avatar",className:qt.userAvatar,src:e||dp}),r&&Q.jsx("div",{ref:S,className:qt.avartarDropdownMenu,children:Q.jsxs("ul",{children:[Q.jsx("li",{className:qt["avatar-dropdown-item"],children:"Profile"}),Q.jsx("li",{onClick:()=>p(!0),className:qt["avatar-dropdown-item"],children:"Logout"})]})})]}),Q.jsx(dd,{isOpen:s,onClose:()=>p(!1),onConfirm:m})]})}var Ey=typeof global=="object"&&global&&global.Object===Object&&global;const Ry=Ey;var Py=typeof self=="object"&&self&&self.Object===Object&&self,Ay=Ry||Py||Function("return this")();const Fh=Ay;var Iy=Fh.Symbol;const Fl=Iy;var _h=Object.prototype,My=_h.hasOwnProperty,Dy=_h.toString,ha=Fl?Fl.toStringTag:void 0;function Oy(e){var t=My.call(e,ha),r=e[ha];try{e[ha]=void 0;var i=!0}catch{}var s=Dy.call(e);return i&&(t?e[ha]=r:delete e[ha]),s}var Fy=Object.prototype,_y=Fy.toString;function Ly(e){return _y.call(e)}var jy="[object Null]",By="[object Undefined]",Xf=Fl?Fl.toStringTag:void 0;function Vy(e){return e==null?e===void 0?By:jy:Xf&&Xf in Object(e)?Oy(e):Ly(e)}function zy(e){return e!=null&&typeof e=="object"}var Wy="[object Symbol]";function Uy(e){return typeof e=="symbol"||zy(e)&&Vy(e)==Wy}var Ny=/\s/;function Hy(e){for(var t=e.length;t--&&Ny.test(e.charAt(t)););return t}var $y=/^\s+/;function Yy(e){return e&&e.slice(0,Hy(e)+1).replace($y,"")}function _l(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Zf=0/0,Gy=/^[-+]0x[0-9a-f]+$/i,Xy=/^0b[01]+$/i,Zy=/^0o[0-7]+$/i,Jy=parseInt;function Jf(e){if(typeof e=="number")return e;if(Uy(e))return Zf;if(_l(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_l(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Yy(e);var r=Xy.test(e);return r||Zy.test(e)?Jy(e.slice(2),r?2:8):Gy.test(e)?Zf:+e}var Qy=function(){return Fh.Date.now()};const Zu=Qy;var Ky="Expected a function",qy=Math.max,eb=Math.min;function Cl(e,t,r){var i,s,p,g,S,m,b=0,A=!1,w=!1,D=!0;if(typeof e!="function")throw new TypeError(Ky);t=Jf(t)||0,_l(r)&&(A=!!r.leading,w="maxWait"in r,p=w?qy(Jf(r.maxWait)||0,t):p,D="trailing"in r?!!r.trailing:D);function L(te){var oe=i,le=s;return i=s=void 0,b=te,g=e.apply(le,oe),g}function H(te){return b=te,S=setTimeout(F,t),A?L(te):g}function Y(te){var oe=te-m,le=te-b,ce=t-oe;return w?eb(ce,p-le):ce}function B(te){var oe=te-m,le=te-b;return m===void 0||oe>=t||oe<0||w&&le>=p}function F(){var te=Zu();if(B(te))return Z(te);S=setTimeout(F,Y(te))}function Z(te){return S=void 0,D&&i?L(te):(i=s=void 0,g)}function X(){S!==void 0&&clearTimeout(S),b=0,i=m=s=S=void 0}function ee(){return S===void 0?g:Z(Zu())}function ne(){var te=Zu(),oe=B(te);if(i=arguments,s=this,m=te,oe){if(S===void 0)return H(m);if(w)return clearTimeout(S),S=setTimeout(F,t),L(m)}return S===void 0&&(S=setTimeout(F,t)),g}return ne.cancel=X,ne.flush=ee,ne}var tb="Expected a function";function nb(e,t,r){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(tb);return _l(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),Cl(e,t,{leading:i,maxWait:t,trailing:s})}var rb=!!(typeof window<"u"&&window.document&&window.document.createElement),ob=rb;const Lh=he.getDefaultExportFromCjs(ob);var fs=function(){return fs=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var p in r)Object.prototype.hasOwnProperty.call(r,p)&&(t[p]=r[p])}return t},fs.apply(this,arguments)},ss=null,Qf=null;Lh&&window.addEventListener("resize",function(){Qf!==window.devicePixelRatio&&(Qf=window.devicePixelRatio,ss=null)});function Kf(){if(ss===null){if(typeof document>"u")return ss=0,ss;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),ss=r}return ss}function jh(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Bh(e){return!e||!e.ownerDocument?document:e.ownerDocument}var Vh=function(e){var t={},r=Array.prototype.reduce.call(e,function(i,s){var p=s.name.match(/data-simplebar-(.+)/);if(p){var g=p[1].replace(/\W+(.)/g,function(S,m){return m.toUpperCase()});switch(s.value){case"true":i[g]=!0;break;case"false":i[g]=!1;break;case void 0:i[g]=!0;break;default:i[g]=s.value}}return i},t);return r};function zh(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Wh(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function Uh(e){return".".concat(e.split(" ").join("."))}var ib=Object.freeze({__proto__:null,getElementWindow:jh,getElementDocument:Bh,getOptions:Vh,addClasses:zh,removeClasses:Wh,classNamesToQuery:Uh}),io=jh,Ju=Bh,sb=Vh,so=zh,ao=Wh,Wt=Uh,xl=function(){function e(t,r){r===void 0&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var s=io(i.el);i.scrollXTicking||(s.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(s.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,so(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){ao(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(so(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){ao(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(s){i.mouseX=s.clientX,i.mouseY=s.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(s){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var p,g;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(p=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(g=i.isWithinBounds(i.axis.y.track.rect)),(p||g)&&(s.stopPropagation(),s.type==="pointerdown"&&s.pointerType!=="touch"&&(p&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(s,"x"):i.onTrackClick(s,"x")),g&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(s,"y"):i.onTrackClick(s,"y"))))}},this.drag=function(s){var p,g,S,m,b,A,w,D,L,H,Y;if(!(!i.draggedAxis||!i.contentWrapperEl)){var B,F=i.axis[i.draggedAxis].track,Z=(g=(p=F.rect)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].sizeAttr])!==null&&g!==void 0?g:0,X=i.axis[i.draggedAxis].scrollbar,ee=(m=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&m!==void 0?m:0,ne=parseInt((A=(b=i.elStyles)===null||b===void 0?void 0:b[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:"0px",10);s.preventDefault(),s.stopPropagation(),i.draggedAxis==="y"?B=s.pageY:B=s.pageX;var te=B-((D=(w=F.rect)===null||w===void 0?void 0:w[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;te=i.draggedAxis==="x"&&i.isRtl?((H=(L=F.rect)===null||L===void 0?void 0:L[i.axis[i.draggedAxis].sizeAttr])!==null&&H!==void 0?H:0)-X.size-te:te;var oe=te/(Z-X.size),le=oe*(ee-ne);i.draggedAxis==="x"&&i.isRtl&&(le=!((Y=e.getRtlHelpers())===null||Y===void 0)&&Y.isScrollingToNegative?-le:le),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(s){var p=Ju(i.el),g=io(i.el);s.preventDefault(),s.stopPropagation(),ao(i.el,i.classNames.dragging),p.removeEventListener("mousemove",i.drag,!0),p.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=g.setTimeout(function(){p.removeEventListener("click",i.preventClick,!0),p.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(s){s.preventDefault(),s.stopPropagation()},this.el=t,this.options=fs(fs({},e.defaultOptions),r),this.classNames=fs(fs({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=nb(this._onMouseMove,64),this.onWindowResize=Cl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Cl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Cl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,i=r==null?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var s=e.getOffset(r),p=e.getOffset(i);r.scrollLeft=-999;var g=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==p.left,isScrollingToNegative:p.left!==g.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Kf()}catch{return Kf()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),i=Ju(t),s=io(t);return{top:r.top+(s.pageYOffset||i.documentElement.scrollTop),left:r.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){Lh&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(Wt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Wt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Wt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Wt(this.classNames.offset)),this.maskEl=this.el.querySelector(Wt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Wt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Wt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Wt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Wt(this.classNames.track)).concat(Wt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Wt(this.classNames.track)).concat(Wt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Wt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(Wt(this.classNames.scrollbar)))||null,this.options.autoHide||(so(this.axis.x.scrollbar.el,this.classNames.visible),so(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,i=io(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var s=!1,p=i.ResizeObserver||ResizeObserver;this.resizeObserver=new p(function(){s&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){s=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=io(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||r>0,p=this.contentWrapperEl.offsetWidth,g=this.elStyles.overflowX,S=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var m=this.contentEl.scrollHeight,b=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(r||b,"px"):"auto",this.placeholderEl.style.height="".concat(m,"px");var A=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&b>r,this.axis.y.isOverflowing=m>A,this.axis.x.isOverflowing=g==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=S==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var w=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&b>p-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&m>A-w,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var r,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var s=this.contentEl[this.axis[t].scrollSizeAttr],p=(i=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,g=p/s,S;return S=Math.max(~~(g*p),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(S=Math.min(S,this.options.scrollbarMaxSize)),S},e.prototype.positionScrollbar=function(t){var r,i,s;t===void 0&&(t="y");var p=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!p.el||!this.elStyles)){var g=this.contentWrapperEl[this.axis[t].scrollSizeAttr],S=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,m=parseInt(this.elStyles[this.axis[t].sizeAttr],10),b=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];b=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-b:b,t==="x"&&this.isRtl&&(b=!((s=e.getRtlHelpers())===null||s===void 0)&&s.isScrollingToNegative?b:-b);var A=b/(g-m),w=~~((S-p.size)*A);w=t==="x"&&this.isRtl?-w+(S-p.size):w,p.el.style.transform=t==="x"?"translate3d(".concat(w,"px, 0, 0)"):"translate3d(0, ".concat(w,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!r||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(so(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(ao(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),so(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?so(r.scrollbar.el,this.classNames.hover):ao(r.scrollbar.el,this.classNames.hover)):(ao(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),ao(this.axis[t].track.el,this.classNames.hover),ao(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var i;r===void 0&&(r="y");var s=Ju(this.el),p=io(this.el),g=this.axis[r].scrollbar,S=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=S-(((i=g.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,so(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(p.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var i=this,s,p,g,S;r===void 0&&(r="y");var m=this.axis[r];if(!(!this.options.clickOnTrack||!m.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var b=io(this.el);this.axis[r].scrollbar.rect=m.scrollbar.el.getBoundingClientRect();var A=this.axis[r].scrollbar,w=(p=(s=A.rect)===null||s===void 0?void 0:s[this.axis[r].offsetAttr])!==null&&p!==void 0?p:0,D=parseInt((S=(g=this.elStyles)===null||g===void 0?void 0:g[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),L=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],H=r==="y"?this.mouseY-w:this.mouseX-w,Y=H<0?-1:1,B=Y===-1?L-D:L+D,F=40,Z=function(){i.contentWrapperEl&&(Y===-1?L>B&&(L-=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=L,b.requestAnimationFrame(Z)):L<B&&(L+=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=L,b.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=io(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,r){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(s){return i.call(s,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=sb,e.helpers=ib,e}(),Kt=function(){return Kt=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var p in r)Object.prototype.hasOwnProperty.call(r,p)&&(t[p]=r[p])}return t},Kt.apply(this,arguments)};function ab(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var Nh=be.forwardRef(function(e,t){var r=e.children,i=e.scrollableNodeProps,s=i===void 0?{}:i,p=ab(e,["children","scrollableNodeProps"]),g=be.useRef(),S=be.useRef(),m=be.useRef(),b={},A={};Object.keys(p).forEach(function(L){Object.prototype.hasOwnProperty.call(xl.defaultOptions,L)?b[L]=p[L]:A[L]=p[L]});var w=Kt(Kt({},xl.defaultOptions.classNames),b.classNames),D=Kt(Kt({},s),{className:"".concat(w.contentWrapper).concat(s.className?" ".concat(s.className):""),tabIndex:0,role:"region","aria-label":b.ariaLabel||xl.defaultOptions.ariaLabel});return be.useEffect(function(){var L;return S.current=D.ref?D.ref.current:S.current,g.current&&(L=new xl(g.current,Kt(Kt(Kt({},b),S.current&&{scrollableNode:S.current}),m.current&&{contentNode:m.current})),typeof t=="function"?t(L):t&&(t.current=L)),function(){L==null||L.unMount(),L=null,typeof t=="function"&&t(null)}},[]),be.createElement("div",Kt({"data-simplebar":"init",ref:g},A),be.createElement("div",{className:w.wrapper},be.createElement("div",{className:w.heightAutoObserverWrapperEl},be.createElement("div",{className:w.heightAutoObserverEl})),be.createElement("div",{className:w.mask},be.createElement("div",{className:w.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:Kt(Kt({},D),{ref:S}),contentNodeRef:m,contentNodeProps:{className:w.contentEl,ref:m}}):be.createElement("div",Kt({},D),be.createElement("div",{className:w.contentEl},r)))),be.createElement("div",{className:w.placeholder})),be.createElement("div",{className:"".concat(w.track," simplebar-horizontal")},be.createElement("div",{className:w.scrollbar})),be.createElement("div",{className:"".concat(w.track," simplebar-vertical")},be.createElement("div",{className:w.scrollbar})))});Nh.displayName="SimpleBar";function lb(e){const{children:t,parentRef:r,onlyChild:i}=e,[s,p]=re.useState({top:0,left:0});return re.useLayoutEffect(()=>{if(r.current){const g=r.current.getBoundingClientRect();p({top:g.top,left:g.left+g.width})}},[r]),i?t:fd.createPortal(Q.jsx(Bc.div,{style:{position:"fixed",top:s.top,left:s.left},children:t}),document.body)}var Vc={},Hh={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Hh);var ub=Hh.exports,Qu={};function cb(...e){return e.reduce((t,r)=>r==null?t:function(...s){t.apply(this,s),r.apply(this,s)},()=>{})}function fb(e,t=166){let r;function i(...s){const p=()=>{e.apply(this,s)};clearTimeout(r),r=setTimeout(p,t)}return i.clear=()=>{clearTimeout(r)},i}function db(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,i,s,p,g)=>{const S=s||"<<anonymous>>",m=g||i;return typeof r[i]<"u"?new Error(`The ${p} \`${m}\` of \`${S}\` is deprecated. ${t}`):null}}function hb(e,t){var r,i;return be.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(i=e.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function $h(e){return e&&e.ownerDocument||document}function pb(e){return $h(e).defaultView||window}function Yh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const mb=typeof window<"u"?be.useLayoutEffect:be.useEffect,Gh=mb;let qf=0;function gb(e){const[t,r]=be.useState(e),i=e||t;return be.useEffect(()=>{t==null&&(qf+=1,r(`mui-${qf}`))},[t]),i}const ed=be["useId".toString()];function vb(e){if(ed!==void 0){const t=ed();return e??t}return gb(e)}function yb(e,t,r,i,s){if(process.env.NODE_ENV==="production")return null;const p=s||t;return typeof e[t]<"u"?new Error(`The prop \`${p}\` is not supported. Please remove it.`):null}function bb({controlled:e,default:t,name:r,state:i="value"}){const{current:s}=be.useRef(e!==void 0),[p,g]=be.useState(t),S=s?e:p;if(process.env.NODE_ENV!=="production"){be.useEffect(()=>{s!==(e!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${i} state of ${r} to be ${s?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
2
- `))},[i,r,e]);const{current:b}=be.useRef(t);be.useEffect(()=>{!s&&b!==t&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
3
- `))},[JSON.stringify(t)])}const m=be.useCallback(b=>{s||g(b)},[]);return[S,m]}function xb(e){const t=be.useRef(e);return Gh(()=>{t.current=e}),be.useRef((...r)=>(0,t.current)(...r)).current}function Sb(...e){return be.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Yh(r,t)})},e)}let Nl=!0,hc=!1,td;const wb={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function kb(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&wb[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Tb(e){e.metaKey||e.altKey||e.ctrlKey||(Nl=!0)}function Ku(){Nl=!1}function Cb(){this.visibilityState==="hidden"&&hc&&(Nl=!0)}function Eb(e){e.addEventListener("keydown",Tb,!0),e.addEventListener("mousedown",Ku,!0),e.addEventListener("pointerdown",Ku,!0),e.addEventListener("touchstart",Ku,!0),e.addEventListener("visibilitychange",Cb,!0)}function Rb(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Nl||kb(t)}function Pb(){const e=be.useCallback(s=>{s!=null&&Eb(s.ownerDocument)},[]),t=be.useRef(!1);function r(){return t.current?(hc=!0,window.clearTimeout(td),td=window.setTimeout(()=>{hc=!1},100),t.current=!1,!0):!1}function i(s){return Rb(s)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:i,onBlur:r,ref:e}}function Ab(e){return he.generateUtilityClass("MuiSvgIcon",e)}he.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ib=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Mb=e=>{const{color:t,fontSize:r,classes:i}=e,s={root:["root",t!=="inherit"&&`color${he.capitalize(t)}`,`fontSize${he.capitalize(r)}`]};return he.composeClasses(s,Ab,i)},Db=he.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${he.capitalize(r.color)}`],t[`fontSize${he.capitalize(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,i,s,p,g,S,m,b,A,w,D,L,H;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(i=r.create)==null?void 0:i.call(r,"fill",{duration:(s=e.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((p=e.typography)==null||(g=p.pxToRem)==null?void 0:g.call(p,20))||"1.25rem",medium:((S=e.typography)==null||(m=S.pxToRem)==null?void 0:m.call(S,24))||"1.5rem",large:((b=e.typography)==null||(A=b.pxToRem)==null?void 0:A.call(b,35))||"2.1875rem"}[t.fontSize],color:(w=(D=(e.vars||e).palette)==null||(D=D[t.color])==null?void 0:D.main)!=null?w:{action:(L=(e.vars||e).palette)==null||(L=L.action)==null?void 0:L.active,disabled:(H=(e.vars||e).palette)==null||(H=H.action)==null?void 0:H.disabled,inherit:void 0}[t.color]}}),zc=be.forwardRef(function(t,r){const i=he.useThemeProps({props:t,name:"MuiSvgIcon"}),{children:s,className:p,color:g="inherit",component:S="svg",fontSize:m="medium",htmlColor:b,inheritViewBox:A=!1,titleAccess:w,viewBox:D="0 0 24 24"}=i,L=he._objectWithoutPropertiesLoose(i,Ib),H=be.isValidElement(s)&&s.type==="svg",Y=he._extends({},i,{color:g,component:S,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:A,viewBox:D,hasSvgAsChild:H}),B={};A||(B.viewBox=D);const F=Mb(Y);return Q.jsxs(Db,he._extends({as:S,className:he.clsx(F.root,p),focusable:"false",color:b,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:r},B,L,H&&s.props,{ownerState:Y,children:[H?s.props.children:s,w?Q.jsx("title",{children:w}):null]}))});process.env.NODE_ENV!=="production"&&(zc.propTypes={children:he.PropTypes.node,classes:he.PropTypes.object,className:he.PropTypes.string,color:he.PropTypes.oneOfType([he.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),he.PropTypes.string]),component:he.PropTypes.elementType,fontSize:he.PropTypes.oneOfType([he.PropTypes.oneOf(["inherit","large","medium","small"]),he.PropTypes.string]),htmlColor:he.PropTypes.string,inheritViewBox:he.PropTypes.bool,shapeRendering:he.PropTypes.string,sx:he.PropTypes.oneOfType([he.PropTypes.arrayOf(he.PropTypes.oneOfType([he.PropTypes.func,he.PropTypes.object,he.PropTypes.bool])),he.PropTypes.func,he.PropTypes.object]),titleAccess:he.PropTypes.string,viewBox:he.PropTypes.string});zc.muiName="SvgIcon";const nd=zc;function Ob(e,t){function r(i,s){return Q.jsx(nd,he._extends({"data-testid":`${t}Icon`,ref:s},i,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=nd.muiName,be.memo(be.forwardRef(r))}const Fb={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
4
- `)),he.ClassNameGenerator.configure(e)}},_b=Object.freeze(Object.defineProperty({__proto__:null,capitalize:he.capitalize,createChainedFunction:cb,createSvgIcon:Ob,debounce:fb,deprecatedPropType:db,isMuiElement:hb,ownerDocument:$h,ownerWindow:pb,requirePropFactory:he.requirePropFactory,setRef:Yh,unstable_ClassNameGenerator:Fb,unstable_useEnhancedEffect:Gh,unstable_useId:vb,unsupportedProp:yb,useControlled:bb,useEventCallback:xb,useForkRef:Sb,useIsFocusVisible:Pb},Symbol.toStringTag,{value:"Module"})),Lb=he.getAugmentedNamespace(_b);var rd;function jb(){return rd||(rd=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Lb}(Qu)),Qu}var Bb=ub;Object.defineProperty(Vc,"__esModule",{value:!0});var Xh=Vc.default=void 0,Vb=Bb(jb()),zb=Q;Xh=Vc.default=(0,Vb.default)((0,zb.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");function Zh({item:e,level:t=0,...r}){var F;const{isActive:i,isCollapsed:s,expanded:p,toggleExpand:g}=r,S=`level-${t}`,m=s?"collapsed":"expanded",b=i(e.id)?"active":"",A=(Z,X=S)=>`${Z} ${X} ${m} ${b}`,w=!!((F=e.children)!=null&&F.length),[D,L]=re.useState(!1),H=re.useRef();function Y(Z){var te;const{level:X,hovered:ee,parentRef:ne}=Z;return!w||s&&X>=2&&!ee?null:Q.jsx(lb,{parentRef:ne,onlyChild:!s||s&&X<2,children:Q.jsx(Bc.div,{className:A("menu-item__dropdown",`level-${X}`),initial:{height:s?"auto":0},animate:{height:s||p(e.id)?"auto":0},transition:{duration:.2},children:(te=e.children)==null?void 0:te.map(oe=>re.createElement(Zh,{...r,key:oe.id,item:oe,level:X}))},+s)})}const B=w?"div":cd.Link;return Q.jsxs("div",{ref:H,className:A("menu-item__wrapper"),onMouseEnter:()=>s&&L(!0),onMouseLeave:()=>s&&L(!1),children:[Q.jsxs(B,{to:w?"#":e.path||"#",style:{paddingLeft:`${s?"0.5rem":`${t*1}rem`}`},className:A("menu-item__link"),onClick:Z=>{w&&(Z.preventDefault(),s||g(e.id))},children:[t!==0&&Q.jsx(Wb,{cls:A,item:e}),Q.jsx("span",{className:A("menu-item__label"),children:e.name}),w&&Q.jsx("div",{className:A("menu-item__icon-arrow__wrapper"),children:Q.jsx(Xh,{className:A(`menu-item__icon-arrow__icon ${p(e.id)?"open":"close"}`),fontSize:"small"})})]}),Y({level:t+1,hovered:D,parentRef:H})]},e.id)}function Wb({item:e,cls:t}){var p;const[r,i]=re.useState(!1),s=()=>{i(!0)};return Q.jsx("div",{className:t("menu-item__icon"),children:r?Q.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center"},children:(p=e.name.trim().at(0))==null?void 0:p.toUpperCase()}):Q.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:s})})}function od(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Jh(e,t,r=[]){for(const i of e){if(console.log(i.path,t,i.path===t),od(i.path||"")===od(t))return[...r,i];if(i.children){const s=Jh(i.children,t,[...r,i]);if(s)return s}}return null}function Ub(e){return Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:Q.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const Nb=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
5
- `;var ti={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("react/jsx-runtime"),oe=require("react"),Jf=require("react-dom"),vn=require("../index-bdfc5a2d.cjs"),Qf=require("react-router-dom"),Bh=require("axios");function Vh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Qe=Vh(oe);var Ko={};/**
6
2
  * @license React
7
3
  * react-dom-server-legacy.browser.production.min.js
8
4
  *
@@ -10,13 +6,13 @@ var p0=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,
10
6
  *
11
7
  * This source code is licensed under the MIT license found in the
12
8
  * LICENSE file in the root directory of this source tree.
13
- */var id;function Hb(){if(id)return ti;id=1;var e=re;function t(u){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)v+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[: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]*$/,s={},p={};function g(u){return r.call(p,u)?!0:r.call(s,u)?!1:i.test(u)?p[u]=!0:(s[u]=!0,!1)}function S(u,v,C,R,z,j,$){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=v,this.sanitizeURL=j,this.removeEmptyString=$}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){m[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var v=u[0];m[v]=new S(v,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){m[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){m[u]=new S(u,2,!1,u,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(u){m[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){m[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){m[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){m[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){m[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function A(u){return u[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var v=u.replace(b,A);m[v]=new S(v,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){m[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),m.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){m[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var w={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D=["Webkit","ms","Moz","O"];Object.keys(w).forEach(function(u){D.forEach(function(v){v=v+u.charAt(0).toUpperCase()+u.substring(1),w[v]=w[u]})});var L=/["'&<>]/;function H(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var v=L.exec(u);if(v){var C="",R,z=0;for(R=v.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:v="&quot;";break;case 38:v="&amp;";break;case 39:v="&#x27;";break;case 60:v="&lt;";break;case 62:v="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=v}u=z!==R?C+u.substring(z,R):C}return u}var Y=/([A-Z])/g,B=/^ms-/,F=Array.isArray;function Z(u,v){return{insertionMode:u,selectedValue:v}}function X(u,v,C){switch(v){case"select":return Z(1,C.value!=null?C.value:C.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=u.insertionMode||u.insertionMode===0?Z(1,null):u}var ee=new Map;function ne(u,v,C){if(typeof C!="object")throw Error(t(62));v=!0;for(var R in C)if(r.call(C,R)){var z=C[R];if(z!=null&&typeof z!="boolean"&&z!==""){if(R.indexOf("--")===0){var j=H(R);z=H((""+z).trim())}else{j=R;var $=ee.get(j);$!==void 0||($=H(j.replace(Y,"-$1").toLowerCase().replace(B,"-ms-")),ee.set(j,$)),j=$,z=typeof z=="number"?z===0||r.call(w,R)?""+z:z+"px":H((""+z).trim())}v?(v=!1,u.push(' style="',j,":",z)):u.push(";",j,":",z)}}v||u.push('"')}function te(u,v,C,R){switch(C){case"style":ne(u,v,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){if(v=m.hasOwnProperty(C)?m[C]:null,v!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(C=v.attributeName,v.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',H(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',H(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',H(R),'"');break;default:v.sanitizeURL&&(R=""+R),u.push(" ",C,'="',H(R),'"')}}else if(g(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(v=C.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}u.push(" ",C,'="',H(R),'"')}}}function oe(u,v,C){if(v!=null){if(C!=null)throw Error(t(60));if(typeof v!="object"||!("__html"in v))throw Error(t(61));v=v.__html,v!=null&&u.push(""+v)}}function le(u){var v="";return e.Children.forEach(u,function(C){C!=null&&(v+=C)}),v}function ce(u,v,C,R){u.push(Te(C));var z=C=null,j;for(j in v)if(r.call(v,j)){var $=v[j];if($!=null)switch(j){case"children":C=$;break;case"dangerouslySetInnerHTML":z=$;break;default:te(u,R,j,$)}}return u.push(">"),oe(u,z,C),typeof C=="string"?(u.push(H(C)),null):C}var Ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$e=new Map;function Te(u){var v=$e.get(u);if(v===void 0){if(!Ue.test(u))throw Error(t(65,u));v="<"+u,$e.set(u,v)}return v}function Ye(u,v,C,R,z){switch(v){case"select":u.push(Te("select"));var j=null,$=null;for(ue in C)if(r.call(C,ue)){var K=C[ue];if(K!=null)switch(ue){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;case"defaultValue":case"value":break;default:te(u,R,ue,K)}}return u.push(">"),oe(u,$,j),j;case"option":$=z.selectedValue,u.push(Te("option"));var se=K=null,fe=null,ue=null;for(j in C)if(r.call(C,j)){var xe=C[j];if(xe!=null)switch(j){case"children":K=xe;break;case"selected":fe=xe;break;case"dangerouslySetInnerHTML":ue=xe;break;case"value":se=xe;default:te(u,R,j,xe)}}if($!=null)if(C=se!==null?""+se:le(K),F($)){for(R=0;R<$.length;R++)if(""+$[R]===C){u.push(' selected=""');break}}else""+$===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),oe(u,ue,K),K;case"textarea":u.push(Te("textarea")),ue=$=j=null;for(K in C)if(r.call(C,K)&&(se=C[K],se!=null))switch(K){case"children":ue=se;break;case"value":j=se;break;case"defaultValue":$=se;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:te(u,R,K,se)}if(j===null&&$!==null&&(j=$),u.push(">"),ue!=null){if(j!=null)throw Error(t(92));if(F(ue)&&1<ue.length)throw Error(t(93));j=""+ue}return typeof j=="string"&&j[0]===`
9
+ */var Oc;function zh(){if(Oc)return Ko;Oc=1;var e=oe;function t(u){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+u,C=1;C<arguments.length;C++)g+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+u+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[: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]*$/,s={},m={};function y(u){return r.call(m,u)?!0:r.call(s,u)?!1:i.test(u)?m[u]=!0:(s[u]=!0,!1)}function S(u,g,C,R,z,j,H){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=R,this.attributeNamespace=z,this.mustUseProperty=C,this.propertyName=u,this.type=g,this.sanitizeURL=j,this.removeEmptyString=H}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(u){p[u]=new S(u,0,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var g=u[0];p[g]=new S(g,1,!1,u[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){p[u]=new S(u,2,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){p[u]=new S(u,2,!1,u,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(u){p[u]=new S(u,3,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){p[u]=new S(u,3,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){p[u]=new S(u,4,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){p[u]=new S(u,6,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){p[u]=new S(u,5,!1,u.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function A(u){return u[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var g=u.replace(x,A);p[g]=new S(g,1,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!1,!1)}),p.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){p[u]=new S(u,1,!1,u.toLowerCase(),null,!0,!0)});var T={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D=["Webkit","ms","Moz","O"];Object.keys(T).forEach(function(u){D.forEach(function(g){g=g+u.charAt(0).toUpperCase()+u.substring(1),T[g]=T[u]})});var _=/["'&<>]/;function $(u){if(typeof u=="boolean"||typeof u=="number")return""+u;u=""+u;var g=_.exec(u);if(g){var C="",R,z=0;for(R=g.index;R<u.length;R++){switch(u.charCodeAt(R)){case 34:g="&quot;";break;case 38:g="&amp;";break;case 39:g="&#x27;";break;case 60:g="&lt;";break;case 62:g="&gt;";break;default:continue}z!==R&&(C+=u.substring(z,R)),z=R+1,C+=g}u=z!==R?C+u.substring(z,R):C}return u}var G=/([A-Z])/g,B=/^ms-/,F=Array.isArray;function Z(u,g){return{insertionMode:u,selectedValue:g}}function X(u,g,C){switch(g){case"select":return Z(1,C.value!=null?C.value:C.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=u.insertionMode||u.insertionMode===0?Z(1,null):u}var q=new Map;function te(u,g,C){if(typeof C!="object")throw Error(t(62));g=!0;for(var R in C)if(r.call(C,R)){var z=C[R];if(z!=null&&typeof z!="boolean"&&z!==""){if(R.indexOf("--")===0){var j=$(R);z=$((""+z).trim())}else{j=R;var H=q.get(j);H!==void 0||(H=$(j.replace(G,"-$1").toLowerCase().replace(B,"-ms-")),q.set(j,H)),j=H,z=typeof z=="number"?z===0||r.call(T,R)?""+z:z+"px":$((""+z).trim())}g?(g=!1,u.push(' style="',j,":",z)):u.push(";",j,":",z)}}g||u.push('"')}function ee(u,g,C,R){switch(C){case"style":te(u,g,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){if(g=p.hasOwnProperty(C)?p[C]:null,g!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(C=g.attributeName,g.type){case 3:R&&u.push(" ",C,'=""');break;case 4:R===!0?u.push(" ",C,'=""'):R!==!1&&u.push(" ",C,'="',$(R),'"');break;case 5:isNaN(R)||u.push(" ",C,'="',$(R),'"');break;case 6:!isNaN(R)&&1<=R&&u.push(" ",C,'="',$(R),'"');break;default:g.sanitizeURL&&(R=""+R),u.push(" ",C,'="',$(R),'"')}}else if(y(C)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(g=C.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}u.push(" ",C,'="',$(R),'"')}}}function re(u,g,C){if(g!=null){if(C!=null)throw Error(t(60));if(typeof g!="object"||!("__html"in g))throw Error(t(61));g=g.__html,g!=null&&u.push(""+g)}}function le(u){var g="";return e.Children.forEach(u,function(C){C!=null&&(g+=C)}),g}function ce(u,g,C,R){u.push(we(C));var z=C=null,j;for(j in g)if(r.call(g,j)){var H=g[j];if(H!=null)switch(j){case"children":C=H;break;case"dangerouslySetInnerHTML":z=H;break;default:ee(u,R,j,H)}}return u.push(">"),re(u,z,C),typeof C=="string"?(u.push($(C)),null):C}var ze=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ne=new Map;function we(u){var g=Ne.get(u);if(g===void 0){if(!ze.test(u))throw Error(t(65,u));g="<"+u,Ne.set(u,g)}return g}function He(u,g,C,R,z){switch(g){case"select":u.push(we("select"));var j=null,H=null;for(ue in C)if(r.call(C,ue)){var Q=C[ue];if(Q!=null)switch(ue){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"defaultValue":case"value":break;default:ee(u,R,ue,Q)}}return u.push(">"),re(u,H,j),j;case"option":H=z.selectedValue,u.push(we("option"));var ae=Q=null,fe=null,ue=null;for(j in C)if(r.call(C,j)){var ye=C[j];if(ye!=null)switch(j){case"children":Q=ye;break;case"selected":fe=ye;break;case"dangerouslySetInnerHTML":ue=ye;break;case"value":ae=ye;default:ee(u,R,j,ye)}}if(H!=null)if(C=ae!==null?""+ae:le(Q),F(H)){for(R=0;R<H.length;R++)if(""+H[R]===C){u.push(' selected=""');break}}else""+H===C&&u.push(' selected=""');else fe&&u.push(' selected=""');return u.push(">"),re(u,ue,Q),Q;case"textarea":u.push(we("textarea")),ue=H=j=null;for(Q in C)if(r.call(C,Q)&&(ae=C[Q],ae!=null))switch(Q){case"children":ue=ae;break;case"value":j=ae;break;case"defaultValue":H=ae;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:ee(u,R,Q,ae)}if(j===null&&H!==null&&(j=H),u.push(">"),ue!=null){if(j!=null)throw Error(t(92));if(F(ue)&&1<ue.length)throw Error(t(93));j=""+ue}return typeof j=="string"&&j[0]===`
14
10
  `&&u.push(`
15
- `),j!==null&&u.push(H(""+j)),null;case"input":u.push(Te("input")),se=ue=K=j=null;for($ in C)if(r.call(C,$)&&(fe=C[$],fe!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":se=fe;break;case"defaultValue":K=fe;break;case"checked":ue=fe;break;case"value":j=fe;break;default:te(u,R,$,fe)}return ue!==null?te(u,R,"checked",ue):se!==null&&te(u,R,"checked",se),j!==null?te(u,R,"value",j):K!==null&&te(u,R,"value",K),u.push("/>"),null;case"menuitem":u.push(Te("menuitem"));for(var ut in C)if(r.call(C,ut)&&(j=C[ut],j!=null))switch(ut){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:te(u,R,ut,j)}return u.push(">"),null;case"title":u.push(Te("title")),j=null;for(xe in C)if(r.call(C,xe)&&($=C[xe],$!=null))switch(xe){case"children":j=$;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:te(u,R,xe,$)}return u.push(">"),j;case"listing":case"pre":u.push(Te(v)),$=j=null;for(se in C)if(r.call(C,se)&&(K=C[se],K!=null))switch(se){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;default:te(u,R,se,K)}if(u.push(">"),$!=null){if(j!=null)throw Error(t(60));if(typeof $!="object"||!("__html"in $))throw Error(t(61));C=$.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
11
+ `),j!==null&&u.push($(""+j)),null;case"input":u.push(we("input")),ae=ue=Q=j=null;for(H in C)if(r.call(C,H)&&(fe=C[H],fe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ae=fe;break;case"defaultValue":Q=fe;break;case"checked":ue=fe;break;case"value":j=fe;break;default:ee(u,R,H,fe)}return ue!==null?ee(u,R,"checked",ue):ae!==null&&ee(u,R,"checked",ae),j!==null?ee(u,R,"value",j):Q!==null&&ee(u,R,"value",Q),u.push("/>"),null;case"menuitem":u.push(we("menuitem"));for(var lt in C)if(r.call(C,lt)&&(j=C[lt],j!=null))switch(lt){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:ee(u,R,lt,j)}return u.push(">"),null;case"title":u.push(we("title")),j=null;for(ye in C)if(r.call(C,ye)&&(H=C[ye],H!=null))switch(ye){case"children":j=H;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:ee(u,R,ye,H)}return u.push(">"),j;case"listing":case"pre":u.push(we(g)),H=j=null;for(ae in C)if(r.call(C,ae)&&(Q=C[ae],Q!=null))switch(ae){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;default:ee(u,R,ae,Q)}if(u.push(">"),H!=null){if(j!=null)throw Error(t(60));if(typeof H!="object"||!("__html"in H))throw Error(t(61));C=H.__html,C!=null&&(typeof C=="string"&&0<C.length&&C[0]===`
16
12
  `?u.push(`
17
13
  `,C):u.push(""+C))}return typeof j=="string"&&j[0]===`
18
14
  `&&u.push(`
19
- `),j;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":u.push(Te(v));for(var tt in C)if(r.call(C,tt)&&(j=C[tt],j!=null))switch(tt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,v));default:te(u,R,tt,j)}return u.push("/>"),null;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 ce(u,C,v,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),ce(u,C,v,R);default:if(v.indexOf("-")===-1&&typeof C.is!="string")return ce(u,C,v,R);u.push(Te(v)),$=j=null;for(fe in C)if(r.call(C,fe)&&(K=C[fe],K!=null))switch(fe){case"children":j=K;break;case"dangerouslySetInnerHTML":$=K;break;case"style":ne(u,R,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:g(fe)&&typeof K!="function"&&typeof K!="symbol"&&u.push(" ",fe,'="',H(K),'"')}return u.push(">"),oe(u,$,j),j}}function Re(u,v,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(t(395));return u.push(C),u.push('"></template>')}function ht(u,v,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 4:return u.push('<table hidden id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(v.segmentPrefix),v=R.toString(16),u.push(v),u.push('">');default:throw Error(t(397))}}function Ie(u,v){switch(v.insertionMode){case 0:case 1:return u.push("</div>");case 2:return u.push("</svg>");case 3:return u.push("</math>");case 4:return u.push("</table>");case 5:return u.push("</tbody></table>");case 6:return u.push("</tr></table>");case 7:return u.push("</colgroup></table>");default:throw Error(t(397))}}var it=/[<\u2028\u2029]/g;function Qe(u){return JSON.stringify(u).replace(it,function(v){switch(v){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Ve(u,v){return v=v===void 0?"":v,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:v+"P:",segmentPrefix:v+"S:",boundaryPrefix:v+"B:",idPrefix:v,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function Nt(u,v,C,R){return C.generateStaticMarkup?(u.push(H(v)),!1):(v===""?u=R:(R&&u.push("<!-- -->"),u.push(H(v)),u=!0),u)}var pe=Object.assign,ke=Symbol.for("react.element"),Ht=Symbol.for("react.portal"),gt=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),Ce=Symbol.for("react.profiler"),Pt=Symbol.for("react.provider"),$t=Symbol.for("react.context"),Ze=Symbol.for("react.forward_ref"),st=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),bn=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),et=Symbol.for("react.scope"),Fn=Symbol.for("react.debug_trace_mode"),xn=Symbol.for("react.legacy_hidden"),Or=Symbol.for("react.default_value"),vt=Symbol.iterator;function Sn(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case gt:return"Fragment";case Ht:return"Portal";case Ce:return"Profiler";case Me:return"StrictMode";case st:return"Suspense";case De:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case $t:return(u.displayName||"Context")+".Consumer";case Pt:return(u._context.displayName||"Context")+".Provider";case Ze:var v=u.render;return u=u.displayName,u||(u=v.displayName||v.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case bn:return v=u.displayName||null,v!==null?v:Sn(u.type)||"Memo";case Ge:v=u._payload,u=u._init;try{return Sn(u(v))}catch{}}return null}var wn={};function Fr(u,v){if(u=u.contextTypes,!u)return wn;var C={},R;for(R in u)C[R]=v[R];return C}var yt=null;function Ke(u,v){if(u!==v){u.context._currentValue2=u.parentValue,u=u.parent;var C=v.parent;if(u===null){if(C!==null)throw Error(t(401))}else{if(C===null)throw Error(t(401));Ke(u,C)}v.context._currentValue2=v.value}}function Ne(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&Ne(u)}function Kn(u){var v=u.parent;v!==null&&Kn(v),u.context._currentValue2=u.value}function qn(u,v){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(t(402));u.depth===v.depth?Ke(u,v):qn(u,v)}function er(u,v){var C=v.parent;if(C===null)throw Error(t(402));u.depth===C.depth?Ke(u,C):er(u,C),v.context._currentValue2=v.value}function ze(u){var v=yt;v!==u&&(v===null?Kn(u):u===null?Ne(v):v.depth===u.depth?Ke(v,u):v.depth>u.depth?qn(v,u):er(v,u),yt=u)}var tr={isMounted:function(){return!1},enqueueSetState:function(u,v){u=u._reactInternals,u.queue!==null&&u.queue.push(v)},enqueueReplaceState:function(u,v){u=u._reactInternals,u.replace=!0,u.queue=[v]},enqueueForceUpdate:function(){}};function _r(u,v,C,R){var z=u.state!==void 0?u.state:null;u.updater=tr,u.props=C,u.state=z;var j={queue:[],replace:!1};u._reactInternals=j;var $=v.contextType;if(u.context=typeof $=="object"&&$!==null?$._currentValue2:R,$=v.getDerivedStateFromProps,typeof $=="function"&&($=$(C,z),z=$==null?z:pe({},z,$),u.state=z),typeof v.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(v=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),v!==u.state&&tr.enqueueReplaceState(u,u.state,null),j.queue!==null&&0<j.queue.length)if(v=j.queue,$=j.replace,j.queue=null,j.replace=!1,$&&v.length===1)u.state=v[0];else{for(j=$?v[0]:u.state,z=!0,$=$?1:0;$<v.length;$++){var K=v[$];K=typeof K=="function"?K.call(u,j,C,R):K,K!=null&&(z?(z=!1,j=pe({},j,K)):pe(j,K))}u.state=j}else j.queue=null}var Lr={id:1,overflow:""};function nr(u,v,C){var R=u.id;u=u.overflow;var z=32-_n(R)-1;R&=~(1<<z),C+=1;var j=32-_n(v)+z;if(30<j){var $=z-z%5;return j=(R&(1<<$)-1).toString(32),R>>=$,z-=$,{id:1<<32-_n(v)+z|C<<z|R,overflow:j+u}}return{id:1<<j|C<<z|R,overflow:u}}var _n=Math.clz32?Math.clz32:tn,go=Math.log,rr=Math.LN2;function tn(u){return u>>>=0,u===0?32:31-(go(u)/rr|0)|0}function or(u,v){return u===v&&(u!==0||1/u===1/v)||u!==u&&v!==v}var jr=typeof Object.is=="function"?Object.is:or,at=null,At=null,nn=null,we=null,rn=!1,Ln=!1,kn=0,It=null,jn=0;function Yt(){if(at===null)throw Error(t(321));return at}function Le(){if(0<jn)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function ir(){return we===null?nn===null?(rn=!1,nn=we=Le()):(rn=!0,we=nn):we.next===null?(rn=!1,we=we.next=Le()):(rn=!0,we=we.next),we}function sr(){At=at=null,Ln=!1,nn=null,jn=0,we=It=null}function Br(u,v){return typeof v=="function"?v(u):v}function We(u,v,C){if(at=Yt(),we=ir(),rn){var R=we.queue;if(v=R.dispatch,It!==null&&(C=It.get(R),C!==void 0)){It.delete(R),R=we.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return we.memoizedState=R,[R,v]}return[we.memoizedState,v]}return u=u===Br?typeof v=="function"?v():v:C!==void 0?C(v):v,we.memoizedState=u,u=we.queue={last:null,dispatch:null},u=u.dispatch=vo.bind(null,at,u),[we.memoizedState,u]}function ar(u,v){if(at=Yt(),we=ir(),v=v===void 0?null:v,we!==null){var C=we.memoizedState;if(C!==null&&v!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<v.length;z++)if(!jr(v[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),we.memoizedState=[u,v],u}function vo(u,v,C){if(25<=jn)throw Error(t(301));if(u===at)if(Ln=!0,u={action:C,next:null},It===null&&(It=new Map),C=It.get(v),C===void 0)It.set(v,u);else{for(v=C;v.next!==null;)v=v.next;v.next=u}}function yo(){throw Error(t(394))}function Mt(){}var lr={readContext:function(u){return u._currentValue2},useContext:function(u){return Yt(),u._currentValue2},useMemo:ar,useReducer:We,useRef:function(u){at=Yt(),we=ir();var v=we.memoizedState;return v===null?(u={current:u},we.memoizedState=u):v},useState:function(u){return We(Br,u)},useInsertionEffect:Mt,useLayoutEffect:function(){},useCallback:function(u,v){return ar(function(){return u},v)},useImperativeHandle:Mt,useEffect:Mt,useDebugValue:Mt,useDeferredValue:function(u){return Yt(),u},useTransition:function(){return Yt(),[!1,yo]},useId:function(){var u=At.treeContext,v=u.overflow;u=u.id,u=(u&~(1<<32-_n(u)-1)).toString(32)+v;var C=Bn;if(C===null)throw Error(t(404));return v=kn++,u=":"+C.idPrefix+"R"+u,0<v&&(u+="H"+v.toString(32)),u+":"},useMutableSource:function(u,v){return Yt(),v(u._source)},useSyncExternalStore:function(u,v,C){if(C===void 0)throw Error(t(407));return C()}},Bn=null,ur=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tn(u){return console.error(u),null}function on(){}function bo(u,v,C,R,z,j,$,K,se){var fe=[],ue=new Set;return v={destination:null,responseState:v,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ue,pingedTasks:fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?Tn:z,onAllReady:j===void 0?on:j,onShellReady:$===void 0?on:$,onShellError:K===void 0?on:K,onFatalError:se===void 0?on:se},C=Vn(v,0,null,C,!1,!1),C.parentFlushed=!0,u=cr(v,u,null,C,ue,wn,null,Lr),fe.push(u),v}function cr(u,v,C,R,z,j,$,K){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var se={node:v,ping:function(){var fe=u.pingedTasks;fe.push(se),fe.length===1&&lt(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:j,context:$,treeContext:K};return z.add(se),se}function Vn(u,v,C,R,z,j){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:j}}function sn(u,v){if(u=u.onError(v),u!=null&&typeof u!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof u+'" instead');return u}function Gt(u,v){var C=u.onShellError;C(v),C=u.onFatalError,C(v),u.destination!==null?(u.status=2,u.destination.destroy(v)):(u.status=1,u.fatalError=v)}function Dt(u,v,C,R,z){for(at={},At=v,kn=0,u=C(R,z);Ln;)Ln=!1,kn=0,jn+=1,we=null,u=C(R,z);return sr(),u}function Cn(u,v,C,R){var z=C.render(),j=R.childContextTypes;if(j!=null){var $=v.legacyContext;if(typeof C.getChildContext!="function")R=$;else{C=C.getChildContext();for(var K in C)if(!(K in j))throw Error(t(108,Sn(R)||"Unknown",K));R=pe({},$,C)}v.legacyContext=R,Fe(u,v,z),v.legacyContext=$}else Fe(u,v,z)}function En(u,v){if(u&&u.defaultProps){v=pe({},v),u=u.defaultProps;for(var C in u)v[C]===void 0&&(v[C]=u[C]);return v}return v}function pt(u,v,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Fr(C,v.legacyContext);var j=C.contextType;j=new C(R,typeof j=="object"&&j!==null?j._currentValue2:z),_r(j,C,R,z),Cn(u,v,j,C)}else{j=Fr(C,v.legacyContext),z=Dt(u,v,C,R,j);var $=kn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)_r(z,C,R,j),Cn(u,v,z,C);else if($){R=v.treeContext,v.treeContext=nr(R,1,0);try{Fe(u,v,z)}finally{v.treeContext=R}}else Fe(u,v,z)}else if(typeof C=="string"){switch(z=v.blockedSegment,j=Ye(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,$=z.formatContext,z.formatContext=X($,C,R),bt(u,v,j),z.formatContext=$,C){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push("</",C,">")}z.lastPushedText=!1}else{switch(C){case xn:case Fn:case Me:case Ce:case gt:Fe(u,v,R.children);return;case De:Fe(u,v,R.children);return;case et:throw Error(t(343));case st:e:{C=v.blockedBoundary,z=v.blockedSegment,j=R.fallback,R=R.children,$=new Set;var K={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:$,errorDigest:null},se=Vn(u,z.chunks.length,K,z.formatContext,!1,!1);z.children.push(se),z.lastPushedText=!1;var fe=Vn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,v.blockedBoundary=K,v.blockedSegment=fe;try{if(bt(u,v,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Ft(K,fe),K.pendingTasks===0)break e}catch(ue){fe.status=4,K.forceClientRender=!0,K.errorDigest=sn(u,ue)}finally{v.blockedBoundary=C,v.blockedSegment=z}v=cr(u,j,C,se,$,v.legacyContext,v.context,v.treeContext),u.pingedTasks.push(v)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Ze:if(R=Dt(u,v,C.render,R,z),kn!==0){C=v.treeContext,v.treeContext=nr(C,1,0);try{Fe(u,v,R)}finally{v.treeContext=C}}else Fe(u,v,R);return;case bn:C=C.type,R=En(C,R),pt(u,v,C,R,z);return;case Pt:if(z=R.children,C=C._context,R=R.value,j=C._currentValue2,C._currentValue2=R,$=yt,yt=R={parent:$,depth:$===null?0:$.depth+1,context:C,parentValue:j,value:R},v.context=R,Fe(u,v,z),u=yt,u===null)throw Error(t(403));R=u.parentValue,u.context._currentValue2=R===Or?u.context._defaultValue:R,u=yt=u.parent,v.context=u;return;case $t:R=R.children,R=R(C._currentValue2),Fe(u,v,R);return;case Ge:z=C._init,C=z(C._payload),R=En(C,R),pt(u,v,C,R,void 0);return}throw Error(t(130,C==null?C:typeof C,""))}}function Fe(u,v,C){if(v.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case ke:pt(u,v,C.type,C.props,C.ref);return;case Ht:throw Error(t(257));case Ge:var R=C._init;C=R(C._payload),Fe(u,v,C);return}if(F(C)){Ot(u,v,C);return}if(C===null||typeof C!="object"?R=null:(R=vt&&C[vt]||C["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(C))){if(C=R.next(),!C.done){var z=[];do z.push(C.value),C=R.next();while(!C.done);Ot(u,v,z)}return}throw u=Object.prototype.toString.call(C),Error(t(31,u==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":u))}typeof C=="string"?(R=v.blockedSegment,R.lastPushedText=Nt(v.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=v.blockedSegment,R.lastPushedText=Nt(v.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function Ot(u,v,C){for(var R=C.length,z=0;z<R;z++){var j=v.treeContext;v.treeContext=nr(j,R,z);try{bt(u,v,C[z])}finally{v.treeContext=j}}}function bt(u,v,C){var R=v.blockedSegment.formatContext,z=v.legacyContext,j=v.context;try{return Fe(u,v,C)}catch(se){if(sr(),typeof se=="object"&&se!==null&&typeof se.then=="function"){C=se;var $=v.blockedSegment,K=Vn(u,$.chunks.length,null,$.formatContext,$.lastPushedText,!0);$.children.push(K),$.lastPushedText=!1,u=cr(u,v.node,v.blockedBoundary,K,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,C.then(u,u),v.blockedSegment.formatContext=R,v.legacyContext=z,v.context=j,ze(j)}else throw v.blockedSegment.formatContext=R,v.legacyContext=z,v.context=j,ze(j),se}}function Je(u){var v=u.blockedBoundary;u=u.blockedSegment,u.status=3,_t(this,v,u)}function zn(u,v,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(t(432)):C,R.errorDigest=v.onError(u),R.parentFlushed&&v.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return zn(z,v,C)}),R.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(R=v.onAllReady,R()))}function Ft(u,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var C=v.children[0];C.id=v.id,C.parentFlushed=!0,C.status===1&&Ft(u,C)}else u.completedSegments.push(v)}function _t(u,v,C){if(v===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(t(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=on,v=u.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(C.parentFlushed&&C.status===1&&Ft(v,C),v.parentFlushed&&u.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(Je,u),v.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Ft(v,C),v.completedSegments.length===1&&v.parentFlushed&&u.partialBoundaries.push(v)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function lt(u){if(u.status!==2){var v=yt,C=ur.current;ur.current=lr;var R=Bn;Bn=u.responseState;try{var z=u.pingedTasks,j;for(j=0;j<z.length;j++){var $=z[j],K=u,se=$.blockedSegment;if(se.status===0){ze($.context);try{Fe(K,$,$.node),K.responseState.generateStaticMarkup||se.lastPushedText&&se.textEmbedded&&se.chunks.push("<!-- -->"),$.abortSet.delete($),se.status=1,_t(K,$.blockedBoundary,se)}catch(nt){if(sr(),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"){var fe=$.ping;nt.then(fe,fe)}else{$.abortSet.delete($),se.status=4;var ue=$.blockedBoundary,xe=nt,ut=sn(K,xe);if(ue===null?Gt(K,xe):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.errorDigest=ut,ue.parentFlushed&&K.clientRenderedBoundaries.push(ue))),K.allPendingTasks--,K.allPendingTasks===0){var tt=K.onAllReady;tt()}}}finally{}}}z.splice(0,j),u.destination!==null&&ln(u,u.destination)}catch(nt){sn(u,nt),Gt(u,nt)}finally{Bn=R,ur.current=C,C===lr&&ze(v)}}}function Xt(u,v,C){switch(C.parentFlushed=!0,C.status){case 0:var R=C.id=u.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,u=u.responseState,v.push('<template id="'),v.push(u.placeholderPrefix),u=R.toString(16),v.push(u),v.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var j=0;C=C.children;for(var $=0;$<C.length;$++){for(z=C[$];j<z.index;j++)v.push(R[j]);z=an(u,v,z)}for(;j<R.length-1;j++)v.push(R[j]);return j<R.length&&(z=v.push(R[j])),z;default:throw Error(t(390))}}function an(u,v,C){var R=C.boundary;if(R===null)return Xt(u,v,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,v.push("<!--$!-->"),v.push("<template"),R&&(v.push(' data-dgst="'),R=H(R),v.push(R),v.push('"')),v.push("></template>")),Xt(u,v,C),u=u.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),u;if(0<R.pendingTasks){R.rootSegmentID=u.nextSegmentId++,0<R.completedSegments.length&&u.partialBoundaries.push(R);var z=u.responseState,j=z.nextSuspenseID++;return z=z.boundaryPrefix+j.toString(16),R=R.id=z,Re(v,u.responseState,R),Xt(u,v,C),v.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Re(v,u.responseState,R.id),Xt(u,v,C),v.push("<!--/$-->");if(u.responseState.generateStaticMarkup||v.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(t(391));return an(u,v,C[0]),u=u.responseState.generateStaticMarkup?!0:v.push("<!--/$-->"),u}function fr(u,v,C){return ht(v,u.responseState,C.formatContext,C.id),an(u,v,C),Ie(v,C.formatContext)}function dr(u,v,C){for(var R=C.completedSegments,z=0;z<R.length;z++)Wn(u,v,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,v.push(u.startInlineScript),u.sentCompleteBoundaryFunction?v.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,v.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),R===null)throw Error(t(395));return C=C.toString(16),v.push(R),v.push('","'),v.push(u.segmentPrefix),v.push(C),v.push('")<\/script>')}function Wn(u,v,C,R){if(R.status===2)return!0;var z=R.id;if(z===-1){if((R.id=C.rootSegmentID)===-1)throw Error(t(392));return fr(u,v,R)}return fr(u,v,R),u=u.responseState,v.push(u.startInlineScript),u.sentCompleteSegmentFunction?v.push('$RS("'):(u.sentCompleteSegmentFunction=!0,v.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),v.push(u.segmentPrefix),z=z.toString(16),v.push(z),v.push('","'),v.push(u.placeholderPrefix),v.push(z),v.push('")<\/script>')}function ln(u,v){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){an(u,v,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)v.push(R[C]);C<R.length&&v.push(R[C])}var z=u.clientRenderedBoundaries,j;for(j=0;j<z.length;j++){var $=z[j];R=v;var K=u.responseState,se=$.id,fe=$.errorDigest,ue=$.errorMessage,xe=$.errorComponentStack;if(R.push(K.startInlineScript),K.sentClientRenderFunction?R.push('$RX("'):(K.sentClientRenderFunction=!0,R.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),se===null)throw Error(t(395));if(R.push(se),R.push('"'),fe||ue||xe){R.push(",");var ut=Qe(fe||"");R.push(ut)}if(ue||xe){R.push(",");var tt=Qe(ue||"");R.push(tt)}if(xe){R.push(",");var nt=Qe(xe);R.push(nt)}if(!R.push(")<\/script>")){u.destination=null,j++,z.splice(0,j);return}}z.splice(0,j);var Zt=u.completedBoundaries;for(j=0;j<Zt.length;j++)if(!dr(u,v,Zt[j])){u.destination=null,j++,Zt.splice(0,j);return}Zt.splice(0,j);var xt=u.partialBoundaries;for(j=0;j<xt.length;j++){var Hn=xt[j];e:{z=u,$=v;var un=Hn.completedSegments;for(K=0;K<un.length;K++)if(!Wn(z,$,Hn,un[K])){K++,un.splice(0,K);var Rn=!1;break e}un.splice(0,K),Rn=!0}if(!Rn){u.destination=null,j++,xt.splice(0,j);return}}xt.splice(0,j);var Jt=u.completedBoundaries;for(j=0;j<Jt.length;j++)if(!dr(u,v,Jt[j])){u.destination=null,j++,Jt.splice(0,j);return}Jt.splice(0,j)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&v.push(null)}}function hr(u,v){try{var C=u.abortableTasks;C.forEach(function(R){return zn(R,u,v)}),C.clear(),u.destination!==null&&ln(u,u.destination)}catch(R){sn(u,R),Gt(u,R)}}function Un(){}function Nn(u,v,C,R){var z=!1,j=null,$="",K={push:function(fe){return fe!==null&&($+=fe),!0},destroy:function(fe){z=!0,j=fe}},se=!1;if(u=bo(u,Ve(C,v?v.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Un,void 0,function(){se=!0},void 0,void 0),lt(u),hr(u,R),u.status===1)u.status=2,K.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=K;try{ln(u,K)}catch(fe){sn(u,fe),Gt(u,fe)}}if(z)throw j;if(!se)throw Error(t(426));return $}return ti.renderToNodeStream=function(){throw Error(t(207))},ti.renderToStaticMarkup=function(u,v){return Nn(u,v,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ti.renderToStaticNodeStream=function(){throw Error(t(208))},ti.renderToString=function(u,v){return Nn(u,v,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ti.version="18.2.0",ti}var Sl={};/**
15
+ `),j;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":u.push(we(g));for(var et in C)if(r.call(C,et)&&(j=C[et],j!=null))switch(et){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,g));default:ee(u,R,et,j)}return u.push("/>"),null;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 ce(u,C,g,R);case"html":return z.insertionMode===0&&u.push("<!DOCTYPE html>"),ce(u,C,g,R);default:if(g.indexOf("-")===-1&&typeof C.is!="string")return ce(u,C,g,R);u.push(we(g)),H=j=null;for(fe in C)if(r.call(C,fe)&&(Q=C[fe],Q!=null))switch(fe){case"children":j=Q;break;case"dangerouslySetInnerHTML":H=Q;break;case"style":te(u,R,Q);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(fe)&&typeof Q!="function"&&typeof Q!="symbol"&&u.push(" ",fe,'="',$(Q),'"')}return u.push(">"),re(u,H,j),j}}function Ce(u,g,C){if(u.push('<!--$?--><template id="'),C===null)throw Error(t(395));return u.push(C),u.push('"></template>')}function dt(u,g,C,R){switch(C.insertionMode){case 0:case 1:return u.push('<div hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 2:return u.push('<svg aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 3:return u.push('<math aria-hidden="true" style="display:none" id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 4:return u.push('<table hidden id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 5:return u.push('<table hidden><tbody id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 6:return u.push('<table hidden><tr id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');case 7:return u.push('<table hidden><colgroup id="'),u.push(g.segmentPrefix),g=R.toString(16),u.push(g),u.push('">');default:throw Error(t(397))}}function Pe(u,g){switch(g.insertionMode){case 0:case 1:return u.push("</div>");case 2:return u.push("</svg>");case 3:return u.push("</math>");case 4:return u.push("</table>");case 5:return u.push("</tbody></table>");case 6:return u.push("</tr></table>");case 7:return u.push("</colgroup></table>");default:throw Error(t(397))}}var ot=/[<\u2028\u2029]/g;function Ze(u){return JSON.stringify(u).replace(ot,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function je(u,g){return g=g===void 0?"":g,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:g+"P:",segmentPrefix:g+"S:",boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:u}}function Ut(u,g,C,R){return C.generateStaticMarkup?(u.push($(g)),!1):(g===""?u=R:(R&&u.push("<!-- -->"),u.push($(g)),u=!0),u)}var he=Object.assign,Se=Symbol.for("react.element"),Nt=Symbol.for("react.portal"),mt=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),ke=Symbol.for("react.profiler"),Rt=Symbol.for("react.provider"),Ht=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),Ie=Symbol.for("react.suspense_list"),yn=Symbol.for("react.memo"),$e=Symbol.for("react.lazy"),qe=Symbol.for("react.scope"),On=Symbol.for("react.debug_trace_mode"),bn=Symbol.for("react.legacy_hidden"),Mr=Symbol.for("react.default_value"),gt=Symbol.iterator;function xn(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case mt:return"Fragment";case Nt:return"Portal";case ke:return"Profiler";case Ae:return"StrictMode";case it:return"Suspense";case Ie:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Ht:return(u.displayName||"Context")+".Consumer";case Rt:return(u._context.displayName||"Context")+".Provider";case Ge:var g=u.render;return u=u.displayName,u||(u=g.displayName||g.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case yn:return g=u.displayName||null,g!==null?g:xn(u.type)||"Memo";case $e:g=u._payload,u=u._init;try{return xn(u(g))}catch{}}return null}var Sn={};function Dr(u,g){if(u=u.contextTypes,!u)return Sn;var C={},R;for(R in u)C[R]=g[R];return C}var vt=null;function Je(u,g){if(u!==g){u.context._currentValue2=u.parentValue,u=u.parent;var C=g.parent;if(u===null){if(C!==null)throw Error(t(401))}else{if(C===null)throw Error(t(401));Je(u,C)}g.context._currentValue2=g.value}}function We(u){u.context._currentValue2=u.parentValue,u=u.parent,u!==null&&We(u)}function Qn(u){var g=u.parent;g!==null&&Qn(g),u.context._currentValue2=u.value}function Kn(u,g){if(u.context._currentValue2=u.parentValue,u=u.parent,u===null)throw Error(t(402));u.depth===g.depth?Je(u,g):Kn(u,g)}function qn(u,g){var C=g.parent;if(C===null)throw Error(t(402));u.depth===C.depth?Je(u,C):qn(u,C),g.context._currentValue2=g.value}function Be(u){var g=vt;g!==u&&(g===null?Qn(u):u===null?We(g):g.depth===u.depth?Je(g,u):g.depth>u.depth?Kn(g,u):qn(g,u),vt=u)}var er={isMounted:function(){return!1},enqueueSetState:function(u,g){u=u._reactInternals,u.queue!==null&&u.queue.push(g)},enqueueReplaceState:function(u,g){u=u._reactInternals,u.replace=!0,u.queue=[g]},enqueueForceUpdate:function(){}};function Or(u,g,C,R){var z=u.state!==void 0?u.state:null;u.updater=er,u.props=C,u.state=z;var j={queue:[],replace:!1};u._reactInternals=j;var H=g.contextType;if(u.context=typeof H=="object"&&H!==null?H._currentValue2:R,H=g.getDerivedStateFromProps,typeof H=="function"&&(H=H(C,z),z=H==null?z:he({},z,H),u.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function"))if(g=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),g!==u.state&&er.enqueueReplaceState(u,u.state,null),j.queue!==null&&0<j.queue.length)if(g=j.queue,H=j.replace,j.queue=null,j.replace=!1,H&&g.length===1)u.state=g[0];else{for(j=H?g[0]:u.state,z=!0,H=H?1:0;H<g.length;H++){var Q=g[H];Q=typeof Q=="function"?Q.call(u,j,C,R):Q,Q!=null&&(z?(z=!1,j=he({},j,Q)):he(j,Q))}u.state=j}else j.queue=null}var Fr={id:1,overflow:""};function tr(u,g,C){var R=u.id;u=u.overflow;var z=32-Fn(R)-1;R&=~(1<<z),C+=1;var j=32-Fn(g)+z;if(30<j){var H=z-z%5;return j=(R&(1<<H)-1).toString(32),R>>=H,z-=H,{id:1<<32-Fn(g)+z|C<<z|R,overflow:j+u}}return{id:1<<j|C<<z|R,overflow:u}}var Fn=Math.clz32?Math.clz32:qt,po=Math.log,nr=Math.LN2;function qt(u){return u>>>=0,u===0?32:31-(po(u)/nr|0)|0}function rr(u,g){return u===g&&(u!==0||1/u===1/g)||u!==u&&g!==g}var Lr=typeof Object.is=="function"?Object.is:rr,at=null,Pt=null,en=null,xe=null,tn=!1,Ln=!1,wn=0,At=null,_n=0;function $t(){if(at===null)throw Error(t(321));return at}function Fe(){if(0<_n)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function or(){return xe===null?en===null?(tn=!1,en=xe=Fe()):(tn=!0,xe=en):xe.next===null?(tn=!1,xe=xe.next=Fe()):(tn=!0,xe=xe.next),xe}function ir(){Pt=at=null,Ln=!1,en=null,_n=0,xe=At=null}function _r(u,g){return typeof g=="function"?g(u):g}function Ve(u,g,C){if(at=$t(),xe=or(),tn){var R=xe.queue;if(g=R.dispatch,At!==null&&(C=At.get(R),C!==void 0)){At.delete(R),R=xe.memoizedState;do R=u(R,C.action),C=C.next;while(C!==null);return xe.memoizedState=R,[R,g]}return[xe.memoizedState,g]}return u=u===_r?typeof g=="function"?g():g:C!==void 0?C(g):g,xe.memoizedState=u,u=xe.queue={last:null,dispatch:null},u=u.dispatch=mo.bind(null,at,u),[xe.memoizedState,u]}function ar(u,g){if(at=$t(),xe=or(),g=g===void 0?null:g,xe!==null){var C=xe.memoizedState;if(C!==null&&g!==null){var R=C[1];e:if(R===null)R=!1;else{for(var z=0;z<R.length&&z<g.length;z++)if(!Lr(g[z],R[z])){R=!1;break e}R=!0}if(R)return C[0]}}return u=u(),xe.memoizedState=[u,g],u}function mo(u,g,C){if(25<=_n)throw Error(t(301));if(u===at)if(Ln=!0,u={action:C,next:null},At===null&&(At=new Map),C=At.get(g),C===void 0)At.set(g,u);else{for(g=C;g.next!==null;)g=g.next;g.next=u}}function go(){throw Error(t(394))}function It(){}var sr={readContext:function(u){return u._currentValue2},useContext:function(u){return $t(),u._currentValue2},useMemo:ar,useReducer:Ve,useRef:function(u){at=$t(),xe=or();var g=xe.memoizedState;return g===null?(u={current:u},xe.memoizedState=u):g},useState:function(u){return Ve(_r,u)},useInsertionEffect:It,useLayoutEffect:function(){},useCallback:function(u,g){return ar(function(){return u},g)},useImperativeHandle:It,useEffect:It,useDebugValue:It,useDeferredValue:function(u){return $t(),u},useTransition:function(){return $t(),[!1,go]},useId:function(){var u=Pt.treeContext,g=u.overflow;u=u.id,u=(u&~(1<<32-Fn(u)-1)).toString(32)+g;var C=jn;if(C===null)throw Error(t(404));return g=wn++,u=":"+C.idPrefix+"R"+u,0<g&&(u+="H"+g.toString(32)),u+":"},useMutableSource:function(u,g){return $t(),g(u._source)},useSyncExternalStore:function(u,g,C){if(C===void 0)throw Error(t(407));return C()}},jn=null,lr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function kn(u){return console.error(u),null}function nn(){}function vo(u,g,C,R,z,j,H,Q,ae){var fe=[],ue=new Set;return g={destination:null,responseState:g,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ue,pingedTasks:fe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?kn:z,onAllReady:j===void 0?nn:j,onShellReady:H===void 0?nn:H,onShellError:Q===void 0?nn:Q,onFatalError:ae===void 0?nn:ae},C=Bn(g,0,null,C,!1,!1),C.parentFlushed=!0,u=ur(g,u,null,C,ue,Sn,null,Fr),fe.push(u),g}function ur(u,g,C,R,z,j,H,Q){u.allPendingTasks++,C===null?u.pendingRootTasks++:C.pendingTasks++;var ae={node:g,ping:function(){var fe=u.pingedTasks;fe.push(ae),fe.length===1&&st(u)},blockedBoundary:C,blockedSegment:R,abortSet:z,legacyContext:j,context:H,treeContext:Q};return z.add(ae),ae}function Bn(u,g,C,R,z,j){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:C,lastPushedText:z,textEmbedded:j}}function rn(u,g){if(u=u.onError(g),u!=null&&typeof u!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof u+'" instead');return u}function Yt(u,g){var C=u.onShellError;C(g),C=u.onFatalError,C(g),u.destination!==null?(u.status=2,u.destination.destroy(g)):(u.status=1,u.fatalError=g)}function Mt(u,g,C,R,z){for(at={},Pt=g,wn=0,u=C(R,z);Ln;)Ln=!1,wn=0,_n+=1,xe=null,u=C(R,z);return ir(),u}function Tn(u,g,C,R){var z=C.render(),j=R.childContextTypes;if(j!=null){var H=g.legacyContext;if(typeof C.getChildContext!="function")R=H;else{C=C.getChildContext();for(var Q in C)if(!(Q in j))throw Error(t(108,xn(R)||"Unknown",Q));R=he({},H,C)}g.legacyContext=R,De(u,g,z),g.legacyContext=H}else De(u,g,z)}function Cn(u,g){if(u&&u.defaultProps){g=he({},g),u=u.defaultProps;for(var C in u)g[C]===void 0&&(g[C]=u[C]);return g}return g}function ht(u,g,C,R,z){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){z=Dr(C,g.legacyContext);var j=C.contextType;j=new C(R,typeof j=="object"&&j!==null?j._currentValue2:z),Or(j,C,R,z),Tn(u,g,j,C)}else{j=Dr(C,g.legacyContext),z=Mt(u,g,C,R,j);var H=wn!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Or(z,C,R,j),Tn(u,g,z,C);else if(H){R=g.treeContext,g.treeContext=tr(R,1,0);try{De(u,g,z)}finally{g.treeContext=R}}else De(u,g,z)}else if(typeof C=="string"){switch(z=g.blockedSegment,j=He(z.chunks,C,R,u.responseState,z.formatContext),z.lastPushedText=!1,H=z.formatContext,z.formatContext=X(H,C,R),yt(u,g,j),z.formatContext=H,C){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:z.chunks.push("</",C,">")}z.lastPushedText=!1}else{switch(C){case bn:case On:case Ae:case ke:case mt:De(u,g,R.children);return;case Ie:De(u,g,R.children);return;case qe:throw Error(t(343));case it:e:{C=g.blockedBoundary,z=g.blockedSegment,j=R.fallback,R=R.children,H=new Set;var Q={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},ae=Bn(u,z.chunks.length,Q,z.formatContext,!1,!1);z.children.push(ae),z.lastPushedText=!1;var fe=Bn(u,0,null,z.formatContext,!1,!1);fe.parentFlushed=!0,g.blockedBoundary=Q,g.blockedSegment=fe;try{if(yt(u,g,R),u.responseState.generateStaticMarkup||fe.lastPushedText&&fe.textEmbedded&&fe.chunks.push("<!-- -->"),fe.status=1,Ot(Q,fe),Q.pendingTasks===0)break e}catch(ue){fe.status=4,Q.forceClientRender=!0,Q.errorDigest=rn(u,ue)}finally{g.blockedBoundary=C,g.blockedSegment=z}g=ur(u,j,C,ae,H,g.legacyContext,g.context,g.treeContext),u.pingedTasks.push(g)}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case Ge:if(R=Mt(u,g,C.render,R,z),wn!==0){C=g.treeContext,g.treeContext=tr(C,1,0);try{De(u,g,R)}finally{g.treeContext=C}}else De(u,g,R);return;case yn:C=C.type,R=Cn(C,R),ht(u,g,C,R,z);return;case Rt:if(z=R.children,C=C._context,R=R.value,j=C._currentValue2,C._currentValue2=R,H=vt,vt=R={parent:H,depth:H===null?0:H.depth+1,context:C,parentValue:j,value:R},g.context=R,De(u,g,z),u=vt,u===null)throw Error(t(403));R=u.parentValue,u.context._currentValue2=R===Mr?u.context._defaultValue:R,u=vt=u.parent,g.context=u;return;case Ht:R=R.children,R=R(C._currentValue2),De(u,g,R);return;case $e:z=C._init,C=z(C._payload),R=Cn(C,R),ht(u,g,C,R,void 0);return}throw Error(t(130,C==null?C:typeof C,""))}}function De(u,g,C){if(g.node=C,typeof C=="object"&&C!==null){switch(C.$$typeof){case Se:ht(u,g,C.type,C.props,C.ref);return;case Nt:throw Error(t(257));case $e:var R=C._init;C=R(C._payload),De(u,g,C);return}if(F(C)){Dt(u,g,C);return}if(C===null||typeof C!="object"?R=null:(R=gt&&C[gt]||C["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(C))){if(C=R.next(),!C.done){var z=[];do z.push(C.value),C=R.next();while(!C.done);Dt(u,g,z)}return}throw u=Object.prototype.toString.call(C),Error(t(31,u==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":u))}typeof C=="string"?(R=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,C,u.responseState,R.lastPushedText)):typeof C=="number"&&(R=g.blockedSegment,R.lastPushedText=Ut(g.blockedSegment.chunks,""+C,u.responseState,R.lastPushedText))}function Dt(u,g,C){for(var R=C.length,z=0;z<R;z++){var j=g.treeContext;g.treeContext=tr(j,R,z);try{yt(u,g,C[z])}finally{g.treeContext=j}}}function yt(u,g,C){var R=g.blockedSegment.formatContext,z=g.legacyContext,j=g.context;try{return De(u,g,C)}catch(ae){if(ir(),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"){C=ae;var H=g.blockedSegment,Q=Bn(u,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(Q),H.lastPushedText=!1,u=ur(u,g.node,g.blockedBoundary,Q,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,C.then(u,u),g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j)}else throw g.blockedSegment.formatContext=R,g.legacyContext=z,g.context=j,Be(j),ae}}function Xe(u){var g=u.blockedBoundary;u=u.blockedSegment,u.status=3,Ft(this,g,u)}function Vn(u,g,C){var R=u.blockedBoundary;u.blockedSegment.status=3,R===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.push(null))):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,u=C===void 0?Error(t(432)):C,R.errorDigest=g.onError(u),R.parentFlushed&&g.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(z){return Vn(z,g,C)}),R.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(R=g.onAllReady,R()))}function Ot(u,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var C=g.children[0];C.id=g.id,C.parentFlushed=!0,C.status===1&&Ot(u,C)}else u.completedSegments.push(g)}function Ft(u,g,C){if(g===null){if(C.parentFlushed){if(u.completedRootSegment!==null)throw Error(t(389));u.completedRootSegment=C}u.pendingRootTasks--,u.pendingRootTasks===0&&(u.onShellError=nn,g=u.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(C.parentFlushed&&C.status===1&&Ot(g,C),g.parentFlushed&&u.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Xe,u),g.fallbackAbortableTasks.clear()):C.parentFlushed&&C.status===1&&(Ot(g,C),g.completedSegments.length===1&&g.parentFlushed&&u.partialBoundaries.push(g)));u.allPendingTasks--,u.allPendingTasks===0&&(u=u.onAllReady,u())}function st(u){if(u.status!==2){var g=vt,C=lr.current;lr.current=sr;var R=jn;jn=u.responseState;try{var z=u.pingedTasks,j;for(j=0;j<z.length;j++){var H=z[j],Q=u,ae=H.blockedSegment;if(ae.status===0){Be(H.context);try{De(Q,H,H.node),Q.responseState.generateStaticMarkup||ae.lastPushedText&&ae.textEmbedded&&ae.chunks.push("<!-- -->"),H.abortSet.delete(H),ae.status=1,Ft(Q,H.blockedBoundary,ae)}catch(tt){if(ir(),typeof tt=="object"&&tt!==null&&typeof tt.then=="function"){var fe=H.ping;tt.then(fe,fe)}else{H.abortSet.delete(H),ae.status=4;var ue=H.blockedBoundary,ye=tt,lt=rn(Q,ye);if(ue===null?Yt(Q,ye):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.errorDigest=lt,ue.parentFlushed&&Q.clientRenderedBoundaries.push(ue))),Q.allPendingTasks--,Q.allPendingTasks===0){var et=Q.onAllReady;et()}}}finally{}}}z.splice(0,j),u.destination!==null&&an(u,u.destination)}catch(tt){rn(u,tt),Yt(u,tt)}finally{jn=R,lr.current=C,C===sr&&Be(g)}}}function Gt(u,g,C){switch(C.parentFlushed=!0,C.status){case 0:var R=C.id=u.nextSegmentId++;return C.lastPushedText=!1,C.textEmbedded=!1,u=u.responseState,g.push('<template id="'),g.push(u.placeholderPrefix),u=R.toString(16),g.push(u),g.push('"></template>');case 1:C.status=2;var z=!0;R=C.chunks;var j=0;C=C.children;for(var H=0;H<C.length;H++){for(z=C[H];j<z.index;j++)g.push(R[j]);z=on(u,g,z)}for(;j<R.length-1;j++)g.push(R[j]);return j<R.length&&(z=g.push(R[j])),z;default:throw Error(t(390))}}function on(u,g,C){var R=C.boundary;if(R===null)return Gt(u,g,C);if(R.parentFlushed=!0,R.forceClientRender)return u.responseState.generateStaticMarkup||(R=R.errorDigest,g.push("<!--$!-->"),g.push("<template"),R&&(g.push(' data-dgst="'),R=$(R),g.push(R),g.push('"')),g.push("></template>")),Gt(u,g,C),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u;if(0<R.pendingTasks){R.rootSegmentID=u.nextSegmentId++,0<R.completedSegments.length&&u.partialBoundaries.push(R);var z=u.responseState,j=z.nextSuspenseID++;return z=z.boundaryPrefix+j.toString(16),R=R.id=z,Ce(g,u.responseState,R),Gt(u,g,C),g.push("<!--/$-->")}if(R.byteSize>u.progressiveChunkSize)return R.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(R),Ce(g,u.responseState,R.id),Gt(u,g,C),g.push("<!--/$-->");if(u.responseState.generateStaticMarkup||g.push("<!--$-->"),C=R.completedSegments,C.length!==1)throw Error(t(391));return on(u,g,C[0]),u=u.responseState.generateStaticMarkup?!0:g.push("<!--/$-->"),u}function cr(u,g,C){return dt(g,u.responseState,C.formatContext,C.id),on(u,g,C),Pe(g,C.formatContext)}function fr(u,g,C){for(var R=C.completedSegments,z=0;z<R.length;z++)zn(u,g,C,R[z]);if(R.length=0,u=u.responseState,R=C.id,C=C.rootSegmentID,g.push(u.startInlineScript),u.sentCompleteBoundaryFunction?g.push('$RC("'):(u.sentCompleteBoundaryFunction=!0,g.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),R===null)throw Error(t(395));return C=C.toString(16),g.push(R),g.push('","'),g.push(u.segmentPrefix),g.push(C),g.push('")<\/script>')}function zn(u,g,C,R){if(R.status===2)return!0;var z=R.id;if(z===-1){if((R.id=C.rootSegmentID)===-1)throw Error(t(392));return cr(u,g,R)}return cr(u,g,R),u=u.responseState,g.push(u.startInlineScript),u.sentCompleteSegmentFunction?g.push('$RS("'):(u.sentCompleteSegmentFunction=!0,g.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),g.push(u.segmentPrefix),z=z.toString(16),g.push(z),g.push('","'),g.push(u.placeholderPrefix),g.push(z),g.push('")<\/script>')}function an(u,g){try{var C=u.completedRootSegment;if(C!==null&&u.pendingRootTasks===0){on(u,g,C),u.completedRootSegment=null;var R=u.responseState.bootstrapChunks;for(C=0;C<R.length-1;C++)g.push(R[C]);C<R.length&&g.push(R[C])}var z=u.clientRenderedBoundaries,j;for(j=0;j<z.length;j++){var H=z[j];R=g;var Q=u.responseState,ae=H.id,fe=H.errorDigest,ue=H.errorMessage,ye=H.errorComponentStack;if(R.push(Q.startInlineScript),Q.sentClientRenderFunction?R.push('$RX("'):(Q.sentClientRenderFunction=!0,R.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ae===null)throw Error(t(395));if(R.push(ae),R.push('"'),fe||ue||ye){R.push(",");var lt=Ze(fe||"");R.push(lt)}if(ue||ye){R.push(",");var et=Ze(ue||"");R.push(et)}if(ye){R.push(",");var tt=Ze(ye);R.push(tt)}if(!R.push(")<\/script>")){u.destination=null,j++,z.splice(0,j);return}}z.splice(0,j);var Xt=u.completedBoundaries;for(j=0;j<Xt.length;j++)if(!fr(u,g,Xt[j])){u.destination=null,j++,Xt.splice(0,j);return}Xt.splice(0,j);var bt=u.partialBoundaries;for(j=0;j<bt.length;j++){var Nn=bt[j];e:{z=u,H=g;var sn=Nn.completedSegments;for(Q=0;Q<sn.length;Q++)if(!zn(z,H,Nn,sn[Q])){Q++,sn.splice(0,Q);var En=!1;break e}sn.splice(0,Q),En=!0}if(!En){u.destination=null,j++,bt.splice(0,j);return}}bt.splice(0,j);var Zt=u.completedBoundaries;for(j=0;j<Zt.length;j++)if(!fr(u,g,Zt[j])){u.destination=null,j++,Zt.splice(0,j);return}Zt.splice(0,j)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&g.push(null)}}function dr(u,g){try{var C=u.abortableTasks;C.forEach(function(R){return Vn(R,u,g)}),C.clear(),u.destination!==null&&an(u,u.destination)}catch(R){rn(u,R),Yt(u,R)}}function Wn(){}function Un(u,g,C,R){var z=!1,j=null,H="",Q={push:function(fe){return fe!==null&&(H+=fe),!0},destroy:function(fe){z=!0,j=fe}},ae=!1;if(u=vo(u,je(C,g?g.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Wn,void 0,function(){ae=!0},void 0,void 0),st(u),dr(u,R),u.status===1)u.status=2,Q.destroy(u.fatalError);else if(u.status!==2&&u.destination===null){u.destination=Q;try{an(u,Q)}catch(fe){rn(u,fe),Yt(u,fe)}}if(z)throw j;if(!ae)throw Error(t(426));return H}return Ko.renderToNodeStream=function(){throw Error(t(207))},Ko.renderToStaticMarkup=function(u,g){return Un(u,g,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ko.renderToStaticNodeStream=function(){throw Error(t(208))},Ko.renderToString=function(u,g){return Un(u,g,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Ko.version="18.2.0",Ko}var hl={};/**
20
16
  * @license React
21
17
  * react-dom-server.browser.production.min.js
22
18
  *
@@ -24,11 +20,11 @@ var p0=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,
24
20
  *
25
21
  * This source code is licensed under the MIT license found in the
26
22
  * LICENSE file in the root directory of this source tree.
27
- */var sd;function $b(){if(sd)return Sl;sd=1;var e=re;function t(c){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+c,T=1;T<arguments.length;T++)y+="&args[]="+encodeURIComponent(arguments[T]);return"Minified React error #"+c+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function s(c,y){if(y.length!==0)if(512<y.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(y);else{var T=r.length-i;T<y.length&&(T===0?c.enqueue(r):(r.set(y.subarray(0,T),i),c.enqueue(r),y=y.subarray(T)),r=new Uint8Array(512),i=0),r.set(y,i),i+=y.length}}function p(c,y){return s(c,y),!0}function g(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function m(c){return S.encode(c)}function b(c){return S.encode(c)}function A(c,y){typeof c.error=="function"?c.error(y):c.close()}var w=Object.prototype.hasOwnProperty,D=/^[: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]*$/,L={},H={};function Y(c){return w.call(H,c)?!0:w.call(L,c)?!1:D.test(c)?H[c]=!0:(L[c]=!0,!1)}function B(c,y,T,P,W,V,G){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=P,this.attributeNamespace=W,this.mustUseProperty=T,this.propertyName=c,this.type=y,this.sanitizeURL=V,this.removeEmptyString=G}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){F[c]=new B(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var y=c[0];F[y]=new B(y,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){F[c]=new B(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){F[c]=new B(c,2,!1,c,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(c){F[c]=new B(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){F[c]=new B(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){F[c]=new B(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){F[c]=new B(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){F[c]=new B(c,5,!1,c.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function X(c){return c[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var y=c.replace(Z,X);F[y]=new B(y,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!1,!1)}),F.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!0,!0)});var ee={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ne=["Webkit","ms","Moz","O"];Object.keys(ee).forEach(function(c){ne.forEach(function(y){y=y+c.charAt(0).toUpperCase()+c.substring(1),ee[y]=ee[c]})});var te=/["'&<>]/;function oe(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var y=te.exec(c);if(y){var T="",P,W=0;for(P=y.index;P<c.length;P++){switch(c.charCodeAt(P)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==P&&(T+=c.substring(W,P)),W=P+1,T+=y}c=W!==P?T+c.substring(W,P):T}return c}var le=/([A-Z])/g,ce=/^ms-/,Ue=Array.isArray,$e=b("<script>"),Te=b("<\/script>"),Ye=b('<script src="'),Re=b('<script type="module" src="'),ht=b('" async=""><\/script>'),Ie=/(<\/|<)(s)(cript)/gi;function it(c,y,T,P){return""+y+(T==="s"?"\\u0073":"\\u0053")+P}function Qe(c,y,T,P,W){c=c===void 0?"":c,y=y===void 0?$e:b('<script nonce="'+oe(y)+'">');var V=[];if(T!==void 0&&V.push(y,m((""+T).replace(Ie,it)),Te),P!==void 0)for(T=0;T<P.length;T++)V.push(Ye,m(oe(P[T])),ht);if(W!==void 0)for(P=0;P<W.length;P++)V.push(Re,m(oe(W[P])),ht);return{bootstrapChunks:V,startInlineScript:y,placeholderPrefix:b(c+"P:"),segmentPrefix:b(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Ve(c,y){return{insertionMode:c,selectedValue:y}}function Nt(c){return Ve(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function pe(c,y,T){switch(y){case"select":return Ve(1,T.value!=null?T.value:T.defaultValue);case"svg":return Ve(2,null);case"math":return Ve(3,null);case"foreignObject":return Ve(1,null);case"table":return Ve(4,null);case"thead":case"tbody":case"tfoot":return Ve(5,null);case"colgroup":return Ve(7,null);case"tr":return Ve(6,null)}return 4<=c.insertionMode||c.insertionMode===0?Ve(1,null):c}var ke=b("<!-- -->");function Ht(c,y,T,P){return y===""?P:(P&&c.push(ke),c.push(m(oe(y))),!0)}var gt=new Map,Me=b(' style="'),Ce=b(":"),Pt=b(";");function $t(c,y,T){if(typeof T!="object")throw Error(t(62));y=!0;for(var P in T)if(w.call(T,P)){var W=T[P];if(W!=null&&typeof W!="boolean"&&W!==""){if(P.indexOf("--")===0){var V=m(oe(P));W=m(oe((""+W).trim()))}else{V=P;var G=gt.get(V);G!==void 0||(G=b(oe(V.replace(le,"-$1").toLowerCase().replace(ce,"-ms-"))),gt.set(V,G)),V=G,W=typeof W=="number"?W===0||w.call(ee,P)?m(""+W):m(W+"px"):m(oe((""+W).trim()))}y?(y=!1,c.push(Me,V,Ce,W)):c.push(Pt,V,Ce,W)}}y||c.push(De)}var Ze=b(" "),st=b('="'),De=b('"'),bn=b('=""');function Ge(c,y,T,P){switch(T){case"style":$t(c,y,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){if(y=F.hasOwnProperty(T)?F[T]:null,y!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(T=m(y.attributeName),y.type){case 3:P&&c.push(Ze,T,bn);break;case 4:P===!0?c.push(Ze,T,bn):P!==!1&&c.push(Ze,T,st,m(oe(P)),De);break;case 5:isNaN(P)||c.push(Ze,T,st,m(oe(P)),De);break;case 6:!isNaN(P)&&1<=P&&c.push(Ze,T,st,m(oe(P)),De);break;default:y.sanitizeURL&&(P=""+P),c.push(Ze,T,st,m(oe(P)),De)}}else if(Y(T)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(y=T.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}c.push(Ze,m(T),st,m(oe(P)),De)}}}var et=b(">"),Fn=b("/>");function xn(c,y,T){if(y!=null){if(T!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&c.push(m(""+y))}}function Or(c){var y="";return e.Children.forEach(c,function(T){T!=null&&(y+=T)}),y}var vt=b(' selected=""');function Sn(c,y,T,P){c.push(Ke(T));var W=T=null,V;for(V in y)if(w.call(y,V)){var G=y[V];if(G!=null)switch(V){case"children":T=G;break;case"dangerouslySetInnerHTML":W=G;break;default:Ge(c,P,V,G)}}return c.push(et),xn(c,W,T),typeof T=="string"?(c.push(m(oe(T))),null):T}var wn=b(`
28
- `),Fr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt=new Map;function Ke(c){var y=yt.get(c);if(y===void 0){if(!Fr.test(c))throw Error(t(65,c));y=b("<"+c),yt.set(c,y)}return y}var Ne=b("<!DOCTYPE html>");function Kn(c,y,T,P,W){switch(y){case"select":c.push(Ke("select"));var V=null,G=null;for(ve in T)if(w.call(T,ve)){var q=T[ve];if(q!=null)switch(ve){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;case"defaultValue":case"value":break;default:Ge(c,P,ve,q)}}return c.push(et),xn(c,G,V),V;case"option":G=W.selectedValue,c.push(Ke("option"));var de=q=null,ye=null,ve=null;for(V in T)if(w.call(T,V)){var Ae=T[V];if(Ae!=null)switch(V){case"children":q=Ae;break;case"selected":ye=Ae;break;case"dangerouslySetInnerHTML":ve=Ae;break;case"value":de=Ae;default:Ge(c,P,V,Ae)}}if(G!=null)if(T=de!==null?""+de:Or(q),Ue(G)){for(P=0;P<G.length;P++)if(""+G[P]===T){c.push(vt);break}}else""+G===T&&c.push(vt);else ye&&c.push(vt);return c.push(et),xn(c,ve,q),q;case"textarea":c.push(Ke("textarea")),ve=G=V=null;for(q in T)if(w.call(T,q)&&(de=T[q],de!=null))switch(q){case"children":ve=de;break;case"value":V=de;break;case"defaultValue":G=de;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Ge(c,P,q,de)}if(V===null&&G!==null&&(V=G),c.push(et),ve!=null){if(V!=null)throw Error(t(92));if(Ue(ve)&&1<ve.length)throw Error(t(93));V=""+ve}return typeof V=="string"&&V[0]===`
29
- `&&c.push(wn),V!==null&&c.push(m(oe(""+V))),null;case"input":c.push(Ke("input")),de=ve=q=V=null;for(G in T)if(w.call(T,G)&&(ye=T[G],ye!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":de=ye;break;case"defaultValue":q=ye;break;case"checked":ve=ye;break;case"value":V=ye;break;default:Ge(c,P,G,ye)}return ve!==null?Ge(c,P,"checked",ve):de!==null&&Ge(c,P,"checked",de),V!==null?Ge(c,P,"value",V):q!==null&&Ge(c,P,"value",q),c.push(Fn),null;case"menuitem":c.push(Ke("menuitem"));for(var dt in T)if(w.call(T,dt)&&(V=T[dt],V!=null))switch(dt){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Ge(c,P,dt,V)}return c.push(et),null;case"title":c.push(Ke("title")),V=null;for(Ae in T)if(w.call(T,Ae)&&(G=T[Ae],G!=null))switch(Ae){case"children":V=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Ge(c,P,Ae,G)}return c.push(et),V;case"listing":case"pre":c.push(Ke(y)),G=V=null;for(de in T)if(w.call(T,de)&&(q=T[de],q!=null))switch(de){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;default:Ge(c,P,de,q)}if(c.push(et),G!=null){if(V!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));T=G.__html,T!=null&&(typeof T=="string"&&0<T.length&&T[0]===`
30
- `?c.push(wn,m(T)):c.push(m(""+T)))}return typeof V=="string"&&V[0]===`
31
- `&&c.push(wn),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(Ke(y));for(var wt in T)if(w.call(T,wt)&&(V=T[wt],V!=null))switch(wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:Ge(c,P,wt,V)}return c.push(Fn),null;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 Sn(c,T,y,P);case"html":return W.insertionMode===0&&c.push(Ne),Sn(c,T,y,P);default:if(y.indexOf("-")===-1&&typeof T.is!="string")return Sn(c,T,y,P);c.push(Ke(y)),G=V=null;for(ye in T)if(w.call(T,ye)&&(q=T[ye],q!=null))switch(ye){case"children":V=q;break;case"dangerouslySetInnerHTML":G=q;break;case"style":$t(c,P,q);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Y(ye)&&typeof q!="function"&&typeof q!="symbol"&&c.push(Ze,m(ye),st,m(oe(q)),De)}return c.push(et),xn(c,G,V),V}}var qn=b("</"),er=b(">"),ze=b('<template id="'),tr=b('"></template>'),_r=b("<!--$-->"),Lr=b('<!--$?--><template id="'),nr=b('"></template>'),_n=b("<!--$!-->"),go=b("<!--/$-->"),rr=b("<template"),tn=b('"'),or=b(' data-dgst="');b(' data-msg="'),b(' data-stck="');var jr=b("></template>");function at(c,y,T){if(s(c,Lr),T===null)throw Error(t(395));return s(c,T),p(c,nr)}var At=b('<div hidden id="'),nn=b('">'),we=b("</div>"),rn=b('<svg aria-hidden="true" style="display:none" id="'),Ln=b('">'),kn=b("</svg>"),It=b('<math aria-hidden="true" style="display:none" id="'),jn=b('">'),Yt=b("</math>"),Le=b('<table hidden id="'),ir=b('">'),sr=b("</table>"),Br=b('<table hidden><tbody id="'),We=b('">'),ar=b("</tbody></table>"),vo=b('<table hidden><tr id="'),yo=b('">'),Mt=b("</tr></table>"),lr=b('<table hidden><colgroup id="'),Bn=b('">'),ur=b("</colgroup></table>");function Tn(c,y,T,P){switch(T.insertionMode){case 0:case 1:return s(c,At),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,nn);case 2:return s(c,rn),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,Ln);case 3:return s(c,It),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,jn);case 4:return s(c,Le),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,ir);case 5:return s(c,Br),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,We);case 6:return s(c,vo),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,yo);case 7:return s(c,lr),s(c,y.segmentPrefix),s(c,m(P.toString(16))),p(c,Bn);default:throw Error(t(397))}}function on(c,y){switch(y.insertionMode){case 0:case 1:return p(c,we);case 2:return p(c,kn);case 3:return p(c,Yt);case 4:return p(c,sr);case 5:return p(c,ar);case 6:return p(c,Mt);case 7:return p(c,ur);default:throw Error(t(397))}}var bo=b('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),cr=b('$RS("'),Vn=b('","'),sn=b('")<\/script>'),Gt=b('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Dt=b('$RC("'),Cn=b('","'),En=b('")<\/script>'),pt=b('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Fe=b('$RX("'),Ot=b('"'),bt=b(")<\/script>"),Je=b(","),zn=/[<\u2028\u2029]/g;function Ft(c){return JSON.stringify(c).replace(zn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var _t=Object.assign,lt=Symbol.for("react.element"),Xt=Symbol.for("react.portal"),an=Symbol.for("react.fragment"),fr=Symbol.for("react.strict_mode"),dr=Symbol.for("react.profiler"),Wn=Symbol.for("react.provider"),ln=Symbol.for("react.context"),hr=Symbol.for("react.forward_ref"),Un=Symbol.for("react.suspense"),Nn=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),R=Symbol.for("react.debug_trace_mode"),z=Symbol.for("react.legacy_hidden"),j=Symbol.for("react.default_value"),$=Symbol.iterator;function K(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case an:return"Fragment";case Xt:return"Portal";case dr:return"Profiler";case fr:return"StrictMode";case Un:return"Suspense";case Nn:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case ln:return(c.displayName||"Context")+".Consumer";case Wn:return(c._context.displayName||"Context")+".Provider";case hr:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return y=c.displayName||null,y!==null?y:K(c.type)||"Memo";case v:y=c._payload,c=c._init;try{return K(c(y))}catch{}}return null}var se={};function fe(c,y){if(c=c.contextTypes,!c)return se;var T={},P;for(P in c)T[P]=y[P];return T}var ue=null;function xe(c,y){if(c!==y){c.context._currentValue=c.parentValue,c=c.parent;var T=y.parent;if(c===null){if(T!==null)throw Error(t(401))}else{if(T===null)throw Error(t(401));xe(c,T)}y.context._currentValue=y.value}}function ut(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&ut(c)}function tt(c){var y=c.parent;y!==null&&tt(y),c.context._currentValue=c.value}function nt(c,y){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(t(402));c.depth===y.depth?xe(c,y):nt(c,y)}function Zt(c,y){var T=y.parent;if(T===null)throw Error(t(402));c.depth===T.depth?xe(c,T):Zt(c,T),y.context._currentValue=y.value}function xt(c){var y=ue;y!==c&&(y===null?tt(c):c===null?ut(y):y.depth===c.depth?xe(y,c):y.depth>c.depth?nt(y,c):Zt(y,c),ue=c)}var Hn={isMounted:function(){return!1},enqueueSetState:function(c,y){c=c._reactInternals,c.queue!==null&&c.queue.push(y)},enqueueReplaceState:function(c,y){c=c._reactInternals,c.replace=!0,c.queue=[y]},enqueueForceUpdate:function(){}};function un(c,y,T,P){var W=c.state!==void 0?c.state:null;c.updater=Hn,c.props=T,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var G=y.contextType;if(c.context=typeof G=="object"&&G!==null?G._currentValue:P,G=y.getDerivedStateFromProps,typeof G=="function"&&(G=G(T,W),W=G==null?W:_t({},W,G),c.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&Hn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(y=V.queue,G=V.replace,V.queue=null,V.replace=!1,G&&y.length===1)c.state=y[0];else{for(V=G?y[0]:c.state,W=!0,G=G?1:0;G<y.length;G++){var q=y[G];q=typeof q=="function"?q.call(c,V,T,P):q,q!=null&&(W?(W=!1,V=_t({},V,q)):_t(V,q))}c.state=V}else V.queue=null}var Rn={id:1,overflow:""};function Jt(c,y,T){var P=c.id;c=c.overflow;var W=32-pr(P)-1;P&=~(1<<W),T+=1;var V=32-pr(y)+W;if(30<V){var G=W-W%5;return V=(P&(1<<G)-1).toString(32),P>>=G,W-=G,{id:1<<32-pr(y)+W|T<<W|P,overflow:V+c}}return{id:1<<V|T<<W|P,overflow:c}}var pr=Math.clz32?Math.clz32:xo,ps=Math.log,ms=Math.LN2;function xo(c){return c>>>=0,c===0?32:31-(ps(c)/ms|0)|0}function gs(c,y){return c===y&&(c!==0||1/c===1/y)||c!==c&&y!==y}var So=typeof Object.is=="function"?Object.is:gs,Qt=null,mr=null,Vr=null,Pe=null,cn=!1,ct=!1,Pn=0,fn=null,zr=0;function dn(){if(Qt===null)throw Error(t(321));return Qt}function St(){if(0<zr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function wo(){return Pe===null?Vr===null?(cn=!1,Vr=Pe=St()):(cn=!0,Pe=Vr):Pe.next===null?(cn=!1,Pe=Pe.next=St()):(cn=!0,Pe=Pe.next),Pe}function ko(){mr=Qt=null,ct=!1,Vr=null,zr=0,Pe=fn=null}function ui(c,y){return typeof y=="function"?y(c):y}function ci(c,y,T){if(Qt=dn(),Pe=wo(),cn){var P=Pe.queue;if(y=P.dispatch,fn!==null&&(T=fn.get(P),T!==void 0)){fn.delete(P),P=Pe.memoizedState;do P=c(P,T.action),T=T.next;while(T!==null);return Pe.memoizedState=P,[P,y]}return[Pe.memoizedState,y]}return c=c===ui?typeof y=="function"?y():y:T!==void 0?T(y):y,Pe.memoizedState=c,c=Pe.queue={last:null,dispatch:null},c=c.dispatch=vs.bind(null,Qt,c),[Pe.memoizedState,c]}function fi(c,y){if(Qt=dn(),Pe=wo(),y=y===void 0?null:y,Pe!==null){var T=Pe.memoizedState;if(T!==null&&y!==null){var P=T[1];e:if(P===null)P=!1;else{for(var W=0;W<P.length&&W<y.length;W++)if(!So(y[W],P[W])){P=!1;break e}P=!0}if(P)return T[0]}}return c=c(),Pe.memoizedState=[c,y],c}function vs(c,y,T){if(25<=zr)throw Error(t(301));if(c===Qt)if(ct=!0,c={action:T,next:null},fn===null&&(fn=new Map),T=fn.get(y),T===void 0)fn.set(y,c);else{for(y=T;y.next!==null;)y=y.next;y.next=c}}function ys(){throw Error(t(394))}function Wr(){}var Ur={readContext:function(c){return c._currentValue},useContext:function(c){return dn(),c._currentValue},useMemo:fi,useReducer:ci,useRef:function(c){Qt=dn(),Pe=wo();var y=Pe.memoizedState;return y===null?(c={current:c},Pe.memoizedState=c):y},useState:function(c){return ci(ui,c)},useInsertionEffect:Wr,useLayoutEffect:function(){},useCallback:function(c,y){return fi(function(){return c},y)},useImperativeHandle:Wr,useEffect:Wr,useDebugValue:Wr,useDeferredValue:function(c){return dn(),c},useTransition:function(){return dn(),[!1,ys]},useId:function(){var c=mr.treeContext,y=c.overflow;c=c.id,c=(c&~(1<<32-pr(c)-1)).toString(32)+y;var T=Nr;if(T===null)throw Error(t(404));return y=Pn++,c=":"+T.idPrefix+"R"+c,0<y&&(c+="H"+y.toString(32)),c+":"},useMutableSource:function(c,y){return dn(),y(c._source)},useSyncExternalStore:function(c,y,T){if(T===void 0)throw Error(t(407));return T()}},Nr=null,gr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function bs(c){return console.error(c),null}function vr(){}function To(c,y,T,P,W,V,G,q,de){var ye=[],ve=new Set;return y={destination:null,responseState:y,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ve,pingedTasks:ye,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?bs:W,onAllReady:V===void 0?vr:V,onShellReady:G===void 0?vr:G,onShellError:q===void 0?vr:q,onFatalError:de===void 0?vr:de},T=$n(y,0,null,T,!1,!1),T.parentFlushed=!0,c=Co(y,c,null,T,ve,se,null,Rn),ye.push(c),y}function Co(c,y,T,P,W,V,G,q){c.allPendingTasks++,T===null?c.pendingRootTasks++:T.pendingTasks++;var de={node:y,ping:function(){var ye=c.pingedTasks;ye.push(de),ye.length===1&&vi(c)},blockedBoundary:T,blockedSegment:P,abortSet:W,legacyContext:V,context:G,treeContext:q};return W.add(de),de}function $n(c,y,T,P,W,V){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:T,lastPushedText:W,textEmbedded:V}}function Yn(c,y){if(c=c.onError(y),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Hr(c,y){var T=c.onShellError;T(y),T=c.onFatalError,T(y),c.destination!==null?(c.status=2,A(c.destination,y)):(c.status=1,c.fatalError=y)}function di(c,y,T,P,W){for(Qt={},mr=y,Pn=0,c=T(P,W);ct;)ct=!1,Pn=0,zr+=1,Pe=null,c=T(P,W);return ko(),c}function Eo(c,y,T,P){var W=T.render(),V=P.childContextTypes;if(V!=null){var G=y.legacyContext;if(typeof T.getChildContext!="function")P=G;else{T=T.getChildContext();for(var q in T)if(!(q in V))throw Error(t(108,K(P)||"Unknown",q));P=_t({},G,T)}y.legacyContext=P,ft(c,y,W),y.legacyContext=G}else ft(c,y,W)}function hi(c,y){if(c&&c.defaultProps){y=_t({},y),c=c.defaultProps;for(var T in c)y[T]===void 0&&(y[T]=c[T]);return y}return y}function $r(c,y,T,P,W){if(typeof T=="function")if(T.prototype&&T.prototype.isReactComponent){W=fe(T,y.legacyContext);var V=T.contextType;V=new T(P,typeof V=="object"&&V!==null?V._currentValue:W),un(V,T,P,W),Eo(c,y,V,T)}else{V=fe(T,y.legacyContext),W=di(c,y,T,P,V);var G=Pn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)un(W,T,P,V),Eo(c,y,W,T);else if(G){P=y.treeContext,y.treeContext=Jt(P,1,0);try{ft(c,y,W)}finally{y.treeContext=P}}else ft(c,y,W)}else if(typeof T=="string"){switch(W=y.blockedSegment,V=Kn(W.chunks,T,P,c.responseState,W.formatContext),W.lastPushedText=!1,G=W.formatContext,W.formatContext=pe(G,T,P),Yr(c,y,V),W.formatContext=G,T){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(qn,m(T),er)}W.lastPushedText=!1}else{switch(T){case z:case R:case fr:case dr:case an:ft(c,y,P.children);return;case Nn:ft(c,y,P.children);return;case C:throw Error(t(343));case Un:e:{T=y.blockedBoundary,W=y.blockedSegment,V=P.fallback,P=P.children,G=new Set;var q={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},de=$n(c,W.chunks.length,q,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ye=$n(c,0,null,W.formatContext,!1,!1);ye.parentFlushed=!0,y.blockedBoundary=q,y.blockedSegment=ye;try{if(Yr(c,y,P),ye.lastPushedText&&ye.textEmbedded&&ye.chunks.push(ke),ye.status=1,Gr(q,ye),q.pendingTasks===0)break e}catch(ve){ye.status=4,q.forceClientRender=!0,q.errorDigest=Yn(c,ve)}finally{y.blockedBoundary=T,y.blockedSegment=W}y=Co(c,V,T,de,G,y.legacyContext,y.context,y.treeContext),c.pingedTasks.push(y)}return}if(typeof T=="object"&&T!==null)switch(T.$$typeof){case hr:if(P=di(c,y,T.render,P,W),Pn!==0){T=y.treeContext,y.treeContext=Jt(T,1,0);try{ft(c,y,P)}finally{y.treeContext=T}}else ft(c,y,P);return;case u:T=T.type,P=hi(T,P),$r(c,y,T,P,W);return;case Wn:if(W=P.children,T=T._context,P=P.value,V=T._currentValue,T._currentValue=P,G=ue,ue=P={parent:G,depth:G===null?0:G.depth+1,context:T,parentValue:V,value:P},y.context=P,ft(c,y,W),c=ue,c===null)throw Error(t(403));P=c.parentValue,c.context._currentValue=P===j?c.context._defaultValue:P,c=ue=c.parent,y.context=c;return;case ln:P=P.children,P=P(T._currentValue),ft(c,y,P);return;case v:W=T._init,T=W(T._payload),P=hi(T,P),$r(c,y,T,P,void 0);return}throw Error(t(130,T==null?T:typeof T,""))}}function ft(c,y,T){if(y.node=T,typeof T=="object"&&T!==null){switch(T.$$typeof){case lt:$r(c,y,T.type,T.props,T.ref);return;case Xt:throw Error(t(257));case v:var P=T._init;T=P(T._payload),ft(c,y,T);return}if(Ue(T)){pi(c,y,T);return}if(T===null||typeof T!="object"?P=null:(P=$&&T[$]||T["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(T))){if(T=P.next(),!T.done){var W=[];do W.push(T.value),T=P.next();while(!T.done);pi(c,y,W)}return}throw c=Object.prototype.toString.call(T),Error(t(31,c==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":c))}typeof T=="string"?(P=y.blockedSegment,P.lastPushedText=Ht(y.blockedSegment.chunks,T,c.responseState,P.lastPushedText)):typeof T=="number"&&(P=y.blockedSegment,P.lastPushedText=Ht(y.blockedSegment.chunks,""+T,c.responseState,P.lastPushedText))}function pi(c,y,T){for(var P=T.length,W=0;W<P;W++){var V=y.treeContext;y.treeContext=Jt(V,P,W);try{Yr(c,y,T[W])}finally{y.treeContext=V}}}function Yr(c,y,T){var P=y.blockedSegment.formatContext,W=y.legacyContext,V=y.context;try{return ft(c,y,T)}catch(de){if(ko(),typeof de=="object"&&de!==null&&typeof de.then=="function"){T=de;var G=y.blockedSegment,q=$n(c,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(q),G.lastPushedText=!1,c=Co(c,y.node,y.blockedBoundary,q,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,T.then(c,c),y.blockedSegment.formatContext=P,y.legacyContext=W,y.context=V,xt(V)}else throw y.blockedSegment.formatContext=P,y.legacyContext=W,y.context=V,xt(V),de}}function xs(c){var y=c.blockedBoundary;c=c.blockedSegment,c.status=3,gi(this,y,c)}function mi(c,y,T){var P=c.blockedBoundary;c.blockedSegment.status=3,P===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,c=T===void 0?Error(t(432)):T,P.errorDigest=y.onError(c),P.parentFlushed&&y.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(W){return mi(W,y,T)}),P.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(P=y.onAllReady,P()))}function Gr(c,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var T=y.children[0];T.id=y.id,T.parentFlushed=!0,T.status===1&&Gr(c,T)}else c.completedSegments.push(y)}function gi(c,y,T){if(y===null){if(T.parentFlushed){if(c.completedRootSegment!==null)throw Error(t(389));c.completedRootSegment=T}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=vr,y=c.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(T.parentFlushed&&T.status===1&&Gr(y,T),y.parentFlushed&&c.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(xs,c),y.fallbackAbortableTasks.clear()):T.parentFlushed&&T.status===1&&(Gr(y,T),y.completedSegments.length===1&&y.parentFlushed&&c.partialBoundaries.push(y)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function vi(c){if(c.status!==2){var y=ue,T=gr.current;gr.current=Ur;var P=Nr;Nr=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var G=W[V],q=c,de=G.blockedSegment;if(de.status===0){xt(G.context);try{ft(q,G,G.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(ke),G.abortSet.delete(G),de.status=1,gi(q,G.blockedBoundary,de)}catch(kt){if(ko(),typeof kt=="object"&&kt!==null&&typeof kt.then=="function"){var ye=G.ping;kt.then(ye,ye)}else{G.abortSet.delete(G),de.status=4;var ve=G.blockedBoundary,Ae=kt,dt=Yn(q,Ae);if(ve===null?Hr(q,Ae):(ve.pendingTasks--,ve.forceClientRender||(ve.forceClientRender=!0,ve.errorDigest=dt,ve.parentFlushed&&q.clientRenderedBoundaries.push(ve))),q.allPendingTasks--,q.allPendingTasks===0){var wt=q.onAllReady;wt()}}}finally{}}}W.splice(0,V),c.destination!==null&&Ro(c,c.destination)}catch(kt){Yn(c,kt),Hr(c,kt)}finally{Nr=P,gr.current=T,T===Ur&&xt(y)}}}function Xr(c,y,T){switch(T.parentFlushed=!0,T.status){case 0:var P=T.id=c.nextSegmentId++;return T.lastPushedText=!1,T.textEmbedded=!1,c=c.responseState,s(y,ze),s(y,c.placeholderPrefix),c=m(P.toString(16)),s(y,c),p(y,tr);case 1:T.status=2;var W=!0;P=T.chunks;var V=0;T=T.children;for(var G=0;G<T.length;G++){for(W=T[G];V<W.index;V++)s(y,P[V]);W=Zr(c,y,W)}for(;V<P.length-1;V++)s(y,P[V]);return V<P.length&&(W=p(y,P[V])),W;default:throw Error(t(390))}}function Zr(c,y,T){var P=T.boundary;if(P===null)return Xr(c,y,T);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,p(y,_n),s(y,rr),P&&(s(y,or),s(y,m(oe(P))),s(y,tn)),p(y,jr),Xr(c,y,T);else if(0<P.pendingTasks){P.rootSegmentID=c.nextSegmentId++,0<P.completedSegments.length&&c.partialBoundaries.push(P);var W=c.responseState,V=W.nextSuspenseID++;W=b(W.boundaryPrefix+V.toString(16)),P=P.id=W,at(y,c.responseState,P),Xr(c,y,T)}else if(P.byteSize>c.progressiveChunkSize)P.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(P),at(y,c.responseState,P.id),Xr(c,y,T);else{if(p(y,_r),T=P.completedSegments,T.length!==1)throw Error(t(391));Zr(c,y,T[0])}return p(y,go)}function yi(c,y,T){return Tn(y,c.responseState,T.formatContext,T.id),Zr(c,y,T),on(y,T.formatContext)}function bi(c,y,T){for(var P=T.completedSegments,W=0;W<P.length;W++)xi(c,y,T,P[W]);if(P.length=0,c=c.responseState,P=T.id,T=T.rootSegmentID,s(y,c.startInlineScript),c.sentCompleteBoundaryFunction?s(y,Dt):(c.sentCompleteBoundaryFunction=!0,s(y,Gt)),P===null)throw Error(t(395));return T=m(T.toString(16)),s(y,P),s(y,Cn),s(y,c.segmentPrefix),s(y,T),p(y,En)}function xi(c,y,T,P){if(P.status===2)return!0;var W=P.id;if(W===-1){if((P.id=T.rootSegmentID)===-1)throw Error(t(392));return yi(c,y,P)}return yi(c,y,P),c=c.responseState,s(y,c.startInlineScript),c.sentCompleteSegmentFunction?s(y,cr):(c.sentCompleteSegmentFunction=!0,s(y,bo)),s(y,c.segmentPrefix),W=m(W.toString(16)),s(y,W),s(y,Vn),s(y,c.placeholderPrefix),s(y,W),p(y,sn)}function Ro(c,y){r=new Uint8Array(512),i=0;try{var T=c.completedRootSegment;if(T!==null&&c.pendingRootTasks===0){Zr(c,y,T),c.completedRootSegment=null;var P=c.responseState.bootstrapChunks;for(T=0;T<P.length-1;T++)s(y,P[T]);T<P.length&&p(y,P[T])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var G=W[V];P=y;var q=c.responseState,de=G.id,ye=G.errorDigest,ve=G.errorMessage,Ae=G.errorComponentStack;if(s(P,q.startInlineScript),q.sentClientRenderFunction?s(P,Fe):(q.sentClientRenderFunction=!0,s(P,pt)),de===null)throw Error(t(395));s(P,de),s(P,Ot),(ye||ve||Ae)&&(s(P,Je),s(P,m(Ft(ye||"")))),(ve||Ae)&&(s(P,Je),s(P,m(Ft(ve||"")))),Ae&&(s(P,Je),s(P,m(Ft(Ae)))),p(P,bt)}W.splice(0,V);var dt=c.completedBoundaries;for(V=0;V<dt.length;V++)bi(c,y,dt[V]);dt.splice(0,V),g(y),r=new Uint8Array(512),i=0;var wt=c.partialBoundaries;for(V=0;V<wt.length;V++){var kt=wt[V];e:{W=c,G=y;var Jr=kt.completedSegments;for(q=0;q<Jr.length;q++)if(!xi(W,G,kt,Jr[q])){q++,Jr.splice(0,q);var wi=!1;break e}Jr.splice(0,q),wi=!0}if(!wi){c.destination=null,V++,wt.splice(0,V);return}}wt.splice(0,V);var Po=c.completedBoundaries;for(V=0;V<Po.length;V++)bi(c,y,Po[V]);Po.splice(0,V)}finally{g(y),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&y.close()}}function Si(c,y){try{var T=c.abortableTasks;T.forEach(function(P){return mi(P,c,y)}),T.clear(),c.destination!==null&&Ro(c,c.destination)}catch(P){Yn(c,P),Hr(c,P)}}return Sl.renderToReadableStream=function(c,y){return new Promise(function(T,P){var W,V,G=new Promise(function(ve,Ae){V=ve,W=Ae}),q=To(c,Qe(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Nt(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,V,function(){var ve=new ReadableStream({type:"bytes",pull:function(Ae){if(q.status===1)q.status=2,A(Ae,q.fatalError);else if(q.status!==2&&q.destination===null){q.destination=Ae;try{Ro(q,Ae)}catch(dt){Yn(q,dt),Hr(q,dt)}}},cancel:function(){Si(q)}},{highWaterMark:0});ve.allReady=G,T(ve)},function(ve){G.catch(function(){}),P(ve)},W);if(y&&y.signal){var de=y.signal,ye=function(){Si(q,de.reason),de.removeEventListener("abort",ye)};de.addEventListener("abort",ye)}vi(q)})},Sl.version="18.2.0",Sl}var ni={};/**
23
+ */var Fc;function Wh(){if(Fc)return hl;Fc=1;var e=oe;function t(c){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+c,k=1;k<arguments.length;k++)v+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+c+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function s(c,v){if(v.length!==0)if(512<v.length)0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),c.enqueue(v);else{var k=r.length-i;k<v.length&&(k===0?c.enqueue(r):(r.set(v.subarray(0,k),i),c.enqueue(r),v=v.subarray(k)),r=new Uint8Array(512),i=0),r.set(v,i),i+=v.length}}function m(c,v){return s(c,v),!0}function y(c){r&&0<i&&(c.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var S=new TextEncoder;function p(c){return S.encode(c)}function x(c){return S.encode(c)}function A(c,v){typeof c.error=="function"?c.error(v):c.close()}var T=Object.prototype.hasOwnProperty,D=/^[: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]*$/,_={},$={};function G(c){return T.call($,c)?!0:T.call(_,c)?!1:D.test(c)?$[c]=!0:(_[c]=!0,!1)}function B(c,v,k,P,W,V,Y){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=P,this.attributeNamespace=W,this.mustUseProperty=k,this.propertyName=c,this.type=v,this.sanitizeURL=V,this.removeEmptyString=Y}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){F[c]=new B(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var v=c[0];F[v]=new B(v,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){F[c]=new B(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){F[c]=new B(c,2,!1,c,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(c){F[c]=new B(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){F[c]=new B(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){F[c]=new B(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){F[c]=new B(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){F[c]=new B(c,5,!1,c.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function X(c){return c[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var v=c.replace(Z,X);F[v]=new B(v,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!1,!1)}),F.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){F[c]=new B(c,1,!1,c.toLowerCase(),null,!0,!0)});var q={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},te=["Webkit","ms","Moz","O"];Object.keys(q).forEach(function(c){te.forEach(function(v){v=v+c.charAt(0).toUpperCase()+c.substring(1),q[v]=q[c]})});var ee=/["'&<>]/;function re(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var v=ee.exec(c);if(v){var k="",P,W=0;for(P=v.index;P<c.length;P++){switch(c.charCodeAt(P)){case 34:v="&quot;";break;case 38:v="&amp;";break;case 39:v="&#x27;";break;case 60:v="&lt;";break;case 62:v="&gt;";break;default:continue}W!==P&&(k+=c.substring(W,P)),W=P+1,k+=v}c=W!==P?k+c.substring(W,P):k}return c}var le=/([A-Z])/g,ce=/^ms-/,ze=Array.isArray,Ne=x("<script>"),we=x("<\/script>"),He=x('<script src="'),Ce=x('<script type="module" src="'),dt=x('" async=""><\/script>'),Pe=/(<\/|<)(s)(cript)/gi;function ot(c,v,k,P){return""+v+(k==="s"?"\\u0073":"\\u0053")+P}function Ze(c,v,k,P,W){c=c===void 0?"":c,v=v===void 0?Ne:x('<script nonce="'+re(v)+'">');var V=[];if(k!==void 0&&V.push(v,p((""+k).replace(Pe,ot)),we),P!==void 0)for(k=0;k<P.length;k++)V.push(He,p(re(P[k])),dt);if(W!==void 0)for(P=0;P<W.length;P++)V.push(Ce,p(re(W[P])),dt);return{bootstrapChunks:V,startInlineScript:v,placeholderPrefix:x(c+"P:"),segmentPrefix:x(c+"S:"),boundaryPrefix:c+"B:",idPrefix:c,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function je(c,v){return{insertionMode:c,selectedValue:v}}function Ut(c){return je(c==="http://www.w3.org/2000/svg"?2:c==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function he(c,v,k){switch(v){case"select":return je(1,k.value!=null?k.value:k.defaultValue);case"svg":return je(2,null);case"math":return je(3,null);case"foreignObject":return je(1,null);case"table":return je(4,null);case"thead":case"tbody":case"tfoot":return je(5,null);case"colgroup":return je(7,null);case"tr":return je(6,null)}return 4<=c.insertionMode||c.insertionMode===0?je(1,null):c}var Se=x("<!-- -->");function Nt(c,v,k,P){return v===""?P:(P&&c.push(Se),c.push(p(re(v))),!0)}var mt=new Map,Ae=x(' style="'),ke=x(":"),Rt=x(";");function Ht(c,v,k){if(typeof k!="object")throw Error(t(62));v=!0;for(var P in k)if(T.call(k,P)){var W=k[P];if(W!=null&&typeof W!="boolean"&&W!==""){if(P.indexOf("--")===0){var V=p(re(P));W=p(re((""+W).trim()))}else{V=P;var Y=mt.get(V);Y!==void 0||(Y=x(re(V.replace(le,"-$1").toLowerCase().replace(ce,"-ms-"))),mt.set(V,Y)),V=Y,W=typeof W=="number"?W===0||T.call(q,P)?p(""+W):p(W+"px"):p(re((""+W).trim()))}v?(v=!1,c.push(Ae,V,ke,W)):c.push(Rt,V,ke,W)}}v||c.push(Ie)}var Ge=x(" "),it=x('="'),Ie=x('"'),yn=x('=""');function $e(c,v,k,P){switch(k){case"style":Ht(c,v,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(v=F.hasOwnProperty(k)?F[k]:null,v!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!v.acceptsBooleans)return}switch(k=p(v.attributeName),v.type){case 3:P&&c.push(Ge,k,yn);break;case 4:P===!0?c.push(Ge,k,yn):P!==!1&&c.push(Ge,k,it,p(re(P)),Ie);break;case 5:isNaN(P)||c.push(Ge,k,it,p(re(P)),Ie);break;case 6:!isNaN(P)&&1<=P&&c.push(Ge,k,it,p(re(P)),Ie);break;default:v.sanitizeURL&&(P=""+P),c.push(Ge,k,it,p(re(P)),Ie)}}else if(G(k)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(v=k.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-")return}c.push(Ge,p(k),it,p(re(P)),Ie)}}}var qe=x(">"),On=x("/>");function bn(c,v,k){if(v!=null){if(k!=null)throw Error(t(60));if(typeof v!="object"||!("__html"in v))throw Error(t(61));v=v.__html,v!=null&&c.push(p(""+v))}}function Mr(c){var v="";return e.Children.forEach(c,function(k){k!=null&&(v+=k)}),v}var gt=x(' selected=""');function xn(c,v,k,P){c.push(Je(k));var W=k=null,V;for(V in v)if(T.call(v,V)){var Y=v[V];if(Y!=null)switch(V){case"children":k=Y;break;case"dangerouslySetInnerHTML":W=Y;break;default:$e(c,P,V,Y)}}return c.push(qe),bn(c,W,k),typeof k=="string"?(c.push(p(re(k))),null):k}var Sn=x(`
24
+ `),Dr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,vt=new Map;function Je(c){var v=vt.get(c);if(v===void 0){if(!Dr.test(c))throw Error(t(65,c));v=x("<"+c),vt.set(c,v)}return v}var We=x("<!DOCTYPE html>");function Qn(c,v,k,P,W){switch(v){case"select":c.push(Je("select"));var V=null,Y=null;for(ge in k)if(T.call(k,ge)){var K=k[ge];if(K!=null)switch(ge){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"defaultValue":case"value":break;default:$e(c,P,ge,K)}}return c.push(qe),bn(c,Y,V),V;case"option":Y=W.selectedValue,c.push(Je("option"));var de=K=null,ve=null,ge=null;for(V in k)if(T.call(k,V)){var Re=k[V];if(Re!=null)switch(V){case"children":K=Re;break;case"selected":ve=Re;break;case"dangerouslySetInnerHTML":ge=Re;break;case"value":de=Re;default:$e(c,P,V,Re)}}if(Y!=null)if(k=de!==null?""+de:Mr(K),ze(Y)){for(P=0;P<Y.length;P++)if(""+Y[P]===k){c.push(gt);break}}else""+Y===k&&c.push(gt);else ve&&c.push(gt);return c.push(qe),bn(c,ge,K),K;case"textarea":c.push(Je("textarea")),ge=Y=V=null;for(K in k)if(T.call(k,K)&&(de=k[K],de!=null))switch(K){case"children":ge=de;break;case"value":V=de;break;case"defaultValue":Y=de;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:$e(c,P,K,de)}if(V===null&&Y!==null&&(V=Y),c.push(qe),ge!=null){if(V!=null)throw Error(t(92));if(ze(ge)&&1<ge.length)throw Error(t(93));V=""+ge}return typeof V=="string"&&V[0]===`
25
+ `&&c.push(Sn),V!==null&&c.push(p(re(""+V))),null;case"input":c.push(Je("input")),de=ge=K=V=null;for(Y in k)if(T.call(k,Y)&&(ve=k[Y],ve!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":de=ve;break;case"defaultValue":K=ve;break;case"checked":ge=ve;break;case"value":V=ve;break;default:$e(c,P,Y,ve)}return ge!==null?$e(c,P,"checked",ge):de!==null&&$e(c,P,"checked",de),V!==null?$e(c,P,"value",V):K!==null&&$e(c,P,"value",K),c.push(On),null;case"menuitem":c.push(Je("menuitem"));for(var ft in k)if(T.call(k,ft)&&(V=k[ft],V!=null))switch(ft){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:$e(c,P,ft,V)}return c.push(qe),null;case"title":c.push(Je("title")),V=null;for(Re in k)if(T.call(k,Re)&&(Y=k[Re],Y!=null))switch(Re){case"children":V=Y;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:$e(c,P,Re,Y)}return c.push(qe),V;case"listing":case"pre":c.push(Je(v)),Y=V=null;for(de in k)if(T.call(k,de)&&(K=k[de],K!=null))switch(de){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;default:$e(c,P,de,K)}if(c.push(qe),Y!=null){if(V!=null)throw Error(t(60));if(typeof Y!="object"||!("__html"in Y))throw Error(t(61));k=Y.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
26
+ `?c.push(Sn,p(k)):c.push(p(""+k)))}return typeof V=="string"&&V[0]===`
27
+ `&&c.push(Sn),V;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":c.push(Je(v));for(var St in k)if(T.call(k,St)&&(V=k[St],V!=null))switch(St){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,v));default:$e(c,P,St,V)}return c.push(On),null;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 xn(c,k,v,P);case"html":return W.insertionMode===0&&c.push(We),xn(c,k,v,P);default:if(v.indexOf("-")===-1&&typeof k.is!="string")return xn(c,k,v,P);c.push(Je(v)),Y=V=null;for(ve in k)if(T.call(k,ve)&&(K=k[ve],K!=null))switch(ve){case"children":V=K;break;case"dangerouslySetInnerHTML":Y=K;break;case"style":Ht(c,P,K);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:G(ve)&&typeof K!="function"&&typeof K!="symbol"&&c.push(Ge,p(ve),it,p(re(K)),Ie)}return c.push(qe),bn(c,Y,V),V}}var Kn=x("</"),qn=x(">"),Be=x('<template id="'),er=x('"></template>'),Or=x("<!--$-->"),Fr=x('<!--$?--><template id="'),tr=x('"></template>'),Fn=x("<!--$!-->"),po=x("<!--/$-->"),nr=x("<template"),qt=x('"'),rr=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var Lr=x("></template>");function at(c,v,k){if(s(c,Fr),k===null)throw Error(t(395));return s(c,k),m(c,tr)}var Pt=x('<div hidden id="'),en=x('">'),xe=x("</div>"),tn=x('<svg aria-hidden="true" style="display:none" id="'),Ln=x('">'),wn=x("</svg>"),At=x('<math aria-hidden="true" style="display:none" id="'),_n=x('">'),$t=x("</math>"),Fe=x('<table hidden id="'),or=x('">'),ir=x("</table>"),_r=x('<table hidden><tbody id="'),Ve=x('">'),ar=x("</tbody></table>"),mo=x('<table hidden><tr id="'),go=x('">'),It=x("</tr></table>"),sr=x('<table hidden><colgroup id="'),jn=x('">'),lr=x("</colgroup></table>");function kn(c,v,k,P){switch(k.insertionMode){case 0:case 1:return s(c,Pt),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,en);case 2:return s(c,tn),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ln);case 3:return s(c,At),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,_n);case 4:return s(c,Fe),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,or);case 5:return s(c,_r),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,Ve);case 6:return s(c,mo),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,go);case 7:return s(c,sr),s(c,v.segmentPrefix),s(c,p(P.toString(16))),m(c,jn);default:throw Error(t(397))}}function nn(c,v){switch(v.insertionMode){case 0:case 1:return m(c,xe);case 2:return m(c,wn);case 3:return m(c,$t);case 4:return m(c,ir);case 5:return m(c,ar);case 6:return m(c,It);case 7:return m(c,lr);default:throw Error(t(397))}}var vo=x('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ur=x('$RS("'),Bn=x('","'),rn=x('")<\/script>'),Yt=x('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Mt=x('$RC("'),Tn=x('","'),Cn=x('")<\/script>'),ht=x('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),De=x('$RX("'),Dt=x('"'),yt=x(")<\/script>"),Xe=x(","),Vn=/[<\u2028\u2029]/g;function Ot(c){return JSON.stringify(c).replace(Vn,function(v){switch(v){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ft=Object.assign,st=Symbol.for("react.element"),Gt=Symbol.for("react.portal"),on=Symbol.for("react.fragment"),cr=Symbol.for("react.strict_mode"),fr=Symbol.for("react.profiler"),zn=Symbol.for("react.provider"),an=Symbol.for("react.context"),dr=Symbol.for("react.forward_ref"),Wn=Symbol.for("react.suspense"),Un=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.scope"),R=Symbol.for("react.debug_trace_mode"),z=Symbol.for("react.legacy_hidden"),j=Symbol.for("react.default_value"),H=Symbol.iterator;function Q(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case on:return"Fragment";case Gt:return"Portal";case fr:return"Profiler";case cr:return"StrictMode";case Wn:return"Suspense";case Un:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case an:return(c.displayName||"Context")+".Consumer";case zn:return(c._context.displayName||"Context")+".Provider";case dr:var v=c.render;return c=c.displayName,c||(c=v.displayName||v.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case u:return v=c.displayName||null,v!==null?v:Q(c.type)||"Memo";case g:v=c._payload,c=c._init;try{return Q(c(v))}catch{}}return null}var ae={};function fe(c,v){if(c=c.contextTypes,!c)return ae;var k={},P;for(P in c)k[P]=v[P];return k}var ue=null;function ye(c,v){if(c!==v){c.context._currentValue=c.parentValue,c=c.parent;var k=v.parent;if(c===null){if(k!==null)throw Error(t(401))}else{if(k===null)throw Error(t(401));ye(c,k)}v.context._currentValue=v.value}}function lt(c){c.context._currentValue=c.parentValue,c=c.parent,c!==null&&lt(c)}function et(c){var v=c.parent;v!==null&&et(v),c.context._currentValue=c.value}function tt(c,v){if(c.context._currentValue=c.parentValue,c=c.parent,c===null)throw Error(t(402));c.depth===v.depth?ye(c,v):tt(c,v)}function Xt(c,v){var k=v.parent;if(k===null)throw Error(t(402));c.depth===k.depth?ye(c,k):Xt(c,k),v.context._currentValue=v.value}function bt(c){var v=ue;v!==c&&(v===null?et(c):c===null?lt(v):v.depth===c.depth?ye(v,c):v.depth>c.depth?tt(v,c):Xt(v,c),ue=c)}var Nn={isMounted:function(){return!1},enqueueSetState:function(c,v){c=c._reactInternals,c.queue!==null&&c.queue.push(v)},enqueueReplaceState:function(c,v){c=c._reactInternals,c.replace=!0,c.queue=[v]},enqueueForceUpdate:function(){}};function sn(c,v,k,P){var W=c.state!==void 0?c.state:null;c.updater=Nn,c.props=k,c.state=W;var V={queue:[],replace:!1};c._reactInternals=V;var Y=v.contextType;if(c.context=typeof Y=="object"&&Y!==null?Y._currentValue:P,Y=v.getDerivedStateFromProps,typeof Y=="function"&&(Y=Y(k,W),W=Y==null?W:Ft({},W,Y),c.state=W),typeof v.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(v=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),v!==c.state&&Nn.enqueueReplaceState(c,c.state,null),V.queue!==null&&0<V.queue.length)if(v=V.queue,Y=V.replace,V.queue=null,V.replace=!1,Y&&v.length===1)c.state=v[0];else{for(V=Y?v[0]:c.state,W=!0,Y=Y?1:0;Y<v.length;Y++){var K=v[Y];K=typeof K=="function"?K.call(c,V,k,P):K,K!=null&&(W?(W=!1,V=Ft({},V,K)):Ft(V,K))}c.state=V}else V.queue=null}var En={id:1,overflow:""};function Zt(c,v,k){var P=c.id;c=c.overflow;var W=32-hr(P)-1;P&=~(1<<W),k+=1;var V=32-hr(v)+W;if(30<V){var Y=W-W%5;return V=(P&(1<<Y)-1).toString(32),P>>=Y,W-=Y,{id:1<<32-hr(v)+W|k<<W|P,overflow:V+c}}return{id:1<<V|k<<W|P,overflow:c}}var hr=Math.clz32?Math.clz32:yo,da=Math.log,ha=Math.LN2;function yo(c){return c>>>=0,c===0?32:31-(da(c)/ha|0)|0}function pa(c,v){return c===v&&(c!==0||1/c===1/v)||c!==c&&v!==v}var bo=typeof Object.is=="function"?Object.is:pa,Jt=null,pr=null,jr=null,Ee=null,ln=!1,ut=!1,Rn=0,un=null,Br=0;function cn(){if(Jt===null)throw Error(t(321));return Jt}function xt(){if(0<Br)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function xo(){return Ee===null?jr===null?(ln=!1,jr=Ee=xt()):(ln=!0,Ee=jr):Ee.next===null?(ln=!1,Ee=Ee.next=xt()):(ln=!0,Ee=Ee.next),Ee}function So(){pr=Jt=null,ut=!1,jr=null,Br=0,Ee=un=null}function si(c,v){return typeof v=="function"?v(c):v}function li(c,v,k){if(Jt=cn(),Ee=xo(),ln){var P=Ee.queue;if(v=P.dispatch,un!==null&&(k=un.get(P),k!==void 0)){un.delete(P),P=Ee.memoizedState;do P=c(P,k.action),k=k.next;while(k!==null);return Ee.memoizedState=P,[P,v]}return[Ee.memoizedState,v]}return c=c===si?typeof v=="function"?v():v:k!==void 0?k(v):v,Ee.memoizedState=c,c=Ee.queue={last:null,dispatch:null},c=c.dispatch=ma.bind(null,Jt,c),[Ee.memoizedState,c]}function ui(c,v){if(Jt=cn(),Ee=xo(),v=v===void 0?null:v,Ee!==null){var k=Ee.memoizedState;if(k!==null&&v!==null){var P=k[1];e:if(P===null)P=!1;else{for(var W=0;W<P.length&&W<v.length;W++)if(!bo(v[W],P[W])){P=!1;break e}P=!0}if(P)return k[0]}}return c=c(),Ee.memoizedState=[c,v],c}function ma(c,v,k){if(25<=Br)throw Error(t(301));if(c===Jt)if(ut=!0,c={action:k,next:null},un===null&&(un=new Map),k=un.get(v),k===void 0)un.set(v,c);else{for(v=k;v.next!==null;)v=v.next;v.next=c}}function ga(){throw Error(t(394))}function Vr(){}var zr={readContext:function(c){return c._currentValue},useContext:function(c){return cn(),c._currentValue},useMemo:ui,useReducer:li,useRef:function(c){Jt=cn(),Ee=xo();var v=Ee.memoizedState;return v===null?(c={current:c},Ee.memoizedState=c):v},useState:function(c){return li(si,c)},useInsertionEffect:Vr,useLayoutEffect:function(){},useCallback:function(c,v){return ui(function(){return c},v)},useImperativeHandle:Vr,useEffect:Vr,useDebugValue:Vr,useDeferredValue:function(c){return cn(),c},useTransition:function(){return cn(),[!1,ga]},useId:function(){var c=pr.treeContext,v=c.overflow;c=c.id,c=(c&~(1<<32-hr(c)-1)).toString(32)+v;var k=Wr;if(k===null)throw Error(t(404));return v=Rn++,c=":"+k.idPrefix+"R"+c,0<v&&(c+="H"+v.toString(32)),c+":"},useMutableSource:function(c,v){return cn(),v(c._source)},useSyncExternalStore:function(c,v,k){if(k===void 0)throw Error(t(407));return k()}},Wr=null,mr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function va(c){return console.error(c),null}function gr(){}function wo(c,v,k,P,W,V,Y,K,de){var ve=[],ge=new Set;return v={destination:null,responseState:v,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ge,pingedTasks:ve,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?va:W,onAllReady:V===void 0?gr:V,onShellReady:Y===void 0?gr:Y,onShellError:K===void 0?gr:K,onFatalError:de===void 0?gr:de},k=Hn(v,0,null,k,!1,!1),k.parentFlushed=!0,c=ko(v,c,null,k,ge,ae,null,En),ve.push(c),v}function ko(c,v,k,P,W,V,Y,K){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var de={node:v,ping:function(){var ve=c.pingedTasks;ve.push(de),ve.length===1&&mi(c)},blockedBoundary:k,blockedSegment:P,abortSet:W,legacyContext:V,context:Y,treeContext:K};return W.add(de),de}function Hn(c,v,k,P,W,V){return{status:0,id:-1,index:v,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:k,lastPushedText:W,textEmbedded:V}}function $n(c,v){if(c=c.onError(v),c!=null&&typeof c!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof c+'" instead');return c}function Ur(c,v){var k=c.onShellError;k(v),k=c.onFatalError,k(v),c.destination!==null?(c.status=2,A(c.destination,v)):(c.status=1,c.fatalError=v)}function ci(c,v,k,P,W){for(Jt={},pr=v,Rn=0,c=k(P,W);ut;)ut=!1,Rn=0,Br+=1,Ee=null,c=k(P,W);return So(),c}function To(c,v,k,P){var W=k.render(),V=P.childContextTypes;if(V!=null){var Y=v.legacyContext;if(typeof k.getChildContext!="function")P=Y;else{k=k.getChildContext();for(var K in k)if(!(K in V))throw Error(t(108,Q(P)||"Unknown",K));P=Ft({},Y,k)}v.legacyContext=P,ct(c,v,W),v.legacyContext=Y}else ct(c,v,W)}function fi(c,v){if(c&&c.defaultProps){v=Ft({},v),c=c.defaultProps;for(var k in c)v[k]===void 0&&(v[k]=c[k]);return v}return v}function Nr(c,v,k,P,W){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){W=fe(k,v.legacyContext);var V=k.contextType;V=new k(P,typeof V=="object"&&V!==null?V._currentValue:W),sn(V,k,P,W),To(c,v,V,k)}else{V=fe(k,v.legacyContext),W=ci(c,v,k,P,V);var Y=Rn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)sn(W,k,P,V),To(c,v,W,k);else if(Y){P=v.treeContext,v.treeContext=Zt(P,1,0);try{ct(c,v,W)}finally{v.treeContext=P}}else ct(c,v,W)}else if(typeof k=="string"){switch(W=v.blockedSegment,V=Qn(W.chunks,k,P,c.responseState,W.formatContext),W.lastPushedText=!1,Y=W.formatContext,W.formatContext=he(Y,k,P),Hr(c,v,V),W.formatContext=Y,k){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Kn,p(k),qn)}W.lastPushedText=!1}else{switch(k){case z:case R:case cr:case fr:case on:ct(c,v,P.children);return;case Un:ct(c,v,P.children);return;case C:throw Error(t(343));case Wn:e:{k=v.blockedBoundary,W=v.blockedSegment,V=P.fallback,P=P.children,Y=new Set;var K={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Y,errorDigest:null},de=Hn(c,W.chunks.length,K,W.formatContext,!1,!1);W.children.push(de),W.lastPushedText=!1;var ve=Hn(c,0,null,W.formatContext,!1,!1);ve.parentFlushed=!0,v.blockedBoundary=K,v.blockedSegment=ve;try{if(Hr(c,v,P),ve.lastPushedText&&ve.textEmbedded&&ve.chunks.push(Se),ve.status=1,$r(K,ve),K.pendingTasks===0)break e}catch(ge){ve.status=4,K.forceClientRender=!0,K.errorDigest=$n(c,ge)}finally{v.blockedBoundary=k,v.blockedSegment=W}v=ko(c,V,k,de,Y,v.legacyContext,v.context,v.treeContext),c.pingedTasks.push(v)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case dr:if(P=ci(c,v,k.render,P,W),Rn!==0){k=v.treeContext,v.treeContext=Zt(k,1,0);try{ct(c,v,P)}finally{v.treeContext=k}}else ct(c,v,P);return;case u:k=k.type,P=fi(k,P),Nr(c,v,k,P,W);return;case zn:if(W=P.children,k=k._context,P=P.value,V=k._currentValue,k._currentValue=P,Y=ue,ue=P={parent:Y,depth:Y===null?0:Y.depth+1,context:k,parentValue:V,value:P},v.context=P,ct(c,v,W),c=ue,c===null)throw Error(t(403));P=c.parentValue,c.context._currentValue=P===j?c.context._defaultValue:P,c=ue=c.parent,v.context=c;return;case an:P=P.children,P=P(k._currentValue),ct(c,v,P);return;case g:W=k._init,k=W(k._payload),P=fi(k,P),Nr(c,v,k,P,void 0);return}throw Error(t(130,k==null?k:typeof k,""))}}function ct(c,v,k){if(v.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case st:Nr(c,v,k.type,k.props,k.ref);return;case Gt:throw Error(t(257));case g:var P=k._init;k=P(k._payload),ct(c,v,k);return}if(ze(k)){di(c,v,k);return}if(k===null||typeof k!="object"?P=null:(P=H&&k[H]||k["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(k))){if(k=P.next(),!k.done){var W=[];do W.push(k.value),k=P.next();while(!k.done);di(c,v,W)}return}throw c=Object.prototype.toString.call(k),Error(t(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,k,c.responseState,P.lastPushedText)):typeof k=="number"&&(P=v.blockedSegment,P.lastPushedText=Nt(v.blockedSegment.chunks,""+k,c.responseState,P.lastPushedText))}function di(c,v,k){for(var P=k.length,W=0;W<P;W++){var V=v.treeContext;v.treeContext=Zt(V,P,W);try{Hr(c,v,k[W])}finally{v.treeContext=V}}}function Hr(c,v,k){var P=v.blockedSegment.formatContext,W=v.legacyContext,V=v.context;try{return ct(c,v,k)}catch(de){if(So(),typeof de=="object"&&de!==null&&typeof de.then=="function"){k=de;var Y=v.blockedSegment,K=Hn(c,Y.chunks.length,null,Y.formatContext,Y.lastPushedText,!0);Y.children.push(K),Y.lastPushedText=!1,c=ko(c,v.node,v.blockedBoundary,K,v.abortSet,v.legacyContext,v.context,v.treeContext).ping,k.then(c,c),v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V)}else throw v.blockedSegment.formatContext=P,v.legacyContext=W,v.context=V,bt(V),de}}function ya(c){var v=c.blockedBoundary;c=c.blockedSegment,c.status=3,pi(this,v,c)}function hi(c,v,k){var P=c.blockedBoundary;c.blockedSegment.status=3,P===null?(v.allPendingTasks--,v.status!==2&&(v.status=2,v.destination!==null&&v.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,c=k===void 0?Error(t(432)):k,P.errorDigest=v.onError(c),P.parentFlushed&&v.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(W){return hi(W,v,k)}),P.fallbackAbortableTasks.clear(),v.allPendingTasks--,v.allPendingTasks===0&&(P=v.onAllReady,P()))}function $r(c,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null){var k=v.children[0];k.id=v.id,k.parentFlushed=!0,k.status===1&&$r(c,k)}else c.completedSegments.push(v)}function pi(c,v,k){if(v===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(t(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=gr,v=c.onShellReady,v())}else v.pendingTasks--,v.forceClientRender||(v.pendingTasks===0?(k.parentFlushed&&k.status===1&&$r(v,k),v.parentFlushed&&c.completedBoundaries.push(v),v.fallbackAbortableTasks.forEach(ya,c),v.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($r(v,k),v.completedSegments.length===1&&v.parentFlushed&&c.partialBoundaries.push(v)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function mi(c){if(c.status!==2){var v=ue,k=mr.current;mr.current=zr;var P=Wr;Wr=c.responseState;try{var W=c.pingedTasks,V;for(V=0;V<W.length;V++){var Y=W[V],K=c,de=Y.blockedSegment;if(de.status===0){bt(Y.context);try{ct(K,Y,Y.node),de.lastPushedText&&de.textEmbedded&&de.chunks.push(Se),Y.abortSet.delete(Y),de.status=1,pi(K,Y.blockedBoundary,de)}catch(wt){if(So(),typeof wt=="object"&&wt!==null&&typeof wt.then=="function"){var ve=Y.ping;wt.then(ve,ve)}else{Y.abortSet.delete(Y),de.status=4;var ge=Y.blockedBoundary,Re=wt,ft=$n(K,Re);if(ge===null?Ur(K,Re):(ge.pendingTasks--,ge.forceClientRender||(ge.forceClientRender=!0,ge.errorDigest=ft,ge.parentFlushed&&K.clientRenderedBoundaries.push(ge))),K.allPendingTasks--,K.allPendingTasks===0){var St=K.onAllReady;St()}}}finally{}}}W.splice(0,V),c.destination!==null&&Co(c,c.destination)}catch(wt){$n(c,wt),Ur(c,wt)}finally{Wr=P,mr.current=k,k===zr&&bt(v)}}}function Yr(c,v,k){switch(k.parentFlushed=!0,k.status){case 0:var P=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,s(v,Be),s(v,c.placeholderPrefix),c=p(P.toString(16)),s(v,c),m(v,er);case 1:k.status=2;var W=!0;P=k.chunks;var V=0;k=k.children;for(var Y=0;Y<k.length;Y++){for(W=k[Y];V<W.index;V++)s(v,P[V]);W=Gr(c,v,W)}for(;V<P.length-1;V++)s(v,P[V]);return V<P.length&&(W=m(v,P[V])),W;default:throw Error(t(390))}}function Gr(c,v,k){var P=k.boundary;if(P===null)return Yr(c,v,k);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,m(v,Fn),s(v,nr),P&&(s(v,rr),s(v,p(re(P))),s(v,qt)),m(v,Lr),Yr(c,v,k);else if(0<P.pendingTasks){P.rootSegmentID=c.nextSegmentId++,0<P.completedSegments.length&&c.partialBoundaries.push(P);var W=c.responseState,V=W.nextSuspenseID++;W=x(W.boundaryPrefix+V.toString(16)),P=P.id=W,at(v,c.responseState,P),Yr(c,v,k)}else if(P.byteSize>c.progressiveChunkSize)P.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(P),at(v,c.responseState,P.id),Yr(c,v,k);else{if(m(v,Or),k=P.completedSegments,k.length!==1)throw Error(t(391));Gr(c,v,k[0])}return m(v,po)}function gi(c,v,k){return kn(v,c.responseState,k.formatContext,k.id),Gr(c,v,k),nn(v,k.formatContext)}function vi(c,v,k){for(var P=k.completedSegments,W=0;W<P.length;W++)yi(c,v,k,P[W]);if(P.length=0,c=c.responseState,P=k.id,k=k.rootSegmentID,s(v,c.startInlineScript),c.sentCompleteBoundaryFunction?s(v,Mt):(c.sentCompleteBoundaryFunction=!0,s(v,Yt)),P===null)throw Error(t(395));return k=p(k.toString(16)),s(v,P),s(v,Tn),s(v,c.segmentPrefix),s(v,k),m(v,Cn)}function yi(c,v,k,P){if(P.status===2)return!0;var W=P.id;if(W===-1){if((P.id=k.rootSegmentID)===-1)throw Error(t(392));return gi(c,v,P)}return gi(c,v,P),c=c.responseState,s(v,c.startInlineScript),c.sentCompleteSegmentFunction?s(v,ur):(c.sentCompleteSegmentFunction=!0,s(v,vo)),s(v,c.segmentPrefix),W=p(W.toString(16)),s(v,W),s(v,Bn),s(v,c.placeholderPrefix),s(v,W),m(v,rn)}function Co(c,v){r=new Uint8Array(512),i=0;try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){Gr(c,v,k),c.completedRootSegment=null;var P=c.responseState.bootstrapChunks;for(k=0;k<P.length-1;k++)s(v,P[k]);k<P.length&&m(v,P[k])}var W=c.clientRenderedBoundaries,V;for(V=0;V<W.length;V++){var Y=W[V];P=v;var K=c.responseState,de=Y.id,ve=Y.errorDigest,ge=Y.errorMessage,Re=Y.errorComponentStack;if(s(P,K.startInlineScript),K.sentClientRenderFunction?s(P,De):(K.sentClientRenderFunction=!0,s(P,ht)),de===null)throw Error(t(395));s(P,de),s(P,Dt),(ve||ge||Re)&&(s(P,Xe),s(P,p(Ot(ve||"")))),(ge||Re)&&(s(P,Xe),s(P,p(Ot(ge||"")))),Re&&(s(P,Xe),s(P,p(Ot(Re)))),m(P,yt)}W.splice(0,V);var ft=c.completedBoundaries;for(V=0;V<ft.length;V++)vi(c,v,ft[V]);ft.splice(0,V),y(v),r=new Uint8Array(512),i=0;var St=c.partialBoundaries;for(V=0;V<St.length;V++){var wt=St[V];e:{W=c,Y=v;var Xr=wt.completedSegments;for(K=0;K<Xr.length;K++)if(!yi(W,Y,wt,Xr[K])){K++,Xr.splice(0,K);var xi=!1;break e}Xr.splice(0,K),xi=!0}if(!xi){c.destination=null,V++,St.splice(0,V);return}}St.splice(0,V);var Eo=c.completedBoundaries;for(V=0;V<Eo.length;V++)vi(c,v,Eo[V]);Eo.splice(0,V)}finally{y(v),c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&v.close()}}function bi(c,v){try{var k=c.abortableTasks;k.forEach(function(P){return hi(P,c,v)}),k.clear(),c.destination!==null&&Co(c,c.destination)}catch(P){$n(c,P),Ur(c,P)}}return hl.renderToReadableStream=function(c,v){return new Promise(function(k,P){var W,V,Y=new Promise(function(ge,Re){V=ge,W=Re}),K=wo(c,Ze(v?v.identifierPrefix:void 0,v?v.nonce:void 0,v?v.bootstrapScriptContent:void 0,v?v.bootstrapScripts:void 0,v?v.bootstrapModules:void 0),Ut(v?v.namespaceURI:void 0),v?v.progressiveChunkSize:void 0,v?v.onError:void 0,V,function(){var ge=new ReadableStream({type:"bytes",pull:function(Re){if(K.status===1)K.status=2,A(Re,K.fatalError);else if(K.status!==2&&K.destination===null){K.destination=Re;try{Co(K,Re)}catch(ft){$n(K,ft),Ur(K,ft)}}},cancel:function(){bi(K)}},{highWaterMark:0});ge.allReady=Y,k(ge)},function(ge){Y.catch(function(){}),P(ge)},W);if(v&&v.signal){var de=v.signal,ve=function(){bi(K,de.reason),de.removeEventListener("abort",ve)};de.addEventListener("abort",ve)}mi(K)})},hl.version="18.2.0",hl}var qo={};/**
32
28
  * @license React
33
29
  * react-dom-server-legacy.browser.development.js
34
30
  *
@@ -36,38 +32,38 @@ var p0=require("../index.css");Object.defineProperty(exports,Symbol.toStringTag,
36
32
  *
37
33
  * This source code is licensed under the MIT license found in the
38
34
  * LICENSE file in the root directory of this source tree.
39
- */var ad;function Yb(){return ad||(ad=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];p("warn",n,f)}}function s(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];p("error",n,f)}}function p(n,a,f){{var h=r.ReactDebugCurrentFrame,k=h.getStackAddendum();k!==""&&(a+="%s",f=f.concat([k]));var I=f.map(function(O){return String(O)});I.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,I)}}function g(n){n()}function S(n){}function m(n,a){b(n,a)}function b(n,a){return n.push(a)}function A(n){}function w(n){n.push(null)}function D(n){return n}function L(n){return n}function H(n,a){n.destroy(a)}function Y(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,f=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function B(n){try{return F(n),!1}catch{return!0}}function F(n){return""+n}function Z(n,a){if(B(n))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,Y(n)),F(n)}function X(n,a){if(B(n))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,Y(n)),F(n)}function ee(n){if(B(n))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Y(n)),F(n)}var ne=Object.prototype.hasOwnProperty,te=0,oe=1,le=2,ce=3,Ue=4,$e=5,Te=6,Ye=":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",Re=Ye+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ht=new RegExp("^["+Ye+"]["+Re+"]*$"),Ie={},it={};function Qe(n){return ne.call(it,n)?!0:ne.call(Ie,n)?!1:ht.test(n)?(it[n]=!0,!0):(Ie[n]=!0,s("Invalid attribute name: `%s`",n),!1)}function Ve(n,a,f,h){if(f!==null&&f.type===te)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(h)return!1;if(f!==null)return!f.acceptsBooleans;var k=n.toLowerCase().slice(0,5);return k!=="data-"&&k!=="aria-"}default:return!1}}function Nt(n){return ke.hasOwnProperty(n)?ke[n]:null}function pe(n,a,f,h,k,I,O){this.acceptsBooleans=a===le||a===ce||a===Ue,this.attributeName=h,this.attributeNamespace=k,this.mustUseProperty=f,this.propertyName=n,this.type=a,this.sanitizeURL=I,this.removeEmptyString=O}var ke={},Ht=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ht.forEach(function(n){ke[n]=new pe(n,te,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0],f=n[1];ke[a]=new pe(a,oe,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ke[n]=new pe(n,le,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ke[n]=new pe(n,le,!1,n,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(n){ke[n]=new pe(n,ce,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ke[n]=new pe(n,ce,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ke[n]=new pe(n,Ue,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ke[n]=new pe(n,Te,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ke[n]=new pe(n,$e,!1,n.toLowerCase(),null,!1,!1)});var gt=/[\-\:]([a-z])/g,Me=function(n){return n[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(gt,Me);ke[a]=new pe(a,oe,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ke[n]=new pe(n,oe,!1,n.toLowerCase(),null,!1,!1)});var Ce="xlinkHref";ke[Ce]=new pe("xlinkHref",oe,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ke[n]=new pe(n,oe,!1,n.toLowerCase(),null,!0,!0)});var Pt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function $t(n,a){return n+a.charAt(0).toUpperCase()+a.substring(1)}var Ze=["Webkit","ms","Moz","O"];Object.keys(Pt).forEach(function(n){Ze.forEach(function(a){Pt[$t(a,n)]=Pt[n]})});var st={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function De(n,a){st[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function bn(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){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 Ge={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},et={},Fn=new RegExp("^(aria)-["+Re+"]*$"),xn=new RegExp("^(aria)[A-Z]["+Re+"]*$");function Or(n,a){{if(ne.call(et,a)&&et[a])return!0;if(xn.test(a)){var f="aria-"+a.slice(4).toLowerCase(),h=Ge.hasOwnProperty(f)?f:null;if(h==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),et[a]=!0,!0;if(a!==h)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,h),et[a]=!0,!0}if(Fn.test(a)){var k=a.toLowerCase(),I=Ge.hasOwnProperty(k)?k:null;if(I==null)return et[a]=!0,!1;if(a!==I)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,I),et[a]=!0,!0}}return!0}function vt(n,a){{var f=[];for(var h in a){var k=Or(n,h);k||f.push(h)}var I=f.map(function(O){return"`"+O+"`"}).join(", ");f.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n):f.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n)}}function Sn(n,a){bn(n,a)||vt(n,a)}var wn=!1;function Fr(n,a){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;a!=null&&a.value===null&&!wn&&(wn=!0,n==="select"&&a.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var yt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ke=function(){};{var Ne={},Kn=/^on./,qn=/^on[^A-Z]/,er=new RegExp("^(aria)-["+Re+"]*$"),ze=new RegExp("^(aria)[A-Z]["+Re+"]*$");Ke=function(n,a,f,h){if(ne.call(Ne,a)&&Ne[a])return!0;var k=a.toLowerCase();if(k==="onfocusin"||k==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ne[a]=!0,!0;if(h!=null){var I=h.registrationNameDependencies,O=h.possibleRegistrationNames;if(I.hasOwnProperty(a))return!0;var U=O.hasOwnProperty(k)?O[k]:null;if(U!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",a,U),Ne[a]=!0,!0;if(Kn.test(a))return s("Unknown event handler property `%s`. It will be ignored.",a),Ne[a]=!0,!0}else if(Kn.test(a))return qn.test(a)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),Ne[a]=!0,!0;if(er.test(a)||ze.test(a))return!0;if(k==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ne[a]=!0,!0;if(k==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ne[a]=!0,!0;if(k==="is"&&f!==null&&f!==void 0&&typeof f!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),Ne[a]=!0,!0;if(typeof f=="number"&&isNaN(f))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),Ne[a]=!0,!0;var J=Nt(a),ie=J!==null&&J.type===te;if(yt.hasOwnProperty(k)){var ae=yt[k];if(ae!==a)return s("Invalid DOM property `%s`. Did you mean `%s`?",a,ae),Ne[a]=!0,!0}else if(!ie&&a!==k)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,k),Ne[a]=!0,!0;return typeof f=="boolean"&&Ve(a,f,J,!1)?(f?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,a,a,f,a):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,a,a,f,a,a,a),Ne[a]=!0,!0):ie?!0:Ve(a,f,J,!1)?(Ne[a]=!0,!1):((f==="false"||f==="true")&&J!==null&&J.type===ce&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,a,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,f),Ne[a]=!0),!0)}}var tr=function(n,a,f){{var h=[];for(var k in a){var I=Ke(n,k,a[k],f);I||h.push(k)}var O=h.map(function(U){return"`"+U+"`"}).join(", ");h.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n):h.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n)}};function _r(n,a,f){bn(n,a)||tr(n,a,f)}var Lr=function(){};{var nr=/^(?:webkit|moz|o)[A-Z]/,_n=/^-ms-/,go=/-(.)/g,rr=/;\s*$/,tn={},or={},jr=!1,at=!1,At=function(n){return n.replace(go,function(a,f){return f.toUpperCase()})},nn=function(n){tn.hasOwnProperty(n)&&tn[n]||(tn[n]=!0,s("Unsupported style property %s. Did you mean %s?",n,At(n.replace(_n,"ms-"))))},we=function(n){tn.hasOwnProperty(n)&&tn[n]||(tn[n]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},rn=function(n,a){or.hasOwnProperty(a)&&or[a]||(or[a]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,a.replace(rr,"")))},Ln=function(n,a){jr||(jr=!0,s("`NaN` is an invalid value for the `%s` css style property.",n))},kn=function(n,a){at||(at=!0,s("`Infinity` is an invalid value for the `%s` css style property.",n))};Lr=function(n,a){n.indexOf("-")>-1?nn(n):nr.test(n)?we(n):rr.test(a)&&rn(n,a),typeof a=="number"&&(isNaN(a)?Ln(n,a):isFinite(a)||kn(n,a))}}var It=Lr,jn=/["'&<>]/;function Yt(n){ee(n);var a=""+n,f=jn.exec(a);if(!f)return a;var h,k="",I,O=0;for(I=f.index;I<a.length;I++){switch(a.charCodeAt(I)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#x27;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}O!==I&&(k+=a.substring(O,I)),O=I+1,k+=h}return O!==I?k+a.substring(O,I):k}function Le(n){return typeof n=="boolean"||typeof n=="number"?""+n:Yt(n)}var ir=/([A-Z])/g,sr=/^ms-/;function Br(n){return n.replace(ir,"-$1").toLowerCase().replace(sr,"-ms-")}var We=/^[\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,ar=!1;function vo(n){!ar&&We.test(n)&&(ar=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var yo=Array.isArray;function Mt(n){return yo(n)}var lr="<script>",Bn="<\/script>",ur='<script src="',Tn='<script type="module" src="',on='" async=""><\/script>';function bo(n){return ee(n),(""+n).replace(cr,Vn)}var cr=/(<\/|<)(s)(cript)/gi,Vn=function(n,a,f,h){return""+a+(f==="s"?"\\u0073":"\\u0053")+h};function sn(n,a,f,h,k){var I=n===void 0?"":n,O=a===void 0?lr:'<script nonce="'+Le(a)+'">',U=[];if(f!==void 0&&U.push(O,bo(f),Bn),h!==void 0)for(var J=0;J<h.length;J++)U.push(ur,Le(h[J]),on);if(k!==void 0)for(var ie=0;ie<k.length;ie++)U.push(Tn,Le(k[ie]),on);return{bootstrapChunks:U,startInlineScript:O,placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Gt=0,Dt=1,Cn=2,En=3,pt=4,Fe=5,Ot=6,bt=7;function Je(n,a){return{insertionMode:n,selectedValue:a}}function zn(n,a,f){switch(a){case"select":return Je(Dt,f.value!=null?f.value:f.defaultValue);case"svg":return Je(Cn,null);case"math":return Je(En,null);case"foreignObject":return Je(Dt,null);case"table":return Je(pt,null);case"thead":case"tbody":case"tfoot":return Je(Fe,null);case"colgroup":return Je(bt,null);case"tr":return Je(Ot,null)}return n.insertionMode>=pt||n.insertionMode===Gt?Je(Dt,null):n}var Ft=null;function _t(n){var a=n.nextSuspenseID++;return n.boundaryPrefix+a.toString(16)}function lt(n,a,f){var h=n.idPrefix,k=":"+h+"R"+a;return f>0&&(k+="H"+f.toString(32)),k+":"}function Xt(n){return Le(n)}var an="<!-- -->";function fr(n,a,f,h){return a===""?h:(h&&n.push(an),n.push(Xt(a)),!0)}function dr(n,a,f,h){f&&h&&n.push(an)}var Wn=new Map;function ln(n){var a=Wn.get(n);if(a!==void 0)return a;var f=Le(Br(n));return Wn.set(n,f),f}var hr=' style="',Un=":",Nn=";";function u(n,a,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var h=!0;for(var k in f)if(ne.call(f,k)){var I=f[k];if(!(I==null||typeof I=="boolean"||I==="")){var O=void 0,U=void 0,J=k.indexOf("--")===0;J?(O=Le(k),X(I,k),U=Le((""+I).trim())):(It(k,I),O=ln(k),typeof I=="number"?I!==0&&!ne.call(Pt,k)?U=I+"px":U=""+I:(X(I,k),U=Le((""+I).trim()))),h?(h=!1,n.push(hr,O,Un,U)):n.push(Nn,O,Un,U)}}h||n.push(R)}var v=" ",C='="',R='"',z='=""';function j(n,a,f,h){switch(f){case"style":{u(n,a,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var k=Nt(f);if(k!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}var I=k.attributeName,O=I;switch(k.type){case ce:h&&n.push(v,O,z);return;case Ue:h===!0?n.push(v,O,z):h===!1||n.push(v,O,C,Le(h),R);return;case $e:isNaN(h)||n.push(v,O,C,Le(h),R);break;case Te:!isNaN(h)&&h>=1&&n.push(v,O,C,Le(h),R);break;default:k.sanitizeURL&&(Z(h,I),h=""+h,vo(h)),n.push(v,O,C,Le(h),R)}}else if(Qe(f)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var U=f.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}n.push(v,f,C,Le(h),R)}}}var $=">",K="/>";function se(n,a,f){if(a!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof a!="object"||!("__html"in a))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var h=a.__html;h!=null&&(ee(h),n.push(""+h))}}var fe=!1,ue=!1,xe=!1,ut=!1,tt=!1,nt=!1,Zt=!1;function xt(n,a){{var f=n[a];if(f!=null){var h=Mt(f);n.multiple&&!h?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",a):!n.multiple&&h&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",a)}}}function Hn(n,a,f){De("select",a),xt(a,"value"),xt(a,"defaultValue"),a.value!==void 0&&a.defaultValue!==void 0&&!xe&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),xe=!0),n.push(ct("select"));var h=null,k=null;for(var I in a)if(ne.call(a,I)){var O=a[I];if(O==null)continue;switch(I){case"children":h=O;break;case"dangerouslySetInnerHTML":k=O;break;case"defaultValue":case"value":break;default:j(n,f,I,O);break}}return n.push($),se(n,k,h),h}function un(n){var a="";return e.Children.forEach(n,function(f){f!=null&&(a+=f,!tt&&typeof f!="string"&&typeof f!="number"&&(tt=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),a}var Rn=' selected=""';function Jt(n,a,f,h){var k=h.selectedValue;n.push(ct("option"));var I=null,O=null,U=null,J=null;for(var ie in a)if(ne.call(a,ie)){var ae=a[ie];if(ae==null)continue;switch(ie){case"children":I=ae;break;case"selected":U=ae,Zt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zt=!0);break;case"dangerouslySetInnerHTML":J=ae;break;case"value":O=ae;default:j(n,f,ie,ae);break}}if(k!=null){var ge;if(O!==null?(Z(O,"value"),ge=""+O):(J!==null&&(nt||(nt=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ge=un(I)),Mt(k))for(var Oe=0;Oe<k.length;Oe++){Z(k[Oe],"value");var ot=""+k[Oe];if(ot===ge){n.push(Rn);break}}else Z(k,"select.value"),""+k===ge&&n.push(Rn)}else U&&n.push(Rn);return n.push($),se(n,J,I),I}function pr(n,a,f){De("input",a),a.checked!==void 0&&a.defaultChecked!==void 0&&!ue&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),ue=!0),a.value!==void 0&&a.defaultValue!==void 0&&!fe&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),fe=!0),n.push(ct("input"));var h=null,k=null,I=null,O=null;for(var U in a)if(ne.call(a,U)){var J=a[U];if(J==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":O=J;break;case"defaultValue":k=J;break;case"checked":I=J;break;case"value":h=J;break;default:j(n,f,U,J);break}}return I!==null?j(n,f,"checked",I):O!==null&&j(n,f,"checked",O),h!==null?j(n,f,"value",h):k!==null&&j(n,f,"value",k),n.push(K),null}function ps(n,a,f){De("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!ut&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ut=!0),n.push(ct("textarea"));var h=null,k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":I=U;break;case"value":h=U;break;case"defaultValue":k=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:j(n,f,O,U);break}}if(h===null&&k!==null&&(h=k),n.push($),I!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Mt(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");ee(I[0]),h=""+I[0]}ee(I),h=""+I}return typeof h=="string"&&h[0]===`
40
- `&&n.push(mr),h!==null&&(Z(h,"value"),n.push(Xt(""+h))),null}function ms(n,a,f,h){n.push(ct(f));for(var k in a)if(ne.call(a,k)){var I=a[k];if(I==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j(n,h,k,I);break}}return n.push(K),null}function xo(n,a,f){n.push(ct("menuitem"));for(var h in a)if(ne.call(a,h)){var k=a[h];if(k==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:j(n,f,h,k);break}}return n.push($),null}function gs(n,a,f){n.push(ct("title"));var h=null;for(var k in a)if(ne.call(a,k)){var I=a[k];if(I==null)continue;switch(k){case"children":h=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:j(n,f,k,I);break}}n.push($);{var O=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&O.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&typeof O!="string"&&typeof O!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return h}function So(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}return n.push($),se(n,I,k),typeof k=="string"?(n.push(Xt(k)),null):k}function Qt(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,h,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Qe(O)&&typeof U!="function"&&typeof U!="symbol"&&n.push(v,O,C,Le(U),R);break}}return n.push($),se(n,I,k),k}var mr=`
41
- `;function Vr(n,a,f,h){n.push(ct(f));var k=null,I=null;for(var O in a)if(ne.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":k=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}if(n.push($),I!=null){if(k!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof I!="object"||!("__html"in I))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var J=I.__html;J!=null&&(typeof J=="string"&&J.length>0&&J[0]===`
42
- `?n.push(mr,J):(ee(J),n.push(""+J)))}return typeof k=="string"&&k[0]===`
43
- `&&n.push(mr),k}var Pe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cn=new Map;function ct(n){var a=cn.get(n);if(a===void 0){if(!Pe.test(n))throw new Error("Invalid tag: "+n);a="<"+n,cn.set(n,a)}return a}var Pn="<!DOCTYPE html>";function fn(n,a,f,h,k){switch(Sn(a,f),Fr(a,f),_r(a,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),k.insertionMode!==Cn&&k.insertionMode!==En&&a.indexOf("-")===-1&&typeof f.is!="string"&&a.toLowerCase()!==a&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),a){case"select":return Hn(n,f,h);case"option":return Jt(n,f,h,k);case"textarea":return ps(n,f,h);case"input":return pr(n,f,h);case"menuitem":return xo(n,f,h);case"title":return gs(n,f,h);case"listing":case"pre":return Vr(n,f,a,h);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ms(n,f,a,h);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 So(n,f,a,h);case"html":return k.insertionMode===Gt&&n.push(Pn),So(n,f,a,h);default:return a.indexOf("-")===-1&&typeof f.is!="string"?So(n,f,a,h):Qt(n,f,a,h)}}var zr="</",dn=">";function St(n,a,f){switch(a){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(zr,a,dn)}}function wo(n,a){for(var f=a.bootstrapChunks,h=0;h<f.length-1;h++)m(n,f[h]);return h<f.length?b(n,f[h]):!0}var ko='<template id="',ui='"></template>';function ci(n,a,f){m(n,ko),m(n,a.placeholderPrefix);var h=f.toString(16);return m(n,h),b(n,ui)}var fi="<!--$-->",vs='<!--$?--><template id="',ys='"></template>',Wr="<!--$!-->",Ur="<!--/$-->",Nr="<template",gr='"',bs=' data-dgst="',vr=' data-msg="',To=' data-stck="',Co="></template>";function $n(n,a){return b(n,fi)}function Yn(n,a,f){if(m(n,vs),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(n,f),b(n,ys)}function Hr(n,a,f,h,k){var I;return I=b(n,Wr),m(n,Nr),f&&(m(n,bs),m(n,Le(f)),m(n,gr)),h&&(m(n,vr),m(n,Le(h)),m(n,gr)),k&&(m(n,To),m(n,Le(k)),m(n,gr)),I=b(n,Co),I}function di(n,a){return b(n,Ur)}function Eo(n,a){return b(n,Ur)}function hi(n,a){return b(n,Ur)}var $r='<div hidden id="',ft='">',pi="</div>",Yr='<svg aria-hidden="true" style="display:none" id="',xs='">',mi="</svg>",Gr='<math aria-hidden="true" style="display:none" id="',gi='">',vi="</math>",Xr='<table hidden id="',Zr='">',yi="</table>",bi='<table hidden><tbody id="',xi='">',Ro="</tbody></table>",Si='<table hidden><tr id="',c='">',y="</tr></table>",T='<table hidden><colgroup id="',P='">',W="</colgroup></table>";function V(n,a,f,h){switch(f.insertionMode){case Gt:case Dt:return m(n,$r),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,ft);case Cn:return m(n,Yr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,xs);case En:return m(n,Gr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,gi);case pt:return m(n,Xr),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,Zr);case Fe:return m(n,bi),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,xi);case Ot:return m(n,Si),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,c);case bt:return m(n,T),m(n,a.segmentPrefix),m(n,h.toString(16)),b(n,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function G(n,a){switch(a.insertionMode){case Gt:case Dt:return b(n,pi);case Cn:return b(n,mi);case En:return b(n,vi);case pt:return b(n,yi);case Fe:return b(n,Ro);case Ot:return b(n,y);case bt:return b(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var q="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",de='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ye='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ve=q+';$RS("',Ae='$RS("',dt='","',wt='")<\/script>';function kt(n,a,f){m(n,a.startInlineScript),a.sentCompleteSegmentFunction?m(n,Ae):(a.sentCompleteSegmentFunction=!0,m(n,ve)),m(n,a.segmentPrefix);var h=f.toString(16);return m(n,h),m(n,dt),m(n,a.placeholderPrefix),m(n,h),b(n,wt)}var Jr=de+';$RC("',wi='$RC("',Po='","',Hl='")<\/script>';function $l(n,a,f,h){if(m(n,a.startInlineScript),a.sentCompleteBoundaryFunction?m(n,wi):(a.sentCompleteBoundaryFunction=!0,m(n,Jr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var k=h.toString(16);return m(n,f),m(n,Po),m(n,a.segmentPrefix),m(n,k),b(n,Hl)}var Yl=ye+';$RX("',Gl='$RX("',Xl='"',Zl=")<\/script>",Ss=",";function Jl(n,a,f,h,k,I){if(m(n,a.startInlineScript),a.sentClientRenderFunction?m(n,Gl):(a.sentClientRenderFunction=!0,m(n,Yl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(n,f),m(n,Xl),(h||k||I)&&(m(n,Ss),m(n,ws(h||""))),(k||I)&&(m(n,Ss),m(n,ws(k||""))),I&&(m(n,Ss),m(n,ws(I))),b(n,Zl)}var Ql=/[<\u2028\u2029]/g;function ws(n){var a=JSON.stringify(n);return a.replace(Ql,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Kl(n,a){var f=sn(a,void 0);return{bootstrapChunks:f.bootstrapChunks,startInlineScript:f.startInlineScript,placeholderPrefix:f.placeholderPrefix,segmentPrefix:f.segmentPrefix,boundaryPrefix:f.boundaryPrefix,idPrefix:f.idPrefix,nextSuspenseID:f.nextSuspenseID,sentCompleteSegmentFunction:f.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:f.sentCompleteBoundaryFunction,sentClientRenderFunction:f.sentClientRenderFunction,generateStaticMarkup:n}}function ks(){return{insertionMode:Dt,selectedValue:null}}function Ra(n,a,f,h){return f.generateStaticMarkup?(n.push(Le(a)),!1):fr(n,a,f,h)}function Pa(n,a,f,h){if(!a.generateStaticMarkup)return dr(n,a,f,h)}function Ts(n,a){return a.generateStaticMarkup?!0:$n(n)}function Lt(n,a,f,h,k){return a.generateStaticMarkup?!0:Hr(n,a,f,h,k)}function ql(n,a){return a.generateStaticMarkup?!0:di(n)}function Aa(n,a){return a.generateStaticMarkup?!0:hi(n)}var Tt=Object.assign,Ia=Symbol.for("react.element"),Cs=Symbol.for("react.portal"),ki=Symbol.for("react.fragment"),Ti=Symbol.for("react.strict_mode"),Ci=Symbol.for("react.profiler"),Ao=Symbol.for("react.provider"),Io=Symbol.for("react.context"),Mo=Symbol.for("react.forward_ref"),Qr=Symbol.for("react.suspense"),Es=Symbol.for("react.suspense_list"),Rs=Symbol.for("react.memo"),Ei=Symbol.for("react.lazy"),eu=Symbol.for("react.scope"),Ma=Symbol.for("react.debug_trace_mode"),tu=Symbol.for("react.legacy_hidden"),nu=Symbol.for("react.default_value"),Da=Symbol.iterator,Oa="@@iterator";function je(n){if(n===null||typeof n!="object")return null;var a=Da&&n[Da]||n[Oa];return typeof a=="function"?a:null}function Do(n,a,f){var h=n.displayName;if(h)return h;var k=a.displayName||a.name||"";return k!==""?f+"("+k+")":f}function Ps(n){return n.displayName||"Context"}function _e(n){if(n==null)return null;if(typeof n.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case ki:return"Fragment";case Cs:return"Portal";case Ci:return"Profiler";case Ti:return"StrictMode";case Qr:return"Suspense";case Es:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Io:var a=n;return Ps(a)+".Consumer";case Ao:var f=n;return Ps(f._context)+".Provider";case Mo:return Do(n,n.render,"ForwardRef");case Rs:var h=n.displayName||null;return h!==null?h:_e(n.type)||"Memo";case Ei:{var k=n,I=k._payload,O=k._init;try{return _e(O(I))}catch{return null}}}return null}var Kr=0,As,Is,Ms,Ds,Os,Fa,_a;function Ri(){}Ri.__reactDisabledLog=!0;function Fs(){{if(Kr===0){As=console.log,Is=console.info,Ms=console.warn,Ds=console.error,Os=console.group,Fa=console.groupCollapsed,_a=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ri,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Kr++}}function Oo(){{if(Kr--,Kr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Tt({},n,{value:As}),info:Tt({},n,{value:Is}),warn:Tt({},n,{value:Ms}),error:Tt({},n,{value:Ds}),group:Tt({},n,{value:Os}),groupCollapsed:Tt({},n,{value:Fa}),groupEnd:Tt({},n,{value:_a})})}Kr<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fo=r.ReactCurrentDispatcher,qr;function _o(n,a,f){{if(qr===void 0)try{throw Error()}catch(k){var h=k.stack.trim().match(/\n( *(at )?)/);qr=h&&h[1]||""}return`
44
- `+qr+n}}var Lo=!1,Pi;{var La=typeof WeakMap=="function"?WeakMap:Map;Pi=new La}function _s(n,a){if(!n||Lo)return"";{var f=Pi.get(n);if(f!==void 0)return f}var h;Lo=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Fo.current,Fo.current=null,Fs();try{if(a){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(zt){h=zt}Reflect.construct(n,[],O)}else{try{O.call()}catch(zt){h=zt}n.call(O.prototype)}}else{try{throw Error()}catch(zt){h=zt}n()}}catch(zt){if(zt&&h&&typeof zt.stack=="string"){for(var U=zt.stack.split(`
35
+ */var Lc;function Uh(){return Lc||(Lc=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];m("warn",n,f)}}function s(n){{for(var a=arguments.length,f=new Array(a>1?a-1:0),h=1;h<a;h++)f[h-1]=arguments[h];m("error",n,f)}}function m(n,a,f){{var h=r.ReactDebugCurrentFrame,w=h.getStackAddendum();w!==""&&(a+="%s",f=f.concat([w]));var I=f.map(function(O){return String(O)});I.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,I)}}function y(n){n()}function S(n){}function p(n,a){x(n,a)}function x(n,a){return n.push(a)}function A(n){}function T(n){n.push(null)}function D(n){return n}function _(n){return n}function $(n,a){n.destroy(a)}function G(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,f=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return f}}function B(n){try{return F(n),!1}catch{return!0}}function F(n){return""+n}function Z(n,a){if(B(n))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,G(n)),F(n)}function X(n,a){if(B(n))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,G(n)),F(n)}function q(n){if(B(n))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",G(n)),F(n)}var te=Object.prototype.hasOwnProperty,ee=0,re=1,le=2,ce=3,ze=4,Ne=5,we=6,He=":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",Ce=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",dt=new RegExp("^["+He+"]["+Ce+"]*$"),Pe={},ot={};function Ze(n){return te.call(ot,n)?!0:te.call(Pe,n)?!1:dt.test(n)?(ot[n]=!0,!0):(Pe[n]=!0,s("Invalid attribute name: `%s`",n),!1)}function je(n,a,f,h){if(f!==null&&f.type===ee)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(h)return!1;if(f!==null)return!f.acceptsBooleans;var w=n.toLowerCase().slice(0,5);return w!=="data-"&&w!=="aria-"}default:return!1}}function Ut(n){return Se.hasOwnProperty(n)?Se[n]:null}function he(n,a,f,h,w,I,O){this.acceptsBooleans=a===le||a===ce||a===ze,this.attributeName=h,this.attributeNamespace=w,this.mustUseProperty=f,this.propertyName=n,this.type=a,this.sanitizeURL=I,this.removeEmptyString=O}var Se={},Nt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Nt.forEach(function(n){Se[n]=new he(n,ee,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var a=n[0],f=n[1];Se[a]=new he(a,re,!1,f,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){Se[n]=new he(n,le,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){Se[n]=new he(n,le,!1,n,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(n){Se[n]=new he(n,ce,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){Se[n]=new he(n,ce,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){Se[n]=new he(n,ze,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){Se[n]=new he(n,we,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){Se[n]=new he(n,Ne,!1,n.toLowerCase(),null,!1,!1)});var mt=/[\-\:]([a-z])/g,Ae=function(n){return n[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var a=n.replace(mt,Ae);Se[a]=new he(a,re,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!1,!1)});var ke="xlinkHref";Se[ke]=new he("xlinkHref",re,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){Se[n]=new he(n,re,!1,n.toLowerCase(),null,!0,!0)});var Rt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ht(n,a){return n+a.charAt(0).toUpperCase()+a.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(n){Ge.forEach(function(a){Rt[Ht(a,n)]=Rt[n]})});var it={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ie(n,a){it[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function yn(n,a){if(n.indexOf("-")===-1)return typeof a.is=="string";switch(n){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 $e={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},qe={},On=new RegExp("^(aria)-["+Ce+"]*$"),bn=new RegExp("^(aria)[A-Z]["+Ce+"]*$");function Mr(n,a){{if(te.call(qe,a)&&qe[a])return!0;if(bn.test(a)){var f="aria-"+a.slice(4).toLowerCase(),h=$e.hasOwnProperty(f)?f:null;if(h==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",a),qe[a]=!0,!0;if(a!==h)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",a,h),qe[a]=!0,!0}if(On.test(a)){var w=a.toLowerCase(),I=$e.hasOwnProperty(w)?w:null;if(I==null)return qe[a]=!0,!1;if(a!==I)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",a,I),qe[a]=!0,!0}}return!0}function gt(n,a){{var f=[];for(var h in a){var w=Mr(n,h);w||f.push(h)}var I=f.map(function(O){return"`"+O+"`"}).join(", ");f.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n):f.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",I,n)}}function xn(n,a){yn(n,a)||gt(n,a)}var Sn=!1;function Dr(n,a){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;a!=null&&a.value===null&&!Sn&&(Sn=!0,n==="select"&&a.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var vt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Je=function(){};{var We={},Qn=/^on./,Kn=/^on[^A-Z]/,qn=new RegExp("^(aria)-["+Ce+"]*$"),Be=new RegExp("^(aria)[A-Z]["+Ce+"]*$");Je=function(n,a,f,h){if(te.call(We,a)&&We[a])return!0;var w=a.toLowerCase();if(w==="onfocusin"||w==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),We[a]=!0,!0;if(h!=null){var I=h.registrationNameDependencies,O=h.possibleRegistrationNames;if(I.hasOwnProperty(a))return!0;var U=O.hasOwnProperty(w)?O[w]:null;if(U!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",a,U),We[a]=!0,!0;if(Qn.test(a))return s("Unknown event handler property `%s`. It will be ignored.",a),We[a]=!0,!0}else if(Qn.test(a))return Kn.test(a)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",a),We[a]=!0,!0;if(qn.test(a)||Be.test(a))return!0;if(w==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),We[a]=!0,!0;if(w==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),We[a]=!0,!0;if(w==="is"&&f!==null&&f!==void 0&&typeof f!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof f),We[a]=!0,!0;if(typeof f=="number"&&isNaN(f))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",a),We[a]=!0,!0;var J=Ut(a),ie=J!==null&&J.type===ee;if(vt.hasOwnProperty(w)){var se=vt[w];if(se!==a)return s("Invalid DOM property `%s`. Did you mean `%s`?",a,se),We[a]=!0,!0}else if(!ie&&a!==w)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",a,w),We[a]=!0,!0;return typeof f=="boolean"&&je(a,f,J,!1)?(f?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',f,a,a,f,a):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',f,a,a,f,a,a,a),We[a]=!0,!0):ie?!0:je(a,f,J,!1)?(We[a]=!0,!1):((f==="false"||f==="true")&&J!==null&&J.type===ce&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",f,a,f==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',a,f),We[a]=!0),!0)}}var er=function(n,a,f){{var h=[];for(var w in a){var I=Je(n,w,a[w],f);I||h.push(w)}var O=h.map(function(U){return"`"+U+"`"}).join(", ");h.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n):h.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",O,n)}};function Or(n,a,f){yn(n,a)||er(n,a,f)}var Fr=function(){};{var tr=/^(?:webkit|moz|o)[A-Z]/,Fn=/^-ms-/,po=/-(.)/g,nr=/;\s*$/,qt={},rr={},Lr=!1,at=!1,Pt=function(n){return n.replace(po,function(a,f){return f.toUpperCase()})},en=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported style property %s. Did you mean %s?",n,Pt(n.replace(Fn,"ms-"))))},xe=function(n){qt.hasOwnProperty(n)&&qt[n]||(qt[n]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},tn=function(n,a){rr.hasOwnProperty(a)&&rr[a]||(rr[a]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,a.replace(nr,"")))},Ln=function(n,a){Lr||(Lr=!0,s("`NaN` is an invalid value for the `%s` css style property.",n))},wn=function(n,a){at||(at=!0,s("`Infinity` is an invalid value for the `%s` css style property.",n))};Fr=function(n,a){n.indexOf("-")>-1?en(n):tr.test(n)?xe(n):nr.test(a)&&tn(n,a),typeof a=="number"&&(isNaN(a)?Ln(n,a):isFinite(a)||wn(n,a))}}var At=Fr,_n=/["'&<>]/;function $t(n){q(n);var a=""+n,f=_n.exec(a);if(!f)return a;var h,w="",I,O=0;for(I=f.index;I<a.length;I++){switch(a.charCodeAt(I)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#x27;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}O!==I&&(w+=a.substring(O,I)),O=I+1,w+=h}return O!==I?w+a.substring(O,I):w}function Fe(n){return typeof n=="boolean"||typeof n=="number"?""+n:$t(n)}var or=/([A-Z])/g,ir=/^ms-/;function _r(n){return n.replace(or,"-$1").toLowerCase().replace(ir,"-ms-")}var Ve=/^[\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,ar=!1;function mo(n){!ar&&Ve.test(n)&&(ar=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var go=Array.isArray;function It(n){return go(n)}var sr="<script>",jn="<\/script>",lr='<script src="',kn='<script type="module" src="',nn='" async=""><\/script>';function vo(n){return q(n),(""+n).replace(ur,Bn)}var ur=/(<\/|<)(s)(cript)/gi,Bn=function(n,a,f,h){return""+a+(f==="s"?"\\u0073":"\\u0053")+h};function rn(n,a,f,h,w){var I=n===void 0?"":n,O=a===void 0?sr:'<script nonce="'+Fe(a)+'">',U=[];if(f!==void 0&&U.push(O,vo(f),jn),h!==void 0)for(var J=0;J<h.length;J++)U.push(lr,Fe(h[J]),nn);if(w!==void 0)for(var ie=0;ie<w.length;ie++)U.push(kn,Fe(w[ie]),nn);return{bootstrapChunks:U,startInlineScript:O,placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Yt=0,Mt=1,Tn=2,Cn=3,ht=4,De=5,Dt=6,yt=7;function Xe(n,a){return{insertionMode:n,selectedValue:a}}function Vn(n,a,f){switch(a){case"select":return Xe(Mt,f.value!=null?f.value:f.defaultValue);case"svg":return Xe(Tn,null);case"math":return Xe(Cn,null);case"foreignObject":return Xe(Mt,null);case"table":return Xe(ht,null);case"thead":case"tbody":case"tfoot":return Xe(De,null);case"colgroup":return Xe(yt,null);case"tr":return Xe(Dt,null)}return n.insertionMode>=ht||n.insertionMode===Yt?Xe(Mt,null):n}var Ot=null;function Ft(n){var a=n.nextSuspenseID++;return n.boundaryPrefix+a.toString(16)}function st(n,a,f){var h=n.idPrefix,w=":"+h+"R"+a;return f>0&&(w+="H"+f.toString(32)),w+":"}function Gt(n){return Fe(n)}var on="<!-- -->";function cr(n,a,f,h){return a===""?h:(h&&n.push(on),n.push(Gt(a)),!0)}function fr(n,a,f,h){f&&h&&n.push(on)}var zn=new Map;function an(n){var a=zn.get(n);if(a!==void 0)return a;var f=Fe(_r(n));return zn.set(n,f),f}var dr=' style="',Wn=":",Un=";";function u(n,a,f){if(typeof f!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var h=!0;for(var w in f)if(te.call(f,w)){var I=f[w];if(!(I==null||typeof I=="boolean"||I==="")){var O=void 0,U=void 0,J=w.indexOf("--")===0;J?(O=Fe(w),X(I,w),U=Fe((""+I).trim())):(At(w,I),O=an(w),typeof I=="number"?I!==0&&!te.call(Rt,w)?U=I+"px":U=""+I:(X(I,w),U=Fe((""+I).trim()))),h?(h=!1,n.push(dr,O,Wn,U)):n.push(Un,O,Wn,U)}}h||n.push(R)}var g=" ",C='="',R='"',z='=""';function j(n,a,f,h){switch(f){case"style":{u(n,a,h);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(f.length>2&&(f[0]==="o"||f[0]==="O")&&(f[1]==="n"||f[1]==="N"))){var w=Ut(f);if(w!==null){switch(typeof h){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}var I=w.attributeName,O=I;switch(w.type){case ce:h&&n.push(g,O,z);return;case ze:h===!0?n.push(g,O,z):h===!1||n.push(g,O,C,Fe(h),R);return;case Ne:isNaN(h)||n.push(g,O,C,Fe(h),R);break;case we:!isNaN(h)&&h>=1&&n.push(g,O,C,Fe(h),R);break;default:w.sanitizeURL&&(Z(h,I),h=""+h,mo(h)),n.push(g,O,C,Fe(h),R)}}else if(Ze(f)){switch(typeof h){case"function":case"symbol":return;case"boolean":{var U=f.toLowerCase().slice(0,5);if(U!=="data-"&&U!=="aria-")return}}n.push(g,f,C,Fe(h),R)}}}var H=">",Q="/>";function ae(n,a,f){if(a!=null){if(f!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof a!="object"||!("__html"in a))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var h=a.__html;h!=null&&(q(h),n.push(""+h))}}var fe=!1,ue=!1,ye=!1,lt=!1,et=!1,tt=!1,Xt=!1;function bt(n,a){{var f=n[a];if(f!=null){var h=It(f);n.multiple&&!h?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",a):!n.multiple&&h&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",a)}}}function Nn(n,a,f){Ie("select",a),bt(a,"value"),bt(a,"defaultValue"),a.value!==void 0&&a.defaultValue!==void 0&&!ye&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ye=!0),n.push(ut("select"));var h=null,w=null;for(var I in a)if(te.call(a,I)){var O=a[I];if(O==null)continue;switch(I){case"children":h=O;break;case"dangerouslySetInnerHTML":w=O;break;case"defaultValue":case"value":break;default:j(n,f,I,O);break}}return n.push(H),ae(n,w,h),h}function sn(n){var a="";return e.Children.forEach(n,function(f){f!=null&&(a+=f,!et&&typeof f!="string"&&typeof f!="number"&&(et=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),a}var En=' selected=""';function Zt(n,a,f,h){var w=h.selectedValue;n.push(ut("option"));var I=null,O=null,U=null,J=null;for(var ie in a)if(te.call(a,ie)){var se=a[ie];if(se==null)continue;switch(ie){case"children":I=se;break;case"selected":U=se,Xt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Xt=!0);break;case"dangerouslySetInnerHTML":J=se;break;case"value":O=se;default:j(n,f,ie,se);break}}if(w!=null){var me;if(O!==null?(Z(O,"value"),me=""+O):(J!==null&&(tt||(tt=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),me=sn(I)),It(w))for(var Me=0;Me<w.length;Me++){Z(w[Me],"value");var rt=""+w[Me];if(rt===me){n.push(En);break}}else Z(w,"select.value"),""+w===me&&n.push(En)}else U&&n.push(En);return n.push(H),ae(n,J,I),I}function hr(n,a,f){Ie("input",a),a.checked!==void 0&&a.defaultChecked!==void 0&&!ue&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),ue=!0),a.value!==void 0&&a.defaultValue!==void 0&&!fe&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",a.type),fe=!0),n.push(ut("input"));var h=null,w=null,I=null,O=null;for(var U in a)if(te.call(a,U)){var J=a[U];if(J==null)continue;switch(U){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":O=J;break;case"defaultValue":w=J;break;case"checked":I=J;break;case"value":h=J;break;default:j(n,f,U,J);break}}return I!==null?j(n,f,"checked",I):O!==null&&j(n,f,"checked",O),h!==null?j(n,f,"value",h):w!==null&&j(n,f,"value",w),n.push(Q),null}function da(n,a,f){Ie("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!lt&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),lt=!0),n.push(ut("textarea"));var h=null,w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":I=U;break;case"value":h=U;break;case"defaultValue":w=U;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:j(n,f,O,U);break}}if(h===null&&w!==null&&(h=w),n.push(H),I!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),h!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(It(I)){if(I.length>1)throw new Error("<textarea> can only have at most one child.");q(I[0]),h=""+I[0]}q(I),h=""+I}return typeof h=="string"&&h[0]===`
36
+ `&&n.push(pr),h!==null&&(Z(h,"value"),n.push(Gt(""+h))),null}function ha(n,a,f,h){n.push(ut(f));for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){case"children":case"dangerouslySetInnerHTML":throw new Error(f+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:j(n,h,w,I);break}}return n.push(Q),null}function yo(n,a,f){n.push(ut("menuitem"));for(var h in a)if(te.call(a,h)){var w=a[h];if(w==null)continue;switch(h){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:j(n,f,h,w);break}}return n.push(H),null}function pa(n,a,f){n.push(ut("title"));var h=null;for(var w in a)if(te.call(a,w)){var I=a[w];if(I==null)continue;switch(w){case"children":h=I;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:j(n,f,w,I);break}}n.push(H);{var O=Array.isArray(h)&&h.length<2?h[0]||null:h;Array.isArray(h)&&h.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&O.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):O!=null&&typeof O!="string"&&typeof O!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return h}function bo(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}return n.push(H),ae(n,I,w),typeof w=="string"?(n.push(Gt(w)),null):w}function Jt(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;case"style":u(n,h,U);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ze(O)&&typeof U!="function"&&typeof U!="symbol"&&n.push(g,O,C,Fe(U),R);break}}return n.push(H),ae(n,I,w),w}var pr=`
37
+ `;function jr(n,a,f,h){n.push(ut(f));var w=null,I=null;for(var O in a)if(te.call(a,O)){var U=a[O];if(U==null)continue;switch(O){case"children":w=U;break;case"dangerouslySetInnerHTML":I=U;break;default:j(n,h,O,U);break}}if(n.push(H),I!=null){if(w!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof I!="object"||!("__html"in I))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var J=I.__html;J!=null&&(typeof J=="string"&&J.length>0&&J[0]===`
38
+ `?n.push(pr,J):(q(J),n.push(""+J)))}return typeof w=="string"&&w[0]===`
39
+ `&&n.push(pr),w}var Ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ln=new Map;function ut(n){var a=ln.get(n);if(a===void 0){if(!Ee.test(n))throw new Error("Invalid tag: "+n);a="<"+n,ln.set(n,a)}return a}var Rn="<!DOCTYPE html>";function un(n,a,f,h,w){switch(xn(a,f),Dr(a,f),Or(a,f,null),!f.suppressContentEditableWarning&&f.contentEditable&&f.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),w.insertionMode!==Tn&&w.insertionMode!==Cn&&a.indexOf("-")===-1&&typeof f.is!="string"&&a.toLowerCase()!==a&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),a){case"select":return Nn(n,f,h);case"option":return Zt(n,f,h,w);case"textarea":return da(n,f,h);case"input":return hr(n,f,h);case"menuitem":return yo(n,f,h);case"title":return pa(n,f,h);case"listing":case"pre":return jr(n,f,a,h);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return ha(n,f,a,h);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 bo(n,f,a,h);case"html":return w.insertionMode===Yt&&n.push(Rn),bo(n,f,a,h);default:return a.indexOf("-")===-1&&typeof f.is!="string"?bo(n,f,a,h):Jt(n,f,a,h)}}var Br="</",cn=">";function xt(n,a,f){switch(a){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(Br,a,cn)}}function xo(n,a){for(var f=a.bootstrapChunks,h=0;h<f.length-1;h++)p(n,f[h]);return h<f.length?x(n,f[h]):!0}var So='<template id="',si='"></template>';function li(n,a,f){p(n,So),p(n,a.placeholderPrefix);var h=f.toString(16);return p(n,h),x(n,si)}var ui="<!--$-->",ma='<!--$?--><template id="',ga='"></template>',Vr="<!--$!-->",zr="<!--/$-->",Wr="<template",mr='"',va=' data-dgst="',gr=' data-msg="',wo=' data-stck="',ko="></template>";function Hn(n,a){return x(n,ui)}function $n(n,a,f){if(p(n,ma),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),x(n,ga)}function Ur(n,a,f,h,w){var I;return I=x(n,Vr),p(n,Wr),f&&(p(n,va),p(n,Fe(f)),p(n,mr)),h&&(p(n,gr),p(n,Fe(h)),p(n,mr)),w&&(p(n,wo),p(n,Fe(w)),p(n,mr)),I=x(n,ko),I}function ci(n,a){return x(n,zr)}function To(n,a){return x(n,zr)}function fi(n,a){return x(n,zr)}var Nr='<div hidden id="',ct='">',di="</div>",Hr='<svg aria-hidden="true" style="display:none" id="',ya='">',hi="</svg>",$r='<math aria-hidden="true" style="display:none" id="',pi='">',mi="</math>",Yr='<table hidden id="',Gr='">',gi="</table>",vi='<table hidden><tbody id="',yi='">',Co="</tbody></table>",bi='<table hidden><tr id="',c='">',v="</tr></table>",k='<table hidden><colgroup id="',P='">',W="</colgroup></table>";function V(n,a,f,h){switch(f.insertionMode){case Yt:case Mt:return p(n,Nr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ct);case Tn:return p(n,Hr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,ya);case Cn:return p(n,$r),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,pi);case ht:return p(n,Yr),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,Gr);case De:return p(n,vi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,yi);case Dt:return p(n,bi),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,c);case yt:return p(n,k),p(n,a.segmentPrefix),p(n,h.toString(16)),x(n,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Y(n,a){switch(a.insertionMode){case Yt:case Mt:return x(n,di);case Tn:return x(n,hi);case Cn:return x(n,mi);case ht:return x(n,gi);case De:return x(n,Co);case Dt:return x(n,v);case yt:return x(n,W);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var K="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",de='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ve='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ge=K+';$RS("',Re='$RS("',ft='","',St='")<\/script>';function wt(n,a,f){p(n,a.startInlineScript),a.sentCompleteSegmentFunction?p(n,Re):(a.sentCompleteSegmentFunction=!0,p(n,ge)),p(n,a.segmentPrefix);var h=f.toString(16);return p(n,h),p(n,ft),p(n,a.placeholderPrefix),p(n,h),x(n,St)}var Xr=de+';$RC("',xi='$RC("',Eo='","',Wl='")<\/script>';function Ul(n,a,f,h){if(p(n,a.startInlineScript),a.sentCompleteBoundaryFunction?p(n,xi):(a.sentCompleteBoundaryFunction=!0,p(n,Xr)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var w=h.toString(16);return p(n,f),p(n,Eo),p(n,a.segmentPrefix),p(n,w),x(n,Wl)}var Nl=ve+';$RX("',Hl='$RX("',$l='"',Yl=")<\/script>",ba=",";function Gl(n,a,f,h,w,I){if(p(n,a.startInlineScript),a.sentClientRenderFunction?p(n,Hl):(a.sentClientRenderFunction=!0,p(n,Nl)),f===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return p(n,f),p(n,$l),(h||w||I)&&(p(n,ba),p(n,xa(h||""))),(w||I)&&(p(n,ba),p(n,xa(w||""))),I&&(p(n,ba),p(n,xa(I))),x(n,Yl)}var Xl=/[<\u2028\u2029]/g;function xa(n){var a=JSON.stringify(n);return a.replace(Xl,function(f){switch(f){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Zl(n,a){var f=rn(a,void 0);return{bootstrapChunks:f.bootstrapChunks,startInlineScript:f.startInlineScript,placeholderPrefix:f.placeholderPrefix,segmentPrefix:f.segmentPrefix,boundaryPrefix:f.boundaryPrefix,idPrefix:f.idPrefix,nextSuspenseID:f.nextSuspenseID,sentCompleteSegmentFunction:f.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:f.sentCompleteBoundaryFunction,sentClientRenderFunction:f.sentClientRenderFunction,generateStaticMarkup:n}}function Sa(){return{insertionMode:Mt,selectedValue:null}}function Cs(n,a,f,h){return f.generateStaticMarkup?(n.push(Fe(a)),!1):cr(n,a,f,h)}function Es(n,a,f,h){if(!a.generateStaticMarkup)return fr(n,a,f,h)}function wa(n,a){return a.generateStaticMarkup?!0:Hn(n)}function Lt(n,a,f,h,w){return a.generateStaticMarkup?!0:Ur(n,a,f,h,w)}function Jl(n,a){return a.generateStaticMarkup?!0:ci(n)}function Rs(n,a){return a.generateStaticMarkup?!0:fi(n)}var kt=Object.assign,Ps=Symbol.for("react.element"),ka=Symbol.for("react.portal"),Si=Symbol.for("react.fragment"),wi=Symbol.for("react.strict_mode"),ki=Symbol.for("react.profiler"),Ro=Symbol.for("react.provider"),Po=Symbol.for("react.context"),Ao=Symbol.for("react.forward_ref"),Zr=Symbol.for("react.suspense"),Ta=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),Ti=Symbol.for("react.lazy"),Ql=Symbol.for("react.scope"),As=Symbol.for("react.debug_trace_mode"),Kl=Symbol.for("react.legacy_hidden"),ql=Symbol.for("react.default_value"),Is=Symbol.iterator,Ms="@@iterator";function Le(n){if(n===null||typeof n!="object")return null;var a=Is&&n[Is]||n[Ms];return typeof a=="function"?a:null}function Io(n,a,f){var h=n.displayName;if(h)return h;var w=a.displayName||a.name||"";return w!==""?f+"("+w+")":f}function Ea(n){return n.displayName||"Context"}function Oe(n){if(n==null)return null;if(typeof n.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Si:return"Fragment";case ka:return"Portal";case ki:return"Profiler";case wi:return"StrictMode";case Zr:return"Suspense";case Ta:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Po:var a=n;return Ea(a)+".Consumer";case Ro:var f=n;return Ea(f._context)+".Provider";case Ao:return Io(n,n.render,"ForwardRef");case Ca:var h=n.displayName||null;return h!==null?h:Oe(n.type)||"Memo";case Ti:{var w=n,I=w._payload,O=w._init;try{return Oe(O(I))}catch{return null}}}return null}var Jr=0,Ra,Pa,Aa,Ia,Ma,Ds,Os;function Ci(){}Ci.__reactDisabledLog=!0;function Da(){{if(Jr===0){Ra=console.log,Pa=console.info,Aa=console.warn,Ia=console.error,Ma=console.group,Ds=console.groupCollapsed,Os=console.groupEnd;var n={configurable:!0,enumerable:!0,value:Ci,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}Jr++}}function Mo(){{if(Jr--,Jr===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:kt({},n,{value:Ra}),info:kt({},n,{value:Pa}),warn:kt({},n,{value:Aa}),error:kt({},n,{value:Ia}),group:kt({},n,{value:Ma}),groupCollapsed:kt({},n,{value:Ds}),groupEnd:kt({},n,{value:Os})})}Jr<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Do=r.ReactCurrentDispatcher,Qr;function Oo(n,a,f){{if(Qr===void 0)try{throw Error()}catch(w){var h=w.stack.trim().match(/\n( *(at )?)/);Qr=h&&h[1]||""}return`
40
+ `+Qr+n}}var Fo=!1,Ei;{var Fs=typeof WeakMap=="function"?WeakMap:Map;Ei=new Fs}function Oa(n,a){if(!n||Fo)return"";{var f=Ei.get(n);if(f!==void 0)return f}var h;Fo=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var I;I=Do.current,Do.current=null,Da();try{if(a){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(Vt){h=Vt}Reflect.construct(n,[],O)}else{try{O.call()}catch(Vt){h=Vt}n.call(O.prototype)}}else{try{throw Error()}catch(Vt){h=Vt}n()}}catch(Vt){if(Vt&&h&&typeof Vt.stack=="string"){for(var U=Vt.stack.split(`
45
41
  `),J=h.stack.split(`
46
- `),ie=U.length-1,ae=J.length-1;ie>=1&&ae>=0&&U[ie]!==J[ae];)ae--;for(;ie>=1&&ae>=0;ie--,ae--)if(U[ie]!==J[ae]){if(ie!==1||ae!==1)do if(ie--,ae--,ae<0||U[ie]!==J[ae]){var ge=`
47
- `+U[ie].replace(" at new "," at ");return n.displayName&&ge.includes("<anonymous>")&&(ge=ge.replace("<anonymous>",n.displayName)),typeof n=="function"&&Pi.set(n,ge),ge}while(ie>=1&&ae>=0);break}}}finally{Lo=!1,Fo.current=I,Oo(),Error.prepareStackTrace=k}var Oe=n?n.displayName||n.name:"",ot=Oe?_o(Oe):"";return typeof n=="function"&&Pi.set(n,ot),ot}function Ls(n,a,f){return _s(n,!0)}function js(n,a,f){return _s(n,!1)}function ja(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function eo(n,a,f){if(n==null)return"";if(typeof n=="function")return _s(n,ja(n));if(typeof n=="string")return _o(n);switch(n){case Qr:return _o("Suspense");case Es:return _o("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Mo:return js(n.render);case Rs:return eo(n.type,a,f);case Ei:{var h=n,k=h._payload,I=h._init;try{return eo(I(k),a,f)}catch{}}}return""}var Bs={},Ai=r.ReactDebugCurrentFrame;function yr(n){if(n){var a=n._owner,f=eo(n.type,n._source,a?a.type:null);Ai.setExtraStackFrame(f)}else Ai.setExtraStackFrame(null)}function Vs(n,a,f,h,k){{var I=Function.call.bind(ne);for(var O in n)if(I(n,O)){var U=void 0;try{if(typeof n[O]!="function"){var J=Error((h||"React class")+": "+f+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw J.name="Invariant Violation",J}U=n[O](a,O,h,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){U=ie}U&&!(U instanceof Error)&&(yr(k),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",f,O,typeof U),yr(null)),U instanceof Error&&!(U.message in Bs)&&(Bs[U.message]=!0,yr(k),s("Failed %s type: %s",f,U.message),yr(null))}}}var zs;zs={};var Gn={};Object.freeze(Gn);function Ba(n,a){{var f=n.contextTypes;if(!f)return Gn;var h={};for(var k in f)h[k]=a[k];{var I=_e(n)||"Unknown";Vs(f,h,"context",I)}return h}}function br(n,a,f,h){{if(typeof n.getChildContext!="function"){{var k=_e(a)||"Unknown";zs[k]||(zs[k]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",k,k))}return f}var I=n.getChildContext();for(var O in I)if(!(O in h))throw new Error((_e(a)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var U=_e(a)||"Unknown";Vs(h,I,"child context",U)}return Tt({},f,I)}}var xr;xr={};var Ws=null,hn=null;function Ii(n){n.context._currentValue2=n.parentValue}function Mi(n){n.context._currentValue2=n.value}function jo(n,a){if(n!==a){Ii(n);var f=n.parent,h=a.parent;if(f===null){if(h!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");jo(f,h)}Mi(a)}}function Us(n){Ii(n);var a=n.parent;a!==null&&Us(a)}function Bo(n){var a=n.parent;a!==null&&Bo(a),Mi(n)}function Va(n,a){Ii(n);var f=n.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===a.depth?jo(f,a):Va(f,a)}function za(n,a){var f=a.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===f.depth?jo(n,f):za(n,f),Mi(a)}function Di(n){var a=hn,f=n;a!==f&&(a===null?Bo(f):f===null?Us(a):a.depth===f.depth?jo(a,f):a.depth>f.depth?Va(a,f):za(a,f),hn=f)}function Vo(n,a){var f;f=n._currentValue2,n._currentValue2=a,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr;var h=hn,k={parent:h,depth:h===null?0:h.depth+1,context:n,parentValue:f,value:a};return hn=k,k}function Ns(n){var a=hn;if(a===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");a.context!==n&&s("The parent context is not the expected context. This is probably a bug in React.");{var f=a.parentValue;f===nu?a.context._currentValue2=a.context._defaultValue:a.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==xr&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=xr}return hn=a.parent}function ru(){return hn}function to(n){var a=n._currentValue2;return a}function Oi(n){return n._reactInternals}function Hs(n,a){n._reactInternals=a}var Fi={},_i={},zo,Li,no,Wo,ji,ro,Bi,Vi,zi;{zo=new Set,Li=new Set,no=new Set,Bi=new Set,Wo=new Set,Vi=new Set,zi=new Set;var Wa=new Set;ro=function(n,a){if(!(n===null||typeof n=="function")){var f=a+"_"+n;Wa.has(f)||(Wa.add(f),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,n))}},ji=function(n,a){if(a===void 0){var f=_e(n)||"Component";Wo.has(f)||(Wo.add(f),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function Ua(n,a){{var f=n.constructor,h=f&&_e(f)||"ReactClass",k=h+"."+a;if(Fi[k])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
42
+ `),ie=U.length-1,se=J.length-1;ie>=1&&se>=0&&U[ie]!==J[se];)se--;for(;ie>=1&&se>=0;ie--,se--)if(U[ie]!==J[se]){if(ie!==1||se!==1)do if(ie--,se--,se<0||U[ie]!==J[se]){var me=`
43
+ `+U[ie].replace(" at new "," at ");return n.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",n.displayName)),typeof n=="function"&&Ei.set(n,me),me}while(ie>=1&&se>=0);break}}}finally{Fo=!1,Do.current=I,Mo(),Error.prepareStackTrace=w}var Me=n?n.displayName||n.name:"",rt=Me?Oo(Me):"";return typeof n=="function"&&Ei.set(n,rt),rt}function Fa(n,a,f){return Oa(n,!0)}function La(n,a,f){return Oa(n,!1)}function Ls(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function Kr(n,a,f){if(n==null)return"";if(typeof n=="function")return Oa(n,Ls(n));if(typeof n=="string")return Oo(n);switch(n){case Zr:return Oo("Suspense");case Ta:return Oo("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ao:return La(n.render);case Ca:return Kr(n.type,a,f);case Ti:{var h=n,w=h._payload,I=h._init;try{return Kr(I(w),a,f)}catch{}}}return""}var _a={},Ri=r.ReactDebugCurrentFrame;function vr(n){if(n){var a=n._owner,f=Kr(n.type,n._source,a?a.type:null);Ri.setExtraStackFrame(f)}else Ri.setExtraStackFrame(null)}function ja(n,a,f,h,w){{var I=Function.call.bind(te);for(var O in n)if(I(n,O)){var U=void 0;try{if(typeof n[O]!="function"){var J=Error((h||"React class")+": "+f+" type `"+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[O]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw J.name="Invariant Violation",J}U=n[O](a,O,h,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ie){U=ie}U&&!(U instanceof Error)&&(vr(w),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",f,O,typeof U),vr(null)),U instanceof Error&&!(U.message in _a)&&(_a[U.message]=!0,vr(w),s("Failed %s type: %s",f,U.message),vr(null))}}}var Ba;Ba={};var Yn={};Object.freeze(Yn);function _s(n,a){{var f=n.contextTypes;if(!f)return Yn;var h={};for(var w in f)h[w]=a[w];{var I=Oe(n)||"Unknown";ja(f,h,"context",I)}return h}}function yr(n,a,f,h){{if(typeof n.getChildContext!="function"){{var w=Oe(a)||"Unknown";Ba[w]||(Ba[w]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",w,w))}return f}var I=n.getChildContext();for(var O in I)if(!(O in h))throw new Error((Oe(a)||"Unknown")+'.getChildContext(): key "'+O+'" is not defined in childContextTypes.');{var U=Oe(a)||"Unknown";ja(h,I,"child context",U)}return kt({},f,I)}}var br;br={};var Va=null,fn=null;function Pi(n){n.context._currentValue2=n.parentValue}function Ai(n){n.context._currentValue2=n.value}function Lo(n,a){if(n!==a){Pi(n);var f=n.parent,h=a.parent;if(f===null){if(h!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(h===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Lo(f,h)}Ai(a)}}function za(n){Pi(n);var a=n.parent;a!==null&&za(a)}function _o(n){var a=n.parent;a!==null&&_o(a),Ai(n)}function js(n,a){Pi(n);var f=n.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");f.depth===a.depth?Lo(f,a):js(f,a)}function Bs(n,a){var f=a.parent;if(f===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===f.depth?Lo(n,f):Bs(n,f),Ai(a)}function Ii(n){var a=fn,f=n;a!==f&&(a===null?_o(f):f===null?za(a):a.depth===f.depth?Lo(a,f):a.depth>f.depth?js(a,f):Bs(a,f),fn=f)}function jo(n,a){var f;f=n._currentValue2,n._currentValue2=a,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br;var h=fn,w={parent:h,depth:h===null?0:h.depth+1,context:n,parentValue:f,value:a};return fn=w,w}function Wa(n){var a=fn;if(a===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");a.context!==n&&s("The parent context is not the expected context. This is probably a bug in React.");{var f=a.parentValue;f===ql?a.context._currentValue2=a.context._defaultValue:a.context._currentValue2=f,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==br&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=br}return fn=a.parent}function eu(){return fn}function qr(n){var a=n._currentValue2;return a}function Mi(n){return n._reactInternals}function Ua(n,a){n._reactInternals=a}var Di={},Oi={},Bo,Fi,eo,Vo,Li,to,_i,ji,Bi;{Bo=new Set,Fi=new Set,eo=new Set,_i=new Set,Vo=new Set,ji=new Set,Bi=new Set;var Vs=new Set;to=function(n,a){if(!(n===null||typeof n=="function")){var f=a+"_"+n;Vs.has(f)||(Vs.add(f),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,n))}},Li=function(n,a){if(a===void 0){var f=Oe(n)||"Component";Vo.has(f)||(Vo.add(f),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",f))}}}function zs(n,a){{var f=n.constructor,h=f&&Oe(f)||"ReactClass",w=h+"."+a;if(Di[w])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
48
44
 
49
- Please check the code for the %s component.`,a,a,h),Fi[k]=!0}}var Na={isMounted:function(n){return!1},enqueueSetState:function(n,a,f){var h=Oi(n);h.queue===null?Ua(n,"setState"):(h.queue.push(a),f!=null&&ro(f,"setState"))},enqueueReplaceState:function(n,a,f){var h=Oi(n);h.replace=!0,h.queue=[a],f!=null&&ro(f,"setState")},enqueueForceUpdate:function(n,a){var f=Oi(n);f.queue===null?Ua(n,"forceUpdate"):a!=null&&ro(a,"setState")}};function ou(n,a,f,h,k){var I=f(k,h);ji(a,I);var O=I==null?h:Tt({},h,I);return O}function iu(n,a,f){var h=Gn,k=n.contextType;if("contextType"in n){var I=k===null||k!==void 0&&k.$$typeof===Io&&k._context===void 0;if(!I&&!zi.has(n)){zi.add(n);var O="";k===void 0?O=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof k!="object"?O=" However, it is set to a "+typeof k+".":k.$$typeof===Ao?O=" Did you accidentally pass the Context.Provider instead?":k._context!==void 0?O=" Did you accidentally pass the Context.Consumer instead?":O=" However, it is set to an object with keys {"+Object.keys(k).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",_e(n)||"Component",O)}}typeof k=="object"&&k!==null?h=to(k):h=f;var U=new n(a,h);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var J=_e(n)||"Component";zo.has(J)||(zo.add(J),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,U.state===null?"null":"undefined",J))}if(typeof n.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var ie=null,ae=null,ge=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?ie="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(ie="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ae="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(ae="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?ge="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(ge="UNSAFE_componentWillUpdate"),ie!==null||ae!==null||ge!==null){var Oe=_e(n)||"Component",ot=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";no.has(Oe)||(no.add(Oe),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
45
+ Please check the code for the %s component.`,a,a,h),Di[w]=!0}}var Ws={isMounted:function(n){return!1},enqueueSetState:function(n,a,f){var h=Mi(n);h.queue===null?zs(n,"setState"):(h.queue.push(a),f!=null&&to(f,"setState"))},enqueueReplaceState:function(n,a,f){var h=Mi(n);h.replace=!0,h.queue=[a],f!=null&&to(f,"setState")},enqueueForceUpdate:function(n,a){var f=Mi(n);f.queue===null?zs(n,"forceUpdate"):a!=null&&to(a,"setState")}};function tu(n,a,f,h,w){var I=f(w,h);Li(a,I);var O=I==null?h:kt({},h,I);return O}function nu(n,a,f){var h=Yn,w=n.contextType;if("contextType"in n){var I=w===null||w!==void 0&&w.$$typeof===Po&&w._context===void 0;if(!I&&!Bi.has(n)){Bi.add(n);var O="";w===void 0?O=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?O=" However, it is set to a "+typeof w+".":w.$$typeof===Ro?O=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?O=" Did you accidentally pass the Context.Consumer instead?":O=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(n)||"Component",O)}}typeof w=="object"&&w!==null?h=qr(w):h=f;var U=new n(a,h);{if(typeof n.getDerivedStateFromProps=="function"&&(U.state===null||U.state===void 0)){var J=Oe(n)||"Component";Bo.has(J)||(Bo.add(J),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",J,U.state===null?"null":"undefined",J))}if(typeof n.getDerivedStateFromProps=="function"||typeof U.getSnapshotBeforeUpdate=="function"){var ie=null,se=null,me=null;if(typeof U.componentWillMount=="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0?ie="componentWillMount":typeof U.UNSAFE_componentWillMount=="function"&&(ie="UNSAFE_componentWillMount"),typeof U.componentWillReceiveProps=="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0?se="componentWillReceiveProps":typeof U.UNSAFE_componentWillReceiveProps=="function"&&(se="UNSAFE_componentWillReceiveProps"),typeof U.componentWillUpdate=="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0?me="componentWillUpdate":typeof U.UNSAFE_componentWillUpdate=="function"&&(me="UNSAFE_componentWillUpdate"),ie!==null||se!==null||me!==null){var Me=Oe(n)||"Component",rt=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";eo.has(Me)||(eo.add(Me),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
50
46
 
51
47
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
52
48
 
53
49
  The above lifecycles should be removed. Learn more about this warning here:
54
- https://reactjs.org/link/unsafe-component-lifecycles`,Oe,ot,ie!==null?`
55
- `+ie:"",ae!==null?`
56
- `+ae:"",ge!==null?`
57
- `+ge:""))}}}return U}function Ha(n,a,f){{var h=_e(a)||"Component",k=n.render;k||(a.prototype&&typeof a.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),n.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),n.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),a.contextType&&a.contextTypes&&!Vi.has(a)&&(Vi.add(a),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof n.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),a.prototype&&a.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",_e(a)||"A pure component"),typeof n.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof n.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof n.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof n.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var I=n.props!==f;n.props!==void 0&&I&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),n.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Li.has(a)&&(Li.add(a),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",_e(a))),typeof n.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof a.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=n.state;O&&(typeof O!="object"||Mt(O))&&s("%s.state: must be set to an object or null",h),typeof n.getChildContext=="function"&&typeof a.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function su(n,a){var f=a.state;if(typeof a.componentWillMount=="function"){if(a.componentWillMount.__suppressDeprecationWarning!==!0){var h=_e(n)||"Unknown";_i[h]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
50
+ https://reactjs.org/link/unsafe-component-lifecycles`,Me,rt,ie!==null?`
51
+ `+ie:"",se!==null?`
52
+ `+se:"",me!==null?`
53
+ `+me:""))}}}return U}function Us(n,a,f){{var h=Oe(a)||"Component",w=n.render;w||(a.prototype&&typeof a.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",h):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",h)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",h),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",h),n.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",h),n.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",h),n.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",h),a.contextType&&a.contextTypes&&!ji.has(a)&&(ji.add(a),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",h)),typeof n.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",h),a.prototype&&a.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Oe(a)||"A pure component"),typeof n.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",h),typeof n.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",h),typeof n.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",h),typeof n.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",h);var I=n.props!==f;n.props!==void 0&&I&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",h,h),n.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",h,h),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Fi.has(a)&&(Fi.add(a),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(a))),typeof n.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof n.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",h),typeof a.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",h);var O=n.state;O&&(typeof O!="object"||It(O))&&s("%s.state: must be set to an object or null",h),typeof n.getChildContext=="function"&&typeof a.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",h)}}function ru(n,a){var f=a.state;if(typeof a.componentWillMount=="function"){if(a.componentWillMount.__suppressDeprecationWarning!==!0){var h=Oe(n)||"Unknown";Oi[h]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
58
54
 
59
55
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
60
56
 
61
- Please update the following components: %s`,h),_i[h]=!0)}a.componentWillMount()}typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),f!==a.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",_e(n)||"Component"),Na.enqueueReplaceState(a,a.state,null))}function au(n,a,f,h){if(n.queue!==null&&n.queue.length>0){var k=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&k.length===1)a.state=k[0];else{for(var O=I?k[0]:a.state,U=!0,J=I?1:0;J<k.length;J++){var ie=k[J],ae=typeof ie=="function"?ie.call(a,O,f,h):ie;ae!=null&&(U?(U=!1,O=Tt({},O,ae)):Tt(O,ae))}a.state=O}}else n.queue=null}function Wi(n,a,f,h){Ha(n,a,f);var k=n.state!==void 0?n.state:null;n.updater=Na,n.props=f,n.state=k;var I={queue:[],replace:!1};Hs(n,I);var O=a.contextType;if(typeof O=="object"&&O!==null?n.context=to(O):n.context=h,n.state===f){var U=_e(a)||"Component";Bi.has(U)||(Bi.add(U),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}var J=a.getDerivedStateFromProps;typeof J=="function"&&(n.state=ou(n,a,J,k,f)),typeof a.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(su(a,n),au(I,n,f,h))}var Ui={id:1,overflow:""};function lu(n){var a=n.overflow,f=n.id,h=f&~uu(f);return h.toString(32)+a}function $s(n,a,f){var h=n.id,k=n.overflow,I=Ni(h)-1,O=h&~(1<<I),U=f+1,J=Ni(a)+I;if(J>30){var ie=I-I%5,ae=(1<<ie)-1,ge=(O&ae).toString(32),Oe=O>>ie,ot=I-ie,zt=Ni(a)+ot,dl=U<<ot,hl=dl|Oe,pl=ge+k;return{id:1<<zt|hl,overflow:pl}}else{var is=U<<I,ep=is|O,tp=k;return{id:1<<J|ep,overflow:tp}}}function Ni(n){return 32-cu(n)}function uu(n){return 1<<Ni(n)-1}var cu=Math.clz32?Math.clz32:An,fu=Math.log,du=Math.LN2;function An(n){var a=n>>>0;return a===0?32:31-(fu(a)/du|0)|0}function Ys(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Hi=typeof Object.is=="function"?Object.is:Ys,Se=null,Sr=null,wr=null,Ee=null,jt=!1,kr=!1,$i=0,rt=null,In=0,Tr=25,pn=!1,Cr;function Mn(){if(Se===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
57
+ Please update the following components: %s`,h),Oi[h]=!0)}a.componentWillMount()}typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),f!==a.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Oe(n)||"Component"),Ws.enqueueReplaceState(a,a.state,null))}function ou(n,a,f,h){if(n.queue!==null&&n.queue.length>0){var w=n.queue,I=n.replace;if(n.queue=null,n.replace=!1,I&&w.length===1)a.state=w[0];else{for(var O=I?w[0]:a.state,U=!0,J=I?1:0;J<w.length;J++){var ie=w[J],se=typeof ie=="function"?ie.call(a,O,f,h):ie;se!=null&&(U?(U=!1,O=kt({},O,se)):kt(O,se))}a.state=O}}else n.queue=null}function Vi(n,a,f,h){Us(n,a,f);var w=n.state!==void 0?n.state:null;n.updater=Ws,n.props=f,n.state=w;var I={queue:[],replace:!1};Ua(n,I);var O=a.contextType;if(typeof O=="object"&&O!==null?n.context=qr(O):n.context=h,n.state===f){var U=Oe(a)||"Component";_i.has(U)||(_i.add(U),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",U))}var J=a.getDerivedStateFromProps;typeof J=="function"&&(n.state=tu(n,a,J,w,f)),typeof a.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(ru(a,n),ou(I,n,f,h))}var zi={id:1,overflow:""};function iu(n){var a=n.overflow,f=n.id,h=f&~au(f);return h.toString(32)+a}function Na(n,a,f){var h=n.id,w=n.overflow,I=Wi(h)-1,O=h&~(1<<I),U=f+1,J=Wi(a)+I;if(J>30){var ie=I-I%5,se=(1<<ie)-1,me=(O&se).toString(32),Me=O>>ie,rt=I-ie,Vt=Wi(a)+rt,cl=U<<rt,fl=cl|Me,dl=me+w;return{id:1<<Vt|fl,overflow:dl}}else{var ra=U<<I,_h=ra|O,jh=w;return{id:1<<J|_h,overflow:jh}}}function Wi(n){return 32-su(n)}function au(n){return 1<<Wi(n)-1}var su=Math.clz32?Math.clz32:Pn,lu=Math.log,uu=Math.LN2;function Pn(n){var a=n>>>0;return a===0?32:31-(lu(a)/uu|0)|0}function Ha(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var Ui=typeof Object.is=="function"?Object.is:Ha,be=null,xr=null,Sr=null,Te=null,_t=!1,wr=!1,Ni=0,nt=null,An=0,kr=25,dn=!1,Tr;function In(){if(be===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
62
58
  1. You might have mismatching versions of React and the renderer (such as React DOM)
63
59
  2. You might be breaking the Rules of Hooks
64
60
  3. You might have more than one copy of React in the same app
65
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return pn&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Se}function hu(n,a){if(a===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Cr),!1;n.length!==a.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
61
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return dn&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),be}function cu(n,a){if(a===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Tr),!1;n.length!==a.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
66
62
 
67
63
  Previous: %s
68
- Incoming: %s`,Cr,"["+n.join(", ")+"]","["+a.join(", ")+"]");for(var f=0;f<a.length&&f<n.length;f++)if(!Hi(n[f],a[f]))return!1;return!0}function $a(){if(In>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Yi(){return Ee===null?wr===null?(jt=!1,wr=Ee=$a()):(jt=!0,Ee=wr):Ee.next===null?(jt=!1,Ee=Ee.next=$a()):(jt=!0,Ee=Ee.next),Ee}function Gs(n,a){Se=a,Sr=n,pn=!1,$i=0}function pu(n,a,f,h){for(;kr;)kr=!1,$i=0,In+=1,Ee=null,f=n(a,h);return Uo(),f}function Ya(){var n=$i!==0;return n}function Uo(){pn=!1,Se=null,Sr=null,kr=!1,wr=null,In=0,rt=null,Ee=null}function mu(n){return pn&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),to(n)}function Ga(n){return Cr="useContext",Mn(),to(n)}function Gi(n,a){return typeof a=="function"?a(n):a}function gu(n){return Cr="useState",Xa(Gi,n)}function Xa(n,a,f){if(n!==Gi&&(Cr="useReducer"),Se=Mn(),Ee=Yi(),jt){var h=Ee.queue,k=h.dispatch;if(rt!==null){var I=rt.get(h);if(I!==void 0){rt.delete(h);var O=Ee.memoizedState,U=I;do{var J=U.action;pn=!0,O=n(O,J),pn=!1,U=U.next}while(U!==null);return Ee.memoizedState=O,[O,k]}}return[Ee.memoizedState,k]}else{pn=!0;var ie;n===Gi?ie=typeof a=="function"?a():a:ie=f!==void 0?f(a):a,pn=!1,Ee.memoizedState=ie;var ae=Ee.queue={last:null,dispatch:null},ge=ae.dispatch=bu.bind(null,Se,ae);return[Ee.memoizedState,ge]}}function Za(n,a){Se=Mn(),Ee=Yi();var f=a===void 0?null:a;if(Ee!==null){var h=Ee.memoizedState;if(h!==null&&f!==null){var k=h[1];if(hu(f,k))return h[0]}}pn=!0;var I=n();return pn=!1,Ee.memoizedState=[I,f],I}function vu(n){Se=Mn(),Ee=Yi();var a=Ee.memoizedState;if(a===null){var f={current:n};return Object.seal(f),Ee.memoizedState=f,f}else return a}function yu(n,a){Cr="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function bu(n,a,f){if(In>=Tr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===Se){kr=!0;var h={action:f,next:null};rt===null&&(rt=new Map);var k=rt.get(a);if(k===void 0)rt.set(a,h);else{for(var I=k;I.next!==null;)I=I.next;I.next=h}}}function xu(n,a){return Za(function(){return n},a)}function Su(n,a,f){return Mn(),a(n._source)}function wu(n,a,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function ku(n){return Mn(),n}function Xi(){throw new Error("startTransition cannot be called during server rendering.")}function Ja(){return Mn(),[!1,Xi]}function Xs(){var n=Sr,a=lu(n.treeContext),f=Ho;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=$i++;return lt(f,a,h)}function No(){}var Qa={readContext:mu,useContext:Ga,useMemo:Za,useReducer:Xa,useRef:vu,useState:gu,useInsertionEffect:No,useLayoutEffect:yu,useCallback:xu,useImperativeHandle:No,useEffect:No,useDebugValue:No,useDeferredValue:ku,useTransition:Ja,useId:Xs,useMutableSource:Su,useSyncExternalStore:wu},Ho=null;function Zi(n){Ho=n}function Zs(n){try{var a="",f=n;do{switch(f.tag){case 0:a+=_o(f.type,null,null);break;case 1:a+=js(f.type,null,null);break;case 2:a+=Ls(f.type,null,null);break}f=f.parent}while(f);return a}catch(h){return`
64
+ Incoming: %s`,Tr,"["+n.join(", ")+"]","["+a.join(", ")+"]");for(var f=0;f<a.length&&f<n.length;f++)if(!Ui(n[f],a[f]))return!1;return!0}function Ns(){if(An>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Hi(){return Te===null?Sr===null?(_t=!1,Sr=Te=Ns()):(_t=!0,Te=Sr):Te.next===null?(_t=!1,Te=Te.next=Ns()):(_t=!0,Te=Te.next),Te}function $a(n,a){be=a,xr=n,dn=!1,Ni=0}function fu(n,a,f,h){for(;wr;)wr=!1,Ni=0,An+=1,Te=null,f=n(a,h);return zo(),f}function Hs(){var n=Ni!==0;return n}function zo(){dn=!1,be=null,xr=null,wr=!1,Sr=null,An=0,nt=null,Te=null}function du(n){return dn&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),qr(n)}function $s(n){return Tr="useContext",In(),qr(n)}function $i(n,a){return typeof a=="function"?a(n):a}function hu(n){return Tr="useState",Ys($i,n)}function Ys(n,a,f){if(n!==$i&&(Tr="useReducer"),be=In(),Te=Hi(),_t){var h=Te.queue,w=h.dispatch;if(nt!==null){var I=nt.get(h);if(I!==void 0){nt.delete(h);var O=Te.memoizedState,U=I;do{var J=U.action;dn=!0,O=n(O,J),dn=!1,U=U.next}while(U!==null);return Te.memoizedState=O,[O,w]}}return[Te.memoizedState,w]}else{dn=!0;var ie;n===$i?ie=typeof a=="function"?a():a:ie=f!==void 0?f(a):a,dn=!1,Te.memoizedState=ie;var se=Te.queue={last:null,dispatch:null},me=se.dispatch=gu.bind(null,be,se);return[Te.memoizedState,me]}}function Gs(n,a){be=In(),Te=Hi();var f=a===void 0?null:a;if(Te!==null){var h=Te.memoizedState;if(h!==null&&f!==null){var w=h[1];if(cu(f,w))return h[0]}}dn=!0;var I=n();return dn=!1,Te.memoizedState=[I,f],I}function pu(n){be=In(),Te=Hi();var a=Te.memoizedState;if(a===null){var f={current:n};return Object.seal(f),Te.memoizedState=f,f}else return a}function mu(n,a){Tr="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function gu(n,a,f){if(An>=kr)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===be){wr=!0;var h={action:f,next:null};nt===null&&(nt=new Map);var w=nt.get(a);if(w===void 0)nt.set(a,h);else{for(var I=w;I.next!==null;)I=I.next;I.next=h}}}function vu(n,a){return Gs(function(){return n},a)}function yu(n,a,f){return In(),a(n._source)}function bu(n,a,f){if(f===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return f()}function xu(n){return In(),n}function Yi(){throw new Error("startTransition cannot be called during server rendering.")}function Xs(){return In(),[!1,Yi]}function Ya(){var n=xr,a=iu(n.treeContext),f=Uo;if(f===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var h=Ni++;return st(f,a,h)}function Wo(){}var Zs={readContext:du,useContext:$s,useMemo:Gs,useReducer:Ys,useRef:pu,useState:hu,useInsertionEffect:Wo,useLayoutEffect:mu,useCallback:vu,useImperativeHandle:Wo,useEffect:Wo,useDebugValue:Wo,useDeferredValue:xu,useTransition:Xs,useId:Ya,useMutableSource:yu,useSyncExternalStore:bu},Uo=null;function Gi(n){Uo=n}function Ga(n){try{var a="",f=n;do{switch(f.tag){case 0:a+=Oo(f.type,null,null);break;case 1:a+=La(f.type,null,null);break;case 2:a+=Fa(f.type,null,null);break}f=f.parent}while(f);return a}catch(h){return`
69
65
  Error generating stack: `+h.message+`
70
- `+h.stack}}var Xn=r.ReactCurrentDispatcher,Ji=r.ReactDebugCurrentFrame,Qi=0,Er=1,Ka=2,Js=3,Rr=4,Tu=0,qa=1,mn=2,Cu=12800;function Eu(n){return console.error(n),null}function $o(){}function Qs(n,a,f,h,k,I,O,U,J){var ie=[],ae=new Set,ge={destination:null,responseState:a,progressiveChunkSize:h===void 0?Cu:h,status:Tu,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ae,pingedTasks:ie,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:k===void 0?Eu:k,onAllReady:I===void 0?$o:I,onShellReady:O===void 0?$o:O,onShellError:U===void 0?$o:U,onFatalError:J===void 0?$o:J},Oe=Zn(ge,0,null,f,!1,!1);Oe.parentFlushed=!0;var ot=Yo(ge,n,null,Oe,ae,Gn,Ws,Ui);return ie.push(ot),ge}function Ki(n,a){var f=n.pingedTasks;f.push(a),f.length===1&&g(function(){return cl(n)})}function Dn(n,a){return{id:Ft,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null}}function Yo(n,a,f,h,k,I,O,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var J={node:a,ping:function(){return Ki(n,J)},blockedBoundary:f,blockedSegment:h,abortSet:k,legacyContext:I,context:O,treeContext:U};return J.componentStack=null,k.add(J),J}function Zn(n,a,f,h,k,I){return{status:Qi,id:-1,index:a,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:f,lastPushedText:k,textEmbedded:I}}var gn=null;function Ks(){return gn===null||gn.componentStack===null?"":Zs(gn.componentStack)}function Bt(n,a){n.componentStack={tag:0,parent:n.componentStack,type:a}}function oo(n,a){n.componentStack={tag:1,parent:n.componentStack,type:a}}function qs(n,a){n.componentStack={tag:2,parent:n.componentStack,type:a}}function Vt(n){n.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Jn=null;function ea(n,a){{var f;typeof a=="string"?f=a:a&&typeof a.message=="string"?f=a.message:f=String(a);var h=Jn||Ks();Jn=null,n.errorMessage=f,n.errorComponentStack=h}}function Go(n,a){var f=n.onError(a);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function qi(n,a){var f=n.onShellError;f(a);var h=n.onFatalError;h(a),n.destination!==null?(n.status=mn,H(n.destination,a)):(n.status=qa,n.fatalError=a)}function el(n,a,f){Bt(a,"Suspense");var h=a.blockedBoundary,k=a.blockedSegment,I=f.fallback,O=f.children,U=new Set,J=Dn(n,U),ie=k.chunks.length,ae=Zn(n,ie,J,k.formatContext,!1,!1);k.children.push(ae),k.lastPushedText=!1;var ge=Zn(n,0,null,k.formatContext,!1,!1);ge.parentFlushed=!0,a.blockedBoundary=J,a.blockedSegment=ge;try{if(es(n,a,O),Pa(ge.chunks,n.responseState,ge.lastPushedText,ge.textEmbedded),ge.status=Er,Jo(J,ge),J.pendingTasks===0){Vt(a);return}}catch(ot){ge.status=Rr,J.forceClientRender=!0,J.errorDigest=Go(n,ot),ea(J,ot)}finally{a.blockedBoundary=h,a.blockedSegment=k}var Oe=Yo(n,I,h,ae,U,a.legacyContext,a.context,a.treeContext);Oe.componentStack=a.componentStack,n.pingedTasks.push(Oe),Vt(a)}function tl(n,a,f,h){Bt(a,f);var k=a.blockedSegment,I=fn(k.chunks,f,h,n.responseState,k.formatContext);k.lastPushedText=!1;var O=k.formatContext;k.formatContext=zn(O,f,h),es(n,a,I),k.formatContext=O,St(k.chunks,f),k.lastPushedText=!1,Vt(a)}function Ru(n){return n.prototype&&n.prototype.isReactComponent}function ta(n,a,f,h,k){var I={};Gs(a,I);var O=f(h,k);return pu(f,h,O,k)}function Xo(n,a,f,h,k){var I=f.render();f.props!==k&&(ia||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",_e(h)||"a component"),ia=!0);{var O=h.childContextTypes;if(O!=null){var U=a.legacyContext,J=br(f,h,U,O);a.legacyContext=J,Et(n,a,I),a.legacyContext=U;return}}Et(n,a,I)}function nl(n,a,f,h){qs(a,f);var k=Ba(f,a.legacyContext),I=iu(f,h,k);Wi(I,f,h,k),Xo(n,a,I,f,h),Vt(a)}var na={},Zo={},ra={},oa={},ia=!1,rl=!1,ol=!1,sa=!1;function Pu(n,a,f,h){var k;if(k=Ba(f,a.legacyContext),oo(a,f),f.prototype&&typeof f.prototype.render=="function"){var I=_e(f)||"Unknown";na[I]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",I,I),na[I]=!0)}var O=ta(n,a,f,h,k),U=Ya();if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var J=_e(f)||"Unknown";Zo[J]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),Zo[J]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var ie=_e(f)||"Unknown";Zo[ie]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ie,ie,ie),Zo[ie]=!0)}Wi(O,f,h,k),Xo(n,a,O,f,h)}else if(Au(f),U){var ae=a.treeContext,ge=1,Oe=0;a.treeContext=$s(ae,ge,Oe);try{Et(n,a,O)}finally{a.treeContext=ae}}else Et(n,a,O);Vt(a)}function Au(n){{if(n&&n.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),typeof n.getDerivedStateFromProps=="function"){var a=_e(n)||"Unknown";oa[a]||(s("%s: Function components do not support getDerivedStateFromProps.",a),oa[a]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=_e(n)||"Unknown";ra[f]||(s("%s: Function components do not support contextType.",f),ra[f]=!0)}}}function il(n,a){if(n&&n.defaultProps){var f=Tt({},a),h=n.defaultProps;for(var k in h)f[k]===void 0&&(f[k]=h[k]);return f}return a}function Iu(n,a,f,h,k){oo(a,f.render);var I=ta(n,a,f.render,h,k),O=Ya();if(O){var U=a.treeContext,J=1,ie=0;a.treeContext=$s(U,J,ie);try{Et(n,a,I)}finally{a.treeContext=U}}else Et(n,a,I);Vt(a)}function Mu(n,a,f,h,k){var I=f.type,O=il(I,h);la(n,a,I,O,k)}function aa(n,a,f,h){f._context===void 0?f!==f.Consumer&&(sa||(sa=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var k=h.children;typeof k!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var I=to(f),O=k(I);Et(n,a,O)}function Du(n,a,f,h){var k=f._context,I=h.value,O=h.children,U;U=a.context,a.context=Vo(k,I),Et(n,a,O),a.context=Ns(k),U!==a.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Ct(n,a,f,h,k){Bt(a,"Lazy");var I=f._payload,O=f._init,U=O(I),J=il(U,h);la(n,a,U,J,k),Vt(a)}function la(n,a,f,h,k){if(typeof f=="function")if(Ru(f)){nl(n,a,f,h);return}else{Pu(n,a,f,h);return}if(typeof f=="string"){tl(n,a,f,h);return}switch(f){case tu:case Ma:case Ti:case Ci:case ki:{Et(n,a,h.children);return}case Es:{Bt(a,"SuspenseList"),Et(n,a,h.children),Vt(a);return}case eu:throw new Error("ReactDOMServer does not yet support scope components.");case Qr:{el(n,a,h);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Mo:{Iu(n,a,f,h,k);return}case Rs:{Mu(n,a,f,h,k);return}case Ao:{Du(n,a,f,h);return}case Io:{aa(n,a,f,h);return}case Ei:{Ct(n,a,f,h);return}}var I="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+I))}function sl(n,a){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(rl||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),rl=!0),n.entries===a&&(ol||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ol=!0)}function Et(n,a,f){try{return ua(n,a,f)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(Jn=Jn!==null?Jn:Ks()),h}}function ua(n,a,f){if(a.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ia:{var h=f,k=h.type,I=h.props,O=h.ref;la(n,a,k,I,O);return}case Cs:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ei:{var U=f,J=U._payload,ie=U._init,ae;try{ae=ie(J)}catch(is){throw typeof is=="object"&&is!==null&&typeof is.then=="function"&&Bt(a,"Lazy"),is}Et(n,a,ae);return}}if(Mt(f)){al(n,a,f);return}var ge=je(f);if(ge){sl(f,ge);var Oe=ge.call(f);if(Oe){var ot=Oe.next();if(!ot.done){var zt=[];do zt.push(ot.value),ot=Oe.next();while(!ot.done);al(n,a,zt);return}return}}var dl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(dl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":dl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var hl=a.blockedSegment;hl.lastPushedText=Ra(a.blockedSegment.chunks,f,n.responseState,hl.lastPushedText);return}if(typeof f=="number"){var pl=a.blockedSegment;pl.lastPushedText=Ra(a.blockedSegment.chunks,""+f,n.responseState,pl.lastPushedText);return}typeof f=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function al(n,a,f){for(var h=f.length,k=0;k<h;k++){var I=a.treeContext;a.treeContext=$s(I,h,k);try{es(n,a,f[k])}finally{a.treeContext=I}}}function Ou(n,a,f){var h=a.blockedSegment,k=h.chunks.length,I=Zn(n,k,null,h.formatContext,h.lastPushedText,!0);h.children.push(I),h.lastPushedText=!1;var O=Yo(n,a.node,a.blockedBoundary,I,a.abortSet,a.legacyContext,a.context,a.treeContext);a.componentStack!==null&&(O.componentStack=a.componentStack.parent);var U=O.ping;f.then(U,U)}function es(n,a,f){var h=a.blockedSegment.formatContext,k=a.legacyContext,I=a.context,O=null;O=a.componentStack;try{return Et(n,a,f)}catch(U){if(Uo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Ou(n,a,U),a.blockedSegment.formatContext=h,a.legacyContext=k,a.context=I,Di(I),a.componentStack=O;return}else throw a.blockedSegment.formatContext=h,a.legacyContext=k,a.context=I,Di(I),a.componentStack=O,U}}function ts(n,a,f,h){var k=Go(n,h);if(a===null?qi(n,h):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,a.errorDigest=k,ea(a,h),a.parentFlushed&&n.clientRenderedBoundaries.push(a))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ll(n){var a=this,f=n.blockedBoundary,h=n.blockedSegment;h.status=Js,Qo(a,f,h)}function ul(n,a,f){var h=n.blockedBoundary,k=n.blockedSegment;if(k.status=Js,h===null)a.allPendingTasks--,a.status!==mn&&(a.status=mn,a.destination!==null&&w(a.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var I=f===void 0?new Error("The render was aborted by the server without a reason."):f;h.errorDigest=a.onError(I);{var O="The server did not finish this Suspense boundary: ";I&&typeof I.message=="string"?I=O+I.message:I=O+String(I);var U=gn;gn=n;try{ea(h,I)}finally{gn=U}}h.parentFlushed&&a.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(ie){return ul(ie,a,f)}),h.fallbackAbortableTasks.clear(),a.allPendingTasks--,a.allPendingTasks===0){var J=a.onAllReady;J()}}}function Jo(n,a){if(a.chunks.length===0&&a.children.length===1&&a.children[0].boundary===null){var f=a.children[0];f.id=a.id,f.parentFlushed=!0,f.status===Er&&Jo(n,f)}else{var h=n.completedSegments;h.push(a)}}function Qo(n,a,f){if(a===null){if(f.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=f}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=$o;var h=n.onShellReady;h()}}else if(a.pendingTasks--,!a.forceClientRender){if(a.pendingTasks===0)f.parentFlushed&&f.status===Er&&Jo(a,f),a.parentFlushed&&n.completedBoundaries.push(a),a.fallbackAbortableTasks.forEach(ll,n),a.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Er){Jo(a,f);var k=a.completedSegments;k.length===1&&a.parentFlushed&&n.partialBoundaries.push(a)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ns(n,a){var f=a.blockedSegment;if(f.status===Qi){Di(a.context);var h=null;h=gn,gn=a;try{Et(n,a,a.node),Pa(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),a.abortSet.delete(a),f.status=Er,Qo(n,a.blockedBoundary,f)}catch(I){if(Uo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var k=a.ping;I.then(k,k)}else a.abortSet.delete(a),f.status=Rr,ts(n,a.blockedBoundary,f,I)}finally{gn=h}}}function cl(n){if(n.status!==mn){var a=ru(),f=Xn.current;Xn.current=Qa;var h;h=Ji.getCurrentStack,Ji.getCurrentStack=Ks;var k=Ho;Zi(n.responseState);try{var I=n.pingedTasks,O;for(O=0;O<I.length;O++){var U=I[O];ns(n,U)}I.splice(0,O),n.destination!==null&&os(n,n.destination)}catch(J){Go(n,J),qi(n,J)}finally{Zi(k),Xn.current=f,Ji.getCurrentStack=h,f===Qa&&Di(a)}}}function Ko(n,a,f){switch(f.parentFlushed=!0,f.status){case Qi:{var h=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,ci(a,n.responseState,h)}case Er:{f.status=Ka;for(var k=!0,I=f.chunks,O=0,U=f.children,J=0;J<U.length;J++){for(var ie=U[J];O<ie.index;O++)m(a,I[O]);k=qo(n,a,ie)}for(;O<I.length-1;O++)m(a,I[O]);return O<I.length&&(k=b(a,I[O])),k}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function qo(n,a,f){var h=f.boundary;if(h===null)return Ko(n,a,f);if(h.parentFlushed=!0,h.forceClientRender)return Lt(a,n.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Ko(n,a,f),Aa(a,n.responseState);if(h.pendingTasks>0){h.rootSegmentID=n.nextSegmentId++,h.completedSegments.length>0&&n.partialBoundaries.push(h);var k=h.id=_t(n.responseState);return Yn(a,n.responseState,k),Ko(n,a,f),Eo(a,n.responseState)}else{if(h.byteSize>n.progressiveChunkSize)return h.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(h),Yn(a,n.responseState,h.id),Ko(n,a,f),Eo(a,n.responseState);Ts(a,n.responseState);var I=h.completedSegments;if(I.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var O=I[0];return qo(n,a,O),ql(a,n.responseState)}}function Fu(n,a,f){return Jl(a,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function ca(n,a,f){return V(a,n.responseState,f.formatContext,f.id),qo(n,a,f),G(a,f.formatContext)}function rs(n,a,f){for(var h=f.completedSegments,k=0;k<h.length;k++){var I=h[k];fl(n,a,f,I)}return h.length=0,$l(a,n.responseState,f.id,f.rootSegmentID)}function _u(n,a,f){for(var h=f.completedSegments,k=0;k<h.length;k++){var I=h[k];if(!fl(n,a,f,I))return k++,h.splice(0,k),!1}return h.splice(0,k),!0}function fl(n,a,f,h){if(h.status===Ka)return!0;var k=h.id;if(k===-1){var I=h.id=f.rootSegmentID;if(I===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return ca(n,a,h)}else return ca(n,a,h),kt(a,n.responseState,k)}function os(n,a){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(qo(n,a,f),n.completedRootSegment=null,wo(a,n.responseState));var h=n.clientRenderedBoundaries,k;for(k=0;k<h.length;k++){var I=h[k];if(!Fu(n,a,I)){n.destination=null,k++,h.splice(0,k);return}}h.splice(0,k);var O=n.completedBoundaries;for(k=0;k<O.length;k++){var U=O[k];if(!rs(n,a,U)){n.destination=null,k++,O.splice(0,k);return}}O.splice(0,k);var J=n.partialBoundaries;for(k=0;k<J.length;k++){var ie=J[k];if(!_u(n,a,ie)){n.destination=null,k++,J.splice(0,k);return}}J.splice(0,k);var ae=n.completedBoundaries;for(k=0;k<ae.length;k++){var ge=ae[k];if(!rs(n,a,ge)){n.destination=null,k++,ae.splice(0,k);return}}ae.splice(0,k)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),w(a))}}function Lu(n){g(function(){return cl(n)})}function o(n,a){if(n.status===qa){n.status=mn,H(a,n.fatalError);return}if(n.status!==mn&&n.destination===null){n.destination=a;try{os(n,a)}catch(f){Go(n,f),qi(n,f)}}}function l(n,a){try{var f=n.abortableTasks;f.forEach(function(h){return ul(h,n,a)}),f.clear(),n.destination!==null&&os(n,n.destination)}catch(h){Go(n,h),qi(n,h)}}function d(){}function x(n,a,f,h){var k=!1,I=null,O="",U={push:function(ge){return ge!==null&&(O+=ge),!0},destroy:function(ge){k=!0,I=ge}},J=!1;function ie(){J=!0}var ae=Qs(n,Kl(f,a?a.identifierPrefix:void 0),ks(),1/0,d,void 0,ie,void 0,void 0);if(Lu(ae),l(ae,h),o(ae,U),k)throw I;if(!J)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return O}function E(n,a){return x(n,a,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function M(n,a){return x(n,a,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function _(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function N(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}ni.renderToNodeStream=_,ni.renderToStaticMarkup=M,ni.renderToStaticNodeStream=N,ni.renderToString=E,ni.version=t}()),ni}var wl={};/**
66
+ `+h.stack}}var Gn=r.ReactCurrentDispatcher,Xi=r.ReactDebugCurrentFrame,Zi=0,Cr=1,Js=2,Xa=3,Er=4,Su=0,Qs=1,hn=2,wu=12800;function ku(n){return console.error(n),null}function No(){}function Za(n,a,f,h,w,I,O,U,J){var ie=[],se=new Set,me={destination:null,responseState:a,progressiveChunkSize:h===void 0?wu:h,status:Su,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:se,pingedTasks:ie,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:w===void 0?ku:w,onAllReady:I===void 0?No:I,onShellReady:O===void 0?No:O,onShellError:U===void 0?No:U,onFatalError:J===void 0?No:J},Me=Xn(me,0,null,f,!1,!1);Me.parentFlushed=!0;var rt=Ho(me,n,null,Me,se,Yn,Va,zi);return ie.push(rt),me}function Ji(n,a){var f=n.pingedTasks;f.push(a),f.length===1&&y(function(){return ll(n)})}function Mn(n,a){return{id:Ot,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:a,errorDigest:null}}function Ho(n,a,f,h,w,I,O,U){n.allPendingTasks++,f===null?n.pendingRootTasks++:f.pendingTasks++;var J={node:a,ping:function(){return Ji(n,J)},blockedBoundary:f,blockedSegment:h,abortSet:w,legacyContext:I,context:O,treeContext:U};return J.componentStack=null,w.add(J),J}function Xn(n,a,f,h,w,I){return{status:Zi,id:-1,index:a,parentFlushed:!1,chunks:[],children:[],formatContext:h,boundary:f,lastPushedText:w,textEmbedded:I}}var pn=null;function Ja(){return pn===null||pn.componentStack===null?"":Ga(pn.componentStack)}function jt(n,a){n.componentStack={tag:0,parent:n.componentStack,type:a}}function no(n,a){n.componentStack={tag:1,parent:n.componentStack,type:a}}function Qa(n,a){n.componentStack={tag:2,parent:n.componentStack,type:a}}function Bt(n){n.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var Zn=null;function Ka(n,a){{var f;typeof a=="string"?f=a:a&&typeof a.message=="string"?f=a.message:f=String(a);var h=Zn||Ja();Zn=null,n.errorMessage=f,n.errorComponentStack=h}}function $o(n,a){var f=n.onError(a);if(f!=null&&typeof f!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Qi(n,a){var f=n.onShellError;f(a);var h=n.onFatalError;h(a),n.destination!==null?(n.status=hn,$(n.destination,a)):(n.status=Qs,n.fatalError=a)}function Ks(n,a,f){jt(a,"Suspense");var h=a.blockedBoundary,w=a.blockedSegment,I=f.fallback,O=f.children,U=new Set,J=Mn(n,U),ie=w.chunks.length,se=Xn(n,ie,J,w.formatContext,!1,!1);w.children.push(se),w.lastPushedText=!1;var me=Xn(n,0,null,w.formatContext,!1,!1);me.parentFlushed=!0,a.blockedBoundary=J,a.blockedSegment=me;try{if(Ki(n,a,O),Es(me.chunks,n.responseState,me.lastPushedText,me.textEmbedded),me.status=Cr,Xo(J,me),J.pendingTasks===0){Bt(a);return}}catch(rt){me.status=Er,J.forceClientRender=!0,J.errorDigest=$o(n,rt),Ka(J,rt)}finally{a.blockedBoundary=h,a.blockedSegment=w}var Me=Ho(n,I,h,se,U,a.legacyContext,a.context,a.treeContext);Me.componentStack=a.componentStack,n.pingedTasks.push(Me),Bt(a)}function qs(n,a,f,h){jt(a,f);var w=a.blockedSegment,I=un(w.chunks,f,h,n.responseState,w.formatContext);w.lastPushedText=!1;var O=w.formatContext;w.formatContext=Vn(O,f,h),Ki(n,a,I),w.formatContext=O,xt(w.chunks,f),w.lastPushedText=!1,Bt(a)}function Tu(n){return n.prototype&&n.prototype.isReactComponent}function qa(n,a,f,h,w){var I={};$a(a,I);var O=f(h,w);return fu(f,h,O,w)}function Yo(n,a,f,h,w){var I=f.render();f.props!==w&&(rs||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Oe(h)||"a component"),rs=!0);{var O=h.childContextTypes;if(O!=null){var U=a.legacyContext,J=yr(f,h,U,O);a.legacyContext=J,Ct(n,a,I),a.legacyContext=U;return}}Ct(n,a,I)}function el(n,a,f,h){Qa(a,f);var w=_s(f,a.legacyContext),I=nu(f,h,w);Vi(I,f,h,w),Yo(n,a,I,f,h),Bt(a)}var es={},Go={},ts={},ns={},rs=!1,tl=!1,nl=!1,os=!1;function Cu(n,a,f,h){var w;if(w=_s(f,a.legacyContext),no(a,f),f.prototype&&typeof f.prototype.render=="function"){var I=Oe(f)||"Unknown";es[I]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",I,I),es[I]=!0)}var O=qa(n,a,f,h,w),U=Hs();if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){var J=Oe(f)||"Unknown";Go[J]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",J,J,J),Go[J]=!0)}if(typeof O=="object"&&O!==null&&typeof O.render=="function"&&O.$$typeof===void 0){{var ie=Oe(f)||"Unknown";Go[ie]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",ie,ie,ie),Go[ie]=!0)}Vi(O,f,h,w),Yo(n,a,O,f,h)}else if(Eu(f),U){var se=a.treeContext,me=1,Me=0;a.treeContext=Na(se,me,Me);try{Ct(n,a,O)}finally{a.treeContext=se}}else Ct(n,a,O);Bt(a)}function Eu(n){{if(n&&n.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),typeof n.getDerivedStateFromProps=="function"){var a=Oe(n)||"Unknown";ns[a]||(s("%s: Function components do not support getDerivedStateFromProps.",a),ns[a]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var f=Oe(n)||"Unknown";ts[f]||(s("%s: Function components do not support contextType.",f),ts[f]=!0)}}}function rl(n,a){if(n&&n.defaultProps){var f=kt({},a),h=n.defaultProps;for(var w in h)f[w]===void 0&&(f[w]=h[w]);return f}return a}function Ru(n,a,f,h,w){no(a,f.render);var I=qa(n,a,f.render,h,w),O=Hs();if(O){var U=a.treeContext,J=1,ie=0;a.treeContext=Na(U,J,ie);try{Ct(n,a,I)}finally{a.treeContext=U}}else Ct(n,a,I);Bt(a)}function Pu(n,a,f,h,w){var I=f.type,O=rl(I,h);as(n,a,I,O,w)}function is(n,a,f,h){f._context===void 0?f!==f.Consumer&&(os||(os=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):f=f._context;var w=h.children;typeof w!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var I=qr(f),O=w(I);Ct(n,a,O)}function Au(n,a,f,h){var w=f._context,I=h.value,O=h.children,U;U=a.context,a.context=jo(w,I),Ct(n,a,O),a.context=Wa(w),U!==a.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Tt(n,a,f,h,w){jt(a,"Lazy");var I=f._payload,O=f._init,U=O(I),J=rl(U,h);as(n,a,U,J,w),Bt(a)}function as(n,a,f,h,w){if(typeof f=="function")if(Tu(f)){el(n,a,f,h);return}else{Cu(n,a,f,h);return}if(typeof f=="string"){qs(n,a,f,h);return}switch(f){case Kl:case As:case wi:case ki:case Si:{Ct(n,a,h.children);return}case Ta:{jt(a,"SuspenseList"),Ct(n,a,h.children),Bt(a);return}case Ql:throw new Error("ReactDOMServer does not yet support scope components.");case Zr:{Ks(n,a,h);return}}if(typeof f=="object"&&f!==null)switch(f.$$typeof){case Ao:{Ru(n,a,f,h,w);return}case Ca:{Pu(n,a,f,h,w);return}case Ro:{Au(n,a,f,h);return}case Po:{is(n,a,f,h);return}case Ti:{Tt(n,a,f,h);return}}var I="";throw(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(f==null?f:typeof f)+"."+I))}function ol(n,a){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(tl||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),tl=!0),n.entries===a&&(nl||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),nl=!0)}function Ct(n,a,f){try{return ss(n,a,f)}catch(h){throw typeof h=="object"&&h!==null&&typeof h.then=="function"||(Zn=Zn!==null?Zn:Ja()),h}}function ss(n,a,f){if(a.node=f,typeof f=="object"&&f!==null){switch(f.$$typeof){case Ps:{var h=f,w=h.type,I=h.props,O=h.ref;as(n,a,w,I,O);return}case ka:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ti:{var U=f,J=U._payload,ie=U._init,se;try{se=ie(J)}catch(ra){throw typeof ra=="object"&&ra!==null&&typeof ra.then=="function"&&jt(a,"Lazy"),ra}Ct(n,a,se);return}}if(It(f)){il(n,a,f);return}var me=Le(f);if(me){ol(f,me);var Me=me.call(f);if(Me){var rt=Me.next();if(!rt.done){var Vt=[];do Vt.push(rt.value),rt=Me.next();while(!rt.done);il(n,a,Vt);return}return}}var cl=Object.prototype.toString.call(f);throw new Error("Objects are not valid as a React child (found: "+(cl==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":cl)+"). If you meant to render a collection of children, use an array instead.")}if(typeof f=="string"){var fl=a.blockedSegment;fl.lastPushedText=Cs(a.blockedSegment.chunks,f,n.responseState,fl.lastPushedText);return}if(typeof f=="number"){var dl=a.blockedSegment;dl.lastPushedText=Cs(a.blockedSegment.chunks,""+f,n.responseState,dl.lastPushedText);return}typeof f=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function il(n,a,f){for(var h=f.length,w=0;w<h;w++){var I=a.treeContext;a.treeContext=Na(I,h,w);try{Ki(n,a,f[w])}finally{a.treeContext=I}}}function Iu(n,a,f){var h=a.blockedSegment,w=h.chunks.length,I=Xn(n,w,null,h.formatContext,h.lastPushedText,!0);h.children.push(I),h.lastPushedText=!1;var O=Ho(n,a.node,a.blockedBoundary,I,a.abortSet,a.legacyContext,a.context,a.treeContext);a.componentStack!==null&&(O.componentStack=a.componentStack.parent);var U=O.ping;f.then(U,U)}function Ki(n,a,f){var h=a.blockedSegment.formatContext,w=a.legacyContext,I=a.context,O=null;O=a.componentStack;try{return Ct(n,a,f)}catch(U){if(zo(),typeof U=="object"&&U!==null&&typeof U.then=="function"){Iu(n,a,U),a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O;return}else throw a.blockedSegment.formatContext=h,a.legacyContext=w,a.context=I,Ii(I),a.componentStack=O,U}}function qi(n,a,f,h){var w=$o(n,h);if(a===null?Qi(n,h):(a.pendingTasks--,a.forceClientRender||(a.forceClientRender=!0,a.errorDigest=w,Ka(a,h),a.parentFlushed&&n.clientRenderedBoundaries.push(a))),n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function al(n){var a=this,f=n.blockedBoundary,h=n.blockedSegment;h.status=Xa,Zo(a,f,h)}function sl(n,a,f){var h=n.blockedBoundary,w=n.blockedSegment;if(w.status=Xa,h===null)a.allPendingTasks--,a.status!==hn&&(a.status=hn,a.destination!==null&&T(a.destination));else{if(h.pendingTasks--,!h.forceClientRender){h.forceClientRender=!0;var I=f===void 0?new Error("The render was aborted by the server without a reason."):f;h.errorDigest=a.onError(I);{var O="The server did not finish this Suspense boundary: ";I&&typeof I.message=="string"?I=O+I.message:I=O+String(I);var U=pn;pn=n;try{Ka(h,I)}finally{pn=U}}h.parentFlushed&&a.clientRenderedBoundaries.push(h)}if(h.fallbackAbortableTasks.forEach(function(ie){return sl(ie,a,f)}),h.fallbackAbortableTasks.clear(),a.allPendingTasks--,a.allPendingTasks===0){var J=a.onAllReady;J()}}}function Xo(n,a){if(a.chunks.length===0&&a.children.length===1&&a.children[0].boundary===null){var f=a.children[0];f.id=a.id,f.parentFlushed=!0,f.status===Cr&&Xo(n,f)}else{var h=n.completedSegments;h.push(a)}}function Zo(n,a,f){if(a===null){if(f.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=f}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=No;var h=n.onShellReady;h()}}else if(a.pendingTasks--,!a.forceClientRender){if(a.pendingTasks===0)f.parentFlushed&&f.status===Cr&&Xo(a,f),a.parentFlushed&&n.completedBoundaries.push(a),a.fallbackAbortableTasks.forEach(al,n),a.fallbackAbortableTasks.clear();else if(f.parentFlushed&&f.status===Cr){Xo(a,f);var w=a.completedSegments;w.length===1&&a.parentFlushed&&n.partialBoundaries.push(a)}}if(n.allPendingTasks--,n.allPendingTasks===0){var I=n.onAllReady;I()}}function ea(n,a){var f=a.blockedSegment;if(f.status===Zi){Ii(a.context);var h=null;h=pn,pn=a;try{Ct(n,a,a.node),Es(f.chunks,n.responseState,f.lastPushedText,f.textEmbedded),a.abortSet.delete(a),f.status=Cr,Zo(n,a.blockedBoundary,f)}catch(I){if(zo(),typeof I=="object"&&I!==null&&typeof I.then=="function"){var w=a.ping;I.then(w,w)}else a.abortSet.delete(a),f.status=Er,qi(n,a.blockedBoundary,f,I)}finally{pn=h}}}function ll(n){if(n.status!==hn){var a=eu(),f=Gn.current;Gn.current=Zs;var h;h=Xi.getCurrentStack,Xi.getCurrentStack=Ja;var w=Uo;Gi(n.responseState);try{var I=n.pingedTasks,O;for(O=0;O<I.length;O++){var U=I[O];ea(n,U)}I.splice(0,O),n.destination!==null&&na(n,n.destination)}catch(J){$o(n,J),Qi(n,J)}finally{Gi(w),Gn.current=f,Xi.getCurrentStack=h,f===Zs&&Ii(a)}}}function Jo(n,a,f){switch(f.parentFlushed=!0,f.status){case Zi:{var h=f.id=n.nextSegmentId++;return f.lastPushedText=!1,f.textEmbedded=!1,li(a,n.responseState,h)}case Cr:{f.status=Js;for(var w=!0,I=f.chunks,O=0,U=f.children,J=0;J<U.length;J++){for(var ie=U[J];O<ie.index;O++)p(a,I[O]);w=Qo(n,a,ie)}for(;O<I.length-1;O++)p(a,I[O]);return O<I.length&&(w=x(a,I[O])),w}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Qo(n,a,f){var h=f.boundary;if(h===null)return Jo(n,a,f);if(h.parentFlushed=!0,h.forceClientRender)return Lt(a,n.responseState,h.errorDigest,h.errorMessage,h.errorComponentStack),Jo(n,a,f),Rs(a,n.responseState);if(h.pendingTasks>0){h.rootSegmentID=n.nextSegmentId++,h.completedSegments.length>0&&n.partialBoundaries.push(h);var w=h.id=Ft(n.responseState);return $n(a,n.responseState,w),Jo(n,a,f),To(a,n.responseState)}else{if(h.byteSize>n.progressiveChunkSize)return h.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(h),$n(a,n.responseState,h.id),Jo(n,a,f),To(a,n.responseState);wa(a,n.responseState);var I=h.completedSegments;if(I.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var O=I[0];return Qo(n,a,O),Jl(a,n.responseState)}}function Mu(n,a,f){return Gl(a,n.responseState,f.id,f.errorDigest,f.errorMessage,f.errorComponentStack)}function ls(n,a,f){return V(a,n.responseState,f.formatContext,f.id),Qo(n,a,f),Y(a,f.formatContext)}function ta(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];ul(n,a,f,I)}return h.length=0,Ul(a,n.responseState,f.id,f.rootSegmentID)}function Du(n,a,f){for(var h=f.completedSegments,w=0;w<h.length;w++){var I=h[w];if(!ul(n,a,f,I))return w++,h.splice(0,w),!1}return h.splice(0,w),!0}function ul(n,a,f,h){if(h.status===Js)return!0;var w=h.id;if(w===-1){var I=h.id=f.rootSegmentID;if(I===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return ls(n,a,h)}else return ls(n,a,h),wt(a,n.responseState,w)}function na(n,a){try{var f=n.completedRootSegment;f!==null&&n.pendingRootTasks===0&&(Qo(n,a,f),n.completedRootSegment=null,xo(a,n.responseState));var h=n.clientRenderedBoundaries,w;for(w=0;w<h.length;w++){var I=h[w];if(!Mu(n,a,I)){n.destination=null,w++,h.splice(0,w);return}}h.splice(0,w);var O=n.completedBoundaries;for(w=0;w<O.length;w++){var U=O[w];if(!ta(n,a,U)){n.destination=null,w++,O.splice(0,w);return}}O.splice(0,w);var J=n.partialBoundaries;for(w=0;w<J.length;w++){var ie=J[w];if(!Du(n,a,ie)){n.destination=null,w++,J.splice(0,w);return}}J.splice(0,w);var se=n.completedBoundaries;for(w=0;w<se.length;w++){var me=se[w];if(!ta(n,a,me)){n.destination=null,w++,se.splice(0,w);return}}se.splice(0,w)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),T(a))}}function Ou(n){y(function(){return ll(n)})}function o(n,a){if(n.status===Qs){n.status=hn,$(a,n.fatalError);return}if(n.status!==hn&&n.destination===null){n.destination=a;try{na(n,a)}catch(f){$o(n,f),Qi(n,f)}}}function l(n,a){try{var f=n.abortableTasks;f.forEach(function(h){return sl(h,n,a)}),f.clear(),n.destination!==null&&na(n,n.destination)}catch(h){$o(n,h),Qi(n,h)}}function d(){}function b(n,a,f,h){var w=!1,I=null,O="",U={push:function(me){return me!==null&&(O+=me),!0},destroy:function(me){w=!0,I=me}},J=!1;function ie(){J=!0}var se=Za(n,Zl(f,a?a.identifierPrefix:void 0),Sa(),1/0,d,void 0,ie,void 0,void 0);if(Ou(se),l(se,h),o(se,U),w)throw I;if(!J)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return O}function E(n,a){return b(n,a,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function M(n,a){return b(n,a,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function L(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function N(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}qo.renderToNodeStream=L,qo.renderToStaticMarkup=M,qo.renderToStaticNodeStream=N,qo.renderToString=E,qo.version=t}()),qo}var pl={};/**
71
67
  * @license React
72
68
  * react-dom-server.browser.development.js
73
69
  *
@@ -75,38 +71,41 @@ Error generating stack: `+h.message+`
75
71
  *
76
72
  * This source code is licensed under the MIT license found in the
77
73
  * LICENSE file in the root directory of this source tree.
78
- */var ld;function Gb(){return ld||(ld=1,process.env.NODE_ENV!=="production"&&function(){var e=re,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];p("warn",o,d)}}function s(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),x=1;x<l;x++)d[x-1]=arguments[x];p("error",o,d)}}function p(o,l,d){{var x=r.ReactDebugCurrentFrame,E=x.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(_){return String(_)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function g(o){o()}var S=512,m=null,b=0;function A(o){m=new Uint8Array(S),b=0}function w(o,l){if(l.length!==0){if(l.length>S){b>0&&(o.enqueue(new Uint8Array(m.buffer,0,b)),m=new Uint8Array(S),b=0),o.enqueue(l);return}var d=l,x=m.length-b;x<d.length&&(x===0?o.enqueue(m):(m.set(d.subarray(0,x),b),o.enqueue(m),d=d.subarray(x)),m=new Uint8Array(S),b=0),m.set(d,b),b+=d.length}}function D(o,l){return w(o,l),!0}function L(o){m&&b>0&&(o.enqueue(new Uint8Array(m.buffer,0,b)),m=null,b=0)}function H(o){o.close()}var Y=new TextEncoder;function B(o){return Y.encode(o)}function F(o){return Y.encode(o)}function Z(o,l){typeof o.error=="function"?o.error(l):o.close()}function X(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return d}}function ee(o){try{return ne(o),!1}catch{return!0}}function ne(o){return""+o}function te(o,l){if(ee(o))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),ne(o)}function oe(o,l){if(ee(o))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),ne(o)}function le(o){if(ee(o))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",X(o)),ne(o)}var ce=Object.prototype.hasOwnProperty,Ue=0,$e=1,Te=2,Ye=3,Re=4,ht=5,Ie=6,it=":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",Qe=it+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ve=new RegExp("^["+it+"]["+Qe+"]*$"),Nt={},pe={};function ke(o){return ce.call(pe,o)?!0:ce.call(Nt,o)?!1:Ve.test(o)?(pe[o]=!0,!0):(Nt[o]=!0,s("Invalid attribute name: `%s`",o),!1)}function Ht(o,l,d,x){if(d!==null&&d.type===Ue)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(x)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function gt(o){return Ce.hasOwnProperty(o)?Ce[o]:null}function Me(o,l,d,x,E,M,_){this.acceptsBooleans=l===Te||l===Ye||l===Re,this.attributeName=x,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=_}var Ce={},Pt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Pt.forEach(function(o){Ce[o]=new Me(o,Ue,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var l=o[0],d=o[1];Ce[l]=new Me(l,$e,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){Ce[o]=new Me(o,Te,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){Ce[o]=new Me(o,Te,!1,o,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(o){Ce[o]=new Me(o,Ye,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){Ce[o]=new Me(o,Ye,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){Ce[o]=new Me(o,Re,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){Ce[o]=new Me(o,Ie,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){Ce[o]=new Me(o,ht,!1,o.toLowerCase(),null,!1,!1)});var $t=/[\-\:]([a-z])/g,Ze=function(o){return o[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace($t,Ze);Ce[l]=new Me(l,$e,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){Ce[o]=new Me(o,$e,!1,o.toLowerCase(),null,!1,!1)});var st="xlinkHref";Ce[st]=new Me("xlinkHref",$e,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){Ce[o]=new Me(o,$e,!1,o.toLowerCase(),null,!0,!0)});var De={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function bn(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var Ge=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(o){Ge.forEach(function(l){De[bn(l,o)]=De[o]})});var et={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Fn(o,l){et[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function xn(o,l){if(o.indexOf("-")===-1)return typeof l.is=="string";switch(o){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 Or={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},vt={},Sn=new RegExp("^(aria)-["+Qe+"]*$"),wn=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function Fr(o,l){{if(ce.call(vt,l)&&vt[l])return!0;if(wn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),x=Or.hasOwnProperty(d)?d:null;if(x==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),vt[l]=!0,!0;if(l!==x)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,x),vt[l]=!0,!0}if(Sn.test(l)){var E=l.toLowerCase(),M=Or.hasOwnProperty(E)?E:null;if(M==null)return vt[l]=!0,!1;if(l!==M)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),vt[l]=!0,!0}}return!0}function yt(o,l){{var d=[];for(var x in l){var E=Fr(o,x);E||d.push(x)}var M=d.map(function(_){return"`"+_+"`"}).join(", ");d.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o):d.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o)}}function Ke(o,l){xn(o,l)||yt(o,l)}var Ne=!1;function Kn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!Ne&&(Ne=!0,o==="select"&&l.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",o):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",o))}}var qn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},er=function(){};{var ze={},tr=/^on./,_r=/^on[^A-Z]/,Lr=new RegExp("^(aria)-["+Qe+"]*$"),nr=new RegExp("^(aria)[A-Z]["+Qe+"]*$");er=function(o,l,d,x){if(ce.call(ze,l)&&ze[l])return!0;var E=l.toLowerCase();if(E==="onfocusin"||E==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ze[l]=!0,!0;if(x!=null){var M=x.registrationNameDependencies,_=x.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=_.hasOwnProperty(E)?_[E]:null;if(N!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",l,N),ze[l]=!0,!0;if(tr.test(l))return s("Unknown event handler property `%s`. It will be ignored.",l),ze[l]=!0,!0}else if(tr.test(l))return _r.test(l)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),ze[l]=!0,!0;if(Lr.test(l)||nr.test(l))return!0;if(E==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ze[l]=!0,!0;if(E==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ze[l]=!0,!0;if(E==="is"&&d!==null&&d!==void 0&&typeof d!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),ze[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),ze[l]=!0,!0;var n=gt(l),a=n!==null&&n.type===Ue;if(qn.hasOwnProperty(E)){var f=qn[E];if(f!==l)return s("Invalid DOM property `%s`. Did you mean `%s`?",l,f),ze[l]=!0,!0}else if(!a&&l!==E)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,E),ze[l]=!0,!0;return typeof d=="boolean"&&Ht(l,d,n,!1)?(d?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),ze[l]=!0,!0):a?!0:Ht(l,d,n,!1)?(ze[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===Ye&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),ze[l]=!0),!0)}}var _n=function(o,l,d){{var x=[];for(var E in l){var M=er(o,E,l[E],d);M||x.push(E)}var _=x.map(function(N){return"`"+N+"`"}).join(", ");x.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",_,o):x.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",_,o)}};function go(o,l,d){xn(o,l)||_n(o,l,d)}var rr=function(){};{var tn=/^(?:webkit|moz|o)[A-Z]/,or=/^-ms-/,jr=/-(.)/g,at=/;\s*$/,At={},nn={},we=!1,rn=!1,Ln=function(o){return o.replace(jr,function(l,d){return d.toUpperCase()})},kn=function(o){At.hasOwnProperty(o)&&At[o]||(At[o]=!0,s("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(or,"ms-"))))},It=function(o){At.hasOwnProperty(o)&&At[o]||(At[o]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},jn=function(o,l){nn.hasOwnProperty(l)&&nn[l]||(nn[l]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(at,"")))},Yt=function(o,l){we||(we=!0,s("`NaN` is an invalid value for the `%s` css style property.",o))},Le=function(o,l){rn||(rn=!0,s("`Infinity` is an invalid value for the `%s` css style property.",o))};rr=function(o,l){o.indexOf("-")>-1?kn(o):tn.test(o)?It(o):at.test(l)&&jn(o,l),typeof l=="number"&&(isNaN(l)?Yt(o,l):isFinite(l)||Le(o,l))}}var ir=rr,sr=/["'&<>]/;function Br(o){le(o);var l=""+o,d=sr.exec(l);if(!d)return l;var x,E="",M,_=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:x="&quot;";break;case 38:x="&amp;";break;case 39:x="&#x27;";break;case 60:x="&lt;";break;case 62:x="&gt;";break;default:continue}_!==M&&(E+=l.substring(_,M)),_=M+1,E+=x}return _!==M?E+l.substring(_,M):E}function We(o){return typeof o=="boolean"||typeof o=="number"?""+o:Br(o)}var ar=/([A-Z])/g,vo=/^ms-/;function yo(o){return o.replace(ar,"-$1").toLowerCase().replace(vo,"-ms-")}var Mt=/^[\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,lr=!1;function Bn(o){!lr&&Mt.test(o)&&(lr=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(o)))}var ur=Array.isArray;function Tn(o){return ur(o)}var on=F("<script>"),bo=F("<\/script>"),cr=F('<script src="'),Vn=F('<script type="module" src="'),sn=F('" async=""><\/script>');function Gt(o){return le(o),(""+o).replace(Dt,Cn)}var Dt=/(<\/|<)(s)(cript)/gi,Cn=function(o,l,d,x){return""+l+(d==="s"?"\\u0073":"\\u0053")+x};function En(o,l,d,x,E){var M=o===void 0?"":o,_=l===void 0?on:F('<script nonce="'+We(l)+'">'),N=[];if(d!==void 0&&N.push(_,B(Gt(d)),bo),x!==void 0)for(var n=0;n<x.length;n++)N.push(cr,B(We(x[n])),sn);if(E!==void 0)for(var a=0;a<E.length;a++)N.push(Vn,B(We(E[a])),sn);return{bootstrapChunks:N,startInlineScript:_,placeholderPrefix:F(M+"P:"),segmentPrefix:F(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var pt=0,Fe=1,Ot=2,bt=3,Je=4,zn=5,Ft=6,_t=7;function lt(o,l){return{insertionMode:o,selectedValue:l}}function Xt(o){var l=o==="http://www.w3.org/2000/svg"?Ot:o==="http://www.w3.org/1998/Math/MathML"?bt:pt;return lt(l,null)}function an(o,l,d){switch(l){case"select":return lt(Fe,d.value!=null?d.value:d.defaultValue);case"svg":return lt(Ot,null);case"math":return lt(bt,null);case"foreignObject":return lt(Fe,null);case"table":return lt(Je,null);case"thead":case"tbody":case"tfoot":return lt(zn,null);case"colgroup":return lt(_t,null);case"tr":return lt(Ft,null)}return o.insertionMode>=Je||o.insertionMode===pt?lt(Fe,null):o}var fr=null;function dr(o){var l=o.nextSuspenseID++;return F(o.boundaryPrefix+l.toString(16))}function Wn(o,l,d){var x=o.idPrefix,E=":"+x+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function ln(o){return We(o)}var hr=F("<!-- -->");function Un(o,l,d,x){return l===""?x:(x&&o.push(hr),o.push(B(ln(l))),!0)}function Nn(o,l,d,x){d&&x&&o.push(hr)}var u=new Map;function v(o){var l=u.get(o);if(l!==void 0)return l;var d=F(We(yo(o)));return u.set(o,d),d}var C=F(' style="'),R=F(":"),z=F(";");function j(o,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var x=!0;for(var E in d)if(ce.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var _=void 0,N=void 0,n=E.indexOf("--")===0;n?(_=B(We(E)),oe(M,E),N=B(We((""+M).trim()))):(ir(E,M),_=v(E),typeof M=="number"?M!==0&&!ce.call(De,E)?N=B(M+"px"):N=B(""+M):(oe(M,E),N=B(We((""+M).trim())))),x?(x=!1,o.push(C,_,R,N)):o.push(z,_,R,N)}}x||o.push(se)}var $=F(" "),K=F('="'),se=F('"'),fe=F('=""');function ue(o,l,d,x){switch(d){case"style":{j(o,l,x);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var E=gt(d);if(E!==null){switch(typeof x){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,_=B(M);switch(E.type){case Ye:x&&o.push($,_,fe);return;case Re:x===!0?o.push($,_,fe):x===!1||o.push($,_,K,B(We(x)),se);return;case ht:isNaN(x)||o.push($,_,K,B(We(x)),se);break;case Ie:!isNaN(x)&&x>=1&&o.push($,_,K,B(We(x)),se);break;default:E.sanitizeURL&&(te(x,M),x=""+x,Bn(x)),o.push($,_,K,B(We(x)),se)}}else if(ke(d)){switch(typeof x){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push($,B(d),K,B(We(x)),se)}}}var xe=F(">"),ut=F("/>");function tt(o,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var x=l.__html;x!=null&&(le(x),o.push(B(""+x)))}}var nt=!1,Zt=!1,xt=!1,Hn=!1,un=!1,Rn=!1,Jt=!1;function pr(o,l){{var d=o[l];if(d!=null){var x=Tn(d);o.multiple&&!x?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&x&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function ps(o,l,d){Fn("select",l),pr(l,"value"),pr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!xt&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),xt=!0),o.push(St("select"));var x=null,E=null;for(var M in l)if(ce.call(l,M)){var _=l[M];if(_==null)continue;switch(M){case"children":x=_;break;case"dangerouslySetInnerHTML":E=_;break;case"defaultValue":case"value":break;default:ue(o,d,M,_);break}}return o.push(xe),tt(o,E,x),x}function ms(o){var l="";return e.Children.forEach(o,function(d){d!=null&&(l+=d,!un&&typeof d!="string"&&typeof d!="number"&&(un=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var xo=F(' selected=""');function gs(o,l,d,x){var E=x.selectedValue;o.push(St("option"));var M=null,_=null,N=null,n=null;for(var a in l)if(ce.call(l,a)){var f=l[a];if(f==null)continue;switch(a){case"children":M=f;break;case"selected":N=f,Jt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Jt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":_=f;default:ue(o,d,a,f);break}}if(E!=null){var h;if(_!==null?(te(_,"value"),h=""+_):(n!==null&&(Rn||(Rn=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),h=ms(M)),Tn(E))for(var k=0;k<E.length;k++){te(E[k],"value");var I=""+E[k];if(I===h){o.push(xo);break}}else te(E,"select.value"),""+E===h&&o.push(xo)}else N&&o.push(xo);return o.push(xe),tt(o,n,M),M}function So(o,l,d){Fn("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Zt&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Zt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!nt&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),nt=!0),o.push(St("input"));var x=null,E=null,M=null,_=null;for(var N in l)if(ce.call(l,N)){var n=l[N];if(n==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":_=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":x=n;break;default:ue(o,d,N,n);break}}return M!==null?ue(o,d,"checked",M):_!==null&&ue(o,d,"checked",_),x!==null?ue(o,d,"value",x):E!==null&&ue(o,d,"value",E),o.push(ut),null}function Qt(o,l,d){Fn("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Hn&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Hn=!0),o.push(St("textarea"));var x=null,E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":M=N;break;case"value":x=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ue(o,d,_,N);break}}if(x===null&&E!==null&&(x=E),o.push(xe),M!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),x!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Tn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");le(M[0]),x=""+M[0]}le(M),x=""+M}return typeof x=="string"&&x[0]===`
79
- `&&o.push(Pn),x!==null&&(te(x,"value"),o.push(B(ln(""+x)))),null}function mr(o,l,d,x){o.push(St(d));for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ue(o,x,E,M);break}}return o.push(ut),null}function Vr(o,l,d){o.push(St("menuitem"));for(var x in l)if(ce.call(l,x)){var E=l[x];if(E==null)continue;switch(x){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ue(o,d,x,E);break}}return o.push(xe),null}function Pe(o,l,d){o.push(St("title"));var x=null;for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":x=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ue(o,d,E,M);break}}o.push(xe);{var _=Array.isArray(x)&&x.length<2?x[0]||null:x;Array.isArray(x)&&x.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):_!=null&&_.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):_!=null&&typeof _!="string"&&typeof _!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return x}function cn(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,x,_,N);break}}return o.push(xe),tt(o,M,E),typeof E=="string"?(o.push(B(ln(E))),null):E}function ct(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":j(o,x,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ke(_)&&typeof N!="function"&&typeof N!="symbol"&&o.push($,B(_),K,B(We(N)),se);break}}return o.push(xe),tt(o,M,E),E}var Pn=F(`
80
- `);function fn(o,l,d,x){o.push(St(d));var E=null,M=null;for(var _ in l)if(ce.call(l,_)){var N=l[_];if(N==null)continue;switch(_){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,x,_,N);break}}if(o.push(xe),M!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var n=M.__html;n!=null&&(typeof n=="string"&&n.length>0&&n[0]===`
81
- `?o.push(Pn,B(n)):(le(n),o.push(B(""+n))))}return typeof E=="string"&&E[0]===`
82
- `&&o.push(Pn),E}var zr=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dn=new Map;function St(o){var l=dn.get(o);if(l===void 0){if(!zr.test(o))throw new Error("Invalid tag: "+o);l=F("<"+o),dn.set(o,l)}return l}var wo=F("<!DOCTYPE html>");function ko(o,l,d,x,E){switch(Ke(l,d),Kn(l,d),go(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),E.insertionMode!==Ot&&E.insertionMode!==bt&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return ps(o,d,x);case"option":return gs(o,d,x,E);case"textarea":return Qt(o,d,x);case"input":return So(o,d,x);case"menuitem":return Vr(o,d,x);case"title":return Pe(o,d,x);case"listing":case"pre":return fn(o,d,l,x);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return mr(o,d,l,x);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 cn(o,d,l,x);case"html":return E.insertionMode===pt&&o.push(wo),cn(o,d,l,x);default:return l.indexOf("-")===-1&&typeof d.is!="string"?cn(o,d,l,x):ct(o,d,l,x)}}var ui=F("</"),ci=F(">");function fi(o,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.push(ui,B(l),ci)}}function vs(o,l){for(var d=l.bootstrapChunks,x=0;x<d.length-1;x++)w(o,d[x]);return x<d.length?D(o,d[x]):!0}var ys=F('<template id="'),Wr=F('"></template>');function Ur(o,l,d){w(o,ys),w(o,l.placeholderPrefix);var x=B(d.toString(16));return w(o,x),D(o,Wr)}var Nr=F("<!--$-->"),gr=F('<!--$?--><template id="'),bs=F('"></template>'),vr=F("<!--$!-->"),To=F("<!--/$-->"),Co=F("<template"),$n=F('"'),Yn=F(' data-dgst="'),Hr=F(' data-msg="'),di=F(' data-stck="'),Eo=F("></template>");function hi(o,l){return D(o,Nr)}function $r(o,l,d){if(w(o,gr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),D(o,bs)}function ft(o,l,d,x,E){var M;return M=D(o,vr),w(o,Co),d&&(w(o,Yn),w(o,B(We(d))),w(o,$n)),x&&(w(o,Hr),w(o,B(We(x))),w(o,$n)),E&&(w(o,di),w(o,B(We(E))),w(o,$n)),M=D(o,Eo),M}function pi(o,l){return D(o,To)}function Yr(o,l){return D(o,To)}function xs(o,l){return D(o,To)}var mi=F('<div hidden id="'),Gr=F('">'),gi=F("</div>"),vi=F('<svg aria-hidden="true" style="display:none" id="'),Xr=F('">'),Zr=F("</svg>"),yi=F('<math aria-hidden="true" style="display:none" id="'),bi=F('">'),xi=F("</math>"),Ro=F('<table hidden id="'),Si=F('">'),c=F("</table>"),y=F('<table hidden><tbody id="'),T=F('">'),P=F("</tbody></table>"),W=F('<table hidden><tr id="'),V=F('">'),G=F("</tr></table>"),q=F('<table hidden><colgroup id="'),de=F('">'),ye=F("</colgroup></table>");function ve(o,l,d,x){switch(d.insertionMode){case pt:case Fe:return w(o,mi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Gr);case Ot:return w(o,vi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Xr);case bt:return w(o,yi),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,bi);case Je:return w(o,Ro),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,Si);case zn:return w(o,y),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,T);case Ft:return w(o,W),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,V);case _t:return w(o,q),w(o,l.segmentPrefix),w(o,B(x.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ae(o,l){switch(l.insertionMode){case pt:case Fe:return D(o,gi);case Ot:return D(o,Zr);case bt:return D(o,xi);case Je:return D(o,c);case zn:return D(o,P);case Ft:return D(o,G);case _t:return D(o,ye);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var dt="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',kt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Jr=F(dt+';$RS("'),wi=F('$RS("'),Po=F('","'),Hl=F('")<\/script>');function $l(o,l,d){w(o,l.startInlineScript),l.sentCompleteSegmentFunction?w(o,wi):(l.sentCompleteSegmentFunction=!0,w(o,Jr)),w(o,l.segmentPrefix);var x=B(d.toString(16));return w(o,x),w(o,Po),w(o,l.placeholderPrefix),w(o,x),D(o,Hl)}var Yl=F(wt+';$RC("'),Gl=F('$RC("'),Xl=F('","'),Zl=F('")<\/script>');function Ss(o,l,d,x){if(w(o,l.startInlineScript),l.sentCompleteBoundaryFunction?w(o,Gl):(l.sentCompleteBoundaryFunction=!0,w(o,Yl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=B(x.toString(16));return w(o,d),w(o,Xl),w(o,l.segmentPrefix),w(o,E),D(o,Zl)}var Jl=F(kt+';$RX("'),Ql=F('$RX("'),ws=F('"'),Kl=F(")<\/script>"),ks=F(",");function Ra(o,l,d,x,E,M){if(w(o,l.startInlineScript),l.sentClientRenderFunction?w(o,Ql):(l.sentClientRenderFunction=!0,w(o,Jl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(o,d),w(o,ws),(x||E||M)&&(w(o,ks),w(o,B(Ts(x||"")))),(E||M)&&(w(o,ks),w(o,B(Ts(E||"")))),M&&(w(o,ks),w(o,B(Ts(M)))),D(o,Kl)}var Pa=/[<\u2028\u2029]/g;function Ts(o){var l=JSON.stringify(o);return l.replace(Pa,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Lt=Object.assign,ql=Symbol.for("react.element"),Aa=Symbol.for("react.portal"),Tt=Symbol.for("react.fragment"),Ia=Symbol.for("react.strict_mode"),Cs=Symbol.for("react.profiler"),ki=Symbol.for("react.provider"),Ti=Symbol.for("react.context"),Ci=Symbol.for("react.forward_ref"),Ao=Symbol.for("react.suspense"),Io=Symbol.for("react.suspense_list"),Mo=Symbol.for("react.memo"),Qr=Symbol.for("react.lazy"),Es=Symbol.for("react.scope"),Rs=Symbol.for("react.debug_trace_mode"),Ei=Symbol.for("react.legacy_hidden"),eu=Symbol.for("react.default_value"),Ma=Symbol.iterator,tu="@@iterator";function nu(o){if(o===null||typeof o!="object")return null;var l=Ma&&o[Ma]||o[tu];return typeof l=="function"?l:null}function Da(o,l,d){var x=o.displayName;if(x)return x;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Oa(o){return o.displayName||"Context"}function je(o){if(o==null)return null;if(typeof o.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case Tt:return"Fragment";case Aa:return"Portal";case Cs:return"Profiler";case Ia:return"StrictMode";case Ao:return"Suspense";case Io:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Ti:var l=o;return Oa(l)+".Consumer";case ki:var d=o;return Oa(d._context)+".Provider";case Ci:return Da(o,o.render,"ForwardRef");case Mo:var x=o.displayName||null;return x!==null?x:je(o.type)||"Memo";case Qr:{var E=o,M=E._payload,_=E._init;try{return je(_(M))}catch{return null}}}return null}var Do=0,Ps,_e,Kr,As,Is,Ms,Ds;function Os(){}Os.__reactDisabledLog=!0;function Fa(){{if(Do===0){Ps=console.log,_e=console.info,Kr=console.warn,As=console.error,Is=console.group,Ms=console.groupCollapsed,Ds=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Os,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Do++}}function _a(){{if(Do--,Do===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},o,{value:Ps}),info:Lt({},o,{value:_e}),warn:Lt({},o,{value:Kr}),error:Lt({},o,{value:As}),group:Lt({},o,{value:Is}),groupCollapsed:Lt({},o,{value:Ms}),groupEnd:Lt({},o,{value:Ds})})}Do<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ri=r.ReactCurrentDispatcher,Fs;function Oo(o,l,d){{if(Fs===void 0)try{throw Error()}catch(E){var x=E.stack.trim().match(/\n( *(at )?)/);Fs=x&&x[1]||""}return`
83
- `+Fs+o}}var Fo=!1,qr;{var _o=typeof WeakMap=="function"?WeakMap:Map;qr=new _o}function Lo(o,l){if(!o||Fo)return"";{var d=qr.get(o);if(d!==void 0)return d}var x;Fo=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ri.current,Ri.current=null,Fa();try{if(l){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(O){x=O}Reflect.construct(o,[],_)}else{try{_.call()}catch(O){x=O}o.call(_.prototype)}}else{try{throw Error()}catch(O){x=O}o()}}catch(O){if(O&&x&&typeof O.stack=="string"){for(var N=O.stack.split(`
84
- `),n=x.stack.split(`
74
+ */var _c;function Nh(){return _c||(_c=1,process.env.NODE_ENV!=="production"&&function(){var e=oe,t="18.2.0",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),b=1;b<l;b++)d[b-1]=arguments[b];m("warn",o,d)}}function s(o){{for(var l=arguments.length,d=new Array(l>1?l-1:0),b=1;b<l;b++)d[b-1]=arguments[b];m("error",o,d)}}function m(o,l,d){{var b=r.ReactDebugCurrentFrame,E=b.getStackAddendum();E!==""&&(l+="%s",d=d.concat([E]));var M=d.map(function(L){return String(L)});M.unshift("Warning: "+l),Function.prototype.apply.call(console[o],console,M)}}function y(o){o()}var S=512,p=null,x=0;function A(o){p=new Uint8Array(S),x=0}function T(o,l){if(l.length!==0){if(l.length>S){x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=new Uint8Array(S),x=0),o.enqueue(l);return}var d=l,b=p.length-x;b<d.length&&(b===0?o.enqueue(p):(p.set(d.subarray(0,b),x),o.enqueue(p),d=d.subarray(b)),p=new Uint8Array(S),x=0),p.set(d,x),x+=d.length}}function D(o,l){return T(o,l),!0}function _(o){p&&x>0&&(o.enqueue(new Uint8Array(p.buffer,0,x)),p=null,x=0)}function $(o){o.close()}var G=new TextEncoder;function B(o){return G.encode(o)}function F(o){return G.encode(o)}function Z(o,l){typeof o.error=="function"?o.error(l):o.close()}function X(o){{var l=typeof Symbol=="function"&&Symbol.toStringTag,d=l&&o[Symbol.toStringTag]||o.constructor.name||"Object";return d}}function q(o){try{return te(o),!1}catch{return!0}}function te(o){return""+o}function ee(o,l){if(q(o))return s("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),te(o)}function re(o,l){if(q(o))return s("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",l,X(o)),te(o)}function le(o){if(q(o))return s("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",X(o)),te(o)}var ce=Object.prototype.hasOwnProperty,ze=0,Ne=1,we=2,He=3,Ce=4,dt=5,Pe=6,ot=":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",Ze=ot+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",je=new RegExp("^["+ot+"]["+Ze+"]*$"),Ut={},he={};function Se(o){return ce.call(he,o)?!0:ce.call(Ut,o)?!1:je.test(o)?(he[o]=!0,!0):(Ut[o]=!0,s("Invalid attribute name: `%s`",o),!1)}function Nt(o,l,d,b){if(d!==null&&d.type===ze)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":{if(b)return!1;if(d!==null)return!d.acceptsBooleans;var E=o.toLowerCase().slice(0,5);return E!=="data-"&&E!=="aria-"}default:return!1}}function mt(o){return ke.hasOwnProperty(o)?ke[o]:null}function Ae(o,l,d,b,E,M,L){this.acceptsBooleans=l===we||l===He||l===Ce,this.attributeName=b,this.attributeNamespace=E,this.mustUseProperty=d,this.propertyName=o,this.type=l,this.sanitizeURL=M,this.removeEmptyString=L}var ke={},Rt=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Rt.forEach(function(o){ke[o]=new Ae(o,ze,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var l=o[0],d=o[1];ke[l]=new Ae(l,Ne,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){ke[o]=new Ae(o,we,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){ke[o]=new Ae(o,we,!1,o,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(o){ke[o]=new Ae(o,He,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){ke[o]=new Ae(o,He,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){ke[o]=new Ae(o,Ce,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){ke[o]=new Ae(o,Pe,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){ke[o]=new Ae(o,dt,!1,o.toLowerCase(),null,!1,!1)});var Ht=/[\-\:]([a-z])/g,Ge=function(o){return o[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var l=o.replace(Ht,Ge);ke[l]=new Ae(l,Ne,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!1,!1)});var it="xlinkHref";ke[it]=new Ae("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){ke[o]=new Ae(o,Ne,!1,o.toLowerCase(),null,!0,!0)});var Ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function yn(o,l){return o+l.charAt(0).toUpperCase()+l.substring(1)}var $e=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(o){$e.forEach(function(l){Ie[yn(l,o)]=Ie[o]})});var qe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function On(o,l){qe[l.type]||l.onChange||l.onInput||l.readOnly||l.disabled||l.value==null||s("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),l.onChange||l.readOnly||l.disabled||l.checked==null||s("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function bn(o,l){if(o.indexOf("-")===-1)return typeof l.is=="string";switch(o){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 Mr={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},gt={},xn=new RegExp("^(aria)-["+Ze+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+Ze+"]*$");function Dr(o,l){{if(ce.call(gt,l)&&gt[l])return!0;if(Sn.test(l)){var d="aria-"+l.slice(4).toLowerCase(),b=Mr.hasOwnProperty(d)?d:null;if(b==null)return s("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",l),gt[l]=!0,!0;if(l!==b)return s("Invalid ARIA attribute `%s`. Did you mean `%s`?",l,b),gt[l]=!0,!0}if(xn.test(l)){var E=l.toLowerCase(),M=Mr.hasOwnProperty(E)?E:null;if(M==null)return gt[l]=!0,!1;if(l!==M)return s("Unknown ARIA attribute `%s`. Did you mean `%s`?",l,M),gt[l]=!0,!0}}return!0}function vt(o,l){{var d=[];for(var b in l){var E=Dr(o,b);E||d.push(b)}var M=d.map(function(L){return"`"+L+"`"}).join(", ");d.length===1?s("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o):d.length>1&&s("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,o)}}function Je(o,l){bn(o,l)||vt(o,l)}var We=!1;function Qn(o,l){{if(o!=="input"&&o!=="textarea"&&o!=="select")return;l!=null&&l.value===null&&!We&&(We=!0,o==="select"&&l.multiple?s("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",o):s("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",o))}}var Kn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qn=function(){};{var Be={},er=/^on./,Or=/^on[^A-Z]/,Fr=new RegExp("^(aria)-["+Ze+"]*$"),tr=new RegExp("^(aria)[A-Z]["+Ze+"]*$");qn=function(o,l,d,b){if(ce.call(Be,l)&&Be[l])return!0;var E=l.toLowerCase();if(E==="onfocusin"||E==="onfocusout")return s("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Be[l]=!0,!0;if(b!=null){var M=b.registrationNameDependencies,L=b.possibleRegistrationNames;if(M.hasOwnProperty(l))return!0;var N=L.hasOwnProperty(E)?L[E]:null;if(N!=null)return s("Invalid event handler property `%s`. Did you mean `%s`?",l,N),Be[l]=!0,!0;if(er.test(l))return s("Unknown event handler property `%s`. It will be ignored.",l),Be[l]=!0,!0}else if(er.test(l))return Or.test(l)&&s("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",l),Be[l]=!0,!0;if(Fr.test(l)||tr.test(l))return!0;if(E==="innerhtml")return s("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Be[l]=!0,!0;if(E==="aria")return s("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Be[l]=!0,!0;if(E==="is"&&d!==null&&d!==void 0&&typeof d!="string")return s("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),Be[l]=!0,!0;if(typeof d=="number"&&isNaN(d))return s("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",l),Be[l]=!0,!0;var n=mt(l),a=n!==null&&n.type===ze;if(Kn.hasOwnProperty(E)){var f=Kn[E];if(f!==l)return s("Invalid DOM property `%s`. Did you mean `%s`?",l,f),Be[l]=!0,!0}else if(!a&&l!==E)return s("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",l,E),Be[l]=!0,!0;return typeof d=="boolean"&&Nt(l,d,n,!1)?(d?s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,l,l,d,l):s('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,l,l,d,l,l,l),Be[l]=!0,!0):a?!0:Nt(l,d,n,!1)?(Be[l]=!0,!1):((d==="false"||d==="true")&&n!==null&&n.type===He&&(s("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,l,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',l,d),Be[l]=!0),!0)}}var Fn=function(o,l,d){{var b=[];for(var E in l){var M=qn(o,E,l[E],d);M||b.push(E)}var L=b.map(function(N){return"`"+N+"`"}).join(", ");b.length===1?s("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o):b.length>1&&s("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,o)}};function po(o,l,d){bn(o,l)||Fn(o,l,d)}var nr=function(){};{var qt=/^(?:webkit|moz|o)[A-Z]/,rr=/^-ms-/,Lr=/-(.)/g,at=/;\s*$/,Pt={},en={},xe=!1,tn=!1,Ln=function(o){return o.replace(Lr,function(l,d){return d.toUpperCase()})},wn=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported style property %s. Did you mean %s?",o,Ln(o.replace(rr,"ms-"))))},At=function(o){Pt.hasOwnProperty(o)&&Pt[o]||(Pt[o]=!0,s("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1)))},_n=function(o,l){en.hasOwnProperty(l)&&en[l]||(en[l]=!0,s(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,l.replace(at,"")))},$t=function(o,l){xe||(xe=!0,s("`NaN` is an invalid value for the `%s` css style property.",o))},Fe=function(o,l){tn||(tn=!0,s("`Infinity` is an invalid value for the `%s` css style property.",o))};nr=function(o,l){o.indexOf("-")>-1?wn(o):qt.test(o)?At(o):at.test(l)&&_n(o,l),typeof l=="number"&&(isNaN(l)?$t(o,l):isFinite(l)||Fe(o,l))}}var or=nr,ir=/["'&<>]/;function _r(o){le(o);var l=""+o,d=ir.exec(l);if(!d)return l;var b,E="",M,L=0;for(M=d.index;M<l.length;M++){switch(l.charCodeAt(M)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}L!==M&&(E+=l.substring(L,M)),L=M+1,E+=b}return L!==M?E+l.substring(L,M):E}function Ve(o){return typeof o=="boolean"||typeof o=="number"?""+o:_r(o)}var ar=/([A-Z])/g,mo=/^ms-/;function go(o){return o.replace(ar,"-$1").toLowerCase().replace(mo,"-ms-")}var It=/^[\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,sr=!1;function jn(o){!sr&&It.test(o)&&(sr=!0,s("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(o)))}var lr=Array.isArray;function kn(o){return lr(o)}var nn=F("<script>"),vo=F("<\/script>"),ur=F('<script src="'),Bn=F('<script type="module" src="'),rn=F('" async=""><\/script>');function Yt(o){return le(o),(""+o).replace(Mt,Tn)}var Mt=/(<\/|<)(s)(cript)/gi,Tn=function(o,l,d,b){return""+l+(d==="s"?"\\u0073":"\\u0053")+b};function Cn(o,l,d,b,E){var M=o===void 0?"":o,L=l===void 0?nn:F('<script nonce="'+Ve(l)+'">'),N=[];if(d!==void 0&&N.push(L,B(Yt(d)),vo),b!==void 0)for(var n=0;n<b.length;n++)N.push(ur,B(Ve(b[n])),rn);if(E!==void 0)for(var a=0;a<E.length;a++)N.push(Bn,B(Ve(E[a])),rn);return{bootstrapChunks:N,startInlineScript:L,placeholderPrefix:F(M+"P:"),segmentPrefix:F(M+"S:"),boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var ht=0,De=1,Dt=2,yt=3,Xe=4,Vn=5,Ot=6,Ft=7;function st(o,l){return{insertionMode:o,selectedValue:l}}function Gt(o){var l=o==="http://www.w3.org/2000/svg"?Dt:o==="http://www.w3.org/1998/Math/MathML"?yt:ht;return st(l,null)}function on(o,l,d){switch(l){case"select":return st(De,d.value!=null?d.value:d.defaultValue);case"svg":return st(Dt,null);case"math":return st(yt,null);case"foreignObject":return st(De,null);case"table":return st(Xe,null);case"thead":case"tbody":case"tfoot":return st(Vn,null);case"colgroup":return st(Ft,null);case"tr":return st(Ot,null)}return o.insertionMode>=Xe||o.insertionMode===ht?st(De,null):o}var cr=null;function fr(o){var l=o.nextSuspenseID++;return F(o.boundaryPrefix+l.toString(16))}function zn(o,l,d){var b=o.idPrefix,E=":"+b+"R"+l;return d>0&&(E+="H"+d.toString(32)),E+":"}function an(o){return Ve(o)}var dr=F("<!-- -->");function Wn(o,l,d,b){return l===""?b:(b&&o.push(dr),o.push(B(an(l))),!0)}function Un(o,l,d,b){d&&b&&o.push(dr)}var u=new Map;function g(o){var l=u.get(o);if(l!==void 0)return l;var d=F(Ve(go(o)));return u.set(o,d),d}var C=F(' style="'),R=F(":"),z=F(";");function j(o,l,d){if(typeof d!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var b=!0;for(var E in d)if(ce.call(d,E)){var M=d[E];if(!(M==null||typeof M=="boolean"||M==="")){var L=void 0,N=void 0,n=E.indexOf("--")===0;n?(L=B(Ve(E)),re(M,E),N=B(Ve((""+M).trim()))):(or(E,M),L=g(E),typeof M=="number"?M!==0&&!ce.call(Ie,E)?N=B(M+"px"):N=B(""+M):(re(M,E),N=B(Ve((""+M).trim())))),b?(b=!1,o.push(C,L,R,N)):o.push(z,L,R,N)}}b||o.push(ae)}var H=F(" "),Q=F('="'),ae=F('"'),fe=F('=""');function ue(o,l,d,b){switch(d){case"style":{j(o,l,b);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(d.length>2&&(d[0]==="o"||d[0]==="O")&&(d[1]==="n"||d[1]==="N"))){var E=mt(d);if(E!==null){switch(typeof b){case"function":case"symbol":return;case"boolean":if(!E.acceptsBooleans)return}var M=E.attributeName,L=B(M);switch(E.type){case He:b&&o.push(H,L,fe);return;case Ce:b===!0?o.push(H,L,fe):b===!1||o.push(H,L,Q,B(Ve(b)),ae);return;case dt:isNaN(b)||o.push(H,L,Q,B(Ve(b)),ae);break;case Pe:!isNaN(b)&&b>=1&&o.push(H,L,Q,B(Ve(b)),ae);break;default:E.sanitizeURL&&(ee(b,M),b=""+b,jn(b)),o.push(H,L,Q,B(Ve(b)),ae)}}else if(Se(d)){switch(typeof b){case"function":case"symbol":return;case"boolean":{var N=d.toLowerCase().slice(0,5);if(N!=="data-"&&N!=="aria-")return}}o.push(H,B(d),Q,B(Ve(b)),ae)}}}var ye=F(">"),lt=F("/>");function et(o,l,d){if(l!=null){if(d!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof l!="object"||!("__html"in l))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var b=l.__html;b!=null&&(le(b),o.push(B(""+b)))}}var tt=!1,Xt=!1,bt=!1,Nn=!1,sn=!1,En=!1,Zt=!1;function hr(o,l){{var d=o[l];if(d!=null){var b=kn(d);o.multiple&&!b?s("The `%s` prop supplied to <select> must be an array if `multiple` is true.",l):!o.multiple&&b&&s("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",l)}}}function da(o,l,d){On("select",l),hr(l,"value"),hr(l,"defaultValue"),l.value!==void 0&&l.defaultValue!==void 0&&!bt&&(s("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),bt=!0),o.push(xt("select"));var b=null,E=null;for(var M in l)if(ce.call(l,M)){var L=l[M];if(L==null)continue;switch(M){case"children":b=L;break;case"dangerouslySetInnerHTML":E=L;break;case"defaultValue":case"value":break;default:ue(o,d,M,L);break}}return o.push(ye),et(o,E,b),b}function ha(o){var l="";return e.Children.forEach(o,function(d){d!=null&&(l+=d,!sn&&typeof d!="string"&&typeof d!="number"&&(sn=!0,s("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),l}var yo=F(' selected=""');function pa(o,l,d,b){var E=b.selectedValue;o.push(xt("option"));var M=null,L=null,N=null,n=null;for(var a in l)if(ce.call(l,a)){var f=l[a];if(f==null)continue;switch(a){case"children":M=f;break;case"selected":N=f,Zt||(s("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zt=!0);break;case"dangerouslySetInnerHTML":n=f;break;case"value":L=f;default:ue(o,d,a,f);break}}if(E!=null){var h;if(L!==null?(ee(L,"value"),h=""+L):(n!==null&&(En||(En=!0,s("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),h=ha(M)),kn(E))for(var w=0;w<E.length;w++){ee(E[w],"value");var I=""+E[w];if(I===h){o.push(yo);break}}else ee(E,"select.value"),""+E===h&&o.push(yo)}else N&&o.push(yo);return o.push(ye),et(o,n,M),M}function bo(o,l,d){On("input",l),l.checked!==void 0&&l.defaultChecked!==void 0&&!Xt&&(s("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),Xt=!0),l.value!==void 0&&l.defaultValue!==void 0&&!tt&&(s("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",l.type),tt=!0),o.push(xt("input"));var b=null,E=null,M=null,L=null;for(var N in l)if(ce.call(l,N)){var n=l[N];if(n==null)continue;switch(N){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":L=n;break;case"defaultValue":E=n;break;case"checked":M=n;break;case"value":b=n;break;default:ue(o,d,N,n);break}}return M!==null?ue(o,d,"checked",M):L!==null&&ue(o,d,"checked",L),b!==null?ue(o,d,"value",b):E!==null&&ue(o,d,"value",E),o.push(lt),null}function Jt(o,l,d){On("textarea",l),l.value!==void 0&&l.defaultValue!==void 0&&!Nn&&(s("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Nn=!0),o.push(xt("textarea"));var b=null,E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":M=N;break;case"value":b=N;break;case"defaultValue":E=N;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ue(o,d,L,N);break}}if(b===null&&E!==null&&(b=E),o.push(ye),M!=null){if(s("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),b!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(kn(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");le(M[0]),b=""+M[0]}le(M),b=""+M}return typeof b=="string"&&b[0]===`
75
+ `&&o.push(Rn),b!==null&&(ee(b,"value"),o.push(B(an(""+b)))),null}function pr(o,l,d,b){o.push(xt(d));for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":case"dangerouslySetInnerHTML":throw new Error(d+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ue(o,b,E,M);break}}return o.push(lt),null}function jr(o,l,d){o.push(xt("menuitem"));for(var b in l)if(ce.call(l,b)){var E=l[b];if(E==null)continue;switch(b){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ue(o,d,b,E);break}}return o.push(ye),null}function Ee(o,l,d){o.push(xt("title"));var b=null;for(var E in l)if(ce.call(l,E)){var M=l[E];if(M==null)continue;switch(E){case"children":b=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ue(o,d,E,M);break}}o.push(ye);{var L=Array.isArray(b)&&b.length<2?b[0]||null:b;Array.isArray(b)&&b.length>1?s("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&L.$$typeof!=null?s("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&typeof L!="string"&&typeof L!="number"&&s("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return b}function ln(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}return o.push(ye),et(o,M,E),typeof E=="string"?(o.push(B(an(E))),null):E}function ut(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;case"style":j(o,b,N);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Se(L)&&typeof N!="function"&&typeof N!="symbol"&&o.push(H,B(L),Q,B(Ve(N)),ae);break}}return o.push(ye),et(o,M,E),E}var Rn=F(`
76
+ `);function un(o,l,d,b){o.push(xt(d));var E=null,M=null;for(var L in l)if(ce.call(l,L)){var N=l[L];if(N==null)continue;switch(L){case"children":E=N;break;case"dangerouslySetInnerHTML":M=N;break;default:ue(o,b,L,N);break}}if(o.push(ye),M!=null){if(E!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var n=M.__html;n!=null&&(typeof n=="string"&&n.length>0&&n[0]===`
77
+ `?o.push(Rn,B(n)):(le(n),o.push(B(""+n))))}return typeof E=="string"&&E[0]===`
78
+ `&&o.push(Rn),E}var Br=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,cn=new Map;function xt(o){var l=cn.get(o);if(l===void 0){if(!Br.test(o))throw new Error("Invalid tag: "+o);l=F("<"+o),cn.set(o,l)}return l}var xo=F("<!DOCTYPE html>");function So(o,l,d,b,E){switch(Je(l,d),Qn(l,d),po(l,d,null),!d.suppressContentEditableWarning&&d.contentEditable&&d.children!=null&&s("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),E.insertionMode!==Dt&&E.insertionMode!==yt&&l.indexOf("-")===-1&&typeof d.is!="string"&&l.toLowerCase()!==l&&s("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),l){case"select":return da(o,d,b);case"option":return pa(o,d,b,E);case"textarea":return Jt(o,d,b);case"input":return bo(o,d,b);case"menuitem":return jr(o,d,b);case"title":return Ee(o,d,b);case"listing":case"pre":return un(o,d,l,b);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return pr(o,d,l,b);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 ln(o,d,l,b);case"html":return E.insertionMode===ht&&o.push(xo),ln(o,d,l,b);default:return l.indexOf("-")===-1&&typeof d.is!="string"?ln(o,d,l,b):ut(o,d,l,b)}}var si=F("</"),li=F(">");function ui(o,l,d){switch(l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.push(si,B(l),li)}}function ma(o,l){for(var d=l.bootstrapChunks,b=0;b<d.length-1;b++)T(o,d[b]);return b<d.length?D(o,d[b]):!0}var ga=F('<template id="'),Vr=F('"></template>');function zr(o,l,d){T(o,ga),T(o,l.placeholderPrefix);var b=B(d.toString(16));return T(o,b),D(o,Vr)}var Wr=F("<!--$-->"),mr=F('<!--$?--><template id="'),va=F('"></template>'),gr=F("<!--$!-->"),wo=F("<!--/$-->"),ko=F("<template"),Hn=F('"'),$n=F(' data-dgst="'),Ur=F(' data-msg="'),ci=F(' data-stck="'),To=F("></template>");function fi(o,l){return D(o,Wr)}function Nr(o,l,d){if(T(o,mr),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),D(o,va)}function ct(o,l,d,b,E){var M;return M=D(o,gr),T(o,ko),d&&(T(o,$n),T(o,B(Ve(d))),T(o,Hn)),b&&(T(o,Ur),T(o,B(Ve(b))),T(o,Hn)),E&&(T(o,ci),T(o,B(Ve(E))),T(o,Hn)),M=D(o,To),M}function di(o,l){return D(o,wo)}function Hr(o,l){return D(o,wo)}function ya(o,l){return D(o,wo)}var hi=F('<div hidden id="'),$r=F('">'),pi=F("</div>"),mi=F('<svg aria-hidden="true" style="display:none" id="'),Yr=F('">'),Gr=F("</svg>"),gi=F('<math aria-hidden="true" style="display:none" id="'),vi=F('">'),yi=F("</math>"),Co=F('<table hidden id="'),bi=F('">'),c=F("</table>"),v=F('<table hidden><tbody id="'),k=F('">'),P=F("</tbody></table>"),W=F('<table hidden><tr id="'),V=F('">'),Y=F("</tr></table>"),K=F('<table hidden><colgroup id="'),de=F('">'),ve=F("</colgroup></table>");function ge(o,l,d,b){switch(d.insertionMode){case ht:case De:return T(o,hi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,$r);case Dt:return T(o,mi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,Yr);case yt:return T(o,gi),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,vi);case Xe:return T(o,Co),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,bi);case Vn:return T(o,v),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,k);case Ot:return T(o,W),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,V);case Ft:return T(o,K),T(o,l.segmentPrefix),T(o,B(b.toString(16))),D(o,de);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Re(o,l){switch(l.insertionMode){case ht:case De:return D(o,pi);case Dt:return D(o,Gr);case yt:return D(o,yi);case Xe:return D(o,c);case Vn:return D(o,P);case Ot:return D(o,Y);case Ft:return D(o,ve);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var ft="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",St='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',wt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Xr=F(ft+';$RS("'),xi=F('$RS("'),Eo=F('","'),Wl=F('")<\/script>');function Ul(o,l,d){T(o,l.startInlineScript),l.sentCompleteSegmentFunction?T(o,xi):(l.sentCompleteSegmentFunction=!0,T(o,Xr)),T(o,l.segmentPrefix);var b=B(d.toString(16));return T(o,b),T(o,Eo),T(o,l.placeholderPrefix),T(o,b),D(o,Wl)}var Nl=F(St+';$RC("'),Hl=F('$RC("'),$l=F('","'),Yl=F('")<\/script>');function ba(o,l,d,b){if(T(o,l.startInlineScript),l.sentCompleteBoundaryFunction?T(o,Hl):(l.sentCompleteBoundaryFunction=!0,T(o,Nl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var E=B(b.toString(16));return T(o,d),T(o,$l),T(o,l.segmentPrefix),T(o,E),D(o,Yl)}var Gl=F(wt+';$RX("'),Xl=F('$RX("'),xa=F('"'),Zl=F(")<\/script>"),Sa=F(",");function Cs(o,l,d,b,E,M){if(T(o,l.startInlineScript),l.sentClientRenderFunction?T(o,Xl):(l.sentClientRenderFunction=!0,T(o,Gl)),d===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return T(o,d),T(o,xa),(b||E||M)&&(T(o,Sa),T(o,B(wa(b||"")))),(E||M)&&(T(o,Sa),T(o,B(wa(E||"")))),M&&(T(o,Sa),T(o,B(wa(M)))),D(o,Zl)}var Es=/[<\u2028\u2029]/g;function wa(o){var l=JSON.stringify(o);return l.replace(Es,function(d){switch(d){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Lt=Object.assign,Jl=Symbol.for("react.element"),Rs=Symbol.for("react.portal"),kt=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),ka=Symbol.for("react.profiler"),Si=Symbol.for("react.provider"),wi=Symbol.for("react.context"),ki=Symbol.for("react.forward_ref"),Ro=Symbol.for("react.suspense"),Po=Symbol.for("react.suspense_list"),Ao=Symbol.for("react.memo"),Zr=Symbol.for("react.lazy"),Ta=Symbol.for("react.scope"),Ca=Symbol.for("react.debug_trace_mode"),Ti=Symbol.for("react.legacy_hidden"),Ql=Symbol.for("react.default_value"),As=Symbol.iterator,Kl="@@iterator";function ql(o){if(o===null||typeof o!="object")return null;var l=As&&o[As]||o[Kl];return typeof l=="function"?l:null}function Is(o,l,d){var b=o.displayName;if(b)return b;var E=l.displayName||l.name||"";return E!==""?d+"("+E+")":d}function Ms(o){return o.displayName||"Context"}function Le(o){if(o==null)return null;if(typeof o.tag=="number"&&s("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case kt:return"Fragment";case Rs:return"Portal";case ka:return"Profiler";case Ps:return"StrictMode";case Ro:return"Suspense";case Po:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case wi:var l=o;return Ms(l)+".Consumer";case Si:var d=o;return Ms(d._context)+".Provider";case ki:return Is(o,o.render,"ForwardRef");case Ao:var b=o.displayName||null;return b!==null?b:Le(o.type)||"Memo";case Zr:{var E=o,M=E._payload,L=E._init;try{return Le(L(M))}catch{return null}}}return null}var Io=0,Ea,Oe,Jr,Ra,Pa,Aa,Ia;function Ma(){}Ma.__reactDisabledLog=!0;function Ds(){{if(Io===0){Ea=console.log,Oe=console.info,Jr=console.warn,Ra=console.error,Pa=console.group,Aa=console.groupCollapsed,Ia=console.groupEnd;var o={configurable:!0,enumerable:!0,value:Ma,writable:!0};Object.defineProperties(console,{info:o,log:o,warn:o,error:o,group:o,groupCollapsed:o,groupEnd:o})}Io++}}function Os(){{if(Io--,Io===0){var o={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},o,{value:Ea}),info:Lt({},o,{value:Oe}),warn:Lt({},o,{value:Jr}),error:Lt({},o,{value:Ra}),group:Lt({},o,{value:Pa}),groupCollapsed:Lt({},o,{value:Aa}),groupEnd:Lt({},o,{value:Ia})})}Io<0&&s("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ci=r.ReactCurrentDispatcher,Da;function Mo(o,l,d){{if(Da===void 0)try{throw Error()}catch(E){var b=E.stack.trim().match(/\n( *(at )?)/);Da=b&&b[1]||""}return`
79
+ `+Da+o}}var Do=!1,Qr;{var Oo=typeof WeakMap=="function"?WeakMap:Map;Qr=new Oo}function Fo(o,l){if(!o||Do)return"";{var d=Qr.get(o);if(d!==void 0)return d}var b;Do=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=Ci.current,Ci.current=null,Ds();try{if(l){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(O){b=O}Reflect.construct(o,[],L)}else{try{L.call()}catch(O){b=O}o.call(L.prototype)}}else{try{throw Error()}catch(O){b=O}o()}}catch(O){if(O&&b&&typeof O.stack=="string"){for(var N=O.stack.split(`
80
+ `),n=b.stack.split(`
85
81
  `),a=N.length-1,f=n.length-1;a>=1&&f>=0&&N[a]!==n[f];)f--;for(;a>=1&&f>=0;a--,f--)if(N[a]!==n[f]){if(a!==1||f!==1)do if(a--,f--,f<0||N[a]!==n[f]){var h=`
86
- `+N[a].replace(" at new "," at ");return o.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",o.displayName)),typeof o=="function"&&qr.set(o,h),h}while(a>=1&&f>=0);break}}}finally{Fo=!1,Ri.current=M,_a(),Error.prepareStackTrace=E}var k=o?o.displayName||o.name:"",I=k?Oo(k):"";return typeof o=="function"&&qr.set(o,I),I}function Pi(o,l,d){return Lo(o,!0)}function La(o,l,d){return Lo(o,!1)}function _s(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Ls(o,l,d){if(o==null)return"";if(typeof o=="function")return Lo(o,_s(o));if(typeof o=="string")return Oo(o);switch(o){case Ao:return Oo("Suspense");case Io:return Oo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case Ci:return La(o.render);case Mo:return Ls(o.type,l,d);case Qr:{var x=o,E=x._payload,M=x._init;try{return Ls(M(E),l,d)}catch{}}}return""}var js={},ja=r.ReactDebugCurrentFrame;function eo(o){if(o){var l=o._owner,d=Ls(o.type,o._source,l?l.type:null);ja.setExtraStackFrame(d)}else ja.setExtraStackFrame(null)}function Bs(o,l,d,x,E){{var M=Function.call.bind(ce);for(var _ in o)if(M(o,_)){var N=void 0;try{if(typeof o[_]!="function"){var n=Error((x||"React class")+": "+d+" type `"+_+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[_]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[_](l,_,x,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(a){N=a}N&&!(N instanceof Error)&&(eo(E),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",x||"React class",d,_,typeof N),eo(null)),N instanceof Error&&!(N.message in js)&&(js[N.message]=!0,eo(E),s("Failed %s type: %s",d,N.message),eo(null))}}}var Ai;Ai={};var yr={};Object.freeze(yr);function Vs(o,l){{var d=o.contextTypes;if(!d)return yr;var x={};for(var E in d)x[E]=l[E];{var M=je(o)||"Unknown";Bs(d,x,"context",M)}return x}}function zs(o,l,d,x){{if(typeof o.getChildContext!="function"){{var E=je(l)||"Unknown";Ai[E]||(Ai[E]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=o.getChildContext();for(var _ in M)if(!(_ in x))throw new Error((je(l)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var N=je(l)||"Unknown";Bs(x,M,"child context",N)}return Lt({},d,M)}}var Gn;Gn={};var Ba=null,br=null;function xr(o){o.context._currentValue=o.parentValue}function Ws(o){o.context._currentValue=o.value}function hn(o,l){if(o!==l){xr(o);var d=o.parent,x=l.parent;if(d===null){if(x!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(x===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");hn(d,x)}Ws(l)}}function Ii(o){xr(o);var l=o.parent;l!==null&&Ii(l)}function Mi(o){var l=o.parent;l!==null&&Mi(l),Ws(o)}function jo(o,l){xr(o);var d=o.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===l.depth?hn(d,l):jo(d,l)}function Us(o,l){var d=l.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===d.depth?hn(o,d):Us(o,d),Ws(l)}function Bo(o){var l=br,d=o;l!==d&&(l===null?Mi(d):d===null?Ii(l):l.depth===d.depth?hn(l,d):l.depth>d.depth?jo(l,d):Us(l,d),br=d)}function Va(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Gn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Gn;var x=br,E={parent:x,depth:x===null?0:x.depth+1,context:o,parentValue:d,value:l};return br=E,E}function za(o){var l=br;if(l===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");l.context!==o&&s("The parent context is not the expected context. This is probably a bug in React.");{var d=l.parentValue;d===eu?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Gn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Gn}return br=l.parent}function Di(){return br}function Vo(o){var l=o._currentValue;return l}function Ns(o){return o._reactInternals}function ru(o,l){o._reactInternals=l}var to={},Oi={},Hs,Fi,_i,zo,Li,no,Wo,ji,ro;{Hs=new Set,Fi=new Set,_i=new Set,Wo=new Set,zo=new Set,ji=new Set,ro=new Set;var Bi=new Set;no=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;Bi.has(d)||(Bi.add(d),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},Li=function(o,l){if(l===void 0){var d=je(o)||"Component";zo.has(d)||(zo.add(d),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function Vi(o,l){{var d=o.constructor,x=d&&je(d)||"ReactClass",E=x+"."+l;if(to[E])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
82
+ `+N[a].replace(" at new "," at ");return o.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",o.displayName)),typeof o=="function"&&Qr.set(o,h),h}while(a>=1&&f>=0);break}}}finally{Do=!1,Ci.current=M,Os(),Error.prepareStackTrace=E}var w=o?o.displayName||o.name:"",I=w?Mo(w):"";return typeof o=="function"&&Qr.set(o,I),I}function Ei(o,l,d){return Fo(o,!0)}function Fs(o,l,d){return Fo(o,!1)}function Oa(o){var l=o.prototype;return!!(l&&l.isReactComponent)}function Fa(o,l,d){if(o==null)return"";if(typeof o=="function")return Fo(o,Oa(o));if(typeof o=="string")return Mo(o);switch(o){case Ro:return Mo("Suspense");case Po:return Mo("SuspenseList")}if(typeof o=="object")switch(o.$$typeof){case ki:return Fs(o.render);case Ao:return Fa(o.type,l,d);case Zr:{var b=o,E=b._payload,M=b._init;try{return Fa(M(E),l,d)}catch{}}}return""}var La={},Ls=r.ReactDebugCurrentFrame;function Kr(o){if(o){var l=o._owner,d=Fa(o.type,o._source,l?l.type:null);Ls.setExtraStackFrame(d)}else Ls.setExtraStackFrame(null)}function _a(o,l,d,b,E){{var M=Function.call.bind(ce);for(var L in o)if(M(o,L)){var N=void 0;try{if(typeof o[L]!="function"){var n=Error((b||"React class")+": "+d+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw n.name="Invariant Violation",n}N=o[L](l,L,b,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(a){N=a}N&&!(N instanceof Error)&&(Kr(E),s("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",b||"React class",d,L,typeof N),Kr(null)),N instanceof Error&&!(N.message in La)&&(La[N.message]=!0,Kr(E),s("Failed %s type: %s",d,N.message),Kr(null))}}}var Ri;Ri={};var vr={};Object.freeze(vr);function ja(o,l){{var d=o.contextTypes;if(!d)return vr;var b={};for(var E in d)b[E]=l[E];{var M=Le(o)||"Unknown";_a(d,b,"context",M)}return b}}function Ba(o,l,d,b){{if(typeof o.getChildContext!="function"){{var E=Le(l)||"Unknown";Ri[E]||(Ri[E]=!0,s("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=o.getChildContext();for(var L in M)if(!(L in b))throw new Error((Le(l)||"Unknown")+'.getChildContext(): key "'+L+'" is not defined in childContextTypes.');{var N=Le(l)||"Unknown";_a(b,M,"child context",N)}return Lt({},d,M)}}var Yn;Yn={};var _s=null,yr=null;function br(o){o.context._currentValue=o.parentValue}function Va(o){o.context._currentValue=o.value}function fn(o,l){if(o!==l){br(o);var d=o.parent,b=l.parent;if(d===null){if(b!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(b===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");fn(d,b)}Va(l)}}function Pi(o){br(o);var l=o.parent;l!==null&&Pi(l)}function Ai(o){var l=o.parent;l!==null&&Ai(l),Va(o)}function Lo(o,l){br(o);var d=o.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");d.depth===l.depth?fn(d,l):Lo(d,l)}function za(o,l){var d=l.parent;if(d===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===d.depth?fn(o,d):za(o,d),Va(l)}function _o(o){var l=yr,d=o;l!==d&&(l===null?Ai(d):d===null?Pi(l):l.depth===d.depth?fn(l,d):l.depth>d.depth?Lo(l,d):za(l,d),yr=d)}function js(o,l){var d;d=o._currentValue,o._currentValue=l,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn;var b=yr,E={parent:b,depth:b===null?0:b.depth+1,context:o,parentValue:d,value:l};return yr=E,E}function Bs(o){var l=yr;if(l===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");l.context!==o&&s("The parent context is not the expected context. This is probably a bug in React.");{var d=l.parentValue;d===Ql?l.context._currentValue=l.context._defaultValue:l.context._currentValue=d,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==Yn&&s("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=Yn}return yr=l.parent}function Ii(){return yr}function jo(o){var l=o._currentValue;return l}function Wa(o){return o._reactInternals}function eu(o,l){o._reactInternals=l}var qr={},Mi={},Ua,Di,Oi,Bo,Fi,eo,Vo,Li,to;{Ua=new Set,Di=new Set,Oi=new Set,Vo=new Set,Bo=new Set,Li=new Set,to=new Set;var _i=new Set;eo=function(o,l){if(!(o===null||typeof o=="function")){var d=l+"_"+o;_i.has(d)||(_i.add(d),s("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",l,o))}},Fi=function(o,l){if(l===void 0){var d=Le(o)||"Component";Bo.has(d)||(Bo.add(d),s("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}}}function ji(o,l){{var d=o.constructor,b=d&&Le(d)||"ReactClass",E=b+"."+l;if(qr[E])return;s(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
87
83
 
88
- Please check the code for the %s component.`,l,l,x),to[E]=!0}}var zi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var x=Ns(o);x.queue===null?Vi(o,"setState"):(x.queue.push(l),d!=null&&no(d,"setState"))},enqueueReplaceState:function(o,l,d){var x=Ns(o);x.replace=!0,x.queue=[l],d!=null&&no(d,"setState")},enqueueForceUpdate:function(o,l){var d=Ns(o);d.queue===null?Vi(o,"forceUpdate"):l!=null&&no(l,"setState")}};function Wa(o,l,d,x,E){var M=d(E,x);Li(l,M);var _=M==null?x:Lt({},x,M);return _}function Ua(o,l,d){var x=yr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===Ti&&E._context===void 0;if(!M&&!ro.has(o)){ro.add(o);var _="";E===void 0?_=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?_=" However, it is set to a "+typeof E+".":E.$$typeof===ki?_=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",je(o)||"Component",_)}}typeof E=="object"&&E!==null?x=Vo(E):x=d;var N=new o(l,x);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=je(o)||"Component";Hs.has(n)||(Hs.add(n),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",n,N.state===null?"null":"undefined",n))}if(typeof o.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"){var a=null,f=null,h=null;if(typeof N.componentWillMount=="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof N.UNSAFE_componentWillMount=="function"&&(a="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate=="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?h="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate=="function"&&(h="UNSAFE_componentWillUpdate"),a!==null||f!==null||h!==null){var k=je(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";_i.has(k)||(_i.add(k),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
84
+ Please check the code for the %s component.`,l,l,b),qr[E]=!0}}var Bi={isMounted:function(o){return!1},enqueueSetState:function(o,l,d){var b=Wa(o);b.queue===null?ji(o,"setState"):(b.queue.push(l),d!=null&&eo(d,"setState"))},enqueueReplaceState:function(o,l,d){var b=Wa(o);b.replace=!0,b.queue=[l],d!=null&&eo(d,"setState")},enqueueForceUpdate:function(o,l){var d=Wa(o);d.queue===null?ji(o,"forceUpdate"):l!=null&&eo(l,"setState")}};function Vs(o,l,d,b,E){var M=d(E,b);Fi(l,M);var L=M==null?b:Lt({},b,M);return L}function zs(o,l,d){var b=vr,E=o.contextType;if("contextType"in o){var M=E===null||E!==void 0&&E.$$typeof===wi&&E._context===void 0;if(!M&&!to.has(o)){to.add(o);var L="";E===void 0?L=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof E!="object"?L=" However, it is set to a "+typeof E+".":E.$$typeof===Si?L=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",s("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(o)||"Component",L)}}typeof E=="object"&&E!==null?b=jo(E):b=d;var N=new o(l,b);{if(typeof o.getDerivedStateFromProps=="function"&&(N.state===null||N.state===void 0)){var n=Le(o)||"Component";Ua.has(n)||(Ua.add(n),s("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",n,N.state===null?"null":"undefined",n))}if(typeof o.getDerivedStateFromProps=="function"||typeof N.getSnapshotBeforeUpdate=="function"){var a=null,f=null,h=null;if(typeof N.componentWillMount=="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?a="componentWillMount":typeof N.UNSAFE_componentWillMount=="function"&&(a="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps=="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate=="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?h="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate=="function"&&(h="UNSAFE_componentWillUpdate"),a!==null||f!==null||h!==null){var w=Le(o)||"Component",I=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Oi.has(w)||(Oi.add(w),s(`Unsafe legacy lifecycles will not be called for components using new component APIs.
89
85
 
90
86
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
91
87
 
92
88
  The above lifecycles should be removed. Learn more about this warning here:
93
- https://reactjs.org/link/unsafe-component-lifecycles`,k,I,a!==null?`
89
+ https://reactjs.org/link/unsafe-component-lifecycles`,w,I,a!==null?`
94
90
  `+a:"",f!==null?`
95
91
  `+f:"",h!==null?`
96
- `+h:""))}}}return N}function Na(o,l,d){{var x=je(l)||"Component",E=o.render;E||(l.prototype&&typeof l.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",x):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",x)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),o.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",x),o.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),o.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",x),l.contextType&&l.contextTypes&&!ji.has(l)&&(ji.add(l),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",x)),typeof o.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),l.prototype&&l.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",je(l)||"A pure component"),typeof o.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof o.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof o.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof o.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x);var M=o.props!==d;o.props!==void 0&&M&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x,x),o.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Fi.has(l)&&(Fi.add(l),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",je(l))),typeof o.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof o.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof l.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x);var _=o.state;_&&(typeof _!="object"||Tn(_))&&s("%s.state: must be set to an object or null",x),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x)}}function ou(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var x=je(o)||"Unknown";Oi[x]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
92
+ `+h:""))}}}return N}function Ws(o,l,d){{var b=Le(l)||"Component",E=o.render;E||(l.prototype&&typeof l.prototype.render=="function"?s("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",b):s("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",b)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&s("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",b),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&s("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",b),o.propTypes&&s("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",b),o.contextType&&s("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),o.contextTypes&&s("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",b),l.contextType&&l.contextTypes&&!Li.has(l)&&(Li.add(l),s("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",b)),typeof o.componentShouldUpdate=="function"&&s("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",b),l.prototype&&l.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&s("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(l)||"A pure component"),typeof o.componentDidUnmount=="function"&&s("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",b),typeof o.componentDidReceiveProps=="function"&&s("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",b),typeof o.componentWillRecieveProps=="function"&&s("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof o.UNSAFE_componentWillRecieveProps=="function"&&s("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b);var M=o.props!==d;o.props!==void 0&&M&&s("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",b,b),o.defaultProps&&s("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",b,b),typeof o.getSnapshotBeforeUpdate=="function"&&typeof o.componentDidUpdate!="function"&&!Di.has(l)&&(Di.add(l),s("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(l))),typeof o.getDerivedStateFromProps=="function"&&s("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof o.getDerivedStateFromError=="function"&&s("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof l.getSnapshotBeforeUpdate=="function"&&s("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",b);var L=o.state;L&&(typeof L!="object"||kn(L))&&s("%s.state: must be set to an object or null",b),typeof o.getChildContext=="function"&&typeof l.childContextTypes!="object"&&s("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b)}}function tu(o,l){var d=l.state;if(typeof l.componentWillMount=="function"){if(l.componentWillMount.__suppressDeprecationWarning!==!0){var b=Le(o)||"Unknown";Mi[b]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
97
93
 
98
94
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
99
95
 
100
- Please update the following components: %s`,x),Oi[x]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",je(o)||"Component"),zi.enqueueReplaceState(l,l.state,null))}function iu(o,l,d,x){if(o.queue!==null&&o.queue.length>0){var E=o.queue,M=o.replace;if(o.queue=null,o.replace=!1,M&&E.length===1)l.state=E[0];else{for(var _=M?E[0]:l.state,N=!0,n=M?1:0;n<E.length;n++){var a=E[n],f=typeof a=="function"?a.call(l,_,d,x):a;f!=null&&(N?(N=!1,_=Lt({},_,f)):Lt(_,f))}l.state=_}}else o.queue=null}function Ha(o,l,d,x){Na(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=zi,o.props=d,o.state=E;var M={queue:[],replace:!1};ru(o,M);var _=l.contextType;if(typeof _=="object"&&_!==null?o.context=Vo(_):o.context=x,o.state===d){var N=je(l)||"Component";Wo.has(N)||(Wo.add(N),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))}var n=l.getDerivedStateFromProps;typeof n=="function"&&(o.state=Wa(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(ou(l,o),iu(M,o,d,x))}var su={id:1,overflow:""};function au(o){var l=o.overflow,d=o.id,x=d&~lu(d);return x.toString(32)+l}function Wi(o,l,d){var x=o.id,E=o.overflow,M=Ui(x)-1,_=x&~(1<<M),N=d+1,n=Ui(l)+M;if(n>30){var a=M-M%5,f=(1<<a)-1,h=(_&f).toString(32),k=_>>a,I=M-a,O=Ui(l)+I,U=N<<I,J=U|k,ie=h+E;return{id:1<<O|J,overflow:ie}}else{var ae=N<<M,ge=ae|_,Oe=E;return{id:1<<n|ge,overflow:Oe}}}function Ui(o){return 32-$s(o)}function lu(o){return 1<<Ui(o)-1}var $s=Math.clz32?Math.clz32:cu,Ni=Math.log,uu=Math.LN2;function cu(o){var l=o>>>0;return l===0?32:31-(Ni(l)/uu|0)|0}function fu(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var du=typeof Object.is=="function"?Object.is:fu,An=null,Ys=null,Hi=null,Se=null,Sr=!1,wr=!1,Ee=0,jt=null,kr=0,$i=25,rt=!1,In;function Tr(){if(An===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
96
+ Please update the following components: %s`,b),Mi[b]=!0)}l.componentWillMount()}typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),d!==l.state&&(s("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Le(o)||"Component"),Bi.enqueueReplaceState(l,l.state,null))}function nu(o,l,d,b){if(o.queue!==null&&o.queue.length>0){var E=o.queue,M=o.replace;if(o.queue=null,o.replace=!1,M&&E.length===1)l.state=E[0];else{for(var L=M?E[0]:l.state,N=!0,n=M?1:0;n<E.length;n++){var a=E[n],f=typeof a=="function"?a.call(l,L,d,b):a;f!=null&&(N?(N=!1,L=Lt({},L,f)):Lt(L,f))}l.state=L}}else o.queue=null}function Us(o,l,d,b){Ws(o,l,d);var E=o.state!==void 0?o.state:null;o.updater=Bi,o.props=d,o.state=E;var M={queue:[],replace:!1};eu(o,M);var L=l.contextType;if(typeof L=="object"&&L!==null?o.context=jo(L):o.context=b,o.state===d){var N=Le(l)||"Component";Vo.has(N)||(Vo.add(N),s("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",N))}var n=l.getDerivedStateFromProps;typeof n=="function"&&(o.state=Vs(o,l,n,E,d)),typeof l.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(tu(l,o),nu(M,o,d,b))}var ru={id:1,overflow:""};function ou(o){var l=o.overflow,d=o.id,b=d&~iu(d);return b.toString(32)+l}function Vi(o,l,d){var b=o.id,E=o.overflow,M=zi(b)-1,L=b&~(1<<M),N=d+1,n=zi(l)+M;if(n>30){var a=M-M%5,f=(1<<a)-1,h=(L&f).toString(32),w=L>>a,I=M-a,O=zi(l)+I,U=N<<I,J=U|w,ie=h+E;return{id:1<<O|J,overflow:ie}}else{var se=N<<M,me=se|L,Me=E;return{id:1<<n|me,overflow:Me}}}function zi(o){return 32-Na(o)}function iu(o){return 1<<zi(o)-1}var Na=Math.clz32?Math.clz32:su,Wi=Math.log,au=Math.LN2;function su(o){var l=o>>>0;return l===0?32:31-(Wi(l)/au|0)|0}function lu(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var uu=typeof Object.is=="function"?Object.is:lu,Pn=null,Ha=null,Ui=null,be=null,xr=!1,Sr=!1,Te=0,_t=null,wr=0,Ni=25,nt=!1,An;function kr(){if(Pn===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
101
97
  1. You might have mismatching versions of React and the renderer (such as React DOM)
102
98
  2. You might be breaking the Rules of Hooks
103
99
  3. You might have more than one copy of React in the same app
104
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return rt&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),An}function pn(o,l){if(l===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",In),!1;o.length!==l.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
100
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return nt&&s("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Pn}function dn(o,l){if(l===null)return s("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",An),!1;o.length!==l.length&&s(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
105
101
 
106
102
  Previous: %s
107
- Incoming: %s`,In,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!du(o[d],l[d]))return!1;return!0}function Cr(){if(kr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Mn(){return Se===null?Hi===null?(Sr=!1,Hi=Se=Cr()):(Sr=!0,Se=Hi):Se.next===null?(Sr=!1,Se=Se.next=Cr()):(Sr=!0,Se=Se.next),Se}function hu(o,l){An=l,Ys=o,rt=!1,Ee=0}function $a(o,l,d,x){for(;wr;)wr=!1,Ee=0,kr+=1,Se=null,d=o(l,x);return Gs(),d}function Yi(){var o=Ee!==0;return o}function Gs(){rt=!1,An=null,Ys=null,wr=!1,Hi=null,kr=0,jt=null,Se=null}function pu(o){return rt&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(o)}function Ya(o){return In="useContext",Tr(),Vo(o)}function Uo(o,l){return typeof l=="function"?l(o):l}function mu(o){return In="useState",Ga(Uo,o)}function Ga(o,l,d){if(o!==Uo&&(In="useReducer"),An=Tr(),Se=Mn(),Sr){var x=Se.queue,E=x.dispatch;if(jt!==null){var M=jt.get(x);if(M!==void 0){jt.delete(x);var _=Se.memoizedState,N=M;do{var n=N.action;rt=!0,_=o(_,n),rt=!1,N=N.next}while(N!==null);return Se.memoizedState=_,[_,E]}}return[Se.memoizedState,E]}else{rt=!0;var a;o===Uo?a=typeof l=="function"?l():l:a=d!==void 0?d(l):l,rt=!1,Se.memoizedState=a;var f=Se.queue={last:null,dispatch:null},h=f.dispatch=Za.bind(null,An,f);return[Se.memoizedState,h]}}function Gi(o,l){An=Tr(),Se=Mn();var d=l===void 0?null:l;if(Se!==null){var x=Se.memoizedState;if(x!==null&&d!==null){var E=x[1];if(pn(d,E))return x[0]}}rt=!0;var M=o();return rt=!1,Se.memoizedState=[M,d],M}function gu(o){An=Tr(),Se=Mn();var l=Se.memoizedState;if(l===null){var d={current:o};return Object.seal(d),Se.memoizedState=d,d}else return l}function Xa(o,l){In="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Za(o,l,d){if(kr>=$i)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===An){wr=!0;var x={action:d,next:null};jt===null&&(jt=new Map);var E=jt.get(l);if(E===void 0)jt.set(l,x);else{for(var M=E;M.next!==null;)M=M.next;M.next=x}}}function vu(o,l){return Gi(function(){return o},l)}function yu(o,l,d){return Tr(),l(o._source)}function bu(o,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function xu(o){return Tr(),o}function Su(){throw new Error("startTransition cannot be called during server rendering.")}function wu(){return Tr(),[!1,Su]}function ku(){var o=Ys,l=au(o.treeContext),d=Xs;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var x=Ee++;return Wn(d,l,x)}function Xi(){}var Ja={readContext:pu,useContext:Ya,useMemo:Gi,useReducer:Ga,useRef:gu,useState:mu,useInsertionEffect:Xi,useLayoutEffect:Xa,useCallback:vu,useImperativeHandle:Xi,useEffect:Xi,useDebugValue:Xi,useDeferredValue:xu,useTransition:wu,useId:ku,useMutableSource:yu,useSyncExternalStore:bu},Xs=null;function No(o){Xs=o}function Qa(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Oo(d.type,null,null);break;case 1:l+=La(d.type,null,null);break;case 2:l+=Pi(d.type,null,null);break}d=d.parent}while(d);return l}catch(x){return`
108
- Error generating stack: `+x.message+`
109
- `+x.stack}}var Ho=r.ReactCurrentDispatcher,Zi=r.ReactDebugCurrentFrame,Zs=0,Xn=1,Ji=2,Qi=3,Er=4,Ka=0,Js=1,Rr=2,Tu=12800;function qa(o){return console.error(o),null}function mn(){}function Cu(o,l,d,x,E,M,_,N,n){var a=[],f=new Set,h={destination:null,responseState:l,progressiveChunkSize:x===void 0?Tu:x,status:Ka,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?qa:E,onAllReady:M===void 0?mn:M,onShellReady:_===void 0?mn:_,onShellError:N===void 0?mn:N,onFatalError:n===void 0?mn:n},k=Ki(h,0,null,d,!1,!1);k.parentFlushed=!0;var I=Qs(h,o,null,k,f,yr,Ba,su);return a.push(I),h}function Eu(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&g(function(){return Jo(o)})}function $o(o,l){return{id:fr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Qs(o,l,d,x,E,M,_,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return Eu(o,n)},blockedBoundary:d,blockedSegment:x,abortSet:E,legacyContext:M,context:_,treeContext:N};return n.componentStack=null,E.add(n),n}function Ki(o,l,d,x,E,M){return{status:Zs,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:x,boundary:d,lastPushedText:E,textEmbedded:M}}var Dn=null;function Yo(){return Dn===null||Dn.componentStack===null?"":Qa(Dn.componentStack)}function Zn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function gn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function Ks(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function Bt(o){o.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var oo=null;function qs(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var x=oo||Yo();oo=null,o.errorMessage=d,o.errorComponentStack=x}}function Vt(o,l){var d=o.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Jn(o,l){var d=o.onShellError;d(l);var x=o.onFatalError;x(l),o.destination!==null?(o.status=Rr,Z(o.destination,l)):(o.status=Js,o.fatalError=l)}function ea(o,l,d){Zn(l,"Suspense");var x=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,_=d.children,N=new Set,n=$o(o,N),a=E.chunks.length,f=Ki(o,a,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var h=Ki(o,0,null,E.formatContext,!1,!1);h.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=h;try{if(ua(o,l,_),Nn(h.chunks,o.responseState,h.lastPushedText,h.textEmbedded),h.status=Xn,ts(n,h),n.pendingTasks===0){Bt(l);return}}catch(I){h.status=Er,n.forceClientRender=!0,n.errorDigest=Vt(o,I),qs(n,I)}finally{l.blockedBoundary=x,l.blockedSegment=E}var k=Qs(o,M,x,f,N,l.legacyContext,l.context,l.treeContext);k.componentStack=l.componentStack,o.pingedTasks.push(k),Bt(l)}function Go(o,l,d,x){Zn(l,d);var E=l.blockedSegment,M=ko(E.chunks,d,x,o.responseState,E.formatContext);E.lastPushedText=!1;var _=E.formatContext;E.formatContext=an(_,d,x),ua(o,l,M),E.formatContext=_,fi(E.chunks,d),E.lastPushedText=!1,Bt(l)}function qi(o){return o.prototype&&o.prototype.isReactComponent}function el(o,l,d,x,E){var M={};hu(l,M);var _=d(x,E);return $a(d,x,_,E)}function tl(o,l,d,x,E){var M=d.render();d.props!==E&&(Zo||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",je(x)||"a component"),Zo=!0);{var _=x.childContextTypes;if(_!=null){var N=l.legacyContext,n=zs(d,x,N,_);l.legacyContext=n,Ct(o,l,M),l.legacyContext=N;return}}Ct(o,l,M)}function Ru(o,l,d,x){Ks(l,d);var E=Vs(d,l.legacyContext),M=Ua(d,x,E);Ha(M,d,x,E),tl(o,l,M,d,x),Bt(l)}var ta={},Xo={},nl={},na={},Zo=!1,ra=!1,oa=!1,ia=!1;function rl(o,l,d,x){var E;if(E=Vs(d,l.legacyContext),gn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=je(d)||"Unknown";ta[M]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),ta[M]=!0)}var _=el(o,l,d,x,E),N=Yi();if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var n=je(d)||"Unknown";Xo[n]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",n,n,n),Xo[n]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var a=je(d)||"Unknown";Xo[a]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",a,a,a),Xo[a]=!0)}Ha(_,d,x,E),tl(o,l,_,d,x)}else if(ol(d),N){var f=l.treeContext,h=1,k=0;l.treeContext=Wi(f,h,k);try{Ct(o,l,_)}finally{l.treeContext=f}}else Ct(o,l,_);Bt(l)}function ol(o){{if(o&&o.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"){var l=je(o)||"Unknown";na[l]||(s("%s: Function components do not support getDerivedStateFromProps.",l),na[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=je(o)||"Unknown";nl[d]||(s("%s: Function components do not support contextType.",d),nl[d]=!0)}}}function sa(o,l){if(o&&o.defaultProps){var d=Lt({},l),x=o.defaultProps;for(var E in x)d[E]===void 0&&(d[E]=x[E]);return d}return l}function Pu(o,l,d,x,E){gn(l,d.render);var M=el(o,l,d.render,x,E),_=Yi();if(_){var N=l.treeContext,n=1,a=0;l.treeContext=Wi(N,n,a);try{Ct(o,l,M)}finally{l.treeContext=N}}else Ct(o,l,M);Bt(l)}function Au(o,l,d,x,E){var M=d.type,_=sa(M,x);aa(o,l,M,_,E)}function il(o,l,d,x){d._context===void 0?d!==d.Consumer&&(ia||(ia=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var E=x.children;typeof E!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var M=Vo(d),_=E(M);Ct(o,l,_)}function Iu(o,l,d,x){var E=d._context,M=x.value,_=x.children,N;N=l.context,l.context=Va(E,M),Ct(o,l,_),l.context=za(E),N!==l.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Mu(o,l,d,x,E){Zn(l,"Lazy");var M=d._payload,_=d._init,N=_(M),n=sa(N,x);aa(o,l,N,n,E),Bt(l)}function aa(o,l,d,x,E){if(typeof d=="function")if(qi(d)){Ru(o,l,d,x);return}else{rl(o,l,d,x);return}if(typeof d=="string"){Go(o,l,d,x);return}switch(d){case Ei:case Rs:case Ia:case Cs:case Tt:{Ct(o,l,x.children);return}case Io:{Zn(l,"SuspenseList"),Ct(o,l,x.children),Bt(l);return}case Es:throw new Error("ReactDOMServer does not yet support scope components.");case Ao:{ea(o,l,x);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case Ci:{Pu(o,l,d,x,E);return}case Mo:{Au(o,l,d,x,E);return}case ki:{Iu(o,l,d,x);return}case Ti:{il(o,l,d,x);return}case Qr:{Mu(o,l,d,x);return}}var M="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+M))}function Du(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(ra||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ra=!0),o.entries===l&&(oa||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oa=!0)}function Ct(o,l,d){try{return la(o,l,d)}catch(x){throw typeof x=="object"&&x!==null&&typeof x.then=="function"||(oo=oo!==null?oo:Yo()),x}}function la(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case ql:{var x=d,E=x.type,M=x.props,_=x.ref;aa(o,l,E,M,_);return}case Aa:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qr:{var N=d,n=N._payload,a=N._init,f;try{f=a(n)}catch(ae){throw typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&Zn(l,"Lazy"),ae}Ct(o,l,f);return}}if(Tn(d)){sl(o,l,d);return}var h=nu(d);if(h){Du(d,h);var k=h.call(d);if(k){var I=k.next();if(!I.done){var O=[];do O.push(I.value),I=k.next();while(!I.done);sl(o,l,O);return}return}}var U=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var J=l.blockedSegment;J.lastPushedText=Un(l.blockedSegment.chunks,d,o.responseState,J.lastPushedText);return}if(typeof d=="number"){var ie=l.blockedSegment;ie.lastPushedText=Un(l.blockedSegment.chunks,""+d,o.responseState,ie.lastPushedText);return}typeof d=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function sl(o,l,d){for(var x=d.length,E=0;E<x;E++){var M=l.treeContext;l.treeContext=Wi(M,x,E);try{ua(o,l,d[E])}finally{l.treeContext=M}}}function Et(o,l,d){var x=l.blockedSegment,E=x.chunks.length,M=Ki(o,E,null,x.formatContext,x.lastPushedText,!0);x.children.push(M),x.lastPushedText=!1;var _=Qs(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(_.componentStack=l.componentStack.parent);var N=_.ping;d.then(N,N)}function ua(o,l,d){var x=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,_=null;_=l.componentStack;try{return Ct(o,l,d)}catch(N){if(Gs(),typeof N=="object"&&N!==null&&typeof N.then=="function"){Et(o,l,N),l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=_;return}else throw l.blockedSegment.formatContext=x,l.legacyContext=E,l.context=M,Bo(M),l.componentStack=_,N}}function al(o,l,d,x){var E=Vt(o,x);if(l===null?Jn(o,x):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,qs(l,x),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Ou(o){var l=this,d=o.blockedBoundary,x=o.blockedSegment;x.status=Qi,ll(l,d,x)}function es(o,l,d){var x=o.blockedBoundary,E=o.blockedSegment;if(E.status=Qi,x===null)l.allPendingTasks--,l.status!==Rr&&(l.status=Rr,l.destination!==null&&H(l.destination));else{if(x.pendingTasks--,!x.forceClientRender){x.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;x.errorDigest=l.onError(M);{var _="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=_+M.message:M=_+String(M);var N=Dn;Dn=o;try{qs(x,M)}finally{Dn=N}}x.parentFlushed&&l.clientRenderedBoundaries.push(x)}if(x.fallbackAbortableTasks.forEach(function(a){return es(a,l,d)}),x.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function ts(o,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===Xn&&ts(o,d)}else{var x=o.completedSegments;x.push(l)}}function ll(o,l,d){if(l===null){if(d.parentFlushed){if(o.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");o.completedRootSegment=d}if(o.pendingRootTasks--,o.pendingRootTasks===0){o.onShellError=mn;var x=o.onShellReady;x()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Xn&&ts(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Ou,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Xn){ts(l,d);var E=l.completedSegments;E.length===1&&l.parentFlushed&&o.partialBoundaries.push(l)}}if(o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function ul(o,l){var d=l.blockedSegment;if(d.status===Zs){Bo(l.context);var x=null;x=Dn,Dn=l;try{Ct(o,l,l.node),Nn(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Xn,ll(o,l.blockedBoundary,d)}catch(M){if(Gs(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Er,al(o,l.blockedBoundary,d,M)}finally{Dn=x}}}function Jo(o){if(o.status!==Rr){var l=Di(),d=Ho.current;Ho.current=Ja;var x;x=Zi.getCurrentStack,Zi.getCurrentStack=Yo;var E=Xs;No(o.responseState);try{var M=o.pingedTasks,_;for(_=0;_<M.length;_++){var N=M[_];ul(o,N)}M.splice(0,_),o.destination!==null&&rs(o,o.destination)}catch(n){Vt(o,n),Jn(o,n)}finally{No(E),Ho.current=d,Zi.getCurrentStack=x,d===Ja&&Bo(l)}}}function Qo(o,l,d){switch(d.parentFlushed=!0,d.status){case Zs:{var x=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,Ur(l,o.responseState,x)}case Xn:{d.status=Ji;for(var E=!0,M=d.chunks,_=0,N=d.children,n=0;n<N.length;n++){for(var a=N[n];_<a.index;_++)w(l,M[_]);E=ns(o,l,a)}for(;_<M.length-1;_++)w(l,M[_]);return _<M.length&&(E=D(l,M[_])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ns(o,l,d){var x=d.boundary;if(x===null)return Qo(o,l,d);if(x.parentFlushed=!0,x.forceClientRender)return ft(l,o.responseState,x.errorDigest,x.errorMessage,x.errorComponentStack),Qo(o,l,d),xs(l,o.responseState);if(x.pendingTasks>0){x.rootSegmentID=o.nextSegmentId++,x.completedSegments.length>0&&o.partialBoundaries.push(x);var E=x.id=dr(o.responseState);return $r(l,o.responseState,E),Qo(o,l,d),Yr(l,o.responseState)}else{if(x.byteSize>o.progressiveChunkSize)return x.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(x),$r(l,o.responseState,x.id),Qo(o,l,d),Yr(l,o.responseState);hi(l,o.responseState);var M=x.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var _=M[0];return ns(o,l,_),pi(l,o.responseState)}}function cl(o,l,d){return Ra(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Ko(o,l,d){return ve(l,o.responseState,d.formatContext,d.id),ns(o,l,d),Ae(l,d.formatContext)}function qo(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];ca(o,l,d,M)}return x.length=0,Ss(l,o.responseState,d.id,d.rootSegmentID)}function Fu(o,l,d){for(var x=d.completedSegments,E=0;E<x.length;E++){var M=x[E];if(!ca(o,l,d,M))return E++,x.splice(0,E),!1}return x.splice(0,E),!0}function ca(o,l,d,x){if(x.status===Ji)return!0;var E=x.id;if(E===-1){var M=x.id=d.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ko(o,l,x)}else return Ko(o,l,x),$l(l,o.responseState,E)}function rs(o,l){A();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(ns(o,l,d),o.completedRootSegment=null,vs(l,o.responseState));var x=o.clientRenderedBoundaries,E;for(E=0;E<x.length;E++){var M=x[E];cl(o,l,M)}x.splice(0,E);var _=o.completedBoundaries;for(E=0;E<_.length;E++){var N=_[E];qo(o,l,N)}_.splice(0,E),L(l),A(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var a=n[E];if(!Fu(o,l,a)){o.destination=null,E++,n.splice(0,E);return}}n.splice(0,E);var f=o.completedBoundaries;for(E=0;E<f.length;E++){var h=f[E];qo(o,l,h)}f.splice(0,E)}finally{L(l),o.allPendingTasks===0&&o.pingedTasks.length===0&&o.clientRenderedBoundaries.length===0&&o.completedBoundaries.length===0&&(o.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),H(l))}}function _u(o){g(function(){return Jo(o)})}function fl(o,l){if(o.status===Js){o.status=Rr,Z(l,o.fatalError);return}if(o.status!==Rr&&o.destination===null){o.destination=l;try{rs(o,l)}catch(d){Vt(o,d),Jn(o,d)}}}function os(o,l){try{var d=o.abortableTasks;d.forEach(function(x){return es(x,o,l)}),d.clear(),o.destination!==null&&rs(o,o.destination)}catch(x){Vt(o,x),Jn(o,x)}}function Lu(o,l){return new Promise(function(d,x){var E,M,_=new Promise(function(k,I){M=k,E=I});function N(){var k=new ReadableStream({type:"bytes",pull:function(I){fl(a,I)},cancel:function(I){os(a)}},{highWaterMark:0});k.allReady=_,d(k)}function n(k){_.catch(function(){}),x(k)}var a=Cu(o,En(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),Xt(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,M,N,n,E);if(l&&l.signal){var f=l.signal,h=function(){os(a,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}_u(a)})}wl.renderToReadableStream=Lu,wl.version=t}()),wl}var si,pc;process.env.NODE_ENV==="production"?(si=Hb(),pc=$b()):(si=Yb(),pc=Gb());si.version;var Xb=si.renderToString;si.renderToStaticMarkup;si.renderToNodeStream;si.renderToStaticNodeStream;pc.renderToReadableStream;var Zb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qh(e,t){return e(t={exports:{}},t.exports),t.exports}var Jb=Qh(function(e){(function(t){var r=function(B,F,Z){if(!m(F)||A(F)||w(F)||D(F)||S(F))return F;var X,ee=0,ne=0;if(b(F))for(X=[],ne=F.length;ee<ne;ee++)X.push(r(B,F[ee],Z));else for(var te in X={},F)Object.prototype.hasOwnProperty.call(F,te)&&(X[B(te,Z)]=r(B,F[te],Z));return X},i=function(B){return L(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(F,Z){return Z?Z.toUpperCase():""})).substr(0,1).toLowerCase()+B.substr(1)},s=function(B){var F=i(B);return F.substr(0,1).toUpperCase()+F.substr(1)},p=function(B,F){return function(Z,X){var ee=(X=X||{}).separator||"_",ne=X.split||/(?=[A-Z])/;return Z.split(ne).join(ee)}(B,F).toLowerCase()},g=Object.prototype.toString,S=function(B){return typeof B=="function"},m=function(B){return B===Object(B)},b=function(B){return g.call(B)=="[object Array]"},A=function(B){return g.call(B)=="[object Date]"},w=function(B){return g.call(B)=="[object RegExp]"},D=function(B){return g.call(B)=="[object Boolean]"},L=function(B){return(B-=0)==B},H=function(B,F){var Z=F&&"process"in F?F.process:F;return typeof Z!="function"?B:function(X,ee){return Z(X,B,ee)}},Y={camelize:i,decamelize:p,pascalize:s,depascalize:p,camelizeKeys:function(B,F){return r(H(i,F),B)},decamelizeKeys:function(B,F){return r(H(p,F),B,F)},pascalizeKeys:function(B,F){return r(H(s,F),B)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=Y:t.humps=Y})(Zb)}).decamelize,Qb=function(e){if(Array.isArray(e))return e},Kb=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,p=void 0;try{for(var g,S=e[Symbol.iterator]();!(i=(g=S.next()).done)&&(r.push(g.value),!t||r.length!==t);i=!0);}catch(m){s=!0,p=m}finally{try{i||S.return==null||S.return()}finally{if(s)throw p}}return r}},ud=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},qb=function(e,t){if(e){if(typeof e=="string")return ud(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ud(e,t):void 0}},e0=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
110
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},t0=function(e,t){return Qb(e)||Kb(e,t)||qb(e,t)||e0()},Kh=Qh(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&(r[p]=s[p])}return r},t.apply(this,arguments)}e.exports=t}),n0=function(e,t){if(e==null)return{};var r,i,s={},p=Object.keys(e);for(i=0;i<p.length;i++)r=p[i],t.indexOf(r)>=0||(s[r]=e[r]);return s},qh=function(e,t){if(e==null)return{};var r,i,s=n0(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(i=0;i<p.length;i++)r=p[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},r0=re.createContext(null);function mc(e){var t=e.children,r=qh(e,["children"]);return typeof t!="string"&&(t=Xb(t)),re.createElement("template",Kh({},r,{dangerouslySetInnerHTML:{__html:t}}))}function gc(e){var t=e.root,r=e.children;return fd.createPortal(r,t)}function o0(e){var t=re.forwardRef(function(r,i){var s,p,g=r.mode,S=r.delegatesFocus,m=r.styleSheets,b=r.ssr,A=r.children,w=qh(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(p=re.useRef((s=i)&&s.current),re.useEffect(function(){s&&(s.current=p.current)},[s]),p),L=re.useState(null),H=t0(L,2),Y=H[0],B=H[1],F="node_".concat(g).concat(S);return re.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),b){var Z=D.current.shadowRoot;return void B(Z)}var X=D.current.attachShadow({mode:g,delegatesFocus:S});m.length>0&&(X.adoptedStyleSheets=m),B(X)}catch(ee){(function(ne){var te=ne.error,oe=ne.styleSheets,le=ne.root;switch(te.name){case"NotSupportedError":oe.length>0&&(le.adoptedStyleSheets=oe);break;default:throw te}})({error:ee,styleSheets:m,root:Y})}},[i,D,m]),re.createElement(re.Fragment,null,re.createElement(e.tag,Kh({key:F,ref:D},w),(Y||b)&&re.createElement(r0.Provider,{value:Y},b?re.createElement(mc,{shadowroot:g,shadowrootmode:g},e.render({root:Y,ssr:b,children:A})):re.createElement(gc,{root:Y},e.render({root:Y,ssr:b,children:A})))))});return t.propTypes={mode:he.PropTypes.oneOf(["open","closed"]),delegatesFocus:he.PropTypes.bool,styleSheets:he.PropTypes.arrayOf(he.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:he.PropTypes.bool,children:he.PropTypes.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}mc.propTypes={children:he.PropTypes.oneOfType([he.PropTypes.string,he.PropTypes.node])},mc.defaultProps={children:""},gc.propTypes={root:he.PropTypes.object.isRequired,children:he.PropTypes.node},gc.defaultProps={children:null};var qu=new Map;function i0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,s){var p=Jb(s,{separator:"-"}),g="".concat(t,"-").concat(p);return qu.has(g)||qu.set(g,o0({tag:p,render:r})),qu.get(g)}})}var s0=i0();const a0=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
111
- `;function l0({children:e,styles:t=[]}){return Q.jsxs(s0.div,{children:[[a0,...t].map((r,i)=>Q.jsx("style",{type:"text/css",children:r},i)),e]})}function u0(){return Q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function c0(){return Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:Q.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const f0=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:.5rem;padding-right:12px}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;color:#85858a}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(90deg)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
112
- `;function d0(e){return Q.jsx(l0,{styles:[Nb,f0],children:Q.jsx(h0,{...e})})}function h0(e){const{baseUrl:t,menuPath:r,logout:i}=e,s=cd.useLocation(),[p,g]=re.useState([]),[S,m]=re.useState(!1),b=(Jh(p,s.pathname)||[]).filter(Z=>Z.parentKey!==0),[A,w]=re.useState({}),D=Z=>{w({...A,[Z]:!A[Z]})},L=()=>{m(!S)};re.useEffect(()=>{(async()=>{const X=t+(r||"/global-menu-config/api/v1/menu-items/user"),ee=await np.get(X,{withCredentials:!0}).then(te=>te.data),ne={};ee.forEach(te=>{te.children&&(ne[te.id]=!0)}),w(ne),g(ee.map(te=>({...te,parentKey:0})))})()},[t,r]);const[H,Y]=re.useState(!1),B=S?"collapsed":"expanded",F=Z=>`${Z} ${B}`;return Q.jsxs("div",{className:F("side-bar"),children:[Q.jsx("div",{className:F("side-bar__wrapper-toggle-btn"),children:Q.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:L,children:S?Q.jsx(u0,{}):Q.jsx(c0,{})})}),Q.jsx(Nh,{className:F("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:p.map(Z=>{const X=ee=>b.some(ne=>ne.id===ee);return Q.jsx(Zh,{item:Z,isActive:X,isCollapsed:S,expanded:ee=>A[ee],toggleExpand:D},Z.id)})}),Q.jsxs("div",{className:F("side-bar__wrap-btn-logout"),children:[Q.jsxs("button",{className:F("side-bar__logout-btn"),onClick:()=>Y(!0),children:[Q.jsx(Ub,{}),Q.jsx("span",{className:F("side-bar__logout-btn__text"),children:"Logout"})]}),Q.jsx(dd,{isOpen:H,onClose:()=>Y(!1),onConfirm:i})]})]})}exports.GlobalMenu=d0;exports.TopBar=Ty;
103
+ Incoming: %s`,An,"["+o.join(", ")+"]","["+l.join(", ")+"]");for(var d=0;d<l.length&&d<o.length;d++)if(!uu(o[d],l[d]))return!1;return!0}function Tr(){if(wr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function In(){return be===null?Ui===null?(xr=!1,Ui=be=Tr()):(xr=!0,be=Ui):be.next===null?(xr=!1,be=be.next=Tr()):(xr=!0,be=be.next),be}function cu(o,l){Pn=l,Ha=o,nt=!1,Te=0}function Ns(o,l,d,b){for(;Sr;)Sr=!1,Te=0,wr+=1,be=null,d=o(l,b);return $a(),d}function Hi(){var o=Te!==0;return o}function $a(){nt=!1,Pn=null,Ha=null,Sr=!1,Ui=null,wr=0,_t=null,be=null}function fu(o){return nt&&s("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),jo(o)}function Hs(o){return An="useContext",kr(),jo(o)}function zo(o,l){return typeof l=="function"?l(o):l}function du(o){return An="useState",$s(zo,o)}function $s(o,l,d){if(o!==zo&&(An="useReducer"),Pn=kr(),be=In(),xr){var b=be.queue,E=b.dispatch;if(_t!==null){var M=_t.get(b);if(M!==void 0){_t.delete(b);var L=be.memoizedState,N=M;do{var n=N.action;nt=!0,L=o(L,n),nt=!1,N=N.next}while(N!==null);return be.memoizedState=L,[L,E]}}return[be.memoizedState,E]}else{nt=!0;var a;o===zo?a=typeof l=="function"?l():l:a=d!==void 0?d(l):l,nt=!1,be.memoizedState=a;var f=be.queue={last:null,dispatch:null},h=f.dispatch=Gs.bind(null,Pn,f);return[be.memoizedState,h]}}function $i(o,l){Pn=kr(),be=In();var d=l===void 0?null:l;if(be!==null){var b=be.memoizedState;if(b!==null&&d!==null){var E=b[1];if(dn(d,E))return b[0]}}nt=!0;var M=o();return nt=!1,be.memoizedState=[M,d],M}function hu(o){Pn=kr(),be=In();var l=be.memoizedState;if(l===null){var d={current:o};return Object.seal(d),be.memoizedState=d,d}else return l}function Ys(o,l){An="useLayoutEffect",s("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Gs(o,l,d){if(wr>=Ni)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o===Pn){Sr=!0;var b={action:d,next:null};_t===null&&(_t=new Map);var E=_t.get(l);if(E===void 0)_t.set(l,b);else{for(var M=E;M.next!==null;)M=M.next;M.next=b}}}function pu(o,l){return $i(function(){return o},l)}function mu(o,l,d){return kr(),l(o._source)}function gu(o,l,d){if(d===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return d()}function vu(o){return kr(),o}function yu(){throw new Error("startTransition cannot be called during server rendering.")}function bu(){return kr(),[!1,yu]}function xu(){var o=Ha,l=ou(o.treeContext),d=Ya;if(d===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var b=Te++;return zn(d,l,b)}function Yi(){}var Xs={readContext:fu,useContext:Hs,useMemo:$i,useReducer:$s,useRef:hu,useState:du,useInsertionEffect:Yi,useLayoutEffect:Ys,useCallback:pu,useImperativeHandle:Yi,useEffect:Yi,useDebugValue:Yi,useDeferredValue:vu,useTransition:bu,useId:xu,useMutableSource:mu,useSyncExternalStore:gu},Ya=null;function Wo(o){Ya=o}function Zs(o){try{var l="",d=o;do{switch(d.tag){case 0:l+=Mo(d.type,null,null);break;case 1:l+=Fs(d.type,null,null);break;case 2:l+=Ei(d.type,null,null);break}d=d.parent}while(d);return l}catch(b){return`
104
+ Error generating stack: `+b.message+`
105
+ `+b.stack}}var Uo=r.ReactCurrentDispatcher,Gi=r.ReactDebugCurrentFrame,Ga=0,Gn=1,Xi=2,Zi=3,Cr=4,Js=0,Xa=1,Er=2,Su=12800;function Qs(o){return console.error(o),null}function hn(){}function wu(o,l,d,b,E,M,L,N,n){var a=[],f=new Set,h={destination:null,responseState:l,progressiveChunkSize:b===void 0?Su:b,status:Js,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:f,pingedTasks:a,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:E===void 0?Qs:E,onAllReady:M===void 0?hn:M,onShellReady:L===void 0?hn:L,onShellError:N===void 0?hn:N,onFatalError:n===void 0?hn:n},w=Ji(h,0,null,d,!1,!1);w.parentFlushed=!0;var I=Za(h,o,null,w,f,vr,_s,ru);return a.push(I),h}function ku(o,l){var d=o.pingedTasks;d.push(l),d.length===1&&y(function(){return Xo(o)})}function No(o,l){return{id:cr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l,errorDigest:null}}function Za(o,l,d,b,E,M,L,N){o.allPendingTasks++,d===null?o.pendingRootTasks++:d.pendingTasks++;var n={node:l,ping:function(){return ku(o,n)},blockedBoundary:d,blockedSegment:b,abortSet:E,legacyContext:M,context:L,treeContext:N};return n.componentStack=null,E.add(n),n}function Ji(o,l,d,b,E,M){return{status:Ga,id:-1,index:l,parentFlushed:!1,chunks:[],children:[],formatContext:b,boundary:d,lastPushedText:E,textEmbedded:M}}var Mn=null;function Ho(){return Mn===null||Mn.componentStack===null?"":Zs(Mn.componentStack)}function Xn(o,l){o.componentStack={tag:0,parent:o.componentStack,type:l}}function pn(o,l){o.componentStack={tag:1,parent:o.componentStack,type:l}}function Ja(o,l){o.componentStack={tag:2,parent:o.componentStack,type:l}}function jt(o){o.componentStack===null?s("Unexpectedly popped too many stack frames. This is a bug in React."):o.componentStack=o.componentStack.parent}var no=null;function Qa(o,l){{var d;typeof l=="string"?d=l:l&&typeof l.message=="string"?d=l.message:d=String(l);var b=no||Ho();no=null,o.errorMessage=d,o.errorComponentStack=b}}function Bt(o,l){var d=o.onError(l);if(d!=null&&typeof d!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function Zn(o,l){var d=o.onShellError;d(l);var b=o.onFatalError;b(l),o.destination!==null?(o.status=Er,Z(o.destination,l)):(o.status=Xa,o.fatalError=l)}function Ka(o,l,d){Xn(l,"Suspense");var b=l.blockedBoundary,E=l.blockedSegment,M=d.fallback,L=d.children,N=new Set,n=No(o,N),a=E.chunks.length,f=Ji(o,a,n,E.formatContext,!1,!1);E.children.push(f),E.lastPushedText=!1;var h=Ji(o,0,null,E.formatContext,!1,!1);h.parentFlushed=!0,l.blockedBoundary=n,l.blockedSegment=h;try{if(ss(o,l,L),Un(h.chunks,o.responseState,h.lastPushedText,h.textEmbedded),h.status=Gn,qi(n,h),n.pendingTasks===0){jt(l);return}}catch(I){h.status=Cr,n.forceClientRender=!0,n.errorDigest=Bt(o,I),Qa(n,I)}finally{l.blockedBoundary=b,l.blockedSegment=E}var w=Za(o,M,b,f,N,l.legacyContext,l.context,l.treeContext);w.componentStack=l.componentStack,o.pingedTasks.push(w),jt(l)}function $o(o,l,d,b){Xn(l,d);var E=l.blockedSegment,M=So(E.chunks,d,b,o.responseState,E.formatContext);E.lastPushedText=!1;var L=E.formatContext;E.formatContext=on(L,d,b),ss(o,l,M),E.formatContext=L,ui(E.chunks,d),E.lastPushedText=!1,jt(l)}function Qi(o){return o.prototype&&o.prototype.isReactComponent}function Ks(o,l,d,b,E){var M={};cu(l,M);var L=d(b,E);return Ns(d,b,L,E)}function qs(o,l,d,b,E){var M=d.render();d.props!==E&&(Go||s("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Le(b)||"a component"),Go=!0);{var L=b.childContextTypes;if(L!=null){var N=l.legacyContext,n=Ba(d,b,N,L);l.legacyContext=n,Tt(o,l,M),l.legacyContext=N;return}}Tt(o,l,M)}function Tu(o,l,d,b){Ja(l,d);var E=ja(d,l.legacyContext),M=zs(d,b,E);Us(M,d,b,E),qs(o,l,M,d,b),jt(l)}var qa={},Yo={},el={},es={},Go=!1,ts=!1,ns=!1,rs=!1;function tl(o,l,d,b){var E;if(E=ja(d,l.legacyContext),pn(l,d),d.prototype&&typeof d.prototype.render=="function"){var M=Le(d)||"Unknown";qa[M]||(s("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",M,M),qa[M]=!0)}var L=Ks(o,l,d,b,E),N=Hi();if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){var n=Le(d)||"Unknown";Yo[n]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",n,n,n),Yo[n]=!0)}if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){{var a=Le(d)||"Unknown";Yo[a]||(s("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",a,a,a),Yo[a]=!0)}Us(L,d,b,E),qs(o,l,L,d,b)}else if(nl(d),N){var f=l.treeContext,h=1,w=0;l.treeContext=Vi(f,h,w);try{Tt(o,l,L)}finally{l.treeContext=f}}else Tt(o,l,L);jt(l)}function nl(o){{if(o&&o.childContextTypes&&s("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"){var l=Le(o)||"Unknown";es[l]||(s("%s: Function components do not support getDerivedStateFromProps.",l),es[l]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var d=Le(o)||"Unknown";el[d]||(s("%s: Function components do not support contextType.",d),el[d]=!0)}}}function os(o,l){if(o&&o.defaultProps){var d=Lt({},l),b=o.defaultProps;for(var E in b)d[E]===void 0&&(d[E]=b[E]);return d}return l}function Cu(o,l,d,b,E){pn(l,d.render);var M=Ks(o,l,d.render,b,E),L=Hi();if(L){var N=l.treeContext,n=1,a=0;l.treeContext=Vi(N,n,a);try{Tt(o,l,M)}finally{l.treeContext=N}}else Tt(o,l,M);jt(l)}function Eu(o,l,d,b,E){var M=d.type,L=os(M,b);is(o,l,M,L,E)}function rl(o,l,d,b){d._context===void 0?d!==d.Consumer&&(rs||(rs=!0,s("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):d=d._context;var E=b.children;typeof E!="function"&&s("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var M=jo(d),L=E(M);Tt(o,l,L)}function Ru(o,l,d,b){var E=d._context,M=b.value,L=b.children,N;N=l.context,l.context=js(E,M),Tt(o,l,L),l.context=Bs(E),N!==l.context&&s("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Pu(o,l,d,b,E){Xn(l,"Lazy");var M=d._payload,L=d._init,N=L(M),n=os(N,b);is(o,l,N,n,E),jt(l)}function is(o,l,d,b,E){if(typeof d=="function")if(Qi(d)){Tu(o,l,d,b);return}else{tl(o,l,d,b);return}if(typeof d=="string"){$o(o,l,d,b);return}switch(d){case Ti:case Ca:case Ps:case ka:case kt:{Tt(o,l,b.children);return}case Po:{Xn(l,"SuspenseList"),Tt(o,l,b.children),jt(l);return}case Ta:throw new Error("ReactDOMServer does not yet support scope components.");case Ro:{Ka(o,l,b);return}}if(typeof d=="object"&&d!==null)switch(d.$$typeof){case ki:{Cu(o,l,d,b,E);return}case Ao:{Eu(o,l,d,b,E);return}case Si:{Ru(o,l,d,b);return}case wi:{rl(o,l,d,b);return}case Zr:{Pu(o,l,d,b);return}}var M="";throw(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(d==null?d:typeof d)+"."+M))}function Au(o,l){typeof Symbol=="function"&&o[Symbol.toStringTag]==="Generator"&&(ts||s("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ts=!0),o.entries===l&&(ns||s("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ns=!0)}function Tt(o,l,d){try{return as(o,l,d)}catch(b){throw typeof b=="object"&&b!==null&&typeof b.then=="function"||(no=no!==null?no:Ho()),b}}function as(o,l,d){if(l.node=d,typeof d=="object"&&d!==null){switch(d.$$typeof){case Jl:{var b=d,E=b.type,M=b.props,L=b.ref;is(o,l,E,M,L);return}case Rs:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Zr:{var N=d,n=N._payload,a=N._init,f;try{f=a(n)}catch(se){throw typeof se=="object"&&se!==null&&typeof se.then=="function"&&Xn(l,"Lazy"),se}Tt(o,l,f);return}}if(kn(d)){ol(o,l,d);return}var h=ql(d);if(h){Au(d,h);var w=h.call(d);if(w){var I=w.next();if(!I.done){var O=[];do O.push(I.value),I=w.next();while(!I.done);ol(o,l,O);return}return}}var U=Object.prototype.toString.call(d);throw new Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}if(typeof d=="string"){var J=l.blockedSegment;J.lastPushedText=Wn(l.blockedSegment.chunks,d,o.responseState,J.lastPushedText);return}if(typeof d=="number"){var ie=l.blockedSegment;ie.lastPushedText=Wn(l.blockedSegment.chunks,""+d,o.responseState,ie.lastPushedText);return}typeof d=="function"&&s("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ol(o,l,d){for(var b=d.length,E=0;E<b;E++){var M=l.treeContext;l.treeContext=Vi(M,b,E);try{ss(o,l,d[E])}finally{l.treeContext=M}}}function Ct(o,l,d){var b=l.blockedSegment,E=b.chunks.length,M=Ji(o,E,null,b.formatContext,b.lastPushedText,!0);b.children.push(M),b.lastPushedText=!1;var L=Za(o,l.node,l.blockedBoundary,M,l.abortSet,l.legacyContext,l.context,l.treeContext);l.componentStack!==null&&(L.componentStack=l.componentStack.parent);var N=L.ping;d.then(N,N)}function ss(o,l,d){var b=l.blockedSegment.formatContext,E=l.legacyContext,M=l.context,L=null;L=l.componentStack;try{return Tt(o,l,d)}catch(N){if($a(),typeof N=="object"&&N!==null&&typeof N.then=="function"){Ct(o,l,N),l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L;return}else throw l.blockedSegment.formatContext=b,l.legacyContext=E,l.context=M,_o(M),l.componentStack=L,N}}function il(o,l,d,b){var E=Bt(o,b);if(l===null?Zn(o,b):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=E,Qa(l,b),l.parentFlushed&&o.clientRenderedBoundaries.push(l))),o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function Iu(o){var l=this,d=o.blockedBoundary,b=o.blockedSegment;b.status=Zi,al(l,d,b)}function Ki(o,l,d){var b=o.blockedBoundary,E=o.blockedSegment;if(E.status=Zi,b===null)l.allPendingTasks--,l.status!==Er&&(l.status=Er,l.destination!==null&&$(l.destination));else{if(b.pendingTasks--,!b.forceClientRender){b.forceClientRender=!0;var M=d===void 0?new Error("The render was aborted by the server without a reason."):d;b.errorDigest=l.onError(M);{var L="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=L+M.message:M=L+String(M);var N=Mn;Mn=o;try{Qa(b,M)}finally{Mn=N}}b.parentFlushed&&l.clientRenderedBoundaries.push(b)}if(b.fallbackAbortableTasks.forEach(function(a){return Ki(a,l,d)}),b.fallbackAbortableTasks.clear(),l.allPendingTasks--,l.allPendingTasks===0){var n=l.onAllReady;n()}}}function qi(o,l){if(l.chunks.length===0&&l.children.length===1&&l.children[0].boundary===null){var d=l.children[0];d.id=l.id,d.parentFlushed=!0,d.status===Gn&&qi(o,d)}else{var b=o.completedSegments;b.push(l)}}function al(o,l,d){if(l===null){if(d.parentFlushed){if(o.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");o.completedRootSegment=d}if(o.pendingRootTasks--,o.pendingRootTasks===0){o.onShellError=hn;var b=o.onShellReady;b()}}else if(l.pendingTasks--,!l.forceClientRender){if(l.pendingTasks===0)d.parentFlushed&&d.status===Gn&&qi(l,d),l.parentFlushed&&o.completedBoundaries.push(l),l.fallbackAbortableTasks.forEach(Iu,o),l.fallbackAbortableTasks.clear();else if(d.parentFlushed&&d.status===Gn){qi(l,d);var E=l.completedSegments;E.length===1&&l.parentFlushed&&o.partialBoundaries.push(l)}}if(o.allPendingTasks--,o.allPendingTasks===0){var M=o.onAllReady;M()}}function sl(o,l){var d=l.blockedSegment;if(d.status===Ga){_o(l.context);var b=null;b=Mn,Mn=l;try{Tt(o,l,l.node),Un(d.chunks,o.responseState,d.lastPushedText,d.textEmbedded),l.abortSet.delete(l),d.status=Gn,al(o,l.blockedBoundary,d)}catch(M){if($a(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var E=l.ping;M.then(E,E)}else l.abortSet.delete(l),d.status=Cr,il(o,l.blockedBoundary,d,M)}finally{Mn=b}}}function Xo(o){if(o.status!==Er){var l=Ii(),d=Uo.current;Uo.current=Xs;var b;b=Gi.getCurrentStack,Gi.getCurrentStack=Ho;var E=Ya;Wo(o.responseState);try{var M=o.pingedTasks,L;for(L=0;L<M.length;L++){var N=M[L];sl(o,N)}M.splice(0,L),o.destination!==null&&ta(o,o.destination)}catch(n){Bt(o,n),Zn(o,n)}finally{Wo(E),Uo.current=d,Gi.getCurrentStack=b,d===Xs&&_o(l)}}}function Zo(o,l,d){switch(d.parentFlushed=!0,d.status){case Ga:{var b=d.id=o.nextSegmentId++;return d.lastPushedText=!1,d.textEmbedded=!1,zr(l,o.responseState,b)}case Gn:{d.status=Xi;for(var E=!0,M=d.chunks,L=0,N=d.children,n=0;n<N.length;n++){for(var a=N[n];L<a.index;L++)T(l,M[L]);E=ea(o,l,a)}for(;L<M.length-1;L++)T(l,M[L]);return L<M.length&&(E=D(l,M[L])),E}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ea(o,l,d){var b=d.boundary;if(b===null)return Zo(o,l,d);if(b.parentFlushed=!0,b.forceClientRender)return ct(l,o.responseState,b.errorDigest,b.errorMessage,b.errorComponentStack),Zo(o,l,d),ya(l,o.responseState);if(b.pendingTasks>0){b.rootSegmentID=o.nextSegmentId++,b.completedSegments.length>0&&o.partialBoundaries.push(b);var E=b.id=fr(o.responseState);return Nr(l,o.responseState,E),Zo(o,l,d),Hr(l,o.responseState)}else{if(b.byteSize>o.progressiveChunkSize)return b.rootSegmentID=o.nextSegmentId++,o.completedBoundaries.push(b),Nr(l,o.responseState,b.id),Zo(o,l,d),Hr(l,o.responseState);fi(l,o.responseState);var M=b.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var L=M[0];return ea(o,l,L),di(l,o.responseState)}}function ll(o,l,d){return Cs(l,o.responseState,d.id,d.errorDigest,d.errorMessage,d.errorComponentStack)}function Jo(o,l,d){return ge(l,o.responseState,d.formatContext,d.id),ea(o,l,d),Re(l,d.formatContext)}function Qo(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];ls(o,l,d,M)}return b.length=0,ba(l,o.responseState,d.id,d.rootSegmentID)}function Mu(o,l,d){for(var b=d.completedSegments,E=0;E<b.length;E++){var M=b[E];if(!ls(o,l,d,M))return E++,b.splice(0,E),!1}return b.splice(0,E),!0}function ls(o,l,d,b){if(b.status===Xi)return!0;var E=b.id;if(E===-1){var M=b.id=d.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Jo(o,l,b)}else return Jo(o,l,b),Ul(l,o.responseState,E)}function ta(o,l){A();try{var d=o.completedRootSegment;d!==null&&o.pendingRootTasks===0&&(ea(o,l,d),o.completedRootSegment=null,ma(l,o.responseState));var b=o.clientRenderedBoundaries,E;for(E=0;E<b.length;E++){var M=b[E];ll(o,l,M)}b.splice(0,E);var L=o.completedBoundaries;for(E=0;E<L.length;E++){var N=L[E];Qo(o,l,N)}L.splice(0,E),_(l),A(l);var n=o.partialBoundaries;for(E=0;E<n.length;E++){var a=n[E];if(!Mu(o,l,a)){o.destination=null,E++,n.splice(0,E);return}}n.splice(0,E);var f=o.completedBoundaries;for(E=0;E<f.length;E++){var h=f[E];Qo(o,l,h)}f.splice(0,E)}finally{_(l),o.allPendingTasks===0&&o.pingedTasks.length===0&&o.clientRenderedBoundaries.length===0&&o.completedBoundaries.length===0&&(o.abortableTasks.size!==0&&s("There was still abortable task at the root when we closed. This is a bug in React."),$(l))}}function Du(o){y(function(){return Xo(o)})}function ul(o,l){if(o.status===Xa){o.status=Er,Z(l,o.fatalError);return}if(o.status!==Er&&o.destination===null){o.destination=l;try{ta(o,l)}catch(d){Bt(o,d),Zn(o,d)}}}function na(o,l){try{var d=o.abortableTasks;d.forEach(function(b){return Ki(b,o,l)}),d.clear(),o.destination!==null&&ta(o,o.destination)}catch(b){Bt(o,b),Zn(o,b)}}function Ou(o,l){return new Promise(function(d,b){var E,M,L=new Promise(function(w,I){M=w,E=I});function N(){var w=new ReadableStream({type:"bytes",pull:function(I){ul(a,I)},cancel:function(I){na(a)}},{highWaterMark:0});w.allReady=L,d(w)}function n(w){L.catch(function(){}),b(w)}var a=wu(o,Cn(l?l.identifierPrefix:void 0,l?l.nonce:void 0,l?l.bootstrapScriptContent:void 0,l?l.bootstrapScripts:void 0,l?l.bootstrapModules:void 0),Gt(l?l.namespaceURI:void 0),l?l.progressiveChunkSize:void 0,l?l.onError:void 0,M,N,n,E);if(l&&l.signal){var f=l.signal,h=function(){na(a,f.reason),f.removeEventListener("abort",h)};f.addEventListener("abort",h)}Du(a)})}pl.renderToReadableStream=Ou,pl.version=t}()),pl}var oi,Zu;process.env.NODE_ENV==="production"?(oi=zh(),Zu=Wh()):(oi=Uh(),Zu=Nh());oi.version;var Hh=oi.renderToString;oi.renderToStaticMarkup;oi.renderToNodeStream;oi.renderToStaticNodeStream;Zu.renderToReadableStream;var $h=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e,t){return e(t={exports:{}},t.exports),t.exports}var Yh=Kf(function(e){(function(t){var r=function(B,F,Z){if(!p(F)||A(F)||T(F)||D(F)||S(F))return F;var X,q=0,te=0;if(x(F))for(X=[],te=F.length;q<te;q++)X.push(r(B,F[q],Z));else for(var ee in X={},F)Object.prototype.hasOwnProperty.call(F,ee)&&(X[B(ee,Z)]=r(B,F[ee],Z));return X},i=function(B){return _(B)?B:(B=B.replace(/[\-_\s]+(.)?/g,function(F,Z){return Z?Z.toUpperCase():""})).substr(0,1).toLowerCase()+B.substr(1)},s=function(B){var F=i(B);return F.substr(0,1).toUpperCase()+F.substr(1)},m=function(B,F){return function(Z,X){var q=(X=X||{}).separator||"_",te=X.split||/(?=[A-Z])/;return Z.split(te).join(q)}(B,F).toLowerCase()},y=Object.prototype.toString,S=function(B){return typeof B=="function"},p=function(B){return B===Object(B)},x=function(B){return y.call(B)=="[object Array]"},A=function(B){return y.call(B)=="[object Date]"},T=function(B){return y.call(B)=="[object RegExp]"},D=function(B){return y.call(B)=="[object Boolean]"},_=function(B){return(B-=0)==B},$=function(B,F){var Z=F&&"process"in F?F.process:F;return typeof Z!="function"?B:function(X,q){return Z(X,B,q)}},G={camelize:i,decamelize:m,pascalize:s,depascalize:m,camelizeKeys:function(B,F){return r($(i,F),B)},decamelizeKeys:function(B,F){return r($(m,F),B,F)},pascalizeKeys:function(B,F){return r($(s,F),B)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=G:t.humps=G})($h)}).decamelize,Gh=function(e){if(Array.isArray(e))return e},Xh=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,s=!1,m=void 0;try{for(var y,S=e[Symbol.iterator]();!(i=(y=S.next()).done)&&(r.push(y.value),!t||r.length!==t);i=!0);}catch(p){s=!0,m=p}finally{try{i||S.return==null||S.return()}finally{if(s)throw m}}return r}},jc=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},Zh=function(e,t){if(e){if(typeof e=="string")return jc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jc(e,t):void 0}},Jh=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
106
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Qh=function(e,t){return Gh(e)||Xh(e,t)||Zh(e,t)||Jh()},qf=Kf(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},t.apply(this,arguments)}e.exports=t}),Kh=function(e,t){if(e==null)return{};var r,i,s={},m=Object.keys(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||(s[r]=e[r]);return s},ed=function(e,t){if(e==null)return{};var r,i,s=Kh(e,t);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(i=0;i<m.length;i++)r=m[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},qh=oe.createContext(null);function Ju(e){var t=e.children,r=ed(e,["children"]);return typeof t!="string"&&(t=Hh(t)),oe.createElement("template",qf({},r,{dangerouslySetInnerHTML:{__html:t}}))}function Qu(e){var t=e.root,r=e.children;return Jf.createPortal(r,t)}function ep(e){var t=oe.forwardRef(function(r,i){var s,m,y=r.mode,S=r.delegatesFocus,p=r.styleSheets,x=r.ssr,A=r.children,T=ed(r,["mode","delegatesFocus","styleSheets","ssr","children"]),D=(m=oe.useRef((s=i)&&s.current),oe.useEffect(function(){s&&(s.current=m.current)},[s]),m),_=oe.useState(null),$=Qh(_,2),G=$[0],B=$[1],F="node_".concat(y).concat(S);return oe.useLayoutEffect(function(){if(D.current)try{if(typeof i=="function"&&i(D.current),x){var Z=D.current.shadowRoot;return void B(Z)}var X=D.current.attachShadow({mode:y,delegatesFocus:S});p.length>0&&(X.adoptedStyleSheets=p),B(X)}catch(q){(function(te){var ee=te.error,re=te.styleSheets,le=te.root;switch(ee.name){case"NotSupportedError":re.length>0&&(le.adoptedStyleSheets=re);break;default:throw ee}})({error:q,styleSheets:p,root:G})}},[i,D,p]),oe.createElement(oe.Fragment,null,oe.createElement(e.tag,qf({key:F,ref:D},T),(G||x)&&oe.createElement(qh.Provider,{value:G},x?oe.createElement(Ju,{shadowroot:y,shadowrootmode:y},e.render({root:G,ssr:x,children:A})):oe.createElement(Qu,{root:G},e.render({root:G,ssr:x,children:A})))))});return t.propTypes={mode:vn.PropTypes.oneOf(["open","closed"]),delegatesFocus:vn.PropTypes.bool,styleSheets:vn.PropTypes.arrayOf(vn.PropTypes.instanceOf(globalThis.CSSStyleSheet)),ssr:vn.PropTypes.bool,children:vn.PropTypes.node},t.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},t}Ju.propTypes={children:vn.PropTypes.oneOfType([vn.PropTypes.string,vn.PropTypes.node])},Ju.defaultProps={children:""},Qu.propTypes={root:vn.PropTypes.object.isRequired,children:vn.PropTypes.node},Qu.defaultProps={children:null};var Fu=new Map;function tp(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,s){var m=Yh(s,{separator:"-"}),y="".concat(t,"-").concat(m);return Fu.has(y)||Fu.set(y,ep({tag:m,render:r})),Fu.get(y)}})}var np=tp();const rp=`@import"https://fonts.cdnfonts.com/css/tt-firs-neue-trl?styles=143111,143113,143105,143108,143110,143101,143099,143103,143097,143115";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:TT Firs Neue Trl,sans-serif;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}
107
+ `;function fc({children:e,styles:t=[],...r}){return ne.jsxs(np.div,{...r,children:[[rp,...t].map((i,s)=>ne.jsx("style",{type:"text/css",children:i},s)),e]})}const op=`.modal-overlay{z-index:1300;position:fixed;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,0%,.254);--tw-backdrop-blur: blur(4px);justify-content:center;align-items:center;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-title{font-size:1.25rem;line-height:1.75rem;color:#e01b00;font-weight:500}.modal-footer{display:flex;justify-content:space-between;width:80%}.modal-container{background:#ffffff;-webkit-backdrop-filter:blur(4.5px);backdrop-filter:blur(4.5px);display:flex;padding:32px 24px 40px;flex-direction:column;align-items:center;gap:24px;align-self:stretch;width:500px;height:204px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:.5rem}.modal-button{border-radius:3px;border:1px solid #ddd;background:#ddd;padding:8px 32px;font-size:14px}.confirm-btn{background:#e01b00!important}.text-white{color:#fff}.text-sm{font-size:.875rem;line-height:1.25rem}
108
+ `;function td({isOpen:e,onClose:t,onConfirm:r}){if(!e)return null;function i(s){var m;((m=s.target)==null?void 0:m.id)==="modal-wrapper"&&t()}return ne.jsx(fc,{styles:[op],children:ne.jsx("div",{onClick:i,className:"modal-overlay",id:"modal-wrapper",children:ne.jsxs("div",{className:"modal-container",children:[ne.jsx("h3",{className:"modal-title",children:"Log out"}),ne.jsx("p",{className:"text-sm",children:"Are you sure want to log out?"}),ne.jsxs("div",{className:"modal-footer",children:[ne.jsx("button",{className:"modal-button",onClick:t,children:"Cancel"}),ne.jsx("button",{onClick:r,className:"text-white confirm-btn modal-button",children:"Confirm"})]})]})})})}function ip(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",children:[ne.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}function ap(){return ne.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ne.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),ne.jsx("circle",{cx:"16.928",cy:"7",r:"2",fill:"#E01B00",stroke:"white"})]})}const sp="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAArCAYAAAADgWq5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA3XSURBVHgBtVl7jFxVGf/dO3feMzuzO/tuu92y2xIoCEgCgUQogSIKhBIgaAxpFdREITxMVCrYNqB/+A8QCYQYbIuJUTChGqBQDCkaMUCgW0qtpe12t933drezs/N+XX/fuefOzK6l0KInPb2POfec3/m+3/c6a+ALNNu247xczL6Ofbm+j+suLck+pK972XcYhrEbX6AZOItGoGt4uZ99jQtu+tAnmP7kIPLz8yiwS/NHmxDr6kJTdzfaVq5qnGIb+/azAX9GgDXQTQJUQB3Y+SqOvL1bgXVB6nELv2OvcqllX74Uq2+8SV2buBE40n+QwHfgfwlYq34r+7rU+Bj2vvgH/Ou1VxXIxeAaW7Xht6ph1NGzCfAr7/meC3wb+xYCH8IXBaylurWQnu/d++IfMUCwRS1Nuz7mFN813lfVUrYh3xi1lWXIlXd/F1eww5H2rQQ9gLMFTCAP8PJEamIcO+77AebHx+u/6Y8FrItNJDqVL2Awm8WJQhFejwedfj9WhIJosjz8wKCkUdupu6koOX7n08+60haKPHnGgAlEuLp5bGAPdm78yUKO6tU4cQ3w/uQc3pqYwkypQOAGTNNU3SJoi+N6wmFclWjmBnxqvEja1rMJcF8kghseeRT9V62Rl5s595bPDZggxE29fPD11/DWLx9f/FsNqFwrvP5l6DjenZmBKN40TM5qqrEeAUzJGnz28Rpgv6atFRdGQmrXjjG6QrDV/Q0/+zlWf/1GebWB82//TMAE0svLnpnDh+N/umfDaY1KfnlrdBw7R8ZguyQxPJSsoW493JDHY7JbaiGhSNCycEt3J3oDgZp2qi5HOMgbjuCOp59B+8pV4rsvWWyIpwJ8ND0x0fvKQ/dDPIJh1yWgWVsbW6xU8au9+8jXAqUJWJRo2OdDiGqPBv1ojcUQIRVOptOYnEsjky+iUrXREw3jm91dihQ26VPRs0NvoKmrk6DJ6c6uAQK+pBGftQis8LZ3z/ZtIGjFQRJS78zQ05q1u/0nk5ghWOFoazCAloCFGIF2xKPobmtHW1sCifZWeP1e5DM5jJPjHxwaxsGpJE5WykhYlprZI1IWr0FOGASd4tpv/OIx3PHrZy4mJuHzZhejuYgKDxza9Tqkm4ah5Ck8NUzpjhG5z/L7QQIWsGGfFzGvGJeeUMZY5G0oxGgXRYBSjsSi6GpvwZoL+7GqM4GhbM5hkOEIw6SkDcN5ISIZ2fOh6mz36ziwEDCb7CK+94UXHFAKsHMVQzK1lIWfakq+T4p0+RwhWP5Tm1CcVAbFb7w+xwA9XnVvkS4RbuCS5Z18tvT8LmgO0+s5axrY5Ri8gH3gVICvPvLmG0hPTjjSNVyp6kk5Uhii7Mm01W9i1X6S1yLR7apj78ozKEPjDqoVlIsFLmIjJNKm6wpEI2iOBMhzT10wohmzDtSloGAZ2bNngZRNTYcNwt0ju3Y5vK19jIZJG7ssZiuL93kMTSmC5X3Acnq1lEM2lUQ2OYsTY2PI8BoOeOEXgVfLiPqtmmBqVGt4NrWG3932vCvlNY1GtyYzOYmpfR9pKsgWRa91ryBvXZ8pb1PFspo0YJpqxIlCCf6qiRx3eWwkidBkCj2JGfT3LsU+Gtp83sbyZcsRpTtDbhYtytWJUVfrkwqRbE0rJ4xilBIu0MtQO7fwzQ6XEldPfVQHa7vc1cZlurs26+9eOngIQ/MpeMmVeCiAXNWLXBkEVuDVwniqiH2Tafzz4Cj2T6QwkytifHYOyfQ8ZuYLeHN4FEUKxZWuY6v63k039NqDf/+bPK5TEiYdJOnunT16xLFu6TqKyVURTEvZwwlVBsaFUsqdAZlKBWYuj85QBJmq5A8mYpEw5uYraPUauHBZBxf18LuqChSlSgnnLO1AjnTxaA+huCl5BqUt63q0x6gq92lj+shhnEdaiCezND+QPHrUIbzgMZ3Q61ib7QQPdevwWh6DtPIygXpMD4p0Cx0RA+cnOlUaWShXkZsvYwkN7LLz+5AtVbF0SbcKzyGfhfTMNFYtaVXaMVzfRrCOlzE0TL0Z3owO7HEdw8UCuFfuMlOTNWnWrFWnhY5DdpnsXFfEYxjN5NSGKpw0ncsy8kVRplkcn06izQ+E6IujzQlcviqH9/49zIhmoY9AffQyYZ8fZsmjMghnaqNuIRLWbceQhculTMYFHK8Bzk1POzvUiY3zrVnLqZRJmI6UpfU3t+AfKt00tTHaODw2gQIHlctlTCaLGDqZwfzvX6Ira0IgEMTw1BRGR4awsiOOsBVg2uFXvK2vZzgobVN5oaqjYOXedOuthWZTATJr8V1RQyeCqMm1LvCepihDcRDJYlEBrkqgEP5yBQ8DhD8eRlu8CSuW96ClOYYSc2SDGjs6PonxZAqdTdRWuGlBpm+gIXuzDQfTwvSlIXBo92S7oExDewudLi7yxVEm5ndfcAF5yOSFq3jok6Ufm8sjze+C8WYsWXUuWnpXoBgM4/3jE9gzPO4EFY4zqqiF4gU+uOaLtZfQHsttIuEhuQl3dEB8sZs1aUY4FDCqTvJj63xN5wwtrCSaKc2xXAEpZmIrOoSfQILG1kOpfuXSS9Ddswz+YBA9zIGPkUIf7NuvpNfmDao5lJUYjo93c2xXy66bbersdPEOCWDJO+FjHpo1Jl1y1KkgXkIrwmiwP7Fjr6STlpcuK48CxTybztDQPEimUojxuv+99zB9bNihVjGNALUS9AfgJTWWB6M1Cdq60qsVBg0kWQxYkKiir43qVY5bAxLVeAxolaDm0G19dbO2CsdWCCBPQ5tIZZArVVQSP8nodGB4BIPDx5FlsLDI11lyt1wu4bJ4u/LpCpBZpwOABlpAGZ68be1b6QJOWpLRc1fJ2Ipz4nAduespFrkzxx8bdSMQAyMnyzpnzpdKBJpFdzSIJYkE+np70HtOL6KRIGZnZnF8cgpLQzG0+ILaMzR4h0XN1bNE1kRfn5KuVNSul/jzkssuX/9hLTXXEm2wW1tPXPOZXPBktqAqCFXq2I5WsswpjlWqSsm5cgXTLE5l+OiJWRW66d/wTr6E/oAP7bBrLs02Tln+qLW6LrpInnbLfy7gHd5weH3b6gswvf/jU+7VjXYizP0nTuCVw4MYnJsjjx2LrlYNRQ01iEAHZ1MYTqbhHRxVJdOKzg60NUUUzY4UWH14vehg4r+UX3QxexNe1845XAWyd1x4ESIdisNvNwLeLfw4785vxKc3PaIJUFUewlXcXKmM96nSd1h0jpKfZeYQMkqqZhnnkZhN0JJrlLgrcVs2k41YOICVXe0Is3SS9LNKflveELyMdCelCGDfT6Es529Ly0VE1by6Mudd//XXu3TYVgPMhyRV81Tr6gs2hds7kZUwDcegxjNZvM0INnBihiCrzBuY7DA5N0XkBGXy2SlHbFUuqQcxWOYYzQTbxoJTPLz4a8u0MG34lR8uku9hJvUVApT8Q3zJKLndzA2vLuYQ4PswtdJ/3doaHVx9u01OW5KX/vBexeNksYSXh4bxG6aRH88lafisJKhan1e6l1mZl++YC9CtSTBQZRQX9jMpipGf3bEQ2mlsQapdNpOn1McrTJhsllN8V2IlIqqrUAiSYko499LtZVjMvh+N4XgojC996y7BJW53y38BFinzIlLGSGe3A5RuyCYYARkMhuBjkJCTHK+EXk7u8zIXIPAycwKTwKFDu0+iGe+EGuliFWmTIdwMqdouwM3IKLGFErWTzeeoMQMZFqVObmyq0N659qvou/Y6gfZU49lEo4Shy+mB23+6EfGubiVBOQTxM2cQNYqqg4xuIuEgAYdo8WFGsRC7FQjBE4ygxKQmbfiQZSQrBOPwNLczKMUQZj0X4qYdz2io2k96kXm1SFlaLp9XjqEl0Yqbb7vN5e7mBRixqLknPwcPHIh/f/16ZHOyc+a8THIU6bmJEvnX6KttisuSKpjSKfG8QRLxMMF5+E42E6CGAtyccF/AWtz8PKNhS2sCkzRk0ZyYhJfjm1ta8Ojjj2FpT88pT37MxYD1gAfPPe88/GjjwwRoOZWAlPOUkgD1UbqKEuwRhvQwzx18lg9NLOETTHoSXDTKbC7EMCzGJxV2RdduUl3LfPIs3kjCdSaTJqU8yFPad939HQErQ799qvNiC6do4kJE0jevu3VTUyyOTQ9vRIVG4UpHpCxNXJiU8/KuSj6KNIsMvR66Lj8NVDyBAJPNCUjRiKWlLG7RrRWzrFyWdC/Fgw//GBddrE6mtnzaqbyB0zT3fHhsdBQP3XsfxkZGlBsSFSr1GI6f9pLT8l7O0WQTeXIxSm2UuMkcjSrRkqBXKCkteSW1FP/LoNPBpCZL6XposE8+ywNAZow42/PhBtBSpL7M3rv9+efx2+eeo0S99VTQcNSq/CoBi5pzLJcsbkKkn+W9ABa35UjYUvmBeIeeZT24+rpr8bWbbkIoHB6CQ4Pdp8PzmYA16F44R1nrJ5jT/m7rVvz19TecPJaqFsDlakXxWYCJNCt89mgDbWluVvx0D7mjTU248qqrsO7225BgksS2Q4NNfhaWzwW4AbicDTzB3jtJ4HsHBvDmzp0YPHQYhVKRbi6oKFIgOKGFBAhpQb4Pkt8r+s7B5VdcgWvWrhWJyk+SH2w2zuDPX2cEuAH4Gl42sK933w0ePowZhu9JHpWmyM8y3ZvwOMoz4r7+foLtc4cmNdAnjf/33+lOA14k7/4VdDkW/iV0Dk6RMARH9QOfR/Wf1v4D3Fe7Fu3OpbsAAAAASUVORK5CYII=",lp=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avatar-dropdown-item:hover{background-color:#009d4f}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;position:absolute;left:-10rem;top:3.5rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:black;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{padding:16px 0;height:100%}.navbar-container img{height:100%}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px}.relative{position:relative}.cursor-pointer{cursor:pointer}
109
+ `;function up({logo:e,user:t,baseUrl:r,style:i,classNames:s=""}){const m=e||"/public/assets/icons/logo-header.png";return ne.jsx(fc,{styles:[lp],style:{zIndex:1200},children:ne.jsx("nav",{className:`navbar ${s}`,style:i,children:ne.jsxs("div",{className:"navbar-container",children:[ne.jsx("div",{className:"logo-container",children:ne.jsx("img",{src:m,alt:"logo-header"})}),ne.jsxs("div",{className:"right-side-container",children:[ne.jsxs("div",{className:"userContainer",children:[ne.jsx("p",{className:"userFullName",children:`${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}`}),ne.jsx(cp,{baseUrl:r,avatarUrl:t==null?void 0:t.avatarUrl})]}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ap,{})}),ne.jsx("span",{className:"cursor-pointer",children:ne.jsx(ip,{})})]})]})})})}function cp({avatarUrl:e,baseUrl:t}){const[r,i]=oe.useState(!1),[s,m]=oe.useState(!1),y=oe.useRef(null),S=oe.useRef(null),p=()=>{window.location.href=`${t}/authentication/logout?callbackUrl=${window.location.href}`};return oe.useEffect(()=>{function x(A){A.target!==S.current&&A.target!==y.current&&i(!1)}return window.addEventListener("click",x),()=>window.removeEventListener("click",x)},[]),ne.jsxs(ne.Fragment,{children:[ne.jsxs("div",{style:{position:"relative"},children:[ne.jsx("img",{ref:y,onClick:()=>i(x=>!x),alt:"user avatar",className:"userAvatar",src:e||sp}),ne.jsx("div",{style:{display:r?"block":"none"},className:"avartarDropdownMenu",children:ne.jsxs("ul",{children:[ne.jsx("li",{className:"avatar-dropdown-item",children:"Profile"}),ne.jsx("li",{onClick:()=>m(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]}),ne.jsx(td,{isOpen:s,onClose:()=>m(!1),onConfirm:p})]})}var fp=typeof global=="object"&&global&&global.Object===Object&&global;const dp=fp;var hp=typeof self=="object"&&self&&self.Object===Object&&self,pp=dp||hp||Function("return this")();const nd=pp;var mp=nd.Symbol;const Tl=mp;var rd=Object.prototype,gp=rd.hasOwnProperty,vp=rd.toString,us=Tl?Tl.toStringTag:void 0;function yp(e){var t=gp.call(e,us),r=e[us];try{e[us]=void 0;var i=!0}catch{}var s=vp.call(e);return i&&(t?e[us]=r:delete e[us]),s}var bp=Object.prototype,xp=bp.toString;function Sp(e){return xp.call(e)}var wp="[object Null]",kp="[object Undefined]",Bc=Tl?Tl.toStringTag:void 0;function Tp(e){return e==null?e===void 0?kp:wp:Bc&&Bc in Object(e)?yp(e):Sp(e)}function Cp(e){return e!=null&&typeof e=="object"}var Ep="[object Symbol]";function Rp(e){return typeof e=="symbol"||Cp(e)&&Tp(e)==Ep}var Pp=/\s/;function Ap(e){for(var t=e.length;t--&&Pp.test(e.charAt(t)););return t}var Ip=/^\s+/;function Mp(e){return e&&e.slice(0,Ap(e)+1).replace(Ip,"")}function Cl(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Vc=0/0,Dp=/^[-+]0x[0-9a-f]+$/i,Op=/^0b[01]+$/i,Fp=/^0o[0-7]+$/i,Lp=parseInt;function zc(e){if(typeof e=="number")return e;if(Rp(e))return Vc;if(Cl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Cl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Mp(e);var r=Op.test(e);return r||Fp.test(e)?Lp(e.slice(2),r?2:8):Dp.test(e)?Vc:+e}var _p=function(){return nd.Date.now()};const Lu=_p;var jp="Expected a function",Bp=Math.max,Vp=Math.min;function Sl(e,t,r){var i,s,m,y,S,p,x=0,A=!1,T=!1,D=!0;if(typeof e!="function")throw new TypeError(jp);t=zc(t)||0,Cl(r)&&(A=!!r.leading,T="maxWait"in r,m=T?Bp(zc(r.maxWait)||0,t):m,D="trailing"in r?!!r.trailing:D);function _(ee){var re=i,le=s;return i=s=void 0,x=ee,y=e.apply(le,re),y}function $(ee){return x=ee,S=setTimeout(F,t),A?_(ee):y}function G(ee){var re=ee-p,le=ee-x,ce=t-re;return T?Vp(ce,m-le):ce}function B(ee){var re=ee-p,le=ee-x;return p===void 0||re>=t||re<0||T&&le>=m}function F(){var ee=Lu();if(B(ee))return Z(ee);S=setTimeout(F,G(ee))}function Z(ee){return S=void 0,D&&i?_(ee):(i=s=void 0,y)}function X(){S!==void 0&&clearTimeout(S),x=0,i=p=s=S=void 0}function q(){return S===void 0?y:Z(Lu())}function te(){var ee=Lu(),re=B(ee);if(i=arguments,s=this,p=ee,re){if(S===void 0)return $(p);if(T)return clearTimeout(S),S=setTimeout(F,t),_(p)}return S===void 0&&(S=setTimeout(F,t)),y}return te.cancel=X,te.flush=q,te}var zp="Expected a function";function Wp(e,t,r){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(zp);return Cl(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),Sl(e,t,{leading:i,maxWait:t,trailing:s})}var Up=!!(typeof window<"u"&&window.document&&window.document.createElement),Np=Up;const od=vn.getDefaultExportFromCjs(Np);var ia=function(){return ia=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},ia.apply(this,arguments)},oa=null,Wc=null;od&&window.addEventListener("resize",function(){Wc!==window.devicePixelRatio&&(Wc=window.devicePixelRatio,oa=null)});function Uc(){if(oa===null){if(typeof document>"u")return oa=0,oa;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),oa=r}return oa}function id(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ad(e){return!e||!e.ownerDocument?document:e.ownerDocument}var sd=function(e){var t={},r=Array.prototype.reduce.call(e,function(i,s){var m=s.name.match(/data-simplebar-(.+)/);if(m){var y=m[1].replace(/\W+(.)/g,function(S,p){return p.toUpperCase()});switch(s.value){case"true":i[y]=!0;break;case"false":i[y]=!1;break;case void 0:i[y]=!0;break;default:i[y]=s.value}}return i},t);return r};function ld(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function ud(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function cd(e){return".".concat(e.split(" ").join("."))}var Hp=Object.freeze({__proto__:null,getElementWindow:id,getElementDocument:ad,getOptions:sd,addClasses:ld,removeClasses:ud,classNamesToQuery:cd}),ro=id,_u=ad,$p=sd,oo=ld,io=ud,zt=cd,ml=function(){function e(t,r){r===void 0&&(r={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var s=ro(i.el);i.scrollXTicking||(s.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(s.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,oo(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){io(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(oo(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){io(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(s){i.mouseX=s.clientX,i.mouseY=s.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1},this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(s){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var m,y;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(m=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(y=i.isWithinBounds(i.axis.y.track.rect)),(m||y)&&(s.stopPropagation(),s.type==="pointerdown"&&s.pointerType!=="touch"&&(m&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(s,"x"):i.onTrackClick(s,"x")),y&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(s,"y"):i.onTrackClick(s,"y"))))}},this.drag=function(s){var m,y,S,p,x,A,T,D,_,$,G;if(!(!i.draggedAxis||!i.contentWrapperEl)){var B,F=i.axis[i.draggedAxis].track,Z=(y=(m=F.rect)===null||m===void 0?void 0:m[i.axis[i.draggedAxis].sizeAttr])!==null&&y!==void 0?y:0,X=i.axis[i.draggedAxis].scrollbar,q=(p=(S=i.contentWrapperEl)===null||S===void 0?void 0:S[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&p!==void 0?p:0,te=parseInt((A=(x=i.elStyles)===null||x===void 0?void 0:x[i.axis[i.draggedAxis].sizeAttr])!==null&&A!==void 0?A:"0px",10);s.preventDefault(),s.stopPropagation(),i.draggedAxis==="y"?B=s.pageY:B=s.pageX;var ee=B-((D=(T=F.rect)===null||T===void 0?void 0:T[i.axis[i.draggedAxis].offsetAttr])!==null&&D!==void 0?D:0)-i.axis[i.draggedAxis].dragOffset;ee=i.draggedAxis==="x"&&i.isRtl?(($=(_=F.rect)===null||_===void 0?void 0:_[i.axis[i.draggedAxis].sizeAttr])!==null&&$!==void 0?$:0)-X.size-ee:ee;var re=ee/(Z-X.size),le=re*(q-te);i.draggedAxis==="x"&&i.isRtl&&(le=!((G=e.getRtlHelpers())===null||G===void 0)&&G.isScrollingToNegative?-le:le),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=le}},this.onEndDrag=function(s){var m=_u(i.el),y=ro(i.el);s.preventDefault(),s.stopPropagation(),io(i.el,i.classNames.dragging),m.removeEventListener("mousemove",i.drag,!0),m.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=y.setTimeout(function(){m.removeEventListener("click",i.preventClick,!0),m.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(s){s.preventDefault(),s.stopPropagation()},this.el=t,this.options=ia(ia({},e.defaultOptions),r),this.classNames=ia(ia({},e.defaultOptions.classNames),r.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Wp(this._onMouseMove,64),this.onWindowResize=Sl(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Sl(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Sl(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var r=t.firstElementChild,i=r==null?void 0:r.firstElementChild;if(!i)return null;document.body.appendChild(r),r.scrollLeft=0;var s=e.getOffset(r),m=e.getOffset(i);r.scrollLeft=-999;var y=e.getOffset(i);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:s.left!==m.left,isScrollingToNegative:m.left!==y.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Uc()}catch{return Uc()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),i=_u(t),s=ro(t);return{top:r.top+(s.pageYOffset||i.documentElement.scrollTop),left:r.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){od&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(zt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(zt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(zt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(zt(this.classNames.offset)),this.maskEl=this.el.querySelector(zt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,zt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(zt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(zt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(zt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(zt(this.classNames.scrollbar)))||null,this.options.autoHide||(oo(this.axis.x.scrollbar.el,this.classNames.visible),oo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,i=ro(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var s=!1,m=i.ResizeObserver||ResizeObserver;this.resizeObserver=new m(function(){s&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){s=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ro(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||r>0,m=this.contentWrapperEl.offsetWidth,y=this.elStyles.overflowX,S=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var p=this.contentEl.scrollHeight,x=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(r||x,"px"):"auto",this.placeholderEl.style.height="".concat(p,"px");var A=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&x>r,this.axis.y.isOverflowing=p>A,this.axis.x.isOverflowing=y==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=S==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var T=this.axis.x.isOverflowing?this.scrollbarWidth:0,D=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&x>m-D,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&p>A-T,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var r,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var s=this.contentEl[this.axis[t].scrollSizeAttr],m=(i=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,y=m/s,S;return S=Math.max(~~(y*m),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(S=Math.min(S,this.options.scrollbarMaxSize)),S},e.prototype.positionScrollbar=function(t){var r,i,s;t===void 0&&(t="y");var m=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!m.el||!this.elStyles)){var y=this.contentWrapperEl[this.axis[t].scrollSizeAttr],S=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,p=parseInt(this.elStyles[this.axis[t].sizeAttr],10),x=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];x=t==="x"&&this.isRtl&&(!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-x:x,t==="x"&&this.isRtl&&(x=!((s=e.getRtlHelpers())===null||s===void 0)&&s.isScrollingToNegative?x:-x);var A=x/(y-p),T=~~((S-m.size)*A);T=t==="x"&&this.isRtl?-T+(S-m.size):T,m.el.style.transform=t==="x"?"translate3d(".concat(T,"px, 0, 0)"):"translate3d(0, ".concat(T,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!r||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(oo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(io(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),oo(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?oo(r.scrollbar.el,this.classNames.hover):io(r.scrollbar.el,this.classNames.hover)):(io(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),io(this.axis[t].track.el,this.classNames.hover),io(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var i;r===void 0&&(r="y");var s=_u(this.el),m=ro(this.el),y=this.axis[r].scrollbar,S=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=S-(((i=y.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])||0),this.draggedAxis=r,oo(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(m.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var i=this,s,m,y,S;r===void 0&&(r="y");var p=this.axis[r];if(!(!this.options.clickOnTrack||!p.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var x=ro(this.el);this.axis[r].scrollbar.rect=p.scrollbar.el.getBoundingClientRect();var A=this.axis[r].scrollbar,T=(m=(s=A.rect)===null||s===void 0?void 0:s[this.axis[r].offsetAttr])!==null&&m!==void 0?m:0,D=parseInt((S=(y=this.elStyles)===null||y===void 0?void 0:y[this.axis[r].sizeAttr])!==null&&S!==void 0?S:"0px",10),_=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],$=r==="y"?this.mouseY-T:this.mouseX-T,G=$<0?-1:1,B=G===-1?_-D:_+D,F=40,Z=function(){i.contentWrapperEl&&(G===-1?_>B&&(_-=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)):_<B&&(_+=F,i.contentWrapperEl[i.axis[r].scrollOffsetAttr]=_,x.requestAnimationFrame(Z)))};Z()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ro(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,r){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(s){return i.call(s,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=$p,e.helpers=Hp,e}(),Qt=function(){return Qt=Object.assign||function(t){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var m in r)Object.prototype.hasOwnProperty.call(r,m)&&(t[m]=r[m])}return t},Qt.apply(this,arguments)};function Yp(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)t.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var fd=Qe.forwardRef(function(e,t){var r=e.children,i=e.scrollableNodeProps,s=i===void 0?{}:i,m=Yp(e,["children","scrollableNodeProps"]),y=Qe.useRef(),S=Qe.useRef(),p=Qe.useRef(),x={},A={};Object.keys(m).forEach(function(_){Object.prototype.hasOwnProperty.call(ml.defaultOptions,_)?x[_]=m[_]:A[_]=m[_]});var T=Qt(Qt({},ml.defaultOptions.classNames),x.classNames),D=Qt(Qt({},s),{className:"".concat(T.contentWrapper).concat(s.className?" ".concat(s.className):""),tabIndex:0,role:"region","aria-label":x.ariaLabel||ml.defaultOptions.ariaLabel});return Qe.useEffect(function(){var _;return S.current=D.ref?D.ref.current:S.current,y.current&&(_=new ml(y.current,Qt(Qt(Qt({},x),S.current&&{scrollableNode:S.current}),p.current&&{contentNode:p.current})),typeof t=="function"?t(_):t&&(t.current=_)),function(){_==null||_.unMount(),_=null,typeof t=="function"&&t(null)}},[]),Qe.createElement("div",Qt({"data-simplebar":"init",ref:y},A),Qe.createElement("div",{className:T.wrapper},Qe.createElement("div",{className:T.heightAutoObserverWrapperEl},Qe.createElement("div",{className:T.heightAutoObserverEl})),Qe.createElement("div",{className:T.mask},Qe.createElement("div",{className:T.offset},typeof r=="function"?r({scrollableNodeRef:S,scrollableNodeProps:Qt(Qt({},D),{ref:S}),contentNodeRef:p,contentNodeProps:{className:T.contentEl,ref:p}}):Qe.createElement("div",Qt({},D),Qe.createElement("div",{className:T.contentEl},r)))),Qe.createElement("div",{className:T.placeholder})),Qe.createElement("div",{className:"".concat(T.track," simplebar-horizontal")},Qe.createElement("div",{className:T.scrollbar})),Qe.createElement("div",{className:"".concat(T.track," simplebar-vertical")},Qe.createElement("div",{className:T.scrollbar})))});fd.displayName="SimpleBar";const dd=oe.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Fl=oe.createContext({}),dc=oe.createContext(null),Ll=typeof document<"u",Gp=Ll?oe.useLayoutEffect:oe.useEffect,hd=oe.createContext({strict:!1}),hc=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Xp="framerAppearId",pd="data-"+hc(Xp);function Zp(e,t,r,i){const{visualElement:s}=oe.useContext(Fl),m=oe.useContext(hd),y=oe.useContext(dc),S=oe.useContext(dd).reducedMotion,p=oe.useRef();i=i||m.renderer,!p.current&&i&&(p.current=i(e,{visualState:t,parent:s,props:r,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:S}));const x=p.current;oe.useInsertionEffect(()=>{x&&x.update(r,y)});const A=oe.useRef(!!(r[pd]&&!window.HandoffComplete));return Gp(()=>{x&&(x.render(),A.current&&x.animationState&&x.animationState.animateChanges())}),oe.useEffect(()=>{x&&(x.updateFeatures(),!A.current&&x.animationState&&x.animationState.animateChanges(),A.current&&(A.current=!1,window.HandoffComplete=!0))}),x}function aa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Jp(e,t,r){return oe.useCallback(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),r&&(typeof r=="function"?r(i):aa(r)&&(r.current=i))},[t])}function vs(e){return typeof e=="string"||Array.isArray(e)}function _l(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const pc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mc=["initial",...pc];function jl(e){return _l(e.animate)||mc.some(t=>vs(e[t]))}function md(e){return!!(jl(e)||e.variants)}function Qp(e,t){if(jl(e)){const{initial:r,animate:i}=e;return{initial:r===!1||vs(r)?r:void 0,animate:vs(i)?i:void 0}}return e.inherit!==!1?t:{}}function Kp(e){const{initial:t,animate:r}=Qp(e,oe.useContext(Fl));return oe.useMemo(()=>({initial:t,animate:r}),[Nc(t),Nc(r)])}function Nc(e){return Array.isArray(e)?e.join(" "):e}const Hc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ys={};for(const e in Hc)ys[e]={isEnabled:t=>Hc[e].some(r=>!!t[r])};function qp(e){for(const t in e)ys[t]={...ys[t],...e[t]}}const gd=oe.createContext({}),vd=oe.createContext({}),em=Symbol.for("motionComponentSymbol");function tm({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:s}){e&&qp(e);function m(S,p){let x;const A={...oe.useContext(dd),...S,layoutId:nm(S)},{isStatic:T}=A,D=Kp(S),_=i(S,T);if(!T&&Ll){D.visualElement=Zp(s,_,A,t);const $=oe.useContext(vd),G=oe.useContext(hd).strict;D.visualElement&&(x=D.visualElement.loadFeatures(A,G,e,$))}return Qe.createElement(Fl.Provider,{value:D},x&&D.visualElement?Qe.createElement(x,{visualElement:D.visualElement,...A}):null,r(s,S,Jp(_,D.visualElement,p),_,T,D.visualElement))}const y=oe.forwardRef(m);return y[em]=s,y}function nm({layoutId:e}){const t=oe.useContext(gd).id;return t&&e!==void 0?t+"-"+e:e}function rm(e){function t(i,s={}){return tm(e(i,s))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(i,s)=>(r.has(s)||r.set(s,t(s)),r.get(s))})}const om=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function gc(e){return typeof e!="string"||e.includes("-")?!1:!!(om.indexOf(e)>-1||/[A-Z]/.test(e))}const El={};function im(e){Object.assign(El,e)}const xs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ii=new Set(xs);function yd(e,{layout:t,layoutId:r}){return ii.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!El[e]||e==="opacity")}const Wt=e=>!!(e&&e.getVelocity),am={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sm=xs.length;function lm(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,s){let m="";for(let y=0;y<sm;y++){const S=xs[y];if(e[S]!==void 0){const p=am[S]||S;m+=`${p}(${e[S]}) `}}return t&&!e.z&&(m+="translateZ(0)"),m=m.trim(),s?m=s(e,i?"":m):r&&i&&(m="none"),m}const bd=e=>t=>typeof t=="string"&&t.startsWith(e),xd=bd("--"),Ku=bd("var(--"),um=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,cm=(e,t)=>t&&typeof e=="number"?t.transform(e):e,co=(e,t,r)=>Math.min(Math.max(r,e),t),ai={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},hs={...ai,transform:e=>co(0,1,e)},gl={...ai,default:1},ps=e=>Math.round(e*1e5)/1e5,Bl=/(-)?([\d]*\.?[\d])+/g,Sd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,fm=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ss(e){return typeof e=="string"}const ws=e=>({test:t=>Ss(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ao=ws("deg"),Jn=ws("%"),pe=ws("px"),dm=ws("vh"),hm=ws("vw"),$c={...Jn,parse:e=>Jn.parse(e)/100,transform:e=>Jn.transform(e*100)},Yc={...ai,transform:Math.round},wd={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,size:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,rotate:ao,rotateX:ao,rotateY:ao,rotateZ:ao,scale:gl,scaleX:gl,scaleY:gl,scaleZ:gl,skew:ao,skewX:ao,skewY:ao,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:hs,originX:$c,originY:$c,originZ:pe,zIndex:Yc,fillOpacity:hs,strokeOpacity:hs,numOctaves:Yc};function vc(e,t,r,i){const{style:s,vars:m,transform:y,transformOrigin:S}=e;let p=!1,x=!1,A=!0;for(const T in t){const D=t[T];if(xd(T)){m[T]=D;continue}const _=wd[T],$=cm(D,_);if(ii.has(T)){if(p=!0,y[T]=$,!A)continue;D!==(_.default||0)&&(A=!1)}else T.startsWith("origin")?(x=!0,S[T]=$):s[T]=$}if(t.transform||(p||i?s.transform=lm(e.transform,r,A,i):s.transform&&(s.transform="none")),x){const{originX:T="50%",originY:D="50%",originZ:_=0}=S;s.transformOrigin=`${T} ${D} ${_}`}}const yc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function kd(e,t,r){for(const i in t)!Wt(t[i])&&!yd(i,r)&&(e[i]=t[i])}function pm({transformTemplate:e},t,r){return oe.useMemo(()=>{const i=yc();return vc(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}function mm(e,t,r){const i=e.style||{},s={};return kd(s,i,e),Object.assign(s,pm(e,t,r)),e.transformValues?e.transformValues(s):s}function gm(e,t,r){const i={},s=mm(e,t,r);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=s,i}const vm=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||vm.has(e)}let Td=e=>!Rl(e);function ym(e){e&&(Td=t=>t.startsWith("on")?!Rl(t):e(t))}try{ym(require("@emotion/is-prop-valid").default)}catch{}function bm(e,t,r){const i={};for(const s in e)s==="values"&&typeof e.values=="object"||(Td(s)||r===!0&&Rl(s)||!t&&!Rl(s)||e.draggable&&s.startsWith("onDrag"))&&(i[s]=e[s]);return i}function Gc(e,t,r){return typeof e=="string"?e:pe.transform(t+r*e)}function xm(e,t,r){const i=Gc(t,e.x,e.width),s=Gc(r,e.y,e.height);return`${i} ${s}`}const Sm={offset:"stroke-dashoffset",array:"stroke-dasharray"},wm={offset:"strokeDashoffset",array:"strokeDasharray"};function km(e,t,r=1,i=0,s=!0){e.pathLength=1;const m=s?Sm:wm;e[m.offset]=pe.transform(-i);const y=pe.transform(t),S=pe.transform(r);e[m.array]=`${y} ${S}`}function bc(e,{attrX:t,attrY:r,attrScale:i,originX:s,originY:m,pathLength:y,pathSpacing:S=1,pathOffset:p=0,...x},A,T,D){if(vc(e,x,A,D),T){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:_,style:$,dimensions:G}=e;_.transform&&(G&&($.transform=_.transform),delete _.transform),G&&(s!==void 0||m!==void 0||$.transform)&&($.transformOrigin=xm(G,s!==void 0?s:.5,m!==void 0?m:.5)),t!==void 0&&(_.x=t),r!==void 0&&(_.y=r),i!==void 0&&(_.scale=i),y!==void 0&&km(_,y,S,p,!1)}const Cd=()=>({...yc(),attrs:{}}),xc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tm(e,t,r,i){const s=oe.useMemo(()=>{const m=Cd();return bc(m,t,{enableHardwareAcceleration:!1},xc(i),e.transformTemplate),{...m.attrs,style:{...m.style}}},[t]);if(e.style){const m={};kd(m,e.style,e),s.style={...m,...s.style}}return s}function Cm(e=!1){return(r,i,s,{latestValues:m},y)=>{const p=(gc(r)?Tm:gm)(i,m,y,r),A={...bm(i,typeof r=="string",e),...p,ref:s},{children:T}=i,D=oe.useMemo(()=>Wt(T)?T.get():T,[T]);return oe.createElement(r,{...A,children:D})}}function Ed(e,{style:t,vars:r},i,s){Object.assign(e.style,t,s&&s.getProjectionStyles(i));for(const m in r)e.style.setProperty(m,r[m])}const Rd=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Pd(e,t,r,i){Ed(e,t,void 0,i);for(const s in t.attrs)e.setAttribute(Rd.has(s)?s:hc(s),t.attrs[s])}function Sc(e,t){const{style:r}=e,i={};for(const s in r)(Wt(r[s])||t.style&&Wt(t.style[s])||yd(s,e))&&(i[s]=r[s]);return i}function Ad(e,t){const r=Sc(e,t);for(const i in e)if(Wt(e[i])||Wt(t[i])){const s=xs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function wc(e,t,r,i={},s={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,i,s)),t}function Em(e){const t=oe.useRef(null);return t.current===null&&(t.current=e()),t.current}const Pl=e=>Array.isArray(e),Rm=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Pm=e=>Pl(e)?e[e.length-1]||0:e;function wl(e){const t=Wt(e)?e.get():e;return Rm(t)?t.toValue():t}function Am({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,s,m){const y={latestValues:Im(i,s,m,e),renderState:t()};return r&&(y.mount=S=>r(i,S,y)),y}const Id=e=>(t,r)=>{const i=oe.useContext(Fl),s=oe.useContext(dc),m=()=>Am(e,t,i,s);return r?m():Em(m)};function Im(e,t,r,i){const s={},m=i(e,{});for(const D in m)s[D]=wl(m[D]);let{initial:y,animate:S}=e;const p=jl(e),x=md(e);t&&x&&!p&&e.inherit!==!1&&(y===void 0&&(y=t.initial),S===void 0&&(S=t.animate));let A=r?r.initial===!1:!1;A=A||y===!1;const T=A?S:y;return T&&typeof T!="boolean"&&!_l(T)&&(Array.isArray(T)?T:[T]).forEach(_=>{const $=wc(e,_);if(!$)return;const{transitionEnd:G,transition:B,...F}=$;for(const Z in F){let X=F[Z];if(Array.isArray(X)){const q=A?X.length-1:0;X=X[q]}X!==null&&(s[Z]=X)}for(const Z in G)s[Z]=G[Z]}),s}const Ye=e=>e;class Xc{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function Mm(e){let t=new Xc,r=new Xc,i=0,s=!1,m=!1;const y=new WeakSet,S={schedule:(p,x=!1,A=!1)=>{const T=A&&s,D=T?t:r;return x&&y.add(p),D.add(p)&&T&&s&&(i=t.order.length),p},cancel:p=>{r.remove(p),y.delete(p)},process:p=>{if(s){m=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length,i)for(let x=0;x<i;x++){const A=t.order[x];A(p),y.has(A)&&(S.schedule(A),e())}s=!1,m&&(m=!1,S.process(p))}};return S}const vl=["prepare","read","update","preRender","render","postRender"],Dm=40;function Om(e,t){let r=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},m=vl.reduce((T,D)=>(T[D]=Mm(()=>r=!0),T),{}),y=T=>m[T].process(s),S=()=>{const T=performance.now();r=!1,s.delta=i?1e3/60:Math.max(Math.min(T-s.timestamp,Dm),1),s.timestamp=T,s.isProcessing=!0,vl.forEach(y),s.isProcessing=!1,r&&t&&(i=!1,e(S))},p=()=>{r=!0,i=!0,s.isProcessing||e(S)};return{schedule:vl.reduce((T,D)=>{const _=m[D];return T[D]=($,G=!1,B=!1)=>(r||p(),_.schedule($,G,B)),T},{}),cancel:T=>vl.forEach(D=>m[D].cancel(T)),state:s,steps:m}}const{schedule:_e,cancel:Ir,state:pt,steps:ju}=Om(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0),Fm={useVisualState:Id({scrapeMotionValuesFromProps:Ad,createRenderState:Cd,onMount:(e,t,{renderState:r,latestValues:i})=>{_e.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),_e.render(()=>{bc(r,i,{enableHardwareAcceleration:!1},xc(t.tagName),e.transformTemplate),Pd(t,r)})}})},Lm={useVisualState:Id({scrapeMotionValuesFromProps:Sc,createRenderState:yc})};function _m(e,{forwardMotionProps:t=!1},r,i){return{...gc(e)?Fm:Lm,preloadedFeatures:r,useRender:Cm(t),createVisualElement:i,Component:e}}function Rr(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}const Md=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Vl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const jm=e=>t=>Md(t)&&e(t,Vl(t));function Pr(e,t,r,i){return Rr(e,t,jm(r),i)}const Bm=(e,t)=>r=>t(e(r)),lo=(...e)=>e.reduce(Bm);function Dd(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Zc=Dd("dragHorizontal"),Jc=Dd("dragVertical");function Od(e){let t=!1;if(e==="y")t=Jc();else if(e==="x")t=Zc();else{const r=Zc(),i=Jc();r&&i?t=()=>{r(),i()}:(r&&r(),i&&i())}return t}function Fd(){const e=Od(!0);return e?(e(),!1):!0}class ho{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Qc(e,t){const r="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End"),s=(m,y)=>{if(m.pointerType==="touch"||Fd())return;const S=e.getProps();e.animationState&&S.whileHover&&e.animationState.setActive("whileHover",t),S[i]&&_e.update(()=>S[i](m,y))};return Pr(e.current,r,s,{passive:!e.getProps()[i]})}class Vm extends ho{mount(){this.unmount=lo(Qc(this.node,!0),Qc(this.node,!1))}unmount(){}}class zm extends ho{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lo(Rr(this.node.current,"focus",()=>this.onFocus()),Rr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Ld=(e,t)=>t?e===t?!0:Ld(e,t.parentElement):!1;function Bu(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Vl(r))}class Wm extends ho{constructor(){super(...arguments),this.removeStartListeners=Ye,this.removeEndListeners=Ye,this.removeAccessibleListeners=Ye,this.startPointerPress=(t,r)=>{if(this.isPressing)return;this.removeEndListeners();const i=this.node.getProps(),m=Pr(window,"pointerup",(S,p)=>{if(!this.checkPressEnd())return;const{onTap:x,onTapCancel:A,globalTapTarget:T}=this.node.getProps();_e.update(()=>{!T&&!Ld(this.node.current,S.target)?A&&A(S,p):x&&x(S,p)})},{passive:!(i.onTap||i.onPointerUp)}),y=Pr(window,"pointercancel",(S,p)=>this.cancelPress(S,p),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=lo(m,y),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=m=>{if(m.key!=="Enter"||this.isPressing)return;const y=S=>{S.key!=="Enter"||!this.checkPressEnd()||Bu("up",(p,x)=>{const{onTap:A}=this.node.getProps();A&&_e.update(()=>A(p,x))})};this.removeEndListeners(),this.removeEndListeners=Rr(this.node.current,"keyup",y),Bu("down",(S,p)=>{this.startPress(S,p)})},r=Rr(this.node.current,"keydown",t),i=()=>{this.isPressing&&Bu("cancel",(m,y)=>this.cancelPress(m,y))},s=Rr(this.node.current,"blur",i);this.removeAccessibleListeners=lo(r,s)}}startPress(t,r){this.isPressing=!0;const{onTapStart:i,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&_e.update(()=>i(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Fd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:i}=this.node.getProps();i&&_e.update(()=>i(t,r))}mount(){const t=this.node.getProps(),r=Pr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),i=Rr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=lo(r,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const qu=new WeakMap,Vu=new WeakMap,Um=e=>{const t=qu.get(e.target);t&&t(e)},Nm=e=>{e.forEach(Um)};function Hm({root:e,...t}){const r=e||document;Vu.has(r)||Vu.set(r,{});const i=Vu.get(r),s=JSON.stringify(t);return i[s]||(i[s]=new IntersectionObserver(Nm,{root:e,...t})),i[s]}function $m(e,t,r){const i=Hm(t);return qu.set(e,r),i.observe(e),()=>{qu.delete(e),i.unobserve(e)}}const Ym={some:0,all:1};class Gm extends ho{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:i,amount:s="some",once:m}=t,y={root:r?r.current:void 0,rootMargin:i,threshold:typeof s=="number"?s:Ym[s]},S=p=>{const{isIntersecting:x}=p;if(this.isInView===x||(this.isInView=x,m&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:A,onViewportLeave:T}=this.node.getProps(),D=x?A:T;D&&D(p)};return $m(this.node.current,y,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(Xm(t,r))&&this.startObserver()}unmount(){}}function Xm({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const Zm={inView:{Feature:Gm},tap:{Feature:Wm},focus:{Feature:zm},hover:{Feature:Vm}};function _d(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function Jm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.get()),t}function Qm(e){const t={};return e.values.forEach((r,i)=>t[i]=r.getVelocity()),t}function zl(e,t,r){const i=e.getProps();return wc(i,t,r!==void 0?r:i.custom,Jm(e),Qm(e))}let ks=Ye,Dn=Ye;process.env.NODE_ENV!=="production"&&(ks=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},Dn=(e,t)=>{if(!e)throw new Error(t)});const uo=e=>e*1e3,Ar=e=>e/1e3,Km={current:!1},jd=e=>Array.isArray(e)&&typeof e[0]=="number";function Bd(e){return!!(!e||typeof e=="string"&&Vd[e]||jd(e)||Array.isArray(e)&&e.every(Bd))}const ds=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,Vd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ds([0,.65,.55,1]),circOut:ds([.55,0,1,.45]),backIn:ds([.31,.01,.66,-.59]),backOut:ds([.33,1.53,.69,.99])};function zd(e){if(e)return jd(e)?ds(e):Array.isArray(e)?e.map(zd):Vd[e]}function qm(e,t,r,{delay:i=0,duration:s,repeat:m=0,repeatType:y="loop",ease:S,times:p}={}){const x={[t]:r};p&&(x.offset=p);const A=zd(S);return Array.isArray(A)&&(x.easing=A),e.animate(x,{delay:i,duration:s,easing:Array.isArray(A)?"linear":A,fill:"both",iterations:m+1,direction:y==="reverse"?"alternate":"normal"})}function eg(e,{repeat:t,repeatType:r="loop"}){const i=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[i]}const Wd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,tg=1e-7,ng=12;function rg(e,t,r,i,s){let m,y,S=0;do y=t+(r-t)/2,m=Wd(y,i,s)-e,m>0?r=y:t=y;while(Math.abs(m)>tg&&++S<ng);return y}function Ts(e,t,r,i){if(e===t&&r===i)return Ye;const s=m=>rg(m,0,1,e,r);return m=>m===0||m===1?m:Wd(s(m),t,i)}const og=Ts(.42,0,1,1),ig=Ts(0,0,.58,1),Ud=Ts(.42,0,.58,1),ag=e=>Array.isArray(e)&&typeof e[0]!="number",Nd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hd=e=>t=>1-e(1-t),kc=e=>1-Math.sin(Math.acos(e)),$d=Hd(kc),sg=Nd(kc),Yd=Ts(.33,1.53,.69,.99),Tc=Hd(Yd),lg=Nd(Tc),ug=e=>(e*=2)<1?.5*Tc(e):.5*(2-Math.pow(2,-10*(e-1))),Kc={linear:Ye,easeIn:og,easeInOut:Ud,easeOut:ig,circIn:kc,circInOut:sg,circOut:$d,backIn:Tc,backInOut:lg,backOut:Yd,anticipate:ug},qc=e=>{if(Array.isArray(e)){Dn(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,i,s]=e;return Ts(t,r,i,s)}else if(typeof e=="string")return Dn(Kc[e]!==void 0,`Invalid easing type '${e}'`),Kc[e];return e},Cc=(e,t)=>r=>!!(Ss(r)&&fm.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Gd=(e,t,r)=>i=>{if(!Ss(i))return i;const[s,m,y,S]=i.match(Bl);return{[e]:parseFloat(s),[t]:parseFloat(m),[r]:parseFloat(y),alpha:S!==void 0?parseFloat(S):1}},cg=e=>co(0,255,e),zu={...ai,transform:e=>Math.round(cg(e))},ri={test:Cc("rgb","red"),parse:Gd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+zu.transform(e)+", "+zu.transform(t)+", "+zu.transform(r)+", "+ps(hs.transform(i))+")"};function fg(e){let t="",r="",i="",s="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),s=e.substring(4,5),t+=t,r+=r,i+=i,s+=s),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}}const ec={test:Cc("#"),parse:fg,transform:ri.transform},sa={test:Cc("hsl","hue"),parse:Gd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Jn.transform(ps(t))+", "+Jn.transform(ps(r))+", "+ps(hs.transform(i))+")"},Et={test:e=>ri.test(e)||ec.test(e)||sa.test(e),parse:e=>ri.test(e)?ri.parse(e):sa.test(e)?sa.parse(e):ec.parse(e),transform:e=>Ss(e)?e:e.hasOwnProperty("red")?ri.transform(e):sa.transform(e)},Ue=(e,t,r)=>-r*e+r*t+e;function Wu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function dg({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,t/=100,r/=100;let s=0,m=0,y=0;if(!t)s=m=y=r;else{const S=r<.5?r*(1+t):r+t-r*t,p=2*r-S;s=Wu(p,S,e+1/3),m=Wu(p,S,e),y=Wu(p,S,e-1/3)}return{red:Math.round(s*255),green:Math.round(m*255),blue:Math.round(y*255),alpha:i}}const Uu=(e,t,r)=>{const i=e*e;return Math.sqrt(Math.max(0,r*(t*t-i)+i))},hg=[ec,ri,sa],pg=e=>hg.find(t=>t.test(e));function ef(e){const t=pg(e);Dn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===sa&&(r=dg(r)),r}const Xd=(e,t)=>{const r=ef(e),i=ef(t),s={...r};return m=>(s.red=Uu(r.red,i.red,m),s.green=Uu(r.green,i.green,m),s.blue=Uu(r.blue,i.blue,m),s.alpha=Ue(r.alpha,i.alpha,m),ri.transform(s))};function mg(e){var t,r;return isNaN(e)&&Ss(e)&&(((t=e.match(Bl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(Sd))===null||r===void 0?void 0:r.length)||0)>0}const Zd={regex:um,countKey:"Vars",token:"${v}",parse:Ye},Jd={regex:Sd,countKey:"Colors",token:"${c}",parse:Et.parse},Qd={regex:Bl,countKey:"Numbers",token:"${n}",parse:ai.parse};function Nu(e,{regex:t,countKey:r,token:i,parse:s}){const m=e.tokenised.match(t);m&&(e["num"+r]=m.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...m.map(s)))}function Al(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Nu(r,Zd),Nu(r,Jd),Nu(r,Qd),r}function Kd(e){return Al(e).values}function qd(e){const{values:t,numColors:r,numVars:i,tokenised:s}=Al(e),m=t.length;return y=>{let S=s;for(let p=0;p<m;p++)p<i?S=S.replace(Zd.token,y[p]):p<i+r?S=S.replace(Jd.token,Et.transform(y[p])):S=S.replace(Qd.token,ps(y[p]));return S}}const gg=e=>typeof e=="number"?0:e;function vg(e){const t=Kd(e);return qd(e)(t.map(gg))}const fo={test:mg,parse:Kd,createTransformer:qd,getAnimatableNone:vg},eh=(e,t)=>r=>`${r>0?t:e}`;function th(e,t){return typeof e=="number"?r=>Ue(e,t,r):Et.test(e)?Xd(e,t):e.startsWith("var(")?eh(e,t):rh(e,t)}const nh=(e,t)=>{const r=[...e],i=r.length,s=e.map((m,y)=>th(m,t[y]));return m=>{for(let y=0;y<i;y++)r[y]=s[y](m);return r}},yg=(e,t)=>{const r={...e,...t},i={};for(const s in r)e[s]!==void 0&&t[s]!==void 0&&(i[s]=th(e[s],t[s]));return s=>{for(const m in i)r[m]=i[m](s);return r}},rh=(e,t)=>{const r=fo.createTransformer(t),i=Al(e),s=Al(t);return i.numVars===s.numVars&&i.numColors===s.numColors&&i.numNumbers>=s.numNumbers?lo(nh(i.values,s.values),r):(ks(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eh(e,t))},bs=(e,t,r)=>{const i=t-e;return i===0?1:(r-e)/i},tf=(e,t)=>r=>Ue(e,t,r);function bg(e){return typeof e=="number"?tf:typeof e=="string"?Et.test(e)?Xd:rh:Array.isArray(e)?nh:typeof e=="object"?yg:tf}function xg(e,t,r){const i=[],s=r||bg(e[0]),m=e.length-1;for(let y=0;y<m;y++){let S=s(e[y],e[y+1]);if(t){const p=Array.isArray(t)?t[y]||Ye:t;S=lo(p,S)}i.push(S)}return i}function oh(e,t,{clamp:r=!0,ease:i,mixer:s}={}){const m=e.length;if(Dn(m===t.length,"Both input and output ranges must be the same length"),m===1)return()=>t[0];e[0]>e[m-1]&&(e=[...e].reverse(),t=[...t].reverse());const y=xg(t,i,s),S=y.length,p=x=>{let A=0;if(S>1)for(;A<e.length-2&&!(x<e[A+1]);A++);const T=bs(e[A],e[A+1],x);return y[A](T)};return r?x=>p(co(e[0],e[m-1],x)):p}function Sg(e,t){const r=e[e.length-1];for(let i=1;i<=t;i++){const s=bs(0,t,i);e.push(Ue(r,1,s))}}function wg(e){const t=[0];return Sg(t,e.length-1),t}function kg(e,t){return e.map(r=>r*t)}function Tg(e,t){return e.map(()=>t||Ud).splice(0,e.length-1)}function Il({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){const s=ag(i)?i.map(qc):qc(i),m={done:!1,value:t[0]},y=kg(r&&r.length===t.length?r:wg(t),e),S=oh(y,t,{ease:Array.isArray(s)?s:Tg(t,s)});return{calculatedDuration:e,next:p=>(m.value=S(p),m.done=p>=e,m)}}function ih(e,t){return t?e*(1e3/t):0}const Cg=5;function ah(e,t,r){const i=Math.max(t-Cg,0);return ih(r-e(i),t-i)}const Hu=.001,Eg=.01,nf=10,Rg=.05,Pg=1;function Ag({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let s,m;ks(e<=uo(nf),"Spring duration must be 10 seconds or less");let y=1-t;y=co(Rg,Pg,y),e=co(Eg,nf,Ar(e)),y<1?(s=x=>{const A=x*y,T=A*e,D=A-r,_=tc(x,y),$=Math.exp(-T);return Hu-D/_*$},m=x=>{const T=x*y*e,D=T*r+r,_=Math.pow(y,2)*Math.pow(x,2)*e,$=Math.exp(-T),G=tc(Math.pow(x,2),y);return(-s(x)+Hu>0?-1:1)*((D-_)*$)/G}):(s=x=>{const A=Math.exp(-x*e),T=(x-r)*e+1;return-Hu+A*T},m=x=>{const A=Math.exp(-x*e),T=(r-x)*(e*e);return A*T});const S=5/e,p=Mg(s,m,S);if(e=uo(e),isNaN(p))return{stiffness:100,damping:10,duration:e};{const x=Math.pow(p,2)*i;return{stiffness:x,damping:y*2*Math.sqrt(i*x),duration:e}}}const Ig=12;function Mg(e,t,r){let i=r;for(let s=1;s<Ig;s++)i=i-e(i)/t(i);return i}function tc(e,t){return e*Math.sqrt(1-t*t)}const Dg=["duration","bounce"],Og=["stiffness","damping","mass"];function rf(e,t){return t.some(r=>e[r]!==void 0)}function Fg(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rf(e,Og)&&rf(e,Dg)){const r=Ag(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}function sh({keyframes:e,restDelta:t,restSpeed:r,...i}){const s=e[0],m=e[e.length-1],y={done:!1,value:s},{stiffness:S,damping:p,mass:x,duration:A,velocity:T,isResolvedFromDuration:D}=Fg({...i,velocity:-Ar(i.velocity||0)}),_=T||0,$=p/(2*Math.sqrt(S*x)),G=m-s,B=Ar(Math.sqrt(S/x)),F=Math.abs(G)<5;r||(r=F?.01:2),t||(t=F?.005:.5);let Z;if($<1){const X=tc(B,$);Z=q=>{const te=Math.exp(-$*B*q);return m-te*((_+$*B*G)/X*Math.sin(X*q)+G*Math.cos(X*q))}}else if($===1)Z=X=>m-Math.exp(-B*X)*(G+(_+B*G)*X);else{const X=B*Math.sqrt($*$-1);Z=q=>{const te=Math.exp(-$*B*q),ee=Math.min(X*q,300);return m-te*((_+$*B*G)*Math.sinh(ee)+X*G*Math.cosh(ee))/X}}return{calculatedDuration:D&&A||null,next:X=>{const q=Z(X);if(D)y.done=X>=A;else{let te=_;X!==0&&($<1?te=ah(Z,X,q):te=0);const ee=Math.abs(te)<=r,re=Math.abs(m-q)<=t;y.done=ee&&re}return y.value=y.done?m:q,y}}}function of({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:m=500,modifyTarget:y,min:S,max:p,restDelta:x=.5,restSpeed:A}){const T=e[0],D={done:!1,value:T},_=le=>S!==void 0&&le<S||p!==void 0&&le>p,$=le=>S===void 0?p:p===void 0||Math.abs(S-le)<Math.abs(p-le)?S:p;let G=r*t;const B=T+G,F=y===void 0?B:y(B);F!==B&&(G=F-T);const Z=le=>-G*Math.exp(-le/i),X=le=>F+Z(le),q=le=>{const ce=Z(le),ze=X(le);D.done=Math.abs(ce)<=x,D.value=D.done?F:ze};let te,ee;const re=le=>{_(D.value)&&(te=le,ee=sh({keyframes:[D.value,$(D.value)],velocity:ah(X,le,D.value),damping:s,stiffness:m,restDelta:x,restSpeed:A}))};return re(0),{calculatedDuration:null,next:le=>{let ce=!1;return!ee&&te===void 0&&(ce=!0,q(le),re(le)),te!==void 0&&le>te?ee.next(le-te):(!ce&&q(le),D)}}}const Lg=e=>{const t=({timestamp:r})=>e(r);return{start:()=>_e.update(t,!0),stop:()=>Ir(t),now:()=>pt.isProcessing?pt.timestamp:performance.now()}},af=2e4;function sf(e){let t=0;const r=50;let i=e.next(t);for(;!i.done&&t<af;)t+=r,i=e.next(t);return t>=af?1/0:t}const _g={decay:of,inertia:of,tween:Il,keyframes:Il,spring:sh};function Ml({autoplay:e=!0,delay:t=0,driver:r=Lg,keyframes:i,type:s="keyframes",repeat:m=0,repeatDelay:y=0,repeatType:S="loop",onPlay:p,onStop:x,onComplete:A,onUpdate:T,...D}){let _=1,$=!1,G,B;const F=()=>{B=new Promise(he=>{G=he})};F();let Z;const X=_g[s]||Il;let q;X!==Il&&typeof i[0]!="number"&&(process.env.NODE_ENV!=="production"&&Dn(i.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${i}`),q=oh([0,100],i,{clamp:!1}),i=[0,100]);const te=X({...D,keyframes:i});let ee;S==="mirror"&&(ee=X({...D,keyframes:[...i].reverse(),velocity:-(D.velocity||0)}));let re="idle",le=null,ce=null,ze=null;te.calculatedDuration===null&&m&&(te.calculatedDuration=sf(te));const{calculatedDuration:Ne}=te;let we=1/0,He=1/0;Ne!==null&&(we=Ne+y,He=we*(m+1)-y);let Ce=0;const dt=he=>{if(ce===null)return;_>0&&(ce=Math.min(ce,he)),_<0&&(ce=Math.min(he-He/_,ce)),le!==null?Ce=le:Ce=Math.round(he-ce)*_;const Se=Ce-t*(_>=0?1:-1),Nt=_>=0?Se<0:Se>He;Ce=Math.max(Se,0),re==="finished"&&le===null&&(Ce=He);let mt=Ce,Ae=te;if(m){const Ge=Math.min(Ce,He)/we;let it=Math.floor(Ge),Ie=Ge%1;!Ie&&Ge>=1&&(Ie=1),Ie===1&&it--,it=Math.min(it,m+1),!!(it%2)&&(S==="reverse"?(Ie=1-Ie,y&&(Ie-=y/we)):S==="mirror"&&(Ae=ee)),mt=co(0,1,Ie)*we}const ke=Nt?{done:!1,value:i[0]}:Ae.next(mt);q&&(ke.value=q(ke.value));let{done:Rt}=ke;!Nt&&Ne!==null&&(Rt=_>=0?Ce>=He:Ce<=0);const Ht=le===null&&(re==="finished"||re==="running"&&Rt);return T&&T(ke.value),Ht&&Ze(),ke},Pe=()=>{Z&&Z.stop(),Z=void 0},ot=()=>{re="idle",Pe(),G(),F(),ce=ze=null},Ze=()=>{re="finished",A&&A(),Pe(),G()},je=()=>{if($)return;Z||(Z=r(dt));const he=Z.now();p&&p(),le!==null?ce=he-le:(!ce||re==="finished")&&(ce=he),re==="finished"&&F(),ze=ce,le=null,re="running",Z.start()};e&&je();const Ut={then(he,Se){return B.then(he,Se)},get time(){return Ar(Ce)},set time(he){he=uo(he),Ce=he,le!==null||!Z||_===0?le=he:ce=Z.now()-he/_},get duration(){const he=te.calculatedDuration===null?sf(te):te.calculatedDuration;return Ar(he)},get speed(){return _},set speed(he){he===_||!Z||(_=he,Ut.time=Ar(Ce))},get state(){return re},play:je,pause:()=>{re="paused",le=Ce},stop:()=>{$=!0,re!=="idle"&&(re="idle",x&&x(),ot())},cancel:()=>{ze!==null&&dt(ze),ot()},complete:()=>{re="finished"},sample:he=>(ce=0,dt(he))};return Ut}function jg(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bg=jg(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Vg=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),yl=10,zg=2e4,Wg=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Bd(t.ease);function Ug(e,t,{onUpdate:r,onComplete:i,...s}){if(!(Bg()&&Vg.has(t)&&!s.repeatDelay&&s.repeatType!=="mirror"&&s.damping!==0&&s.type!=="inertia"))return!1;let y=!1,S,p,x=!1;const A=()=>{p=new Promise(X=>{S=X})};A();let{keyframes:T,duration:D=300,ease:_,times:$}=s;if(Wg(t,s)){const X=Ml({...s,repeat:0,delay:0});let q={done:!1,value:T[0]};const te=[];let ee=0;for(;!q.done&&ee<zg;)q=X.sample(ee),te.push(q.value),ee+=yl;$=void 0,T=te,D=ee-yl,_="linear"}const G=qm(e.owner.current,t,T,{...s,duration:D,ease:_,times:$}),B=()=>{x=!1,G.cancel()},F=()=>{x=!0,_e.update(B),S(),A()};return G.onfinish=()=>{x||(e.set(eg(T,s)),i&&i(),F())},{then(X,q){return p.then(X,q)},attachTimeline(X){return G.timeline=X,G.onfinish=null,Ye},get time(){return Ar(G.currentTime||0)},set time(X){G.currentTime=uo(X)},get speed(){return G.playbackRate},set speed(X){G.playbackRate=X},get duration(){return Ar(D)},play:()=>{y||(G.play(),Ir(B))},pause:()=>G.pause(),stop:()=>{if(y=!0,G.playState==="idle")return;const{currentTime:X}=G;if(X){const q=Ml({...s,autoplay:!1});e.setWithVelocity(q.sample(X-yl).value,q.sample(X).value,yl)}F()},complete:()=>{x||G.finish()},cancel:F}}function Ng({keyframes:e,delay:t,onUpdate:r,onComplete:i}){const s=()=>(r&&r(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:Ye,pause:Ye,stop:Ye,then:m=>(m(),Promise.resolve()),cancel:Ye,complete:Ye});return t?Ml({keyframes:[0,1],duration:0,delay:t,onComplete:s}):s()}const Hg={type:"spring",stiffness:500,damping:25,restSpeed:10},$g=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Yg={type:"keyframes",duration:.8},Gg={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Xg=(e,{keyframes:t})=>t.length>2?Yg:ii.has(e)?e.startsWith("scale")?$g(t[1]):Hg:Gg,nc=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(fo.test(t)||t==="0")&&!t.startsWith("url(")),Zg=new Set(["brightness","contrast","saturate","opacity"]);function Jg(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=r.match(Bl)||[];if(!i)return e;const s=r.replace(i,"");let m=Zg.has(t)?1:0;return i!==r&&(m*=100),t+"("+m+s+")"}const Qg=/([a-z-]*)\(.*?\)/g,rc={...fo,getAnimatableNone:e=>{const t=e.match(Qg);return t?t.map(Jg).join(" "):e}},Kg={...wd,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:rc,WebkitFilter:rc},Ec=e=>Kg[e];function lh(e,t){let r=Ec(e);return r!==rc&&(r=fo),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const uh=e=>/^0[^.\s]+$/.test(e);function qg(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||uh(e)}function ev(e,t,r,i){const s=nc(t,r);let m;Array.isArray(r)?m=[...r]:m=[null,r];const y=i.from!==void 0?i.from:e.get();let S;const p=[];for(let x=0;x<m.length;x++)m[x]===null&&(m[x]=x===0?y:m[x-1]),qg(m[x])&&p.push(x),typeof m[x]=="string"&&m[x]!=="none"&&m[x]!=="0"&&(S=m[x]);if(s&&p.length&&S)for(let x=0;x<p.length;x++){const A=p[x];m[A]=lh(t,S)}return m}function tv({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:s,repeat:m,repeatType:y,repeatDelay:S,from:p,elapsed:x,...A}){return!!Object.keys(A).length}function Rc(e,t){return e[t]||e.default||e}const nv={skipAnimations:!1},Pc=(e,t,r,i={})=>s=>{const m=Rc(i,e)||{},y=m.delay||i.delay||0;let{elapsed:S=0}=i;S=S-uo(y);const p=ev(t,e,r,m),x=p[0],A=p[p.length-1],T=nc(e,x),D=nc(e,A);ks(T===D,`You are trying to animate ${e} from "${x}" to "${A}". ${x} is not an animatable value - to enable this animation set ${x} to a value animatable to ${A} via the \`style\` property.`);let _={keyframes:p,velocity:t.getVelocity(),ease:"easeOut",...m,delay:-S,onUpdate:$=>{t.set($),m.onUpdate&&m.onUpdate($)},onComplete:()=>{s(),m.onComplete&&m.onComplete()}};if(tv(m)||(_={..._,...Xg(e,_)}),_.duration&&(_.duration=uo(_.duration)),_.repeatDelay&&(_.repeatDelay=uo(_.repeatDelay)),!T||!D||Km.current||m.type===!1||nv.skipAnimations)return Ng(_);if(!i.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const $=Ug(t,e,_);if($)return $}return Ml(_)};function Dl(e){return!!(Wt(e)&&e.add)}const ch=e=>/^\-?\d*\.?\d+$/.test(e);function Ac(e,t){e.indexOf(t)===-1&&e.push(t)}function Ic(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Mc{constructor(){this.subscriptions=[]}add(t){return Ac(this.subscriptions,t),()=>Ic(this.subscriptions,t)}notify(t,r,i){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,r,i);else for(let m=0;m<s;m++){const y=this.subscriptions[m];y&&y(t,r,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const lf=new Set;function Dc(e,t,r){e||lf.has(t)||(console.warn(t),r&&console.warn(r),lf.add(t))}const rv=e=>!isNaN(parseFloat(e));class ov{constructor(t,r={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(i,s=!0)=>{this.prev=this.current,this.current=i;const{delta:m,timestamp:y}=pt;this.lastUpdated!==y&&(this.timeDelta=m,this.lastUpdated=y,_e.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>_e.postRender(this.velocityCheck),this.velocityCheck=({timestamp:i})=>{i!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=rv(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Dc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Mc);const i=this.events[t].add(r);return t==="change"?()=>{i(),_e.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,i){this.set(r),this.prev=t,this.timeDelta=i}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?ih(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ca(e,t){return new ov(e,t)}const fh=e=>t=>t.test(e),iv={test:e=>e==="auto",parse:e=>e},dh=[ai,pe,Jn,ao,hm,dm,iv],cs=e=>dh.find(fh(e)),av=[...dh,Et,fo],sv=e=>av.find(fh(e));function lv(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ca(r))}function uv(e,t){const r=zl(e,t);let{transitionEnd:i={},transition:s={},...m}=r?e.makeTargetAnimatable(r,!1):{};m={...m,...i};for(const y in m){const S=Pm(m[y]);lv(e,y,S)}}function cv(e,t,r){var i,s;const m=Object.keys(t).filter(S=>!e.hasValue(S)),y=m.length;if(y)for(let S=0;S<y;S++){const p=m[S],x=t[p];let A=null;Array.isArray(x)&&(A=x[0]),A===null&&(A=(s=(i=r[p])!==null&&i!==void 0?i:e.readValue(p))!==null&&s!==void 0?s:t[p]),A!=null&&(typeof A=="string"&&(ch(A)||uh(A))?A=parseFloat(A):!sv(A)&&fo.test(x)&&(A=lh(p,x)),e.addValue(p,ca(A,{owner:e})),r[p]===void 0&&(r[p]=A),A!==null&&e.setBaseTarget(p,A))}}function fv(e,t){return t?(t[e]||t.default||t).from:void 0}function dv(e,t,r){const i={};for(const s in e){const m=fv(s,t);if(m!==void 0)i[s]=m;else{const y=r.getValue(s);y&&(i[s]=y.get())}}return i}function hv({protectedKeys:e,needsAnimating:t},r){const i=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,i}function pv(e,t){const r=e.get();if(Array.isArray(t)){for(let i=0;i<t.length;i++)if(t[i]!==r)return!0}else return r!==t}function hh(e,t,{delay:r=0,transitionOverride:i,type:s}={}){let{transition:m=e.getDefaultTransition(),transitionEnd:y,...S}=e.makeTargetAnimatable(t);const p=e.getValue("willChange");i&&(m=i);const x=[],A=s&&e.animationState&&e.animationState.getState()[s];for(const T in S){const D=e.getValue(T),_=S[T];if(!D||_===void 0||A&&hv(A,T))continue;const $={delay:r,elapsed:0,...Rc(m||{},T)};if(window.HandoffAppearAnimations){const F=e.getProps()[pd];if(F){const Z=window.HandoffAppearAnimations(F,T,D,_e);Z!==null&&($.elapsed=Z,$.isHandoff=!0)}}let G=!$.isHandoff&&!pv(D,_);if($.type==="spring"&&(D.getVelocity()||$.velocity)&&(G=!1),D.animation&&(G=!1),G)continue;D.start(Pc(T,D,_,e.shouldReduceMotion&&ii.has(T)?{type:!1}:$));const B=D.animation;Dl(p)&&(p.add(T),B.then(()=>p.remove(T))),x.push(B)}return y&&Promise.all(x).then(()=>{y&&uv(e,y)}),x}function oc(e,t,r={}){const i=zl(e,t,r.custom);let{transition:s=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(s=r.transitionOverride);const m=i?()=>Promise.all(hh(e,i,r)):()=>Promise.resolve(),y=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:x=0,staggerChildren:A,staggerDirection:T}=s;return mv(e,t,x+p,A,T,r)}:()=>Promise.resolve(),{when:S}=s;if(S){const[p,x]=S==="beforeChildren"?[m,y]:[y,m];return p().then(()=>x())}else return Promise.all([m(),y(r.delay)])}function mv(e,t,r=0,i=0,s=1,m){const y=[],S=(e.variantChildren.size-1)*i,p=s===1?(x=0)=>x*i:(x=0)=>S-x*i;return Array.from(e.variantChildren).sort(gv).forEach((x,A)=>{x.notify("AnimationStart",t),y.push(oc(x,t,{...m,delay:r+p(A)}).then(()=>x.notify("AnimationComplete",t)))}),Promise.all(y)}function gv(e,t){return e.sortNodePosition(t)}function vv(e,t,r={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const s=t.map(m=>oc(e,m,r));i=Promise.all(s)}else if(typeof t=="string")i=oc(e,t,r);else{const s=typeof t=="function"?zl(e,t,r.custom):t;i=Promise.all(hh(e,s,r))}return i.then(()=>e.notify("AnimationComplete",t))}const yv=[...pc].reverse(),bv=pc.length;function xv(e){return t=>Promise.all(t.map(({animation:r,options:i})=>vv(e,r,i)))}function Sv(e){let t=xv(e);const r=kv();let i=!0;const s=(p,x)=>{const A=zl(e,x);if(A){const{transition:T,transitionEnd:D,..._}=A;p={...p,..._,...D}}return p};function m(p){t=p(e)}function y(p,x){const A=e.getProps(),T=e.getVariantContext(!0)||{},D=[],_=new Set;let $={},G=1/0;for(let F=0;F<bv;F++){const Z=yv[F],X=r[Z],q=A[Z]!==void 0?A[Z]:T[Z],te=vs(q),ee=Z===x?X.isActive:null;ee===!1&&(G=F);let re=q===T[Z]&&q!==A[Z]&&te;if(re&&i&&e.manuallyAnimateOnMount&&(re=!1),X.protectedKeys={...$},!X.isActive&&ee===null||!q&&!X.prevProp||_l(q)||typeof q=="boolean")continue;let ce=wv(X.prevProp,q)||Z===x&&X.isActive&&!re&&te||F>G&&te,ze=!1;const Ne=Array.isArray(q)?q:[q];let we=Ne.reduce(s,{});ee===!1&&(we={});const{prevResolvedValues:He={}}=X,Ce={...He,...we},dt=Pe=>{ce=!0,_.has(Pe)&&(ze=!0,_.delete(Pe)),X.needsAnimating[Pe]=!0};for(const Pe in Ce){const ot=we[Pe],Ze=He[Pe];if($.hasOwnProperty(Pe))continue;let je=!1;Pl(ot)&&Pl(Ze)?je=!_d(ot,Ze):je=ot!==Ze,je?ot!==void 0?dt(Pe):_.add(Pe):ot!==void 0&&_.has(Pe)?dt(Pe):X.protectedKeys[Pe]=!0}X.prevProp=q,X.prevResolvedValues=we,X.isActive&&($={...$,...we}),i&&e.blockInitialAnimation&&(ce=!1),ce&&(!re||ze)&&D.push(...Ne.map(Pe=>({animation:Pe,options:{type:Z,...p}})))}if(_.size){const F={};_.forEach(Z=>{const X=e.getBaseTarget(Z);X!==void 0&&(F[Z]=X)}),D.push({animation:F})}let B=!!D.length;return i&&(A.initial===!1||A.initial===A.animate)&&!e.manuallyAnimateOnMount&&(B=!1),i=!1,B?t(D):Promise.resolve()}function S(p,x,A){var T;if(r[p].isActive===x)return Promise.resolve();(T=e.variantChildren)===null||T===void 0||T.forEach(_=>{var $;return($=_.animationState)===null||$===void 0?void 0:$.setActive(p,x)}),r[p].isActive=x;const D=y(A,p);for(const _ in r)r[_].protectedKeys={};return D}return{animateChanges:y,setActive:S,setAnimateFunction:m,getState:()=>r}}function wv(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_d(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kv(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Tv extends ho{constructor(t){super(t),t.animationState||(t.animationState=Sv(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),_l(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let Cv=0;class Ev extends ho{constructor(){super(...arguments),this.id=Cv++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const m=this.node.animationState.setActive("exit",!t,{custom:i??this.node.getProps().custom});r&&!t&&m.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Rv={animation:{Feature:Tv},exit:{Feature:Ev}},uf=(e,t)=>Math.abs(e-t);function Pv(e,t){const r=uf(e.x,t.x),i=uf(e.y,t.y);return Math.sqrt(r**2+i**2)}class ph{constructor(t,r,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:m=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const T=Yu(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,_=Pv(T.offset,{x:0,y:0})>=3;if(!D&&!_)return;const{point:$}=T,{timestamp:G}=pt;this.history.push({...$,timestamp:G});const{onStart:B,onMove:F}=this.handlers;D||(B&&B(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),F&&F(this.lastMoveEvent,T)},this.handlePointerMove=(T,D)=>{this.lastMoveEvent=T,this.lastMoveEventInfo=$u(D,this.transformPagePoint),_e.update(this.updatePoint,!0)},this.handlePointerUp=(T,D)=>{this.end();const{onEnd:_,onSessionEnd:$,resumeAnimation:G}=this.handlers;if(this.dragSnapToOrigin&&G&&G(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const B=Yu(T.type==="pointercancel"?this.lastMoveEventInfo:$u(D,this.transformPagePoint),this.history);this.startEvent&&_&&_(T,B),$&&$(T,B)},!Md(t))return;this.dragSnapToOrigin=m,this.handlers=r,this.transformPagePoint=i,this.contextWindow=s||window;const y=Vl(t),S=$u(y,this.transformPagePoint),{point:p}=S,{timestamp:x}=pt;this.history=[{...p,timestamp:x}];const{onSessionStart:A}=r;A&&A(t,Yu(S,this.history)),this.removeListeners=lo(Pr(this.contextWindow,"pointermove",this.handlePointerMove),Pr(this.contextWindow,"pointerup",this.handlePointerUp),Pr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ir(this.updatePoint)}}function $u(e,t){return t?{point:t(e.point)}:e}function cf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yu({point:e},t){return{point:e,delta:cf(e,mh(t)),offset:cf(e,Av(t)),velocity:Iv(t,.1)}}function Av(e){return e[0]}function mh(e){return e[e.length-1]}function Iv(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null;const s=mh(e);for(;r>=0&&(i=e[r],!(s.timestamp-i.timestamp>uo(t)));)r--;if(!i)return{x:0,y:0};const m=Ar(s.timestamp-i.timestamp);if(m===0)return{x:0,y:0};const y={x:(s.x-i.x)/m,y:(s.y-i.y)/m};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function Kt(e){return e.max-e.min}function ic(e,t=0,r=.01){return Math.abs(e-t)<=r}function ff(e,t,r,i=.5){e.origin=i,e.originPoint=Ue(t.min,t.max,e.origin),e.scale=Kt(r)/Kt(t),(ic(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ue(r.min,r.max,e.origin)-e.originPoint,(ic(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ms(e,t,r,i){ff(e.x,t.x,r.x,i?i.originX:void 0),ff(e.y,t.y,r.y,i?i.originY:void 0)}function df(e,t,r){e.min=r.min+t.min,e.max=e.min+Kt(t)}function Mv(e,t,r){df(e.x,t.x,r.x),df(e.y,t.y,r.y)}function hf(e,t,r){e.min=t.min-r.min,e.max=e.min+Kt(t)}function gs(e,t,r){hf(e.x,t.x,r.x),hf(e.y,t.y,r.y)}function Dv(e,{min:t,max:r},i){return t!==void 0&&e<t?e=i?Ue(t,e,i.min):Math.max(e,t):r!==void 0&&e>r&&(e=i?Ue(r,e,i.max):Math.min(e,r)),e}function pf(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function Ov(e,{top:t,left:r,bottom:i,right:s}){return{x:pf(e.x,r,s),y:pf(e.y,t,i)}}function mf(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function Fv(e,t){return{x:mf(e.x,t.x),y:mf(e.y,t.y)}}function Lv(e,t){let r=.5;const i=Kt(e),s=Kt(t);return s>i?r=bs(t.min,t.max-i,e.min):i>s&&(r=bs(e.min,e.max-s,t.min)),co(0,1,r)}function _v(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const ac=.35;function jv(e=ac){return e===!1?e=0:e===!0&&(e=ac),{x:gf(e,"left","right"),y:gf(e,"top","bottom")}}function gf(e,t,r){return{min:vf(e,t),max:vf(e,r)}}function vf(e,t){return typeof e=="number"?e:e[t]||0}const yf=()=>({translate:0,scale:1,origin:0,originPoint:0}),la=()=>({x:yf(),y:yf()}),bf=()=>({min:0,max:0}),Ke=()=>({x:bf(),y:bf()});function gn(e){return[e("x"),e("y")]}function gh({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function Bv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vv(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function Gu(e){return e===void 0||e===1}function sc({scale:e,scaleX:t,scaleY:r}){return!Gu(e)||!Gu(t)||!Gu(r)}function ti(e){return sc(e)||vh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function vh(e){return xf(e.x)||xf(e.y)}function xf(e){return e&&e!=="0%"}function Ol(e,t,r){const i=e-r,s=t*i;return r+s}function Sf(e,t,r,i,s){return s!==void 0&&(e=Ol(e,s,i)),Ol(e,r,i)+t}function lc(e,t=0,r=1,i,s){e.min=Sf(e.min,t,r,i,s),e.max=Sf(e.max,t,r,i,s)}function yh(e,{x:t,y:r}){lc(e.x,t.translate,t.scale,t.originPoint),lc(e.y,r.translate,r.scale,r.originPoint)}function zv(e,t,r,i=!1){const s=r.length;if(!s)return;t.x=t.y=1;let m,y;for(let S=0;S<s;S++){m=r[S],y=m.projectionDelta;const p=m.instance;p&&p.style&&p.style.display==="contents"||(i&&m.options.layoutScroll&&m.scroll&&m!==m.root&&ua(e,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),y&&(t.x*=y.x.scale,t.y*=y.y.scale,yh(e,y)),i&&ti(m.latestValues)&&ua(e,m.latestValues))}t.x=wf(t.x),t.y=wf(t.y)}function wf(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function so(e,t){e.min=e.min+t,e.max=e.max+t}function kf(e,t,[r,i,s]){const m=t[s]!==void 0?t[s]:.5,y=Ue(e.min,e.max,m);lc(e,t[r],t[i],y,t.scale)}const Wv=["x","scaleX","originX"],Uv=["y","scaleY","originY"];function ua(e,t){kf(e.x,t,Wv),kf(e.y,t,Uv)}function bh(e,t){return gh(Vv(e.getBoundingClientRect(),t))}function Nv(e,t,r){const i=bh(e,r),{scroll:s}=t;return s&&(so(i.x,s.offset.x),so(i.y,s.offset.y)),i}const xh=({current:e})=>e?e.ownerDocument.defaultView:null,Hv=new WeakMap;class $v{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ke(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=A=>{const{dragSnapToOrigin:T}=this.getProps();T?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(Vl(A,"page").point)},m=(A,T)=>{const{drag:D,dragPropagation:_,onDragStart:$}=this.getProps();if(D&&!_&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Od(D),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),gn(B=>{let F=this.getAxisMotionValue(B).get()||0;if(Jn.test(F)){const{projection:Z}=this.visualElement;if(Z&&Z.layout){const X=Z.layout.layoutBox[B];X&&(F=Kt(X)*(parseFloat(F)/100))}}this.originPoint[B]=F}),$&&_e.update(()=>$(A,T),!1,!0);const{animationState:G}=this.visualElement;G&&G.setActive("whileDrag",!0)},y=(A,T)=>{const{dragPropagation:D,dragDirectionLock:_,onDirectionLock:$,onDrag:G}=this.getProps();if(!D&&!this.openGlobalLock)return;const{offset:B}=T;if(_&&this.currentDirection===null){this.currentDirection=Yv(B),this.currentDirection!==null&&$&&$(this.currentDirection);return}this.updateAxis("x",T.point,B),this.updateAxis("y",T.point,B),this.visualElement.render(),G&&G(A,T)},S=(A,T)=>this.stop(A,T),p=()=>gn(A=>{var T;return this.getAnimationState(A)==="paused"&&((T=this.getAxisMotionValue(A).animation)===null||T===void 0?void 0:T.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new ph(t,{onSessionStart:s,onStart:m,onMove:y,onSessionEnd:S,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:xh(this.visualElement)})}stop(t,r){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:m}=this.getProps();m&&_e.update(()=>m(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,i){const{drag:s}=this.getProps();if(!i||!bl(t,s,this.currentDirection))return;const m=this.getAxisMotionValue(t);let y=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(y=Dv(y,this.constraints[t],this.elastic[t])),m.set(y)}resolveConstraints(){var t;const{dragConstraints:r,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,m=this.constraints;r&&aa(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=Ov(s.layoutBox,r):this.constraints=!1,this.elastic=jv(i),m!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&gn(y=>{this.getAxisMotionValue(y)&&(this.constraints[y]=_v(s.layoutBox[y],this.constraints[y]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!aa(t))return!1;const i=t.current;Dn(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const m=Nv(i,s.root,this.visualElement.getTransformPagePoint());let y=Fv(s.layout.layoutBox,m);if(r){const S=r(Bv(y));this.hasMutatedConstraints=!!S,S&&(y=gh(S))}return y}startAnimation(t){const{drag:r,dragMomentum:i,dragElastic:s,dragTransition:m,dragSnapToOrigin:y,onDragTransitionEnd:S}=this.getProps(),p=this.constraints||{},x=gn(A=>{if(!bl(A,r,this.currentDirection))return;let T=p&&p[A]||{};y&&(T={min:0,max:0});const D=s?200:1e6,_=s?40:1e7,$={type:"inertia",velocity:i?t[A]:0,bounceStiffness:D,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10,...m,...T};return this.startAxisValueAnimation(A,$)});return Promise.all(x).then(S)}startAxisValueAnimation(t,r){const i=this.getAxisMotionValue(t);return i.start(Pc(t,i,0,r))}stopAnimation(){gn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){gn(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),i=this.visualElement.getProps(),s=i[r];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){gn(r=>{const{drag:i}=this.getProps();if(!bl(r,i,this.currentDirection))return;const{projection:s}=this.visualElement,m=this.getAxisMotionValue(r);if(s&&s.layout){const{min:y,max:S}=s.layout.layoutBox[r];m.set(t[r]-Ue(y,S,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:i}=this.visualElement;if(!aa(r)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};gn(y=>{const S=this.getAxisMotionValue(y);if(S){const p=S.get();s[y]=Lv({min:p,max:p},this.constraints[y])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),gn(y=>{if(!bl(y,t,null))return;const S=this.getAxisMotionValue(y),{min:p,max:x}=this.constraints[y];S.set(Ue(p,x,s[y]))})}addListeners(){if(!this.visualElement.current)return;Hv.set(this.visualElement,this);const t=this.visualElement.current,r=Pr(t,"pointerdown",p=>{const{drag:x,dragListener:A=!0}=this.getProps();x&&A&&this.start(p)}),i=()=>{const{dragConstraints:p}=this.getProps();aa(p)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,m=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();const y=Rr(window,"resize",()=>this.scalePositionWithinConstraints()),S=s.addEventListener("didUpdate",({delta:p,hasLayoutChanged:x})=>{this.isDragging&&x&&(gn(A=>{const T=this.getAxisMotionValue(A);T&&(this.originPoint[A]+=p[A].translate,T.set(T.get()+p[A].translate))}),this.visualElement.render())});return()=>{y(),r(),m(),S&&S()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:m=!1,dragElastic:y=ac,dragMomentum:S=!0}=t;return{...t,drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:m,dragElastic:y,dragMomentum:S}}}function bl(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function Yv(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class Gv extends ho{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new $v(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}}const Tf=e=>(t,r)=>{e&&_e.update(()=>e(t,r))};class Xv extends ho{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new ph(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xh(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:Tf(t),onStart:Tf(r),onMove:i,onEnd:(m,y)=>{delete this.session,s&&_e.update(()=>s(m,y))}}}mount(){this.removePointerDownListener=Pr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function Zv(){const e=oe.useContext(dc);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,s=oe.useId();return oe.useEffect(()=>i(s),[]),!t&&r?[!1,()=>r&&r(s)]:[!0]}const kl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Cf(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const r=Cf(e,t.target.x),i=Cf(e,t.target.y);return`${r}% ${i}%`}},Jv={correct:(e,{treeScale:t,projectionDelta:r})=>{const i=e,s=fo.parse(e);if(s.length>5)return i;const m=fo.createTransformer(e),y=typeof s[0]!="number"?1:0,S=r.x.scale*t.x,p=r.y.scale*t.y;s[0+y]/=S,s[1+y]/=p;const x=Ue(S,p,.5);return typeof s[2+y]=="number"&&(s[2+y]/=x),typeof s[3+y]=="number"&&(s[3+y]/=x),m(s)}};class Qv extends oe.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i,layoutId:s}=this.props,{projection:m}=t;im(Kv),m&&(r.group&&r.group.add(m),i&&i.register&&s&&i.register(m),m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,onExitComplete:()=>this.safeToRemove()})),kl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:i,drag:s,isPresent:m}=this.props,y=i.projection;return y&&(y.isPresent=m,s||t.layoutDependency!==r||r===void 0?y.willUpdate():this.safeToRemove(),t.isPresent!==m&&(m?y.promote():y.relegate()||_e.postRender(()=>{const S=y.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:i}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Sh(e){const[t,r]=Zv(),i=oe.useContext(gd);return oe.createElement(Qv,{...e,layoutGroup:i,switchLayoutGroup:oe.useContext(vd),isPresent:t,safeToRemove:r})}const Kv={borderRadius:{...fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fs,borderTopRightRadius:fs,borderBottomLeftRadius:fs,borderBottomRightRadius:fs,boxShadow:Jv},wh=["TopLeft","TopRight","BottomLeft","BottomRight"],qv=wh.length,Ef=e=>typeof e=="string"?parseFloat(e):e,Rf=e=>typeof e=="number"||pe.test(e);function ey(e,t,r,i,s,m){s?(e.opacity=Ue(0,r.opacity!==void 0?r.opacity:1,ty(i)),e.opacityExit=Ue(t.opacity!==void 0?t.opacity:1,0,ny(i))):m&&(e.opacity=Ue(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,i));for(let y=0;y<qv;y++){const S=`border${wh[y]}Radius`;let p=Pf(t,S),x=Pf(r,S);if(p===void 0&&x===void 0)continue;p||(p=0),x||(x=0),p===0||x===0||Rf(p)===Rf(x)?(e[S]=Math.max(Ue(Ef(p),Ef(x),i),0),(Jn.test(x)||Jn.test(p))&&(e[S]+="%")):e[S]=x}(t.rotate||r.rotate)&&(e.rotate=Ue(t.rotate||0,r.rotate||0,i))}function Pf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ty=kh(0,.5,$d),ny=kh(.5,.95,Ye);function kh(e,t,r){return i=>i<e?0:i>t?1:r(bs(e,t,i))}function Af(e,t){e.min=t.min,e.max=t.max}function mn(e,t){Af(e.x,t.x),Af(e.y,t.y)}function If(e,t,r,i,s){return e-=t,e=Ol(e,1/r,i),s!==void 0&&(e=Ol(e,1/s,i)),e}function ry(e,t=0,r=1,i=.5,s,m=e,y=e){if(Jn.test(t)&&(t=parseFloat(t),t=Ue(y.min,y.max,t/100)-y.min),typeof t!="number")return;let S=Ue(m.min,m.max,i);e===m&&(S-=t),e.min=If(e.min,t,r,S,s),e.max=If(e.max,t,r,S,s)}function Mf(e,t,[r,i,s],m,y){ry(e,t[r],t[i],t[s],t.scale,m,y)}const oy=["x","scaleX","originX"],iy=["y","scaleY","originY"];function Df(e,t,r,i){Mf(e.x,t,oy,r?r.x:void 0,i?i.x:void 0),Mf(e.y,t,iy,r?r.y:void 0,i?i.y:void 0)}function Of(e){return e.translate===0&&e.scale===1}function Th(e){return Of(e.x)&&Of(e.y)}function ay(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function Ch(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Ff(e){return Kt(e.x)/Kt(e.y)}class sy{constructor(){this.members=[]}add(t){Ac(this.members,t),t.scheduleRender()}remove(t){if(Ic(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(s=>t===s);if(r===0)return!1;let i;for(let s=r;s>=0;s--){const m=this.members[s];if(m.isPresent!==!1){i=m;break}}return i?(this.promote(i),!0):!1}promote(t,r){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,r&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:i}=t;r.onExitComplete&&r.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Lf(e,t,r){let i="";const s=e.x.translate/t.x,m=e.y.translate/t.y;if((s||m)&&(i=`translate3d(${s}px, ${m}px, 0) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:p,rotateX:x,rotateY:A}=r;p&&(i+=`rotate(${p}deg) `),x&&(i+=`rotateX(${x}deg) `),A&&(i+=`rotateY(${A}deg) `)}const y=e.x.scale*t.x,S=e.y.scale*t.y;return(y!==1||S!==1)&&(i+=`scale(${y}, ${S})`),i||"none"}const ly=(e,t)=>e.depth-t.depth;class uy{constructor(){this.children=[],this.isDirty=!1}add(t){Ac(this.children,t),this.isDirty=!0}remove(t){Ic(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ly),this.isDirty=!1,this.children.forEach(t)}}function cy(e,t){const r=performance.now(),i=({timestamp:s})=>{const m=s-r;m>=t&&(Ir(i),e(m-t))};return _e.read(i,!0),()=>Ir(i)}function fy(e){window.MotionDebug&&window.MotionDebug.record(e)}function dy(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hy(e,t,r){const i=Wt(e)?e:ca(e);return i.start(Pc("",i,t,r)),i.animation}const _f=["","X","Y","Z"],py={visibility:"hidden"},jf=1e3;let my=0;const ni={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Eh({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(y={},S=t==null?void 0:t()){this.id=my++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ni.totalNodes=ni.resolvedTargetDeltas=ni.recalculatedProjection=0,this.nodes.forEach(yy),this.nodes.forEach(ky),this.nodes.forEach(Ty),this.nodes.forEach(by),fy(ni)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new uy)}addEventListener(y,S){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new Mc),this.eventHandlers.get(y).add(S)}notifyListeners(y,...S){const p=this.eventHandlers.get(y);p&&p.notify(...S)}hasListeners(y){return this.eventHandlers.has(y)}mount(y,S=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=dy(y),this.instance=y;const{layoutId:p,layout:x,visualElement:A}=this.options;if(A&&!A.current&&A.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),S&&(x||p)&&(this.isLayoutDirty=!0),e){let T;const D=()=>this.root.updateBlockedByResize=!1;e(y,()=>{this.root.updateBlockedByResize=!0,T&&T(),T=cy(D,250),kl.hasAnimatedSinceResize&&(kl.hasAnimatedSinceResize=!1,this.nodes.forEach(Vf))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&A&&(p||x)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:D,hasRelativeTargetChanged:_,layout:$})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const G=this.options.transition||A.getDefaultTransition()||Ay,{onLayoutAnimationStart:B,onLayoutAnimationComplete:F}=A.getProps(),Z=!this.targetLayout||!Ch(this.targetLayout,$)||_,X=!D&&_;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||X||D&&(Z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(T,X);const q={...Rc(G,"layout"),onPlay:B,onComplete:F};(A.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q)}else D||Vf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=$})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Cy),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const T=this.path[A];T.shouldResetTransform=!0,T.updateScroll("snapshot"),T.options.layoutRoot&&T.willUpdate(!1)}const{layoutId:S,layout:p}=this.options;if(S===void 0&&!p)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Bf);return}this.isUpdating||this.nodes.forEach(Sy),this.isUpdating=!1,this.nodes.forEach(wy),this.nodes.forEach(gy),this.nodes.forEach(vy),this.clearAllSnapshots();const S=performance.now();pt.delta=co(0,1e3/60,S-pt.timestamp),pt.timestamp=S,pt.isProcessing=!0,ju.update.process(pt),ju.preRender.process(pt),ju.render.process(pt),pt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(xy),this.sharedNodes.forEach(Ey)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,_e.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){_e.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ke(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let S=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(S=!1),S&&(this.scroll={animationId:this.root.animationId,phase:y,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!s)return;const y=this.isLayoutDirty||this.shouldResetTransform,S=this.projectionDelta&&!Th(this.projectionDelta),p=this.getTransformTemplate(),x=p?p(this.latestValues,""):void 0,A=x!==this.prevTransformTemplateValue;y&&(S||ti(this.latestValues)||A)&&(s(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const S=this.measurePageBox();let p=this.removeElementScroll(S);return y&&(p=this.removeTransform(p)),Iy(p),{animationId:this.root.animationId,measuredBox:S,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return Ke();const S=y.measureViewportBox(),{scroll:p}=this.root;return p&&(so(S.x,p.offset.x),so(S.y,p.offset.y)),S}removeElementScroll(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p],{scroll:A,options:T}=x;if(x!==this.root&&A&&T.layoutScroll){if(A.isRoot){mn(S,y);const{scroll:D}=this.root;D&&(so(S.x,-D.offset.x),so(S.y,-D.offset.y))}so(S.x,A.offset.x),so(S.y,A.offset.y)}}return S}applyTransform(y,S=!1){const p=Ke();mn(p,y);for(let x=0;x<this.path.length;x++){const A=this.path[x];!S&&A.options.layoutScroll&&A.scroll&&A!==A.root&&ua(p,{x:-A.scroll.offset.x,y:-A.scroll.offset.y}),ti(A.latestValues)&&ua(p,A.latestValues)}return ti(this.latestValues)&&ua(p,this.latestValues),p}removeTransform(y){const S=Ke();mn(S,y);for(let p=0;p<this.path.length;p++){const x=this.path[p];if(!x.instance||!ti(x.latestValues))continue;sc(x.latestValues)&&x.updateSnapshot();const A=Ke(),T=x.measurePageBox();mn(A,T),Df(S,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,A)}return ti(this.latestValues)&&Df(S,this.latestValues),S}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==pt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){var S;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==p;if(!(y||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((S=this.parent)===null||S===void 0)&&S.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:T,layoutId:D}=this.options;if(!(!this.layout||!(T||D))){if(this.resolvedRelativeTargetAt=pt.timestamp,!this.targetDelta&&!this.relativeTarget){const _=this.getClosestProjectingParent();_&&_.layout&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.layout.layoutBox,_.layout.layoutBox),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mv(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):mn(this.target,this.layout.layoutBox),yh(this.target,this.targetDelta)):mn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const _=this.getClosestProjectingParent();_&&!!_.resumingFrom==!!this.resumingFrom&&!_.options.layoutScroll&&_.target&&this.animationProgress!==1?(this.relativeParent=_,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),gs(this.relativeTargetOrigin,this.target,_.target),mn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ni.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||sc(this.parent.latestValues)||vh(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var y;const S=this.getLead(),p=!!this.resumingFrom||this!==S;let x=!0;if((this.isProjectionDirty||!((y=this.parent)===null||y===void 0)&&y.isProjectionDirty)&&(x=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===pt.timestamp&&(x=!1),x)return;const{layout:A,layoutId:T}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||T))return;mn(this.layoutCorrected,this.layout.layoutBox);const D=this.treeScale.x,_=this.treeScale.y;zv(this.layoutCorrected,this.treeScale,this.path,p),S.layout&&!S.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(S.target=S.layout.layoutBox);const{target:$}=S;if(!$){this.projectionTransform&&(this.projectionDelta=la(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=la(),this.projectionDeltaWithTransform=la());const G=this.projectionTransform;ms(this.projectionDelta,this.layoutCorrected,$,this.latestValues),this.projectionTransform=Lf(this.projectionDelta,this.treeScale),(this.projectionTransform!==G||this.treeScale.x!==D||this.treeScale.y!==_)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",$)),ni.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),y){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(y,S=!1){const p=this.snapshot,x=p?p.latestValues:{},A={...this.latestValues},T=la();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const D=Ke(),_=p?p.source:void 0,$=this.layout?this.layout.source:void 0,G=_!==$,B=this.getStack(),F=!B||B.members.length<=1,Z=!!(G&&!F&&this.options.crossfade===!0&&!this.path.some(Py));this.animationProgress=0;let X;this.mixTargetDelta=q=>{const te=q/1e3;zf(T.x,y.x,te),zf(T.y,y.y,te),this.setTargetDelta(T),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(gs(D,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Ry(this.relativeTarget,this.relativeTargetOrigin,D,te),X&&ay(this.relativeTarget,X)&&(this.isProjectionDirty=!1),X||(X=Ke()),mn(X,this.relativeTarget)),G&&(this.animationValues=A,ey(A,x,this.latestValues,te,Z,F)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=te},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=_e.update(()=>{kl.hasAnimatedSinceResize=!0,this.currentAnimation=hy(0,jf,{...y,onUpdate:S=>{this.mixTargetDelta(S),y.onUpdate&&y.onUpdate(S)},onComplete:()=>{y.onComplete&&y.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:S,target:p,layout:x,latestValues:A}=y;if(!(!S||!p||!x)){if(this!==y&&this.layout&&x&&Rh(this.options.animationType,this.layout.layoutBox,x.layoutBox)){p=this.target||Ke();const T=Kt(this.layout.layoutBox.x);p.x.min=y.target.x.min,p.x.max=p.x.min+T;const D=Kt(this.layout.layoutBox.y);p.y.min=y.target.y.min,p.y.max=p.y.min+D}mn(S,p),ua(S,A),ms(this.projectionDeltaWithTransform,this.layoutCorrected,S,A)}}registerSharedNode(y,S){this.sharedNodes.has(y)||this.sharedNodes.set(y,new sy),this.sharedNodes.get(y).add(S);const x=S.options.initialPromotionConfig;S.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(S):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){var y;const{layoutId:S}=this.options;return S?((y=this.getStack())===null||y===void 0?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:S}=this.options;return S?(y=this.getStack())===null||y===void 0?void 0:y.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:S,preserveFollowOpacity:p}={}){const x=this.getStack();x&&x.promote(this,p),y&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetRotation(){const{visualElement:y}=this.options;if(!y)return;let S=!1;const{latestValues:p}=y;if((p.rotate||p.rotateX||p.rotateY||p.rotateZ)&&(S=!0),!S)return;const x={};for(let A=0;A<_f.length;A++){const T="rotate"+_f[A];p[T]&&(x[T]=p[T],y.setStaticValue(T,0))}y.render();for(const A in x)y.setStaticValue(A,x[A]);y.scheduleRender()}getProjectionStyles(y){var S,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return py;const x={visibility:""},A=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=wl(y==null?void 0:y.pointerEvents)||"",x.transform=A?A(this.latestValues,""):"none",x;const T=this.getLead();if(!this.projectionDelta||!this.layout||!T.target){const G={};return this.options.layoutId&&(G.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,G.pointerEvents=wl(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!ti(this.latestValues)&&(G.transform=A?A({},""):"none",this.hasProjected=!1),G}const D=T.animationValues||T.latestValues;this.applyTransformsToTarget(),x.transform=Lf(this.projectionDeltaWithTransform,this.treeScale,D),A&&(x.transform=A(D,x.transform));const{x:_,y:$}=this.projectionDelta;x.transformOrigin=`${_.origin*100}% ${$.origin*100}% 0`,T.animationValues?x.opacity=T===this?(p=(S=D.opacity)!==null&&S!==void 0?S:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:D.opacityExit:x.opacity=T===this?D.opacity!==void 0?D.opacity:"":D.opacityExit!==void 0?D.opacityExit:0;for(const G in El){if(D[G]===void 0)continue;const{correct:B,applyTo:F}=El[G],Z=x.transform==="none"?D[G]:B(D[G],T);if(F){const X=F.length;for(let q=0;q<X;q++)x[F[q]]=Z}else x[G]=Z}return this.options.layoutId&&(x.pointerEvents=T===this?wl(y==null?void 0:y.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>{var S;return(S=y.currentAnimation)===null||S===void 0?void 0:S.stop()}),this.root.nodes.forEach(Bf),this.root.sharedNodes.clear()}}}function gy(e){e.updateLayout()}function vy(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=e.layout,{animationType:m}=e.options,y=r.source!==e.layout.source;m==="size"?gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(D);D.min=i[T].min,D.max=D.min+_}):Rh(m,r.layoutBox,i)&&gn(T=>{const D=y?r.measuredBox[T]:r.layoutBox[T],_=Kt(i[T]);D.max=D.min+_,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[T].max=e.relativeTarget[T].min+_)});const S=la();ms(S,i,r.layoutBox);const p=la();y?ms(p,e.applyTransform(s,!0),r.measuredBox):ms(p,i,r.layoutBox);const x=!Th(S);let A=!1;if(!e.resumeFrom){const T=e.getClosestProjectingParent();if(T&&!T.resumeFrom){const{snapshot:D,layout:_}=T;if(D&&_){const $=Ke();gs($,r.layoutBox,D.layoutBox);const G=Ke();gs(G,i,_.layoutBox),Ch($,G)||(A=!0),T.options.layoutRoot&&(e.relativeTarget=G,e.relativeTargetOrigin=$,e.relativeParent=T)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:r,delta:p,layoutDelta:S,hasLayoutChanged:x,hasRelativeTargetChanged:A})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function yy(e){ni.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function by(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xy(e){e.clearSnapshot()}function Bf(e){e.clearMeasurements()}function Sy(e){e.isLayoutDirty=!1}function wy(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ky(e){e.resolveTargetDelta()}function Ty(e){e.calcProjection()}function Cy(e){e.resetRotation()}function Ey(e){e.removeLeadSnapshot()}function zf(e,t,r){e.translate=Ue(t.translate,0,r),e.scale=Ue(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Wf(e,t,r,i){e.min=Ue(t.min,r.min,i),e.max=Ue(t.max,r.max,i)}function Ry(e,t,r,i){Wf(e.x,t.x,r.x,i),Wf(e.y,t.y,r.y,i)}function Py(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ay={duration:.45,ease:[.4,0,.1,1]},Uf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Nf=Uf("applewebkit/")&&!Uf("chrome/")?Math.round:Ye;function Hf(e){e.min=Nf(e.min),e.max=Nf(e.max)}function Iy(e){Hf(e.x),Hf(e.y)}function Rh(e,t,r){return e==="position"||e==="preserve-aspect"&&!ic(Ff(t),Ff(r),.2)}const My=Eh({attachResizeListener:(e,t)=>Rr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xu={current:void 0},Ph=Eh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Xu.current){const e=new My({});e.mount(window),e.setOptions({layoutScroll:!0}),Xu.current=e}return Xu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Dy={pan:{Feature:Xv},drag:{Feature:Gv,ProjectionNode:Ph,MeasureLayout:Sh}},Oy=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Fy(e){const t=Oy.exec(e);if(!t)return[,];const[,r,i]=t;return[r,i]}const Ly=4;function uc(e,t,r=1){Dn(r<=Ly,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,s]=Fy(e);if(!i)return;const m=window.getComputedStyle(t).getPropertyValue(i);if(m){const y=m.trim();return ch(y)?parseFloat(y):y}else return Ku(s)?uc(s,t,r+1):s}function _y(e,{...t},r){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(s=>{const m=s.get();if(!Ku(m))return;const y=uc(m,i);y&&s.set(y)});for(const s in t){const m=t[s];if(!Ku(m))continue;const y=uc(m,i);y&&(t[s]=y,r||(r={}),r[s]===void 0&&(r[s]=m))}return{target:t,transitionEnd:r}}const jy=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ah=e=>jy.has(e),By=e=>Object.keys(e).some(Ah),xl=e=>e===ai||e===pe,$f=(e,t)=>parseFloat(e.split(", ")[t]),Yf=(e,t)=>(r,{transform:i})=>{if(i==="none"||!i)return 0;const s=i.match(/^matrix3d\((.+)\)$/);if(s)return $f(s[1],t);{const m=i.match(/^matrix\((.+)\)$/);return m?$f(m[1],e):0}},Vy=new Set(["x","y","z"]),zy=xs.filter(e=>!Vy.has(e));function Wy(e){const t=[];return zy.forEach(r=>{const i=e.getValue(r);i!==void 0&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const fa={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Yf(4,13),y:Yf(5,14)};fa.translateX=fa.x;fa.translateY=fa.y;const Uy=(e,t,r)=>{const i=t.measureViewportBox(),s=t.current,m=getComputedStyle(s),{display:y}=m,S={};y==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(x=>{S[x]=fa[x](i,m)}),t.render();const p=t.measureViewportBox();return r.forEach(x=>{const A=t.getValue(x);A&&A.jump(S[x]),e[x]=fa[x](p,m)}),e},Ny=(e,t,r={},i={})=>{t={...t},i={...i};const s=Object.keys(t).filter(Ah);let m=[],y=!1;const S=[];if(s.forEach(p=>{const x=e.getValue(p);if(!e.hasValue(p))return;let A=r[p],T=cs(A);const D=t[p];let _;if(Pl(D)){const $=D.length,G=D[0]===null?1:0;A=D[G],T=cs(A);for(let B=G;B<$&&D[B]!==null;B++)_?Dn(cs(D[B])===_,"All keyframes must be of the same type"):(_=cs(D[B]),Dn(_===T||xl(T)&&xl(_),"Keyframes must be of the same dimension as the current value"))}else _=cs(D);if(T!==_)if(xl(T)&&xl(_)){const $=x.get();typeof $=="string"&&x.set(parseFloat($)),typeof D=="string"?t[p]=parseFloat(D):Array.isArray(D)&&_===pe&&(t[p]=D.map(parseFloat))}else T!=null&&T.transform&&(_!=null&&_.transform)&&(A===0||D===0)?A===0?x.set(_.transform(A)):t[p]=T.transform(D):(y||(m=Wy(e),y=!0),S.push(p),i[p]=i[p]!==void 0?i[p]:t[p],x.jump(D))}),S.length){const p=S.indexOf("height")>=0?window.pageYOffset:null,x=Uy(t,e,S);return m.length&&m.forEach(([A,T])=>{e.getValue(A).set(T)}),e.render(),Ll&&p!==null&&window.scrollTo({top:p}),{target:x,transitionEnd:i}}else return{target:t,transitionEnd:i}};function Hy(e,t,r,i){return By(t)?Ny(e,t,r,i):{target:t,transitionEnd:i}}const $y=(e,t,r,i)=>{const s=_y(e,t,i);return t=s.target,i=s.transitionEnd,Hy(e,t,r,i)},cc={current:null},Ih={current:!1};function Yy(){if(Ih.current=!0,!!Ll)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=e.matches;e.addListener(t),t()}else cc.current=!1}function Gy(e,t,r){const{willChange:i}=t;for(const s in t){const m=t[s],y=r[s];if(Wt(m))e.addValue(s,m),Dl(i)&&i.add(s),process.env.NODE_ENV==="development"&&Dc(m.version==="10.18.0",`Attempting to mix Framer Motion versions ${m.version} with 10.18.0 may not work as expected.`);else if(Wt(y))e.addValue(s,ca(m,{owner:e})),Dl(i)&&i.remove(s);else if(y!==m)if(e.hasValue(s)){const S=e.getValue(s);!S.hasAnimated&&S.set(m)}else{const S=e.getStaticValue(s);e.addValue(s,ca(S!==void 0?S:m,{owner:e}))}}for(const s in r)t[s]===void 0&&e.removeValue(s);return t}const Gf=new WeakMap,Mh=Object.keys(ys),Xy=Mh.length,Xf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Zy=mc.length;class Jy{constructor({parent:t,props:r,presenceContext:i,reducedMotionConfig:s,visualState:m},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>_e.render(this.render,!1,!0);const{latestValues:S,renderState:p}=m;this.latestValues=S,this.baseTarget={...S},this.initialValues=r.initial?{...S}:{},this.renderState=p,this.parent=t,this.props=r,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=y,this.isControllingVariants=jl(r),this.isVariantNode=md(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:x,...A}=this.scrapeMotionValuesFromProps(r,{});for(const T in A){const D=A[T];S[T]!==void 0&&Wt(D)&&(D.set(S[T],!1),Dl(x)&&x.add(T))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Gf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),Ih.current||Yy(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cc.current,process.env.NODE_ENV!=="production"&&Dc(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Gf.delete(this.current),this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,r){const i=ii.has(t),s=r.on("change",y=>{this.latestValues[t]=y,this.props.onUpdate&&_e.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),m=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),m()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},i,s,m){let y,S;if(process.env.NODE_ENV!=="production"&&s&&i){const p="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?ks(!1,p):Dn(!1,p)}for(let p=0;p<Xy;p++){const x=Mh[p],{isEnabled:A,Feature:T,ProjectionNode:D,MeasureLayout:_}=ys[x];D&&(y=D),A(r)&&(!this.features[x]&&T&&(this.features[x]=new T(this)),_&&(S=_))}if((this.type==="html"||this.type==="svg")&&!this.projection&&y){this.projection=new y(this.latestValues,this.parent&&this.parent.projection);const{layoutId:p,layout:x,drag:A,dragConstraints:T,layoutScroll:D,layoutRoot:_}=r;this.projection.setOptions({layoutId:p,layout:x,alwaysMeasureLayout:!!A||T&&aa(T),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof x=="string"?x:"both",initialPromotionConfig:m,layoutScroll:D,layoutRoot:_})}return S}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ke()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let i=0;i<Xf.length;i++){const s=Xf[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const m=t["on"+s];m&&(this.propEventSubscriptions[s]=this.on(s,m))}this.prevMotionValues=Gy(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const r={};for(let i=0;i<Zy;i++){const s=mc[i],m=this.props[s];(vs(m)||m===!1)&&(r[s]=m)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&r!==void 0&&(i=ca(r,{owner:this}),this.addValue(t,i)),i}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:i}=this.props,s=typeof i=="string"||typeof i=="object"?(r=wc(this.props,i))===null||r===void 0?void 0:r[t]:void 0;if(i&&s!==void 0)return s;const m=this.getBaseTargetFromProps(this.props,t);return m!==void 0&&!Wt(m)?m:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Mc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class Dh extends Jy{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:i}){delete r[t],delete i[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...i},{transformValues:s},m){let y=dv(i,t||{},this);if(s&&(r&&(r=s(r)),i&&(i=s(i)),y&&(y=s(y))),m){cv(this,i,y);const S=$y(this,i,y,r);r=S.transitionEnd,i=S.target}return{transition:t,transitionEnd:r,...i}}}function Qy(e){return window.getComputedStyle(e)}class Ky extends Dh{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}else{const i=Qy(t),s=(xd(r)?i.getPropertyValue(r):i[r])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:r}){return bh(t,r)}build(t,r,i,s){vc(t,r,i,s.transformTemplate)}scrapeMotionValuesFromProps(t,r){return Sc(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Wt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,i,s){Ed(t,r,i,s)}}class qy extends Dh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(ii.has(r)){const i=Ec(r);return i&&i.default||0}return r=Rd.has(r)?r:hc(r),t.getAttribute(r)}measureInstanceViewportBox(){return Ke()}scrapeMotionValuesFromProps(t,r){return Ad(t,r)}build(t,r,i,s){bc(t,r,i,this.isSVGTag,s.transformTemplate)}renderInstance(t,r,i,s){Pd(t,r,i,s)}mount(t){this.isSVGTag=xc(t.tagName),super.mount(t)}}const eb=(e,t)=>gc(e)?new qy(t,{enableHardwareAcceleration:!1}):new Ky(t,{enableHardwareAcceleration:!0}),tb={layout:{ProjectionNode:Ph,MeasureLayout:Sh}},nb={...Rv,...Zm,...Dy,...tb},Oh=rm((e,t)=>_m(e,t,nb,eb));function rb(e){const{children:t,parentRef:r,onlyChild:i}=e,[s,m]=oe.useState({top:0,left:0});return oe.useLayoutEffect(()=>{if(r.current){const y=r.current.getBoundingClientRect();m({top:y.top,left:y.left+y.width})}},[r]),i?t:Jf.createPortal(ne.jsx(Oh.div,{style:{position:"fixed",top:s.top,left:s.left,zIndex:1200},children:t}),r.current)}function ob(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",...e,children:ne.jsx("path",{fill:"currenColor",d:"M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"})})}function Fh({item:e,level:t=0,...r}){var F;const{isActive:i,isCollapsed:s,expanded:m,toggleExpand:y}=r,S=`level-${t}`,p=s?"collapsed":"expanded",x=i(e.id)?"active":"",A=(Z,X=S)=>`${Z} ${X} ${p} ${x}`,T=!!((F=e.children)!=null&&F.length),[D,_]=oe.useState(!1),$=oe.useRef();function G(Z){var ee;const{level:X,hovered:q,parentRef:te}=Z;return!T||s&&X>=2&&!q?null:ne.jsx(rb,{parentRef:te,onlyChild:!s||s&&X<2,children:ne.jsx(Oh.div,{className:A("menu-item__dropdown",`level-${X}`),initial:{height:s?"auto":0},animate:{height:s||m(e.id)?"auto":0},transition:{duration:.2},children:(ee=e.children)==null?void 0:ee.map(re=>oe.createElement(Fh,{...r,key:re.id,item:re,level:X}))},+s)})}const B=T?"div":Qf.Link;return ne.jsxs("div",{ref:$,className:A("menu-item__wrapper"),onMouseEnter:()=>s&&_(!0),onMouseLeave:()=>s&&_(!1),children:[ne.jsxs(B,{to:T?"#":e.path||"#",style:{paddingLeft:`${s?"0.5rem":`${t*1}rem`}`},className:A("menu-item__link"),onClick:Z=>{T&&(Z.preventDefault(),s||y(e.id))},children:[t!==0&&ne.jsx(ib,{cls:A,item:e}),ne.jsx("span",{className:A("menu-item__label"),children:e.name}),T&&ne.jsx("div",{className:A("menu-item__icon-arrow__wrapper"),children:ne.jsx(ob,{className:A(`menu-item__icon-arrow__icon ${m(e.id)?"open":"close"}`)})})]}),G({level:t+1,hovered:D,parentRef:$})]},e.id)}function ib({item:e,cls:t}){var m;const[r,i]=oe.useState(!1),s=()=>{i(!0)};return ne.jsx("div",{className:t("menu-item__icon"),children:r?ne.jsx("div",{style:{width:24,height:24,backgroundColor:"#dadada",borderRadius:"5px",display:"flex",justifyContent:"center",alignItems:"center"},children:(m=e.name.trim().at(0))==null?void 0:m.toUpperCase()}):ne.jsx("img",{src:e.icon||"/",alt:" ",style:{height:24,maxHeight:24},onError:s})})}function Zf(e){for(;e.startsWith("/");)e=e.slice(1);return e}function Lh(e,t,r=[]){for(const i of e){if(console.log(i.path,t,i.path===t),Zf(i.path||"")===Zf(t))return[...r,i];if(i.children){const s=Lh(i.children,t,[...r,i]);if(s)return s}}return null}function ab(e){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"none",viewBox:"0 0 18 20",...e,children:ne.jsx("path",{fill:"#E01B00",fillRule:"evenodd",d:"M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",clipRule:"evenodd"})})}const sb=`[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
110
+ `;function lb(){return ne.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:[ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.27V4.23C22 2.64 21.36 2 19.77 2h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"}),ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeWidth:"1.5",d:"M15 15.5h6M15 19.5h6"})]})}function ub(){return ne.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:ne.jsx("path",{stroke:"#85858A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M22 8.52V3.98C22 2.57 21.36 2 19.77 2h-4.04c-1.59 0-2.23.57-2.23 1.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM22 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23h-4.04c-1.59 0-2.23.64-2.23 2.23v4.04c0 1.59.64 2.23 2.23 2.23h4.04c1.59 0 2.23-.64 2.23-2.23zM10.5 8.52V3.98C10.5 2.57 9.86 2 8.27 2H4.23C2.64 2 2 2.57 2 3.98v4.53c0 1.42.64 1.98 2.23 1.98h4.04c1.59.01 2.23-.56 2.23-1.97zM10.5 19.77v-4.04c0-1.59-.64-2.23-2.23-2.23H4.23c-1.59 0-2.23.64-2.23 2.23v4.04C2 21.36 2.64 22 4.23 22h4.04c1.59 0 2.23-.64 2.23-2.23z"})})}const cb=`.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;padding:0 8px}.side-bar.expanded{width:18rem}.side-bar.collapsed{width:64px;padding-left:4px;padding-right:4px}.side-bar__menu{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}.side-bar__menu.collapsed{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px}.side-bar__logout-btn__text.collapsed{display:none}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:0 16px;min-height:48px;border-radius:.375rem}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__logout-btn.collapsed{justify-content:center}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;margin-top:4px}.menu-item__wrapper:first-child,.menu-item__wrapper.collapsed{margin-top:0}.menu-item__wrapper.collapsed.level-1{margin-top:4px}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:auto}.menu-item__link.menu-item__link.collapsed.level-0{display:none}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0}.menu-item__icon.collapsed.level-1{width:100%}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:.5rem;padding-right:12px;color:#000}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-1{text-align:center;margin-left:0;display:none}.menu-item__label.level-0{color:#85858a}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:-3px}.menu-item__icon-arrow__wrapper.expanded{right:0}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{margin-top:4px;overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}
111
+ `;function fb(e){return ne.jsx(fc,{styles:[sb,cb],style:{zIndex:1200},children:ne.jsx(db,{...e})})}function db(e){const{baseUrl:t,menuPath:r,logout:i}=e,s=Qf.useLocation(),[m,y]=oe.useState([]),[S,p]=oe.useState(!1),x=(Lh(m,s.pathname)||[]).filter(Z=>Z.parentKey!==0),[A,T]=oe.useState({}),D=Z=>{T({...A,[Z]:!A[Z]})},_=()=>{p(!S)};oe.useEffect(()=>{(async()=>{const X=t+(r||"/global-menu-config/api/v1/menu-items/user"),q=await Bh.get(X,{withCredentials:!0}).then(ee=>ee.data),te={};q.forEach(ee=>{ee.children&&(te[ee.id]=!0)}),T(te),y(q.map(ee=>({...ee,parentKey:0})))})()},[t,r]);const[$,G]=oe.useState(!1),B=S?"collapsed":"expanded",F=Z=>`${Z} ${B}`;return ne.jsxs("div",{className:F("side-bar"),children:[ne.jsx("div",{className:F("side-bar__wrapper-toggle-btn"),children:ne.jsx("button",{className:"icon-btn side-bar__toggle-btn",onClick:_,children:S?ne.jsx(lb,{}):ne.jsx(ub,{})})}),ne.jsx(fd,{className:F("side-bar__menu"),style:{marginTop:24,flex:1,overflow:"auto",height:"100%",overflowX:"hidden"},children:m.map(Z=>{const X=q=>x.some(te=>te.id===q);return ne.jsx(Fh,{item:Z,isActive:X,isCollapsed:S,expanded:q=>A[q],toggleExpand:D},Z.id)})}),ne.jsxs("div",{className:F("side-bar__wrap-btn-logout"),children:[ne.jsxs("button",{className:F("side-bar__logout-btn"),onClick:()=>G(!0),children:[ne.jsx(ab,{}),ne.jsx("span",{className:F("side-bar__logout-btn__text"),children:"Logout"})]}),ne.jsx(td,{isOpen:$,onClose:()=>G(!1),onConfirm:i})]})]})}exports.GlobalMenu=fb;exports.TopBar=up;