github-project-manager 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/apps/backend/dist/modules/milestone/milestone.controller.d.ts +12 -0
  2. package/apps/backend/dist/modules/milestone/milestone.controller.js +59 -0
  3. package/apps/backend/dist/modules/milestone/milestone.controller.js.map +1 -0
  4. package/apps/backend/dist/modules/milestone/milestone.module.js +7 -2
  5. package/apps/backend/dist/modules/milestone/milestone.module.js.map +1 -1
  6. package/apps/backend/dist/modules/milestone/milestone.service.d.ts +15 -0
  7. package/apps/backend/dist/modules/milestone/milestone.service.js +75 -0
  8. package/apps/backend/dist/modules/milestone/milestone.service.js.map +1 -0
  9. package/apps/backend/dist/modules/project/project.controller.d.ts +1 -0
  10. package/apps/backend/dist/modules/project/project.controller.js +16 -0
  11. package/apps/backend/dist/modules/project/project.controller.js.map +1 -1
  12. package/apps/backend/dist/modules/project/project.entity.d.ts +2 -0
  13. package/apps/backend/dist/modules/project/project.entity.js +10 -0
  14. package/apps/backend/dist/modules/project/project.entity.js.map +1 -1
  15. package/apps/backend/dist/modules/project/project.service.d.ts +1 -0
  16. package/apps/backend/dist/modules/project/project.service.js +3 -0
  17. package/apps/backend/dist/modules/project/project.service.js.map +1 -1
  18. package/apps/backend/dist/modules/sync/github.service.d.ts +18 -0
  19. package/apps/backend/dist/modules/sync/github.service.js +14 -4
  20. package/apps/backend/dist/modules/sync/github.service.js.map +1 -1
  21. package/apps/backend/dist/modules/sync/sync.controller.d.ts +3 -2
  22. package/apps/backend/dist/modules/sync/sync.controller.js +29 -6
  23. package/apps/backend/dist/modules/sync/sync.controller.js.map +1 -1
  24. package/apps/backend/dist/modules/sync/sync.module.js +2 -1
  25. package/apps/backend/dist/modules/sync/sync.module.js.map +1 -1
  26. package/apps/backend/dist/modules/sync/sync.service.d.ts +5 -1
  27. package/apps/backend/dist/modules/sync/sync.service.js +80 -2
  28. package/apps/backend/dist/modules/sync/sync.service.js.map +1 -1
  29. package/apps/backend/dist/modules/task/task.controller.d.ts +6 -6
  30. package/apps/backend/dist/modules/task/task.controller.js +41 -27
  31. package/apps/backend/dist/modules/task/task.controller.js.map +1 -1
  32. package/apps/backend/dist/modules/task/task.entity.d.ts +10 -1
  33. package/apps/backend/dist/modules/task/task.entity.js +27 -0
  34. package/apps/backend/dist/modules/task/task.entity.js.map +1 -1
  35. package/apps/backend/dist/modules/task/task.service.js +2 -2
  36. package/apps/backend/dist/modules/task/task.service.js.map +1 -1
  37. package/apps/cli/dist/commands/hooks.d.ts +11 -0
  38. package/apps/cli/dist/commands/hooks.js +113 -0
  39. package/apps/cli/dist/commands/hooks.js.map +1 -0
  40. package/apps/cli/dist/commands/init.d.ts +4 -1
  41. package/apps/cli/dist/commands/init.js +16 -1
  42. package/apps/cli/dist/commands/init.js.map +1 -1
  43. package/apps/cli/dist/hooks/hook-registry.d.ts +9 -0
  44. package/apps/cli/dist/hooks/hook-registry.js +29 -0
  45. package/apps/cli/dist/hooks/hook-registry.js.map +1 -0
  46. package/apps/cli/dist/index.js +23 -2
  47. package/apps/cli/dist/index.js.map +1 -1
  48. package/apps/cli/dist/utils/settings.d.ts +10 -0
  49. package/apps/cli/dist/utils/settings.js +93 -0
  50. package/apps/cli/dist/utils/settings.js.map +1 -0
  51. package/apps/cli/dist/utils/template.d.ts +1 -0
  52. package/apps/cli/dist/utils/template.js +20 -0
  53. package/apps/cli/dist/utils/template.js.map +1 -0
  54. package/apps/frontend/dist/assets/index-C-VkfAuU.css +1 -0
  55. package/apps/frontend/dist/assets/index-CJ-smTcW.js +92 -0
  56. package/apps/frontend/dist/index.html +2 -2
  57. package/package.json +2 -2
  58. package/templates/claude-settings-hooks.json +35 -0
  59. package/templates/hooks/gpm-commit-linker.sh +72 -0
  60. package/templates/hooks/gpm-response-suggest.sh +63 -0
  61. package/templates/hooks/gpm-session-briefing.sh +104 -0
  62. package/apps/frontend/dist/assets/index-5kQElBCK.css +0 -1
  63. package/apps/frontend/dist/assets/index-DzMlDUgv.js +0 -60
@@ -0,0 +1,92 @@
1
+ (function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();function zf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jc={exports:{}},ia={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var tg;function C1(){if(tg)return ia;tg=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(a,o,s){var c=null;if(s!==void 0&&(c=""+s),o.key!==void 0&&(c=""+o.key),"key"in o){s={};for(var h in o)h!=="key"&&(s[h]=o[h])}else s=o;return o=s.ref,{$$typeof:t,type:a,key:c,ref:o!==void 0?o:null,props:s}}return ia.Fragment=i,ia.jsx=r,ia.jsxs=r,ia}var ng;function T1(){return ng||(ng=1,jc.exports=C1()),jc.exports}var O=T1(),Bc={exports:{}},ve={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var lg;function A1(){if(lg)return ve;lg=1;var t=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),x=Symbol.iterator;function b(R){return R===null||typeof R!="object"?null:(R=x&&R[x]||R["@@iterator"],typeof R=="function"?R:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,k={};function T(R,X,E){this.props=R,this.context=X,this.refs=k,this.updater=E||w}T.prototype.isReactComponent={},T.prototype.setState=function(R,X){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,X,"setState")},T.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function B(){}B.prototype=T.prototype;function _(R,X,E){this.props=R,this.context=X,this.refs=k,this.updater=E||w}var W=_.prototype=new B;W.constructor=_,z(W,T.prototype),W.isPureReactComponent=!0;var I=Array.isArray;function L(){}var Z={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function ae(R,X,E){var re=E.ref;return{$$typeof:t,type:R,key:X,ref:re!==void 0?re:null,props:E}}function j(R,X){return ae(R.type,X,R.props)}function ee(R){return typeof R=="object"&&R!==null&&R.$$typeof===t}function P(R){var X={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(E){return X[E]})}var fe=/\/+/g;function ie(R,X){return typeof R=="object"&&R!==null&&R.key!=null?P(""+R.key):X.toString(36)}function $(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(L,L):(R.status="pending",R.then(function(X){R.status==="pending"&&(R.status="fulfilled",R.value=X)},function(X){R.status==="pending"&&(R.status="rejected",R.reason=X)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function U(R,X,E,re,me){var ue=typeof R;(ue==="undefined"||ue==="boolean")&&(R=null);var we=!1;if(R===null)we=!0;else switch(ue){case"bigint":case"string":case"number":we=!0;break;case"object":switch(R.$$typeof){case t:case i:we=!0;break;case y:return we=R._init,U(we(R._payload),X,E,re,me)}}if(we)return me=me(R),we=re===""?"."+ie(R,0):re,I(me)?(E="",we!=null&&(E=we.replace(fe,"$&/")+"/"),U(me,X,E,"",function(Je){return Je})):me!=null&&(ee(me)&&(me=j(me,E+(me.key==null||R&&R.key===me.key?"":(""+me.key).replace(fe,"$&/")+"/")+we)),X.push(me)),1;we=0;var Ve=re===""?".":re+":";if(I(R))for(var _e=0;_e<R.length;_e++)re=R[_e],ue=Ve+ie(re,_e),we+=U(re,X,E,ue,me);else if(_e=b(R),typeof _e=="function")for(R=_e.call(R),_e=0;!(re=R.next()).done;)re=re.value,ue=Ve+ie(re,_e++),we+=U(re,X,E,ue,me);else if(ue==="object"){if(typeof R.then=="function")return U($(R),X,E,re,me);throw X=String(R),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return we}function J(R,X,E){if(R==null)return R;var re=[],me=0;return U(R,re,"","",function(ue){return X.call(E,ue,me++)}),re}function se(R){if(R._status===-1){var X=R._result;X=X(),X.then(function(E){(R._status===0||R._status===-1)&&(R._status=1,R._result=E)},function(E){(R._status===0||R._status===-1)&&(R._status=2,R._result=E)}),R._status===-1&&(R._status=0,R._result=X)}if(R._status===1)return R._result.default;throw R._result}var ye=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)},A={map:J,forEach:function(R,X,E){J(R,function(){X.apply(this,arguments)},E)},count:function(R){var X=0;return J(R,function(){X++}),X},toArray:function(R){return J(R,function(X){return X})||[]},only:function(R){if(!ee(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return ve.Activity=g,ve.Children=A,ve.Component=T,ve.Fragment=r,ve.Profiler=o,ve.PureComponent=_,ve.StrictMode=a,ve.Suspense=p,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,ve.__COMPILER_RUNTIME={__proto__:null,c:function(R){return Z.H.useMemoCache(R)}},ve.cache=function(R){return function(){return R.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(R,X,E){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var re=z({},R.props),me=R.key;if(X!=null)for(ue in X.key!==void 0&&(me=""+X.key),X)!le.call(X,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&X.ref===void 0||(re[ue]=X[ue]);var ue=arguments.length-2;if(ue===1)re.children=E;else if(1<ue){for(var we=Array(ue),Ve=0;Ve<ue;Ve++)we[Ve]=arguments[Ve+2];re.children=we}return ae(R.type,me,re)},ve.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:s,_context:R},R},ve.createElement=function(R,X,E){var re,me={},ue=null;if(X!=null)for(re in X.key!==void 0&&(ue=""+X.key),X)le.call(X,re)&&re!=="key"&&re!=="__self"&&re!=="__source"&&(me[re]=X[re]);var we=arguments.length-2;if(we===1)me.children=E;else if(1<we){for(var Ve=Array(we),_e=0;_e<we;_e++)Ve[_e]=arguments[_e+2];me.children=Ve}if(R&&R.defaultProps)for(re in we=R.defaultProps,we)me[re]===void 0&&(me[re]=we[re]);return ae(R,ue,me)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(R){return{$$typeof:h,render:R}},ve.isValidElement=ee,ve.lazy=function(R){return{$$typeof:y,_payload:{_status:-1,_result:R},_init:se}},ve.memo=function(R,X){return{$$typeof:m,type:R,compare:X===void 0?null:X}},ve.startTransition=function(R){var X=Z.T,E={};Z.T=E;try{var re=R(),me=Z.S;me!==null&&me(E,re),typeof re=="object"&&re!==null&&typeof re.then=="function"&&re.then(L,ye)}catch(ue){ye(ue)}finally{X!==null&&E.types!==null&&(X.types=E.types),Z.T=X}},ve.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},ve.use=function(R){return Z.H.use(R)},ve.useActionState=function(R,X,E){return Z.H.useActionState(R,X,E)},ve.useCallback=function(R,X){return Z.H.useCallback(R,X)},ve.useContext=function(R){return Z.H.useContext(R)},ve.useDebugValue=function(){},ve.useDeferredValue=function(R,X){return Z.H.useDeferredValue(R,X)},ve.useEffect=function(R,X){return Z.H.useEffect(R,X)},ve.useEffectEvent=function(R){return Z.H.useEffectEvent(R)},ve.useId=function(){return Z.H.useId()},ve.useImperativeHandle=function(R,X,E){return Z.H.useImperativeHandle(R,X,E)},ve.useInsertionEffect=function(R,X){return Z.H.useInsertionEffect(R,X)},ve.useLayoutEffect=function(R,X){return Z.H.useLayoutEffect(R,X)},ve.useMemo=function(R,X){return Z.H.useMemo(R,X)},ve.useOptimistic=function(R,X){return Z.H.useOptimistic(R,X)},ve.useReducer=function(R,X,E){return Z.H.useReducer(R,X,E)},ve.useRef=function(R){return Z.H.useRef(R)},ve.useState=function(R){return Z.H.useState(R)},ve.useSyncExternalStore=function(R,X,E){return Z.H.useSyncExternalStore(R,X,E)},ve.useTransition=function(){return Z.H.useTransition()},ve.version="19.2.4",ve}var ig;function Rf(){return ig||(ig=1,Bc.exports=A1()),Bc.exports}var C=Rf();const at=zf(C);var Uc={exports:{}},ra={},Hc={exports:{}},qc={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var rg;function k1(){return rg||(rg=1,(function(t){function i(U,J){var se=U.length;U.push(J);e:for(;0<se;){var ye=se-1>>>1,A=U[ye];if(0<o(A,J))U[ye]=J,U[se]=A,se=ye;else break e}}function r(U){return U.length===0?null:U[0]}function a(U){if(U.length===0)return null;var J=U[0],se=U.pop();if(se!==J){U[0]=se;e:for(var ye=0,A=U.length,R=A>>>1;ye<R;){var X=2*(ye+1)-1,E=U[X],re=X+1,me=U[re];if(0>o(E,se))re<A&&0>o(me,E)?(U[ye]=me,U[re]=se,ye=re):(U[ye]=E,U[X]=se,ye=X);else if(re<A&&0>o(me,se))U[ye]=me,U[re]=se,ye=re;else break e}}return J}function o(U,J){var se=U.sortIndex-J.sortIndex;return se!==0?se:U.id-J.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var c=Date,h=c.now();t.unstable_now=function(){return c.now()-h}}var p=[],m=[],y=1,g=null,x=3,b=!1,w=!1,z=!1,k=!1,T=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function W(U){for(var J=r(m);J!==null;){if(J.callback===null)a(m);else if(J.startTime<=U)a(m),J.sortIndex=J.expirationTime,i(p,J);else break;J=r(m)}}function I(U){if(z=!1,W(U),!w)if(r(p)!==null)w=!0,L||(L=!0,P());else{var J=r(m);J!==null&&$(I,J.startTime-U)}}var L=!1,Z=-1,le=5,ae=-1;function j(){return k?!0:!(t.unstable_now()-ae<le)}function ee(){if(k=!1,L){var U=t.unstable_now();ae=U;var J=!0;try{e:{w=!1,z&&(z=!1,B(Z),Z=-1),b=!0;var se=x;try{t:{for(W(U),g=r(p);g!==null&&!(g.expirationTime>U&&j());){var ye=g.callback;if(typeof ye=="function"){g.callback=null,x=g.priorityLevel;var A=ye(g.expirationTime<=U);if(U=t.unstable_now(),typeof A=="function"){g.callback=A,W(U),J=!0;break t}g===r(p)&&a(p),W(U)}else a(p);g=r(p)}if(g!==null)J=!0;else{var R=r(m);R!==null&&$(I,R.startTime-U),J=!1}}break e}finally{g=null,x=se,b=!1}J=void 0}}finally{J?P():L=!1}}}var P;if(typeof _=="function")P=function(){_(ee)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,ie=fe.port2;fe.port1.onmessage=ee,P=function(){ie.postMessage(null)}}else P=function(){T(ee,0)};function $(U,J){Z=T(function(){U(t.unstable_now())},J)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(U){U.callback=null},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(U){switch(x){case 1:case 2:case 3:var J=3;break;default:J=x}var se=x;x=J;try{return U()}finally{x=se}},t.unstable_requestPaint=function(){k=!0},t.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var se=x;x=U;try{return J()}finally{x=se}},t.unstable_scheduleCallback=function(U,J,se){var ye=t.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ye+se:ye):se=ye,U){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=se+A,U={id:y++,callback:J,priorityLevel:U,startTime:se,expirationTime:A,sortIndex:-1},se>ye?(U.sortIndex=se,i(m,U),r(p)===null&&U===r(m)&&(z?(B(Z),Z=-1):z=!0,$(I,se-ye))):(U.sortIndex=A,i(p,U),w||b||(w=!0,L||(L=!0,P()))),U},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(U){var J=x;return function(){var se=x;x=J;try{return U.apply(this,arguments)}finally{x=se}}}})(qc)),qc}var ag;function D1(){return ag||(ag=1,Hc.exports=k1()),Hc.exports}var Yc={exports:{}},zt={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var ug;function z1(){if(ug)return zt;ug=1;var t=Rf();function i(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var a={d:{f:r,r:function(){throw Error(i(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function s(p,m,y){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:g==null?null:""+g,children:p,containerInfo:m,implementation:y}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,zt.createPortal=function(p,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return s(p,m,null,y)},zt.flushSync=function(p){var m=c.T,y=a.p;try{if(c.T=null,a.p=2,p)return p()}finally{c.T=m,a.p=y,a.d.f()}},zt.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,a.d.C(p,m))},zt.prefetchDNS=function(p){typeof p=="string"&&a.d.D(p)},zt.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var y=m.as,g=h(y,m.crossOrigin),x=typeof m.integrity=="string"?m.integrity:void 0,b=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?a.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:x,fetchPriority:b}):y==="script"&&a.d.X(p,{crossOrigin:g,integrity:x,fetchPriority:b,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},zt.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=h(m.as,m.crossOrigin);a.d.M(p,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&a.d.M(p)},zt.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,g=h(y,m.crossOrigin);a.d.L(p,y,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},zt.preloadModule=function(p,m){if(typeof p=="string")if(m){var y=h(m.as,m.crossOrigin);a.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else a.d.m(p)},zt.requestFormReset=function(p){a.d.r(p)},zt.unstable_batchedUpdates=function(p,m){return p(m)},zt.useFormState=function(p,m,y){return c.H.useFormState(p,m,y)},zt.useFormStatus=function(){return c.H.useHostTransitionStatus()},zt.version="19.2.4",zt}var og;function wy(){if(og)return Yc.exports;og=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(i){console.error(i)}}return t(),Yc.exports=z1(),Yc.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var sg;function R1(){if(sg)return ra;sg=1;var t=D1(),i=Rf(),r=wy();function a(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)n+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var n=e,l=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(l=n.return),e=n.return;while(e)}return n.tag===3?l:null}function c(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(e.tag===31){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function p(e){if(s(e)!==e)throw Error(a(188))}function m(e){var n=e.alternate;if(!n){if(n=s(e),n===null)throw Error(a(188));return n!==e?null:e}for(var l=e,u=n;;){var f=l.return;if(f===null)break;var d=f.alternate;if(d===null){if(u=f.return,u!==null){l=u;continue}break}if(f.child===d.child){for(d=f.child;d;){if(d===l)return p(f),e;if(d===u)return p(f),n;d=d.sibling}throw Error(a(188))}if(l.return!==u.return)l=f,u=d;else{for(var v=!1,S=f.child;S;){if(S===l){v=!0,l=f,u=d;break}if(S===u){v=!0,u=f,l=d;break}S=S.sibling}if(!v){for(S=d.child;S;){if(S===l){v=!0,l=d,u=f;break}if(S===u){v=!0,u=d,l=f;break}S=S.sibling}if(!v)throw Error(a(189))}}if(l.alternate!==u)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?e:n}function y(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=y(e),n!==null)return n;e=e.sibling}return null}var g=Object.assign,x=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),_=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),j=Symbol.for("react.memo_cache_sentinel"),ee=Symbol.iterator;function P(e){return e===null||typeof e!="object"?null:(e=ee&&e[ee]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Symbol.for("react.client.reference");function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===fe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case z:return"Fragment";case T:return"Profiler";case k:return"StrictMode";case I:return"Suspense";case L:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case _:return e.displayName||"Context";case B:return(e._context.displayName||"Context")+".Consumer";case W:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return n=e.displayName||null,n!==null?n:ie(e.type)||"Memo";case le:n=e._payload,e=e._init;try{return ie(e(n))}catch{}}return null}var $=Array.isArray,U=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ye=[],A=-1;function R(e){return{current:e}}function X(e){0>A||(e.current=ye[A],ye[A]=null,A--)}function E(e,n){A++,ye[A]=e.current,e.current=n}var re=R(null),me=R(null),ue=R(null),we=R(null);function Ve(e,n){switch(E(ue,n),E(me,e),E(re,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Cp(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Cp(n),e=Tp(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(re),E(re,e)}function _e(){X(re),X(me),X(ue)}function Je(e){e.memoizedState!==null&&E(we,e);var n=re.current,l=Tp(n,e.type);n!==l&&(E(me,e),E(re,l))}function Jt(e){me.current===e&&(X(re),X(me)),we.current===e&&(X(we),ea._currentValue=se)}var It,Ql;function St(e){if(It===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);It=n&&n[1]||"",Ql=-1<l.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+It+e+Ql}var An=!1;function $t(e,n){if(!e||An)return"";An=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(n){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(V){var Y=V}Reflect.construct(e,[],K)}else{try{K.call()}catch(V){Y=V}e.call(K.prototype)}}else{try{throw Error()}catch(V){Y=V}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(V){if(V&&Y&&typeof V.stack=="string")return[V.stack,Y.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=u.DetermineComponentFrameRoot(),v=d[0],S=d[1];if(v&&S){var D=v.split(`
44
+ `),q=S.split(`
45
+ `);for(f=u=0;u<D.length&&!D[u].includes("DetermineComponentFrameRoot");)u++;for(;f<q.length&&!q[f].includes("DetermineComponentFrameRoot");)f++;if(u===D.length||f===q.length)for(u=D.length-1,f=q.length-1;1<=u&&0<=f&&D[u]!==q[f];)f--;for(;1<=u&&0<=f;u--,f--)if(D[u]!==q[f]){if(u!==1||f!==1)do if(u--,f--,0>f||D[u]!==q[f]){var G=`
46
+ `+D[u].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=u&&0<=f);break}}}finally{An=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?St(l):""}function Fl(e,n){switch(e.tag){case 26:case 27:case 5:return St(e.type);case 16:return St("Lazy");case 13:return e.child!==n&&n!==null?St("Suspense Fallback"):St("Suspense");case 19:return St("SuspenseList");case 0:case 15:return $t(e.type,!1);case 11:return $t(e.type.render,!1);case 1:return $t(e.type,!0);case 31:return St("Activity");default:return""}}function Zl(e){try{var n="",l=null;do n+=Fl(e,l),l=e,e=e.return;while(e);return n}catch(u){return`
47
+ Error generating stack: `+u.message+`
48
+ `+u.stack}}var Ln=Object.prototype.hasOwnProperty,Mt=t.unstable_scheduleCallback,jn=t.unstable_cancelCallback,pl=t.unstable_shouldYield,mi=t.unstable_requestPaint,pt=t.unstable_now,mr=t.unstable_getCurrentPriorityLevel,Q=t.unstable_ImmediatePriority,ne=t.unstable_UserBlockingPriority,de=t.unstable_NormalPriority,be=t.unstable_LowPriority,Oe=t.unstable_IdlePriority,Pe=t.log,sn=t.unstable_setDisableYieldValue,Et=null,tt=null;function gt(e){if(typeof Pe=="function"&&sn(e),tt&&typeof tt.setStrictMode=="function")try{tt.setStrictMode(Et,e)}catch{}}var je=Math.clz32?Math.clz32:Ao,Bn=Math.log,jt=Math.LN2;function Ao(e){return e>>>=0,e===0?32:31-(Bn(e)/jt|0)|0}var pi=256,gi=262144,nt=4194304;function lt(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yt(e,n,l){var u=e.pendingLanes;if(u===0)return 0;var f=0,d=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var S=u&134217727;return S!==0?(u=S&~d,u!==0?f=lt(u):(v&=S,v!==0?f=lt(v):l||(l=S&~e,l!==0&&(f=lt(l))))):(S=u&~d,S!==0?f=lt(S):v!==0?f=lt(v):l||(l=u&~e,l!==0&&(f=lt(l)))),f===0?0:n!==0&&n!==f&&(n&d)===0&&(d=f&-f,l=n&-n,d>=l||d===32&&(l&4194048)!==0)?n:f}function Bt(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Ut(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Dt(){var e=nt;return nt<<=1,(nt&62914560)===0&&(nt=4194304),e}function Ht(e){for(var n=[],l=0;31>l;l++)n.push(e);return n}function cn(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function dt(e,n,l,u,f,d){var v=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var S=e.entanglements,D=e.expirationTimes,q=e.hiddenUpdates;for(l=v&~l;0<l;){var G=31-je(l),K=1<<G;S[G]=0,D[G]=-1;var Y=q[G];if(Y!==null)for(q[G]=null,G=0;G<Y.length;G++){var V=Y[G];V!==null&&(V.lane&=-536870913)}l&=~K}u!==0&&kn(e,u,0),d!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=d&~(v&~n))}function kn(e,n,l){e.pendingLanes|=n,e.suspendedLanes&=~n;var u=31-je(n);e.entangledLanes|=n,e.entanglements[u]=e.entanglements[u]|1073741824|l&261930}function Pt(e,n){var l=e.entangledLanes|=n;for(e=e.entanglements;l;){var u=31-je(l),f=1<<u;f&n|e[u]&n&&(e[u]|=n),l&=~f}}function fn(e,n){var l=n&-n;return l=(l&42)!==0?1:Fn(l),(l&(e.suspendedLanes|n))!==0?0:l}function Fn(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Zn(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Dn(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Kp(e.type))}function gl(e,n){var l=J.p;try{return J.p=e,n()}finally{J.p=l}}var dn=Math.random().toString(36).slice(2),wt="__reactFiber$"+dn,qt="__reactProps$"+dn,yi="__reactContainer$"+dn,ko="__reactEvents$"+dn,hv="__reactListeners$"+dn,mv="__reactHandles$"+dn,fd="__reactResources$"+dn,pr="__reactMarker$"+dn;function Do(e){delete e[wt],delete e[qt],delete e[ko],delete e[hv],delete e[mv]}function vi(e){var n=e[wt];if(n)return n;for(var l=e.parentNode;l;){if(n=l[yi]||l[wt]){if(l=n.alternate,n.child!==null||l!==null&&l.child!==null)for(e=Mp(e);e!==null;){if(l=e[wt])return l;e=Mp(e)}return n}e=l,l=e.parentNode}return null}function bi(e){if(e=e[wt]||e[yi]){var n=e.tag;if(n===5||n===6||n===13||n===31||n===26||n===27||n===3)return e}return null}function gr(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(a(33))}function xi(e){var n=e[fd];return n||(n=e[fd]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function vt(e){e[pr]=!0}var dd=new Set,hd={};function Kl(e,n){Si(e,n),Si(e+"Capture",n)}function Si(e,n){for(hd[e]=n,e=0;e<n.length;e++)dd.add(n[e])}var pv=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),md={},pd={};function gv(e){return Ln.call(pd,e)?!0:Ln.call(md,e)?!1:pv.test(e)?pd[e]=!0:(md[e]=!0,!1)}function _a(e,n,l){if(gv(n))if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var u=n.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+l)}}function La(e,n,l){if(l===null)e.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+l)}}function Kn(e,n,l,u){if(u===null)e.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(n,l,""+u)}}function hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gd(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function yv(e,n,l){var u=Object.getOwnPropertyDescriptor(e.constructor.prototype,n);if(!e.hasOwnProperty(n)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var f=u.get,d=u.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return f.call(this)},set:function(v){l=""+v,d.call(this,v)}}),Object.defineProperty(e,n,{enumerable:u.enumerable}),{getValue:function(){return l},setValue:function(v){l=""+v},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function zo(e){if(!e._valueTracker){var n=gd(e)?"checked":"value";e._valueTracker=yv(e,n,""+e[n])}}function yd(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var l=n.getValue(),u="";return e&&(u=gd(e)?e.checked?"true":"false":e.value),e=u,e!==l?(n.setValue(e),!0):!1}function ja(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var vv=/[\n"\\]/g;function mn(e){return e.replace(vv,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Ro(e,n,l,u,f,d,v,S){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),n!=null?v==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+hn(n)):e.value!==""+hn(n)&&(e.value=""+hn(n)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),n!=null?Oo(e,v,hn(n)):l!=null?Oo(e,v,hn(l)):u!=null&&e.removeAttribute("value"),f==null&&d!=null&&(e.defaultChecked=!!d),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+hn(S):e.removeAttribute("name")}function vd(e,n,l,u,f,d,v,S){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||l!=null){if(!(d!=="submit"&&d!=="reset"||n!=null)){zo(e);return}l=l!=null?""+hn(l):"",n=n!=null?""+hn(n):l,S||n===e.value||(e.value=n),e.defaultValue=n}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=S?e.checked:!!u,e.defaultChecked=!!u,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),zo(e)}function Oo(e,n,l){n==="number"&&ja(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ei(e,n,l,u){if(e=e.options,n){n={};for(var f=0;f<l.length;f++)n["$"+l[f]]=!0;for(l=0;l<e.length;l++)f=n.hasOwnProperty("$"+e[l].value),e[l].selected!==f&&(e[l].selected=f),f&&u&&(e[l].defaultSelected=!0)}else{for(l=""+hn(l),n=null,f=0;f<e.length;f++){if(e[f].value===l){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}n!==null||e[f].disabled||(n=e[f])}n!==null&&(n.selected=!0)}}function bd(e,n,l){if(n!=null&&(n=""+hn(n),n!==e.value&&(e.value=n),l==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=l!=null?""+hn(l):""}function xd(e,n,l,u){if(n==null){if(u!=null){if(l!=null)throw Error(a(92));if($(u)){if(1<u.length)throw Error(a(93));u=u[0]}l=u}l==null&&(l=""),n=l}l=hn(n),e.defaultValue=l,u=e.textContent,u===l&&u!==""&&u!==null&&(e.value=u),zo(e)}function wi(e,n){if(n){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=n;return}}e.textContent=n}var bv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Sd(e,n,l){var u=n.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?u?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":u?e.setProperty(n,l):typeof l!="number"||l===0||bv.has(n)?n==="float"?e.cssFloat=l:e[n]=(""+l).trim():e[n]=l+"px"}function Ed(e,n,l){if(n!=null&&typeof n!="object")throw Error(a(62));if(e=e.style,l!=null){for(var u in l)!l.hasOwnProperty(u)||n!=null&&n.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in n)u=n[f],n.hasOwnProperty(f)&&l[f]!==u&&Sd(e,f,u)}else for(var d in n)n.hasOwnProperty(d)&&Sd(e,d,n[d])}function Mo(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Sv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ba(e){return Sv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jn(){}var No=null;function _o(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,Ti=null;function wd(e){var n=bi(e);if(n&&(e=n.stateNode)){var l=e[qt]||null;e:switch(e=n.stateNode,n.type){case"input":if(Ro(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),n=l.name,l.type==="radio"&&n!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+mn(""+n)+'"][type="radio"]'),n=0;n<l.length;n++){var u=l[n];if(u!==e&&u.form===e.form){var f=u[qt]||null;if(!f)throw Error(a(90));Ro(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(n=0;n<l.length;n++)u=l[n],u.form===e.form&&yd(u)}break e;case"textarea":bd(e,l.value,l.defaultValue);break e;case"select":n=l.value,n!=null&&Ei(e,!!l.multiple,n,!1)}}}var Lo=!1;function Cd(e,n,l){if(Lo)return e(n,l);Lo=!0;try{var u=e(n);return u}finally{if(Lo=!1,(Ci!==null||Ti!==null)&&(Cu(),Ci&&(n=Ci,e=Ti,Ti=Ci=null,wd(n),e)))for(n=0;n<e.length;n++)wd(e[n])}}function yr(e,n){var l=e.stateNode;if(l===null)return null;var u=l[qt]||null;if(u===null)return null;l=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(a(231,n,typeof l));return l}var In=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jo=!1;if(In)try{var vr={};Object.defineProperty(vr,"passive",{get:function(){jo=!0}}),window.addEventListener("test",vr,vr),window.removeEventListener("test",vr,vr)}catch{jo=!1}var yl=null,Bo=null,Ua=null;function Td(){if(Ua)return Ua;var e,n=Bo,l=n.length,u,f="value"in yl?yl.value:yl.textContent,d=f.length;for(e=0;e<l&&n[e]===f[e];e++);var v=l-e;for(u=1;u<=v&&n[l-u]===f[d-u];u++);return Ua=f.slice(e,1<u?1-u:void 0)}function Ha(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function qa(){return!0}function Ad(){return!1}function Yt(e){function n(l,u,f,d,v){this._reactName=l,this._targetInst=f,this.type=u,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(l=e[S],this[S]=l?l(d):d[S]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?qa:Ad,this.isPropagationStopped=Ad,this}return g(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=qa)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=qa)},persist:function(){},isPersistent:qa}),n}var Jl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ya=Yt(Jl),br=g({},Jl,{view:0,detail:0}),Ev=Yt(br),Uo,Ho,xr,Va=g({},br,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==xr&&(xr&&e.type==="mousemove"?(Uo=e.screenX-xr.screenX,Ho=e.screenY-xr.screenY):Ho=Uo=0,xr=e),Uo)},movementY:function(e){return"movementY"in e?e.movementY:Ho}}),kd=Yt(Va),wv=g({},Va,{dataTransfer:0}),Cv=Yt(wv),Tv=g({},br,{relatedTarget:0}),qo=Yt(Tv),Av=g({},Jl,{animationName:0,elapsedTime:0,pseudoElement:0}),kv=Yt(Av),Dv=g({},Jl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zv=Yt(Dv),Rv=g({},Jl,{data:0}),Dd=Yt(Rv),Ov={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Nv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _v(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Nv[e])?!!n[e]:!1}function Yo(){return _v}var Lv=g({},br,{key:function(e){if(e.key){var n=Ov[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Ha(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Mv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yo,charCode:function(e){return e.type==="keypress"?Ha(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ha(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jv=Yt(Lv),Bv=g({},Va,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=Yt(Bv),Uv=g({},br,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yo}),Hv=Yt(Uv),qv=g({},Jl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yv=Yt(qv),Vv=g({},Va,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xv=Yt(Vv),Gv=g({},Jl,{newState:0,oldState:0}),Qv=Yt(Gv),Fv=[9,13,27,32],Vo=In&&"CompositionEvent"in window,Sr=null;In&&"documentMode"in document&&(Sr=document.documentMode);var Zv=In&&"TextEvent"in window&&!Sr,Rd=In&&(!Vo||Sr&&8<Sr&&11>=Sr),Od=" ",Md=!1;function Nd(e,n){switch(e){case"keyup":return Fv.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ai=!1;function Kv(e,n){switch(e){case"compositionend":return _d(n);case"keypress":return n.which!==32?null:(Md=!0,Od);case"textInput":return e=n.data,e===Od&&Md?null:e;default:return null}}function Jv(e,n){if(Ai)return e==="compositionend"||!Vo&&Nd(e,n)?(e=Td(),Ua=Bo=yl=null,Ai=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Rd&&n.locale!=="ko"?null:n.data;default:return null}}var Iv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ld(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Iv[e.type]:n==="textarea"}function jd(e,n,l,u){Ci?Ti?Ti.push(u):Ti=[u]:Ci=u,n=Ou(n,"onChange"),0<n.length&&(l=new Ya("onChange","change",null,l,u),e.push({event:l,listeners:n}))}var Er=null,wr=null;function $v(e){vp(e,0)}function Xa(e){var n=gr(e);if(yd(n))return e}function Bd(e,n){if(e==="change")return n}var Ud=!1;if(In){var Xo;if(In){var Go="oninput"in document;if(!Go){var Hd=document.createElement("div");Hd.setAttribute("oninput","return;"),Go=typeof Hd.oninput=="function"}Xo=Go}else Xo=!1;Ud=Xo&&(!document.documentMode||9<document.documentMode)}function qd(){Er&&(Er.detachEvent("onpropertychange",Yd),wr=Er=null)}function Yd(e){if(e.propertyName==="value"&&Xa(wr)){var n=[];jd(n,wr,e,_o(e)),Cd($v,n)}}function Pv(e,n,l){e==="focusin"?(qd(),Er=n,wr=l,Er.attachEvent("onpropertychange",Yd)):e==="focusout"&&qd()}function Wv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xa(wr)}function eb(e,n){if(e==="click")return Xa(n)}function tb(e,n){if(e==="input"||e==="change")return Xa(n)}function nb(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Wt=typeof Object.is=="function"?Object.is:nb;function Cr(e,n){if(Wt(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var l=Object.keys(e),u=Object.keys(n);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var f=l[u];if(!Ln.call(n,f)||!Wt(e[f],n[f]))return!1}return!0}function Vd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xd(e,n){var l=Vd(e);e=0;for(var u;l;){if(l.nodeType===3){if(u=e+l.textContent.length,e<=n&&u>=n)return{node:l,offset:n-e};e=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Vd(l)}}function Gd(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Gd(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Qd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ja(e.document);n instanceof e.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)e=n.contentWindow;else break;n=ja(e.document)}return n}function Qo(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var lb=In&&"documentMode"in document&&11>=document.documentMode,ki=null,Fo=null,Tr=null,Zo=!1;function Fd(e,n,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Zo||ki==null||ki!==ja(u)||(u=ki,"selectionStart"in u&&Qo(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Tr&&Cr(Tr,u)||(Tr=u,u=Ou(Fo,"onSelect"),0<u.length&&(n=new Ya("onSelect","select",null,n,l),e.push({event:n,listeners:u}),n.target=ki)))}function Il(e,n){var l={};return l[e.toLowerCase()]=n.toLowerCase(),l["Webkit"+e]="webkit"+n,l["Moz"+e]="moz"+n,l}var Di={animationend:Il("Animation","AnimationEnd"),animationiteration:Il("Animation","AnimationIteration"),animationstart:Il("Animation","AnimationStart"),transitionrun:Il("Transition","TransitionRun"),transitionstart:Il("Transition","TransitionStart"),transitioncancel:Il("Transition","TransitionCancel"),transitionend:Il("Transition","TransitionEnd")},Ko={},Zd={};In&&(Zd=document.createElement("div").style,"AnimationEvent"in window||(delete Di.animationend.animation,delete Di.animationiteration.animation,delete Di.animationstart.animation),"TransitionEvent"in window||delete Di.transitionend.transition);function $l(e){if(Ko[e])return Ko[e];if(!Di[e])return e;var n=Di[e],l;for(l in n)if(n.hasOwnProperty(l)&&l in Zd)return Ko[e]=n[l];return e}var Kd=$l("animationend"),Jd=$l("animationiteration"),Id=$l("animationstart"),ib=$l("transitionrun"),rb=$l("transitionstart"),ab=$l("transitioncancel"),$d=$l("transitionend"),Pd=new Map,Jo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Jo.push("scrollEnd");function zn(e,n){Pd.set(e,n),Kl(n,[e])}var Ga=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},pn=[],zi=0,Io=0;function Qa(){for(var e=zi,n=Io=zi=0;n<e;){var l=pn[n];pn[n++]=null;var u=pn[n];pn[n++]=null;var f=pn[n];pn[n++]=null;var d=pn[n];if(pn[n++]=null,u!==null&&f!==null){var v=u.pending;v===null?f.next=f:(f.next=v.next,v.next=f),u.pending=f}d!==0&&Wd(l,f,d)}}function Fa(e,n,l,u){pn[zi++]=e,pn[zi++]=n,pn[zi++]=l,pn[zi++]=u,Io|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function $o(e,n,l,u){return Fa(e,n,l,u),Za(e)}function Pl(e,n){return Fa(e,null,null,n),Za(e)}function Wd(e,n,l){e.lanes|=l;var u=e.alternate;u!==null&&(u.lanes|=l);for(var f=!1,d=e.return;d!==null;)d.childLanes|=l,u=d.alternate,u!==null&&(u.childLanes|=l),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(f=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,f&&n!==null&&(f=31-je(l),e=d.hiddenUpdates,u=e[f],u===null?e[f]=[n]:u.push(n),n.lane=l|536870912),d):null}function Za(e){if(50<Zr)throw Zr=0,ac=null,Error(a(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var Ri={};function ub(e,n,l,u){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(e,n,l,u){return new ub(e,n,l,u)}function Po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $n(e,n){var l=e.alternate;return l===null?(l=en(e.tag,n,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=n,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,n=e.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function eh(e,n){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,n=l.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Ka(e,n,l,u,f,d){var v=0;if(u=e,typeof e=="function")Po(e)&&(v=1);else if(typeof e=="string")v=d1(e,l,re.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=en(31,l,n,f),e.elementType=ae,e.lanes=d,e;case z:return Wl(l.children,f,d,n);case k:v=8,f|=24;break;case T:return e=en(12,l,n,f|2),e.elementType=T,e.lanes=d,e;case I:return e=en(13,l,n,f),e.elementType=I,e.lanes=d,e;case L:return e=en(19,l,n,f),e.elementType=L,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _:v=10;break e;case B:v=9;break e;case W:v=11;break e;case Z:v=14;break e;case le:v=16,u=null;break e}v=29,l=Error(a(130,e===null?"null":typeof e,"")),u=null}return n=en(v,l,n,f),n.elementType=e,n.type=u,n.lanes=d,n}function Wl(e,n,l,u){return e=en(7,e,u,n),e.lanes=l,e}function Wo(e,n,l){return e=en(6,e,null,n),e.lanes=l,e}function th(e){var n=en(18,null,null,0);return n.stateNode=e,n}function es(e,n,l){return n=en(4,e.children!==null?e.children:[],e.key,n),n.lanes=l,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var nh=new WeakMap;function gn(e,n){if(typeof e=="object"&&e!==null){var l=nh.get(e);return l!==void 0?l:(n={value:e,source:n,stack:Zl(n)},nh.set(e,n),n)}return{value:e,source:n,stack:Zl(n)}}var Oi=[],Mi=0,Ja=null,Ar=0,yn=[],vn=0,vl=null,Un=1,Hn="";function Pn(e,n){Oi[Mi++]=Ar,Oi[Mi++]=Ja,Ja=e,Ar=n}function lh(e,n,l){yn[vn++]=Un,yn[vn++]=Hn,yn[vn++]=vl,vl=e;var u=Un;e=Hn;var f=32-je(u)-1;u&=~(1<<f),l+=1;var d=32-je(n)+f;if(30<d){var v=f-f%5;d=(u&(1<<v)-1).toString(32),u>>=v,f-=v,Un=1<<32-je(n)+f|l<<f|u,Hn=d+e}else Un=1<<d|l<<f|u,Hn=e}function ts(e){e.return!==null&&(Pn(e,1),lh(e,1,0))}function ns(e){for(;e===Ja;)Ja=Oi[--Mi],Oi[Mi]=null,Ar=Oi[--Mi],Oi[Mi]=null;for(;e===vl;)vl=yn[--vn],yn[vn]=null,Hn=yn[--vn],yn[vn]=null,Un=yn[--vn],yn[vn]=null}function ih(e,n){yn[vn++]=Un,yn[vn++]=Hn,yn[vn++]=vl,Un=n.id,Hn=n.overflow,vl=e}var Ct=null,Ze=null,ze=!1,bl=null,bn=!1,ls=Error(a(519));function xl(e){var n=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw kr(gn(n,e)),ls}function rh(e){var n=e.stateNode,l=e.type,u=e.memoizedProps;switch(n[wt]=e,n[qt]=u,l){case"dialog":Te("cancel",n),Te("close",n);break;case"iframe":case"object":case"embed":Te("load",n);break;case"video":case"audio":for(l=0;l<Jr.length;l++)Te(Jr[l],n);break;case"source":Te("error",n);break;case"img":case"image":case"link":Te("error",n),Te("load",n);break;case"details":Te("toggle",n);break;case"input":Te("invalid",n),vd(n,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Te("invalid",n);break;case"textarea":Te("invalid",n),xd(n,u.value,u.defaultValue,u.children)}l=u.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||n.textContent===""+l||u.suppressHydrationWarning===!0||Ep(n.textContent,l)?(u.popover!=null&&(Te("beforetoggle",n),Te("toggle",n)),u.onScroll!=null&&Te("scroll",n),u.onScrollEnd!=null&&Te("scrollend",n),u.onClick!=null&&(n.onclick=Jn),n=!0):n=!1,n||xl(e,!0)}function ah(e){for(Ct=e.return;Ct;)switch(Ct.tag){case 5:case 31:case 13:bn=!1;return;case 27:case 3:bn=!0;return;default:Ct=Ct.return}}function Ni(e){if(e!==Ct)return!1;if(!ze)return ah(e),ze=!0,!1;var n=e.tag,l;if((l=n!==3&&n!==27)&&((l=n===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Sc(e.type,e.memoizedProps)),l=!l),l&&Ze&&xl(e),ah(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Ze=Op(e)}else if(n===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(317));Ze=Op(e)}else n===27?(n=Ze,_l(e.type)?(e=Ac,Ac=null,Ze=e):Ze=n):Ze=Ct?Sn(e.stateNode.nextSibling):null;return!0}function ei(){Ze=Ct=null,ze=!1}function is(){var e=bl;return e!==null&&(Qt===null?Qt=e:Qt.push.apply(Qt,e),bl=null),e}function kr(e){bl===null?bl=[e]:bl.push(e)}var rs=R(null),ti=null,Wn=null;function Sl(e,n,l){E(rs,n._currentValue),n._currentValue=l}function el(e){e._currentValue=rs.current,X(rs)}function as(e,n,l){for(;e!==null;){var u=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),e===l)break;e=e.return}}function us(e,n,l,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var d=f.dependencies;if(d!==null){var v=f.child;d=d.firstContext;e:for(;d!==null;){var S=d;d=f;for(var D=0;D<n.length;D++)if(S.context===n[D]){d.lanes|=l,S=d.alternate,S!==null&&(S.lanes|=l),as(d.return,l,e),u||(v=null);break e}d=S.next}}else if(f.tag===18){if(v=f.return,v===null)throw Error(a(341));v.lanes|=l,d=v.alternate,d!==null&&(d.lanes|=l),as(v,l,e),v=null}else v=f.child;if(v!==null)v.return=f;else for(v=f;v!==null;){if(v===e){v=null;break}if(f=v.sibling,f!==null){f.return=v.return,v=f;break}v=v.return}f=v}}function _i(e,n,l,u){e=null;for(var f=n,d=!1;f!==null;){if(!d){if((f.flags&524288)!==0)d=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var v=f.alternate;if(v===null)throw Error(a(387));if(v=v.memoizedProps,v!==null){var S=f.type;Wt(f.pendingProps.value,v.value)||(e!==null?e.push(S):e=[S])}}else if(f===we.current){if(v=f.alternate,v===null)throw Error(a(387));v.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(ea):e=[ea])}f=f.return}e!==null&&us(n,e,l,u),n.flags|=262144}function Ia(e){for(e=e.firstContext;e!==null;){if(!Wt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ni(e){ti=e,Wn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Tt(e){return uh(ti,e)}function $a(e,n){return ti===null&&ni(e),uh(e,n)}function uh(e,n){var l=n._currentValue;if(n={context:n,memoizedValue:l,next:null},Wn===null){if(e===null)throw Error(a(308));Wn=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Wn=Wn.next=n;return l}var ob=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(l,u){e.push(u)}};this.abort=function(){n.aborted=!0,e.forEach(function(l){return l()})}},sb=t.unstable_scheduleCallback,cb=t.unstable_NormalPriority,ut={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function os(){return{controller:new ob,data:new Map,refCount:0}}function Dr(e){e.refCount--,e.refCount===0&&sb(cb,function(){e.controller.abort()})}var zr=null,ss=0,Li=0,ji=null;function fb(e,n){if(zr===null){var l=zr=[];ss=0,Li=dc(),ji={status:"pending",value:void 0,then:function(u){l.push(u)}}}return ss++,n.then(oh,oh),n}function oh(){if(--ss===0&&zr!==null){ji!==null&&(ji.status="fulfilled");var e=zr;zr=null,Li=0,ji=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function db(e,n){var l=[],u={status:"pending",value:null,reason:null,then:function(f){l.push(f)}};return e.then(function(){u.status="fulfilled",u.value=n;for(var f=0;f<l.length;f++)(0,l[f])(n)},function(f){for(u.status="rejected",u.reason=f,f=0;f<l.length;f++)(0,l[f])(void 0)}),u}var sh=U.S;U.S=function(e,n){Fm=pt(),typeof n=="object"&&n!==null&&typeof n.then=="function"&&fb(e,n),sh!==null&&sh(e,n)};var li=R(null);function cs(){var e=li.current;return e!==null?e:Xe.pooledCache}function Pa(e,n){n===null?E(li,li.current):E(li,n.pool)}function ch(){var e=cs();return e===null?null:{parent:ut._currentValue,pool:e}}var Bi=Error(a(460)),fs=Error(a(474)),Wa=Error(a(542)),eu={then:function(){}};function fh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function dh(e,n,l){switch(l=e[l],l===void 0?e.push(n):l!==n&&(n.then(Jn,Jn),n=l),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,mh(e),e;default:if(typeof n.status=="string")n.then(Jn,Jn);else{if(e=Xe,e!==null&&100<e.shellSuspendCounter)throw Error(a(482));e=n,e.status="pending",e.then(function(u){if(n.status==="pending"){var f=n;f.status="fulfilled",f.value=u}},function(u){if(n.status==="pending"){var f=n;f.status="rejected",f.reason=u}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,mh(e),e}throw ri=n,Bi}}function ii(e){try{var n=e._init;return n(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ri=l,Bi):l}}var ri=null;function hh(){if(ri===null)throw Error(a(459));var e=ri;return ri=null,e}function mh(e){if(e===Bi||e===Wa)throw Error(a(483))}var Ui=null,Rr=0;function tu(e){var n=Rr;return Rr+=1,Ui===null&&(Ui=[]),dh(Ui,e,n)}function Or(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function nu(e,n){throw n.$$typeof===x?Error(a(525)):(e=Object.prototype.toString.call(n),Error(a(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function ph(e){function n(N,M){if(e){var H=N.deletions;H===null?(N.deletions=[M],N.flags|=16):H.push(M)}}function l(N,M){if(!e)return null;for(;M!==null;)n(N,M),M=M.sibling;return null}function u(N){for(var M=new Map;N!==null;)N.key!==null?M.set(N.key,N):M.set(N.index,N),N=N.sibling;return M}function f(N,M){return N=$n(N,M),N.index=0,N.sibling=null,N}function d(N,M,H){return N.index=H,e?(H=N.alternate,H!==null?(H=H.index,H<M?(N.flags|=67108866,M):H):(N.flags|=67108866,M)):(N.flags|=1048576,M)}function v(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function S(N,M,H,F){return M===null||M.tag!==6?(M=Wo(H,N.mode,F),M.return=N,M):(M=f(M,H),M.return=N,M)}function D(N,M,H,F){var he=H.type;return he===z?G(N,M,H.props.children,F,H.key):M!==null&&(M.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===le&&ii(he)===M.type)?(M=f(M,H.props),Or(M,H),M.return=N,M):(M=Ka(H.type,H.key,H.props,null,N.mode,F),Or(M,H),M.return=N,M)}function q(N,M,H,F){return M===null||M.tag!==4||M.stateNode.containerInfo!==H.containerInfo||M.stateNode.implementation!==H.implementation?(M=es(H,N.mode,F),M.return=N,M):(M=f(M,H.children||[]),M.return=N,M)}function G(N,M,H,F,he){return M===null||M.tag!==7?(M=Wl(H,N.mode,F,he),M.return=N,M):(M=f(M,H),M.return=N,M)}function K(N,M,H){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Wo(""+M,N.mode,H),M.return=N,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case b:return H=Ka(M.type,M.key,M.props,null,N.mode,H),Or(H,M),H.return=N,H;case w:return M=es(M,N.mode,H),M.return=N,M;case le:return M=ii(M),K(N,M,H)}if($(M)||P(M))return M=Wl(M,N.mode,H,null),M.return=N,M;if(typeof M.then=="function")return K(N,tu(M),H);if(M.$$typeof===_)return K(N,$a(N,M),H);nu(N,M)}return null}function Y(N,M,H,F){var he=M!==null?M.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return he!==null?null:S(N,M,""+H,F);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case b:return H.key===he?D(N,M,H,F):null;case w:return H.key===he?q(N,M,H,F):null;case le:return H=ii(H),Y(N,M,H,F)}if($(H)||P(H))return he!==null?null:G(N,M,H,F,null);if(typeof H.then=="function")return Y(N,M,tu(H),F);if(H.$$typeof===_)return Y(N,M,$a(N,H),F);nu(N,H)}return null}function V(N,M,H,F,he){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return N=N.get(H)||null,S(M,N,""+F,he);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case b:return N=N.get(F.key===null?H:F.key)||null,D(M,N,F,he);case w:return N=N.get(F.key===null?H:F.key)||null,q(M,N,F,he);case le:return F=ii(F),V(N,M,H,F,he)}if($(F)||P(F))return N=N.get(H)||null,G(M,N,F,he,null);if(typeof F.then=="function")return V(N,M,H,tu(F),he);if(F.$$typeof===_)return V(N,M,H,$a(M,F),he);nu(M,F)}return null}function oe(N,M,H,F){for(var he=null,Me=null,ce=M,Se=M=0,De=null;ce!==null&&Se<H.length;Se++){ce.index>Se?(De=ce,ce=null):De=ce.sibling;var Ne=Y(N,ce,H[Se],F);if(Ne===null){ce===null&&(ce=De);break}e&&ce&&Ne.alternate===null&&n(N,ce),M=d(Ne,M,Se),Me===null?he=Ne:Me.sibling=Ne,Me=Ne,ce=De}if(Se===H.length)return l(N,ce),ze&&Pn(N,Se),he;if(ce===null){for(;Se<H.length;Se++)ce=K(N,H[Se],F),ce!==null&&(M=d(ce,M,Se),Me===null?he=ce:Me.sibling=ce,Me=ce);return ze&&Pn(N,Se),he}for(ce=u(ce);Se<H.length;Se++)De=V(ce,N,Se,H[Se],F),De!==null&&(e&&De.alternate!==null&&ce.delete(De.key===null?Se:De.key),M=d(De,M,Se),Me===null?he=De:Me.sibling=De,Me=De);return e&&ce.forEach(function(Hl){return n(N,Hl)}),ze&&Pn(N,Se),he}function ge(N,M,H,F){if(H==null)throw Error(a(151));for(var he=null,Me=null,ce=M,Se=M=0,De=null,Ne=H.next();ce!==null&&!Ne.done;Se++,Ne=H.next()){ce.index>Se?(De=ce,ce=null):De=ce.sibling;var Hl=Y(N,ce,Ne.value,F);if(Hl===null){ce===null&&(ce=De);break}e&&ce&&Hl.alternate===null&&n(N,ce),M=d(Hl,M,Se),Me===null?he=Hl:Me.sibling=Hl,Me=Hl,ce=De}if(Ne.done)return l(N,ce),ze&&Pn(N,Se),he;if(ce===null){for(;!Ne.done;Se++,Ne=H.next())Ne=K(N,Ne.value,F),Ne!==null&&(M=d(Ne,M,Se),Me===null?he=Ne:Me.sibling=Ne,Me=Ne);return ze&&Pn(N,Se),he}for(ce=u(ce);!Ne.done;Se++,Ne=H.next())Ne=V(ce,N,Se,Ne.value,F),Ne!==null&&(e&&Ne.alternate!==null&&ce.delete(Ne.key===null?Se:Ne.key),M=d(Ne,M,Se),Me===null?he=Ne:Me.sibling=Ne,Me=Ne);return e&&ce.forEach(function(w1){return n(N,w1)}),ze&&Pn(N,Se),he}function Ye(N,M,H,F){if(typeof H=="object"&&H!==null&&H.type===z&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case b:e:{for(var he=H.key;M!==null;){if(M.key===he){if(he=H.type,he===z){if(M.tag===7){l(N,M.sibling),F=f(M,H.props.children),F.return=N,N=F;break e}}else if(M.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===le&&ii(he)===M.type){l(N,M.sibling),F=f(M,H.props),Or(F,H),F.return=N,N=F;break e}l(N,M);break}else n(N,M);M=M.sibling}H.type===z?(F=Wl(H.props.children,N.mode,F,H.key),F.return=N,N=F):(F=Ka(H.type,H.key,H.props,null,N.mode,F),Or(F,H),F.return=N,N=F)}return v(N);case w:e:{for(he=H.key;M!==null;){if(M.key===he)if(M.tag===4&&M.stateNode.containerInfo===H.containerInfo&&M.stateNode.implementation===H.implementation){l(N,M.sibling),F=f(M,H.children||[]),F.return=N,N=F;break e}else{l(N,M);break}else n(N,M);M=M.sibling}F=es(H,N.mode,F),F.return=N,N=F}return v(N);case le:return H=ii(H),Ye(N,M,H,F)}if($(H))return oe(N,M,H,F);if(P(H)){if(he=P(H),typeof he!="function")throw Error(a(150));return H=he.call(H),ge(N,M,H,F)}if(typeof H.then=="function")return Ye(N,M,tu(H),F);if(H.$$typeof===_)return Ye(N,M,$a(N,H),F);nu(N,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,M!==null&&M.tag===6?(l(N,M.sibling),F=f(M,H),F.return=N,N=F):(l(N,M),F=Wo(H,N.mode,F),F.return=N,N=F),v(N)):l(N,M)}return function(N,M,H,F){try{Rr=0;var he=Ye(N,M,H,F);return Ui=null,he}catch(ce){if(ce===Bi||ce===Wa)throw ce;var Me=en(29,ce,null,N.mode);return Me.lanes=F,Me.return=N,Me}finally{}}}var ai=ph(!0),gh=ph(!1),El=!1;function ds(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hs(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function wl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Cl(e,n,l){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(Le&2)!==0){var f=u.pending;return f===null?n.next=n:(n.next=f.next,f.next=n),u.pending=n,n=Za(e),Wd(e,null,l),n}return Fa(e,u,n,l),Za(e)}function Mr(e,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var u=n.lanes;u&=e.pendingLanes,l|=u,n.lanes=l,Pt(e,l)}}function ms(e,n){var l=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var f=null,d=null;if(l=l.firstBaseUpdate,l!==null){do{var v={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};d===null?f=d=v:d=d.next=v,l=l.next}while(l!==null);d===null?f=d=n:d=d.next=n}else f=d=n;l={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:d,shared:u.shared,callbacks:u.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=n:e.next=n,l.lastBaseUpdate=n}var ps=!1;function Nr(){if(ps){var e=ji;if(e!==null)throw e}}function _r(e,n,l,u){ps=!1;var f=e.updateQueue;El=!1;var d=f.firstBaseUpdate,v=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var D=S,q=D.next;D.next=null,v===null?d=q:v.next=q,v=D;var G=e.alternate;G!==null&&(G=G.updateQueue,S=G.lastBaseUpdate,S!==v&&(S===null?G.firstBaseUpdate=q:S.next=q,G.lastBaseUpdate=D))}if(d!==null){var K=f.baseState;v=0,G=q=D=null,S=d;do{var Y=S.lane&-536870913,V=Y!==S.lane;if(V?(ke&Y)===Y:(u&Y)===Y){Y!==0&&Y===Li&&(ps=!0),G!==null&&(G=G.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var oe=e,ge=S;Y=n;var Ye=l;switch(ge.tag){case 1:if(oe=ge.payload,typeof oe=="function"){K=oe.call(Ye,K,Y);break e}K=oe;break e;case 3:oe.flags=oe.flags&-65537|128;case 0:if(oe=ge.payload,Y=typeof oe=="function"?oe.call(Ye,K,Y):oe,Y==null)break e;K=g({},K,Y);break e;case 2:El=!0}}Y=S.callback,Y!==null&&(e.flags|=64,V&&(e.flags|=8192),V=f.callbacks,V===null?f.callbacks=[Y]:V.push(Y))}else V={lane:Y,tag:S.tag,payload:S.payload,callback:S.callback,next:null},G===null?(q=G=V,D=K):G=G.next=V,v|=Y;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;V=S,S=V.next,V.next=null,f.lastBaseUpdate=V,f.shared.pending=null}}while(!0);G===null&&(D=K),f.baseState=D,f.firstBaseUpdate=q,f.lastBaseUpdate=G,d===null&&(f.shared.lanes=0),zl|=v,e.lanes=v,e.memoizedState=K}}function yh(e,n){if(typeof e!="function")throw Error(a(191,e));e.call(n)}function vh(e,n){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)yh(l[e],n)}var Hi=R(null),lu=R(0);function bh(e,n){e=sl,E(lu,e),E(Hi,n),sl=e|n.baseLanes}function gs(){E(lu,sl),E(Hi,Hi.current)}function ys(){sl=lu.current,X(Hi),X(lu)}var tn=R(null),xn=null;function Tl(e){var n=e.alternate;E(it,it.current&1),E(tn,e),xn===null&&(n===null||Hi.current!==null||n.memoizedState!==null)&&(xn=e)}function vs(e){E(it,it.current),E(tn,e),xn===null&&(xn=e)}function xh(e){e.tag===22?(E(it,it.current),E(tn,e),xn===null&&(xn=e)):Al()}function Al(){E(it,it.current),E(tn,tn.current)}function nn(e){X(tn),xn===e&&(xn=null),X(it)}var it=R(0);function iu(e){for(var n=e;n!==null;){if(n.tag===13){var l=n.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Cc(l)||Tc(l)))return n}else if(n.tag===19&&(n.memoizedProps.revealOrder==="forwards"||n.memoizedProps.revealOrder==="backwards"||n.memoizedProps.revealOrder==="unstable_legacy-backwards"||n.memoizedProps.revealOrder==="together")){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var tl=0,xe=null,He=null,ot=null,ru=!1,qi=!1,ui=!1,au=0,Lr=0,Yi=null,hb=0;function We(){throw Error(a(321))}function bs(e,n){if(n===null)return!1;for(var l=0;l<n.length&&l<e.length;l++)if(!Wt(e[l],n[l]))return!1;return!0}function xs(e,n,l,u,f,d){return tl=d,xe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,U.H=e===null||e.memoizedState===null?lm:Ls,ui=!1,d=l(u,f),ui=!1,qi&&(d=Eh(n,l,u,f)),Sh(e),d}function Sh(e){U.H=Ur;var n=He!==null&&He.next!==null;if(tl=0,ot=He=xe=null,ru=!1,Lr=0,Yi=null,n)throw Error(a(300));e===null||st||(e=e.dependencies,e!==null&&Ia(e)&&(st=!0))}function Eh(e,n,l,u){xe=e;var f=0;do{if(qi&&(Yi=null),Lr=0,qi=!1,25<=f)throw Error(a(301));if(f+=1,ot=He=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}U.H=im,d=n(l,u)}while(qi);return d}function mb(){var e=U.H,n=e.useState()[0];return n=typeof n.then=="function"?jr(n):n,e=e.useState()[0],(He!==null?He.memoizedState:null)!==e&&(xe.flags|=1024),n}function Ss(){var e=au!==0;return au=0,e}function Es(e,n,l){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l}function ws(e){if(ru){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}ru=!1}tl=0,ot=He=xe=null,qi=!1,Lr=au=0,Yi=null}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?xe.memoizedState=ot=e:ot=ot.next=e,ot}function rt(){if(He===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=He.next;var n=ot===null?xe.memoizedState:ot.next;if(n!==null)ot=n,He=e;else{if(e===null)throw xe.alternate===null?Error(a(467)):Error(a(310));He=e,e={memoizedState:He.memoizedState,baseState:He.baseState,baseQueue:He.baseQueue,queue:He.queue,next:null},ot===null?xe.memoizedState=ot=e:ot=ot.next=e}return ot}function uu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jr(e){var n=Lr;return Lr+=1,Yi===null&&(Yi=[]),e=dh(Yi,e,n),n=xe,(ot===null?n.memoizedState:ot.next)===null&&(n=n.alternate,U.H=n===null||n.memoizedState===null?lm:Ls),e}function ou(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return jr(e);if(e.$$typeof===_)return Tt(e)}throw Error(a(438,String(e)))}function Cs(e){var n=null,l=xe.updateQueue;if(l!==null&&(n=l.memoCache),n==null){var u=xe.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(n={data:u.data.map(function(f){return f.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),l===null&&(l=uu(),xe.updateQueue=l),l.memoCache=n,l=n.data[n.index],l===void 0)for(l=n.data[n.index]=Array(e),u=0;u<e;u++)l[u]=j;return n.index++,l}function nl(e,n){return typeof n=="function"?n(e):n}function su(e){var n=rt();return Ts(n,He,e)}function Ts(e,n,l){var u=e.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=l;var f=e.baseQueue,d=u.pending;if(d!==null){if(f!==null){var v=f.next;f.next=d.next,d.next=v}n.baseQueue=f=d,u.pending=null}if(d=e.baseState,f===null)e.memoizedState=d;else{n=f.next;var S=v=null,D=null,q=n,G=!1;do{var K=q.lane&-536870913;if(K!==q.lane?(ke&K)===K:(tl&K)===K){var Y=q.revertLane;if(Y===0)D!==null&&(D=D.next={lane:0,revertLane:0,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null}),K===Li&&(G=!0);else if((tl&Y)===Y){q=q.next,Y===Li&&(G=!0);continue}else K={lane:0,revertLane:q.revertLane,gesture:null,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},D===null?(S=D=K,v=d):D=D.next=K,xe.lanes|=Y,zl|=Y;K=q.action,ui&&l(d,K),d=q.hasEagerState?q.eagerState:l(d,K)}else Y={lane:K,revertLane:q.revertLane,gesture:q.gesture,action:q.action,hasEagerState:q.hasEagerState,eagerState:q.eagerState,next:null},D===null?(S=D=Y,v=d):D=D.next=Y,xe.lanes|=K,zl|=K;q=q.next}while(q!==null&&q!==n);if(D===null?v=d:D.next=S,!Wt(d,e.memoizedState)&&(st=!0,G&&(l=ji,l!==null)))throw l;e.memoizedState=d,e.baseState=v,e.baseQueue=D,u.lastRenderedState=d}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function As(e){var n=rt(),l=n.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=e;var u=l.dispatch,f=l.pending,d=n.memoizedState;if(f!==null){l.pending=null;var v=f=f.next;do d=e(d,v.action),v=v.next;while(v!==f);Wt(d,n.memoizedState)||(st=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),l.lastRenderedState=d}return[d,u]}function wh(e,n,l){var u=xe,f=rt(),d=ze;if(d){if(l===void 0)throw Error(a(407));l=l()}else l=n();var v=!Wt((He||f).memoizedState,l);if(v&&(f.memoizedState=l,st=!0),f=f.queue,zs(Ah.bind(null,u,f,e),[e]),f.getSnapshot!==n||v||ot!==null&&ot.memoizedState.tag&1){if(u.flags|=2048,Vi(9,{destroy:void 0},Th.bind(null,u,f,l,n),null),Xe===null)throw Error(a(349));d||(tl&127)!==0||Ch(u,n,l)}return l}function Ch(e,n,l){e.flags|=16384,e={getSnapshot:n,value:l},n=xe.updateQueue,n===null?(n=uu(),xe.updateQueue=n,n.stores=[e]):(l=n.stores,l===null?n.stores=[e]:l.push(e))}function Th(e,n,l,u){n.value=l,n.getSnapshot=u,kh(n)&&Dh(e)}function Ah(e,n,l){return l(function(){kh(n)&&Dh(e)})}function kh(e){var n=e.getSnapshot;e=e.value;try{var l=n();return!Wt(e,l)}catch{return!0}}function Dh(e){var n=Pl(e,2);n!==null&&Ft(n,e,2)}function ks(e){var n=Nt();if(typeof e=="function"){var l=e;if(e=l(),ui){gt(!0);try{l()}finally{gt(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:e},n}function zh(e,n,l,u){return e.baseState=l,Ts(e,He,typeof u=="function"?u:nl)}function pb(e,n,l,u,f){if(du(e))throw Error(a(485));if(e=n.action,e!==null){var d={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};U.T!==null?l(!0):d.isTransition=!1,u(d),l=n.pending,l===null?(d.next=n.pending=d,Rh(n,d)):(d.next=l.next,n.pending=l.next=d)}}function Rh(e,n){var l=n.action,u=n.payload,f=e.state;if(n.isTransition){var d=U.T,v={};U.T=v;try{var S=l(f,u),D=U.S;D!==null&&D(v,S),Oh(e,n,S)}catch(q){Ds(e,n,q)}finally{d!==null&&v.types!==null&&(d.types=v.types),U.T=d}}else try{d=l(f,u),Oh(e,n,d)}catch(q){Ds(e,n,q)}}function Oh(e,n,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(u){Mh(e,n,u)},function(u){return Ds(e,n,u)}):Mh(e,n,l)}function Mh(e,n,l){n.status="fulfilled",n.value=l,Nh(n),e.state=l,n=e.pending,n!==null&&(l=n.next,l===n?e.pending=null:(l=l.next,n.next=l,Rh(e,l)))}function Ds(e,n,l){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do n.status="rejected",n.reason=l,Nh(n),n=n.next;while(n!==u)}e.action=null}function Nh(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function _h(e,n){return n}function Lh(e,n){if(ze){var l=Xe.formState;if(l!==null){e:{var u=xe;if(ze){if(Ze){t:{for(var f=Ze,d=bn;f.nodeType!==8;){if(!d){f=null;break t}if(f=Sn(f.nextSibling),f===null){f=null;break t}}d=f.data,f=d==="F!"||d==="F"?f:null}if(f){Ze=Sn(f.nextSibling),u=f.data==="F!";break e}}xl(u)}u=!1}u&&(n=l[0])}}return l=Nt(),l.memoizedState=l.baseState=n,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_h,lastRenderedState:n},l.queue=u,l=em.bind(null,xe,u),u.dispatch=l,u=ks(!1),d=_s.bind(null,xe,!1,u.queue),u=Nt(),f={state:n,dispatch:null,action:e,pending:null},u.queue=f,l=pb.bind(null,xe,f,d,l),f.dispatch=l,u.memoizedState=e,[n,l,!1]}function jh(e){var n=rt();return Bh(n,He,e)}function Bh(e,n,l){if(n=Ts(e,n,_h)[0],e=su(nl)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var u=jr(n)}catch(v){throw v===Bi?Wa:v}else u=n;n=rt();var f=n.queue,d=f.dispatch;return l!==n.memoizedState&&(xe.flags|=2048,Vi(9,{destroy:void 0},gb.bind(null,f,l),null)),[u,d,e]}function gb(e,n){e.action=n}function Uh(e){var n=rt(),l=He;if(l!==null)return Bh(n,l,e);rt(),n=n.memoizedState,l=rt();var u=l.queue.dispatch;return l.memoizedState=e,[n,u,!1]}function Vi(e,n,l,u){return e={tag:e,create:l,deps:u,inst:n,next:null},n=xe.updateQueue,n===null&&(n=uu(),xe.updateQueue=n),l=n.lastEffect,l===null?n.lastEffect=e.next=e:(u=l.next,l.next=e,e.next=u,n.lastEffect=e),e}function Hh(){return rt().memoizedState}function cu(e,n,l,u){var f=Nt();xe.flags|=e,f.memoizedState=Vi(1|n,{destroy:void 0},l,u===void 0?null:u)}function fu(e,n,l,u){var f=rt();u=u===void 0?null:u;var d=f.memoizedState.inst;He!==null&&u!==null&&bs(u,He.memoizedState.deps)?f.memoizedState=Vi(n,d,l,u):(xe.flags|=e,f.memoizedState=Vi(1|n,d,l,u))}function qh(e,n){cu(8390656,8,e,n)}function zs(e,n){fu(2048,8,e,n)}function yb(e){xe.flags|=4;var n=xe.updateQueue;if(n===null)n=uu(),xe.updateQueue=n,n.events=[e];else{var l=n.events;l===null?n.events=[e]:l.push(e)}}function Yh(e){var n=rt().memoizedState;return yb({ref:n,nextImpl:e}),function(){if((Le&2)!==0)throw Error(a(440));return n.impl.apply(void 0,arguments)}}function Vh(e,n){return fu(4,2,e,n)}function Xh(e,n){return fu(4,4,e,n)}function Gh(e,n){if(typeof n=="function"){e=e();var l=n(e);return function(){typeof l=="function"?l():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Qh(e,n,l){l=l!=null?l.concat([e]):null,fu(4,4,Gh.bind(null,n,e),l)}function Rs(){}function Fh(e,n){var l=rt();n=n===void 0?null:n;var u=l.memoizedState;return n!==null&&bs(n,u[1])?u[0]:(l.memoizedState=[e,n],e)}function Zh(e,n){var l=rt();n=n===void 0?null:n;var u=l.memoizedState;if(n!==null&&bs(n,u[1]))return u[0];if(u=e(),ui){gt(!0);try{e()}finally{gt(!1)}}return l.memoizedState=[u,n],u}function Os(e,n,l){return l===void 0||(tl&1073741824)!==0&&(ke&261930)===0?e.memoizedState=n:(e.memoizedState=l,e=Km(),xe.lanes|=e,zl|=e,l)}function Kh(e,n,l,u){return Wt(l,n)?l:Hi.current!==null?(e=Os(e,l,u),Wt(e,n)||(st=!0),e):(tl&42)===0||(tl&1073741824)!==0&&(ke&261930)===0?(st=!0,e.memoizedState=l):(e=Km(),xe.lanes|=e,zl|=e,n)}function Jh(e,n,l,u,f){var d=J.p;J.p=d!==0&&8>d?d:8;var v=U.T,S={};U.T=S,_s(e,!1,n,l);try{var D=f(),q=U.S;if(q!==null&&q(S,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var G=db(D,u);Br(e,n,G,an(e))}else Br(e,n,u,an(e))}catch(K){Br(e,n,{then:function(){},status:"rejected",reason:K},an())}finally{J.p=d,v!==null&&S.types!==null&&(v.types=S.types),U.T=v}}function vb(){}function Ms(e,n,l,u){if(e.tag!==5)throw Error(a(476));var f=Ih(e).queue;Jh(e,f,n,se,l===null?vb:function(){return $h(e),l(u)})}function Ih(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:se},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:l},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function $h(e){var n=Ih(e);n.next===null&&(n=e.alternate.memoizedState),Br(e,n.next.queue,{},an())}function Ns(){return Tt(ea)}function Ph(){return rt().memoizedState}function Wh(){return rt().memoizedState}function bb(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var l=an();e=wl(l);var u=Cl(n,e,l);u!==null&&(Ft(u,n,l),Mr(u,n,l)),n={cache:os()},e.payload=n;return}n=n.return}}function xb(e,n,l){var u=an();l={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},du(e)?tm(n,l):(l=$o(e,n,l,u),l!==null&&(Ft(l,e,u),nm(l,n,u)))}function em(e,n,l){var u=an();Br(e,n,l,u)}function Br(e,n,l,u){var f={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(du(e))tm(n,f);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var v=n.lastRenderedState,S=d(v,l);if(f.hasEagerState=!0,f.eagerState=S,Wt(S,v))return Fa(e,n,f,0),Xe===null&&Qa(),!1}catch{}finally{}if(l=$o(e,n,f,u),l!==null)return Ft(l,e,u),nm(l,n,u),!0}return!1}function _s(e,n,l,u){if(u={lane:2,revertLane:dc(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},du(e)){if(n)throw Error(a(479))}else n=$o(e,l,u,2),n!==null&&Ft(n,e,2)}function du(e){var n=e.alternate;return e===xe||n!==null&&n===xe}function tm(e,n){qi=ru=!0;var l=e.pending;l===null?n.next=n:(n.next=l.next,l.next=n),e.pending=n}function nm(e,n,l){if((l&4194048)!==0){var u=n.lanes;u&=e.pendingLanes,l|=u,n.lanes=l,Pt(e,l)}}var Ur={readContext:Tt,use:ou,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useLayoutEffect:We,useInsertionEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useSyncExternalStore:We,useId:We,useHostTransitionStatus:We,useFormState:We,useActionState:We,useOptimistic:We,useMemoCache:We,useCacheRefresh:We};Ur.useEffectEvent=We;var lm={readContext:Tt,use:ou,useCallback:function(e,n){return Nt().memoizedState=[e,n===void 0?null:n],e},useContext:Tt,useEffect:qh,useImperativeHandle:function(e,n,l){l=l!=null?l.concat([e]):null,cu(4194308,4,Gh.bind(null,n,e),l)},useLayoutEffect:function(e,n){return cu(4194308,4,e,n)},useInsertionEffect:function(e,n){cu(4,2,e,n)},useMemo:function(e,n){var l=Nt();n=n===void 0?null:n;var u=e();if(ui){gt(!0);try{e()}finally{gt(!1)}}return l.memoizedState=[u,n],u},useReducer:function(e,n,l){var u=Nt();if(l!==void 0){var f=l(n);if(ui){gt(!0);try{l(n)}finally{gt(!1)}}}else f=n;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=xb.bind(null,xe,e),[u.memoizedState,e]},useRef:function(e){var n=Nt();return e={current:e},n.memoizedState=e},useState:function(e){e=ks(e);var n=e.queue,l=em.bind(null,xe,n);return n.dispatch=l,[e.memoizedState,l]},useDebugValue:Rs,useDeferredValue:function(e,n){var l=Nt();return Os(l,e,n)},useTransition:function(){var e=ks(!1);return e=Jh.bind(null,xe,e.queue,!0,!1),Nt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,l){var u=xe,f=Nt();if(ze){if(l===void 0)throw Error(a(407));l=l()}else{if(l=n(),Xe===null)throw Error(a(349));(ke&127)!==0||Ch(u,n,l)}f.memoizedState=l;var d={value:l,getSnapshot:n};return f.queue=d,qh(Ah.bind(null,u,d,e),[e]),u.flags|=2048,Vi(9,{destroy:void 0},Th.bind(null,u,d,l,n),null),l},useId:function(){var e=Nt(),n=Xe.identifierPrefix;if(ze){var l=Hn,u=Un;l=(u&~(1<<32-je(u)-1)).toString(32)+l,n="_"+n+"R_"+l,l=au++,0<l&&(n+="H"+l.toString(32)),n+="_"}else l=hb++,n="_"+n+"r_"+l.toString(32)+"_";return e.memoizedState=n},useHostTransitionStatus:Ns,useFormState:Lh,useActionState:Lh,useOptimistic:function(e){var n=Nt();n.memoizedState=n.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=l,n=_s.bind(null,xe,!0,l),l.dispatch=n,[e,n]},useMemoCache:Cs,useCacheRefresh:function(){return Nt().memoizedState=bb.bind(null,xe)},useEffectEvent:function(e){var n=Nt(),l={impl:e};return n.memoizedState=l,function(){if((Le&2)!==0)throw Error(a(440));return l.impl.apply(void 0,arguments)}}},Ls={readContext:Tt,use:ou,useCallback:Fh,useContext:Tt,useEffect:zs,useImperativeHandle:Qh,useInsertionEffect:Vh,useLayoutEffect:Xh,useMemo:Zh,useReducer:su,useRef:Hh,useState:function(){return su(nl)},useDebugValue:Rs,useDeferredValue:function(e,n){var l=rt();return Kh(l,He.memoizedState,e,n)},useTransition:function(){var e=su(nl)[0],n=rt().memoizedState;return[typeof e=="boolean"?e:jr(e),n]},useSyncExternalStore:wh,useId:Ph,useHostTransitionStatus:Ns,useFormState:jh,useActionState:jh,useOptimistic:function(e,n){var l=rt();return zh(l,He,e,n)},useMemoCache:Cs,useCacheRefresh:Wh};Ls.useEffectEvent=Yh;var im={readContext:Tt,use:ou,useCallback:Fh,useContext:Tt,useEffect:zs,useImperativeHandle:Qh,useInsertionEffect:Vh,useLayoutEffect:Xh,useMemo:Zh,useReducer:As,useRef:Hh,useState:function(){return As(nl)},useDebugValue:Rs,useDeferredValue:function(e,n){var l=rt();return He===null?Os(l,e,n):Kh(l,He.memoizedState,e,n)},useTransition:function(){var e=As(nl)[0],n=rt().memoizedState;return[typeof e=="boolean"?e:jr(e),n]},useSyncExternalStore:wh,useId:Ph,useHostTransitionStatus:Ns,useFormState:Uh,useActionState:Uh,useOptimistic:function(e,n){var l=rt();return He!==null?zh(l,He,e,n):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Cs,useCacheRefresh:Wh};im.useEffectEvent=Yh;function js(e,n,l,u){n=e.memoizedState,l=l(u,n),l=l==null?n:g({},n,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Bs={enqueueSetState:function(e,n,l){e=e._reactInternals;var u=an(),f=wl(u);f.payload=n,l!=null&&(f.callback=l),n=Cl(e,f,u),n!==null&&(Ft(n,e,u),Mr(n,e,u))},enqueueReplaceState:function(e,n,l){e=e._reactInternals;var u=an(),f=wl(u);f.tag=1,f.payload=n,l!=null&&(f.callback=l),n=Cl(e,f,u),n!==null&&(Ft(n,e,u),Mr(n,e,u))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var l=an(),u=wl(l);u.tag=2,n!=null&&(u.callback=n),n=Cl(e,u,l),n!==null&&(Ft(n,e,l),Mr(n,e,l))}};function rm(e,n,l,u,f,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,d,v):n.prototype&&n.prototype.isPureReactComponent?!Cr(l,u)||!Cr(f,d):!0}function am(e,n,l,u){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(l,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(l,u),n.state!==e&&Bs.enqueueReplaceState(n,n.state,null)}function oi(e,n){var l=n;if("ref"in n){l={};for(var u in n)u!=="ref"&&(l[u]=n[u])}if(e=e.defaultProps){l===n&&(l=g({},l));for(var f in e)l[f]===void 0&&(l[f]=e[f])}return l}function um(e){Ga(e)}function om(e){console.error(e)}function sm(e){Ga(e)}function hu(e,n){try{var l=e.onUncaughtError;l(n.value,{componentStack:n.stack})}catch(u){setTimeout(function(){throw u})}}function cm(e,n,l){try{var u=e.onCaughtError;u(l.value,{componentStack:l.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Us(e,n,l){return l=wl(l),l.tag=3,l.payload={element:null},l.callback=function(){hu(e,n)},l}function fm(e){return e=wl(e),e.tag=3,e}function dm(e,n,l,u){var f=l.type.getDerivedStateFromError;if(typeof f=="function"){var d=u.value;e.payload=function(){return f(d)},e.callback=function(){cm(n,l,u)}}var v=l.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){cm(n,l,u),typeof f!="function"&&(Rl===null?Rl=new Set([this]):Rl.add(this));var S=u.stack;this.componentDidCatch(u.value,{componentStack:S!==null?S:""})})}function Sb(e,n,l,u,f){if(l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(n=l.alternate,n!==null&&_i(n,l,f,!0),l=tn.current,l!==null){switch(l.tag){case 31:case 13:return xn===null?Tu():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=f,u===eu?l.flags|=16384:(n=l.updateQueue,n===null?l.updateQueue=new Set([u]):n.add(u),sc(e,u,f)),!1;case 22:return l.flags|=65536,u===eu?l.flags|=16384:(n=l.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([u])},l.updateQueue=n):(l=n.retryQueue,l===null?n.retryQueue=new Set([u]):l.add(u)),sc(e,u,f)),!1}throw Error(a(435,l.tag))}return sc(e,u,f),Tu(),!1}if(ze)return n=tn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=f,u!==ls&&(e=Error(a(422),{cause:u}),kr(gn(e,l)))):(u!==ls&&(n=Error(a(423),{cause:u}),kr(gn(n,l))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=gn(u,l),f=Us(e.stateNode,u,f),ms(e,f),et!==4&&(et=2)),!1;var d=Error(a(520),{cause:u});if(d=gn(d,l),Fr===null?Fr=[d]:Fr.push(d),et!==4&&(et=2),n===null)return!0;u=gn(u,l),l=n;do{switch(l.tag){case 3:return l.flags|=65536,e=f&-f,l.lanes|=e,e=Us(l.stateNode,u,e),ms(l,e),!1;case 1:if(n=l.type,d=l.stateNode,(l.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Rl===null||!Rl.has(d))))return l.flags|=65536,f&=-f,l.lanes|=f,f=fm(f),dm(f,e,l,u),ms(l,f),!1}l=l.return}while(l!==null);return!1}var Hs=Error(a(461)),st=!1;function At(e,n,l,u){n.child=e===null?gh(n,null,l,u):ai(n,e.child,l,u)}function hm(e,n,l,u,f){l=l.render;var d=n.ref;if("ref"in u){var v={};for(var S in u)S!=="ref"&&(v[S]=u[S])}else v=u;return ni(n),u=xs(e,n,l,v,d,f),S=Ss(),e!==null&&!st?(Es(e,n,f),ll(e,n,f)):(ze&&S&&ts(n),n.flags|=1,At(e,n,u,f),n.child)}function mm(e,n,l,u,f){if(e===null){var d=l.type;return typeof d=="function"&&!Po(d)&&d.defaultProps===void 0&&l.compare===null?(n.tag=15,n.type=d,pm(e,n,d,u,f)):(e=Ka(l.type,null,u,n,n.mode,f),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Zs(e,f)){var v=d.memoizedProps;if(l=l.compare,l=l!==null?l:Cr,l(v,u)&&e.ref===n.ref)return ll(e,n,f)}return n.flags|=1,e=$n(d,u),e.ref=n.ref,e.return=n,n.child=e}function pm(e,n,l,u,f){if(e!==null){var d=e.memoizedProps;if(Cr(d,u)&&e.ref===n.ref)if(st=!1,n.pendingProps=u=d,Zs(e,f))(e.flags&131072)!==0&&(st=!0);else return n.lanes=e.lanes,ll(e,n,f)}return qs(e,n,l,u,f)}function gm(e,n,l,u){var f=u.children,d=e!==null?e.memoizedState:null;if(e===null&&n.stateNode===null&&(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((n.flags&128)!==0){if(d=d!==null?d.baseLanes|l:l,e!==null){for(u=n.child=e.child,f=0;u!==null;)f=f|u.lanes|u.childLanes,u=u.sibling;u=f&~d}else u=0,n.child=null;return ym(e,n,d,l,u)}if((l&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Pa(n,d!==null?d.cachePool:null),d!==null?bh(n,d):gs(),xh(n);else return u=n.lanes=536870912,ym(e,n,d!==null?d.baseLanes|l:l,l,u)}else d!==null?(Pa(n,d.cachePool),bh(n,d),Al(),n.memoizedState=null):(e!==null&&Pa(n,null),gs(),Al());return At(e,n,f,l),n.child}function Hr(e,n){return e!==null&&e.tag===22||n.stateNode!==null||(n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.sibling}function ym(e,n,l,u,f){var d=cs();return d=d===null?null:{parent:ut._currentValue,pool:d},n.memoizedState={baseLanes:l,cachePool:d},e!==null&&Pa(n,null),gs(),xh(n),e!==null&&_i(e,n,u,!0),n.childLanes=f,null}function mu(e,n){return n=gu({mode:n.mode,children:n.children},e.mode),n.ref=e.ref,e.child=n,n.return=e,n}function vm(e,n,l){return ai(n,e.child,null,l),e=mu(n,n.pendingProps),e.flags|=2,nn(n),n.memoizedState=null,e}function Eb(e,n,l){var u=n.pendingProps,f=(n.flags&128)!==0;if(n.flags&=-129,e===null){if(ze){if(u.mode==="hidden")return e=mu(n,u),n.lanes=536870912,Hr(null,e);if(vs(n),(e=Ze)?(e=Rp(e,bn),e=e!==null&&e.data==="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vl!==null?{id:Un,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},l=th(e),l.return=n,n.child=l,Ct=n,Ze=null)):e=null,e===null)throw xl(n);return n.lanes=536870912,null}return mu(n,u)}var d=e.memoizedState;if(d!==null){var v=d.dehydrated;if(vs(n),f)if(n.flags&256)n.flags&=-257,n=vm(e,n,l);else if(n.memoizedState!==null)n.child=e.child,n.flags|=128,n=null;else throw Error(a(558));else if(st||_i(e,n,l,!1),f=(l&e.childLanes)!==0,st||f){if(u=Xe,u!==null&&(v=fn(u,l),v!==0&&v!==d.retryLane))throw d.retryLane=v,Pl(e,v),Ft(u,e,v),Hs;Tu(),n=vm(e,n,l)}else e=d.treeContext,Ze=Sn(v.nextSibling),Ct=n,ze=!0,bl=null,bn=!1,e!==null&&ih(n,e),n=mu(n,u),n.flags|=4096;return n}return e=$n(e.child,{mode:u.mode,children:u.children}),e.ref=n.ref,n.child=e,e.return=n,e}function pu(e,n){var l=n.ref;if(l===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(e===null||e.ref!==l)&&(n.flags|=4194816)}}function qs(e,n,l,u,f){return ni(n),l=xs(e,n,l,u,void 0,f),u=Ss(),e!==null&&!st?(Es(e,n,f),ll(e,n,f)):(ze&&u&&ts(n),n.flags|=1,At(e,n,l,f),n.child)}function bm(e,n,l,u,f,d){return ni(n),n.updateQueue=null,l=Eh(n,u,l,f),Sh(e),u=Ss(),e!==null&&!st?(Es(e,n,d),ll(e,n,d)):(ze&&u&&ts(n),n.flags|=1,At(e,n,l,d),n.child)}function xm(e,n,l,u,f){if(ni(n),n.stateNode===null){var d=Ri,v=l.contextType;typeof v=="object"&&v!==null&&(d=Tt(v)),d=new l(u,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Bs,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=u,d.state=n.memoizedState,d.refs={},ds(n),v=l.contextType,d.context=typeof v=="object"&&v!==null?Tt(v):Ri,d.state=n.memoizedState,v=l.getDerivedStateFromProps,typeof v=="function"&&(js(n,l,v,u),d.state=n.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&Bs.enqueueReplaceState(d,d.state,null),_r(n,u,d,f),Nr(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),u=!0}else if(e===null){d=n.stateNode;var S=n.memoizedProps,D=oi(l,S);d.props=D;var q=d.context,G=l.contextType;v=Ri,typeof G=="object"&&G!==null&&(v=Tt(G));var K=l.getDerivedStateFromProps;G=typeof K=="function"||typeof d.getSnapshotBeforeUpdate=="function",S=n.pendingProps!==S,G||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(S||q!==v)&&am(n,d,u,v),El=!1;var Y=n.memoizedState;d.state=Y,_r(n,u,d,f),Nr(),q=n.memoizedState,S||Y!==q||El?(typeof K=="function"&&(js(n,l,K,u),q=n.memoizedState),(D=El||rm(n,l,D,u,Y,q,v))?(G||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=q),d.props=u,d.state=q,d.context=v,u=D):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{d=n.stateNode,hs(e,n),v=n.memoizedProps,G=oi(l,v),d.props=G,K=n.pendingProps,Y=d.context,q=l.contextType,D=Ri,typeof q=="object"&&q!==null&&(D=Tt(q)),S=l.getDerivedStateFromProps,(q=typeof S=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==K||Y!==D)&&am(n,d,u,D),El=!1,Y=n.memoizedState,d.state=Y,_r(n,u,d,f),Nr();var V=n.memoizedState;v!==K||Y!==V||El||e!==null&&e.dependencies!==null&&Ia(e.dependencies)?(typeof S=="function"&&(js(n,l,S,u),V=n.memoizedState),(G=El||rm(n,l,G,u,Y,V,D)||e!==null&&e.dependencies!==null&&Ia(e.dependencies))?(q||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(u,V,D),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(u,V,D)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&Y===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&Y===e.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=V),d.props=u,d.state=V,d.context=D,u=G):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&Y===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&Y===e.memoizedState||(n.flags|=1024),u=!1)}return d=u,pu(e,n),u=(n.flags&128)!==0,d||u?(d=n.stateNode,l=u&&typeof l.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&u?(n.child=ai(n,e.child,null,f),n.child=ai(n,null,l,f)):At(e,n,l,f),n.memoizedState=d.state,e=n.child):e=ll(e,n,f),e}function Sm(e,n,l,u){return ei(),n.flags|=256,At(e,n,l,u),n.child}var Ys={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vs(e){return{baseLanes:e,cachePool:ch()}}function Xs(e,n,l){return e=e!==null?e.childLanes&~l:0,n&&(e|=rn),e}function Em(e,n,l){var u=n.pendingProps,f=!1,d=(n.flags&128)!==0,v;if((v=d)||(v=e!==null&&e.memoizedState===null?!1:(it.current&2)!==0),v&&(f=!0,n.flags&=-129),v=(n.flags&32)!==0,n.flags&=-33,e===null){if(ze){if(f?Tl(n):Al(),(e=Ze)?(e=Rp(e,bn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(n.memoizedState={dehydrated:e,treeContext:vl!==null?{id:Un,overflow:Hn}:null,retryLane:536870912,hydrationErrors:null},l=th(e),l.return=n,n.child=l,Ct=n,Ze=null)):e=null,e===null)throw xl(n);return Tc(e)?n.lanes=32:n.lanes=536870912,null}var S=u.children;return u=u.fallback,f?(Al(),f=n.mode,S=gu({mode:"hidden",children:S},f),u=Wl(u,f,l,null),S.return=n,u.return=n,S.sibling=u,n.child=S,u=n.child,u.memoizedState=Vs(l),u.childLanes=Xs(e,v,l),n.memoizedState=Ys,Hr(null,u)):(Tl(n),Gs(n,S))}var D=e.memoizedState;if(D!==null&&(S=D.dehydrated,S!==null)){if(d)n.flags&256?(Tl(n),n.flags&=-257,n=Qs(e,n,l)):n.memoizedState!==null?(Al(),n.child=e.child,n.flags|=128,n=null):(Al(),S=u.fallback,f=n.mode,u=gu({mode:"visible",children:u.children},f),S=Wl(S,f,l,null),S.flags|=2,u.return=n,S.return=n,u.sibling=S,n.child=u,ai(n,e.child,null,l),u=n.child,u.memoizedState=Vs(l),u.childLanes=Xs(e,v,l),n.memoizedState=Ys,n=Hr(null,u));else if(Tl(n),Tc(S)){if(v=S.nextSibling&&S.nextSibling.dataset,v)var q=v.dgst;v=q,u=Error(a(419)),u.stack="",u.digest=v,kr({value:u,source:null,stack:null}),n=Qs(e,n,l)}else if(st||_i(e,n,l,!1),v=(l&e.childLanes)!==0,st||v){if(v=Xe,v!==null&&(u=fn(v,l),u!==0&&u!==D.retryLane))throw D.retryLane=u,Pl(e,u),Ft(v,e,u),Hs;Cc(S)||Tu(),n=Qs(e,n,l)}else Cc(S)?(n.flags|=192,n.child=e.child,n=null):(e=D.treeContext,Ze=Sn(S.nextSibling),Ct=n,ze=!0,bl=null,bn=!1,e!==null&&ih(n,e),n=Gs(n,u.children),n.flags|=4096);return n}return f?(Al(),S=u.fallback,f=n.mode,D=e.child,q=D.sibling,u=$n(D,{mode:"hidden",children:u.children}),u.subtreeFlags=D.subtreeFlags&65011712,q!==null?S=$n(q,S):(S=Wl(S,f,l,null),S.flags|=2),S.return=n,u.return=n,u.sibling=S,n.child=u,Hr(null,u),u=n.child,S=e.child.memoizedState,S===null?S=Vs(l):(f=S.cachePool,f!==null?(D=ut._currentValue,f=f.parent!==D?{parent:D,pool:D}:f):f=ch(),S={baseLanes:S.baseLanes|l,cachePool:f}),u.memoizedState=S,u.childLanes=Xs(e,v,l),n.memoizedState=Ys,Hr(e.child,u)):(Tl(n),l=e.child,e=l.sibling,l=$n(l,{mode:"visible",children:u.children}),l.return=n,l.sibling=null,e!==null&&(v=n.deletions,v===null?(n.deletions=[e],n.flags|=16):v.push(e)),n.child=l,n.memoizedState=null,l)}function Gs(e,n){return n=gu({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function gu(e,n){return e=en(22,e,null,n),e.lanes=0,e}function Qs(e,n,l){return ai(n,e.child,null,l),e=Gs(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function wm(e,n,l){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n),as(e.return,n,l)}function Fs(e,n,l,u,f,d){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:f,treeForkCount:d}:(v.isBackwards=n,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=l,v.tailMode=f,v.treeForkCount=d)}function Cm(e,n,l){var u=n.pendingProps,f=u.revealOrder,d=u.tail;u=u.children;var v=it.current,S=(v&2)!==0;if(S?(v=v&1|2,n.flags|=128):v&=1,E(it,v),At(e,n,u,l),u=ze?Ar:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wm(e,l,n);else if(e.tag===19)wm(e,l,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(l=n.child,f=null;l!==null;)e=l.alternate,e!==null&&iu(e)===null&&(f=l),l=l.sibling;l=f,l===null?(f=n.child,n.child=null):(f=l.sibling,l.sibling=null),Fs(n,!1,f,l,d,u);break;case"backwards":case"unstable_legacy-backwards":for(l=null,f=n.child,n.child=null;f!==null;){if(e=f.alternate,e!==null&&iu(e)===null){n.child=f;break}e=f.sibling,f.sibling=l,l=f,f=e}Fs(n,!0,l,null,d,u);break;case"together":Fs(n,!1,null,null,void 0,u);break;default:n.memoizedState=null}return n.child}function ll(e,n,l){if(e!==null&&(n.dependencies=e.dependencies),zl|=n.lanes,(l&n.childLanes)===0)if(e!==null){if(_i(e,n,l,!1),(l&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(a(153));if(n.child!==null){for(e=n.child,l=$n(e,e.pendingProps),n.child=l,l.return=n;e.sibling!==null;)e=e.sibling,l=l.sibling=$n(e,e.pendingProps),l.return=n;l.sibling=null}return n.child}function Zs(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Ia(e)))}function wb(e,n,l){switch(n.tag){case 3:Ve(n,n.stateNode.containerInfo),Sl(n,ut,e.memoizedState.cache),ei();break;case 27:case 5:Je(n);break;case 4:Ve(n,n.stateNode.containerInfo);break;case 10:Sl(n,n.type,n.memoizedProps.value);break;case 31:if(n.memoizedState!==null)return n.flags|=128,vs(n),null;break;case 13:var u=n.memoizedState;if(u!==null)return u.dehydrated!==null?(Tl(n),n.flags|=128,null):(l&n.child.childLanes)!==0?Em(e,n,l):(Tl(n),e=ll(e,n,l),e!==null?e.sibling:null);Tl(n);break;case 19:var f=(e.flags&128)!==0;if(u=(l&n.childLanes)!==0,u||(_i(e,n,l,!1),u=(l&n.childLanes)!==0),f){if(u)return Cm(e,n,l);n.flags|=128}if(f=n.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),E(it,it.current),u)break;return null;case 22:return n.lanes=0,gm(e,n,l,n.pendingProps);case 24:Sl(n,ut,e.memoizedState.cache)}return ll(e,n,l)}function Tm(e,n,l){if(e!==null)if(e.memoizedProps!==n.pendingProps)st=!0;else{if(!Zs(e,l)&&(n.flags&128)===0)return st=!1,wb(e,n,l);st=(e.flags&131072)!==0}else st=!1,ze&&(n.flags&1048576)!==0&&lh(n,Ar,n.index);switch(n.lanes=0,n.tag){case 16:e:{var u=n.pendingProps;if(e=ii(n.elementType),n.type=e,typeof e=="function")Po(e)?(u=oi(e,u),n.tag=1,n=xm(null,n,e,u,l)):(n.tag=0,n=qs(null,n,e,u,l));else{if(e!=null){var f=e.$$typeof;if(f===W){n.tag=11,n=hm(null,n,e,u,l);break e}else if(f===Z){n.tag=14,n=mm(null,n,e,u,l);break e}}throw n=ie(e)||e,Error(a(306,n,""))}}return n;case 0:return qs(e,n,n.type,n.pendingProps,l);case 1:return u=n.type,f=oi(u,n.pendingProps),xm(e,n,u,f,l);case 3:e:{if(Ve(n,n.stateNode.containerInfo),e===null)throw Error(a(387));u=n.pendingProps;var d=n.memoizedState;f=d.element,hs(e,n),_r(n,u,null,l);var v=n.memoizedState;if(u=v.cache,Sl(n,ut,u),u!==d.cache&&us(n,[ut],l,!0),Nr(),u=v.element,d.isDehydrated)if(d={element:u,isDehydrated:!1,cache:v.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=Sm(e,n,u,l);break e}else if(u!==f){f=gn(Error(a(424)),n),kr(f),n=Sm(e,n,u,l);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ze=Sn(e.firstChild),Ct=n,ze=!0,bl=null,bn=!0,l=gh(n,null,u,l),n.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(ei(),u===f){n=ll(e,n,l);break e}At(e,n,u,l)}n=n.child}return n;case 26:return pu(e,n),e===null?(l=jp(n.type,null,n.pendingProps,null))?n.memoizedState=l:ze||(l=n.type,e=n.pendingProps,u=Mu(ue.current).createElement(l),u[wt]=n,u[qt]=e,kt(u,l,e),vt(u),n.stateNode=u):n.memoizedState=jp(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Je(n),e===null&&ze&&(u=n.stateNode=Np(n.type,n.pendingProps,ue.current),Ct=n,bn=!0,f=Ze,_l(n.type)?(Ac=f,Ze=Sn(u.firstChild)):Ze=f),At(e,n,n.pendingProps.children,l),pu(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&ze&&((f=u=Ze)&&(u=Wb(u,n.type,n.pendingProps,bn),u!==null?(n.stateNode=u,Ct=n,Ze=Sn(u.firstChild),bn=!1,f=!0):f=!1),f||xl(n)),Je(n),f=n.type,d=n.pendingProps,v=e!==null?e.memoizedProps:null,u=d.children,Sc(f,d)?u=null:v!==null&&Sc(f,v)&&(n.flags|=32),n.memoizedState!==null&&(f=xs(e,n,mb,null,null,l),ea._currentValue=f),pu(e,n),At(e,n,u,l),n.child;case 6:return e===null&&ze&&((e=l=Ze)&&(l=e1(l,n.pendingProps,bn),l!==null?(n.stateNode=l,Ct=n,Ze=null,e=!0):e=!1),e||xl(n)),null;case 13:return Em(e,n,l);case 4:return Ve(n,n.stateNode.containerInfo),u=n.pendingProps,e===null?n.child=ai(n,null,u,l):At(e,n,u,l),n.child;case 11:return hm(e,n,n.type,n.pendingProps,l);case 7:return At(e,n,n.pendingProps,l),n.child;case 8:return At(e,n,n.pendingProps.children,l),n.child;case 12:return At(e,n,n.pendingProps.children,l),n.child;case 10:return u=n.pendingProps,Sl(n,n.type,u.value),At(e,n,u.children,l),n.child;case 9:return f=n.type._context,u=n.pendingProps.children,ni(n),f=Tt(f),u=u(f),n.flags|=1,At(e,n,u,l),n.child;case 14:return mm(e,n,n.type,n.pendingProps,l);case 15:return pm(e,n,n.type,n.pendingProps,l);case 19:return Cm(e,n,l);case 31:return Eb(e,n,l);case 22:return gm(e,n,l,n.pendingProps);case 24:return ni(n),u=Tt(ut),e===null?(f=cs(),f===null&&(f=Xe,d=os(),f.pooledCache=d,d.refCount++,d!==null&&(f.pooledCacheLanes|=l),f=d),n.memoizedState={parent:u,cache:f},ds(n),Sl(n,ut,f)):((e.lanes&l)!==0&&(hs(e,n),_r(n,null,null,l),Nr()),f=e.memoizedState,d=n.memoizedState,f.parent!==u?(f={parent:u,cache:u},n.memoizedState=f,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=f),Sl(n,ut,u)):(u=d.cache,Sl(n,ut,u),u!==f.cache&&us(n,[ut],l,!0))),At(e,n,n.pendingProps.children,l),n.child;case 29:throw n.pendingProps}throw Error(a(156,n.tag))}function il(e){e.flags|=4}function Ks(e,n,l,u,f){if((n=(e.mode&32)!==0)&&(n=!1),n){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(Pm())e.flags|=8192;else throw ri=eu,fs}else e.flags&=-16777217}function Am(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Yp(n))if(Pm())e.flags|=8192;else throw ri=eu,fs}function yu(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Dt():536870912,e.lanes|=n,Fi|=n)}function qr(e,n){if(!ze)switch(e.tailMode){case"hidden":n=e.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ke(e){var n=e.alternate!==null&&e.alternate.child===e.child,l=0,u=0;if(n)for(var f=e.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags&65011712,u|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=u,e.childLanes=l,n}function Cb(e,n,l){var u=n.pendingProps;switch(ns(n),n.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(n),null;case 1:return Ke(n),null;case 3:return l=n.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),el(ut),_e(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ni(n)?il(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,is())),Ke(n),null;case 26:var f=n.type,d=n.memoizedState;return e===null?(il(n),d!==null?(Ke(n),Am(n,d)):(Ke(n),Ks(n,f,null,u,l))):d?d!==e.memoizedState?(il(n),Ke(n),Am(n,d)):(Ke(n),n.flags&=-16777217):(e=e.memoizedProps,e!==u&&il(n),Ke(n),Ks(n,f,e,u,l)),null;case 27:if(Jt(n),l=ue.current,f=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==u&&il(n);else{if(!u){if(n.stateNode===null)throw Error(a(166));return Ke(n),null}e=re.current,Ni(n)?rh(n):(e=Np(f,u,l),n.stateNode=e,il(n))}return Ke(n),null;case 5:if(Jt(n),f=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==u&&il(n);else{if(!u){if(n.stateNode===null)throw Error(a(166));return Ke(n),null}if(d=re.current,Ni(n))rh(n);else{var v=Mu(ue.current);switch(d){case 1:d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":d=v.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":d=v.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":d=v.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof u.is=="string"?v.createElement("select",{is:u.is}):v.createElement("select"),u.multiple?d.multiple=!0:u.size&&(d.size=u.size);break;default:d=typeof u.is=="string"?v.createElement(f,{is:u.is}):v.createElement(f)}}d[wt]=n,d[qt]=u;e:for(v=n.child;v!==null;){if(v.tag===5||v.tag===6)d.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===n)break e;for(;v.sibling===null;){if(v.return===null||v.return===n)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}n.stateNode=d;e:switch(kt(d,f,u),f){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&il(n)}}return Ke(n),Ks(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,l),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==u&&il(n);else{if(typeof u!="string"&&n.stateNode===null)throw Error(a(166));if(e=ue.current,Ni(n)){if(e=n.stateNode,l=n.memoizedProps,u=null,f=Ct,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[wt]=n,e=!!(e.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||Ep(e.nodeValue,l)),e||xl(n,!0)}else e=Mu(e).createTextNode(u),e[wt]=n,n.stateNode=e}return Ke(n),null;case 31:if(l=n.memoizedState,e===null||e.memoizedState!==null){if(u=Ni(n),l!==null){if(e===null){if(!u)throw Error(a(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(a(557));e[wt]=n}else ei(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ke(n),e=!1}else l=is(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return n.flags&256?(nn(n),n):(nn(n),null);if((n.flags&128)!==0)throw Error(a(558))}return Ke(n),null;case 13:if(u=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Ni(n),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(a(318));if(f=n.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[wt]=n}else ei(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ke(n),f=!1}else f=is(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return n.flags&256?(nn(n),n):(nn(n),null)}return nn(n),(n.flags&128)!==0?(n.lanes=l,n):(l=u!==null,e=e!==null&&e.memoizedState!==null,l&&(u=n.child,f=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(f=u.alternate.memoizedState.cachePool.pool),d=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(d=u.memoizedState.cachePool.pool),d!==f&&(u.flags|=2048)),l!==e&&l&&(n.child.flags|=8192),yu(n,n.updateQueue),Ke(n),null);case 4:return _e(),e===null&&gc(n.stateNode.containerInfo),Ke(n),null;case 10:return el(n.type),Ke(n),null;case 19:if(X(it),u=n.memoizedState,u===null)return Ke(n),null;if(f=(n.flags&128)!==0,d=u.rendering,d===null)if(f)qr(u,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=iu(e),d!==null){for(n.flags|=128,qr(u,!1),e=d.updateQueue,n.updateQueue=e,yu(n,e),n.subtreeFlags=0,e=l,l=n.child;l!==null;)eh(l,e),l=l.sibling;return E(it,it.current&1|2),ze&&Pn(n,u.treeForkCount),n.child}e=e.sibling}u.tail!==null&&pt()>Eu&&(n.flags|=128,f=!0,qr(u,!1),n.lanes=4194304)}else{if(!f)if(e=iu(d),e!==null){if(n.flags|=128,f=!0,e=e.updateQueue,n.updateQueue=e,yu(n,e),qr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!d.alternate&&!ze)return Ke(n),null}else 2*pt()-u.renderingStartTime>Eu&&l!==536870912&&(n.flags|=128,f=!0,qr(u,!1),n.lanes=4194304);u.isBackwards?(d.sibling=n.child,n.child=d):(e=u.last,e!==null?e.sibling=d:n.child=d,u.last=d)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=pt(),e.sibling=null,l=it.current,E(it,f?l&1|2:l&1),ze&&Pn(n,u.treeForkCount),e):(Ke(n),null);case 22:case 23:return nn(n),ys(),u=n.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(n.flags|=8192):u&&(n.flags|=8192),u?(l&536870912)!==0&&(n.flags&128)===0&&(Ke(n),n.subtreeFlags&6&&(n.flags|=8192)):Ke(n),l=n.updateQueue,l!==null&&yu(n,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==l&&(n.flags|=2048),e!==null&&X(li),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),el(ut),Ke(n),null;case 25:return null;case 30:return null}throw Error(a(156,n.tag))}function Tb(e,n){switch(ns(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return el(ut),_e(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Jt(n),null;case 31:if(n.memoizedState!==null){if(nn(n),n.alternate===null)throw Error(a(340));ei()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(nn(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(a(340));ei()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return X(it),null;case 4:return _e(),null;case 10:return el(n.type),null;case 22:case 23:return nn(n),ys(),e!==null&&X(li),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return el(ut),null;case 25:return null;default:return null}}function km(e,n){switch(ns(n),n.tag){case 3:el(ut),_e();break;case 26:case 27:case 5:Jt(n);break;case 4:_e();break;case 31:n.memoizedState!==null&&nn(n);break;case 13:nn(n);break;case 19:X(it);break;case 10:el(n.type);break;case 22:case 23:nn(n),ys(),e!==null&&X(li);break;case 24:el(ut)}}function Yr(e,n){try{var l=n.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var f=u.next;l=f;do{if((l.tag&e)===e){u=void 0;var d=l.create,v=l.inst;u=d(),v.destroy=u}l=l.next}while(l!==f)}}catch(S){Ue(n,n.return,S)}}function kl(e,n,l){try{var u=n.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var d=f.next;u=d;do{if((u.tag&e)===e){var v=u.inst,S=v.destroy;if(S!==void 0){v.destroy=void 0,f=n;var D=l,q=S;try{q()}catch(G){Ue(f,D,G)}}}u=u.next}while(u!==d)}}catch(G){Ue(n,n.return,G)}}function Dm(e){var n=e.updateQueue;if(n!==null){var l=e.stateNode;try{vh(n,l)}catch(u){Ue(e,e.return,u)}}}function zm(e,n,l){l.props=oi(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(u){Ue(e,n,u)}}function Vr(e,n){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof l=="function"?e.refCleanup=l(u):l.current=u}}catch(f){Ue(e,n,f)}}function qn(e,n){var l=e.ref,u=e.refCleanup;if(l!==null)if(typeof u=="function")try{u()}catch(f){Ue(e,n,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(f){Ue(e,n,f)}else l.current=null}function Rm(e){var n=e.type,l=e.memoizedProps,u=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&u.focus();break e;case"img":l.src?u.src=l.src:l.srcSet&&(u.srcset=l.srcSet)}}catch(f){Ue(e,e.return,f)}}function Js(e,n,l){try{var u=e.stateNode;Zb(u,e.type,l,n),u[qt]=n}catch(f){Ue(e,e.return,f)}}function Om(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_l(e.type)||e.tag===4}function Is(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Om(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_l(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $s(e,n,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(e),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Jn));else if(u!==4&&(u===27&&_l(e.type)&&(l=e.stateNode,n=null),e=e.child,e!==null))for($s(e,n,l),e=e.sibling;e!==null;)$s(e,n,l),e=e.sibling}function vu(e,n,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,n?l.insertBefore(e,n):l.appendChild(e);else if(u!==4&&(u===27&&_l(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(vu(e,n,l),e=e.sibling;e!==null;)vu(e,n,l),e=e.sibling}function Mm(e){var n=e.stateNode,l=e.memoizedProps;try{for(var u=e.type,f=n.attributes;f.length;)n.removeAttributeNode(f[0]);kt(n,u,l),n[wt]=e,n[qt]=l}catch(d){Ue(e,e.return,d)}}var rl=!1,ct=!1,Ps=!1,Nm=typeof WeakSet=="function"?WeakSet:Set,bt=null;function Ab(e,n){if(e=e.containerInfo,bc=Hu,e=Qd(e),Qo(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var f=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var v=0,S=-1,D=-1,q=0,G=0,K=e,Y=null;t:for(;;){for(var V;K!==l||f!==0&&K.nodeType!==3||(S=v+f),K!==d||u!==0&&K.nodeType!==3||(D=v+u),K.nodeType===3&&(v+=K.nodeValue.length),(V=K.firstChild)!==null;)Y=K,K=V;for(;;){if(K===e)break t;if(Y===l&&++q===f&&(S=v),Y===d&&++G===u&&(D=v),(V=K.nextSibling)!==null)break;K=Y,Y=K.parentNode}K=V}l=S===-1||D===-1?null:{start:S,end:D}}else l=null}l=l||{start:0,end:0}}else l=null;for(xc={focusedElem:e,selectionRange:l},Hu=!1,bt=n;bt!==null;)if(n=bt,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,bt=e;else for(;bt!==null;){switch(n=bt,d=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)f=e[l],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,l=n,f=d.memoizedProps,d=d.memoizedState,u=l.stateNode;try{var oe=oi(l.type,f);e=u.getSnapshotBeforeUpdate(oe,d),u.__reactInternalSnapshotBeforeUpdate=e}catch(ge){Ue(l,l.return,ge)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,l=e.nodeType,l===9)wc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":wc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(a(163))}if(e=n.sibling,e!==null){e.return=n.return,bt=e;break}bt=n.return}}function _m(e,n,l){var u=l.flags;switch(l.tag){case 0:case 11:case 15:ul(e,l),u&4&&Yr(5,l);break;case 1:if(ul(e,l),u&4)if(e=l.stateNode,n===null)try{e.componentDidMount()}catch(v){Ue(l,l.return,v)}else{var f=oi(l.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(f,n,e.__reactInternalSnapshotBeforeUpdate)}catch(v){Ue(l,l.return,v)}}u&64&&Dm(l),u&512&&Vr(l,l.return);break;case 3:if(ul(e,l),u&64&&(e=l.updateQueue,e!==null)){if(n=null,l.child!==null)switch(l.child.tag){case 27:case 5:n=l.child.stateNode;break;case 1:n=l.child.stateNode}try{vh(e,n)}catch(v){Ue(l,l.return,v)}}break;case 27:n===null&&u&4&&Mm(l);case 26:case 5:ul(e,l),n===null&&u&4&&Rm(l),u&512&&Vr(l,l.return);break;case 12:ul(e,l);break;case 31:ul(e,l),u&4&&Bm(e,l);break;case 13:ul(e,l),u&4&&Um(e,l),u&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Lb.bind(null,l),t1(e,l))));break;case 22:if(u=l.memoizedState!==null||rl,!u){n=n!==null&&n.memoizedState!==null||ct,f=rl;var d=ct;rl=u,(ct=n)&&!d?ol(e,l,(l.subtreeFlags&8772)!==0):ul(e,l),rl=f,ct=d}break;case 30:break;default:ul(e,l)}}function Lm(e){var n=e.alternate;n!==null&&(e.alternate=null,Lm(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&Do(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ie=null,Vt=!1;function al(e,n,l){for(l=l.child;l!==null;)jm(e,n,l),l=l.sibling}function jm(e,n,l){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount(Et,l)}catch{}switch(l.tag){case 26:ct||qn(l,n),al(e,n,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ct||qn(l,n);var u=Ie,f=Vt;_l(l.type)&&(Ie=l.stateNode,Vt=!1),al(e,n,l),$r(l.stateNode),Ie=u,Vt=f;break;case 5:ct||qn(l,n);case 6:if(u=Ie,f=Vt,Ie=null,al(e,n,l),Ie=u,Vt=f,Ie!==null)if(Vt)try{(Ie.nodeType===9?Ie.body:Ie.nodeName==="HTML"?Ie.ownerDocument.body:Ie).removeChild(l.stateNode)}catch(d){Ue(l,n,d)}else try{Ie.removeChild(l.stateNode)}catch(d){Ue(l,n,d)}break;case 18:Ie!==null&&(Vt?(e=Ie,Dp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),er(e)):Dp(Ie,l.stateNode));break;case 4:u=Ie,f=Vt,Ie=l.stateNode.containerInfo,Vt=!0,al(e,n,l),Ie=u,Vt=f;break;case 0:case 11:case 14:case 15:kl(2,l,n),ct||kl(4,l,n),al(e,n,l);break;case 1:ct||(qn(l,n),u=l.stateNode,typeof u.componentWillUnmount=="function"&&zm(l,n,u)),al(e,n,l);break;case 21:al(e,n,l);break;case 22:ct=(u=ct)||l.memoizedState!==null,al(e,n,l),ct=u;break;default:al(e,n,l)}}function Bm(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{er(e)}catch(l){Ue(n,n.return,l)}}}function Um(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{er(e)}catch(l){Ue(n,n.return,l)}}function kb(e){switch(e.tag){case 31:case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new Nm),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new Nm),n;default:throw Error(a(435,e.tag))}}function bu(e,n){var l=kb(e);n.forEach(function(u){if(!l.has(u)){l.add(u);var f=jb.bind(null,e,u);u.then(f,f)}})}function Xt(e,n){var l=n.deletions;if(l!==null)for(var u=0;u<l.length;u++){var f=l[u],d=e,v=n,S=v;e:for(;S!==null;){switch(S.tag){case 27:if(_l(S.type)){Ie=S.stateNode,Vt=!1;break e}break;case 5:Ie=S.stateNode,Vt=!1;break e;case 3:case 4:Ie=S.stateNode.containerInfo,Vt=!0;break e}S=S.return}if(Ie===null)throw Error(a(160));jm(d,v,f),Ie=null,Vt=!1,d=f.alternate,d!==null&&(d.return=null),f.return=null}if(n.subtreeFlags&13886)for(n=n.child;n!==null;)Hm(n,e),n=n.sibling}var Rn=null;function Hm(e,n){var l=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Xt(n,e),Gt(e),u&4&&(kl(3,e,e.return),Yr(3,e),kl(5,e,e.return));break;case 1:Xt(n,e),Gt(e),u&512&&(ct||l===null||qn(l,l.return)),u&64&&rl&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?u:l.concat(u))));break;case 26:var f=Rn;if(Xt(n,e),Gt(e),u&512&&(ct||l===null||qn(l,l.return)),u&4){var d=l!==null?l.memoizedState:null;if(u=e.memoizedState,l===null)if(u===null)if(e.stateNode===null){e:{u=e.type,l=e.memoizedProps,f=f.ownerDocument||f;t:switch(u){case"title":d=f.getElementsByTagName("title")[0],(!d||d[pr]||d[wt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=f.createElement(u),f.head.insertBefore(d,f.querySelector("head > title"))),kt(d,u,l),d[wt]=e,vt(d),u=d;break e;case"link":var v=Hp("link","href",f).get(u+(l.href||""));if(v){for(var S=0;S<v.length;S++)if(d=v[S],d.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&d.getAttribute("rel")===(l.rel==null?null:l.rel)&&d.getAttribute("title")===(l.title==null?null:l.title)&&d.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){v.splice(S,1);break t}}d=f.createElement(u),kt(d,u,l),f.head.appendChild(d);break;case"meta":if(v=Hp("meta","content",f).get(u+(l.content||""))){for(S=0;S<v.length;S++)if(d=v[S],d.getAttribute("content")===(l.content==null?null:""+l.content)&&d.getAttribute("name")===(l.name==null?null:l.name)&&d.getAttribute("property")===(l.property==null?null:l.property)&&d.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&d.getAttribute("charset")===(l.charSet==null?null:l.charSet)){v.splice(S,1);break t}}d=f.createElement(u),kt(d,u,l),f.head.appendChild(d);break;default:throw Error(a(468,u))}d[wt]=e,vt(d),u=d}e.stateNode=u}else qp(f,e.type,e.stateNode);else e.stateNode=Up(f,u,e.memoizedProps);else d!==u?(d===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):d.count--,u===null?qp(f,e.type,e.stateNode):Up(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Js(e,e.memoizedProps,l.memoizedProps)}break;case 27:Xt(n,e),Gt(e),u&512&&(ct||l===null||qn(l,l.return)),l!==null&&u&4&&Js(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Xt(n,e),Gt(e),u&512&&(ct||l===null||qn(l,l.return)),e.flags&32){f=e.stateNode;try{wi(f,"")}catch(oe){Ue(e,e.return,oe)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,Js(e,f,l!==null?l.memoizedProps:f)),u&1024&&(Ps=!0);break;case 6:if(Xt(n,e),Gt(e),u&4){if(e.stateNode===null)throw Error(a(162));u=e.memoizedProps,l=e.stateNode;try{l.nodeValue=u}catch(oe){Ue(e,e.return,oe)}}break;case 3:if(Lu=null,f=Rn,Rn=Nu(n.containerInfo),Xt(n,e),Rn=f,Gt(e),u&4&&l!==null&&l.memoizedState.isDehydrated)try{er(n.containerInfo)}catch(oe){Ue(e,e.return,oe)}Ps&&(Ps=!1,qm(e));break;case 4:u=Rn,Rn=Nu(e.stateNode.containerInfo),Xt(n,e),Gt(e),Rn=u;break;case 12:Xt(n,e),Gt(e);break;case 31:Xt(n,e),Gt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bu(e,u)));break;case 13:Xt(n,e),Gt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Su=pt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bu(e,u)));break;case 22:f=e.memoizedState!==null;var D=l!==null&&l.memoizedState!==null,q=rl,G=ct;if(rl=q||f,ct=G||D,Xt(n,e),ct=G,rl=q,Gt(e),u&8192)e:for(n=e.stateNode,n._visibility=f?n._visibility&-2:n._visibility|1,f&&(l===null||D||rl||ct||si(e)),l=null,n=e;;){if(n.tag===5||n.tag===26){if(l===null){D=l=n;try{if(d=D.stateNode,f)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{S=D.stateNode;var K=D.memoizedProps.style,Y=K!=null&&K.hasOwnProperty("display")?K.display:null;S.style.display=Y==null||typeof Y=="boolean"?"":(""+Y).trim()}}catch(oe){Ue(D,D.return,oe)}}}else if(n.tag===6){if(l===null){D=n;try{D.stateNode.nodeValue=f?"":D.memoizedProps}catch(oe){Ue(D,D.return,oe)}}}else if(n.tag===18){if(l===null){D=n;try{var V=D.stateNode;f?zp(V,!0):zp(D.stateNode,!1)}catch(oe){Ue(D,D.return,oe)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;l===n&&(l=null),n=n.return}l===n&&(l=null),n.sibling.return=n.return,n=n.sibling}u&4&&(u=e.updateQueue,u!==null&&(l=u.retryQueue,l!==null&&(u.retryQueue=null,bu(e,l))));break;case 19:Xt(n,e),Gt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bu(e,u)));break;case 30:break;case 21:break;default:Xt(n,e),Gt(e)}}function Gt(e){var n=e.flags;if(n&2){try{for(var l,u=e.return;u!==null;){if(Om(u)){l=u;break}u=u.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var f=l.stateNode,d=Is(e);vu(e,d,f);break;case 5:var v=l.stateNode;l.flags&32&&(wi(v,""),l.flags&=-33);var S=Is(e);vu(e,S,v);break;case 3:case 4:var D=l.stateNode.containerInfo,q=Is(e);$s(e,q,D);break;default:throw Error(a(161))}}catch(G){Ue(e,e.return,G)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function qm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;qm(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function ul(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)_m(e,n.alternate,n),n=n.sibling}function si(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:kl(4,n,n.return),si(n);break;case 1:qn(n,n.return);var l=n.stateNode;typeof l.componentWillUnmount=="function"&&zm(n,n.return,l),si(n);break;case 27:$r(n.stateNode);case 26:case 5:qn(n,n.return),si(n);break;case 22:n.memoizedState===null&&si(n);break;case 30:si(n);break;default:si(n)}e=e.sibling}}function ol(e,n,l){for(l=l&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var u=n.alternate,f=e,d=n,v=d.flags;switch(d.tag){case 0:case 11:case 15:ol(f,d,l),Yr(4,d);break;case 1:if(ol(f,d,l),u=d,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(q){Ue(u,u.return,q)}if(u=d,f=u.updateQueue,f!==null){var S=u.stateNode;try{var D=f.shared.hiddenCallbacks;if(D!==null)for(f.shared.hiddenCallbacks=null,f=0;f<D.length;f++)yh(D[f],S)}catch(q){Ue(u,u.return,q)}}l&&v&64&&Dm(d),Vr(d,d.return);break;case 27:Mm(d);case 26:case 5:ol(f,d,l),l&&u===null&&v&4&&Rm(d),Vr(d,d.return);break;case 12:ol(f,d,l);break;case 31:ol(f,d,l),l&&v&4&&Bm(f,d);break;case 13:ol(f,d,l),l&&v&4&&Um(f,d);break;case 22:d.memoizedState===null&&ol(f,d,l),Vr(d,d.return);break;case 30:break;default:ol(f,d,l)}n=n.sibling}}function Ws(e,n){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Dr(l))}function ec(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Dr(e))}function On(e,n,l,u){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Ym(e,n,l,u),n=n.sibling}function Ym(e,n,l,u){var f=n.flags;switch(n.tag){case 0:case 11:case 15:On(e,n,l,u),f&2048&&Yr(9,n);break;case 1:On(e,n,l,u);break;case 3:On(e,n,l,u),f&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&Dr(e)));break;case 12:if(f&2048){On(e,n,l,u),e=n.stateNode;try{var d=n.memoizedProps,v=d.id,S=d.onPostCommit;typeof S=="function"&&S(v,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(D){Ue(n,n.return,D)}}else On(e,n,l,u);break;case 31:On(e,n,l,u);break;case 13:On(e,n,l,u);break;case 23:break;case 22:d=n.stateNode,v=n.alternate,n.memoizedState!==null?d._visibility&2?On(e,n,l,u):Xr(e,n):d._visibility&2?On(e,n,l,u):(d._visibility|=2,Xi(e,n,l,u,(n.subtreeFlags&10256)!==0||!1)),f&2048&&Ws(v,n);break;case 24:On(e,n,l,u),f&2048&&ec(n.alternate,n);break;default:On(e,n,l,u)}}function Xi(e,n,l,u,f){for(f=f&&((n.subtreeFlags&10256)!==0||!1),n=n.child;n!==null;){var d=e,v=n,S=l,D=u,q=v.flags;switch(v.tag){case 0:case 11:case 15:Xi(d,v,S,D,f),Yr(8,v);break;case 23:break;case 22:var G=v.stateNode;v.memoizedState!==null?G._visibility&2?Xi(d,v,S,D,f):Xr(d,v):(G._visibility|=2,Xi(d,v,S,D,f)),f&&q&2048&&Ws(v.alternate,v);break;case 24:Xi(d,v,S,D,f),f&&q&2048&&ec(v.alternate,v);break;default:Xi(d,v,S,D,f)}n=n.sibling}}function Xr(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var l=e,u=n,f=u.flags;switch(u.tag){case 22:Xr(l,u),f&2048&&Ws(u.alternate,u);break;case 24:Xr(l,u),f&2048&&ec(u.alternate,u);break;default:Xr(l,u)}n=n.sibling}}var Gr=8192;function Gi(e,n,l){if(e.subtreeFlags&Gr)for(e=e.child;e!==null;)Vm(e,n,l),e=e.sibling}function Vm(e,n,l){switch(e.tag){case 26:Gi(e,n,l),e.flags&Gr&&e.memoizedState!==null&&h1(l,Rn,e.memoizedState,e.memoizedProps);break;case 5:Gi(e,n,l);break;case 3:case 4:var u=Rn;Rn=Nu(e.stateNode.containerInfo),Gi(e,n,l),Rn=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=Gr,Gr=16777216,Gi(e,n,l),Gr=u):Gi(e,n,l));break;default:Gi(e,n,l)}}function Xm(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function Qr(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var u=n[l];bt=u,Qm(u,e)}Xm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Gm(e),e=e.sibling}function Gm(e){switch(e.tag){case 0:case 11:case 15:Qr(e),e.flags&2048&&kl(9,e,e.return);break;case 3:Qr(e);break;case 12:Qr(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,xu(e)):Qr(e);break;default:Qr(e)}}function xu(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var l=0;l<n.length;l++){var u=n[l];bt=u,Qm(u,e)}Xm(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:kl(8,n,n.return),xu(n);break;case 22:l=n.stateNode,l._visibility&2&&(l._visibility&=-3,xu(n));break;default:xu(n)}e=e.sibling}}function Qm(e,n){for(;bt!==null;){var l=bt;switch(l.tag){case 0:case 11:case 15:kl(8,l,n);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var u=l.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Dr(l.memoizedState.cache)}if(u=l.child,u!==null)u.return=l,bt=u;else e:for(l=e;bt!==null;){u=bt;var f=u.sibling,d=u.return;if(Lm(u),u===l){bt=null;break e}if(f!==null){f.return=d,bt=f;break e}bt=d}}}var Db={getCacheForType:function(e){var n=Tt(ut),l=n.data.get(e);return l===void 0&&(l=e(),n.data.set(e,l)),l},cacheSignal:function(){return Tt(ut).controller.signal}},zb=typeof WeakMap=="function"?WeakMap:Map,Le=0,Xe=null,Ce=null,ke=0,Be=0,ln=null,Dl=!1,Qi=!1,tc=!1,sl=0,et=0,zl=0,ci=0,nc=0,rn=0,Fi=0,Fr=null,Qt=null,lc=!1,Su=0,Fm=0,Eu=1/0,wu=null,Rl=null,ht=0,Ol=null,Zi=null,cl=0,ic=0,rc=null,Zm=null,Zr=0,ac=null;function an(){return(Le&2)!==0&&ke!==0?ke&-ke:U.T!==null?dc():Dn()}function Km(){if(rn===0)if((ke&536870912)===0||ze){var e=gi;gi<<=1,(gi&3932160)===0&&(gi=262144),rn=e}else rn=536870912;return e=tn.current,e!==null&&(e.flags|=32),rn}function Ft(e,n,l){(e===Xe&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(Ki(e,0),Ml(e,ke,rn,!1)),cn(e,l),((Le&2)===0||e!==Xe)&&(e===Xe&&((Le&2)===0&&(ci|=l),et===4&&Ml(e,ke,rn,!1)),Yn(e))}function Jm(e,n,l){if((Le&6)!==0)throw Error(a(327));var u=!l&&(n&127)===0&&(n&e.expiredLanes)===0||Bt(e,n),f=u?Mb(e,n):oc(e,n,!0),d=u;do{if(f===0){Qi&&!u&&Ml(e,n,0,!1);break}else{if(l=e.current.alternate,d&&!Rb(l)){f=oc(e,n,!1),d=!1;continue}if(f===2){if(d=n,e.errorRecoveryDisabledLanes&d)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){n=v;e:{var S=e;f=Fr;var D=S.current.memoizedState.isDehydrated;if(D&&(Ki(S,v).flags|=256),v=oc(S,v,!1),v!==2){if(tc&&!D){S.errorRecoveryDisabledLanes|=d,ci|=d,f=4;break e}d=Qt,Qt=f,d!==null&&(Qt===null?Qt=d:Qt.push.apply(Qt,d))}f=v}if(d=!1,f!==2)continue}}if(f===1){Ki(e,0),Ml(e,n,0,!0);break}e:{switch(u=e,d=f,d){case 0:case 1:throw Error(a(345));case 4:if((n&4194048)!==n)break;case 6:Ml(u,n,rn,!Dl);break e;case 2:Qt=null;break;case 3:case 5:break;default:throw Error(a(329))}if((n&62914560)===n&&(f=Su+300-pt(),10<f)){if(Ml(u,n,rn,!Dl),yt(u,0,!0)!==0)break e;cl=n,u.timeoutHandle=Ap(Im.bind(null,u,l,Qt,wu,lc,n,rn,ci,Fi,Dl,d,"Throttled",-0,0),f);break e}Im(u,l,Qt,wu,lc,n,rn,ci,Fi,Dl,d,null,-0,0)}}break}while(!0);Yn(e)}function Im(e,n,l,u,f,d,v,S,D,q,G,K,Y,V){if(e.timeoutHandle=-1,K=n.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jn},Vm(n,d,K);var oe=(d&62914560)===d?Su-pt():(d&4194048)===d?Fm-pt():0;if(oe=m1(K,oe),oe!==null){cl=d,e.cancelPendingCommit=oe(ip.bind(null,e,n,d,l,u,f,v,S,D,G,K,null,Y,V)),Ml(e,d,v,!q);return}}ip(e,n,d,l,u,f,v,S,D)}function Rb(e){for(var n=e;;){var l=n.tag;if((l===0||l===11||l===15)&&n.flags&16384&&(l=n.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var u=0;u<l.length;u++){var f=l[u],d=f.getSnapshot;f=f.value;try{if(!Wt(d(),f))return!1}catch{return!1}}if(l=n.child,n.subtreeFlags&16384&&l!==null)l.return=n,n=l;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Ml(e,n,l,u){n&=~nc,n&=~ci,e.suspendedLanes|=n,e.pingedLanes&=~n,u&&(e.warmLanes|=n),u=e.expirationTimes;for(var f=n;0<f;){var d=31-je(f),v=1<<d;u[d]=-1,f&=~v}l!==0&&kn(e,l,n)}function Cu(){return(Le&6)===0?(Kr(0),!1):!0}function uc(){if(Ce!==null){if(Be===0)var e=Ce.return;else e=Ce,Wn=ti=null,ws(e),Ui=null,Rr=0,e=Ce;for(;e!==null;)km(e.alternate,e),e=e.return;Ce=null}}function Ki(e,n){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Ib(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),cl=0,uc(),Xe=e,Ce=l=$n(e.current,null),ke=n,Be=0,ln=null,Dl=!1,Qi=Bt(e,n),tc=!1,Fi=rn=nc=ci=zl=et=0,Qt=Fr=null,lc=!1,(n&8)!==0&&(n|=n&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=n;0<u;){var f=31-je(u),d=1<<f;n|=e[f],u&=~d}return sl=n,Qa(),l}function $m(e,n){xe=null,U.H=Ur,n===Bi||n===Wa?(n=hh(),Be=3):n===fs?(n=hh(),Be=4):Be=n===Hs?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,ln=n,Ce===null&&(et=1,hu(e,gn(n,e.current)))}function Pm(){var e=tn.current;return e===null?!0:(ke&4194048)===ke?xn===null:(ke&62914560)===ke||(ke&536870912)!==0?e===xn:!1}function Wm(){var e=U.H;return U.H=Ur,e===null?Ur:e}function ep(){var e=U.A;return U.A=Db,e}function Tu(){et=4,Dl||(ke&4194048)!==ke&&tn.current!==null||(Qi=!0),(zl&134217727)===0&&(ci&134217727)===0||Xe===null||Ml(Xe,ke,rn,!1)}function oc(e,n,l){var u=Le;Le|=2;var f=Wm(),d=ep();(Xe!==e||ke!==n)&&(wu=null,Ki(e,n)),n=!1;var v=et;e:do try{if(Be!==0&&Ce!==null){var S=Ce,D=ln;switch(Be){case 8:uc(),v=6;break e;case 3:case 2:case 9:case 6:tn.current===null&&(n=!0);var q=Be;if(Be=0,ln=null,Ji(e,S,D,q),l&&Qi){v=0;break e}break;default:q=Be,Be=0,ln=null,Ji(e,S,D,q)}}Ob(),v=et;break}catch(G){$m(e,G)}while(!0);return n&&e.shellSuspendCounter++,Wn=ti=null,Le=u,U.H=f,U.A=d,Ce===null&&(Xe=null,ke=0,Qa()),v}function Ob(){for(;Ce!==null;)tp(Ce)}function Mb(e,n){var l=Le;Le|=2;var u=Wm(),f=ep();Xe!==e||ke!==n?(wu=null,Eu=pt()+500,Ki(e,n)):Qi=Bt(e,n);e:do try{if(Be!==0&&Ce!==null){n=Ce;var d=ln;t:switch(Be){case 1:Be=0,ln=null,Ji(e,n,d,1);break;case 2:case 9:if(fh(d)){Be=0,ln=null,np(n);break}n=function(){Be!==2&&Be!==9||Xe!==e||(Be=7),Yn(e)},d.then(n,n);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:fh(d)?(Be=0,ln=null,np(n)):(Be=0,ln=null,Ji(e,n,d,7));break;case 5:var v=null;switch(Ce.tag){case 26:v=Ce.memoizedState;case 5:case 27:var S=Ce;if(v?Yp(v):S.stateNode.complete){Be=0,ln=null;var D=S.sibling;if(D!==null)Ce=D;else{var q=S.return;q!==null?(Ce=q,Au(q)):Ce=null}break t}}Be=0,ln=null,Ji(e,n,d,5);break;case 6:Be=0,ln=null,Ji(e,n,d,6);break;case 8:uc(),et=6;break e;default:throw Error(a(462))}}Nb();break}catch(G){$m(e,G)}while(!0);return Wn=ti=null,U.H=u,U.A=f,Le=l,Ce!==null?0:(Xe=null,ke=0,Qa(),et)}function Nb(){for(;Ce!==null&&!pl();)tp(Ce)}function tp(e){var n=Tm(e.alternate,e,sl);e.memoizedProps=e.pendingProps,n===null?Au(e):Ce=n}function np(e){var n=e,l=n.alternate;switch(n.tag){case 15:case 0:n=bm(l,n,n.pendingProps,n.type,void 0,ke);break;case 11:n=bm(l,n,n.pendingProps,n.type.render,n.ref,ke);break;case 5:ws(n);default:km(l,n),n=Ce=eh(n,sl),n=Tm(l,n,sl)}e.memoizedProps=e.pendingProps,n===null?Au(e):Ce=n}function Ji(e,n,l,u){Wn=ti=null,ws(n),Ui=null,Rr=0;var f=n.return;try{if(Sb(e,f,n,l,ke)){et=1,hu(e,gn(l,e.current)),Ce=null;return}}catch(d){if(f!==null)throw Ce=f,d;et=1,hu(e,gn(l,e.current)),Ce=null;return}n.flags&32768?(ze||u===1?e=!0:Qi||(ke&536870912)!==0?e=!1:(Dl=e=!0,(u===2||u===9||u===3||u===6)&&(u=tn.current,u!==null&&u.tag===13&&(u.flags|=16384))),lp(n,e)):Au(n)}function Au(e){var n=e;do{if((n.flags&32768)!==0){lp(n,Dl);return}e=n.return;var l=Cb(n.alternate,n,sl);if(l!==null){Ce=l;return}if(n=n.sibling,n!==null){Ce=n;return}Ce=n=e}while(n!==null);et===0&&(et=5)}function lp(e,n){do{var l=Tb(e.alternate,e);if(l!==null){l.flags&=32767,Ce=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!n&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=l}while(e!==null);et=6,Ce=null}function ip(e,n,l,u,f,d,v,S,D){e.cancelPendingCommit=null;do ku();while(ht!==0);if((Le&6)!==0)throw Error(a(327));if(n!==null){if(n===e.current)throw Error(a(177));if(d=n.lanes|n.childLanes,d|=Io,dt(e,l,d,v,S,D),e===Xe&&(Ce=Xe=null,ke=0),Zi=n,Ol=e,cl=l,ic=d,rc=f,Zm=u,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Bb(de,function(){return sp(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||u){u=U.T,U.T=null,f=J.p,J.p=2,v=Le,Le|=4;try{Ab(e,n,l)}finally{Le=v,J.p=f,U.T=u}}ht=1,rp(),ap(),up()}}function rp(){if(ht===1){ht=0;var e=Ol,n=Zi,l=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var u=J.p;J.p=2;var f=Le;Le|=4;try{Hm(n,e);var d=xc,v=Qd(e.containerInfo),S=d.focusedElem,D=d.selectionRange;if(v!==S&&S&&S.ownerDocument&&Gd(S.ownerDocument.documentElement,S)){if(D!==null&&Qo(S)){var q=D.start,G=D.end;if(G===void 0&&(G=q),"selectionStart"in S)S.selectionStart=q,S.selectionEnd=Math.min(G,S.value.length);else{var K=S.ownerDocument||document,Y=K&&K.defaultView||window;if(Y.getSelection){var V=Y.getSelection(),oe=S.textContent.length,ge=Math.min(D.start,oe),Ye=D.end===void 0?ge:Math.min(D.end,oe);!V.extend&&ge>Ye&&(v=Ye,Ye=ge,ge=v);var N=Xd(S,ge),M=Xd(S,Ye);if(N&&M&&(V.rangeCount!==1||V.anchorNode!==N.node||V.anchorOffset!==N.offset||V.focusNode!==M.node||V.focusOffset!==M.offset)){var H=K.createRange();H.setStart(N.node,N.offset),V.removeAllRanges(),ge>Ye?(V.addRange(H),V.extend(M.node,M.offset)):(H.setEnd(M.node,M.offset),V.addRange(H))}}}}for(K=[],V=S;V=V.parentNode;)V.nodeType===1&&K.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<K.length;S++){var F=K[S];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Hu=!!bc,xc=bc=null}finally{Le=f,J.p=u,U.T=l}}e.current=n,ht=2}}function ap(){if(ht===2){ht=0;var e=Ol,n=Zi,l=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var u=J.p;J.p=2;var f=Le;Le|=4;try{_m(e,n.alternate,n)}finally{Le=f,J.p=u,U.T=l}}ht=3}}function up(){if(ht===4||ht===3){ht=0,mi();var e=Ol,n=Zi,l=cl,u=Zm;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?ht=5:(ht=0,Zi=Ol=null,op(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(Rl=null),Zn(l),n=n.stateNode,tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot(Et,n,void 0,(n.current.flags&128)===128)}catch{}if(u!==null){n=U.T,f=J.p,J.p=2,U.T=null;try{for(var d=e.onRecoverableError,v=0;v<u.length;v++){var S=u[v];d(S.value,{componentStack:S.stack})}}finally{U.T=n,J.p=f}}(cl&3)!==0&&ku(),Yn(e),f=e.pendingLanes,(l&261930)!==0&&(f&42)!==0?e===ac?Zr++:(Zr=0,ac=e):Zr=0,Kr(0)}}function op(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,Dr(n)))}function ku(){return rp(),ap(),up(),sp()}function sp(){if(ht!==5)return!1;var e=Ol,n=ic;ic=0;var l=Zn(cl),u=U.T,f=J.p;try{J.p=32>l?32:l,U.T=null,l=rc,rc=null;var d=Ol,v=cl;if(ht=0,Zi=Ol=null,cl=0,(Le&6)!==0)throw Error(a(331));var S=Le;if(Le|=4,Gm(d.current),Ym(d,d.current,v,l),Le=S,Kr(0,!1),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot(Et,d)}catch{}return!0}finally{J.p=f,U.T=u,op(e,n)}}function cp(e,n,l){n=gn(l,n),n=Us(e.stateNode,n,2),e=Cl(e,n,2),e!==null&&(cn(e,2),Yn(e))}function Ue(e,n,l){if(e.tag===3)cp(e,e,l);else for(;n!==null;){if(n.tag===3){cp(n,e,l);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Rl===null||!Rl.has(u))){e=gn(l,e),l=fm(2),u=Cl(n,l,2),u!==null&&(dm(l,u,n,e),cn(u,2),Yn(u));break}}n=n.return}}function sc(e,n,l){var u=e.pingCache;if(u===null){u=e.pingCache=new zb;var f=new Set;u.set(n,f)}else f=u.get(n),f===void 0&&(f=new Set,u.set(n,f));f.has(l)||(tc=!0,f.add(l),e=_b.bind(null,e,n,l),n.then(e,e))}function _b(e,n,l){var u=e.pingCache;u!==null&&u.delete(n),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Xe===e&&(ke&l)===l&&(et===4||et===3&&(ke&62914560)===ke&&300>pt()-Su?(Le&2)===0&&Ki(e,0):nc|=l,Fi===ke&&(Fi=0)),Yn(e)}function fp(e,n){n===0&&(n=Dt()),e=Pl(e,n),e!==null&&(cn(e,n),Yn(e))}function Lb(e){var n=e.memoizedState,l=0;n!==null&&(l=n.retryLane),fp(e,l)}function jb(e,n){var l=0;switch(e.tag){case 31:case 13:var u=e.stateNode,f=e.memoizedState;f!==null&&(l=f.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(a(314))}u!==null&&u.delete(n),fp(e,l)}function Bb(e,n){return Mt(e,n)}var Du=null,Ii=null,cc=!1,zu=!1,fc=!1,Nl=0;function Yn(e){e!==Ii&&e.next===null&&(Ii===null?Du=Ii=e:Ii=Ii.next=e),zu=!0,cc||(cc=!0,Hb())}function Kr(e,n){if(!fc&&zu){fc=!0;do for(var l=!1,u=Du;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var d=0;else{var v=u.suspendedLanes,S=u.pingedLanes;d=(1<<31-je(42|e)+1)-1,d&=f&~(v&~S),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(l=!0,pp(u,d))}else d=ke,d=yt(u,u===Xe?d:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(d&3)===0||Bt(u,d)||(l=!0,pp(u,d));u=u.next}while(l);fc=!1}}function Ub(){dp()}function dp(){zu=cc=!1;var e=0;Nl!==0&&Jb()&&(e=Nl);for(var n=pt(),l=null,u=Du;u!==null;){var f=u.next,d=hp(u,n);d===0?(u.next=null,l===null?Du=f:l.next=f,f===null&&(Ii=l)):(l=u,(e!==0||(d&3)!==0)&&(zu=!0)),u=f}ht!==0&&ht!==5||Kr(e),Nl!==0&&(Nl=0)}function hp(e,n){for(var l=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var v=31-je(d),S=1<<v,D=f[v];D===-1?((S&l)===0||(S&u)!==0)&&(f[v]=Ut(S,n)):D<=n&&(e.expiredLanes|=S),d&=~S}if(n=Xe,l=ke,l=yt(e,e===n?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,l===0||e===n&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&jn(u),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Bt(e,l)){if(n=l&-l,n===e.callbackPriority)return n;switch(u!==null&&jn(u),Zn(l)){case 2:case 8:l=ne;break;case 32:l=de;break;case 268435456:l=Oe;break;default:l=de}return u=mp.bind(null,e),l=Mt(l,u),e.callbackPriority=n,e.callbackNode=l,n}return u!==null&&u!==null&&jn(u),e.callbackPriority=2,e.callbackNode=null,2}function mp(e,n){if(ht!==0&&ht!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(ku()&&e.callbackNode!==l)return null;var u=ke;return u=yt(e,e===Xe?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(Jm(e,u,n),hp(e,pt()),e.callbackNode!=null&&e.callbackNode===l?mp.bind(null,e):null)}function pp(e,n){if(ku())return null;Jm(e,n,!0)}function Hb(){$b(function(){(Le&6)!==0?Mt(Q,Ub):dp()})}function dc(){if(Nl===0){var e=Li;e===0&&(e=pi,pi<<=1,(pi&261888)===0&&(pi=256)),Nl=e}return Nl}function gp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ba(""+e)}function yp(e,n){var l=n.ownerDocument.createElement("input");return l.name=n.name,l.value=n.value,e.id&&l.setAttribute("form",e.id),n.parentNode.insertBefore(l,n),e=new FormData(e),l.parentNode.removeChild(l),e}function qb(e,n,l,u,f){if(n==="submit"&&l&&l.stateNode===f){var d=gp((f[qt]||null).action),v=u.submitter;v&&(n=(n=v[qt]||null)?gp(n.formAction):v.getAttribute("formAction"),n!==null&&(d=n,v=null));var S=new Ya("action","action",null,u,f);e.push({event:S,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Nl!==0){var D=v?yp(f,v):new FormData(f);Ms(l,{pending:!0,data:D,method:f.method,action:d},null,D)}}else typeof d=="function"&&(S.preventDefault(),D=v?yp(f,v):new FormData(f),Ms(l,{pending:!0,data:D,method:f.method,action:d},d,D))},currentTarget:f}]})}}for(var hc=0;hc<Jo.length;hc++){var mc=Jo[hc],Yb=mc.toLowerCase(),Vb=mc[0].toUpperCase()+mc.slice(1);zn(Yb,"on"+Vb)}zn(Kd,"onAnimationEnd"),zn(Jd,"onAnimationIteration"),zn(Id,"onAnimationStart"),zn("dblclick","onDoubleClick"),zn("focusin","onFocus"),zn("focusout","onBlur"),zn(ib,"onTransitionRun"),zn(rb,"onTransitionStart"),zn(ab,"onTransitionCancel"),zn($d,"onTransitionEnd"),Si("onMouseEnter",["mouseout","mouseover"]),Si("onMouseLeave",["mouseout","mouseover"]),Si("onPointerEnter",["pointerout","pointerover"]),Si("onPointerLeave",["pointerout","pointerover"]),Kl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Kl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Kl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Kl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Kl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Kl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Jr));function vp(e,n){n=(n&4)!==0;for(var l=0;l<e.length;l++){var u=e[l],f=u.event;u=u.listeners;e:{var d=void 0;if(n)for(var v=u.length-1;0<=v;v--){var S=u[v],D=S.instance,q=S.currentTarget;if(S=S.listener,D!==d&&f.isPropagationStopped())break e;d=S,f.currentTarget=q;try{d(f)}catch(G){Ga(G)}f.currentTarget=null,d=D}else for(v=0;v<u.length;v++){if(S=u[v],D=S.instance,q=S.currentTarget,S=S.listener,D!==d&&f.isPropagationStopped())break e;d=S,f.currentTarget=q;try{d(f)}catch(G){Ga(G)}f.currentTarget=null,d=D}}}}function Te(e,n){var l=n[ko];l===void 0&&(l=n[ko]=new Set);var u=e+"__bubble";l.has(u)||(bp(n,e,2,!1),l.add(u))}function pc(e,n,l){var u=0;n&&(u|=4),bp(l,e,u,n)}var Ru="_reactListening"+Math.random().toString(36).slice(2);function gc(e){if(!e[Ru]){e[Ru]=!0,dd.forEach(function(l){l!=="selectionchange"&&(Xb.has(l)||pc(l,!1,e),pc(l,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Ru]||(n[Ru]=!0,pc("selectionchange",!1,n))}}function bp(e,n,l,u){switch(Kp(n)){case 2:var f=y1;break;case 8:f=v1;break;default:f=Oc}l=f.bind(null,n,l,e),f=void 0,!jo||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(n,l,{capture:!0,passive:f}):e.addEventListener(n,l,!0):f!==void 0?e.addEventListener(n,l,{passive:f}):e.addEventListener(n,l,!1)}function yc(e,n,l,u,f){var d=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var v=u.tag;if(v===3||v===4){var S=u.stateNode.containerInfo;if(S===f)break;if(v===4)for(v=u.return;v!==null;){var D=v.tag;if((D===3||D===4)&&v.stateNode.containerInfo===f)return;v=v.return}for(;S!==null;){if(v=vi(S),v===null)return;if(D=v.tag,D===5||D===6||D===26||D===27){u=d=v;continue e}S=S.parentNode}}u=u.return}Cd(function(){var q=d,G=_o(l),K=[];e:{var Y=Pd.get(e);if(Y!==void 0){var V=Ya,oe=e;switch(e){case"keypress":if(Ha(l)===0)break e;case"keydown":case"keyup":V=jv;break;case"focusin":oe="focus",V=qo;break;case"focusout":oe="blur",V=qo;break;case"beforeblur":case"afterblur":V=qo;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=kd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=Cv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=Hv;break;case Kd:case Jd:case Id:V=kv;break;case $d:V=Yv;break;case"scroll":case"scrollend":V=Ev;break;case"wheel":V=Xv;break;case"copy":case"cut":case"paste":V=zv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=zd;break;case"toggle":case"beforetoggle":V=Qv}var ge=(n&4)!==0,Ye=!ge&&(e==="scroll"||e==="scrollend"),N=ge?Y!==null?Y+"Capture":null:Y;ge=[];for(var M=q,H;M!==null;){var F=M;if(H=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||H===null||N===null||(F=yr(M,N),F!=null&&ge.push(Ir(M,F,H))),Ye)break;M=M.return}0<ge.length&&(Y=new V(Y,oe,null,l,G),K.push({event:Y,listeners:ge}))}}if((n&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",Y&&l!==No&&(oe=l.relatedTarget||l.fromElement)&&(vi(oe)||oe[yi]))break e;if((V||Y)&&(Y=G.window===G?G:(Y=G.ownerDocument)?Y.defaultView||Y.parentWindow:window,V?(oe=l.relatedTarget||l.toElement,V=q,oe=oe?vi(oe):null,oe!==null&&(Ye=s(oe),ge=oe.tag,oe!==Ye||ge!==5&&ge!==27&&ge!==6)&&(oe=null)):(V=null,oe=q),V!==oe)){if(ge=kd,F="onMouseLeave",N="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(ge=zd,F="onPointerLeave",N="onPointerEnter",M="pointer"),Ye=V==null?Y:gr(V),H=oe==null?Y:gr(oe),Y=new ge(F,M+"leave",V,l,G),Y.target=Ye,Y.relatedTarget=H,F=null,vi(G)===q&&(ge=new ge(N,M+"enter",oe,l,G),ge.target=H,ge.relatedTarget=Ye,F=ge),Ye=F,V&&oe)t:{for(ge=Gb,N=V,M=oe,H=0,F=N;F;F=ge(F))H++;F=0;for(var he=M;he;he=ge(he))F++;for(;0<H-F;)N=ge(N),H--;for(;0<F-H;)M=ge(M),F--;for(;H--;){if(N===M||M!==null&&N===M.alternate){ge=N;break t}N=ge(N),M=ge(M)}ge=null}else ge=null;V!==null&&xp(K,Y,V,ge,!1),oe!==null&&Ye!==null&&xp(K,Ye,oe,ge,!0)}}e:{if(Y=q?gr(q):window,V=Y.nodeName&&Y.nodeName.toLowerCase(),V==="select"||V==="input"&&Y.type==="file")var Me=Bd;else if(Ld(Y))if(Ud)Me=tb;else{Me=Wv;var ce=Pv}else V=Y.nodeName,!V||V.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?q&&Mo(q.elementType)&&(Me=Bd):Me=eb;if(Me&&(Me=Me(e,q))){jd(K,Me,l,G);break e}ce&&ce(e,Y,q),e==="focusout"&&q&&Y.type==="number"&&q.memoizedProps.value!=null&&Oo(Y,"number",Y.value)}switch(ce=q?gr(q):window,e){case"focusin":(Ld(ce)||ce.contentEditable==="true")&&(ki=ce,Fo=q,Tr=null);break;case"focusout":Tr=Fo=ki=null;break;case"mousedown":Zo=!0;break;case"contextmenu":case"mouseup":case"dragend":Zo=!1,Fd(K,l,G);break;case"selectionchange":if(lb)break;case"keydown":case"keyup":Fd(K,l,G)}var Se;if(Vo)e:{switch(e){case"compositionstart":var De="onCompositionStart";break e;case"compositionend":De="onCompositionEnd";break e;case"compositionupdate":De="onCompositionUpdate";break e}De=void 0}else Ai?Nd(e,l)&&(De="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(De="onCompositionStart");De&&(Rd&&l.locale!=="ko"&&(Ai||De!=="onCompositionStart"?De==="onCompositionEnd"&&Ai&&(Se=Td()):(yl=G,Bo="value"in yl?yl.value:yl.textContent,Ai=!0)),ce=Ou(q,De),0<ce.length&&(De=new Dd(De,e,null,l,G),K.push({event:De,listeners:ce}),Se?De.data=Se:(Se=_d(l),Se!==null&&(De.data=Se)))),(Se=Zv?Kv(e,l):Jv(e,l))&&(De=Ou(q,"onBeforeInput"),0<De.length&&(ce=new Dd("onBeforeInput","beforeinput",null,l,G),K.push({event:ce,listeners:De}),ce.data=Se)),qb(K,e,q,l,G)}vp(K,n)})}function Ir(e,n,l){return{instance:e,listener:n,currentTarget:l}}function Ou(e,n){for(var l=n+"Capture",u=[];e!==null;){var f=e,d=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||d===null||(f=yr(e,l),f!=null&&u.unshift(Ir(e,f,d)),f=yr(e,n),f!=null&&u.push(Ir(e,f,d))),e.tag===3)return u;e=e.return}return[]}function Gb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function xp(e,n,l,u,f){for(var d=n._reactName,v=[];l!==null&&l!==u;){var S=l,D=S.alternate,q=S.stateNode;if(S=S.tag,D!==null&&D===u)break;S!==5&&S!==26&&S!==27||q===null||(D=q,f?(q=yr(l,d),q!=null&&v.unshift(Ir(l,q,D))):f||(q=yr(l,d),q!=null&&v.push(Ir(l,q,D)))),l=l.return}v.length!==0&&e.push({event:n,listeners:v})}var Qb=/\r\n?/g,Fb=/\u0000|\uFFFD/g;function Sp(e){return(typeof e=="string"?e:""+e).replace(Qb,`
49
+ `).replace(Fb,"")}function Ep(e,n){return n=Sp(n),Sp(e)===n}function qe(e,n,l,u,f,d){switch(l){case"children":typeof u=="string"?n==="body"||n==="textarea"&&u===""||wi(e,u):(typeof u=="number"||typeof u=="bigint")&&n!=="body"&&wi(e,""+u);break;case"className":La(e,"class",u);break;case"tabIndex":La(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":La(e,l,u);break;case"style":Ed(e,u,d);break;case"data":if(n!=="object"){La(e,"data",u);break}case"src":case"href":if(u===""&&(n!=="a"||l!=="href")){e.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}u=Ba(""+u),e.setAttribute(l,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(l==="formAction"?(n!=="input"&&qe(e,n,"name",f.name,f,null),qe(e,n,"formEncType",f.formEncType,f,null),qe(e,n,"formMethod",f.formMethod,f,null),qe(e,n,"formTarget",f.formTarget,f,null)):(qe(e,n,"encType",f.encType,f,null),qe(e,n,"method",f.method,f,null),qe(e,n,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}u=Ba(""+u),e.setAttribute(l,u);break;case"onClick":u!=null&&(e.onclick=Jn);break;case"onScroll":u!=null&&Te("scroll",e);break;case"onScrollEnd":u!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(l=u.__html,l!=null){if(f.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}l=Ba(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""+u):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":u===!0?e.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,u):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(l,u):e.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(l):e.setAttribute(l,u);break;case"popover":Te("beforetoggle",e),Te("toggle",e),_a(e,"popover",u);break;case"xlinkActuate":Kn(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":Kn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":Kn(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":Kn(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":Kn(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":Kn(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":Kn(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":Kn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":Kn(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":_a(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=xv.get(l)||l,_a(e,l,u))}}function vc(e,n,l,u,f,d){switch(l){case"style":Ed(e,u,d);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(a(61));if(l=u.__html,l!=null){if(f.children!=null)throw Error(a(60));e.innerHTML=l}}break;case"children":typeof u=="string"?wi(e,u):(typeof u=="number"||typeof u=="bigint")&&wi(e,""+u);break;case"onScroll":u!=null&&Te("scroll",e);break;case"onScrollEnd":u!=null&&Te("scrollend",e);break;case"onClick":u!=null&&(e.onclick=Jn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!hd.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(f=l.endsWith("Capture"),n=l.slice(2,f?l.length-7:void 0),d=e[qt]||null,d=d!=null?d[l]:null,typeof d=="function"&&e.removeEventListener(n,d,f),typeof u=="function")){typeof d!="function"&&d!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(n,u,f);break e}l in e?e[l]=u:u===!0?e.setAttribute(l,""):_a(e,l,u)}}}function kt(e,n,l){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var u=!1,f=!1,d;for(d in l)if(l.hasOwnProperty(d)){var v=l[d];if(v!=null)switch(d){case"src":u=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:qe(e,n,d,v,l,null)}}f&&qe(e,n,"srcSet",l.srcSet,l,null),u&&qe(e,n,"src",l.src,l,null);return;case"input":Te("invalid",e);var S=d=v=f=null,D=null,q=null;for(u in l)if(l.hasOwnProperty(u)){var G=l[u];if(G!=null)switch(u){case"name":f=G;break;case"type":v=G;break;case"checked":D=G;break;case"defaultChecked":q=G;break;case"value":d=G;break;case"defaultValue":S=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(a(137,n));break;default:qe(e,n,u,G,l,null)}}vd(e,d,S,D,q,v,f,!1);return;case"select":Te("invalid",e),u=v=d=null;for(f in l)if(l.hasOwnProperty(f)&&(S=l[f],S!=null))switch(f){case"value":d=S;break;case"defaultValue":v=S;break;case"multiple":u=S;default:qe(e,n,f,S,l,null)}n=d,l=v,e.multiple=!!u,n!=null?Ei(e,!!u,n,!1):l!=null&&Ei(e,!!u,l,!0);return;case"textarea":Te("invalid",e),d=f=u=null;for(v in l)if(l.hasOwnProperty(v)&&(S=l[v],S!=null))switch(v){case"value":u=S;break;case"defaultValue":f=S;break;case"children":d=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(a(91));break;default:qe(e,n,v,S,l,null)}xd(e,u,f,d);return;case"option":for(D in l)if(l.hasOwnProperty(D)&&(u=l[D],u!=null))switch(D){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:qe(e,n,D,u,l,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(u=0;u<Jr.length;u++)Te(Jr[u],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(q in l)if(l.hasOwnProperty(q)&&(u=l[q],u!=null))switch(q){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,n));default:qe(e,n,q,u,l,null)}return;default:if(Mo(n)){for(G in l)l.hasOwnProperty(G)&&(u=l[G],u!==void 0&&vc(e,n,G,u,l,void 0));return}}for(S in l)l.hasOwnProperty(S)&&(u=l[S],u!=null&&qe(e,n,S,u,l,null))}function Zb(e,n,l,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,d=null,v=null,S=null,D=null,q=null,G=null;for(V in l){var K=l[V];if(l.hasOwnProperty(V)&&K!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":D=K;default:u.hasOwnProperty(V)||qe(e,n,V,null,u,K)}}for(var Y in u){var V=u[Y];if(K=l[Y],u.hasOwnProperty(Y)&&(V!=null||K!=null))switch(Y){case"type":d=V;break;case"name":f=V;break;case"checked":q=V;break;case"defaultChecked":G=V;break;case"value":v=V;break;case"defaultValue":S=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(a(137,n));break;default:V!==K&&qe(e,n,Y,V,u,K)}}Ro(e,v,S,D,q,G,d,f);return;case"select":V=v=S=Y=null;for(d in l)if(D=l[d],l.hasOwnProperty(d)&&D!=null)switch(d){case"value":break;case"multiple":V=D;default:u.hasOwnProperty(d)||qe(e,n,d,null,u,D)}for(f in u)if(d=u[f],D=l[f],u.hasOwnProperty(f)&&(d!=null||D!=null))switch(f){case"value":Y=d;break;case"defaultValue":S=d;break;case"multiple":v=d;default:d!==D&&qe(e,n,f,d,u,D)}n=S,l=v,u=V,Y!=null?Ei(e,!!l,Y,!1):!!u!=!!l&&(n!=null?Ei(e,!!l,n,!0):Ei(e,!!l,l?[]:"",!1));return;case"textarea":V=Y=null;for(S in l)if(f=l[S],l.hasOwnProperty(S)&&f!=null&&!u.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:qe(e,n,S,null,u,f)}for(v in u)if(f=u[v],d=l[v],u.hasOwnProperty(v)&&(f!=null||d!=null))switch(v){case"value":Y=f;break;case"defaultValue":V=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(a(91));break;default:f!==d&&qe(e,n,v,f,u,d)}bd(e,Y,V);return;case"option":for(var oe in l)if(Y=l[oe],l.hasOwnProperty(oe)&&Y!=null&&!u.hasOwnProperty(oe))switch(oe){case"selected":e.selected=!1;break;default:qe(e,n,oe,null,u,Y)}for(D in u)if(Y=u[D],V=l[D],u.hasOwnProperty(D)&&Y!==V&&(Y!=null||V!=null))switch(D){case"selected":e.selected=Y&&typeof Y!="function"&&typeof Y!="symbol";break;default:qe(e,n,D,Y,u,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ge in l)Y=l[ge],l.hasOwnProperty(ge)&&Y!=null&&!u.hasOwnProperty(ge)&&qe(e,n,ge,null,u,Y);for(q in u)if(Y=u[q],V=l[q],u.hasOwnProperty(q)&&Y!==V&&(Y!=null||V!=null))switch(q){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(a(137,n));break;default:qe(e,n,q,Y,u,V)}return;default:if(Mo(n)){for(var Ye in l)Y=l[Ye],l.hasOwnProperty(Ye)&&Y!==void 0&&!u.hasOwnProperty(Ye)&&vc(e,n,Ye,void 0,u,Y);for(G in u)Y=u[G],V=l[G],!u.hasOwnProperty(G)||Y===V||Y===void 0&&V===void 0||vc(e,n,G,Y,u,V);return}}for(var N in l)Y=l[N],l.hasOwnProperty(N)&&Y!=null&&!u.hasOwnProperty(N)&&qe(e,n,N,null,u,Y);for(K in u)Y=u[K],V=l[K],!u.hasOwnProperty(K)||Y===V||Y==null&&V==null||qe(e,n,K,Y,u,V)}function wp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Kb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,n=0,l=performance.getEntriesByType("resource"),u=0;u<l.length;u++){var f=l[u],d=f.transferSize,v=f.initiatorType,S=f.duration;if(d&&S&&wp(v)){for(v=0,S=f.responseEnd,u+=1;u<l.length;u++){var D=l[u],q=D.startTime;if(q>S)break;var G=D.transferSize,K=D.initiatorType;G&&wp(K)&&(D=D.responseEnd,v+=G*(D<S?1:(S-q)/(D-q)))}if(--u,n+=8*(d+v)/(f.duration/1e3),e++,10<e)break}}if(0<e)return n/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var bc=null,xc=null;function Mu(e){return e.nodeType===9?e:e.ownerDocument}function Cp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Tp(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function Sc(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ec=null;function Jb(){var e=window.event;return e&&e.type==="popstate"?e===Ec?!1:(Ec=e,!0):(Ec=null,!1)}var Ap=typeof setTimeout=="function"?setTimeout:void 0,Ib=typeof clearTimeout=="function"?clearTimeout:void 0,kp=typeof Promise=="function"?Promise:void 0,$b=typeof queueMicrotask=="function"?queueMicrotask:typeof kp<"u"?function(e){return kp.resolve(null).then(e).catch(Pb)}:Ap;function Pb(e){setTimeout(function(){throw e})}function _l(e){return e==="head"}function Dp(e,n){var l=n,u=0;do{var f=l.nextSibling;if(e.removeChild(l),f&&f.nodeType===8)if(l=f.data,l==="/$"||l==="/&"){if(u===0){e.removeChild(f),er(n);return}u--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")u++;else if(l==="html")$r(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,$r(l);for(var d=l.firstChild;d;){var v=d.nextSibling,S=d.nodeName;d[pr]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&d.rel.toLowerCase()==="stylesheet"||l.removeChild(d),d=v}}else l==="body"&&$r(e.ownerDocument.body);l=f}while(l);er(n)}function zp(e,n){var l=e;e=0;do{var u=l.nextSibling;if(l.nodeType===1?n?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(n?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=u}while(l)}function wc(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var l=n;switch(n=n.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":wc(l),Do(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Wb(e,n,l,u){for(;e.nodeType===1;){var f=l;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[pr])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Sn(e.nextSibling),e===null)break}return null}function e1(e,n,l){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Sn(e.nextSibling),e===null))return null;return e}function Rp(e,n){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Sn(e.nextSibling),e===null))return null;return e}function Cc(e){return e.data==="$?"||e.data==="$~"}function Tc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function t1(e,n){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=n;else if(e.data!=="$?"||l.readyState!=="loading")n();else{var u=function(){n(),l.removeEventListener("DOMContentLoaded",u)};l.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Sn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"||n==="F!"||n==="F")break;if(n==="/$"||n==="/&")return null}}return e}var Ac=null;function Op(e){e=e.nextSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(n===0)return Sn(e.nextSibling);n--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||n++}e=e.nextSibling}return null}function Mp(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(n===0)return e;n--}else l!=="/$"&&l!=="/&"||n++}e=e.previousSibling}return null}function Np(e,n,l){switch(n=Mu(l),e){case"html":if(e=n.documentElement,!e)throw Error(a(452));return e;case"head":if(e=n.head,!e)throw Error(a(453));return e;case"body":if(e=n.body,!e)throw Error(a(454));return e;default:throw Error(a(451))}}function $r(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Do(e)}var En=new Map,_p=new Set;function Nu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var fl=J.d;J.d={f:n1,r:l1,D:i1,C:r1,L:a1,m:u1,X:s1,S:o1,M:c1};function n1(){var e=fl.f(),n=Cu();return e||n}function l1(e){var n=bi(e);n!==null&&n.tag===5&&n.type==="form"?$h(n):fl.r(e)}var $i=typeof document>"u"?null:document;function Lp(e,n,l){var u=$i;if(u&&typeof n=="string"&&n){var f=mn(n);f='link[rel="'+e+'"][href="'+f+'"]',typeof l=="string"&&(f+='[crossorigin="'+l+'"]'),_p.has(f)||(_p.add(f),e={rel:e,crossOrigin:l,href:n},u.querySelector(f)===null&&(n=u.createElement("link"),kt(n,"link",e),vt(n),u.head.appendChild(n)))}}function i1(e){fl.D(e),Lp("dns-prefetch",e,null)}function r1(e,n){fl.C(e,n),Lp("preconnect",e,n)}function a1(e,n,l){fl.L(e,n,l);var u=$i;if(u&&e&&n){var f='link[rel="preload"][as="'+mn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(f+='[imagesrcset="'+mn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(f+='[imagesizes="'+mn(l.imageSizes)+'"]')):f+='[href="'+mn(e)+'"]';var d=f;switch(n){case"style":d=Pi(e);break;case"script":d=Wi(e)}En.has(d)||(e=g({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:e,as:n},l),En.set(d,e),u.querySelector(f)!==null||n==="style"&&u.querySelector(Pr(d))||n==="script"&&u.querySelector(Wr(d))||(n=u.createElement("link"),kt(n,"link",e),vt(n),u.head.appendChild(n)))}}function u1(e,n){fl.m(e,n);var l=$i;if(l&&e){var u=n&&typeof n.as=="string"?n.as:"script",f='link[rel="modulepreload"][as="'+mn(u)+'"][href="'+mn(e)+'"]',d=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Wi(e)}if(!En.has(d)&&(e=g({rel:"modulepreload",href:e},n),En.set(d,e),l.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Wr(d)))return}u=l.createElement("link"),kt(u,"link",e),vt(u),l.head.appendChild(u)}}}function o1(e,n,l){fl.S(e,n,l);var u=$i;if(u&&e){var f=xi(u).hoistableStyles,d=Pi(e);n=n||"default";var v=f.get(d);if(!v){var S={loading:0,preload:null};if(v=u.querySelector(Pr(d)))S.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":n},l),(l=En.get(d))&&kc(e,l);var D=v=u.createElement("link");vt(D),kt(D,"link",e),D._p=new Promise(function(q,G){D.onload=q,D.onerror=G}),D.addEventListener("load",function(){S.loading|=1}),D.addEventListener("error",function(){S.loading|=2}),S.loading|=4,_u(v,n,u)}v={type:"stylesheet",instance:v,count:1,state:S},f.set(d,v)}}}function s1(e,n){fl.X(e,n);var l=$i;if(l&&e){var u=xi(l).hoistableScripts,f=Wi(e),d=u.get(f);d||(d=l.querySelector(Wr(f)),d||(e=g({src:e,async:!0},n),(n=En.get(f))&&Dc(e,n),d=l.createElement("script"),vt(d),kt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},u.set(f,d))}}function c1(e,n){fl.M(e,n);var l=$i;if(l&&e){var u=xi(l).hoistableScripts,f=Wi(e),d=u.get(f);d||(d=l.querySelector(Wr(f)),d||(e=g({src:e,async:!0,type:"module"},n),(n=En.get(f))&&Dc(e,n),d=l.createElement("script"),vt(d),kt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},u.set(f,d))}}function jp(e,n,l,u){var f=(f=ue.current)?Nu(f):null;if(!f)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=Pi(l.href),l=xi(f).hoistableStyles,u=l.get(n),u||(u={type:"style",instance:null,count:0,state:null},l.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Pi(l.href);var d=xi(f).hoistableStyles,v=d.get(e);if(v||(f=f.ownerDocument||f,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,v),(d=f.querySelector(Pr(e)))&&!d._p&&(v.instance=d,v.state.loading=5),En.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},En.set(e,l),d||f1(f,e,l,v.state))),n&&u===null)throw Error(a(528,""));return v}if(n&&u!==null)throw Error(a(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Wi(l),l=xi(f).hoistableScripts,u=l.get(n),u||(u={type:"script",instance:null,count:0,state:null},l.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Pi(e){return'href="'+mn(e)+'"'}function Pr(e){return'link[rel="stylesheet"]['+e+"]"}function Bp(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function f1(e,n,l,u){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?u.loading=1:(n=e.createElement("link"),u.preload=n,n.addEventListener("load",function(){return u.loading|=1}),n.addEventListener("error",function(){return u.loading|=2}),kt(n,"link",l),vt(n),e.head.appendChild(n))}function Wi(e){return'[src="'+mn(e)+'"]'}function Wr(e){return"script[async]"+e}function Up(e,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var u=e.querySelector('style[data-href~="'+mn(l.href)+'"]');if(u)return n.instance=u,vt(u),u;var f=g({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),vt(u),kt(u,"style",f),_u(u,l.precedence,e),n.instance=u;case"stylesheet":f=Pi(l.href);var d=e.querySelector(Pr(f));if(d)return n.state.loading|=4,n.instance=d,vt(d),d;u=Bp(l),(f=En.get(f))&&kc(u,f),d=(e.ownerDocument||e).createElement("link"),vt(d);var v=d;return v._p=new Promise(function(S,D){v.onload=S,v.onerror=D}),kt(d,"link",u),n.state.loading|=4,_u(d,l.precedence,e),n.instance=d;case"script":return d=Wi(l.src),(f=e.querySelector(Wr(d)))?(n.instance=f,vt(f),f):(u=l,(f=En.get(d))&&(u=g({},l),Dc(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),vt(f),kt(f,"link",u),e.head.appendChild(f),n.instance=f);case"void":return null;default:throw Error(a(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(u=n.instance,n.state.loading|=4,_u(u,l.precedence,e));return n.instance}function _u(e,n,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,d=f,v=0;v<u.length;v++){var S=u[v];if(S.dataset.precedence===n)d=S;else if(d!==f)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=l.nodeType===9?l.head:l,n.insertBefore(e,n.firstChild))}function kc(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Dc(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Lu=null;function Hp(e,n,l){if(Lu===null){var u=new Map,f=Lu=new Map;f.set(l,u)}else f=Lu,u=f.get(l),u||(u=new Map,f.set(l,u));if(u.has(e))return u;for(u.set(e,null),l=l.getElementsByTagName(e),f=0;f<l.length;f++){var d=l[f];if(!(d[pr]||d[wt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(n)||"";v=e+v;var S=u.get(v);S?S.push(d):u.set(v,[d])}}return u}function qp(e,n,l){e=e.ownerDocument||e,e.head.insertBefore(l,n==="title"?e.querySelector("head > title"):null)}function d1(e,n,l){if(l===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Yp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function h1(e,n,l,u){if(l.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var f=Pi(u.href),d=n.querySelector(Pr(f));if(d){n=d._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=ju.bind(e),n.then(e,e)),l.state.loading|=4,l.instance=d,vt(d);return}d=n.ownerDocument||n,u=Bp(u),(f=En.get(f))&&kc(u,f),d=d.createElement("link"),vt(d);var v=d;v._p=new Promise(function(S,D){v.onload=S,v.onerror=D}),kt(d,"link",u),l.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=ju.bind(e),n.addEventListener("load",l),n.addEventListener("error",l))}}var zc=0;function m1(e,n){return e.stylesheets&&e.count===0&&Uu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var u=setTimeout(function(){if(e.stylesheets&&Uu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+n);0<e.imgBytes&&zc===0&&(zc=62500*Kb());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Uu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>zc?50:800)+n);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(f)}}:null}function ju(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Uu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Bu=null;function Uu(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Bu=new Map,n.forEach(p1,e),Bu=null,ju.call(e))}function p1(e,n){if(!(n.state.loading&4)){var l=Bu.get(e);if(l)var u=l.get(null);else{l=new Map,Bu.set(e,l);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<f.length;d++){var v=f[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(l.set(v.dataset.precedence,v),u=v)}u&&l.set(null,u)}f=n.instance,v=f.getAttribute("data-precedence"),d=l.get(v)||u,d===u&&l.set(null,f),l.set(v,f),this.count++,u=ju.bind(this),f.addEventListener("load",u),f.addEventListener("error",u),d?d.parentNode.insertBefore(f,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),n.state.loading|=4}}var ea={$$typeof:_,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function g1(e,n,l,u,f,d,v,S,D){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ht(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ht(0),this.hiddenUpdates=Ht(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function Vp(e,n,l,u,f,d,v,S,D,q,G,K){return e=new g1(e,n,l,v,D,q,G,K,S),n=1,d===!0&&(n|=24),d=en(3,null,null,n),e.current=d,d.stateNode=e,n=os(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:u,isDehydrated:l,cache:n},ds(d),e}function Xp(e){return e?(e=Ri,e):Ri}function Gp(e,n,l,u,f,d){f=Xp(f),u.context===null?u.context=f:u.pendingContext=f,u=wl(n),u.payload={element:l},d=d===void 0?null:d,d!==null&&(u.callback=d),l=Cl(e,u,n),l!==null&&(Ft(l,e,n),Mr(l,e,n))}function Qp(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<n?l:n}}function Rc(e,n){Qp(e,n),(e=e.alternate)&&Qp(e,n)}function Fp(e){if(e.tag===13||e.tag===31){var n=Pl(e,67108864);n!==null&&Ft(n,e,67108864),Rc(e,67108864)}}function Zp(e){if(e.tag===13||e.tag===31){var n=an();n=Fn(n);var l=Pl(e,n);l!==null&&Ft(l,e,n),Rc(e,n)}}var Hu=!0;function y1(e,n,l,u){var f=U.T;U.T=null;var d=J.p;try{J.p=2,Oc(e,n,l,u)}finally{J.p=d,U.T=f}}function v1(e,n,l,u){var f=U.T;U.T=null;var d=J.p;try{J.p=8,Oc(e,n,l,u)}finally{J.p=d,U.T=f}}function Oc(e,n,l,u){if(Hu){var f=Mc(u);if(f===null)yc(e,n,u,qu,l),Jp(e,u);else if(x1(f,e,n,l,u))u.stopPropagation();else if(Jp(e,u),n&4&&-1<b1.indexOf(e)){for(;f!==null;){var d=bi(f);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=lt(d.pendingLanes);if(v!==0){var S=d;for(S.pendingLanes|=2,S.entangledLanes|=2;v;){var D=1<<31-je(v);S.entanglements[1]|=D,v&=~D}Yn(d),(Le&6)===0&&(Eu=pt()+500,Kr(0))}}break;case 31:case 13:S=Pl(d,2),S!==null&&Ft(S,d,2),Cu(),Rc(d,2)}if(d=Mc(u),d===null&&yc(e,n,u,qu,l),d===f)break;f=d}f!==null&&u.stopPropagation()}else yc(e,n,u,null,l)}}function Mc(e){return e=_o(e),Nc(e)}var qu=null;function Nc(e){if(qu=null,e=vi(e),e!==null){var n=s(e);if(n===null)e=null;else{var l=n.tag;if(l===13){if(e=c(n),e!==null)return e;e=null}else if(l===31){if(e=h(n),e!==null)return e;e=null}else if(l===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return qu=e,null}function Kp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(mr()){case Q:return 2;case ne:return 8;case de:case be:return 32;case Oe:return 268435456;default:return 32}default:return 32}}var _c=!1,Ll=null,jl=null,Bl=null,ta=new Map,na=new Map,Ul=[],b1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jp(e,n){switch(e){case"focusin":case"focusout":Ll=null;break;case"dragenter":case"dragleave":jl=null;break;case"mouseover":case"mouseout":Bl=null;break;case"pointerover":case"pointerout":ta.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":na.delete(n.pointerId)}}function la(e,n,l,u,f,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:l,eventSystemFlags:u,nativeEvent:d,targetContainers:[f]},n!==null&&(n=bi(n),n!==null&&Fp(n)),e):(e.eventSystemFlags|=u,n=e.targetContainers,f!==null&&n.indexOf(f)===-1&&n.push(f),e)}function x1(e,n,l,u,f){switch(n){case"focusin":return Ll=la(Ll,e,n,l,u,f),!0;case"dragenter":return jl=la(jl,e,n,l,u,f),!0;case"mouseover":return Bl=la(Bl,e,n,l,u,f),!0;case"pointerover":var d=f.pointerId;return ta.set(d,la(ta.get(d)||null,e,n,l,u,f)),!0;case"gotpointercapture":return d=f.pointerId,na.set(d,la(na.get(d)||null,e,n,l,u,f)),!0}return!1}function Ip(e){var n=vi(e.target);if(n!==null){var l=s(n);if(l!==null){if(n=l.tag,n===13){if(n=c(l),n!==null){e.blockedOn=n,gl(e.priority,function(){Zp(l)});return}}else if(n===31){if(n=h(l),n!==null){e.blockedOn=n,gl(e.priority,function(){Zp(l)});return}}else if(n===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yu(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var l=Mc(e.nativeEvent);if(l===null){l=e.nativeEvent;var u=new l.constructor(l.type,l);No=u,l.target.dispatchEvent(u),No=null}else return n=bi(l),n!==null&&Fp(n),e.blockedOn=l,!1;n.shift()}return!0}function $p(e,n,l){Yu(e)&&l.delete(n)}function S1(){_c=!1,Ll!==null&&Yu(Ll)&&(Ll=null),jl!==null&&Yu(jl)&&(jl=null),Bl!==null&&Yu(Bl)&&(Bl=null),ta.forEach($p),na.forEach($p)}function Vu(e,n){e.blockedOn===n&&(e.blockedOn=null,_c||(_c=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,S1)))}var Xu=null;function Pp(e){Xu!==e&&(Xu=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Xu===e&&(Xu=null);for(var n=0;n<e.length;n+=3){var l=e[n],u=e[n+1],f=e[n+2];if(typeof u!="function"){if(Nc(u||l)===null)continue;break}var d=bi(l);d!==null&&(e.splice(n,3),n-=3,Ms(d,{pending:!0,data:f,method:l.method,action:u},u,f))}}))}function er(e){function n(D){return Vu(D,e)}Ll!==null&&Vu(Ll,e),jl!==null&&Vu(jl,e),Bl!==null&&Vu(Bl,e),ta.forEach(n),na.forEach(n);for(var l=0;l<Ul.length;l++){var u=Ul[l];u.blockedOn===e&&(u.blockedOn=null)}for(;0<Ul.length&&(l=Ul[0],l.blockedOn===null);)Ip(l),l.blockedOn===null&&Ul.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(u=0;u<l.length;u+=3){var f=l[u],d=l[u+1],v=f[qt]||null;if(typeof d=="function")v||Pp(l);else if(v){var S=null;if(d&&d.hasAttribute("formAction")){if(f=d,v=d[qt]||null)S=v.formAction;else if(Nc(f)!==null)continue}else S=v.action;typeof S=="function"?l[u+1]=S:(l.splice(u,3),u-=3),Pp(l)}}}function Wp(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(v){return f=v})},focusReset:"manual",scroll:"manual"})}function n(){f!==null&&(f(),f=null),u||setTimeout(l,20)}function l(){if(!u&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",n),navigation.addEventListener("navigateerror",n),setTimeout(l,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",n),navigation.removeEventListener("navigateerror",n),f!==null&&(f(),f=null)}}}function Lc(e){this._internalRoot=e}Gu.prototype.render=Lc.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(a(409));var l=n.current,u=an();Gp(l,u,e,n,null,null)},Gu.prototype.unmount=Lc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Gp(e.current,2,null,e,null,null),Cu(),n[yi]=null}};function Gu(e){this._internalRoot=e}Gu.prototype.unstable_scheduleHydration=function(e){if(e){var n=Dn();e={blockedOn:null,target:e,priority:n};for(var l=0;l<Ul.length&&n!==0&&n<Ul[l].priority;l++);Ul.splice(l,0,e),l===0&&Ip(e)}};var eg=i.version;if(eg!=="19.2.4")throw Error(a(527,eg,"19.2.4"));J.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(a(188)):(e=Object.keys(e).join(","),Error(a(268,e)));return e=m(n),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var E1={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qu.isDisabled&&Qu.supportsFiber)try{Et=Qu.inject(E1),tt=Qu}catch{}}return ra.createRoot=function(e,n){if(!o(e))throw Error(a(299));var l=!1,u="",f=um,d=om,v=sm;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(f=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError)),n=Vp(e,1,!1,null,null,l,u,null,f,d,v,Wp),e[yi]=n.current,gc(e),new Lc(n)},ra.hydrateRoot=function(e,n,l){if(!o(e))throw Error(a(299));var u=!1,f="",d=um,v=om,S=sm,D=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(f=l.identifierPrefix),l.onUncaughtError!==void 0&&(d=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.formState!==void 0&&(D=l.formState)),n=Vp(e,1,!0,n,l??null,u,f,D,d,v,S,Wp),n.context=Xp(null),l=n.current,u=an(),u=Fn(u),f=wl(u),f.callback=null,Cl(l,f,u),l=u,n.current.lanes=l,cn(n,l),Yn(n),e[yi]=n.current,gc(e),new Gu(n)},ra.version="19.2.4",ra}var cg;function O1(){if(cg)return Uc.exports;cg=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(i){console.error(i)}}return t(),Uc.exports=R1(),Uc.exports}var M1=O1();/**
50
+ * react-router v7.13.1
51
+ *
52
+ * Copyright (c) Remix Software Inc.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE.md file in the root directory of this source tree.
56
+ *
57
+ * @license MIT
58
+ */var fg="popstate";function dg(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function N1(t={}){function i(a,o){var m;let s=(m=o.state)==null?void 0:m.masked,{pathname:c,search:h,hash:p}=s||a.location;return hf("",{pathname:c,search:h,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",s?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,o){return typeof o=="string"?o:va(o)}return L1(i,r,null,t)}function $e(t,i){if(t===!1||t===null||typeof t>"u")throw new Error(i)}function Gn(t,i){if(!t){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function _1(){return Math.random().toString(36).substring(2,10)}function hg(t,i){return{usr:t.state,key:t.key,idx:i,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function hf(t,i,r=null,a,o){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof i=="string"?or(i):i,state:r,key:i&&i.key||a||_1(),unstable_mask:o}}function va({pathname:t="/",search:i="",hash:r=""}){return i&&i!=="?"&&(t+=i.charAt(0)==="?"?i:"?"+i),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function or(t){let i={};if(t){let r=t.indexOf("#");r>=0&&(i.hash=t.substring(r),t=t.substring(0,r));let a=t.indexOf("?");a>=0&&(i.search=t.substring(a),t=t.substring(0,a)),t&&(i.pathname=t)}return i}function L1(t,i,r,a={}){let{window:o=document.defaultView,v5Compat:s=!1}=a,c=o.history,h="POP",p=null,m=y();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function y(){return(c.state||{idx:null}).idx}function g(){h="POP";let k=y(),T=k==null?null:k-m;m=k,p&&p({action:h,location:z.location,delta:T})}function x(k,T){h="PUSH";let B=dg(k)?k:hf(z.location,k,T);m=y()+1;let _=hg(B,m),W=z.createHref(B.unstable_mask||B);try{c.pushState(_,"",W)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;o.location.assign(W)}s&&p&&p({action:h,location:z.location,delta:1})}function b(k,T){h="REPLACE";let B=dg(k)?k:hf(z.location,k,T);m=y();let _=hg(B,m),W=z.createHref(B.unstable_mask||B);c.replaceState(_,"",W),s&&p&&p({action:h,location:z.location,delta:0})}function w(k){return j1(k)}let z={get action(){return h},get location(){return t(o,c)},listen(k){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(fg,g),p=k,()=>{o.removeEventListener(fg,g),p=null}},createHref(k){return i(o,k)},createURL:w,encodeLocation(k){let T=w(k);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:x,replace:b,go(k){return c.go(k)}};return z}function j1(t,i=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),$e(r,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:va(t);return a=a.replace(/ $/,"%20"),!i&&a.startsWith("//")&&(a=r+a),new URL(a,r)}function Cy(t,i,r="/"){return B1(t,i,r,!1)}function B1(t,i,r,a){let o=typeof i=="string"?or(i):i,s=dl(o.pathname||"/",r);if(s==null)return null;let c=Ty(t);U1(c);let h=null;for(let p=0;h==null&&p<c.length;++p){let m=J1(s);h=Z1(c[p],m,a)}return h}function Ty(t,i=[],r=[],a="",o=!1){let s=(c,h,p=o,m)=>{let y={relativePath:m===void 0?c.path||"":m,caseSensitive:c.caseSensitive===!0,childrenIndex:h,route:c};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(a)&&p)return;$e(y.relativePath.startsWith(a),`Absolute route path "${y.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(a.length)}let g=Xn([a,y.relativePath]),x=r.concat(y);c.children&&c.children.length>0&&($e(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),Ty(c.children,i,x,g,p)),!(c.path==null&&!c.index)&&i.push({path:g,score:Q1(g,c.index),routesMeta:x})};return t.forEach((c,h)=>{var p;if(c.path===""||!((p=c.path)!=null&&p.includes("?")))s(c,h);else for(let m of Ay(c.path))s(c,h,!0,m)}),i}function Ay(t){let i=t.split("/");if(i.length===0)return[];let[r,...a]=i,o=r.endsWith("?"),s=r.replace(/\?$/,"");if(a.length===0)return o?[s,""]:[s];let c=Ay(a.join("/")),h=[];return h.push(...c.map(p=>p===""?s:[s,p].join("/"))),o&&h.push(...c),h.map(p=>t.startsWith("/")&&p===""?"/":p)}function U1(t){t.sort((i,r)=>i.score!==r.score?r.score-i.score:F1(i.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var H1=/^:[\w-]+$/,q1=3,Y1=2,V1=1,X1=10,G1=-2,mg=t=>t==="*";function Q1(t,i){let r=t.split("/"),a=r.length;return r.some(mg)&&(a+=G1),i&&(a+=Y1),r.filter(o=>!mg(o)).reduce((o,s)=>o+(H1.test(s)?q1:s===""?V1:X1),a)}function F1(t,i){return t.length===i.length&&t.slice(0,-1).every((a,o)=>a===i[o])?t[t.length-1]-i[i.length-1]:0}function Z1(t,i,r=!1){let{routesMeta:a}=t,o={},s="/",c=[];for(let h=0;h<a.length;++h){let p=a[h],m=h===a.length-1,y=s==="/"?i:i.slice(s.length)||"/",g=no({path:p.relativePath,caseSensitive:p.caseSensitive,end:m},y),x=p.route;if(!g&&m&&r&&!a[a.length-1].route.index&&(g=no({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},y)),!g)return null;Object.assign(o,g.params),c.push({params:o,pathname:Xn([s,g.pathname]),pathnameBase:W1(Xn([s,g.pathnameBase])),route:x}),g.pathnameBase!=="/"&&(s=Xn([s,g.pathnameBase]))}return c}function no(t,i){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,a]=K1(t.path,t.caseSensitive,t.end),o=i.match(r);if(!o)return null;let s=o[0],c=s.replace(/(.)\/+$/,"$1"),h=o.slice(1);return{params:a.reduce((m,{paramName:y,isOptional:g},x)=>{if(y==="*"){let w=h[x]||"";c=s.slice(0,s.length-w.length).replace(/(.)\/+$/,"$1")}const b=h[x];return g&&!b?m[y]=void 0:m[y]=(b||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:t}}function K1(t,i=!1,r=!0){Gn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let a=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,h,p,m,y)=>{if(a.push({paramName:h,isOptional:p!=null}),p){let g=y.charAt(m+c.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(a.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,i?void 0:"i"),a]}function J1(t){try{return t.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Gn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),t}}function dl(t,i){if(i==="/")return t;if(!t.toLowerCase().startsWith(i.toLowerCase()))return null;let r=i.endsWith("/")?i.length-1:i.length,a=t.charAt(r);return a&&a!=="/"?null:t.slice(r)||"/"}var I1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function $1(t,i="/"){let{pathname:r,search:a="",hash:o=""}=typeof t=="string"?or(t):t,s;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?s=pg(r.substring(1),"/"):s=pg(r,i)):s=i,{pathname:s,search:ex(a),hash:tx(o)}}function pg(t,i){let r=i.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function Vc(t,i,r,a){return`Cannot include a '${t}' character in a manually specified \`to.${i}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function P1(t){return t.filter((i,r)=>r===0||i.route.path&&i.route.path.length>0)}function ky(t){let i=P1(t);return i.map((r,a)=>a===i.length-1?r.pathname:r.pathnameBase)}function Of(t,i,r,a=!1){let o;typeof t=="string"?o=or(t):(o={...t},$e(!o.pathname||!o.pathname.includes("?"),Vc("?","pathname","search",o)),$e(!o.pathname||!o.pathname.includes("#"),Vc("#","pathname","hash",o)),$e(!o.search||!o.search.includes("#"),Vc("#","search","hash",o)));let s=t===""||o.pathname==="",c=s?"/":o.pathname,h;if(c==null)h=r;else{let g=i.length-1;if(!a&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),g-=1;o.pathname=x.join("/")}h=g>=0?i[g]:"/"}let p=$1(o,h),m=c&&c!=="/"&&c.endsWith("/"),y=(s||c===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(m||y)&&(p.pathname+="/"),p}var Xn=t=>t.join("/").replace(/\/\/+/g,"/"),W1=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),ex=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,tx=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,nx=class{constructor(t,i,r,a=!1){this.status=t,this.statusText=i||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function lx(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function ix(t){return t.map(i=>i.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Dy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function zy(t,i){let r=t;if(typeof r!="string"||!I1.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,o=!1;if(Dy)try{let s=new URL(window.location.href),c=r.startsWith("//")?new URL(s.protocol+r):new URL(r),h=dl(c.pathname,i);c.origin===s.origin&&h!=null?r=h+c.search+c.hash:o=!0}catch{Gn(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ry=["POST","PUT","PATCH","DELETE"];new Set(Ry);var rx=["GET",...Ry];new Set(rx);var sr=C.createContext(null);sr.displayName="DataRouter";var mo=C.createContext(null);mo.displayName="DataRouterState";var ax=C.createContext(!1),Oy=C.createContext({isTransitioning:!1});Oy.displayName="ViewTransition";var ux=C.createContext(new Map);ux.displayName="Fetchers";var ox=C.createContext(null);ox.displayName="Await";var Tn=C.createContext(null);Tn.displayName="Navigation";var wa=C.createContext(null);wa.displayName="Location";var _n=C.createContext({outlet:null,matches:[],isDataRoute:!1});_n.displayName="Route";var Mf=C.createContext(null);Mf.displayName="RouteError";var My="REACT_ROUTER_ERROR",sx="REDIRECT",cx="ROUTE_ERROR_RESPONSE";function fx(t){if(t.startsWith(`${My}:${sx}:{`))try{let i=JSON.parse(t.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function dx(t){if(t.startsWith(`${My}:${cx}:{`))try{let i=JSON.parse(t.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new nx(i.status,i.statusText,i.data)}catch{}}function hx(t,{relative:i}={}){$e(Ca(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:a}=C.useContext(Tn),{hash:o,pathname:s,search:c}=Ta(t,{relative:i}),h=s;return r!=="/"&&(h=s==="/"?r:Xn([r,s])),a.createHref({pathname:h,search:c,hash:o})}function Ca(){return C.useContext(wa)!=null}function Xl(){return $e(Ca(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(wa).location}var Ny="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function _y(t){C.useContext(Tn).static||C.useLayoutEffect(t)}function mx(){let{isDataRoute:t}=C.useContext(_n);return t?Rx():px()}function px(){$e(Ca(),"useNavigate() may be used only in the context of a <Router> component.");let t=C.useContext(sr),{basename:i,navigator:r}=C.useContext(Tn),{matches:a}=C.useContext(_n),{pathname:o}=Xl(),s=JSON.stringify(ky(a)),c=C.useRef(!1);return _y(()=>{c.current=!0}),C.useCallback((p,m={})=>{if(Gn(c.current,Ny),!c.current)return;if(typeof p=="number"){r.go(p);return}let y=Of(p,JSON.parse(s),o,m.relative==="path");t==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:Xn([i,y.pathname])),(m.replace?r.replace:r.push)(y,m.state,m)},[i,r,s,o,t])}var gx=C.createContext(null);function yx(t){let i=C.useContext(_n).outlet;return C.useMemo(()=>i&&C.createElement(gx.Provider,{value:t},i),[i,t])}function vx(){let{matches:t}=C.useContext(_n),i=t[t.length-1];return i?i.params:{}}function Ta(t,{relative:i}={}){let{matches:r}=C.useContext(_n),{pathname:a}=Xl(),o=JSON.stringify(ky(r));return C.useMemo(()=>Of(t,JSON.parse(o),a,i==="path"),[t,o,a,i])}function bx(t,i){return Ly(t,i)}function Ly(t,i,r){var k;$e(Ca(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=C.useContext(Tn),{matches:o}=C.useContext(_n),s=o[o.length-1],c=s?s.params:{},h=s?s.pathname:"/",p=s?s.pathnameBase:"/",m=s&&s.route;{let T=m&&m.path||"";By(h,!m||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${T}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
+
60
+ Please change the parent <Route path="${T}"> to <Route path="${T==="/"?"*":`${T}/*`}">.`)}let y=Xl(),g;if(i){let T=typeof i=="string"?or(i):i;$e(p==="/"||((k=T.pathname)==null?void 0:k.startsWith(p)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${T.pathname}" was given in the \`location\` prop.`),g=T}else g=y;let x=g.pathname||"/",b=x;if(p!=="/"){let T=p.replace(/^\//,"").split("/");b="/"+x.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=Cy(t,{pathname:b});Gn(m||w!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),Gn(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let z=Cx(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},c,T.params),pathname:Xn([p,a.encodeLocation?a.encodeLocation(T.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?p:Xn([p,a.encodeLocation?a.encodeLocation(T.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),o,r);return i&&z?C.createElement(wa.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...g},navigationType:"POP"}},z):z}function xx(){let t=zx(),i=lx(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a},s={padding:"2px 4px",backgroundColor:a},c=null;return console.error("Error handled by React Router default ErrorBoundary:",t),c=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:s},"ErrorBoundary")," or"," ",C.createElement("code",{style:s},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},i),r?C.createElement("pre",{style:o},r):null,c)}var Sx=C.createElement(xx,null),jy=class extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,i){return i.location!==t.location||i.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:i.error,location:i.location,revalidation:t.revalidation||i.revalidation}}componentDidCatch(t,i){this.props.onError?this.props.onError(t,i):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=dx(t.digest);r&&(t=r)}let i=t!==void 0?C.createElement(_n.Provider,{value:this.props.routeContext},C.createElement(Mf.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?C.createElement(Ex,{error:t},i):i}};jy.contextType=ax;var Xc=new WeakMap;function Ex({children:t,error:i}){let{basename:r}=C.useContext(Tn);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let a=fx(i.digest);if(a){let o=Xc.get(i);if(o)throw o;let s=zy(a.location,r);if(Dy&&!Xc.get(i))if(s.isExternal||a.reloadDocument)window.location.href=s.absoluteURL||s.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:a.replace}));throw Xc.set(i,c),c}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s.absoluteURL||s.to}`})}}return t}function wx({routeContext:t,match:i,children:r}){let a=C.useContext(sr);return a&&a.static&&a.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=i.route.id),C.createElement(_n.Provider,{value:t},r)}function Cx(t,i=[],r){let a=r==null?void 0:r.state;if(t==null){if(!a)return null;if(a.errors)t=a.matches;else if(i.length===0&&!a.initialized&&a.matches.length>0)t=a.matches;else return null}let o=t,s=a==null?void 0:a.errors;if(s!=null){let y=o.findIndex(g=>g.route.id&&(s==null?void 0:s[g.route.id])!==void 0);$e(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),o=o.slice(0,Math.min(o.length,y+1))}let c=!1,h=-1;if(r&&a){c=a.renderFallback;for(let y=0;y<o.length;y++){let g=o[y];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(h=y),g.route.id){let{loaderData:x,errors:b}=a,w=g.route.loader&&!x.hasOwnProperty(g.route.id)&&(!b||b[g.route.id]===void 0);if(g.route.lazy||w){r.isStatic&&(c=!0),h>=0?o=o.slice(0,h+1):o=[o[0]];break}}}}let p=r==null?void 0:r.onError,m=a&&p?(y,g)=>{var x,b;p(y,{location:a.location,params:((b=(x=a.matches)==null?void 0:x[0])==null?void 0:b.params)??{},unstable_pattern:ix(a.matches),errorInfo:g})}:void 0;return o.reduceRight((y,g,x)=>{let b,w=!1,z=null,k=null;a&&(b=s&&g.route.id?s[g.route.id]:void 0,z=g.route.errorElement||Sx,c&&(h<0&&x===0?(By("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,k=null):h===x&&(w=!0,k=g.route.hydrateFallbackElement||null)));let T=i.concat(o.slice(0,x+1)),B=()=>{let _;return b?_=z:w?_=k:g.route.Component?_=C.createElement(g.route.Component,null):g.route.element?_=g.route.element:_=y,C.createElement(wx,{match:g,routeContext:{outlet:y,matches:T,isDataRoute:a!=null},children:_})};return a&&(g.route.ErrorBoundary||g.route.errorElement||x===0)?C.createElement(jy,{location:a.location,revalidation:a.revalidation,component:z,error:b,children:B(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:m}):B()},null)}function Nf(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Tx(t){let i=C.useContext(sr);return $e(i,Nf(t)),i}function Ax(t){let i=C.useContext(mo);return $e(i,Nf(t)),i}function kx(t){let i=C.useContext(_n);return $e(i,Nf(t)),i}function _f(t){let i=kx(t),r=i.matches[i.matches.length-1];return $e(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function Dx(){return _f("useRouteId")}function zx(){var a;let t=C.useContext(Mf),i=Ax("useRouteError"),r=_f("useRouteError");return t!==void 0?t:(a=i.errors)==null?void 0:a[r]}function Rx(){let{router:t}=Tx("useNavigate"),i=_f("useNavigate"),r=C.useRef(!1);return _y(()=>{r.current=!0}),C.useCallback(async(o,s={})=>{Gn(r.current,Ny),r.current&&(typeof o=="number"?await t.navigate(o):await t.navigate(o,{fromRouteId:i,...s}))},[t,i])}var gg={};function By(t,i,r){!i&&!gg[t]&&(gg[t]=!0,Gn(!1,r))}C.memo(Ox);function Ox({routes:t,future:i,state:r,isStatic:a,onError:o}){return Ly(t,void 0,{state:r,isStatic:a,onError:o})}function Mx(t){return yx(t.context)}function $u(t){$e(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Nx({basename:t="/",children:i=null,location:r,navigationType:a="POP",navigator:o,static:s=!1,unstable_useTransitions:c}){$e(!Ca(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=t.replace(/^\/*/,"/"),p=C.useMemo(()=>({basename:h,navigator:o,static:s,unstable_useTransitions:c,future:{}}),[h,o,s,c]);typeof r=="string"&&(r=or(r));let{pathname:m="/",search:y="",hash:g="",state:x=null,key:b="default",unstable_mask:w}=r,z=C.useMemo(()=>{let k=dl(m,h);return k==null?null:{location:{pathname:k,search:y,hash:g,state:x,key:b,unstable_mask:w},navigationType:a}},[h,m,y,g,x,b,a,w]);return Gn(z!=null,`<Router basename="${h}"> is not able to match the URL "${m}${y}${g}" because it does not start with the basename, so the <Router> won't render anything.`),z==null?null:C.createElement(Tn.Provider,{value:p},C.createElement(wa.Provider,{children:i,value:z}))}function _x({children:t,location:i}){return bx(mf(t),i)}function mf(t,i=[]){let r=[];return C.Children.forEach(t,(a,o)=>{if(!C.isValidElement(a))return;let s=[...i,o];if(a.type===C.Fragment){r.push.apply(r,mf(a.props.children,s));return}$e(a.type===$u,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!a.props.index||!a.props.children,"An index route cannot have child routes.");let c={id:a.props.id||s.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(c.children=mf(a.props.children,s)),r.push(c)}),r}var Pu="get",Wu="application/x-www-form-urlencoded";function po(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function Lx(t){return po(t)&&t.tagName.toLowerCase()==="button"}function jx(t){return po(t)&&t.tagName.toLowerCase()==="form"}function Bx(t){return po(t)&&t.tagName.toLowerCase()==="input"}function Ux(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Hx(t,i){return t.button===0&&(!i||i==="_self")&&!Ux(t)}var Fu=null;function qx(){if(Fu===null)try{new FormData(document.createElement("form"),0),Fu=!1}catch{Fu=!0}return Fu}var Yx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Gc(t){return t!=null&&!Yx.has(t)?(Gn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wu}"`),null):t}function Vx(t,i){let r,a,o,s,c;if(jx(t)){let h=t.getAttribute("action");a=h?dl(h,i):null,r=t.getAttribute("method")||Pu,o=Gc(t.getAttribute("enctype"))||Wu,s=new FormData(t)}else if(Lx(t)||Bx(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=t.getAttribute("formaction")||h.getAttribute("action");if(a=p?dl(p,i):null,r=t.getAttribute("formmethod")||h.getAttribute("method")||Pu,o=Gc(t.getAttribute("formenctype"))||Gc(h.getAttribute("enctype"))||Wu,s=new FormData(h,t),!qx()){let{name:m,type:y,value:g}=t;if(y==="image"){let x=m?`${m}.`:"";s.append(`${x}x`,"0"),s.append(`${x}y`,"0")}else m&&s.append(m,g)}}else{if(po(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Pu,a=null,o=Wu,c=t}return s&&o==="text/plain"&&(c=s,s=void 0),{action:a,method:r.toLowerCase(),encType:o,formData:s,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Lf(t,i){if(t===!1||t===null||typeof t>"u")throw new Error(i)}function Xx(t,i,r,a){let o=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return r?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${a}`:o.pathname=`${o.pathname}.${a}`:o.pathname==="/"?o.pathname=`_root.${a}`:i&&dl(o.pathname,i)==="/"?o.pathname=`${i.replace(/\/$/,"")}/_root.${a}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${a}`,o}async function Gx(t,i){if(t.id in i)return i[t.id];try{let r=await import(t.module);return i[t.id]=r,r}catch(r){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Qx(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function Fx(t,i,r){let a=await Promise.all(t.map(async o=>{let s=i.routes[o.route.id];if(s){let c=await Gx(s,r);return c.links?c.links():[]}return[]}));return Ix(a.flat(1).filter(Qx).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function yg(t,i,r,a,o,s){let c=(p,m)=>r[m]?p.route.id!==r[m].route.id:!0,h=(p,m)=>{var y;return r[m].pathname!==p.pathname||((y=r[m].route.path)==null?void 0:y.endsWith("*"))&&r[m].params["*"]!==p.params["*"]};return s==="assets"?i.filter((p,m)=>c(p,m)||h(p,m)):s==="data"?i.filter((p,m)=>{var g;let y=a.routes[p.route.id];if(!y||!y.hasLoader)return!1;if(c(p,m)||h(p,m))return!0;if(p.route.shouldRevalidate){let x=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((g=r[0])==null?void 0:g.params)||{},nextUrl:new URL(t,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function Zx(t,i,{includeHydrateFallback:r}={}){return Kx(t.map(a=>{let o=i.routes[a.route.id];if(!o)return[];let s=[o.module];return o.clientActionModule&&(s=s.concat(o.clientActionModule)),o.clientLoaderModule&&(s=s.concat(o.clientLoaderModule)),r&&o.hydrateFallbackModule&&(s=s.concat(o.hydrateFallbackModule)),o.imports&&(s=s.concat(o.imports)),s}).flat(1))}function Kx(t){return[...new Set(t)]}function Jx(t){let i={},r=Object.keys(t).sort();for(let a of r)i[a]=t[a];return i}function Ix(t,i){let r=new Set;return new Set(i),t.reduce((a,o)=>{let s=JSON.stringify(Jx(o));return r.has(s)||(r.add(s),a.push({key:s,link:o})),a},[])}function Uy(){let t=C.useContext(sr);return Lf(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function $x(){let t=C.useContext(mo);return Lf(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var jf=C.createContext(void 0);jf.displayName="FrameworkContext";function Hy(){let t=C.useContext(jf);return Lf(t,"You must render this element inside a <HydratedRouter> element"),t}function Px(t,i){let r=C.useContext(jf),[a,o]=C.useState(!1),[s,c]=C.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:m,onMouseLeave:y,onTouchStart:g}=i,x=C.useRef(null);C.useEffect(()=>{if(t==="render"&&c(!0),t==="viewport"){let z=T=>{T.forEach(B=>{c(B.isIntersecting)})},k=new IntersectionObserver(z,{threshold:.5});return x.current&&k.observe(x.current),()=>{k.disconnect()}}},[t]),C.useEffect(()=>{if(a){let z=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(z)}}},[a]);let b=()=>{o(!0)},w=()=>{o(!1),c(!1)};return r?t!=="intent"?[s,x,{}]:[s,x,{onFocus:aa(h,b),onBlur:aa(p,w),onMouseEnter:aa(m,b),onMouseLeave:aa(y,w),onTouchStart:aa(g,b)}]:[!1,x,{}]}function aa(t,i){return r=>{t&&t(r),r.defaultPrevented||i(r)}}function Wx({page:t,...i}){let{router:r}=Uy(),a=C.useMemo(()=>Cy(r.routes,t,r.basename),[r.routes,t,r.basename]);return a?C.createElement(tS,{page:t,matches:a,...i}):null}function eS(t){let{manifest:i,routeModules:r}=Hy(),[a,o]=C.useState([]);return C.useEffect(()=>{let s=!1;return Fx(t,i,r).then(c=>{s||o(c)}),()=>{s=!0}},[t,i,r]),a}function tS({page:t,matches:i,...r}){let a=Xl(),{future:o,manifest:s,routeModules:c}=Hy(),{basename:h}=Uy(),{loaderData:p,matches:m}=$x(),y=C.useMemo(()=>yg(t,i,m,s,a,"data"),[t,i,m,s,a]),g=C.useMemo(()=>yg(t,i,m,s,a,"assets"),[t,i,m,s,a]),x=C.useMemo(()=>{if(t===a.pathname+a.search+a.hash)return[];let z=new Set,k=!1;if(i.forEach(B=>{var W;let _=s.routes[B.route.id];!_||!_.hasLoader||(!y.some(I=>I.route.id===B.route.id)&&B.route.id in p&&((W=c[B.route.id])!=null&&W.shouldRevalidate)||_.hasClientLoader?k=!0:z.add(B.route.id))}),z.size===0)return[];let T=Xx(t,h,o.unstable_trailingSlashAwareDataRequests,"data");return k&&z.size>0&&T.searchParams.set("_routes",i.filter(B=>z.has(B.route.id)).map(B=>B.route.id).join(",")),[T.pathname+T.search]},[h,o.unstable_trailingSlashAwareDataRequests,p,a,s,y,i,t,c]),b=C.useMemo(()=>Zx(g,s),[g,s]),w=eS(g);return C.createElement(C.Fragment,null,x.map(z=>C.createElement("link",{key:z,rel:"prefetch",as:"fetch",href:z,...r})),b.map(z=>C.createElement("link",{key:z,rel:"modulepreload",href:z,...r})),w.map(({key:z,link:k})=>C.createElement("link",{key:z,nonce:r.nonce,...k,crossOrigin:k.crossOrigin??r.crossOrigin})))}function nS(...t){return i=>{t.forEach(r=>{typeof r=="function"?r(i):r!=null&&(r.current=i)})}}var lS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{lS&&(window.__reactRouterVersion="7.13.1")}catch{}function iS({basename:t,children:i,unstable_useTransitions:r,window:a}){let o=C.useRef();o.current==null&&(o.current=N1({window:a,v5Compat:!0}));let s=o.current,[c,h]=C.useState({action:s.action,location:s.location}),p=C.useCallback(m=>{r===!1?h(m):C.startTransition(()=>h(m))},[r]);return C.useLayoutEffect(()=>s.listen(p),[s,p]),C.createElement(Nx,{basename:t,children:i,location:c.location,navigationType:c.action,navigator:s,unstable_useTransitions:r})}var qy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Aa=C.forwardRef(function({onClick:i,discover:r="render",prefetch:a="none",relative:o,reloadDocument:s,replace:c,unstable_mask:h,state:p,target:m,to:y,preventScrollReset:g,viewTransition:x,unstable_defaultShouldRevalidate:b,...w},z){let{basename:k,navigator:T,unstable_useTransitions:B}=C.useContext(Tn),_=typeof y=="string"&&qy.test(y),W=zy(y,k);y=W.to;let I=hx(y,{relative:o}),L=Xl(),Z=null;if(h){let $=Of(h,[],L.unstable_mask?L.unstable_mask.pathname:"/",!0);k!=="/"&&($.pathname=$.pathname==="/"?k:Xn([k,$.pathname])),Z=T.createHref($)}let[le,ae,j]=Px(a,w),ee=oS(y,{replace:c,unstable_mask:h,state:p,target:m,preventScrollReset:g,relative:o,viewTransition:x,unstable_defaultShouldRevalidate:b,unstable_useTransitions:B});function P($){i&&i($),$.defaultPrevented||ee($)}let fe=!(W.isExternal||s),ie=C.createElement("a",{...w,...j,href:(fe?Z:void 0)||W.absoluteURL||I,onClick:fe?P:i,ref:nS(z,ae),target:m,"data-discover":!_&&r==="render"?"true":void 0});return le&&!_?C.createElement(C.Fragment,null,ie,C.createElement(Wx,{page:I})):ie});Aa.displayName="Link";var rS=C.forwardRef(function({"aria-current":i="page",caseSensitive:r=!1,className:a="",end:o=!1,style:s,to:c,viewTransition:h,children:p,...m},y){let g=Ta(c,{relative:m.relative}),x=Xl(),b=C.useContext(mo),{navigator:w,basename:z}=C.useContext(Tn),k=b!=null&&hS(g)&&h===!0,T=w.encodeLocation?w.encodeLocation(g).pathname:g.pathname,B=x.pathname,_=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;r||(B=B.toLowerCase(),_=_?_.toLowerCase():null,T=T.toLowerCase()),_&&z&&(_=dl(_,z)||_);const W=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let I=B===T||!o&&B.startsWith(T)&&B.charAt(W)==="/",L=_!=null&&(_===T||!o&&_.startsWith(T)&&_.charAt(T.length)==="/"),Z={isActive:I,isPending:L,isTransitioning:k},le=I?i:void 0,ae;typeof a=="function"?ae=a(Z):ae=[a,I?"active":null,L?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let j=typeof s=="function"?s(Z):s;return C.createElement(Aa,{...m,"aria-current":le,className:ae,ref:y,style:j,to:c,viewTransition:h},typeof p=="function"?p(Z):p)});rS.displayName="NavLink";var aS=C.forwardRef(({discover:t="render",fetcherKey:i,navigate:r,reloadDocument:a,replace:o,state:s,method:c=Pu,action:h,onSubmit:p,relative:m,preventScrollReset:y,viewTransition:g,unstable_defaultShouldRevalidate:x,...b},w)=>{let{unstable_useTransitions:z}=C.useContext(Tn),k=fS(),T=dS(h,{relative:m}),B=c.toLowerCase()==="get"?"get":"post",_=typeof h=="string"&&qy.test(h),W=I=>{if(p&&p(I),I.defaultPrevented)return;I.preventDefault();let L=I.nativeEvent.submitter,Z=(L==null?void 0:L.getAttribute("formmethod"))||c,le=()=>k(L||I.currentTarget,{fetcherKey:i,method:Z,navigate:r,replace:o,state:s,relative:m,preventScrollReset:y,viewTransition:g,unstable_defaultShouldRevalidate:x});z&&r!==!1?C.startTransition(()=>le()):le()};return C.createElement("form",{ref:w,method:B,action:T,onSubmit:a?p:W,...b,"data-discover":!_&&t==="render"?"true":void 0})});aS.displayName="Form";function uS(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yy(t){let i=C.useContext(sr);return $e(i,uS(t)),i}function oS(t,{target:i,replace:r,unstable_mask:a,state:o,preventScrollReset:s,relative:c,viewTransition:h,unstable_defaultShouldRevalidate:p,unstable_useTransitions:m}={}){let y=mx(),g=Xl(),x=Ta(t,{relative:c});return C.useCallback(b=>{if(Hx(b,i)){b.preventDefault();let w=r!==void 0?r:va(g)===va(x),z=()=>y(t,{replace:w,unstable_mask:a,state:o,preventScrollReset:s,relative:c,viewTransition:h,unstable_defaultShouldRevalidate:p});m?C.startTransition(()=>z()):z()}},[g,y,x,r,a,o,i,t,s,c,h,p,m])}var sS=0,cS=()=>`__${String(++sS)}__`;function fS(){let{router:t}=Yy("useSubmit"),{basename:i}=C.useContext(Tn),r=Dx(),a=t.fetch,o=t.navigate;return C.useCallback(async(s,c={})=>{let{action:h,method:p,encType:m,formData:y,body:g}=Vx(s,i);if(c.navigate===!1){let x=c.fetcherKey||cS();await a(x,r,c.action||h,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:g,formMethod:c.method||p,formEncType:c.encType||m,flushSync:c.flushSync})}else await o(c.action||h,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:y,body:g,formMethod:c.method||p,formEncType:c.encType||m,replace:c.replace,state:c.state,fromRouteId:r,flushSync:c.flushSync,viewTransition:c.viewTransition})},[a,o,i,r])}function dS(t,{relative:i}={}){let{basename:r}=C.useContext(Tn),a=C.useContext(_n);$e(a,"useFormAction must be used inside a RouteContext");let[o]=a.matches.slice(-1),s={...Ta(t||".",{relative:i})},c=Xl();if(t==null){s.search=c.search;let h=new URLSearchParams(s.search),p=h.getAll("index");if(p.some(y=>y==="")){h.delete("index"),p.filter(g=>g).forEach(g=>h.append("index",g));let y=h.toString();s.search=y?`?${y}`:""}}return(!t||t===".")&&o.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(s.pathname=s.pathname==="/"?r:Xn([r,s.pathname])),va(s)}function hS(t,{relative:i}={}){let r=C.useContext(Oy);$e(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Yy("useViewTransitionState"),o=Ta(t,{relative:i});if(!r.isTransitioning)return!1;let s=dl(r.currentLocation.pathname,a)||r.currentLocation.pathname,c=dl(r.nextLocation.pathname,a)||r.nextLocation.pathname;return no(o.pathname,c)!=null||no(o.pathname,s)!=null}var fa=wy();function mS(){return O.jsxs("div",{className:"min-h-screen bg-gray-50",children:[O.jsx("header",{className:"bg-white shadow-sm border-b border-gray-200",children:O.jsxs("div",{className:"mx-auto max-w-7xl px-4 py-4 flex items-center gap-3",children:[O.jsx(Aa,{to:"/",className:"text-xl font-bold text-gray-900 hover:text-blue-600 transition-colors",children:"GPM"}),O.jsx("span",{className:"text-sm text-gray-400",children:"GitHub Project Manager"})]})}),O.jsx("main",{className:"mx-auto max-w-7xl px-4 py-8",children:O.jsx(Mx,{})})]})}const Bf="/api";async function Uf(t){if(!t.ok){const i=await t.json().catch(()=>null),r=(i==null?void 0:i.message)??`HTTP ${t.status}`;throw new Error(r)}return t.json()}async function Yl(t,i){const r=await fetch(`${Bf}${t}`,{headers:i});return Uf(r)}async function pS(t,i){const r=await fetch(`${Bf}${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});return Uf(r)}async function gS(t,i){const r=await fetch(`${Bf}${t}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});return Uf(r)}function yS(){const[t,i]=C.useState([]),[r,a]=C.useState(!0),[o,s]=C.useState(null);return C.useEffect(()=>{Yl("/projects").then(i).catch(c=>s(c.message)).finally(()=>a(!1))},[]),r?O.jsx("div",{className:"flex items-center justify-center min-h-[50vh]",children:O.jsx("p",{className:"text-gray-500",children:"Loading..."})}):o?O.jsx("div",{className:"flex items-center justify-center min-h-[50vh]",children:O.jsxs("div",{className:"text-center",children:[O.jsx("p",{className:"text-red-500 mb-2",children:"Failed to load projects"}),O.jsx("p",{className:"text-gray-400 text-sm",children:o})]})}):t.length===0?O.jsx("div",{className:"flex items-center justify-center min-h-[50vh]",children:O.jsxs("div",{className:"text-center",children:[O.jsx("p",{className:"text-gray-500 text-lg mb-2",children:"No projects registered"}),O.jsxs("p",{className:"text-gray-400 text-sm",children:["Run ",O.jsx("code",{className:"bg-gray-100 px-2 py-0.5 rounded",children:"gpm init"})," in a git repository to get started."]})]})}):O.jsxs("div",{children:[O.jsx("h2",{className:"text-xl font-semibold text-gray-800 mb-6",children:"Projects"}),O.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:t.map(c=>O.jsxs(Aa,{to:`/projects/${c.id}`,className:"block bg-white rounded-lg border border-gray-200 p-5 hover:border-blue-400 hover:shadow-md transition-all",children:[O.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[O.jsxs("span",{className:"text-xs font-medium text-white bg-blue-500 px-2 py-0.5 rounded",children:["#",c.projectNumber]}),O.jsx("span",{className:"text-xs text-gray-400",children:c.ownerType})]}),O.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:c.owner}),c.repo&&O.jsx("p",{className:"text-sm text-gray-500",children:c.repo}),O.jsx("p",{className:"text-xs text-gray-400 mt-3 truncate",children:c.projectUrl})]},c.id))})]})}function vS({done:t,total:i}){const r=i>0?Math.round(t/i*100):0;return O.jsxs("div",{className:"w-full",children:[O.jsx("div",{className:"w-full h-2 bg-gray-200 rounded-full overflow-hidden",children:O.jsx("div",{className:"h-full bg-green-500 rounded-full transition-all",style:{width:`${r}%`}})}),O.jsxs("p",{className:"text-xs text-gray-500 mt-1",children:[t,"/",i," done (",r,"%)"]})]})}function bS({milestones:t,onMilestoneClick:i}){if(t.length===0)return O.jsx("p",{className:"text-sm text-gray-400 py-3",children:"No milestones"});const r=[...t].sort((a,o)=>!a.dueDate&&!o.dueDate?0:a.dueDate?o.dueDate?new Date(a.dueDate).getTime()-new Date(o.dueDate).getTime():-1:1);return O.jsx("div",{className:"flex gap-3 overflow-x-auto pb-2",children:r.map(a=>{const o=a.doneCount??0,s=a.taskCount??0,c=a.dueDate&&a.state!=="CLOSED"&&new Date(a.dueDate)<new Date;return O.jsxs("button",{type:"button",onClick:()=>i(a),className:"flex-shrink-0 w-48 bg-white border border-gray-200 rounded-lg p-3 hover:border-blue-400 hover:shadow-sm transition-all cursor-pointer text-left",children:[O.jsx("p",{className:"text-sm font-semibold text-gray-800 truncate mb-1",children:a.title}),a.dueDate&&O.jsxs("p",{className:`text-xs mb-2 ${c?"text-red-500 font-medium":"text-gray-400"}`,children:["Due ",new Date(a.dueDate).toLocaleDateString()]}),O.jsx(vS,{done:o,total:s})]},a.id)})})}const go=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function cr(t){const i=Object.prototype.toString.call(t);return i==="[object Window]"||i==="[object global]"}function Hf(t){return"nodeType"in t}function Lt(t){var i,r;return t?cr(t)?t:Hf(t)&&(i=(r=t.ownerDocument)==null?void 0:r.defaultView)!=null?i:window:window}function qf(t){const{Document:i}=Lt(t);return t instanceof i}function ka(t){return cr(t)?!1:t instanceof Lt(t).HTMLElement}function Vy(t){return t instanceof Lt(t).SVGElement}function fr(t){return t?cr(t)?t.document:Hf(t)?qf(t)?t:ka(t)||Vy(t)?t.ownerDocument:document:document:document}const hl=go?C.useLayoutEffect:C.useEffect;function yo(t){const i=C.useRef(t);return hl(()=>{i.current=t}),C.useCallback(function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return i.current==null?void 0:i.current(...a)},[])}function xS(){const t=C.useRef(null),i=C.useCallback((a,o)=>{t.current=setInterval(a,o)},[]),r=C.useCallback(()=>{t.current!==null&&(clearInterval(t.current),t.current=null)},[]);return[i,r]}function ba(t,i){i===void 0&&(i=[t]);const r=C.useRef(t);return hl(()=>{r.current!==t&&(r.current=t)},i),r}function Da(t,i){const r=C.useRef();return C.useMemo(()=>{const a=t(r.current);return r.current=a,a},[...i])}function lo(t){const i=yo(t),r=C.useRef(null),a=C.useCallback(o=>{o!==r.current&&(i==null||i(o,r.current)),r.current=o},[]);return[r,a]}function io(t){const i=C.useRef();return C.useEffect(()=>{i.current=t},[t]),i.current}let Qc={};function vo(t,i){return C.useMemo(()=>{if(i)return i;const r=Qc[t]==null?0:Qc[t]+1;return Qc[t]=r,t+"-"+r},[t,i])}function Xy(t){return function(i){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return a.reduce((s,c)=>{const h=Object.entries(c);for(const[p,m]of h){const y=s[p];y!=null&&(s[p]=y+t*m)}return s},{...i})}}const ir=Xy(1),ro=Xy(-1);function SS(t){return"clientX"in t&&"clientY"in t}function Yf(t){if(!t)return!1;const{KeyboardEvent:i}=Lt(t.target);return i&&t instanceof i}function ES(t){if(!t)return!1;const{TouchEvent:i}=Lt(t.target);return i&&t instanceof i}function ao(t){if(ES(t)){if(t.touches&&t.touches.length){const{clientX:i,clientY:r}=t.touches[0];return{x:i,y:r}}else if(t.changedTouches&&t.changedTouches.length){const{clientX:i,clientY:r}=t.changedTouches[0];return{x:i,y:r}}}return SS(t)?{x:t.clientX,y:t.clientY}:null}const ar=Object.freeze({Translate:{toString(t){if(!t)return;const{x:i,y:r}=t;return"translate3d("+(i?Math.round(i):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(t){if(!t)return;const{scaleX:i,scaleY:r}=t;return"scaleX("+i+") scaleY("+r+")"}},Transform:{toString(t){if(t)return[ar.Translate.toString(t),ar.Scale.toString(t)].join(" ")}},Transition:{toString(t){let{property:i,duration:r,easing:a}=t;return i+" "+r+"ms "+a}}}),vg="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function wS(t){return t.matches(vg)?t:t.querySelector(vg)}const CS={display:"none"};function TS(t){let{id:i,value:r}=t;return at.createElement("div",{id:i,style:CS},r)}function AS(t){let{id:i,announcement:r,ariaLiveType:a="assertive"}=t;const o={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return at.createElement("div",{id:i,style:o,role:"status","aria-live":a,"aria-atomic":!0},r)}function kS(){const[t,i]=C.useState("");return{announce:C.useCallback(a=>{a!=null&&i(a)},[]),announcement:t}}const Gy=C.createContext(null);function DS(t){const i=C.useContext(Gy);C.useEffect(()=>{if(!i)throw new Error("useDndMonitor must be used within a children of <DndContext>");return i(t)},[t,i])}function zS(){const[t]=C.useState(()=>new Set),i=C.useCallback(a=>(t.add(a),()=>t.delete(a)),[t]);return[C.useCallback(a=>{let{type:o,event:s}=a;t.forEach(c=>{var h;return(h=c[o])==null?void 0:h.call(c,s)})},[t]),i]}const RS={draggable:`
61
+ To pick up a draggable item, press the space bar.
62
+ While dragging, use the arrow keys to move the item.
63
+ Press space again to drop the item in its new position, or press escape to cancel.
64
+ `},OS={onDragStart(t){let{active:i}=t;return"Picked up draggable item "+i.id+"."},onDragOver(t){let{active:i,over:r}=t;return r?"Draggable item "+i.id+" was moved over droppable area "+r.id+".":"Draggable item "+i.id+" is no longer over a droppable area."},onDragEnd(t){let{active:i,over:r}=t;return r?"Draggable item "+i.id+" was dropped over droppable area "+r.id:"Draggable item "+i.id+" was dropped."},onDragCancel(t){let{active:i}=t;return"Dragging was cancelled. Draggable item "+i.id+" was dropped."}};function MS(t){let{announcements:i=OS,container:r,hiddenTextDescribedById:a,screenReaderInstructions:o=RS}=t;const{announce:s,announcement:c}=kS(),h=vo("DndLiveRegion"),[p,m]=C.useState(!1);if(C.useEffect(()=>{m(!0)},[]),DS(C.useMemo(()=>({onDragStart(g){let{active:x}=g;s(i.onDragStart({active:x}))},onDragMove(g){let{active:x,over:b}=g;i.onDragMove&&s(i.onDragMove({active:x,over:b}))},onDragOver(g){let{active:x,over:b}=g;s(i.onDragOver({active:x,over:b}))},onDragEnd(g){let{active:x,over:b}=g;s(i.onDragEnd({active:x,over:b}))},onDragCancel(g){let{active:x,over:b}=g;s(i.onDragCancel({active:x,over:b}))}}),[s,i])),!p)return null;const y=at.createElement(at.Fragment,null,at.createElement(TS,{id:a,value:o.draggable}),at.createElement(AS,{id:h,announcement:c}));return r?fa.createPortal(y,r):y}var mt;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(mt||(mt={}));function uo(){}function NS(t,i){return C.useMemo(()=>({sensor:t,options:i??{}}),[t,i])}function _S(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return C.useMemo(()=>[...i].filter(a=>a!=null),[...i])}const Nn=Object.freeze({x:0,y:0});function LS(t,i){const r=ao(t);if(!r)return"0 0";const a={x:(r.x-i.left)/i.width*100,y:(r.y-i.top)/i.height*100};return a.x+"% "+a.y+"%"}function jS(t,i){let{data:{value:r}}=t,{data:{value:a}}=i;return a-r}function BS(t,i){if(!t||t.length===0)return null;const[r]=t;return r[i]}function US(t,i){const r=Math.max(i.top,t.top),a=Math.max(i.left,t.left),o=Math.min(i.left+i.width,t.left+t.width),s=Math.min(i.top+i.height,t.top+t.height),c=o-a,h=s-r;if(a<o&&r<s){const p=i.width*i.height,m=t.width*t.height,y=c*h,g=y/(p+m-y);return Number(g.toFixed(4))}return 0}const HS=t=>{let{collisionRect:i,droppableRects:r,droppableContainers:a}=t;const o=[];for(const s of a){const{id:c}=s,h=r.get(c);if(h){const p=US(h,i);p>0&&o.push({id:c,data:{droppableContainer:s,value:p}})}}return o.sort(jS)};function qS(t,i,r){return{...t,scaleX:i&&r?i.width/r.width:1,scaleY:i&&r?i.height/r.height:1}}function Qy(t,i){return t&&i?{x:t.left-i.left,y:t.top-i.top}:Nn}function YS(t){return function(r){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return o.reduce((c,h)=>({...c,top:c.top+t*h.y,bottom:c.bottom+t*h.y,left:c.left+t*h.x,right:c.right+t*h.x}),{...r})}}const VS=YS(1);function Fy(t){if(t.startsWith("matrix3d(")){const i=t.slice(9,-1).split(/, /);return{x:+i[12],y:+i[13],scaleX:+i[0],scaleY:+i[5]}}else if(t.startsWith("matrix(")){const i=t.slice(7,-1).split(/, /);return{x:+i[4],y:+i[5],scaleX:+i[0],scaleY:+i[3]}}return null}function XS(t,i,r){const a=Fy(i);if(!a)return t;const{scaleX:o,scaleY:s,x:c,y:h}=a,p=t.left-c-(1-o)*parseFloat(r),m=t.top-h-(1-s)*parseFloat(r.slice(r.indexOf(" ")+1)),y=o?t.width/o:t.width,g=s?t.height/s:t.height;return{width:y,height:g,top:m,right:p+y,bottom:m+g,left:p}}const GS={ignoreTransform:!1};function za(t,i){i===void 0&&(i=GS);let r=t.getBoundingClientRect();if(i.ignoreTransform){const{transform:m,transformOrigin:y}=Lt(t).getComputedStyle(t);m&&(r=XS(r,m,y))}const{top:a,left:o,width:s,height:c,bottom:h,right:p}=r;return{top:a,left:o,width:s,height:c,bottom:h,right:p}}function bg(t){return za(t,{ignoreTransform:!0})}function QS(t){const i=t.innerWidth,r=t.innerHeight;return{top:0,left:0,right:i,bottom:r,width:i,height:r}}function FS(t,i){return i===void 0&&(i=Lt(t).getComputedStyle(t)),i.position==="fixed"}function ZS(t,i){i===void 0&&(i=Lt(t).getComputedStyle(t));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(o=>{const s=i[o];return typeof s=="string"?r.test(s):!1})}function Vf(t,i){const r=[];function a(o){if(i!=null&&r.length>=i||!o)return r;if(qf(o)&&o.scrollingElement!=null&&!r.includes(o.scrollingElement))return r.push(o.scrollingElement),r;if(!ka(o)||Vy(o)||r.includes(o))return r;const s=Lt(t).getComputedStyle(o);return o!==t&&ZS(o,s)&&r.push(o),FS(o,s)?r:a(o.parentNode)}return t?a(t):r}function Zy(t){const[i]=Vf(t,1);return i??null}function Fc(t){return!go||!t?null:cr(t)?t:Hf(t)?qf(t)||t===fr(t).scrollingElement?window:ka(t)?t:null:null}function Ky(t){return cr(t)?t.scrollX:t.scrollLeft}function Jy(t){return cr(t)?t.scrollY:t.scrollTop}function pf(t){return{x:Ky(t),y:Jy(t)}}var xt;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(xt||(xt={}));function Iy(t){return!go||!t?!1:t===document.scrollingElement}function $y(t){const i={x:0,y:0},r=Iy(t)?{height:window.innerHeight,width:window.innerWidth}:{height:t.clientHeight,width:t.clientWidth},a={x:t.scrollWidth-r.width,y:t.scrollHeight-r.height},o=t.scrollTop<=i.y,s=t.scrollLeft<=i.x,c=t.scrollTop>=a.y,h=t.scrollLeft>=a.x;return{isTop:o,isLeft:s,isBottom:c,isRight:h,maxScroll:a,minScroll:i}}const KS={x:.2,y:.2};function JS(t,i,r,a,o){let{top:s,left:c,right:h,bottom:p}=r;a===void 0&&(a=10),o===void 0&&(o=KS);const{isTop:m,isBottom:y,isLeft:g,isRight:x}=$y(t),b={x:0,y:0},w={x:0,y:0},z={height:i.height*o.y,width:i.width*o.x};return!m&&s<=i.top+z.height?(b.y=xt.Backward,w.y=a*Math.abs((i.top+z.height-s)/z.height)):!y&&p>=i.bottom-z.height&&(b.y=xt.Forward,w.y=a*Math.abs((i.bottom-z.height-p)/z.height)),!x&&h>=i.right-z.width?(b.x=xt.Forward,w.x=a*Math.abs((i.right-z.width-h)/z.width)):!g&&c<=i.left+z.width&&(b.x=xt.Backward,w.x=a*Math.abs((i.left+z.width-c)/z.width)),{direction:b,speed:w}}function IS(t){if(t===document.scrollingElement){const{innerWidth:s,innerHeight:c}=window;return{top:0,left:0,right:s,bottom:c,width:s,height:c}}const{top:i,left:r,right:a,bottom:o}=t.getBoundingClientRect();return{top:i,left:r,right:a,bottom:o,width:t.clientWidth,height:t.clientHeight}}function Py(t){return t.reduce((i,r)=>ir(i,pf(r)),Nn)}function $S(t){return t.reduce((i,r)=>i+Ky(r),0)}function PS(t){return t.reduce((i,r)=>i+Jy(r),0)}function Wy(t,i){if(i===void 0&&(i=za),!t)return;const{top:r,left:a,bottom:o,right:s}=i(t);Zy(t)&&(o<=0||s<=0||r>=window.innerHeight||a>=window.innerWidth)&&t.scrollIntoView({block:"center",inline:"center"})}const WS=[["x",["left","right"],$S],["y",["top","bottom"],PS]];class Xf{constructor(i,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const a=Vf(r),o=Py(a);this.rect={...i},this.width=i.width,this.height=i.height;for(const[s,c,h]of WS)for(const p of c)Object.defineProperty(this,p,{get:()=>{const m=h(a),y=o[s]-m;return this.rect[p]+y},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class da{constructor(i){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var a;return(a=this.target)==null?void 0:a.removeEventListener(...r)})},this.target=i}add(i,r,a){var o;(o=this.target)==null||o.addEventListener(i,r,a),this.listeners.push([i,r,a])}}function eE(t){const{EventTarget:i}=Lt(t);return t instanceof i?t:fr(t)}function Zc(t,i){const r=Math.abs(t.x),a=Math.abs(t.y);return typeof i=="number"?Math.sqrt(r**2+a**2)>i:"x"in i&&"y"in i?r>i.x&&a>i.y:"x"in i?r>i.x:"y"in i?a>i.y:!1}var wn;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(wn||(wn={}));function xg(t){t.preventDefault()}function tE(t){t.stopPropagation()}var Ge;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(Ge||(Ge={}));const e0={start:[Ge.Space,Ge.Enter],cancel:[Ge.Esc],end:[Ge.Space,Ge.Enter,Ge.Tab]},nE=(t,i)=>{let{currentCoordinates:r}=i;switch(t.code){case Ge.Right:return{...r,x:r.x+25};case Ge.Left:return{...r,x:r.x-25};case Ge.Down:return{...r,y:r.y+25};case Ge.Up:return{...r,y:r.y-25}}};class t0{constructor(i){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=i;const{event:{target:r}}=i;this.props=i,this.listeners=new da(fr(r)),this.windowListeners=new da(Lt(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(wn.Resize,this.handleCancel),this.windowListeners.add(wn.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(wn.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:i,onStart:r}=this.props,a=i.node.current;a&&Wy(a),r(Nn)}handleKeyDown(i){if(Yf(i)){const{active:r,context:a,options:o}=this.props,{keyboardCodes:s=e0,coordinateGetter:c=nE,scrollBehavior:h="smooth"}=o,{code:p}=i;if(s.end.includes(p)){this.handleEnd(i);return}if(s.cancel.includes(p)){this.handleCancel(i);return}const{collisionRect:m}=a.current,y=m?{x:m.left,y:m.top}:Nn;this.referenceCoordinates||(this.referenceCoordinates=y);const g=c(i,{active:r,context:a.current,currentCoordinates:y});if(g){const x=ro(g,y),b={x:0,y:0},{scrollableAncestors:w}=a.current;for(const z of w){const k=i.code,{isTop:T,isRight:B,isLeft:_,isBottom:W,maxScroll:I,minScroll:L}=$y(z),Z=IS(z),le={x:Math.min(k===Ge.Right?Z.right-Z.width/2:Z.right,Math.max(k===Ge.Right?Z.left:Z.left+Z.width/2,g.x)),y:Math.min(k===Ge.Down?Z.bottom-Z.height/2:Z.bottom,Math.max(k===Ge.Down?Z.top:Z.top+Z.height/2,g.y))},ae=k===Ge.Right&&!B||k===Ge.Left&&!_,j=k===Ge.Down&&!W||k===Ge.Up&&!T;if(ae&&le.x!==g.x){const ee=z.scrollLeft+x.x,P=k===Ge.Right&&ee<=I.x||k===Ge.Left&&ee>=L.x;if(P&&!x.y){z.scrollTo({left:ee,behavior:h});return}P?b.x=z.scrollLeft-ee:b.x=k===Ge.Right?z.scrollLeft-I.x:z.scrollLeft-L.x,b.x&&z.scrollBy({left:-b.x,behavior:h});break}else if(j&&le.y!==g.y){const ee=z.scrollTop+x.y,P=k===Ge.Down&&ee<=I.y||k===Ge.Up&&ee>=L.y;if(P&&!x.x){z.scrollTo({top:ee,behavior:h});return}P?b.y=z.scrollTop-ee:b.y=k===Ge.Down?z.scrollTop-I.y:z.scrollTop-L.y,b.y&&z.scrollBy({top:-b.y,behavior:h});break}}this.handleMove(i,ir(ro(g,this.referenceCoordinates),b))}}}handleMove(i,r){const{onMove:a}=this.props;i.preventDefault(),a(r)}handleEnd(i){const{onEnd:r}=this.props;i.preventDefault(),this.detach(),r()}handleCancel(i){const{onCancel:r}=this.props;i.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}t0.activators=[{eventName:"onKeyDown",handler:(t,i,r)=>{let{keyboardCodes:a=e0,onActivation:o}=i,{active:s}=r;const{code:c}=t.nativeEvent;if(a.start.includes(c)){const h=s.activatorNode.current;return h&&t.target!==h?!1:(t.preventDefault(),o==null||o({event:t.nativeEvent}),!0)}return!1}}];function Sg(t){return!!(t&&"distance"in t)}function Eg(t){return!!(t&&"delay"in t)}class Gf{constructor(i,r,a){var o;a===void 0&&(a=eE(i.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=i,this.events=r;const{event:s}=i,{target:c}=s;this.props=i,this.events=r,this.document=fr(c),this.documentListeners=new da(this.document),this.listeners=new da(a),this.windowListeners=new da(Lt(c)),this.initialCoordinates=(o=ao(s))!=null?o:Nn,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:i,props:{options:{activationConstraint:r,bypassActivationConstraint:a}}}=this;if(this.listeners.add(i.move.name,this.handleMove,{passive:!1}),this.listeners.add(i.end.name,this.handleEnd),i.cancel&&this.listeners.add(i.cancel.name,this.handleCancel),this.windowListeners.add(wn.Resize,this.handleCancel),this.windowListeners.add(wn.DragStart,xg),this.windowListeners.add(wn.VisibilityChange,this.handleCancel),this.windowListeners.add(wn.ContextMenu,xg),this.documentListeners.add(wn.Keydown,this.handleKeydown),r){if(a!=null&&a({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Eg(r)){this.timeoutId=setTimeout(this.handleStart,r.delay),this.handlePending(r);return}if(Sg(r)){this.handlePending(r);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(i,r){const{active:a,onPending:o}=this.props;o(a,i,this.initialCoordinates,r)}handleStart(){const{initialCoordinates:i}=this,{onStart:r}=this.props;i&&(this.activated=!0,this.documentListeners.add(wn.Click,tE,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(wn.SelectionChange,this.removeTextSelection),r(i))}handleMove(i){var r;const{activated:a,initialCoordinates:o,props:s}=this,{onMove:c,options:{activationConstraint:h}}=s;if(!o)return;const p=(r=ao(i))!=null?r:Nn,m=ro(o,p);if(!a&&h){if(Sg(h)){if(h.tolerance!=null&&Zc(m,h.tolerance))return this.handleCancel();if(Zc(m,h.distance))return this.handleStart()}if(Eg(h)&&Zc(m,h.tolerance))return this.handleCancel();this.handlePending(h,m);return}i.cancelable&&i.preventDefault(),c(p)}handleEnd(){const{onAbort:i,onEnd:r}=this.props;this.detach(),this.activated||i(this.props.active),r()}handleCancel(){const{onAbort:i,onCancel:r}=this.props;this.detach(),this.activated||i(this.props.active),r()}handleKeydown(i){i.code===Ge.Esc&&this.handleCancel()}removeTextSelection(){var i;(i=this.document.getSelection())==null||i.removeAllRanges()}}const lE={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class Qf extends Gf{constructor(i){const{event:r}=i,a=fr(r.target);super(i,lE,a)}}Qf.activators=[{eventName:"onPointerDown",handler:(t,i)=>{let{nativeEvent:r}=t,{onActivation:a}=i;return!r.isPrimary||r.button!==0?!1:(a==null||a({event:r}),!0)}}];const iE={move:{name:"mousemove"},end:{name:"mouseup"}};var gf;(function(t){t[t.RightClick=2]="RightClick"})(gf||(gf={}));class rE extends Gf{constructor(i){super(i,iE,fr(i.event.target))}}rE.activators=[{eventName:"onMouseDown",handler:(t,i)=>{let{nativeEvent:r}=t,{onActivation:a}=i;return r.button===gf.RightClick?!1:(a==null||a({event:r}),!0)}}];const Kc={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class aE extends Gf{constructor(i){super(i,Kc)}static setup(){return window.addEventListener(Kc.move.name,i,{capture:!1,passive:!1}),function(){window.removeEventListener(Kc.move.name,i)};function i(){}}}aE.activators=[{eventName:"onTouchStart",handler:(t,i)=>{let{nativeEvent:r}=t,{onActivation:a}=i;const{touches:o}=r;return o.length>1?!1:(a==null||a({event:r}),!0)}}];var ha;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(ha||(ha={}));var oo;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(oo||(oo={}));function uE(t){let{acceleration:i,activator:r=ha.Pointer,canScroll:a,draggingRect:o,enabled:s,interval:c=5,order:h=oo.TreeOrder,pointerCoordinates:p,scrollableAncestors:m,scrollableAncestorRects:y,delta:g,threshold:x}=t;const b=sE({delta:g,disabled:!s}),[w,z]=xS(),k=C.useRef({x:0,y:0}),T=C.useRef({x:0,y:0}),B=C.useMemo(()=>{switch(r){case ha.Pointer:return p?{top:p.y,bottom:p.y,left:p.x,right:p.x}:null;case ha.DraggableRect:return o}},[r,o,p]),_=C.useRef(null),W=C.useCallback(()=>{const L=_.current;if(!L)return;const Z=k.current.x*T.current.x,le=k.current.y*T.current.y;L.scrollBy(Z,le)},[]),I=C.useMemo(()=>h===oo.TreeOrder?[...m].reverse():m,[h,m]);C.useEffect(()=>{if(!s||!m.length||!B){z();return}for(const L of I){if((a==null?void 0:a(L))===!1)continue;const Z=m.indexOf(L),le=y[Z];if(!le)continue;const{direction:ae,speed:j}=JS(L,le,B,i,x);for(const ee of["x","y"])b[ee][ae[ee]]||(j[ee]=0,ae[ee]=0);if(j.x>0||j.y>0){z(),_.current=L,w(W,c),k.current=j,T.current=ae;return}}k.current={x:0,y:0},T.current={x:0,y:0},z()},[i,W,a,z,s,c,JSON.stringify(B),JSON.stringify(b),w,m,I,y,JSON.stringify(x)])}const oE={x:{[xt.Backward]:!1,[xt.Forward]:!1},y:{[xt.Backward]:!1,[xt.Forward]:!1}};function sE(t){let{delta:i,disabled:r}=t;const a=io(i);return Da(o=>{if(r||!a||!o)return oE;const s={x:Math.sign(i.x-a.x),y:Math.sign(i.y-a.y)};return{x:{[xt.Backward]:o.x[xt.Backward]||s.x===-1,[xt.Forward]:o.x[xt.Forward]||s.x===1},y:{[xt.Backward]:o.y[xt.Backward]||s.y===-1,[xt.Forward]:o.y[xt.Forward]||s.y===1}}},[r,i,a])}function cE(t,i){const r=i!=null?t.get(i):void 0,a=r?r.node.current:null;return Da(o=>{var s;return i==null?null:(s=a??o)!=null?s:null},[a,i])}function fE(t,i){return C.useMemo(()=>t.reduce((r,a)=>{const{sensor:o}=a,s=o.activators.map(c=>({eventName:c.eventName,handler:i(c.handler,a)}));return[...r,...s]},[]),[t,i])}var xa;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(xa||(xa={}));var yf;(function(t){t.Optimized="optimized"})(yf||(yf={}));const wg=new Map;function dE(t,i){let{dragging:r,dependencies:a,config:o}=i;const[s,c]=C.useState(null),{frequency:h,measure:p,strategy:m}=o,y=C.useRef(t),g=k(),x=ba(g),b=C.useCallback(function(T){T===void 0&&(T=[]),!x.current&&c(B=>B===null?T:B.concat(T.filter(_=>!B.includes(_))))},[x]),w=C.useRef(null),z=Da(T=>{if(g&&!r)return wg;if(!T||T===wg||y.current!==t||s!=null){const B=new Map;for(let _ of t){if(!_)continue;if(s&&s.length>0&&!s.includes(_.id)&&_.rect.current){B.set(_.id,_.rect.current);continue}const W=_.node.current,I=W?new Xf(p(W),W):null;_.rect.current=I,I&&B.set(_.id,I)}return B}return T},[t,s,r,g,p]);return C.useEffect(()=>{y.current=t},[t]),C.useEffect(()=>{g||b()},[r,g]),C.useEffect(()=>{s&&s.length>0&&c(null)},[JSON.stringify(s)]),C.useEffect(()=>{g||typeof h!="number"||w.current!==null||(w.current=setTimeout(()=>{b(),w.current=null},h))},[h,g,b,...a]),{droppableRects:z,measureDroppableContainers:b,measuringScheduled:s!=null};function k(){switch(m){case xa.Always:return!1;case xa.BeforeDragging:return r;default:return!r}}}function Ff(t,i){return Da(r=>t?r||(typeof i=="function"?i(t):t):null,[i,t])}function hE(t,i){return Ff(t,i)}function mE(t){let{callback:i,disabled:r}=t;const a=yo(i),o=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:s}=window;return new s(a)},[a,r]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function bo(t){let{callback:i,disabled:r}=t;const a=yo(i),o=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:s}=window;return new s(a)},[r]);return C.useEffect(()=>()=>o==null?void 0:o.disconnect(),[o]),o}function pE(t){return new Xf(za(t),t)}function Cg(t,i,r){i===void 0&&(i=pE);const[a,o]=C.useState(null);function s(){o(p=>{if(!t)return null;if(t.isConnected===!1){var m;return(m=p??r)!=null?m:null}const y=i(t);return JSON.stringify(p)===JSON.stringify(y)?p:y})}const c=mE({callback(p){if(t)for(const m of p){const{type:y,target:g}=m;if(y==="childList"&&g instanceof HTMLElement&&g.contains(t)){s();break}}}}),h=bo({callback:s});return hl(()=>{s(),t?(h==null||h.observe(t),c==null||c.observe(document.body,{childList:!0,subtree:!0})):(h==null||h.disconnect(),c==null||c.disconnect())},[t]),a}function gE(t){const i=Ff(t);return Qy(t,i)}const Tg=[];function yE(t){const i=C.useRef(t),r=Da(a=>t?a&&a!==Tg&&t&&i.current&&t.parentNode===i.current.parentNode?a:Vf(t):Tg,[t]);return C.useEffect(()=>{i.current=t},[t]),r}function vE(t){const[i,r]=C.useState(null),a=C.useRef(t),o=C.useCallback(s=>{const c=Fc(s.target);c&&r(h=>h?(h.set(c,pf(c)),new Map(h)):null)},[]);return C.useEffect(()=>{const s=a.current;if(t!==s){c(s);const h=t.map(p=>{const m=Fc(p);return m?(m.addEventListener("scroll",o,{passive:!0}),[m,pf(m)]):null}).filter(p=>p!=null);r(h.length?new Map(h):null),a.current=t}return()=>{c(t),c(s)};function c(h){h.forEach(p=>{const m=Fc(p);m==null||m.removeEventListener("scroll",o)})}},[o,t]),C.useMemo(()=>t.length?i?Array.from(i.values()).reduce((s,c)=>ir(s,c),Nn):Py(t):Nn,[t,i])}function Ag(t,i){i===void 0&&(i=[]);const r=C.useRef(null);return C.useEffect(()=>{r.current=null},i),C.useEffect(()=>{const a=t!==Nn;a&&!r.current&&(r.current=t),!a&&r.current&&(r.current=null)},[t]),r.current?ro(t,r.current):Nn}function bE(t){C.useEffect(()=>{if(!go)return;const i=t.map(r=>{let{sensor:a}=r;return a.setup==null?void 0:a.setup()});return()=>{for(const r of i)r==null||r()}},t.map(i=>{let{sensor:r}=i;return r}))}function xE(t,i){return C.useMemo(()=>t.reduce((r,a)=>{let{eventName:o,handler:s}=a;return r[o]=c=>{s(c,i)},r},{}),[t,i])}function n0(t){return C.useMemo(()=>t?QS(t):null,[t])}const kg=[];function SE(t,i){i===void 0&&(i=za);const[r]=t,a=n0(r?Lt(r):null),[o,s]=C.useState(kg);function c(){s(()=>t.length?t.map(p=>Iy(p)?a:new Xf(i(p),p)):kg)}const h=bo({callback:c});return hl(()=>{h==null||h.disconnect(),c(),t.forEach(p=>h==null?void 0:h.observe(p))},[t]),o}function l0(t){if(!t)return null;if(t.children.length>1)return t;const i=t.children[0];return ka(i)?i:t}function EE(t){let{measure:i}=t;const[r,a]=C.useState(null),o=C.useCallback(m=>{for(const{target:y}of m)if(ka(y)){a(g=>{const x=i(y);return g?{...g,width:x.width,height:x.height}:x});break}},[i]),s=bo({callback:o}),c=C.useCallback(m=>{const y=l0(m);s==null||s.disconnect(),y&&(s==null||s.observe(y)),a(y?i(y):null)},[i,s]),[h,p]=lo(c);return C.useMemo(()=>({nodeRef:h,rect:r,setRef:p}),[r,h,p])}const wE=[{sensor:Qf,options:{}},{sensor:t0,options:{}}],CE={current:{}},eo={draggable:{measure:bg},droppable:{measure:bg,strategy:xa.WhileDragging,frequency:yf.Optimized},dragOverlay:{measure:za}};class ma extends Map{get(i){var r;return i!=null&&(r=super.get(i))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(i=>{let{disabled:r}=i;return!r})}getNodeFor(i){var r,a;return(r=(a=this.get(i))==null?void 0:a.node.current)!=null?r:void 0}}const TE={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ma,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:uo},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eo,measureDroppableContainers:uo,windowRect:null,measuringScheduled:!1},i0={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:uo,draggableNodes:new Map,over:null,measureDroppableContainers:uo},Ra=C.createContext(i0),r0=C.createContext(TE);function AE(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ma}}}function kE(t,i){switch(i.type){case mt.DragStart:return{...t,draggable:{...t.draggable,initialCoordinates:i.initialCoordinates,active:i.active}};case mt.DragMove:return t.draggable.active==null?t:{...t,draggable:{...t.draggable,translate:{x:i.coordinates.x-t.draggable.initialCoordinates.x,y:i.coordinates.y-t.draggable.initialCoordinates.y}}};case mt.DragEnd:case mt.DragCancel:return{...t,draggable:{...t.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case mt.RegisterDroppable:{const{element:r}=i,{id:a}=r,o=new ma(t.droppable.containers);return o.set(a,r),{...t,droppable:{...t.droppable,containers:o}}}case mt.SetDroppableDisabled:{const{id:r,key:a,disabled:o}=i,s=t.droppable.containers.get(r);if(!s||a!==s.key)return t;const c=new ma(t.droppable.containers);return c.set(r,{...s,disabled:o}),{...t,droppable:{...t.droppable,containers:c}}}case mt.UnregisterDroppable:{const{id:r,key:a}=i,o=t.droppable.containers.get(r);if(!o||a!==o.key)return t;const s=new ma(t.droppable.containers);return s.delete(r),{...t,droppable:{...t.droppable,containers:s}}}default:return t}}function DE(t){let{disabled:i}=t;const{active:r,activatorEvent:a,draggableNodes:o}=C.useContext(Ra),s=io(a),c=io(r==null?void 0:r.id);return C.useEffect(()=>{if(!i&&!a&&s&&c!=null){if(!Yf(s)||document.activeElement===s.target)return;const h=o.get(c);if(!h)return;const{activatorNode:p,node:m}=h;if(!p.current&&!m.current)return;requestAnimationFrame(()=>{for(const y of[p.current,m.current]){if(!y)continue;const g=wS(y);if(g){g.focus();break}}})}},[a,i,o,c,s]),null}function a0(t,i){let{transform:r,...a}=i;return t!=null&&t.length?t.reduce((o,s)=>s({transform:o,...a}),r):r}function zE(t){return C.useMemo(()=>({draggable:{...eo.draggable,...t==null?void 0:t.draggable},droppable:{...eo.droppable,...t==null?void 0:t.droppable},dragOverlay:{...eo.dragOverlay,...t==null?void 0:t.dragOverlay}}),[t==null?void 0:t.draggable,t==null?void 0:t.droppable,t==null?void 0:t.dragOverlay])}function RE(t){let{activeNode:i,measure:r,initialRect:a,config:o=!0}=t;const s=C.useRef(!1),{x:c,y:h}=typeof o=="boolean"?{x:o,y:o}:o;hl(()=>{if(!c&&!h||!i){s.current=!1;return}if(s.current||!a)return;const m=i==null?void 0:i.node.current;if(!m||m.isConnected===!1)return;const y=r(m),g=Qy(y,a);if(c||(g.x=0),h||(g.y=0),s.current=!0,Math.abs(g.x)>0||Math.abs(g.y)>0){const x=Zy(m);x&&x.scrollBy({top:g.y,left:g.x})}},[i,c,h,a,r])}const xo=C.createContext({...Nn,scaleX:1,scaleY:1});var Vl;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(Vl||(Vl={}));const OE=C.memo(function(i){var r,a,o,s;let{id:c,accessibility:h,autoScroll:p=!0,children:m,sensors:y=wE,collisionDetection:g=HS,measuring:x,modifiers:b,...w}=i;const z=C.useReducer(kE,void 0,AE),[k,T]=z,[B,_]=zS(),[W,I]=C.useState(Vl.Uninitialized),L=W===Vl.Initialized,{draggable:{active:Z,nodes:le,translate:ae},droppable:{containers:j}}=k,ee=Z!=null?le.get(Z):null,P=C.useRef({initial:null,translated:null}),fe=C.useMemo(()=>{var nt;return Z!=null?{id:Z,data:(nt=ee==null?void 0:ee.data)!=null?nt:CE,rect:P}:null},[Z,ee]),ie=C.useRef(null),[$,U]=C.useState(null),[J,se]=C.useState(null),ye=ba(w,Object.values(w)),A=vo("DndDescribedBy",c),R=C.useMemo(()=>j.getEnabled(),[j]),X=zE(x),{droppableRects:E,measureDroppableContainers:re,measuringScheduled:me}=dE(R,{dragging:L,dependencies:[ae.x,ae.y],config:X.droppable}),ue=cE(le,Z),we=C.useMemo(()=>J?ao(J):null,[J]),Ve=gi(),_e=hE(ue,X.draggable.measure);RE({activeNode:Z!=null?le.get(Z):null,config:Ve.layoutShiftCompensation,initialRect:_e,measure:X.draggable.measure});const Je=Cg(ue,X.draggable.measure,_e),Jt=Cg(ue?ue.parentElement:null),It=C.useRef({activatorEvent:null,active:null,activeNode:ue,collisionRect:null,collisions:null,droppableRects:E,draggableNodes:le,draggingNode:null,draggingNodeRect:null,droppableContainers:j,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ql=j.getNodeFor((r=It.current.over)==null?void 0:r.id),St=EE({measure:X.dragOverlay.measure}),An=(a=St.nodeRef.current)!=null?a:ue,$t=L?(o=St.rect)!=null?o:Je:null,Fl=!!(St.nodeRef.current&&St.rect),Zl=gE(Fl?null:Je),Ln=n0(An?Lt(An):null),Mt=yE(L?Ql??ue:null),jn=SE(Mt),pl=a0(b,{transform:{x:ae.x-Zl.x,y:ae.y-Zl.y,scaleX:1,scaleY:1},activatorEvent:J,active:fe,activeNodeRect:Je,containerNodeRect:Jt,draggingNodeRect:$t,over:It.current.over,overlayNodeRect:St.rect,scrollableAncestors:Mt,scrollableAncestorRects:jn,windowRect:Ln}),mi=we?ir(we,ae):null,pt=vE(Mt),mr=Ag(pt),Q=Ag(pt,[Je]),ne=ir(pl,mr),de=$t?VS($t,pl):null,be=fe&&de?g({active:fe,collisionRect:de,droppableRects:E,droppableContainers:R,pointerCoordinates:mi}):null,Oe=BS(be,"id"),[Pe,sn]=C.useState(null),Et=Fl?pl:ir(pl,Q),tt=qS(Et,(s=Pe==null?void 0:Pe.rect)!=null?s:null,Je),gt=C.useRef(null),je=C.useCallback((nt,lt)=>{let{sensor:yt,options:Bt}=lt;if(ie.current==null)return;const Ut=le.get(ie.current);if(!Ut)return;const Dt=nt.nativeEvent,Ht=new yt({active:ie.current,activeNode:Ut,event:Dt,options:Bt,context:It,onAbort(dt){if(!le.get(dt))return;const{onDragAbort:Pt}=ye.current,fn={id:dt};Pt==null||Pt(fn),B({type:"onDragAbort",event:fn})},onPending(dt,kn,Pt,fn){if(!le.get(dt))return;const{onDragPending:Zn}=ye.current,Dn={id:dt,constraint:kn,initialCoordinates:Pt,offset:fn};Zn==null||Zn(Dn),B({type:"onDragPending",event:Dn})},onStart(dt){const kn=ie.current;if(kn==null)return;const Pt=le.get(kn);if(!Pt)return;const{onDragStart:fn}=ye.current,Fn={activatorEvent:Dt,active:{id:kn,data:Pt.data,rect:P}};fa.unstable_batchedUpdates(()=>{fn==null||fn(Fn),I(Vl.Initializing),T({type:mt.DragStart,initialCoordinates:dt,active:kn}),B({type:"onDragStart",event:Fn}),U(gt.current),se(Dt)})},onMove(dt){T({type:mt.DragMove,coordinates:dt})},onEnd:cn(mt.DragEnd),onCancel:cn(mt.DragCancel)});gt.current=Ht;function cn(dt){return async function(){const{active:Pt,collisions:fn,over:Fn,scrollAdjustedTranslate:Zn}=It.current;let Dn=null;if(Pt&&Zn){const{cancelDrop:gl}=ye.current;Dn={activatorEvent:Dt,active:Pt,collisions:fn,delta:Zn,over:Fn},dt===mt.DragEnd&&typeof gl=="function"&&await Promise.resolve(gl(Dn))&&(dt=mt.DragCancel)}ie.current=null,fa.unstable_batchedUpdates(()=>{T({type:dt}),I(Vl.Uninitialized),sn(null),U(null),se(null),gt.current=null;const gl=dt===mt.DragEnd?"onDragEnd":"onDragCancel";if(Dn){const dn=ye.current[gl];dn==null||dn(Dn),B({type:gl,event:Dn})}})}}},[le]),Bn=C.useCallback((nt,lt)=>(yt,Bt)=>{const Ut=yt.nativeEvent,Dt=le.get(Bt);if(ie.current!==null||!Dt||Ut.dndKit||Ut.defaultPrevented)return;const Ht={active:Dt};nt(yt,lt.options,Ht)===!0&&(Ut.dndKit={capturedBy:lt.sensor},ie.current=Bt,je(yt,lt))},[le,je]),jt=fE(y,Bn);bE(y),hl(()=>{Je&&W===Vl.Initializing&&I(Vl.Initialized)},[Je,W]),C.useEffect(()=>{const{onDragMove:nt}=ye.current,{active:lt,activatorEvent:yt,collisions:Bt,over:Ut}=It.current;if(!lt||!yt)return;const Dt={active:lt,activatorEvent:yt,collisions:Bt,delta:{x:ne.x,y:ne.y},over:Ut};fa.unstable_batchedUpdates(()=>{nt==null||nt(Dt),B({type:"onDragMove",event:Dt})})},[ne.x,ne.y]),C.useEffect(()=>{const{active:nt,activatorEvent:lt,collisions:yt,droppableContainers:Bt,scrollAdjustedTranslate:Ut}=It.current;if(!nt||ie.current==null||!lt||!Ut)return;const{onDragOver:Dt}=ye.current,Ht=Bt.get(Oe),cn=Ht&&Ht.rect.current?{id:Ht.id,rect:Ht.rect.current,data:Ht.data,disabled:Ht.disabled}:null,dt={active:nt,activatorEvent:lt,collisions:yt,delta:{x:Ut.x,y:Ut.y},over:cn};fa.unstable_batchedUpdates(()=>{sn(cn),Dt==null||Dt(dt),B({type:"onDragOver",event:dt})})},[Oe]),hl(()=>{It.current={activatorEvent:J,active:fe,activeNode:ue,collisionRect:de,collisions:be,droppableRects:E,draggableNodes:le,draggingNode:An,draggingNodeRect:$t,droppableContainers:j,over:Pe,scrollableAncestors:Mt,scrollAdjustedTranslate:ne},P.current={initial:$t,translated:de}},[fe,ue,be,de,le,An,$t,E,j,Pe,Mt,ne]),uE({...Ve,delta:ae,draggingRect:de,pointerCoordinates:mi,scrollableAncestors:Mt,scrollableAncestorRects:jn});const Ao=C.useMemo(()=>({active:fe,activeNode:ue,activeNodeRect:Je,activatorEvent:J,collisions:be,containerNodeRect:Jt,dragOverlay:St,draggableNodes:le,droppableContainers:j,droppableRects:E,over:Pe,measureDroppableContainers:re,scrollableAncestors:Mt,scrollableAncestorRects:jn,measuringConfiguration:X,measuringScheduled:me,windowRect:Ln}),[fe,ue,Je,J,be,Jt,St,le,j,E,Pe,re,Mt,jn,X,me,Ln]),pi=C.useMemo(()=>({activatorEvent:J,activators:jt,active:fe,activeNodeRect:Je,ariaDescribedById:{draggable:A},dispatch:T,draggableNodes:le,over:Pe,measureDroppableContainers:re}),[J,jt,fe,Je,T,A,le,Pe,re]);return at.createElement(Gy.Provider,{value:_},at.createElement(Ra.Provider,{value:pi},at.createElement(r0.Provider,{value:Ao},at.createElement(xo.Provider,{value:tt},m)),at.createElement(DE,{disabled:(h==null?void 0:h.restoreFocus)===!1})),at.createElement(MS,{...h,hiddenTextDescribedById:A}));function gi(){const nt=($==null?void 0:$.autoScrollEnabled)===!1,lt=typeof p=="object"?p.enabled===!1:p===!1,yt=L&&!nt&&!lt;return typeof p=="object"?{...p,enabled:yt}:{enabled:yt}}}),ME=C.createContext(null),Dg="button",NE="Draggable";function _E(t){let{id:i,data:r,disabled:a=!1,attributes:o}=t;const s=vo(NE),{activators:c,activatorEvent:h,active:p,activeNodeRect:m,ariaDescribedById:y,draggableNodes:g,over:x}=C.useContext(Ra),{role:b=Dg,roleDescription:w="draggable",tabIndex:z=0}=o??{},k=(p==null?void 0:p.id)===i,T=C.useContext(k?xo:ME),[B,_]=lo(),[W,I]=lo(),L=xE(c,i),Z=ba(r);hl(()=>(g.set(i,{id:i,key:s,node:B,activatorNode:W,data:Z}),()=>{const ae=g.get(i);ae&&ae.key===s&&g.delete(i)}),[g,i]);const le=C.useMemo(()=>({role:b,tabIndex:z,"aria-disabled":a,"aria-pressed":k&&b===Dg?!0:void 0,"aria-roledescription":w,"aria-describedby":y.draggable}),[a,b,z,k,w,y.draggable]);return{active:p,activatorEvent:h,activeNodeRect:m,attributes:le,isDragging:k,listeners:a?void 0:L,node:B,over:x,setNodeRef:_,setActivatorNodeRef:I,transform:T}}function LE(){return C.useContext(r0)}const jE="Droppable",BE={timeout:25};function UE(t){let{data:i,disabled:r=!1,id:a,resizeObserverConfig:o}=t;const s=vo(jE),{active:c,dispatch:h,over:p,measureDroppableContainers:m}=C.useContext(Ra),y=C.useRef({disabled:r}),g=C.useRef(!1),x=C.useRef(null),b=C.useRef(null),{disabled:w,updateMeasurementsFor:z,timeout:k}={...BE,...o},T=ba(z??a),B=C.useCallback(()=>{if(!g.current){g.current=!0;return}b.current!=null&&clearTimeout(b.current),b.current=setTimeout(()=>{m(Array.isArray(T.current)?T.current:[T.current]),b.current=null},k)},[k]),_=bo({callback:B,disabled:w||!c}),W=C.useCallback((le,ae)=>{_&&(ae&&(_.unobserve(ae),g.current=!1),le&&_.observe(le))},[_]),[I,L]=lo(W),Z=ba(i);return C.useEffect(()=>{!_||!I.current||(_.disconnect(),g.current=!1,_.observe(I.current))},[I,_]),C.useEffect(()=>(h({type:mt.RegisterDroppable,element:{id:a,key:s,disabled:r,node:I,rect:x,data:Z}}),()=>h({type:mt.UnregisterDroppable,key:s,id:a})),[a]),C.useEffect(()=>{r!==y.current.disabled&&(h({type:mt.SetDroppableDisabled,id:a,key:s,disabled:r}),y.current.disabled=r)},[a,s,r,h]),{active:c,rect:x,isOver:(p==null?void 0:p.id)===a,node:I,over:p,setNodeRef:L}}function HE(t){let{animation:i,children:r}=t;const[a,o]=C.useState(null),[s,c]=C.useState(null),h=io(r);return!r&&!a&&h&&o(h),hl(()=>{if(!s)return;const p=a==null?void 0:a.key,m=a==null?void 0:a.props.id;if(p==null||m==null){o(null);return}Promise.resolve(i(m,s)).then(()=>{o(null)})},[i,a,s]),at.createElement(at.Fragment,null,r,a?C.cloneElement(a,{ref:c}):null)}const qE={x:0,y:0,scaleX:1,scaleY:1};function YE(t){let{children:i}=t;return at.createElement(Ra.Provider,{value:i0},at.createElement(xo.Provider,{value:qE},i))}const VE={position:"fixed",touchAction:"none"},XE=t=>Yf(t)?"transform 250ms ease":void 0,GE=C.forwardRef((t,i)=>{let{as:r,activatorEvent:a,adjustScale:o,children:s,className:c,rect:h,style:p,transform:m,transition:y=XE}=t;if(!h)return null;const g=o?m:{...m,scaleX:1,scaleY:1},x={...VE,width:h.width,height:h.height,top:h.top,left:h.left,transform:ar.Transform.toString(g),transformOrigin:o&&a?LS(a,h):void 0,transition:typeof y=="function"?y(a):y,...p};return at.createElement(r,{className:c,style:x,ref:i},s)}),QE=t=>i=>{let{active:r,dragOverlay:a}=i;const o={},{styles:s,className:c}=t;if(s!=null&&s.active)for(const[h,p]of Object.entries(s.active))p!==void 0&&(o[h]=r.node.style.getPropertyValue(h),r.node.style.setProperty(h,p));if(s!=null&&s.dragOverlay)for(const[h,p]of Object.entries(s.dragOverlay))p!==void 0&&a.node.style.setProperty(h,p);return c!=null&&c.active&&r.node.classList.add(c.active),c!=null&&c.dragOverlay&&a.node.classList.add(c.dragOverlay),function(){for(const[p,m]of Object.entries(o))r.node.style.setProperty(p,m);c!=null&&c.active&&r.node.classList.remove(c.active)}},FE=t=>{let{transform:{initial:i,final:r}}=t;return[{transform:ar.Transform.toString(i)},{transform:ar.Transform.toString(r)}]},ZE={duration:250,easing:"ease",keyframes:FE,sideEffects:QE({styles:{active:{opacity:"0"}}})};function KE(t){let{config:i,draggableNodes:r,droppableContainers:a,measuringConfiguration:o}=t;return yo((s,c)=>{if(i===null)return;const h=r.get(s);if(!h)return;const p=h.node.current;if(!p)return;const m=l0(c);if(!m)return;const{transform:y}=Lt(c).getComputedStyle(c),g=Fy(y);if(!g)return;const x=typeof i=="function"?i:JE(i);return Wy(p,o.draggable.measure),x({active:{id:s,data:h.data,node:p,rect:o.draggable.measure(p)},draggableNodes:r,dragOverlay:{node:c,rect:o.dragOverlay.measure(m)},droppableContainers:a,measuringConfiguration:o,transform:g})})}function JE(t){const{duration:i,easing:r,sideEffects:a,keyframes:o}={...ZE,...t};return s=>{let{active:c,dragOverlay:h,transform:p,...m}=s;if(!i)return;const y={x:h.rect.left-c.rect.left,y:h.rect.top-c.rect.top},g={scaleX:p.scaleX!==1?c.rect.width*p.scaleX/h.rect.width:1,scaleY:p.scaleY!==1?c.rect.height*p.scaleY/h.rect.height:1},x={x:p.x-y.x,y:p.y-y.y,...g},b=o({...m,active:c,dragOverlay:h,transform:{initial:p,final:x}}),[w]=b,z=b[b.length-1];if(JSON.stringify(w)===JSON.stringify(z))return;const k=a==null?void 0:a({active:c,dragOverlay:h,...m}),T=h.node.animate(b,{duration:i,easing:r,fill:"forwards"});return new Promise(B=>{T.onfinish=()=>{k==null||k(),B()}})}}let zg=0;function IE(t){return C.useMemo(()=>{if(t!=null)return zg++,zg},[t])}const $E=at.memo(t=>{let{adjustScale:i=!1,children:r,dropAnimation:a,style:o,transition:s,modifiers:c,wrapperElement:h="div",className:p,zIndex:m=999}=t;const{activatorEvent:y,active:g,activeNodeRect:x,containerNodeRect:b,draggableNodes:w,droppableContainers:z,dragOverlay:k,over:T,measuringConfiguration:B,scrollableAncestors:_,scrollableAncestorRects:W,windowRect:I}=LE(),L=C.useContext(xo),Z=IE(g==null?void 0:g.id),le=a0(c,{activatorEvent:y,active:g,activeNodeRect:x,containerNodeRect:b,draggingNodeRect:k.rect,over:T,overlayNodeRect:k.rect,scrollableAncestors:_,scrollableAncestorRects:W,transform:L,windowRect:I}),ae=Ff(x),j=KE({config:a,draggableNodes:w,droppableContainers:z,measuringConfiguration:B}),ee=ae?k.setRef:void 0;return at.createElement(YE,null,at.createElement(HE,{animation:j},g&&Z?at.createElement(GE,{key:Z,id:g.id,ref:ee,as:h,activatorEvent:y,adjustScale:i,className:p,transition:s,rect:ae,style:{zIndex:m,...o},transform:le},r):null))});function u0(t){return!t||t.length===0?[]:t.map(i=>typeof i=="string"?{login:i,avatarUrl:`https://github.com/${i}.png?size=40`}:typeof i=="object"&&i!==null&&"login"in i?i:{login:"unknown",avatarUrl:""})}function Rg({src:t,alt:i,title:r,className:a}){return O.jsx("img",{src:t,alt:i,title:r,className:a,onError:o=>{var s;o.currentTarget.style.display="none",o.currentTarget.insertAdjacentHTML("afterend",`<span class="${a} bg-gray-300 text-gray-600 flex items-center justify-center text-[10px] font-medium" title="${r}">${((s=i[0])==null?void 0:s.toUpperCase())??"?"}</span>`)}})}const PE={Issue:"bg-purple-100 text-purple-700",DraftIssue:"bg-yellow-100 text-yellow-700",PullRequest:"bg-green-100 text-green-700"};function o0({task:t,onClick:i,isDragOverlay:r}){var b;const{attributes:a,listeners:o,setNodeRef:s,transform:c,isDragging:h}=_E({id:t.id,disabled:r}),p=c?{transform:ar.Translate.toString(c)}:void 0,m=PE[t.contentType]??"bg-gray-100 text-gray-600",y=u0(t.assignees),g=y.slice(0,3),x=y.length-3;return O.jsxs("div",{ref:s,style:p,...a,...o,role:"button",tabIndex:0,onClick:i,onKeyDown:w=>{(w.key==="Enter"||w.key===" ")&&i()},className:`w-full text-left bg-white border border-gray-200 rounded-lg p-3 hover:shadow-md hover:border-gray-300 transition-all cursor-pointer ${h?"opacity-50":""}`,children:[O.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[O.jsxs("span",{className:"text-xs text-gray-400 font-mono",children:["#",t.id]}),O.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${m}`,children:t.contentType})]}),O.jsx("p",{className:"text-sm font-medium text-gray-900 leading-snug mb-2",children:t.title}),O.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[t.branch&&O.jsxs("span",{className:"text-xs bg-gray-100 text-gray-600 px-1.5 py-0.5 rounded font-mono inline-flex items-center gap-1",children:[O.jsx("svg",{className:"w-3 h-3",viewBox:"0 0 16 16",fill:"currentColor",children:O.jsx("path",{fillRule:"evenodd",d:"M11.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-2.25.75a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.492 2.492 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25zM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM3.5 3.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0z"})}),t.branch]}),t.milestone&&O.jsx("span",{className:"text-xs bg-blue-50 text-blue-600 px-1.5 py-0.5 rounded",children:t.milestone.title}),(b=t.labels)==null?void 0:b.map(w=>O.jsx("span",{className:"text-xs px-1.5 py-0.5 rounded",style:{backgroundColor:w.color?`#${w.color}20`:void 0,color:w.color?`#${w.color}`:void 0},children:w.name},w.id))]}),(t.authorAvatarUrl||y.length>0)&&O.jsxs("div",{className:"flex items-center mt-2 pt-2 border-t border-gray-100",children:[t.authorAvatarUrl&&O.jsx(Rg,{src:t.authorAvatarUrl,alt:t.authorLogin??"author",title:t.authorLogin??"author",className:"w-5 h-5 rounded-full ring-1 ring-white"}),y.length>0&&O.jsxs("div",{className:"flex items-center ml-auto -space-x-1.5",children:[g.map(w=>O.jsx(Rg,{src:w.avatarUrl,alt:w.login,title:w.login,className:"w-5 h-5 rounded-full ring-1 ring-white"},w.login)),x>0&&O.jsxs("span",{className:"text-xs text-gray-500 pl-1.5",children:["+",x]})]})]})]})}const WE={Todo:"bg-gray-400","In Progress":"bg-blue-500",Done:"bg-green-500"};function e2({title:t,tasks:i,onTaskClick:r}){const{setNodeRef:a,isOver:o}=UE({id:t}),s=WE[t]??"bg-gray-400",c=o?"bg-blue-50 border-2 border-blue-300":"bg-gray-50";return O.jsxs("div",{ref:a,className:`flex-1 min-w-[280px] rounded-lg p-3 transition-colors ${c}`,children:[O.jsxs("div",{className:"flex items-center gap-2 mb-3 px-1",children:[O.jsx("span",{className:`w-2.5 h-2.5 rounded-full ${s}`}),O.jsx("h3",{className:"text-sm font-semibold text-gray-700",children:t}),O.jsxs("span",{className:"text-xs text-gray-400 font-medium",children:["(",i.length,")"]})]}),O.jsxs("div",{className:"flex flex-col gap-2 max-h-[calc(100vh-400px)] overflow-y-auto",children:[i.length===0&&O.jsx("p",{className:"text-xs text-gray-400 text-center py-4",children:"No tasks"}),i.map(h=>O.jsx(o0,{task:h,onClick:()=>r(h)},h.id))]})]})}const Og={P0:0,P1:1,P2:2};function t2(t,i){const r=[...t];switch(i){case"newest":return r.sort((a,o)=>new Date(o.updatedAt).getTime()-new Date(a.updatedAt).getTime());case"oldest":return r.sort((a,o)=>new Date(a.updatedAt).getTime()-new Date(o.updatedAt).getTime());case"priority":return r.sort((a,o)=>{const s=Og[a.priority??""]??99,c=Og[o.priority??""]??99;return s-c});case"title":return r.sort((a,o)=>a.title.localeCompare(o.title));default:return r}}function n2({tasks:t,columns:i,milestones:r,activeMilestoneId:a,onMilestoneFilterChange:o,onTaskClick:s,onStatusChange:c}){const[h,p]=C.useState(null),[m,y]=C.useState("newest"),g=_S(NS(Qf,{activationConstraint:{distance:8}})),x=i.length>0?i:[...new Set(t.map(k=>k.status))],b=t.reduce((k,T)=>(k[T.status]=[...k[T.status]??[],T],k),Object.fromEntries(x.map(k=>[k,[]])));for(const k of x)b[k]=t2(b[k],m);function w(k){const T=t.find(B=>B.id===Number(k.active.id));p(T??null)}function z(k){p(null);const{active:T,over:B}=k;if(!B)return;const _=Number(T.id),W=String(B.id),I=t.find(L=>L.id===_);I&&I.status!==W&&c(_,W)}return O.jsxs(OE,{sensors:g,onDragStart:w,onDragEnd:z,children:[O.jsxs("div",{className:"flex items-center gap-2 mb-4 overflow-x-auto pb-1",children:[r&&r.length>0&&o&&O.jsxs(O.Fragment,{children:[O.jsx("span",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide flex-shrink-0",children:"Milestone"}),O.jsx("button",{type:"button",onClick:()=>o(null),className:`text-xs px-3 py-1.5 rounded-full border transition-colors flex-shrink-0 ${a==null?"bg-blue-500 text-white border-blue-500":"bg-white text-gray-600 border-gray-300 hover:border-blue-400"}`,children:"All"}),[...r].sort((k,T)=>!k.dueDate&&!T.dueDate?0:k.dueDate?T.dueDate?new Date(k.dueDate).getTime()-new Date(T.dueDate).getTime():-1:1).map(k=>O.jsx("button",{type:"button",onClick:()=>o(k.id),className:`text-xs px-3 py-1.5 rounded-full border transition-colors flex-shrink-0 ${a===k.id?"bg-blue-500 text-white border-blue-500":"bg-white text-gray-600 border-gray-300 hover:border-blue-400"}`,children:k.title},k.id))]}),O.jsxs("div",{className:"flex items-center gap-2 ml-auto flex-shrink-0",children:[O.jsx("span",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide",children:"Sort"}),O.jsxs("select",{value:m,onChange:k=>y(k.target.value),className:"text-xs border border-gray-300 rounded-md px-2 py-1.5 bg-white text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-400 focus:border-blue-400",children:[O.jsx("option",{value:"newest",children:"Newest first"}),O.jsx("option",{value:"oldest",children:"Oldest first"}),O.jsx("option",{value:"priority",children:"Priority"}),O.jsx("option",{value:"title",children:"Title A-Z"})]})]})]}),O.jsx("div",{className:"flex gap-4 overflow-x-auto pb-2",children:x.map(k=>O.jsx(e2,{title:k,tasks:b[k],onTaskClick:s},k))}),O.jsx($E,{children:h?O.jsx(o0,{task:h,onClick:()=>{},isDragOverlay:!0}):null})]})}function l2(t,i){const r={};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const i2=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,r2=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a2={};function Mg(t,i){return(a2.jsx?r2:i2).test(t)}const u2=/[ \t\n\f\r]/g;function o2(t){return typeof t=="object"?t.type==="text"?Ng(t.value):!1:Ng(t)}function Ng(t){return t.replace(u2,"")===""}class Oa{constructor(i,r,a){this.normal=r,this.property=i,a&&(this.space=a)}}Oa.prototype.normal={};Oa.prototype.property={};Oa.prototype.space=void 0;function s0(t,i){const r={},a={};for(const o of t)Object.assign(r,o.property),Object.assign(a,o.normal);return new Oa(r,a,i)}function vf(t){return t.toLowerCase()}class Kt{constructor(i,r){this.attribute=r,this.property=i}}Kt.prototype.attribute="";Kt.prototype.booleanish=!1;Kt.prototype.boolean=!1;Kt.prototype.commaOrSpaceSeparated=!1;Kt.prototype.commaSeparated=!1;Kt.prototype.defined=!1;Kt.prototype.mustUseProperty=!1;Kt.prototype.number=!1;Kt.prototype.overloadedBoolean=!1;Kt.prototype.property="";Kt.prototype.spaceSeparated=!1;Kt.prototype.space=void 0;let s2=0;const Ee=hi(),ft=hi(),bf=hi(),te=hi(),Fe=hi(),rr=hi(),un=hi();function hi(){return 2**++s2}const xf=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:ft,commaOrSpaceSeparated:un,commaSeparated:rr,number:te,overloadedBoolean:bf,spaceSeparated:Fe},Symbol.toStringTag,{value:"Module"})),Jc=Object.keys(xf);class Zf extends Kt{constructor(i,r,a,o){let s=-1;if(super(i,r),_g(this,"space",o),typeof a=="number")for(;++s<Jc.length;){const c=Jc[s];_g(this,Jc[s],(a&xf[c])===xf[c])}}}Zf.prototype.defined=!0;function _g(t,i,r){r&&(t[i]=r)}function dr(t){const i={},r={};for(const[a,o]of Object.entries(t.properties)){const s=new Zf(a,t.transform(t.attributes||{},a),o,t.space);t.mustUseProperty&&t.mustUseProperty.includes(a)&&(s.mustUseProperty=!0),i[a]=s,r[vf(a)]=a,r[vf(s.attribute)]=a}return new Oa(i,r,t.space)}const c0=dr({properties:{ariaActiveDescendant:null,ariaAtomic:ft,ariaAutoComplete:null,ariaBusy:ft,ariaChecked:ft,ariaColCount:te,ariaColIndex:te,ariaColSpan:te,ariaControls:Fe,ariaCurrent:null,ariaDescribedBy:Fe,ariaDetails:null,ariaDisabled:ft,ariaDropEffect:Fe,ariaErrorMessage:null,ariaExpanded:ft,ariaFlowTo:Fe,ariaGrabbed:ft,ariaHasPopup:null,ariaHidden:ft,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Fe,ariaLevel:te,ariaLive:null,ariaModal:ft,ariaMultiLine:ft,ariaMultiSelectable:ft,ariaOrientation:null,ariaOwns:Fe,ariaPlaceholder:null,ariaPosInSet:te,ariaPressed:ft,ariaReadOnly:ft,ariaRelevant:null,ariaRequired:ft,ariaRoleDescription:Fe,ariaRowCount:te,ariaRowIndex:te,ariaRowSpan:te,ariaSelected:ft,ariaSetSize:te,ariaSort:null,ariaValueMax:te,ariaValueMin:te,ariaValueNow:te,ariaValueText:null,role:null},transform(t,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function f0(t,i){return i in t?t[i]:i}function d0(t,i){return f0(t,i.toLowerCase())}const c2=dr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rr,acceptCharset:Fe,accessKey:Fe,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Fe,autoFocus:Ee,autoPlay:Ee,blocking:Fe,capture:null,charSet:null,checked:Ee,cite:null,className:Fe,cols:te,colSpan:null,content:null,contentEditable:ft,controls:Ee,controlsList:Fe,coords:te|rr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:bf,draggable:ft,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Fe,height:te,hidden:bf,high:te,href:null,hrefLang:null,htmlFor:Fe,httpEquiv:Fe,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Fe,itemRef:Fe,itemScope:Ee,itemType:Fe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:te,manifest:null,max:null,maxLength:te,media:null,method:null,min:null,minLength:te,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:te,pattern:null,ping:Fe,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Fe,required:Ee,reversed:Ee,rows:te,rowSpan:te,sandbox:Fe,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:te,sizes:null,slot:null,span:te,spellCheck:ft,src:null,srcDoc:null,srcLang:null,srcSet:null,start:te,step:null,style:null,tabIndex:te,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:ft,width:te,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Fe,axis:null,background:null,bgColor:null,border:te,borderColor:null,bottomMargin:te,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:te,leftMargin:te,link:null,longDesc:null,lowSrc:null,marginHeight:te,marginWidth:te,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:te,rules:null,scheme:null,scrolling:ft,standby:null,summary:null,text:null,topMargin:te,valueType:null,version:null,vAlign:null,vLink:null,vSpace:te,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:te,security:null,unselectable:null},space:"html",transform:d0}),f2=dr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:un,accentHeight:te,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:te,amplitude:te,arabicForm:null,ascent:te,attributeName:null,attributeType:null,azimuth:te,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:te,by:null,calcMode:null,capHeight:te,className:Fe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:te,diffuseConstant:te,direction:null,display:null,dur:null,divisor:te,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:te,enableBackground:null,end:null,event:null,exponent:te,externalResourcesRequired:null,fill:null,fillOpacity:te,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rr,g2:rr,glyphName:rr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:te,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:te,horizOriginX:te,horizOriginY:te,id:null,ideographic:te,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:te,k:te,k1:te,k2:te,k3:te,k4:te,kernelMatrix:un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:te,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:te,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:te,overlineThickness:te,paintOrder:null,panose1:null,path:null,pathLength:te,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Fe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:te,pointsAtY:te,pointsAtZ:te,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:un,rev:un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:un,requiredFeatures:un,requiredFonts:un,requiredFormats:un,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:te,specularExponent:te,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:te,strikethroughThickness:te,string:null,stroke:null,strokeDashArray:un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:te,strokeOpacity:te,strokeWidth:null,style:null,surfaceScale:te,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:un,tabIndex:te,tableValues:null,target:null,targetX:te,targetY:te,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:un,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:te,underlineThickness:te,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:te,values:null,vAlphabetic:te,vMathematical:te,vectorEffect:null,vHanging:te,vIdeographic:te,version:null,vertAdvY:te,vertOriginX:te,vertOriginY:te,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:te,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:f0}),h0=dr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,i){return"xlink:"+i.slice(5).toLowerCase()}}),m0=dr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d0}),p0=dr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,i){return"xml:"+i.slice(3).toLowerCase()}}),d2={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},h2=/[A-Z]/g,Lg=/-[a-z]/g,m2=/^data[-\w.:]+$/i;function p2(t,i){const r=vf(i);let a=i,o=Kt;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&m2.test(i)){if(i.charAt(4)==="-"){const s=i.slice(5).replace(Lg,y2);a="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=i.slice(4);if(!Lg.test(s)){let c=s.replace(h2,g2);c.charAt(0)!=="-"&&(c="-"+c),i="data"+c}}o=Zf}return new o(a,i)}function g2(t){return"-"+t.toLowerCase()}function y2(t){return t.charAt(1).toUpperCase()}const v2=s0([c0,c2,h0,m0,p0],"html"),Kf=s0([c0,f2,h0,m0,p0],"svg");function b2(t){return t.join(" ").trim()}var tr={},Ic,jg;function x2(){if(jg)return Ic;jg=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,h=/^\s+|\s+$/g,p=`
65
+ `,m="/",y="*",g="",x="comment",b="declaration";function w(k,T){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];T=T||{};var B=1,_=1;function W(ie){var $=ie.match(i);$&&(B+=$.length);var U=ie.lastIndexOf(p);_=~U?ie.length-U:_+ie.length}function I(){var ie={line:B,column:_};return function($){return $.position=new L(ie),ae(),$}}function L(ie){this.start=ie,this.end={line:B,column:_},this.source=T.source}L.prototype.content=k;function Z(ie){var $=new Error(T.source+":"+B+":"+_+": "+ie);if($.reason=ie,$.filename=T.source,$.line=B,$.column=_,$.source=k,!T.silent)throw $}function le(ie){var $=ie.exec(k);if($){var U=$[0];return W(U),k=k.slice(U.length),$}}function ae(){le(r)}function j(ie){var $;for(ie=ie||[];$=ee();)$!==!1&&ie.push($);return ie}function ee(){var ie=I();if(!(m!=k.charAt(0)||y!=k.charAt(1))){for(var $=2;g!=k.charAt($)&&(y!=k.charAt($)||m!=k.charAt($+1));)++$;if($+=2,g===k.charAt($-1))return Z("End of comment missing");var U=k.slice(2,$-2);return _+=2,W(U),k=k.slice($),_+=2,ie({type:x,comment:U})}}function P(){var ie=I(),$=le(a);if($){if(ee(),!le(o))return Z("property missing ':'");var U=le(s),J=ie({type:b,property:z($[0].replace(t,g)),value:U?z(U[0].replace(t,g)):g});return le(c),J}}function fe(){var ie=[];j(ie);for(var $;$=P();)$!==!1&&(ie.push($),j(ie));return ie}return ae(),fe()}function z(k){return k?k.replace(h,g):g}return Ic=w,Ic}var Bg;function S2(){if(Bg)return tr;Bg=1;var t=tr&&tr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(tr,"__esModule",{value:!0}),tr.default=r;const i=t(x2());function r(a,o){let s=null;if(!a||typeof a!="string")return s;const c=(0,i.default)(a),h=typeof o=="function";return c.forEach(p=>{if(p.type!=="declaration")return;const{property:m,value:y}=p;h?o(m,y,p):y&&(s=s||{},s[m]=y)}),s}return tr}var ua={},Ug;function E2(){if(Ug)return ua;Ug=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(m){return!m||r.test(m)||t.test(m)},c=function(m,y){return y.toUpperCase()},h=function(m,y){return"".concat(y,"-")},p=function(m,y){return y===void 0&&(y={}),s(m)?m:(m=m.toLowerCase(),y.reactCompat?m=m.replace(o,h):m=m.replace(a,h),m.replace(i,c))};return ua.camelCase=p,ua}var oa,Hg;function w2(){if(Hg)return oa;Hg=1;var t=oa&&oa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},i=t(S2()),r=E2();function a(o,s){var c={};return!o||typeof o!="string"||(0,i.default)(o,function(h,p){h&&p&&(c[(0,r.camelCase)(h,s)]=p)}),c}return a.default=a,oa=a,oa}var C2=w2();const T2=zf(C2),g0=y0("end"),Jf=y0("start");function y0(t){return i;function i(r){const a=r&&r.position&&r.position[t]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function A2(t){const i=Jf(t),r=g0(t);if(i&&r)return{start:i,end:r}}function pa(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?qg(t.position):"start"in t||"end"in t?qg(t):"line"in t||"column"in t?Sf(t):""}function Sf(t){return Yg(t&&t.line)+":"+Yg(t&&t.column)}function qg(t){return Sf(t&&t.start)+"-"+Sf(t&&t.end)}function Yg(t){return t&&typeof t=="number"?t:1}class Ot extends Error{constructor(i,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let o="",s={},c=!1;if(r&&("line"in r&&"column"in r?s={place:r}:"start"in r&&"end"in r?s={place:r}:"type"in r?s={ancestors:[r],place:r.position}:s={...r}),typeof i=="string"?o=i:!s.cause&&i&&(c=!0,o=i.message,s.cause=i),!s.ruleId&&!s.source&&typeof a=="string"){const p=a.indexOf(":");p===-1?s.ruleId=a:(s.source=a.slice(0,p),s.ruleId=a.slice(p+1))}if(!s.place&&s.ancestors&&s.ancestors){const p=s.ancestors[s.ancestors.length-1];p&&(s.place=p.position)}const h=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=h?h.line:void 0,this.name=pa(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=c&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ot.prototype.file="";Ot.prototype.name="";Ot.prototype.reason="";Ot.prototype.message="";Ot.prototype.stack="";Ot.prototype.column=void 0;Ot.prototype.line=void 0;Ot.prototype.ancestors=void 0;Ot.prototype.cause=void 0;Ot.prototype.fatal=void 0;Ot.prototype.place=void 0;Ot.prototype.ruleId=void 0;Ot.prototype.source=void 0;const If={}.hasOwnProperty,k2=new Map,D2=/[A-Z]/g,z2=new Set(["table","tbody","thead","tfoot","tr"]),R2=new Set(["td","th"]),v0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function O2(t,i){if(!i||i.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=i.filePath||void 0;let a;if(i.development){if(typeof i.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=H2(r,i.jsxDEV)}else{if(typeof i.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof i.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=U2(r,i.jsx,i.jsxs)}const o={Fragment:i.Fragment,ancestors:[],components:i.components||{},create:a,elementAttributeNameCase:i.elementAttributeNameCase||"react",evaluater:i.createEvaluater?i.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:i.ignoreInvalidStyle||!1,passKeys:i.passKeys!==!1,passNode:i.passNode||!1,schema:i.space==="svg"?Kf:v2,stylePropertyNameCase:i.stylePropertyNameCase||"dom",tableCellAlignToStyle:i.tableCellAlignToStyle!==!1},s=b0(o,t,void 0);return s&&typeof s!="string"?s:o.create(t,o.Fragment,{children:s||void 0},void 0)}function b0(t,i,r){if(i.type==="element")return M2(t,i,r);if(i.type==="mdxFlowExpression"||i.type==="mdxTextExpression")return N2(t,i);if(i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement")return L2(t,i,r);if(i.type==="mdxjsEsm")return _2(t,i);if(i.type==="root")return j2(t,i,r);if(i.type==="text")return B2(t,i)}function M2(t,i,r){const a=t.schema;let o=a;i.tagName.toLowerCase()==="svg"&&a.space==="html"&&(o=Kf,t.schema=o),t.ancestors.push(i);const s=S0(t,i.tagName,!1),c=q2(t,i);let h=Pf(t,i);return z2.has(i.tagName)&&(h=h.filter(function(p){return typeof p=="string"?!o2(p):!0})),x0(t,c,s,i),$f(c,h),t.ancestors.pop(),t.schema=a,t.create(i,s,c,r)}function N2(t,i){if(i.data&&i.data.estree&&t.evaluater){const a=i.data.estree.body[0];return a.type,t.evaluater.evaluateExpression(a.expression)}Sa(t,i.position)}function _2(t,i){if(i.data&&i.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(i.data.estree);Sa(t,i.position)}function L2(t,i,r){const a=t.schema;let o=a;i.name==="svg"&&a.space==="html"&&(o=Kf,t.schema=o),t.ancestors.push(i);const s=i.name===null?t.Fragment:S0(t,i.name,!0),c=Y2(t,i),h=Pf(t,i);return x0(t,c,s,i),$f(c,h),t.ancestors.pop(),t.schema=a,t.create(i,s,c,r)}function j2(t,i,r){const a={};return $f(a,Pf(t,i)),t.create(i,t.Fragment,a,r)}function B2(t,i){return i.value}function x0(t,i,r,a){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(i.node=a)}function $f(t,i){if(i.length>0){const r=i.length>1?i:i[0];r&&(t.children=r)}}function U2(t,i,r){return a;function a(o,s,c,h){const m=Array.isArray(c.children)?r:i;return h?m(s,c,h):m(s,c)}}function H2(t,i){return r;function r(a,o,s,c){const h=Array.isArray(s.children),p=Jf(a);return i(o,s,c,h,{columnNumber:p?p.column-1:void 0,fileName:t,lineNumber:p?p.line:void 0},void 0)}}function q2(t,i){const r={};let a,o;for(o in i.properties)if(o!=="children"&&If.call(i.properties,o)){const s=V2(t,o,i.properties[o]);if(s){const[c,h]=s;t.tableCellAlignToStyle&&c==="align"&&typeof h=="string"&&R2.has(i.tagName)?a=h:r[c]=h}}if(a){const s=r.style||(r.style={});s[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return r}function Y2(t,i){const r={};for(const a of i.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&t.evaluater){const s=a.data.estree.body[0];s.type;const c=s.expression;c.type;const h=c.properties[0];h.type,Object.assign(r,t.evaluater.evaluateExpression(h.argument))}else Sa(t,i.position);else{const o=a.name;let s;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&t.evaluater){const h=a.value.data.estree.body[0];h.type,s=t.evaluater.evaluateExpression(h.expression)}else Sa(t,i.position);else s=a.value===null?!0:a.value;r[o]=s}return r}function Pf(t,i){const r=[];let a=-1;const o=t.passKeys?new Map:k2;for(;++a<i.children.length;){const s=i.children[a];let c;if(t.passKeys){const p=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(p){const m=o.get(p)||0;c=p+"-"+m,o.set(p,m+1)}}const h=b0(t,s,c);h!==void 0&&r.push(h)}return r}function V2(t,i,r){const a=p2(t.schema,i);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=a.commaSeparated?l2(r):b2(r)),a.property==="style"){let o=typeof r=="object"?r:X2(t,String(r));return t.stylePropertyNameCase==="css"&&(o=G2(o)),["style",o]}return[t.elementAttributeNameCase==="react"&&a.space?d2[a.property]||a.property:a.attribute,r]}}function X2(t,i){try{return T2(i,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};const a=r,o=new Ot("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=t.filePath||void 0,o.url=v0+"#cannot-parse-style-attribute",o}}function S0(t,i,r){let a;if(!r)a={type:"Literal",value:i};else if(i.includes(".")){const o=i.split(".");let s=-1,c;for(;++s<o.length;){const h=Mg(o[s])?{type:"Identifier",name:o[s]}:{type:"Literal",value:o[s]};c=c?{type:"MemberExpression",object:c,property:h,computed:!!(s&&h.type==="Literal"),optional:!1}:h}a=c}else a=Mg(i)&&!/^[a-z]/.test(i)?{type:"Identifier",name:i}:{type:"Literal",value:i};if(a.type==="Literal"){const o=a.value;return If.call(t.components,o)?t.components[o]:o}if(t.evaluater)return t.evaluater.evaluateExpression(a);Sa(t)}function Sa(t,i){const r=new Ot("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:i,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=v0+"#cannot-handle-mdx-estrees-without-createevaluater",r}function G2(t){const i={};let r;for(r in t)If.call(t,r)&&(i[Q2(r)]=t[r]);return i}function Q2(t){let i=t.replace(D2,F2);return i.slice(0,3)==="ms-"&&(i="-"+i),i}function F2(t){return"-"+t.toLowerCase()}const $c={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Z2={};function Wf(t,i){const r=Z2,a=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return E0(t,a,o)}function E0(t,i,r){if(K2(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(i&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Vg(t.children,i,r)}return Array.isArray(t)?Vg(t,i,r):""}function Vg(t,i,r){const a=[];let o=-1;for(;++o<t.length;)a[o]=E0(t[o],i,r);return a.join("")}function K2(t){return!!(t&&typeof t=="object")}const Xg=document.createElement("i");function ed(t){const i="&"+t+";";Xg.innerHTML=i;const r=Xg.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===i?!1:r}function on(t,i,r,a){const o=t.length;let s=0,c;if(i<0?i=-i>o?0:o+i:i=i>o?o:i,r=r>0?r:0,a.length<1e4)c=Array.from(a),c.unshift(i,r),t.splice(...c);else for(r&&t.splice(i,r);s<a.length;)c=a.slice(s,s+1e4),c.unshift(i,0),t.splice(...c),s+=1e4,i+=1e4}function Cn(t,i){return t.length>0?(on(t,t.length,0,i),t):i}const Gg={}.hasOwnProperty;function w0(t){const i={};let r=-1;for(;++r<t.length;)J2(i,t[r]);return i}function J2(t,i){let r;for(r in i){const o=(Gg.call(t,r)?t[r]:void 0)||(t[r]={}),s=i[r];let c;if(s)for(c in s){Gg.call(o,c)||(o[c]=[]);const h=s[c];I2(o[c],Array.isArray(h)?h:h?[h]:[])}}}function I2(t,i){let r=-1;const a=[];for(;++r<i.length;)(i[r].add==="after"?t:a).push(i[r]);on(t,0,0,a)}function C0(t,i){const r=Number.parseInt(t,i);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Mn(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const _t=Gl(/[A-Za-z]/),Rt=Gl(/[\dA-Za-z]/),$2=Gl(/[#-'*+\--9=?A-Z^-~]/);function so(t){return t!==null&&(t<32||t===127)}const Ef=Gl(/\d/),P2=Gl(/[\dA-Fa-f]/),W2=Gl(/[!-/:-@[-`{-~]/);function pe(t){return t!==null&&t<-2}function Qe(t){return t!==null&&(t<0||t===32)}function Ae(t){return t===-2||t===-1||t===32}const So=Gl(new RegExp("\\p{P}|\\p{S}","u")),di=Gl(/\s/);function Gl(t){return i;function i(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function hr(t){const i=[];let r=-1,a=0,o=0;for(;++r<t.length;){const s=t.charCodeAt(r);let c="";if(s===37&&Rt(t.charCodeAt(r+1))&&Rt(t.charCodeAt(r+2)))o=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(c=String.fromCharCode(s));else if(s>55295&&s<57344){const h=t.charCodeAt(r+1);s<56320&&h>56319&&h<57344?(c=String.fromCharCode(s,h),o=1):c="�"}else c=String.fromCharCode(s);c&&(i.push(t.slice(a,r),encodeURIComponent(c)),a=r+o+1,c=""),o&&(r+=o,o=0)}return i.join("")+t.slice(a)}function Re(t,i,r,a){const o=a?a-1:Number.POSITIVE_INFINITY;let s=0;return c;function c(p){return Ae(p)?(t.enter(r),h(p)):i(p)}function h(p){return Ae(p)&&s++<o?(t.consume(p),h):(t.exit(r),i(p))}}const ew={tokenize:tw};function tw(t){const i=t.attempt(this.parser.constructs.contentInitial,a,o);let r;return i;function a(h){if(h===null){t.consume(h);return}return t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),Re(t,i,"linePrefix")}function o(h){return t.enter("paragraph"),s(h)}function s(h){const p=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=p),r=p,c(h)}function c(h){if(h===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(h);return}return pe(h)?(t.consume(h),t.exit("chunkText"),s):(t.consume(h),c)}}const nw={tokenize:lw},Qg={tokenize:iw};function lw(t){const i=this,r=[];let a=0,o,s,c;return h;function h(_){if(a<r.length){const W=r[a];return i.containerState=W[1],t.attempt(W[0].continuation,p,m)(_)}return m(_)}function p(_){if(a++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,o&&B();const W=i.events.length;let I=W,L;for(;I--;)if(i.events[I][0]==="exit"&&i.events[I][1].type==="chunkFlow"){L=i.events[I][1].end;break}T(a);let Z=W;for(;Z<i.events.length;)i.events[Z][1].end={...L},Z++;return on(i.events,I+1,0,i.events.slice(W)),i.events.length=Z,m(_)}return h(_)}function m(_){if(a===r.length){if(!o)return x(_);if(o.currentConstruct&&o.currentConstruct.concrete)return w(_);i.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return i.containerState={},t.check(Qg,y,g)(_)}function y(_){return o&&B(),T(a),x(_)}function g(_){return i.parser.lazy[i.now().line]=a!==r.length,c=i.now().offset,w(_)}function x(_){return i.containerState={},t.attempt(Qg,b,w)(_)}function b(_){return a++,r.push([i.currentConstruct,i.containerState]),x(_)}function w(_){if(_===null){o&&B(),T(0),t.consume(_);return}return o=o||i.parser.flow(i.now()),t.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:s}),z(_)}function z(_){if(_===null){k(t.exit("chunkFlow"),!0),T(0),t.consume(_);return}return pe(_)?(t.consume(_),k(t.exit("chunkFlow")),a=0,i.interrupt=void 0,h):(t.consume(_),z)}function k(_,W){const I=i.sliceStream(_);if(W&&I.push(null),_.previous=s,s&&(s.next=_),s=_,o.defineSkip(_.start),o.write(I),i.parser.lazy[_.start.line]){let L=o.events.length;for(;L--;)if(o.events[L][1].start.offset<c&&(!o.events[L][1].end||o.events[L][1].end.offset>c))return;const Z=i.events.length;let le=Z,ae,j;for(;le--;)if(i.events[le][0]==="exit"&&i.events[le][1].type==="chunkFlow"){if(ae){j=i.events[le][1].end;break}ae=!0}for(T(a),L=Z;L<i.events.length;)i.events[L][1].end={...j},L++;on(i.events,le+1,0,i.events.slice(Z)),i.events.length=L}}function T(_){let W=r.length;for(;W-- >_;){const I=r[W];i.containerState=I[1],I[0].exit.call(i,t)}r.length=_}function B(){o.write([null]),s=void 0,o=void 0,i.containerState._closeFlow=void 0}}function iw(t,i,r){return Re(t,t.attempt(this.parser.constructs.document,i,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ur(t){if(t===null||Qe(t)||di(t))return 1;if(So(t))return 2}function Eo(t,i,r){const a=[];let o=-1;for(;++o<t.length;){const s=t[o].resolveAll;s&&!a.includes(s)&&(i=s(i,r),a.push(s))}return i}const wf={name:"attention",resolveAll:rw,tokenize:aw};function rw(t,i){let r=-1,a,o,s,c,h,p,m,y;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(a=r;a--;)if(t[a][0]==="exit"&&t[a][1].type==="attentionSequence"&&t[a][1]._open&&i.sliceSerialize(t[a][1]).charCodeAt(0)===i.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[a][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[a][1].end.offset-t[a][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;p=t[a][1].end.offset-t[a][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const g={...t[a][1].end},x={...t[r][1].start};Fg(g,-p),Fg(x,p),c={type:p>1?"strongSequence":"emphasisSequence",start:g,end:{...t[a][1].end}},h={type:p>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:x},s={type:p>1?"strongText":"emphasisText",start:{...t[a][1].end},end:{...t[r][1].start}},o={type:p>1?"strong":"emphasis",start:{...c.start},end:{...h.end}},t[a][1].end={...c.start},t[r][1].start={...h.end},m=[],t[a][1].end.offset-t[a][1].start.offset&&(m=Cn(m,[["enter",t[a][1],i],["exit",t[a][1],i]])),m=Cn(m,[["enter",o,i],["enter",c,i],["exit",c,i],["enter",s,i]]),m=Cn(m,Eo(i.parser.constructs.insideSpan.null,t.slice(a+1,r),i)),m=Cn(m,[["exit",s,i],["enter",h,i],["exit",h,i],["exit",o,i]]),t[r][1].end.offset-t[r][1].start.offset?(y=2,m=Cn(m,[["enter",t[r][1],i],["exit",t[r][1],i]])):y=0,on(t,a-1,r-a+3,m),r=a+m.length-y-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function aw(t,i){const r=this.parser.constructs.attentionMarkers.null,a=this.previous,o=ur(a);let s;return c;function c(p){return s=p,t.enter("attentionSequence"),h(p)}function h(p){if(p===s)return t.consume(p),h;const m=t.exit("attentionSequence"),y=ur(p),g=!y||y===2&&o||r.includes(p),x=!o||o===2&&y||r.includes(a);return m._open=!!(s===42?g:g&&(o||!x)),m._close=!!(s===42?x:x&&(y||!g)),i(p)}}function Fg(t,i){t.column+=i,t.offset+=i,t._bufferIndex+=i}const uw={name:"autolink",tokenize:ow};function ow(t,i,r){let a=0;return o;function o(b){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(b){return _t(b)?(t.consume(b),c):b===64?r(b):m(b)}function c(b){return b===43||b===45||b===46||Rt(b)?(a=1,h(b)):m(b)}function h(b){return b===58?(t.consume(b),a=0,p):(b===43||b===45||b===46||Rt(b))&&a++<32?(t.consume(b),h):(a=0,m(b))}function p(b){return b===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.exit("autolink"),i):b===null||b===32||b===60||so(b)?r(b):(t.consume(b),p)}function m(b){return b===64?(t.consume(b),y):$2(b)?(t.consume(b),m):r(b)}function y(b){return Rt(b)?g(b):r(b)}function g(b){return b===46?(t.consume(b),a=0,y):b===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(b),t.exit("autolinkMarker"),t.exit("autolink"),i):x(b)}function x(b){if((b===45||Rt(b))&&a++<63){const w=b===45?x:g;return t.consume(b),w}return r(b)}}const Ma={partial:!0,tokenize:sw};function sw(t,i,r){return a;function a(s){return Ae(s)?Re(t,o,"linePrefix")(s):o(s)}function o(s){return s===null||pe(s)?i(s):r(s)}}const T0={continuation:{tokenize:fw},exit:dw,name:"blockQuote",tokenize:cw};function cw(t,i,r){const a=this;return o;function o(c){if(c===62){const h=a.containerState;return h.open||(t.enter("blockQuote",{_container:!0}),h.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(c),t.exit("blockQuoteMarker"),s}return r(c)}function s(c){return Ae(c)?(t.enter("blockQuotePrefixWhitespace"),t.consume(c),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),i):(t.exit("blockQuotePrefix"),i(c))}}function fw(t,i,r){const a=this;return o;function o(c){return Ae(c)?Re(t,s,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):s(c)}function s(c){return t.attempt(T0,i,r)(c)}}function dw(t){t.exit("blockQuote")}const A0={name:"characterEscape",tokenize:hw};function hw(t,i,r){return a;function a(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),o}function o(s){return W2(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),i):r(s)}}const k0={name:"characterReference",tokenize:mw};function mw(t,i,r){const a=this;let o=0,s,c;return h;function h(g){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(g),t.exit("characterReferenceMarker"),p}function p(g){return g===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(g),t.exit("characterReferenceMarkerNumeric"),m):(t.enter("characterReferenceValue"),s=31,c=Rt,y(g))}function m(g){return g===88||g===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(g),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,c=P2,y):(t.enter("characterReferenceValue"),s=7,c=Ef,y(g))}function y(g){if(g===59&&o){const x=t.exit("characterReferenceValue");return c===Rt&&!ed(a.sliceSerialize(x))?r(g):(t.enter("characterReferenceMarker"),t.consume(g),t.exit("characterReferenceMarker"),t.exit("characterReference"),i)}return c(g)&&o++<s?(t.consume(g),y):r(g)}}const Zg={partial:!0,tokenize:gw},Kg={concrete:!0,name:"codeFenced",tokenize:pw};function pw(t,i,r){const a=this,o={partial:!0,tokenize:I};let s=0,c=0,h;return p;function p(L){return m(L)}function m(L){const Z=a.events[a.events.length-1];return s=Z&&Z[1].type==="linePrefix"?Z[2].sliceSerialize(Z[1],!0).length:0,h=L,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),y(L)}function y(L){return L===h?(c++,t.consume(L),y):c<3?r(L):(t.exit("codeFencedFenceSequence"),Ae(L)?Re(t,g,"whitespace")(L):g(L))}function g(L){return L===null||pe(L)?(t.exit("codeFencedFence"),a.interrupt?i(L):t.check(Zg,z,W)(L)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),x(L))}function x(L){return L===null||pe(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),g(L)):Ae(L)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),Re(t,b,"whitespace")(L)):L===96&&L===h?r(L):(t.consume(L),x)}function b(L){return L===null||pe(L)?g(L):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),w(L))}function w(L){return L===null||pe(L)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),g(L)):L===96&&L===h?r(L):(t.consume(L),w)}function z(L){return t.attempt(o,W,k)(L)}function k(L){return t.enter("lineEnding"),t.consume(L),t.exit("lineEnding"),T}function T(L){return s>0&&Ae(L)?Re(t,B,"linePrefix",s+1)(L):B(L)}function B(L){return L===null||pe(L)?t.check(Zg,z,W)(L):(t.enter("codeFlowValue"),_(L))}function _(L){return L===null||pe(L)?(t.exit("codeFlowValue"),B(L)):(t.consume(L),_)}function W(L){return t.exit("codeFenced"),i(L)}function I(L,Z,le){let ae=0;return j;function j($){return L.enter("lineEnding"),L.consume($),L.exit("lineEnding"),ee}function ee($){return L.enter("codeFencedFence"),Ae($)?Re(L,P,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):P($)}function P($){return $===h?(L.enter("codeFencedFenceSequence"),fe($)):le($)}function fe($){return $===h?(ae++,L.consume($),fe):ae>=c?(L.exit("codeFencedFenceSequence"),Ae($)?Re(L,ie,"whitespace")($):ie($)):le($)}function ie($){return $===null||pe($)?(L.exit("codeFencedFence"),Z($)):le($)}}}function gw(t,i,r){const a=this;return o;function o(c){return c===null?r(c):(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),s)}function s(c){return a.parser.lazy[a.now().line]?r(c):i(c)}}const Pc={name:"codeIndented",tokenize:vw},yw={partial:!0,tokenize:bw};function vw(t,i,r){const a=this;return o;function o(m){return t.enter("codeIndented"),Re(t,s,"linePrefix",5)(m)}function s(m){const y=a.events[a.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?c(m):r(m)}function c(m){return m===null?p(m):pe(m)?t.attempt(yw,c,p)(m):(t.enter("codeFlowValue"),h(m))}function h(m){return m===null||pe(m)?(t.exit("codeFlowValue"),c(m)):(t.consume(m),h)}function p(m){return t.exit("codeIndented"),i(m)}}function bw(t,i,r){const a=this;return o;function o(c){return a.parser.lazy[a.now().line]?r(c):pe(c)?(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),o):Re(t,s,"linePrefix",5)(c)}function s(c){const h=a.events[a.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?i(c):pe(c)?o(c):r(c)}}const xw={name:"codeText",previous:Ew,resolve:Sw,tokenize:ww};function Sw(t){let i=t.length-4,r=3,a,o;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[i][1].type==="lineEnding"||t[i][1].type==="space")){for(a=r;++a<i;)if(t[a][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[i][1].type="codeTextPadding",r+=2,i-=2;break}}for(a=r-1,i++;++a<=i;)o===void 0?a!==i&&t[a][1].type!=="lineEnding"&&(o=a):(a===i||t[a][1].type==="lineEnding")&&(t[o][1].type="codeTextData",a!==o+2&&(t[o][1].end=t[a-1][1].end,t.splice(o+2,a-o-2),i-=a-o-2,a=o+2),o=void 0);return t}function Ew(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ww(t,i,r){let a=0,o,s;return c;function c(g){return t.enter("codeText"),t.enter("codeTextSequence"),h(g)}function h(g){return g===96?(t.consume(g),a++,h):(t.exit("codeTextSequence"),p(g))}function p(g){return g===null?r(g):g===32?(t.enter("space"),t.consume(g),t.exit("space"),p):g===96?(s=t.enter("codeTextSequence"),o=0,y(g)):pe(g)?(t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),p):(t.enter("codeTextData"),m(g))}function m(g){return g===null||g===32||g===96||pe(g)?(t.exit("codeTextData"),p(g)):(t.consume(g),m)}function y(g){return g===96?(t.consume(g),o++,y):o===a?(t.exit("codeTextSequence"),t.exit("codeText"),i(g)):(s.type="codeTextData",m(g))}}class Cw{constructor(i){this.left=i?[...i]:[],this.right=[]}get(i){if(i<0||i>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+i+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return i<this.left.length?this.left[i]:this.right[this.right.length-i+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(i,r){const a=r??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(i,a):i>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-i+this.left.length).reverse():this.left.slice(i).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(i,r,a){const o=r||0;this.setCursor(Math.trunc(i));const s=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return a&&sa(this.left,a),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(i){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(i)}pushMany(i){this.setCursor(Number.POSITIVE_INFINITY),sa(this.left,i)}unshift(i){this.setCursor(0),this.right.push(i)}unshiftMany(i){this.setCursor(0),sa(this.right,i.reverse())}setCursor(i){if(!(i===this.left.length||i>this.left.length&&this.right.length===0||i<0&&this.left.length===0))if(i<this.left.length){const r=this.left.splice(i,Number.POSITIVE_INFINITY);sa(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-i,Number.POSITIVE_INFINITY);sa(this.left,r.reverse())}}}function sa(t,i){let r=0;if(i.length<1e4)t.push(...i);else for(;r<i.length;)t.push(...i.slice(r,r+1e4)),r+=1e4}function D0(t){const i={};let r=-1,a,o,s,c,h,p,m;const y=new Cw(t);for(;++r<y.length;){for(;r in i;)r=i[r];if(a=y.get(r),r&&a[1].type==="chunkFlow"&&y.get(r-1)[1].type==="listItemPrefix"&&(p=a[1]._tokenizer.events,s=0,s<p.length&&p[s][1].type==="lineEndingBlank"&&(s+=2),s<p.length&&p[s][1].type==="content"))for(;++s<p.length&&p[s][1].type!=="content";)p[s][1].type==="chunkText"&&(p[s][1]._isInFirstContentOfListItem=!0,s++);if(a[0]==="enter")a[1].contentType&&(Object.assign(i,Tw(y,r)),r=i[r],m=!0);else if(a[1]._container){for(s=r,o=void 0;s--;)if(c=y.get(s),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(o&&(y.get(o)[1].type="lineEndingBlank"),c[1].type="lineEnding",o=s);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;o&&(a[1].end={...y.get(o)[1].start},h=y.slice(o,r),h.unshift(a),y.splice(o,r-o+1,h))}}return on(t,0,Number.POSITIVE_INFINITY,y.slice(0)),!m}function Tw(t,i){const r=t.get(i)[1],a=t.get(i)[2];let o=i-1;const s=[];let c=r._tokenizer;c||(c=a.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const h=c.events,p=[],m={};let y,g,x=-1,b=r,w=0,z=0;const k=[z];for(;b;){for(;t.get(++o)[1]!==b;);s.push(o),b._tokenizer||(y=a.sliceStream(b),b.next||y.push(null),g&&c.defineSkip(b.start),b._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(y),b._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),g=b,b=b.next}for(b=r;++x<h.length;)h[x][0]==="exit"&&h[x-1][0]==="enter"&&h[x][1].type===h[x-1][1].type&&h[x][1].start.line!==h[x][1].end.line&&(z=x+1,k.push(z),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(c.events=[],b?(b._tokenizer=void 0,b.previous=void 0):k.pop(),x=k.length;x--;){const T=h.slice(k[x],k[x+1]),B=s.pop();p.push([B,B+T.length-1]),t.splice(B,2,T)}for(p.reverse(),x=-1;++x<p.length;)m[w+p[x][0]]=w+p[x][1],w+=p[x][1]-p[x][0]-1;return m}const Aw={resolve:Dw,tokenize:zw},kw={partial:!0,tokenize:Rw};function Dw(t){return D0(t),t}function zw(t,i){let r;return a;function a(h){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),o(h)}function o(h){return h===null?s(h):pe(h)?t.check(kw,c,s)(h):(t.consume(h),o)}function s(h){return t.exit("chunkContent"),t.exit("content"),i(h)}function c(h){return t.consume(h),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function Rw(t,i,r){const a=this;return o;function o(c){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),Re(t,s,"linePrefix")}function s(c){if(c===null||pe(c))return r(c);const h=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?i(c):t.interrupt(a.parser.constructs.flow,r,i)(c)}}function z0(t,i,r,a,o,s,c,h,p){const m=p||Number.POSITIVE_INFINITY;let y=0;return g;function g(T){return T===60?(t.enter(a),t.enter(o),t.enter(s),t.consume(T),t.exit(s),x):T===null||T===32||T===41||so(T)?r(T):(t.enter(a),t.enter(c),t.enter(h),t.enter("chunkString",{contentType:"string"}),z(T))}function x(T){return T===62?(t.enter(s),t.consume(T),t.exit(s),t.exit(o),t.exit(a),i):(t.enter(h),t.enter("chunkString",{contentType:"string"}),b(T))}function b(T){return T===62?(t.exit("chunkString"),t.exit(h),x(T)):T===null||T===60||pe(T)?r(T):(t.consume(T),T===92?w:b)}function w(T){return T===60||T===62||T===92?(t.consume(T),b):b(T)}function z(T){return!y&&(T===null||T===41||Qe(T))?(t.exit("chunkString"),t.exit(h),t.exit(c),t.exit(a),i(T)):y<m&&T===40?(t.consume(T),y++,z):T===41?(t.consume(T),y--,z):T===null||T===32||T===40||so(T)?r(T):(t.consume(T),T===92?k:z)}function k(T){return T===40||T===41||T===92?(t.consume(T),z):z(T)}}function R0(t,i,r,a,o,s){const c=this;let h=0,p;return m;function m(b){return t.enter(a),t.enter(o),t.consume(b),t.exit(o),t.enter(s),y}function y(b){return h>999||b===null||b===91||b===93&&!p||b===94&&!h&&"_hiddenFootnoteSupport"in c.parser.constructs?r(b):b===93?(t.exit(s),t.enter(o),t.consume(b),t.exit(o),t.exit(a),i):pe(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),y):(t.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===null||b===91||b===93||pe(b)||h++>999?(t.exit("chunkString"),y(b)):(t.consume(b),p||(p=!Ae(b)),b===92?x:g)}function x(b){return b===91||b===92||b===93?(t.consume(b),h++,g):g(b)}}function O0(t,i,r,a,o,s){let c;return h;function h(x){return x===34||x===39||x===40?(t.enter(a),t.enter(o),t.consume(x),t.exit(o),c=x===40?41:x,p):r(x)}function p(x){return x===c?(t.enter(o),t.consume(x),t.exit(o),t.exit(a),i):(t.enter(s),m(x))}function m(x){return x===c?(t.exit(s),p(c)):x===null?r(x):pe(x)?(t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),Re(t,m,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),y(x))}function y(x){return x===c||x===null||pe(x)?(t.exit("chunkString"),m(x)):(t.consume(x),x===92?g:y)}function g(x){return x===c||x===92?(t.consume(x),y):y(x)}}function ga(t,i){let r;return a;function a(o){return pe(o)?(t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),r=!0,a):Ae(o)?Re(t,a,r?"linePrefix":"lineSuffix")(o):i(o)}}const Ow={name:"definition",tokenize:Nw},Mw={partial:!0,tokenize:_w};function Nw(t,i,r){const a=this;let o;return s;function s(b){return t.enter("definition"),c(b)}function c(b){return R0.call(a,t,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function h(b){return o=Mn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),b===58?(t.enter("definitionMarker"),t.consume(b),t.exit("definitionMarker"),p):r(b)}function p(b){return Qe(b)?ga(t,m)(b):m(b)}function m(b){return z0(t,y,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function y(b){return t.attempt(Mw,g,g)(b)}function g(b){return Ae(b)?Re(t,x,"whitespace")(b):x(b)}function x(b){return b===null||pe(b)?(t.exit("definition"),a.parser.defined.push(o),i(b)):r(b)}}function _w(t,i,r){return a;function a(h){return Qe(h)?ga(t,o)(h):r(h)}function o(h){return O0(t,s,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function s(h){return Ae(h)?Re(t,c,"whitespace")(h):c(h)}function c(h){return h===null||pe(h)?i(h):r(h)}}const Lw={name:"hardBreakEscape",tokenize:jw};function jw(t,i,r){return a;function a(s){return t.enter("hardBreakEscape"),t.consume(s),o}function o(s){return pe(s)?(t.exit("hardBreakEscape"),i(s)):r(s)}}const Bw={name:"headingAtx",resolve:Uw,tokenize:Hw};function Uw(t,i){let r=t.length-2,a=3,o,s;return t[a][1].type==="whitespace"&&(a+=2),r-2>a&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(a===r-1||r-4>a&&t[r-2][1].type==="whitespace")&&(r-=a+1===r?2:4),r>a&&(o={type:"atxHeadingText",start:t[a][1].start,end:t[r][1].end},s={type:"chunkText",start:t[a][1].start,end:t[r][1].end,contentType:"text"},on(t,a,r-a+1,[["enter",o,i],["enter",s,i],["exit",s,i],["exit",o,i]])),t}function Hw(t,i,r){let a=0;return o;function o(y){return t.enter("atxHeading"),s(y)}function s(y){return t.enter("atxHeadingSequence"),c(y)}function c(y){return y===35&&a++<6?(t.consume(y),c):y===null||Qe(y)?(t.exit("atxHeadingSequence"),h(y)):r(y)}function h(y){return y===35?(t.enter("atxHeadingSequence"),p(y)):y===null||pe(y)?(t.exit("atxHeading"),i(y)):Ae(y)?Re(t,h,"whitespace")(y):(t.enter("atxHeadingText"),m(y))}function p(y){return y===35?(t.consume(y),p):(t.exit("atxHeadingSequence"),h(y))}function m(y){return y===null||y===35||Qe(y)?(t.exit("atxHeadingText"),h(y)):(t.consume(y),m)}}const qw=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Jg=["pre","script","style","textarea"],Yw={concrete:!0,name:"htmlFlow",resolveTo:Gw,tokenize:Qw},Vw={partial:!0,tokenize:Zw},Xw={partial:!0,tokenize:Fw};function Gw(t){let i=t.length;for(;i--&&!(t[i][0]==="enter"&&t[i][1].type==="htmlFlow"););return i>1&&t[i-2][1].type==="linePrefix"&&(t[i][1].start=t[i-2][1].start,t[i+1][1].start=t[i-2][1].start,t.splice(i-2,2)),t}function Qw(t,i,r){const a=this;let o,s,c,h,p;return m;function m(E){return y(E)}function y(E){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(E),g}function g(E){return E===33?(t.consume(E),x):E===47?(t.consume(E),s=!0,z):E===63?(t.consume(E),o=3,a.interrupt?i:A):_t(E)?(t.consume(E),c=String.fromCharCode(E),k):r(E)}function x(E){return E===45?(t.consume(E),o=2,b):E===91?(t.consume(E),o=5,h=0,w):_t(E)?(t.consume(E),o=4,a.interrupt?i:A):r(E)}function b(E){return E===45?(t.consume(E),a.interrupt?i:A):r(E)}function w(E){const re="CDATA[";return E===re.charCodeAt(h++)?(t.consume(E),h===re.length?a.interrupt?i:P:w):r(E)}function z(E){return _t(E)?(t.consume(E),c=String.fromCharCode(E),k):r(E)}function k(E){if(E===null||E===47||E===62||Qe(E)){const re=E===47,me=c.toLowerCase();return!re&&!s&&Jg.includes(me)?(o=1,a.interrupt?i(E):P(E)):qw.includes(c.toLowerCase())?(o=6,re?(t.consume(E),T):a.interrupt?i(E):P(E)):(o=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(E):s?B(E):_(E))}return E===45||Rt(E)?(t.consume(E),c+=String.fromCharCode(E),k):r(E)}function T(E){return E===62?(t.consume(E),a.interrupt?i:P):r(E)}function B(E){return Ae(E)?(t.consume(E),B):j(E)}function _(E){return E===47?(t.consume(E),j):E===58||E===95||_t(E)?(t.consume(E),W):Ae(E)?(t.consume(E),_):j(E)}function W(E){return E===45||E===46||E===58||E===95||Rt(E)?(t.consume(E),W):I(E)}function I(E){return E===61?(t.consume(E),L):Ae(E)?(t.consume(E),I):_(E)}function L(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(t.consume(E),p=E,Z):Ae(E)?(t.consume(E),L):le(E)}function Z(E){return E===p?(t.consume(E),p=null,ae):E===null||pe(E)?r(E):(t.consume(E),Z)}function le(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Qe(E)?I(E):(t.consume(E),le)}function ae(E){return E===47||E===62||Ae(E)?_(E):r(E)}function j(E){return E===62?(t.consume(E),ee):r(E)}function ee(E){return E===null||pe(E)?P(E):Ae(E)?(t.consume(E),ee):r(E)}function P(E){return E===45&&o===2?(t.consume(E),U):E===60&&o===1?(t.consume(E),J):E===62&&o===4?(t.consume(E),R):E===63&&o===3?(t.consume(E),A):E===93&&o===5?(t.consume(E),ye):pe(E)&&(o===6||o===7)?(t.exit("htmlFlowData"),t.check(Vw,X,fe)(E)):E===null||pe(E)?(t.exit("htmlFlowData"),fe(E)):(t.consume(E),P)}function fe(E){return t.check(Xw,ie,X)(E)}function ie(E){return t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),$}function $(E){return E===null||pe(E)?fe(E):(t.enter("htmlFlowData"),P(E))}function U(E){return E===45?(t.consume(E),A):P(E)}function J(E){return E===47?(t.consume(E),c="",se):P(E)}function se(E){if(E===62){const re=c.toLowerCase();return Jg.includes(re)?(t.consume(E),R):P(E)}return _t(E)&&c.length<8?(t.consume(E),c+=String.fromCharCode(E),se):P(E)}function ye(E){return E===93?(t.consume(E),A):P(E)}function A(E){return E===62?(t.consume(E),R):E===45&&o===2?(t.consume(E),A):P(E)}function R(E){return E===null||pe(E)?(t.exit("htmlFlowData"),X(E)):(t.consume(E),R)}function X(E){return t.exit("htmlFlow"),i(E)}}function Fw(t,i,r){const a=this;return o;function o(c){return pe(c)?(t.enter("lineEnding"),t.consume(c),t.exit("lineEnding"),s):r(c)}function s(c){return a.parser.lazy[a.now().line]?r(c):i(c)}}function Zw(t,i,r){return a;function a(o){return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),t.attempt(Ma,i,r)}}const Kw={name:"htmlText",tokenize:Jw};function Jw(t,i,r){const a=this;let o,s,c;return h;function h(A){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(A),p}function p(A){return A===33?(t.consume(A),m):A===47?(t.consume(A),I):A===63?(t.consume(A),_):_t(A)?(t.consume(A),le):r(A)}function m(A){return A===45?(t.consume(A),y):A===91?(t.consume(A),s=0,w):_t(A)?(t.consume(A),B):r(A)}function y(A){return A===45?(t.consume(A),b):r(A)}function g(A){return A===null?r(A):A===45?(t.consume(A),x):pe(A)?(c=g,J(A)):(t.consume(A),g)}function x(A){return A===45?(t.consume(A),b):g(A)}function b(A){return A===62?U(A):A===45?x(A):g(A)}function w(A){const R="CDATA[";return A===R.charCodeAt(s++)?(t.consume(A),s===R.length?z:w):r(A)}function z(A){return A===null?r(A):A===93?(t.consume(A),k):pe(A)?(c=z,J(A)):(t.consume(A),z)}function k(A){return A===93?(t.consume(A),T):z(A)}function T(A){return A===62?U(A):A===93?(t.consume(A),T):z(A)}function B(A){return A===null||A===62?U(A):pe(A)?(c=B,J(A)):(t.consume(A),B)}function _(A){return A===null?r(A):A===63?(t.consume(A),W):pe(A)?(c=_,J(A)):(t.consume(A),_)}function W(A){return A===62?U(A):_(A)}function I(A){return _t(A)?(t.consume(A),L):r(A)}function L(A){return A===45||Rt(A)?(t.consume(A),L):Z(A)}function Z(A){return pe(A)?(c=Z,J(A)):Ae(A)?(t.consume(A),Z):U(A)}function le(A){return A===45||Rt(A)?(t.consume(A),le):A===47||A===62||Qe(A)?ae(A):r(A)}function ae(A){return A===47?(t.consume(A),U):A===58||A===95||_t(A)?(t.consume(A),j):pe(A)?(c=ae,J(A)):Ae(A)?(t.consume(A),ae):U(A)}function j(A){return A===45||A===46||A===58||A===95||Rt(A)?(t.consume(A),j):ee(A)}function ee(A){return A===61?(t.consume(A),P):pe(A)?(c=ee,J(A)):Ae(A)?(t.consume(A),ee):ae(A)}function P(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(t.consume(A),o=A,fe):pe(A)?(c=P,J(A)):Ae(A)?(t.consume(A),P):(t.consume(A),ie)}function fe(A){return A===o?(t.consume(A),o=void 0,$):A===null?r(A):pe(A)?(c=fe,J(A)):(t.consume(A),fe)}function ie(A){return A===null||A===34||A===39||A===60||A===61||A===96?r(A):A===47||A===62||Qe(A)?ae(A):(t.consume(A),ie)}function $(A){return A===47||A===62||Qe(A)?ae(A):r(A)}function U(A){return A===62?(t.consume(A),t.exit("htmlTextData"),t.exit("htmlText"),i):r(A)}function J(A){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),se}function se(A){return Ae(A)?Re(t,ye,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):ye(A)}function ye(A){return t.enter("htmlTextData"),c(A)}}const td={name:"labelEnd",resolveAll:Ww,resolveTo:eC,tokenize:tC},Iw={tokenize:nC},$w={tokenize:lC},Pw={tokenize:iC};function Ww(t){let i=-1;const r=[];for(;++i<t.length;){const a=t[i][1];if(r.push(t[i]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const o=a.type==="labelImage"?4:2;a.type="data",i+=o}}return t.length!==r.length&&on(t,0,t.length,r),t}function eC(t,i){let r=t.length,a=0,o,s,c,h;for(;r--;)if(o=t[r][1],s){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;t[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(c){if(t[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(s=r,o.type!=="labelLink")){a=2;break}}else o.type==="labelEnd"&&(c=r);const p={type:t[s][1].type==="labelLink"?"link":"image",start:{...t[s][1].start},end:{...t[t.length-1][1].end}},m={type:"label",start:{...t[s][1].start},end:{...t[c][1].end}},y={type:"labelText",start:{...t[s+a+2][1].end},end:{...t[c-2][1].start}};return h=[["enter",p,i],["enter",m,i]],h=Cn(h,t.slice(s+1,s+a+3)),h=Cn(h,[["enter",y,i]]),h=Cn(h,Eo(i.parser.constructs.insideSpan.null,t.slice(s+a+4,c-3),i)),h=Cn(h,[["exit",y,i],t[c-2],t[c-1],["exit",m,i]]),h=Cn(h,t.slice(c+1)),h=Cn(h,[["exit",p,i]]),on(t,s,t.length,h),t}function tC(t,i,r){const a=this;let o=a.events.length,s,c;for(;o--;)if((a.events[o][1].type==="labelImage"||a.events[o][1].type==="labelLink")&&!a.events[o][1]._balanced){s=a.events[o][1];break}return h;function h(x){return s?s._inactive?g(x):(c=a.parser.defined.includes(Mn(a.sliceSerialize({start:s.end,end:a.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(x),t.exit("labelMarker"),t.exit("labelEnd"),p):r(x)}function p(x){return x===40?t.attempt(Iw,y,c?y:g)(x):x===91?t.attempt($w,y,c?m:g)(x):c?y(x):g(x)}function m(x){return t.attempt(Pw,y,g)(x)}function y(x){return i(x)}function g(x){return s._balanced=!0,r(x)}}function nC(t,i,r){return a;function a(g){return t.enter("resource"),t.enter("resourceMarker"),t.consume(g),t.exit("resourceMarker"),o}function o(g){return Qe(g)?ga(t,s)(g):s(g)}function s(g){return g===41?y(g):z0(t,c,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function c(g){return Qe(g)?ga(t,p)(g):y(g)}function h(g){return r(g)}function p(g){return g===34||g===39||g===40?O0(t,m,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):y(g)}function m(g){return Qe(g)?ga(t,y)(g):y(g)}function y(g){return g===41?(t.enter("resourceMarker"),t.consume(g),t.exit("resourceMarker"),t.exit("resource"),i):r(g)}}function lC(t,i,r){const a=this;return o;function o(h){return R0.call(a,t,s,c,"reference","referenceMarker","referenceString")(h)}function s(h){return a.parser.defined.includes(Mn(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?i(h):r(h)}function c(h){return r(h)}}function iC(t,i,r){return a;function a(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),o}function o(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),i):r(s)}}const rC={name:"labelStartImage",resolveAll:td.resolveAll,tokenize:aC};function aC(t,i,r){const a=this;return o;function o(h){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(h),t.exit("labelImageMarker"),s}function s(h){return h===91?(t.enter("labelMarker"),t.consume(h),t.exit("labelMarker"),t.exit("labelImage"),c):r(h)}function c(h){return h===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(h):i(h)}}const uC={name:"labelStartLink",resolveAll:td.resolveAll,tokenize:oC};function oC(t,i,r){const a=this;return o;function o(c){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(c),t.exit("labelMarker"),t.exit("labelLink"),s}function s(c){return c===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(c):i(c)}}const Wc={name:"lineEnding",tokenize:sC};function sC(t,i){return r;function r(a){return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),Re(t,i,"linePrefix")}}const to={name:"thematicBreak",tokenize:cC};function cC(t,i,r){let a=0,o;return s;function s(m){return t.enter("thematicBreak"),c(m)}function c(m){return o=m,h(m)}function h(m){return m===o?(t.enter("thematicBreakSequence"),p(m)):a>=3&&(m===null||pe(m))?(t.exit("thematicBreak"),i(m)):r(m)}function p(m){return m===o?(t.consume(m),a++,p):(t.exit("thematicBreakSequence"),Ae(m)?Re(t,h,"whitespace")(m):h(m))}}const Zt={continuation:{tokenize:mC},exit:gC,name:"list",tokenize:hC},fC={partial:!0,tokenize:yC},dC={partial:!0,tokenize:pC};function hC(t,i,r){const a=this,o=a.events[a.events.length-1];let s=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,c=0;return h;function h(b){const w=a.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!a.containerState.marker||b===a.containerState.marker:Ef(b)){if(a.containerState.type||(a.containerState.type=w,t.enter(w,{_container:!0})),w==="listUnordered")return t.enter("listItemPrefix"),b===42||b===45?t.check(to,r,m)(b):m(b);if(!a.interrupt||b===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),p(b)}return r(b)}function p(b){return Ef(b)&&++c<10?(t.consume(b),p):(!a.interrupt||c<2)&&(a.containerState.marker?b===a.containerState.marker:b===41||b===46)?(t.exit("listItemValue"),m(b)):r(b)}function m(b){return t.enter("listItemMarker"),t.consume(b),t.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||b,t.check(Ma,a.interrupt?r:y,t.attempt(fC,x,g))}function y(b){return a.containerState.initialBlankLine=!0,s++,x(b)}function g(b){return Ae(b)?(t.enter("listItemPrefixWhitespace"),t.consume(b),t.exit("listItemPrefixWhitespace"),x):r(b)}function x(b){return a.containerState.size=s+a.sliceSerialize(t.exit("listItemPrefix"),!0).length,i(b)}}function mC(t,i,r){const a=this;return a.containerState._closeFlow=void 0,t.check(Ma,o,s);function o(h){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,Re(t,i,"listItemIndent",a.containerState.size+1)(h)}function s(h){return a.containerState.furtherBlankLines||!Ae(h)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,c(h)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,t.attempt(dC,i,c)(h))}function c(h){return a.containerState._closeFlow=!0,a.interrupt=void 0,Re(t,t.attempt(Zt,i,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function pC(t,i,r){const a=this;return Re(t,o,"listItemIndent",a.containerState.size+1);function o(s){const c=a.events[a.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===a.containerState.size?i(s):r(s)}}function gC(t){t.exit(this.containerState.type)}function yC(t,i,r){const a=this;return Re(t,o,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(s){const c=a.events[a.events.length-1];return!Ae(s)&&c&&c[1].type==="listItemPrefixWhitespace"?i(s):r(s)}}const Ig={name:"setextUnderline",resolveTo:vC,tokenize:bC};function vC(t,i){let r=t.length,a,o,s;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){a=r;break}t[r][1].type==="paragraph"&&(o=r)}else t[r][1].type==="content"&&t.splice(r,1),!s&&t[r][1].type==="definition"&&(s=r);const c={type:"setextHeading",start:{...t[a][1].start},end:{...t[t.length-1][1].end}};return t[o][1].type="setextHeadingText",s?(t.splice(o,0,["enter",c,i]),t.splice(s+1,0,["exit",t[a][1],i]),t[a][1].end={...t[s][1].end}):t[a][1]=c,t.push(["exit",c,i]),t}function bC(t,i,r){const a=this;let o;return s;function s(m){let y=a.events.length,g;for(;y--;)if(a.events[y][1].type!=="lineEnding"&&a.events[y][1].type!=="linePrefix"&&a.events[y][1].type!=="content"){g=a.events[y][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||g)?(t.enter("setextHeadingLine"),o=m,c(m)):r(m)}function c(m){return t.enter("setextHeadingLineSequence"),h(m)}function h(m){return m===o?(t.consume(m),h):(t.exit("setextHeadingLineSequence"),Ae(m)?Re(t,p,"lineSuffix")(m):p(m))}function p(m){return m===null||pe(m)?(t.exit("setextHeadingLine"),i(m)):r(m)}}const xC={tokenize:SC};function SC(t){const i=this,r=t.attempt(Ma,a,t.attempt(this.parser.constructs.flowInitial,o,Re(t,t.attempt(this.parser.constructs.flow,o,t.attempt(Aw,o)),"linePrefix")));return r;function a(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),i.currentConstruct=void 0,r}function o(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i.currentConstruct=void 0,r}}const EC={resolveAll:N0()},wC=M0("string"),CC=M0("text");function M0(t){return{resolveAll:N0(t==="text"?TC:void 0),tokenize:i};function i(r){const a=this,o=this.parser.constructs[t],s=r.attempt(o,c,h);return c;function c(y){return m(y)?s(y):h(y)}function h(y){if(y===null){r.consume(y);return}return r.enter("data"),r.consume(y),p}function p(y){return m(y)?(r.exit("data"),s(y)):(r.consume(y),p)}function m(y){if(y===null)return!0;const g=o[y];let x=-1;if(g)for(;++x<g.length;){const b=g[x];if(!b.previous||b.previous.call(a,a.previous))return!0}return!1}}}function N0(t){return i;function i(r,a){let o=-1,s;for(;++o<=r.length;)s===void 0?r[o]&&r[o][1].type==="data"&&(s=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==s+2&&(r[s][1].end=r[o-1][1].end,r.splice(s+2,o-s-2),o=s+2),s=void 0);return t?t(r,a):r}}function TC(t,i){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const a=t[r-1][1],o=i.sliceStream(a);let s=o.length,c=-1,h=0,p;for(;s--;){const m=o[s];if(typeof m=="string"){for(c=m.length;m.charCodeAt(c-1)===32;)h++,c--;if(c)break;c=-1}else if(m===-2)p=!0,h++;else if(m!==-1){s++;break}}if(i._contentTypeTextTrailing&&r===t.length&&(h=0),h){const m={type:r===t.length||p||h<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?c:a.start._bufferIndex+c,_index:a.start._index+s,line:a.end.line,column:a.end.column-h,offset:a.end.offset-h},end:{...a.end}};a.end={...m.start},a.start.offset===a.end.offset?Object.assign(a,m):(t.splice(r,0,["enter",m,i],["exit",m,i]),r+=2)}r++}return t}const AC={42:Zt,43:Zt,45:Zt,48:Zt,49:Zt,50:Zt,51:Zt,52:Zt,53:Zt,54:Zt,55:Zt,56:Zt,57:Zt,62:T0},kC={91:Ow},DC={[-2]:Pc,[-1]:Pc,32:Pc},zC={35:Bw,42:to,45:[Ig,to],60:Yw,61:Ig,95:to,96:Kg,126:Kg},RC={38:k0,92:A0},OC={[-5]:Wc,[-4]:Wc,[-3]:Wc,33:rC,38:k0,42:wf,60:[uw,Kw],91:uC,92:[Lw,A0],93:td,95:wf,96:xw},MC={null:[wf,EC]},NC={null:[42,95]},_C={null:[]},LC=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:NC,contentInitial:kC,disable:_C,document:AC,flow:zC,flowInitial:DC,insideSpan:MC,string:RC,text:OC},Symbol.toStringTag,{value:"Module"}));function jC(t,i,r){let a={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},s=[];let c=[],h=[];const p={attempt:Z(I),check:Z(L),consume:B,enter:_,exit:W,interrupt:Z(L,{interrupt:!0})},m={code:null,containerState:{},defineSkip:z,events:[],now:w,parser:t,previous:null,sliceSerialize:x,sliceStream:b,write:g};let y=i.tokenize.call(m,p);return i.resolveAll&&s.push(i),m;function g(ee){return c=Cn(c,ee),k(),c[c.length-1]!==null?[]:(le(i,0),m.events=Eo(s,m.events,m),m.events)}function x(ee,P){return UC(b(ee),P)}function b(ee){return BC(c,ee)}function w(){const{_bufferIndex:ee,_index:P,line:fe,column:ie,offset:$}=a;return{_bufferIndex:ee,_index:P,line:fe,column:ie,offset:$}}function z(ee){o[ee.line]=ee.column,j()}function k(){let ee;for(;a._index<c.length;){const P=c[a._index];if(typeof P=="string")for(ee=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===ee&&a._bufferIndex<P.length;)T(P.charCodeAt(a._bufferIndex));else T(P)}}function T(ee){y=y(ee)}function B(ee){pe(ee)?(a.line++,a.column=1,a.offset+=ee===-3?2:1,j()):ee!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===c[a._index].length&&(a._bufferIndex=-1,a._index++)),m.previous=ee}function _(ee,P){const fe=P||{};return fe.type=ee,fe.start=w(),m.events.push(["enter",fe,m]),h.push(fe),fe}function W(ee){const P=h.pop();return P.end=w(),m.events.push(["exit",P,m]),P}function I(ee,P){le(ee,P.from)}function L(ee,P){P.restore()}function Z(ee,P){return fe;function fe(ie,$,U){let J,se,ye,A;return Array.isArray(ie)?X(ie):"tokenize"in ie?X([ie]):R(ie);function R(ue){return we;function we(Ve){const _e=Ve!==null&&ue[Ve],Je=Ve!==null&&ue.null,Jt=[...Array.isArray(_e)?_e:_e?[_e]:[],...Array.isArray(Je)?Je:Je?[Je]:[]];return X(Jt)(Ve)}}function X(ue){return J=ue,se=0,ue.length===0?U:E(ue[se])}function E(ue){return we;function we(Ve){return A=ae(),ye=ue,ue.partial||(m.currentConstruct=ue),ue.name&&m.parser.constructs.disable.null.includes(ue.name)?me():ue.tokenize.call(P?Object.assign(Object.create(m),P):m,p,re,me)(Ve)}}function re(ue){return ee(ye,A),$}function me(ue){return A.restore(),++se<J.length?E(J[se]):U}}}function le(ee,P){ee.resolveAll&&!s.includes(ee)&&s.push(ee),ee.resolve&&on(m.events,P,m.events.length-P,ee.resolve(m.events.slice(P),m)),ee.resolveTo&&(m.events=ee.resolveTo(m.events,m))}function ae(){const ee=w(),P=m.previous,fe=m.currentConstruct,ie=m.events.length,$=Array.from(h);return{from:ie,restore:U};function U(){a=ee,m.previous=P,m.currentConstruct=fe,m.events.length=ie,h=$,j()}}function j(){a.line in o&&a.column<2&&(a.column=o[a.line],a.offset+=o[a.line]-1)}}function BC(t,i){const r=i.start._index,a=i.start._bufferIndex,o=i.end._index,s=i.end._bufferIndex;let c;if(r===o)c=[t[r].slice(a,s)];else{if(c=t.slice(r,o),a>-1){const h=c[0];typeof h=="string"?c[0]=h.slice(a):c.shift()}s>0&&c.push(t[o].slice(0,s))}return c}function UC(t,i){let r=-1;const a=[];let o;for(;++r<t.length;){const s=t[r];let c;if(typeof s=="string")c=s;else switch(s){case-5:{c="\r";break}case-4:{c=`
66
+ `;break}case-3:{c=`\r
67
+ `;break}case-2:{c=i?" ":" ";break}case-1:{if(!i&&o)continue;c=" ";break}default:c=String.fromCharCode(s)}o=s===-2,a.push(c)}return a.join("")}function HC(t){const a={constructs:w0([LC,...(t||{}).extensions||[]]),content:o(ew),defined:[],document:o(nw),flow:o(xC),lazy:{},string:o(wC),text:o(CC)};return a;function o(s){return c;function c(h){return jC(a,s,h)}}}function qC(t){for(;!D0(t););return t}const $g=/[\0\t\n\r]/g;function YC(){let t=1,i="",r=!0,a;return o;function o(s,c,h){const p=[];let m,y,g,x,b;for(s=i+(typeof s=="string"?s.toString():new TextDecoder(c||void 0).decode(s)),g=0,i="",r&&(s.charCodeAt(0)===65279&&g++,r=void 0);g<s.length;){if($g.lastIndex=g,m=$g.exec(s),x=m&&m.index!==void 0?m.index:s.length,b=s.charCodeAt(x),!m){i=s.slice(g);break}if(b===10&&g===x&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),g<x&&(p.push(s.slice(g,x)),t+=x-g),b){case 0:{p.push(65533),t++;break}case 9:{for(y=Math.ceil(t/4)*4,p.push(-2);t++<y;)p.push(-1);break}case 10:{p.push(-4),t=1;break}default:a=!0,t=1}g=x+1}return h&&(a&&p.push(-5),i&&p.push(i),p.push(null)),p}}const VC=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function XC(t){return t.replace(VC,GC)}function GC(t,i,r){if(i)return i;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),s=o===120||o===88;return C0(r.slice(s?2:1),s?16:10)}return ed(r)||t}const _0={}.hasOwnProperty;function QC(t,i,r){return i&&typeof i=="object"&&(r=i,i=void 0),FC(r)(qC(HC(r).document().write(YC()(t,i,!0))))}function FC(t){const i={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Ln),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:s(An),blockQuote:s(Je),characterEscape:ae,characterReference:ae,codeFenced:s(Jt),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(Jt,c),codeText:s(It,c),codeTextData:ae,data:ae,codeFlowValue:ae,definition:s(Ql),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(St),hardBreakEscape:s($t),hardBreakTrailing:s($t),htmlFlow:s(Fl,c),htmlFlowData:ae,htmlText:s(Fl,c),htmlTextData:ae,image:s(Zl),label:c,link:s(Ln),listItem:s(jn),listItemValue:x,listOrdered:s(Mt,g),listUnordered:s(Mt),paragraph:s(pl),reference:E,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(An),strong:s(mi),thematicBreak:s(mr)},exit:{atxHeading:p(),atxHeadingSequence:I,autolink:p(),autolinkEmail:_e,autolinkProtocol:Ve,blockQuote:p(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ue,characterReference:we,codeFenced:p(k),codeFencedFence:z,codeFencedFenceInfo:b,codeFencedFenceMeta:w,codeFlowValue:j,codeIndented:p(T),codeText:p($),codeTextData:j,data:j,definition:p(),definitionDestinationString:W,definitionLabelString:B,definitionTitleString:_,emphasis:p(),hardBreakEscape:p(P),hardBreakTrailing:p(P),htmlFlow:p(fe),htmlFlowData:j,htmlText:p(ie),htmlTextData:j,image:p(J),label:ye,labelText:se,lineEnding:ee,link:p(U),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:re,resourceDestinationString:A,resourceTitleString:R,resource:X,setextHeading:p(le),setextHeadingLineSequence:Z,setextHeadingText:L,strong:p(),thematicBreak:p()}};L0(i,(t||{}).mdastExtensions||[]);const r={};return a;function a(Q){let ne={type:"root",children:[]};const de={stack:[ne],tokenStack:[],config:i,enter:h,exit:m,buffer:c,resume:y,data:r},be=[];let Oe=-1;for(;++Oe<Q.length;)if(Q[Oe][1].type==="listOrdered"||Q[Oe][1].type==="listUnordered")if(Q[Oe][0]==="enter")be.push(Oe);else{const Pe=be.pop();Oe=o(Q,Pe,Oe)}for(Oe=-1;++Oe<Q.length;){const Pe=i[Q[Oe][0]];_0.call(Pe,Q[Oe][1].type)&&Pe[Q[Oe][1].type].call(Object.assign({sliceSerialize:Q[Oe][2].sliceSerialize},de),Q[Oe][1])}if(de.tokenStack.length>0){const Pe=de.tokenStack[de.tokenStack.length-1];(Pe[1]||Pg).call(de,void 0,Pe[0])}for(ne.position={start:ql(Q.length>0?Q[0][1].start:{line:1,column:1,offset:0}),end:ql(Q.length>0?Q[Q.length-2][1].end:{line:1,column:1,offset:0})},Oe=-1;++Oe<i.transforms.length;)ne=i.transforms[Oe](ne)||ne;return ne}function o(Q,ne,de){let be=ne-1,Oe=-1,Pe=!1,sn,Et,tt,gt;for(;++be<=de;){const je=Q[be];switch(je[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{je[0]==="enter"?Oe++:Oe--,gt=void 0;break}case"lineEndingBlank":{je[0]==="enter"&&(sn&&!gt&&!Oe&&!tt&&(tt=be),gt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:gt=void 0}if(!Oe&&je[0]==="enter"&&je[1].type==="listItemPrefix"||Oe===-1&&je[0]==="exit"&&(je[1].type==="listUnordered"||je[1].type==="listOrdered")){if(sn){let Bn=be;for(Et=void 0;Bn--;){const jt=Q[Bn];if(jt[1].type==="lineEnding"||jt[1].type==="lineEndingBlank"){if(jt[0]==="exit")continue;Et&&(Q[Et][1].type="lineEndingBlank",Pe=!0),jt[1].type="lineEnding",Et=Bn}else if(!(jt[1].type==="linePrefix"||jt[1].type==="blockQuotePrefix"||jt[1].type==="blockQuotePrefixWhitespace"||jt[1].type==="blockQuoteMarker"||jt[1].type==="listItemIndent"))break}tt&&(!Et||tt<Et)&&(sn._spread=!0),sn.end=Object.assign({},Et?Q[Et][1].start:je[1].end),Q.splice(Et||be,0,["exit",sn,je[2]]),be++,de++}if(je[1].type==="listItemPrefix"){const Bn={type:"listItem",_spread:!1,start:Object.assign({},je[1].start),end:void 0};sn=Bn,Q.splice(be,0,["enter",Bn,je[2]]),be++,de++,tt=void 0,gt=!0}}}return Q[ne][1]._spread=Pe,de}function s(Q,ne){return de;function de(be){h.call(this,Q(be),be),ne&&ne.call(this,be)}}function c(){this.stack.push({type:"fragment",children:[]})}function h(Q,ne,de){this.stack[this.stack.length-1].children.push(Q),this.stack.push(Q),this.tokenStack.push([ne,de||void 0]),Q.position={start:ql(ne.start),end:void 0}}function p(Q){return ne;function ne(de){Q&&Q.call(this,de),m.call(this,de)}}function m(Q,ne){const de=this.stack.pop(),be=this.tokenStack.pop();if(be)be[0].type!==Q.type&&(ne?ne.call(this,Q,be[0]):(be[1]||Pg).call(this,Q,be[0]));else throw new Error("Cannot close `"+Q.type+"` ("+pa({start:Q.start,end:Q.end})+"): it’s not open");de.position.end=ql(Q.end)}function y(){return Wf(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function x(Q){if(this.data.expectingFirstListItemValue){const ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(Q),10),this.data.expectingFirstListItemValue=void 0}}function b(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=Q}function w(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=Q}function z(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Q.replace(/(\r?\n|\r)$/g,"")}function B(Q){const ne=this.resume(),de=this.stack[this.stack.length-1];de.label=ne,de.identifier=Mn(this.sliceSerialize(Q)).toLowerCase()}function _(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.title=Q}function W(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.url=Q}function I(Q){const ne=this.stack[this.stack.length-1];if(!ne.depth){const de=this.sliceSerialize(Q).length;ne.depth=de}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function Z(Q){const ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(Q).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(Q){const de=this.stack[this.stack.length-1].children;let be=de[de.length-1];(!be||be.type!=="text")&&(be=pt(),be.position={start:ql(Q.start),end:void 0},de.push(be)),this.stack.push(be)}function j(Q){const ne=this.stack.pop();ne.value+=this.sliceSerialize(Q),ne.position.end=ql(Q.end)}function ee(Q){const ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const de=ne.children[ne.children.length-1];de.position.end=ql(Q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&i.canContainEols.includes(ne.type)&&(ae.call(this,Q),j.call(this,Q))}function P(){this.data.atHardBreak=!0}function fe(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Q}function ie(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Q}function $(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Q}function U(){const Q=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";Q.type+="Reference",Q.referenceType=ne,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;this.data.referenceType=void 0}function J(){const Q=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";Q.type+="Reference",Q.referenceType=ne,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;this.data.referenceType=void 0}function se(Q){const ne=this.sliceSerialize(Q),de=this.stack[this.stack.length-2];de.label=XC(ne),de.identifier=Mn(ne).toLowerCase()}function ye(){const Q=this.stack[this.stack.length-1],ne=this.resume(),de=this.stack[this.stack.length-1];if(this.data.inReference=!0,de.type==="link"){const be=Q.children;de.children=be}else de.alt=ne}function A(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.url=Q}function R(){const Q=this.resume(),ne=this.stack[this.stack.length-1];ne.title=Q}function X(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function re(Q){const ne=this.resume(),de=this.stack[this.stack.length-1];de.label=ne,de.identifier=Mn(this.sliceSerialize(Q)).toLowerCase(),this.data.referenceType="full"}function me(Q){this.data.characterReferenceType=Q.type}function ue(Q){const ne=this.sliceSerialize(Q),de=this.data.characterReferenceType;let be;de?(be=C0(ne,de==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):be=ed(ne);const Oe=this.stack[this.stack.length-1];Oe.value+=be}function we(Q){const ne=this.stack.pop();ne.position.end=ql(Q.end)}function Ve(Q){j.call(this,Q);const ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(Q)}function _e(Q){j.call(this,Q);const ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(Q)}function Je(){return{type:"blockquote",children:[]}}function Jt(){return{type:"code",lang:null,meta:null,value:""}}function It(){return{type:"inlineCode",value:""}}function Ql(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function St(){return{type:"emphasis",children:[]}}function An(){return{type:"heading",depth:0,children:[]}}function $t(){return{type:"break"}}function Fl(){return{type:"html",value:""}}function Zl(){return{type:"image",title:null,url:"",alt:null}}function Ln(){return{type:"link",title:null,url:"",children:[]}}function Mt(Q){return{type:"list",ordered:Q.type==="listOrdered",start:null,spread:Q._spread,children:[]}}function jn(Q){return{type:"listItem",spread:Q._spread,checked:null,children:[]}}function pl(){return{type:"paragraph",children:[]}}function mi(){return{type:"strong",children:[]}}function pt(){return{type:"text",value:""}}function mr(){return{type:"thematicBreak"}}}function ql(t){return{line:t.line,column:t.column,offset:t.offset}}function L0(t,i){let r=-1;for(;++r<i.length;){const a=i[r];Array.isArray(a)?L0(t,a):ZC(t,a)}}function ZC(t,i){let r;for(r in i)if(_0.call(i,r))switch(r){case"canContainEols":{const a=i[r];a&&t[r].push(...a);break}case"transforms":{const a=i[r];a&&t[r].push(...a);break}case"enter":case"exit":{const a=i[r];a&&Object.assign(t[r],a);break}}}function Pg(t,i){throw t?new Error("Cannot close `"+t.type+"` ("+pa({start:t.start,end:t.end})+"): a different token (`"+i.type+"`, "+pa({start:i.start,end:i.end})+") is open"):new Error("Cannot close document, a token (`"+i.type+"`, "+pa({start:i.start,end:i.end})+") is still open")}function KC(t){const i=this;i.parser=r;function r(a){return QC(a,{...i.data("settings"),...t,extensions:i.data("micromarkExtensions")||[],mdastExtensions:i.data("fromMarkdownExtensions")||[]})}}function JC(t,i){const r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(i),!0)};return t.patch(i,r),t.applyData(i,r)}function IC(t,i){const r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(i,r),[t.applyData(i,r),{type:"text",value:`
68
+ `}]}function $C(t,i){const r=i.value?i.value+`
69
+ `:"",a={},o=i.lang?i.lang.split(/\s+/):[];o.length>0&&(a.className=["language-"+o[0]]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return i.meta&&(s.data={meta:i.meta}),t.patch(i,s),s=t.applyData(i,s),s={type:"element",tagName:"pre",properties:{},children:[s]},t.patch(i,s),s}function PC(t,i){const r={type:"element",tagName:"del",properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}function WC(t,i){const r={type:"element",tagName:"em",properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}function eT(t,i){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",a=String(i.identifier).toUpperCase(),o=hr(a.toLowerCase()),s=t.footnoteOrder.indexOf(a);let c,h=t.footnoteCounts.get(a);h===void 0?(h=0,t.footnoteOrder.push(a),c=t.footnoteOrder.length):c=s+1,h+=1,t.footnoteCounts.set(a,h);const p={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};t.patch(i,p);const m={type:"element",tagName:"sup",properties:{},children:[p]};return t.patch(i,m),t.applyData(i,m)}function tT(t,i){const r={type:"element",tagName:"h"+i.depth,properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}function nT(t,i){if(t.options.allowDangerousHtml){const r={type:"raw",value:i.value};return t.patch(i,r),t.applyData(i,r)}}function j0(t,i){const r=i.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(i.label||i.identifier)+"]"),i.type==="imageReference")return[{type:"text",value:"!["+i.alt+a}];const o=t.all(i),s=o[0];s&&s.type==="text"?s.value="["+s.value:o.unshift({type:"text",value:"["});const c=o[o.length-1];return c&&c.type==="text"?c.value+=a:o.push({type:"text",value:a}),o}function lT(t,i){const r=String(i.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return j0(t,i);const o={src:hr(a.url||""),alt:i.alt};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"img",properties:o,children:[]};return t.patch(i,s),t.applyData(i,s)}function iT(t,i){const r={src:hr(i.url)};i.alt!==null&&i.alt!==void 0&&(r.alt=i.alt),i.title!==null&&i.title!==void 0&&(r.title=i.title);const a={type:"element",tagName:"img",properties:r,children:[]};return t.patch(i,a),t.applyData(i,a)}function rT(t,i){const r={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};t.patch(i,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(i,a),t.applyData(i,a)}function aT(t,i){const r=String(i.identifier).toUpperCase(),a=t.definitionById.get(r);if(!a)return j0(t,i);const o={href:hr(a.url||"")};a.title!==null&&a.title!==void 0&&(o.title=a.title);const s={type:"element",tagName:"a",properties:o,children:t.all(i)};return t.patch(i,s),t.applyData(i,s)}function uT(t,i){const r={href:hr(i.url)};i.title!==null&&i.title!==void 0&&(r.title=i.title);const a={type:"element",tagName:"a",properties:r,children:t.all(i)};return t.patch(i,a),t.applyData(i,a)}function oT(t,i,r){const a=t.all(i),o=r?sT(r):B0(i),s={},c=[];if(typeof i.checked=="boolean"){const y=a[0];let g;y&&y.type==="element"&&y.tagName==="p"?g=y:(g={type:"element",tagName:"p",properties:{},children:[]},a.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let h=-1;for(;++h<a.length;){const y=a[h];(o||h!==0||y.type!=="element"||y.tagName!=="p")&&c.push({type:"text",value:`
70
+ `}),y.type==="element"&&y.tagName==="p"&&!o?c.push(...y.children):c.push(y)}const p=a[a.length-1];p&&(o||p.type!=="element"||p.tagName!=="p")&&c.push({type:"text",value:`
71
+ `});const m={type:"element",tagName:"li",properties:s,children:c};return t.patch(i,m),t.applyData(i,m)}function sT(t){let i=!1;if(t.type==="list"){i=t.spread||!1;const r=t.children;let a=-1;for(;!i&&++a<r.length;)i=B0(r[a])}return i}function B0(t){const i=t.spread;return i??t.children.length>1}function cT(t,i){const r={},a=t.all(i);let o=-1;for(typeof i.start=="number"&&i.start!==1&&(r.start=i.start);++o<a.length;){const c=a[o];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const s={type:"element",tagName:i.ordered?"ol":"ul",properties:r,children:t.wrap(a,!0)};return t.patch(i,s),t.applyData(i,s)}function fT(t,i){const r={type:"element",tagName:"p",properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}function dT(t,i){const r={type:"root",children:t.wrap(t.all(i))};return t.patch(i,r),t.applyData(i,r)}function hT(t,i){const r={type:"element",tagName:"strong",properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}function mT(t,i){const r=t.all(i),a=r.shift(),o=[];if(a){const c={type:"element",tagName:"thead",properties:{},children:t.wrap([a],!0)};t.patch(i.children[0],c),o.push(c)}if(r.length>0){const c={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},h=Jf(i.children[1]),p=g0(i.children[i.children.length-1]);h&&p&&(c.position={start:h,end:p}),o.push(c)}const s={type:"element",tagName:"table",properties:{},children:t.wrap(o,!0)};return t.patch(i,s),t.applyData(i,s)}function pT(t,i,r){const a=r?r.children:void 0,s=(a?a.indexOf(i):1)===0?"th":"td",c=r&&r.type==="table"?r.align:void 0,h=c?c.length:i.children.length;let p=-1;const m=[];for(;++p<h;){const g=i.children[p],x={},b=c?c[p]:void 0;b&&(x.align=b);let w={type:"element",tagName:s,properties:x,children:[]};g&&(w.children=t.all(g),t.patch(g,w),w=t.applyData(g,w)),m.push(w)}const y={type:"element",tagName:"tr",properties:{},children:t.wrap(m,!0)};return t.patch(i,y),t.applyData(i,y)}function gT(t,i){const r={type:"element",tagName:"td",properties:{},children:t.all(i)};return t.patch(i,r),t.applyData(i,r)}const Wg=9,ey=32;function yT(t){const i=String(t),r=/\r?\n|\r/g;let a=r.exec(i),o=0;const s=[];for(;a;)s.push(ty(i.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(i);return s.push(ty(i.slice(o),o>0,!1)),s.join("")}function ty(t,i,r){let a=0,o=t.length;if(i){let s=t.codePointAt(a);for(;s===Wg||s===ey;)a++,s=t.codePointAt(a)}if(r){let s=t.codePointAt(o-1);for(;s===Wg||s===ey;)o--,s=t.codePointAt(o-1)}return o>a?t.slice(a,o):""}function vT(t,i){const r={type:"text",value:yT(String(i.value))};return t.patch(i,r),t.applyData(i,r)}function bT(t,i){const r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(i,r),t.applyData(i,r)}const xT={blockquote:JC,break:IC,code:$C,delete:PC,emphasis:WC,footnoteReference:eT,heading:tT,html:nT,imageReference:lT,image:iT,inlineCode:rT,linkReference:aT,link:uT,listItem:oT,list:cT,paragraph:fT,root:dT,strong:hT,table:mT,tableCell:gT,tableRow:pT,text:vT,thematicBreak:bT,toml:Zu,yaml:Zu,definition:Zu,footnoteDefinition:Zu};function Zu(){}const U0=-1,wo=0,ya=1,co=2,nd=3,ld=4,id=5,rd=6,H0=7,q0=8,ny=typeof self=="object"?self:globalThis,ST=(t,i)=>{const r=(o,s)=>(t.set(s,o),o),a=o=>{if(t.has(o))return t.get(o);const[s,c]=i[o];switch(s){case wo:case U0:return r(c,o);case ya:{const h=r([],o);for(const p of c)h.push(a(p));return h}case co:{const h=r({},o);for(const[p,m]of c)h[a(p)]=a(m);return h}case nd:return r(new Date(c),o);case ld:{const{source:h,flags:p}=c;return r(new RegExp(h,p),o)}case id:{const h=r(new Map,o);for(const[p,m]of c)h.set(a(p),a(m));return h}case rd:{const h=r(new Set,o);for(const p of c)h.add(a(p));return h}case H0:{const{name:h,message:p}=c;return r(new ny[h](p),o)}case q0:return r(BigInt(c),o);case"BigInt":return r(Object(BigInt(c)),o);case"ArrayBuffer":return r(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:h}=new Uint8Array(c);return r(new DataView(h),c)}}return r(new ny[s](c),o)};return a},ly=t=>ST(new Map,t)(0),nr="",{toString:ET}={},{keys:wT}=Object,ca=t=>{const i=typeof t;if(i!=="object"||!t)return[wo,i];const r=ET.call(t).slice(8,-1);switch(r){case"Array":return[ya,nr];case"Object":return[co,nr];case"Date":return[nd,nr];case"RegExp":return[ld,nr];case"Map":return[id,nr];case"Set":return[rd,nr];case"DataView":return[ya,r]}return r.includes("Array")?[ya,r]:r.includes("Error")?[H0,r]:[co,r]},Ku=([t,i])=>t===wo&&(i==="function"||i==="symbol"),CT=(t,i,r,a)=>{const o=(c,h)=>{const p=a.push(c)-1;return r.set(h,p),p},s=c=>{if(r.has(c))return r.get(c);let[h,p]=ca(c);switch(h){case wo:{let y=c;switch(p){case"bigint":h=q0,y=c.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+p);y=null;break;case"undefined":return o([U0],c)}return o([h,y],c)}case ya:{if(p){let x=c;return p==="DataView"?x=new Uint8Array(c.buffer):p==="ArrayBuffer"&&(x=new Uint8Array(c)),o([p,[...x]],c)}const y=[],g=o([h,y],c);for(const x of c)y.push(s(x));return g}case co:{if(p)switch(p){case"BigInt":return o([p,c.toString()],c);case"Boolean":case"Number":case"String":return o([p,c.valueOf()],c)}if(i&&"toJSON"in c)return s(c.toJSON());const y=[],g=o([h,y],c);for(const x of wT(c))(t||!Ku(ca(c[x])))&&y.push([s(x),s(c[x])]);return g}case nd:return o([h,c.toISOString()],c);case ld:{const{source:y,flags:g}=c;return o([h,{source:y,flags:g}],c)}case id:{const y=[],g=o([h,y],c);for(const[x,b]of c)(t||!(Ku(ca(x))||Ku(ca(b))))&&y.push([s(x),s(b)]);return g}case rd:{const y=[],g=o([h,y],c);for(const x of c)(t||!Ku(ca(x)))&&y.push(s(x));return g}}const{message:m}=c;return o([h,{name:p,message:m}],c)};return s},iy=(t,{json:i,lossy:r}={})=>{const a=[];return CT(!(i||r),!!i,new Map,a)(t),a},fo=typeof structuredClone=="function"?(t,i)=>i&&("json"in i||"lossy"in i)?ly(iy(t,i)):structuredClone(t):(t,i)=>ly(iy(t,i));function TT(t,i){const r=[{type:"text",value:"↩"}];return i>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(i)}]}),r}function AT(t,i){return"Back to reference "+(t+1)+(i>1?"-"+i:"")}function kT(t){const i=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||TT,a=t.options.footnoteBackLabel||AT,o=t.options.footnoteLabel||"Footnotes",s=t.options.footnoteLabelTagName||"h2",c=t.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let p=-1;for(;++p<t.footnoteOrder.length;){const m=t.footnoteById.get(t.footnoteOrder[p]);if(!m)continue;const y=t.all(m),g=String(m.identifier).toUpperCase(),x=hr(g.toLowerCase());let b=0;const w=[],z=t.footnoteCounts.get(g);for(;z!==void 0&&++b<=z;){w.length>0&&w.push({type:"text",value:" "});let B=typeof r=="string"?r:r(p,b);typeof B=="string"&&(B={type:"text",value:B}),w.push({type:"element",tagName:"a",properties:{href:"#"+i+"fnref-"+x+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(p,b),className:["data-footnote-backref"]},children:Array.isArray(B)?B:[B]})}const k=y[y.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const B=k.children[k.children.length-1];B&&B.type==="text"?B.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...w)}else y.push(...w);const T={type:"element",tagName:"li",properties:{id:i+"fn-"+x},children:t.wrap(y,!0)};t.patch(m,T),h.push(T)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...fo(c),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
72
+ `},{type:"element",tagName:"ol",properties:{},children:t.wrap(h,!0)},{type:"text",value:`
73
+ `}]}}const Co=(function(t){if(t==null)return OT;if(typeof t=="function")return To(t);if(typeof t=="object")return Array.isArray(t)?DT(t):zT(t);if(typeof t=="string")return RT(t);throw new Error("Expected function, string, or object as test")});function DT(t){const i=[];let r=-1;for(;++r<t.length;)i[r]=Co(t[r]);return To(a);function a(...o){let s=-1;for(;++s<i.length;)if(i[s].apply(this,o))return!0;return!1}}function zT(t){const i=t;return To(r);function r(a){const o=a;let s;for(s in t)if(o[s]!==i[s])return!1;return!0}}function RT(t){return To(i);function i(r){return r&&r.type===t}}function To(t){return i;function i(r,a,o){return!!(MT(r)&&t.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function OT(){return!0}function MT(t){return t!==null&&typeof t=="object"&&"type"in t}const Y0=[],NT=!0,Cf=!1,_T="skip";function V0(t,i,r,a){let o;typeof i=="function"&&typeof r!="function"?(a=r,r=i):o=i;const s=Co(o),c=a?-1:1;h(t,void 0,[])();function h(p,m,y){const g=p&&typeof p=="object"?p:{};if(typeof g.type=="string"){const b=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(p.type+(b?"<"+b+">":""))+")"})}return x;function x(){let b=Y0,w,z,k;if((!i||s(p,m,y[y.length-1]||void 0))&&(b=LT(r(p,y)),b[0]===Cf))return b;if("children"in p&&p.children){const T=p;if(T.children&&b[0]!==_T)for(z=(a?T.children.length:-1)+c,k=y.concat(T);z>-1&&z<T.children.length;){const B=T.children[z];if(w=h(B,z,k)(),w[0]===Cf)return w;z=typeof w[1]=="number"?w[1]:z+c}}return b}}}function LT(t){return Array.isArray(t)?t:typeof t=="number"?[NT,t]:t==null?Y0:[t]}function ad(t,i,r,a){let o,s,c;typeof i=="function"&&typeof r!="function"?(s=void 0,c=i,o=r):(s=i,c=r,o=a),V0(t,s,h,o);function h(p,m){const y=m[m.length-1],g=y?y.children.indexOf(p):void 0;return c(p,g,y)}}const Tf={}.hasOwnProperty,jT={};function BT(t,i){const r=i||jT,a=new Map,o=new Map,s=new Map,c={...xT,...r.handlers},h={all:m,applyData:HT,definitionById:a,footnoteById:o,footnoteCounts:s,footnoteOrder:[],handlers:c,one:p,options:r,patch:UT,wrap:YT};return ad(t,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const g=y.type==="definition"?a:o,x=String(y.identifier).toUpperCase();g.has(x)||g.set(x,y)}}),h;function p(y,g){const x=y.type,b=h.handlers[x];if(Tf.call(h.handlers,x)&&b)return b(h,y,g);if(h.options.passThrough&&h.options.passThrough.includes(x)){if("children"in y){const{children:z,...k}=y,T=fo(k);return T.children=h.all(y),T}return fo(y)}return(h.options.unknownHandler||qT)(h,y,g)}function m(y){const g=[];if("children"in y){const x=y.children;let b=-1;for(;++b<x.length;){const w=h.one(x[b],y);if(w){if(b&&x[b-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=ry(w.value)),!Array.isArray(w)&&w.type==="element")){const z=w.children[0];z&&z.type==="text"&&(z.value=ry(z.value))}Array.isArray(w)?g.push(...w):g.push(w)}}}return g}}function UT(t,i){t.position&&(i.position=A2(t))}function HT(t,i){let r=i;if(t&&t.data){const a=t.data.hName,o=t.data.hChildren,s=t.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const c="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:c}}r.type==="element"&&s&&Object.assign(r.properties,fo(s)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function qT(t,i){const r=i.data||{},a="value"in i&&!(Tf.call(r,"hProperties")||Tf.call(r,"hChildren"))?{type:"text",value:i.value}:{type:"element",tagName:"div",properties:{},children:t.all(i)};return t.patch(i,a),t.applyData(i,a)}function YT(t,i){const r=[];let a=-1;for(i&&r.push({type:"text",value:`
74
+ `});++a<t.length;)a&&r.push({type:"text",value:`
75
+ `}),r.push(t[a]);return i&&t.length>0&&r.push({type:"text",value:`
76
+ `}),r}function ry(t){let i=0,r=t.charCodeAt(i);for(;r===9||r===32;)i++,r=t.charCodeAt(i);return t.slice(i)}function ay(t,i){const r=BT(t,i),a=r.one(t,void 0),o=kT(r),s=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&s.children.push({type:"text",value:`
77
+ `},o),s}function VT(t,i){return t&&"run"in t?async function(r,a){const o=ay(r,{file:a,...i});await t.run(o,a)}:function(r,a){return ay(r,{file:a,...t||i})}}function uy(t){if(t)throw t}var ef,oy;function XT(){if(oy)return ef;oy=1;var t=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(m){return typeof Array.isArray=="function"?Array.isArray(m):i.call(m)==="[object Array]"},s=function(m){if(!m||i.call(m)!=="[object Object]")return!1;var y=t.call(m,"constructor"),g=m.constructor&&m.constructor.prototype&&t.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!y&&!g)return!1;var x;for(x in m);return typeof x>"u"||t.call(m,x)},c=function(m,y){r&&y.name==="__proto__"?r(m,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):m[y.name]=y.newValue},h=function(m,y){if(y==="__proto__")if(t.call(m,y)){if(a)return a(m,y).value}else return;return m[y]};return ef=function p(){var m,y,g,x,b,w,z=arguments[0],k=1,T=arguments.length,B=!1;for(typeof z=="boolean"&&(B=z,z=arguments[1]||{},k=2),(z==null||typeof z!="object"&&typeof z!="function")&&(z={});k<T;++k)if(m=arguments[k],m!=null)for(y in m)g=h(z,y),x=h(m,y),z!==x&&(B&&x&&(s(x)||(b=o(x)))?(b?(b=!1,w=g&&o(g)?g:[]):w=g&&s(g)?g:{},c(z,{name:y,newValue:p(B,w,x)})):typeof x<"u"&&c(z,{name:y,newValue:x}));return z},ef}var GT=XT();const tf=zf(GT);function Af(t){if(typeof t!="object"||t===null)return!1;const i=Object.getPrototypeOf(t);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function QT(){const t=[],i={run:r,use:a};return i;function r(...o){let s=-1;const c=o.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);h(null,...o);function h(p,...m){const y=t[++s];let g=-1;if(p){c(p);return}for(;++g<o.length;)(m[g]===null||m[g]===void 0)&&(m[g]=o[g]);o=m,y?FT(y,h)(...m):c(null,...m)}}function a(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return t.push(o),i}}function FT(t,i){let r;return a;function a(...c){const h=t.length>c.length;let p;h&&c.push(o);try{p=t.apply(this,c)}catch(m){const y=m;if(h&&r)throw y;return o(y)}h||(p&&p.then&&typeof p.then=="function"?p.then(s,o):p instanceof Error?o(p):s(p))}function o(c,...h){r||(r=!0,i(c,...h))}function s(c){o(null,c)}}const Vn={basename:ZT,dirname:KT,extname:JT,join:IT,sep:"/"};function ZT(t,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Na(t);let r=0,a=-1,o=t.length,s;if(i===void 0||i.length===0||i.length>t.length){for(;o--;)if(t.codePointAt(o)===47){if(s){r=o+1;break}}else a<0&&(s=!0,a=o+1);return a<0?"":t.slice(r,a)}if(i===t)return"";let c=-1,h=i.length-1;for(;o--;)if(t.codePointAt(o)===47){if(s){r=o+1;break}}else c<0&&(s=!0,c=o+1),h>-1&&(t.codePointAt(o)===i.codePointAt(h--)?h<0&&(a=o):(h=-1,a=c));return r===a?a=c:a<0&&(a=t.length),t.slice(r,a)}function KT(t){if(Na(t),t.length===0)return".";let i=-1,r=t.length,a;for(;--r;)if(t.codePointAt(r)===47){if(a){i=r;break}}else a||(a=!0);return i<0?t.codePointAt(0)===47?"/":".":i===1&&t.codePointAt(0)===47?"//":t.slice(0,i)}function JT(t){Na(t);let i=t.length,r=-1,a=0,o=-1,s=0,c;for(;i--;){const h=t.codePointAt(i);if(h===47){if(c){a=i+1;break}continue}r<0&&(c=!0,r=i+1),h===46?o<0?o=i:s!==1&&(s=1):o>-1&&(s=-1)}return o<0||r<0||s===0||s===1&&o===r-1&&o===a+1?"":t.slice(o,r)}function IT(...t){let i=-1,r;for(;++i<t.length;)Na(t[i]),t[i]&&(r=r===void 0?t[i]:r+"/"+t[i]);return r===void 0?".":$T(r)}function $T(t){Na(t);const i=t.codePointAt(0)===47;let r=PT(t,!i);return r.length===0&&!i&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),i?"/"+r:r}function PT(t,i){let r="",a=0,o=-1,s=0,c=-1,h,p;for(;++c<=t.length;){if(c<t.length)h=t.codePointAt(c);else{if(h===47)break;h=47}if(h===47){if(!(o===c-1||s===1))if(o!==c-1&&s===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(p=r.lastIndexOf("/"),p!==r.length-1){p<0?(r="",a=0):(r=r.slice(0,p),a=r.length-1-r.lastIndexOf("/")),o=c,s=0;continue}}else if(r.length>0){r="",a=0,o=c,s=0;continue}}i&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+t.slice(o+1,c):r=t.slice(o+1,c),a=c-o-1;o=c,s=0}else h===46&&s>-1?s++:s=-1}return r}function Na(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const WT={cwd:eA};function eA(){return"/"}function kf(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function tA(t){if(typeof t=="string")t=new URL(t);else if(!kf(t)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(t.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return nA(t)}function nA(t){if(t.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const i=t.pathname;let r=-1;for(;++r<i.length;)if(i.codePointAt(r)===37&&i.codePointAt(r+1)===50){const a=i.codePointAt(r+2);if(a===70||a===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(i)}const nf=["history","path","basename","stem","extname","dirname"];class X0{constructor(i){let r;i?kf(i)?r={path:i}:typeof i=="string"||lA(i)?r={value:i}:r=i:r={},this.cwd="cwd"in r?"":WT.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<nf.length;){const s=nf[a];s in r&&r[s]!==void 0&&r[s]!==null&&(this[s]=s==="history"?[...r[s]]:r[s])}let o;for(o in r)nf.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?Vn.basename(this.path):void 0}set basename(i){rf(i,"basename"),lf(i,"basename"),this.path=Vn.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?Vn.dirname(this.path):void 0}set dirname(i){sy(this.basename,"dirname"),this.path=Vn.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?Vn.extname(this.path):void 0}set extname(i){if(lf(i,"extname"),sy(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vn.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){kf(i)&&(i=tA(i)),rf(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?Vn.basename(this.path,this.extname):void 0}set stem(i){rf(i,"stem"),lf(i,"stem"),this.path=Vn.join(this.dirname||"",i+(this.extname||""))}fail(i,r,a){const o=this.message(i,r,a);throw o.fatal=!0,o}info(i,r,a){const o=this.message(i,r,a);return o.fatal=void 0,o}message(i,r,a){const o=new Ot(i,r,a);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function lf(t,i){if(t&&t.includes(Vn.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+Vn.sep+"`")}function rf(t,i){if(!t)throw new Error("`"+i+"` cannot be empty")}function sy(t,i){if(!t)throw new Error("Setting `"+i+"` requires `path` to be set too")}function lA(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const iA=(function(t){const a=this.constructor.prototype,o=a[t],s=function(){return o.apply(s,arguments)};return Object.setPrototypeOf(s,a),s}),rA={}.hasOwnProperty;class ud extends iA{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=QT()}copy(){const i=new ud;let r=-1;for(;++r<this.attachers.length;){const a=this.attachers[r];i.use(...a)}return i.data(tf(!0,{},this.namespace)),i}data(i,r){return typeof i=="string"?arguments.length===2?(of("data",this.frozen),this.namespace[i]=r,this):rA.call(this.namespace,i)&&this.namespace[i]||void 0:i?(of("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const o=r.call(i,...a);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const r=Ju(i),a=this.parser||this.Parser;return af("parse",a),a(String(r),r)}process(i,r){const a=this;return this.freeze(),af("process",this.parser||this.Parser),uf("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(s,c){const h=Ju(i),p=a.parse(h);a.run(p,h,function(y,g,x){if(y||!g||!x)return m(y);const b=g,w=a.stringify(b,x);oA(w)?x.value=w:x.result=w,m(y,x)});function m(y,g){y||!g?c(y):s?s(g):r(void 0,g)}}}processSync(i){let r=!1,a;return this.freeze(),af("processSync",this.parser||this.Parser),uf("processSync",this.compiler||this.Compiler),this.process(i,o),fy("processSync","process",r),a;function o(s,c){r=!0,uy(s),a=c}}run(i,r,a){cy(i),this.freeze();const o=this.transformers;return!a&&typeof r=="function"&&(a=r,r=void 0),a?s(void 0,a):new Promise(s);function s(c,h){const p=Ju(r);o.run(i,p,m);function m(y,g,x){const b=g||i;y?h(y):c?c(b):a(void 0,b,x)}}}runSync(i,r){let a=!1,o;return this.run(i,r,s),fy("runSync","run",a),o;function s(c,h){uy(c),o=h,a=!0}}stringify(i,r){this.freeze();const a=Ju(r),o=this.compiler||this.Compiler;return uf("stringify",o),cy(i),o(i,a)}use(i,...r){const a=this.attachers,o=this.namespace;if(of("use",this.frozen),i!=null)if(typeof i=="function")p(i,r);else if(typeof i=="object")Array.isArray(i)?h(i):c(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function s(m){if(typeof m=="function")p(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[y,...g]=m;p(y,g)}else c(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function c(m){if(!("plugins"in m)&&!("settings"in m))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(m.plugins),m.settings&&(o.settings=tf(!0,o.settings,m.settings))}function h(m){let y=-1;if(m!=null)if(Array.isArray(m))for(;++y<m.length;){const g=m[y];s(g)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function p(m,y){let g=-1,x=-1;for(;++g<a.length;)if(a[g][0]===m){x=g;break}if(x===-1)a.push([m,...y]);else if(y.length>0){let[b,...w]=y;const z=a[x][1];Af(z)&&Af(b)&&(b=tf(!0,z,b)),a[x]=[m,b,...w]}}}}const aA=new ud().freeze();function af(t,i){if(typeof i!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function uf(t,i){if(typeof i!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function of(t,i){if(i)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function cy(t){if(!Af(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function fy(t,i,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+i+"` instead")}function Ju(t){return uA(t)?t:new X0(t)}function uA(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function oA(t){return typeof t=="string"||sA(t)}function sA(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const cA="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",dy=[],hy={allowDangerousHtml:!0},fA=/^(https?|ircs?|mailto|xmpp)$/i,dA=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function hA(t){const i=mA(t),r=pA(t);return gA(i.runSync(i.parse(r),r),t)}function mA(t){const i=t.rehypePlugins||dy,r=t.remarkPlugins||dy,a=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...hy}:hy;return aA().use(KC).use(r).use(VT,a).use(i)}function pA(t){const i=t.children||"",r=new X0;return typeof i=="string"&&(r.value=i),r}function gA(t,i){const r=i.allowedElements,a=i.allowElement,o=i.components,s=i.disallowedElements,c=i.skipHtml,h=i.unwrapDisallowed,p=i.urlTransform||yA;for(const y of dA)Object.hasOwn(i,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+cA+y.id,void 0);return ad(t,m),O2(t,{Fragment:O.Fragment,components:o,ignoreInvalidStyle:!0,jsx:O.jsx,jsxs:O.jsxs,passKeys:!0,passNode:!0});function m(y,g,x){if(y.type==="raw"&&x&&typeof g=="number")return c?x.children.splice(g,1):x.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let b;for(b in $c)if(Object.hasOwn($c,b)&&Object.hasOwn(y.properties,b)){const w=y.properties[b],z=$c[b];(z===null||z.includes(y.tagName))&&(y.properties[b]=p(String(w||""),b,y))}}if(y.type==="element"){let b=r?!r.includes(y.tagName):s?s.includes(y.tagName):!1;if(!b&&a&&typeof g=="number"&&(b=!a(y,g,x)),b&&x&&typeof g=="number")return h&&y.children?x.children.splice(g,1,...y.children):x.children.splice(g,1),g}}}function yA(t){const i=t.indexOf(":"),r=t.indexOf("?"),a=t.indexOf("#"),o=t.indexOf("/");return i===-1||o!==-1&&i>o||r!==-1&&i>r||a!==-1&&i>a||fA.test(t.slice(0,i))?t:""}function my(t,i){const r=String(t);if(typeof i!="string")throw new TypeError("Expected character");let a=0,o=r.indexOf(i);for(;o!==-1;)a++,o=r.indexOf(i,o+i.length);return a}function vA(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function bA(t,i,r){const o=Co((r||{}).ignore||[]),s=xA(i);let c=-1;for(;++c<s.length;)V0(t,"text",h);function h(m,y){let g=-1,x;for(;++g<y.length;){const b=y[g],w=x?x.children:void 0;if(o(b,w?w.indexOf(b):void 0,x))return;x=b}if(x)return p(m,y)}function p(m,y){const g=y[y.length-1],x=s[c][0],b=s[c][1];let w=0;const k=g.children.indexOf(m);let T=!1,B=[];x.lastIndex=0;let _=x.exec(m.value);for(;_;){const W=_.index,I={index:_.index,input:_.input,stack:[...y,m]};let L=b(..._,I);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?x.lastIndex=W+1:(w!==W&&B.push({type:"text",value:m.value.slice(w,W)}),Array.isArray(L)?B.push(...L):L&&B.push(L),w=W+_[0].length,T=!0),!x.global)break;_=x.exec(m.value)}return T?(w<m.value.length&&B.push({type:"text",value:m.value.slice(w)}),g.children.splice(k,1,...B)):B=[m],k+B.length}}function xA(t){const i=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!t[0]||Array.isArray(t[0])?t:[t];let a=-1;for(;++a<r.length;){const o=r[a];i.push([SA(o[0]),EA(o[1])])}return i}function SA(t){return typeof t=="string"?new RegExp(vA(t),"g"):t}function EA(t){return typeof t=="function"?t:function(){return t}}const sf="phrasing",cf=["autolink","link","image","label"];function wA(){return{transforms:[RA],enter:{literalAutolink:TA,literalAutolinkEmail:ff,literalAutolinkHttp:ff,literalAutolinkWww:ff},exit:{literalAutolink:zA,literalAutolinkEmail:DA,literalAutolinkHttp:AA,literalAutolinkWww:kA}}}function CA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:sf,notInConstruct:cf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:sf,notInConstruct:cf},{character:":",before:"[ps]",after:"\\/",inConstruct:sf,notInConstruct:cf}]}}function TA(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function ff(t){this.config.enter.autolinkProtocol.call(this,t)}function AA(t){this.config.exit.autolinkProtocol.call(this,t)}function kA(t){this.config.exit.data.call(this,t);const i=this.stack[this.stack.length-1];i.type,i.url="http://"+this.sliceSerialize(t)}function DA(t){this.config.exit.autolinkEmail.call(this,t)}function zA(t){this.exit(t)}function RA(t){bA(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,OA],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),MA]],{ignore:["link","linkReference"]})}function OA(t,i,r,a,o){let s="";if(!G0(o)||(/^w/i.test(i)&&(r=i+r,i="",s="http://"),!NA(r)))return!1;const c=_A(r+a);if(!c[0])return!1;const h={type:"link",title:null,url:s+i+c[0],children:[{type:"text",value:i+c[0]}]};return c[1]?[h,{type:"text",value:c[1]}]:h}function MA(t,i,r,a){return!G0(a,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+i+"@"+r,children:[{type:"text",value:i+"@"+r}]}}function NA(t){const i=t.split(".");return!(i.length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))}function _A(t){const i=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!i)return[t,void 0];t=t.slice(0,i.index);let r=i[0],a=r.indexOf(")");const o=my(t,"(");let s=my(t,")");for(;a!==-1&&o>s;)t+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),s++;return[t,r]}function G0(t,i){const r=t.input.charCodeAt(t.index-1);return(t.index===0||di(r)||So(r))&&(!i||r!==47)}Q0.peek=XA;function LA(){this.buffer()}function jA(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function BA(){this.buffer()}function UA(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function HA(t){const i=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Mn(this.sliceSerialize(t)).toLowerCase(),r.label=i}function qA(t){this.exit(t)}function YA(t){const i=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Mn(this.sliceSerialize(t)).toLowerCase(),r.label=i}function VA(t){this.exit(t)}function XA(){return"["}function Q0(t,i,r,a){const o=r.createTracker(a);let s=o.move("[^");const c=r.enter("footnoteReference"),h=r.enter("reference");return s+=o.move(r.safe(r.associationId(t),{after:"]",before:s})),h(),c(),s+=o.move("]"),s}function GA(){return{enter:{gfmFootnoteCallString:LA,gfmFootnoteCall:jA,gfmFootnoteDefinitionLabelString:BA,gfmFootnoteDefinition:UA},exit:{gfmFootnoteCallString:HA,gfmFootnoteCall:qA,gfmFootnoteDefinitionLabelString:YA,gfmFootnoteDefinition:VA}}}function QA(t){let i=!1;return t&&t.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:r,footnoteReference:Q0},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(a,o,s,c){const h=s.createTracker(c);let p=h.move("[^");const m=s.enter("footnoteDefinition"),y=s.enter("label");return p+=h.move(s.safe(s.associationId(a),{before:p,after:"]"})),y(),p+=h.move("]:"),a.children&&a.children.length>0&&(h.shift(4),p+=h.move((i?`
78
+ `:" ")+s.indentLines(s.containerFlow(a,h.current()),i?F0:FA))),m(),p}}function FA(t,i,r){return i===0?t:F0(t,i,r)}function F0(t,i,r){return(r?"":" ")+t}const ZA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Z0.peek=PA;function KA(){return{canContainEols:["delete"],enter:{strikethrough:IA},exit:{strikethrough:$A}}}function JA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ZA}],handlers:{delete:Z0}}}function IA(t){this.enter({type:"delete",children:[]},t)}function $A(t){this.exit(t)}function Z0(t,i,r,a){const o=r.createTracker(a),s=r.enter("strikethrough");let c=o.move("~~");return c+=r.containerPhrasing(t,{...o.current(),before:c,after:"~"}),c+=o.move("~~"),s(),c}function PA(){return"~"}function WA(t){return t.length}function ek(t,i){const r=i||{},a=(r.align||[]).concat(),o=r.stringLength||WA,s=[],c=[],h=[],p=[];let m=0,y=-1;for(;++y<t.length;){const z=[],k=[];let T=-1;for(t[y].length>m&&(m=t[y].length);++T<t[y].length;){const B=tk(t[y][T]);if(r.alignDelimiters!==!1){const _=o(B);k[T]=_,(p[T]===void 0||_>p[T])&&(p[T]=_)}z.push(B)}c[y]=z,h[y]=k}let g=-1;if(typeof a=="object"&&"length"in a)for(;++g<m;)s[g]=py(a[g]);else{const z=py(a);for(;++g<m;)s[g]=z}g=-1;const x=[],b=[];for(;++g<m;){const z=s[g];let k="",T="";z===99?(k=":",T=":"):z===108?k=":":z===114&&(T=":");let B=r.alignDelimiters===!1?1:Math.max(1,p[g]-k.length-T.length);const _=k+"-".repeat(B)+T;r.alignDelimiters!==!1&&(B=k.length+B+T.length,B>p[g]&&(p[g]=B),b[g]=B),x[g]=_}c.splice(1,0,x),h.splice(1,0,b),y=-1;const w=[];for(;++y<c.length;){const z=c[y],k=h[y];g=-1;const T=[];for(;++g<m;){const B=z[g]||"";let _="",W="";if(r.alignDelimiters!==!1){const I=p[g]-(k[g]||0),L=s[g];L===114?_=" ".repeat(I):L===99?I%2?(_=" ".repeat(I/2+.5),W=" ".repeat(I/2-.5)):(_=" ".repeat(I/2),W=_):W=" ".repeat(I)}r.delimiterStart!==!1&&!g&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&B==="")&&(r.delimiterStart!==!1||g)&&T.push(" "),r.alignDelimiters!==!1&&T.push(_),T.push(B),r.alignDelimiters!==!1&&T.push(W),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||g!==m-1)&&T.push("|")}w.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return w.join(`
79
+ `)}function tk(t){return t==null?"":String(t)}function py(t){const i=typeof t=="string"?t.codePointAt(0):0;return i===67||i===99?99:i===76||i===108?108:i===82||i===114?114:0}function nk(t,i,r,a){const o=r.enter("blockquote"),s=r.createTracker(a);s.move("> "),s.shift(2);const c=r.indentLines(r.containerFlow(t,s.current()),lk);return o(),c}function lk(t,i,r){return">"+(r?"":" ")+t}function ik(t,i){return gy(t,i.inConstruct,!0)&&!gy(t,i.notInConstruct,!1)}function gy(t,i,r){if(typeof i=="string"&&(i=[i]),!i||i.length===0)return r;let a=-1;for(;++a<i.length;)if(t.includes(i[a]))return!0;return!1}function yy(t,i,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character===`
80
+ `&&ik(r.stack,r.unsafe[o]))return/[ \t]/.test(a.before)?"":" ";return`\\
81
+ `}function rk(t,i){const r=String(t);let a=r.indexOf(i),o=a,s=0,c=0;if(typeof i!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===o?++s>c&&(c=s):s=1,o=a+i.length,a=r.indexOf(i,o);return c}function ak(t,i){return!!(i.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function uk(t){const i=t.options.fence||"`";if(i!=="`"&&i!=="~")throw new Error("Cannot serialize code with `"+i+"` for `options.fence`, expected `` ` `` or `~`");return i}function ok(t,i,r,a){const o=uk(r),s=t.value||"",c=o==="`"?"GraveAccent":"Tilde";if(ak(t,r)){const g=r.enter("codeIndented"),x=r.indentLines(s,sk);return g(),x}const h=r.createTracker(a),p=o.repeat(Math.max(rk(s,o)+1,3)),m=r.enter("codeFenced");let y=h.move(p);if(t.lang){const g=r.enter(`codeFencedLang${c}`);y+=h.move(r.safe(t.lang,{before:y,after:" ",encode:["`"],...h.current()})),g()}if(t.lang&&t.meta){const g=r.enter(`codeFencedMeta${c}`);y+=h.move(" "),y+=h.move(r.safe(t.meta,{before:y,after:`
82
+ `,encode:["`"],...h.current()})),g()}return y+=h.move(`
83
+ `),s&&(y+=h.move(s+`
84
+ `)),y+=h.move(p),m(),y}function sk(t,i,r){return(r?"":" ")+t}function od(t){const i=t.options.quote||'"';if(i!=='"'&&i!=="'")throw new Error("Cannot serialize title with `"+i+"` for `options.quote`, expected `\"`, or `'`");return i}function ck(t,i,r,a){const o=od(r),s=o==='"'?"Quote":"Apostrophe",c=r.enter("definition");let h=r.enter("label");const p=r.createTracker(a);let m=p.move("[");return m+=p.move(r.safe(r.associationId(t),{before:m,after:"]",...p.current()})),m+=p.move("]: "),h(),!t.url||/[\0- \u007F]/.test(t.url)?(h=r.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(r.safe(t.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(h=r.enter("destinationRaw"),m+=p.move(r.safe(t.url,{before:m,after:t.title?" ":`
85
+ `,...p.current()}))),h(),t.title&&(h=r.enter(`title${s}`),m+=p.move(" "+o),m+=p.move(r.safe(t.title,{before:m,after:o,...p.current()})),m+=p.move(o),h()),c(),m}function fk(t){const i=t.options.emphasis||"*";if(i!=="*"&&i!=="_")throw new Error("Cannot serialize emphasis with `"+i+"` for `options.emphasis`, expected `*`, or `_`");return i}function Ea(t){return"&#x"+t.toString(16).toUpperCase()+";"}function ho(t,i,r){const a=ur(t),o=ur(i);return a===void 0?o===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}K0.peek=dk;function K0(t,i,r,a){const o=fk(r),s=r.enter("emphasis"),c=r.createTracker(a),h=c.move(o);let p=c.move(r.containerPhrasing(t,{after:o,before:h,...c.current()}));const m=p.charCodeAt(0),y=ho(a.before.charCodeAt(a.before.length-1),m,o);y.inside&&(p=Ea(m)+p.slice(1));const g=p.charCodeAt(p.length-1),x=ho(a.after.charCodeAt(0),g,o);x.inside&&(p=p.slice(0,-1)+Ea(g));const b=c.move(o);return s(),r.attentionEncodeSurroundingInfo={after:x.outside,before:y.outside},h+p+b}function dk(t,i,r){return r.options.emphasis||"*"}function hk(t,i){let r=!1;return ad(t,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return r=!0,Cf}),!!((!t.depth||t.depth<3)&&Wf(t)&&(i.options.setext||r))}function mk(t,i,r,a){const o=Math.max(Math.min(6,t.depth||1),1),s=r.createTracker(a);if(hk(t,r)){const y=r.enter("headingSetext"),g=r.enter("phrasing"),x=r.containerPhrasing(t,{...s.current(),before:`
86
+ `,after:`
87
+ `});return g(),y(),x+`
88
+ `+(o===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
89
+ `))+1))}const c="#".repeat(o),h=r.enter("headingAtx"),p=r.enter("phrasing");s.move(c+" ");let m=r.containerPhrasing(t,{before:"# ",after:`
90
+ `,...s.current()});return/^[\t ]/.test(m)&&(m=Ea(m.charCodeAt(0))+m.slice(1)),m=m?c+" "+m:c,r.options.closeAtx&&(m+=" "+c),p(),h(),m}J0.peek=pk;function J0(t){return t.value||""}function pk(){return"<"}I0.peek=gk;function I0(t,i,r,a){const o=od(r),s=o==='"'?"Quote":"Apostrophe",c=r.enter("image");let h=r.enter("label");const p=r.createTracker(a);let m=p.move("![");return m+=p.move(r.safe(t.alt,{before:m,after:"]",...p.current()})),m+=p.move("]("),h(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(h=r.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(r.safe(t.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(h=r.enter("destinationRaw"),m+=p.move(r.safe(t.url,{before:m,after:t.title?" ":")",...p.current()}))),h(),t.title&&(h=r.enter(`title${s}`),m+=p.move(" "+o),m+=p.move(r.safe(t.title,{before:m,after:o,...p.current()})),m+=p.move(o),h()),m+=p.move(")"),c(),m}function gk(){return"!"}$0.peek=yk;function $0(t,i,r,a){const o=t.referenceType,s=r.enter("imageReference");let c=r.enter("label");const h=r.createTracker(a);let p=h.move("![");const m=r.safe(t.alt,{before:p,after:"]",...h.current()});p+=h.move(m+"]["),c();const y=r.stack;r.stack=[],c=r.enter("reference");const g=r.safe(r.associationId(t),{before:p,after:"]",...h.current()});return c(),r.stack=y,s(),o==="full"||!m||m!==g?p+=h.move(g+"]"):o==="shortcut"?p=p.slice(0,-1):p+=h.move("]"),p}function yk(){return"!"}P0.peek=vk;function P0(t,i,r){let a=t.value||"",o="`",s=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(a);)o+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++s<r.unsafe.length;){const c=r.unsafe[s],h=r.compilePattern(c);let p;if(c.atBreak)for(;p=h.exec(a);){let m=p.index;a.charCodeAt(m)===10&&a.charCodeAt(m-1)===13&&m--,a=a.slice(0,m)+" "+a.slice(p.index+1)}}return o+a+o}function vk(){return"`"}function W0(t,i){const r=Wf(t);return!!(!i.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}ev.peek=bk;function ev(t,i,r,a){const o=od(r),s=o==='"'?"Quote":"Apostrophe",c=r.createTracker(a);let h,p;if(W0(t,r)){const y=r.stack;r.stack=[],h=r.enter("autolink");let g=c.move("<");return g+=c.move(r.containerPhrasing(t,{before:g,after:">",...c.current()})),g+=c.move(">"),h(),r.stack=y,g}h=r.enter("link"),p=r.enter("label");let m=c.move("[");return m+=c.move(r.containerPhrasing(t,{before:m,after:"](",...c.current()})),m+=c.move("]("),p(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(p=r.enter("destinationLiteral"),m+=c.move("<"),m+=c.move(r.safe(t.url,{before:m,after:">",...c.current()})),m+=c.move(">")):(p=r.enter("destinationRaw"),m+=c.move(r.safe(t.url,{before:m,after:t.title?" ":")",...c.current()}))),p(),t.title&&(p=r.enter(`title${s}`),m+=c.move(" "+o),m+=c.move(r.safe(t.title,{before:m,after:o,...c.current()})),m+=c.move(o),p()),m+=c.move(")"),h(),m}function bk(t,i,r){return W0(t,r)?"<":"["}tv.peek=xk;function tv(t,i,r,a){const o=t.referenceType,s=r.enter("linkReference");let c=r.enter("label");const h=r.createTracker(a);let p=h.move("[");const m=r.containerPhrasing(t,{before:p,after:"]",...h.current()});p+=h.move(m+"]["),c();const y=r.stack;r.stack=[],c=r.enter("reference");const g=r.safe(r.associationId(t),{before:p,after:"]",...h.current()});return c(),r.stack=y,s(),o==="full"||!m||m!==g?p+=h.move(g+"]"):o==="shortcut"?p=p.slice(0,-1):p+=h.move("]"),p}function xk(){return"["}function sd(t){const i=t.options.bullet||"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bullet`, expected `*`, `+`, or `-`");return i}function Sk(t){const i=sd(t),r=t.options.bulletOther;if(!r)return i==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===i)throw new Error("Expected `bullet` (`"+i+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Ek(t){const i=t.options.bulletOrdered||".";if(i!=="."&&i!==")")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOrdered`, expected `.` or `)`");return i}function nv(t){const i=t.options.rule||"*";if(i!=="*"&&i!=="-"&&i!=="_")throw new Error("Cannot serialize rules with `"+i+"` for `options.rule`, expected `*`, `-`, or `_`");return i}function wk(t,i,r,a){const o=r.enter("list"),s=r.bulletCurrent;let c=t.ordered?Ek(r):sd(r);const h=t.ordered?c==="."?")":".":Sk(r);let p=i&&r.bulletLastUsed?c===r.bulletLastUsed:!1;if(!t.ordered){const y=t.children?t.children[0]:void 0;if((c==="*"||c==="-")&&y&&(!y.children||!y.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(p=!0),nv(r)===c&&y){let g=-1;for(;++g<t.children.length;){const x=t.children[g];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){p=!0;break}}}}p&&(c=h),r.bulletCurrent=c;const m=r.containerFlow(t,a);return r.bulletLastUsed=c,r.bulletCurrent=s,o(),m}function Ck(t){const i=t.options.listItemIndent||"one";if(i!=="tab"&&i!=="one"&&i!=="mixed")throw new Error("Cannot serialize items with `"+i+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return i}function Tk(t,i,r,a){const o=Ck(r);let s=r.bulletCurrent||sd(r);i&&i.type==="list"&&i.ordered&&(s=(typeof i.start=="number"&&i.start>-1?i.start:1)+(r.options.incrementListMarker===!1?0:i.children.indexOf(t))+s);let c=s.length+1;(o==="tab"||o==="mixed"&&(i&&i.type==="list"&&i.spread||t.spread))&&(c=Math.ceil(c/4)*4);const h=r.createTracker(a);h.move(s+" ".repeat(c-s.length)),h.shift(c);const p=r.enter("listItem"),m=r.indentLines(r.containerFlow(t,h.current()),y);return p(),m;function y(g,x,b){return x?(b?"":" ".repeat(c))+g:(b?s:s+" ".repeat(c-s.length))+g}}function Ak(t,i,r,a){const o=r.enter("paragraph"),s=r.enter("phrasing"),c=r.containerPhrasing(t,a);return s(),o(),c}const kk=Co(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Dk(t,i,r,a){return(t.children.some(function(c){return kk(c)})?r.containerPhrasing:r.containerFlow).call(r,t,a)}function zk(t){const i=t.options.strong||"*";if(i!=="*"&&i!=="_")throw new Error("Cannot serialize strong with `"+i+"` for `options.strong`, expected `*`, or `_`");return i}lv.peek=Rk;function lv(t,i,r,a){const o=zk(r),s=r.enter("strong"),c=r.createTracker(a),h=c.move(o+o);let p=c.move(r.containerPhrasing(t,{after:o,before:h,...c.current()}));const m=p.charCodeAt(0),y=ho(a.before.charCodeAt(a.before.length-1),m,o);y.inside&&(p=Ea(m)+p.slice(1));const g=p.charCodeAt(p.length-1),x=ho(a.after.charCodeAt(0),g,o);x.inside&&(p=p.slice(0,-1)+Ea(g));const b=c.move(o+o);return s(),r.attentionEncodeSurroundingInfo={after:x.outside,before:y.outside},h+p+b}function Rk(t,i,r){return r.options.strong||"*"}function Ok(t,i,r,a){return r.safe(t.value,a)}function Mk(t){const i=t.options.ruleRepetition||3;if(i<3)throw new Error("Cannot serialize rules with repetition `"+i+"` for `options.ruleRepetition`, expected `3` or more");return i}function Nk(t,i,r){const a=(nv(r)+(r.options.ruleSpaces?" ":"")).repeat(Mk(r));return r.options.ruleSpaces?a.slice(0,-1):a}const iv={blockquote:nk,break:yy,code:ok,definition:ck,emphasis:K0,hardBreak:yy,heading:mk,html:J0,image:I0,imageReference:$0,inlineCode:P0,link:ev,linkReference:tv,list:wk,listItem:Tk,paragraph:Ak,root:Dk,strong:lv,text:Ok,thematicBreak:Nk};function _k(){return{enter:{table:Lk,tableData:vy,tableHeader:vy,tableRow:Bk},exit:{codeText:Uk,table:jk,tableData:df,tableHeader:df,tableRow:df}}}function Lk(t){const i=t._align;this.enter({type:"table",align:i.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function jk(t){this.exit(t),this.data.inTable=void 0}function Bk(t){this.enter({type:"tableRow",children:[]},t)}function df(t){this.exit(t)}function vy(t){this.enter({type:"tableCell",children:[]},t)}function Uk(t){let i=this.resume();this.data.inTable&&(i=i.replace(/\\([\\|])/g,Hk));const r=this.stack[this.stack.length-1];r.type,r.value=i,this.exit(t)}function Hk(t,i){return i==="|"?i:t}function qk(t){const i=t||{},r=i.tableCellPadding,a=i.tablePipeAlign,o=i.stringLength,s=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
91
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:c,tableCell:p,tableRow:h}};function c(b,w,z,k){return m(y(b,z,k),b.align)}function h(b,w,z,k){const T=g(b,z,k),B=m([T]);return B.slice(0,B.indexOf(`
92
+ `))}function p(b,w,z,k){const T=z.enter("tableCell"),B=z.enter("phrasing"),_=z.containerPhrasing(b,{...k,before:s,after:s});return B(),T(),_}function m(b,w){return ek(b,{align:w,alignDelimiters:a,padding:r,stringLength:o})}function y(b,w,z){const k=b.children;let T=-1;const B=[],_=w.enter("table");for(;++T<k.length;)B[T]=g(k[T],w,z);return _(),B}function g(b,w,z){const k=b.children;let T=-1;const B=[],_=w.enter("tableRow");for(;++T<k.length;)B[T]=p(k[T],b,w,z);return _(),B}function x(b,w,z){let k=iv.inlineCode(b,w,z);return z.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Yk(){return{exit:{taskListCheckValueChecked:by,taskListCheckValueUnchecked:by,paragraph:Xk}}}function Vk(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Gk}}}function by(t){const i=this.stack[this.stack.length-2];i.type,i.checked=t.type==="taskListCheckValueChecked"}function Xk(t){const i=this.stack[this.stack.length-2];if(i&&i.type==="listItem"&&typeof i.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const a=r.children[0];if(a&&a.type==="text"){const o=i.children;let s=-1,c;for(;++s<o.length;){const h=o[s];if(h.type==="paragraph"){c=h;break}}c===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(t)}function Gk(t,i,r,a){const o=t.children[0],s=typeof t.checked=="boolean"&&o&&o.type==="paragraph",c="["+(t.checked?"x":" ")+"] ",h=r.createTracker(a);s&&h.move(c);let p=iv.listItem(t,i,r,{...a,...h.current()});return s&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),p;function m(y){return y+c}}function Qk(){return[wA(),GA(),KA(),_k(),Yk()]}function Fk(t){return{extensions:[CA(),QA(t),JA(),qk(t),Vk()]}}const Zk={tokenize:Wk,partial:!0},rv={tokenize:eD,partial:!0},av={tokenize:tD,partial:!0},uv={tokenize:nD,partial:!0},Kk={tokenize:lD,partial:!0},ov={name:"wwwAutolink",tokenize:$k,previous:cv},sv={name:"protocolAutolink",tokenize:Pk,previous:fv},ml={name:"emailAutolink",tokenize:Ik,previous:dv},Qn={};function Jk(){return{text:Qn}}let fi=48;for(;fi<123;)Qn[fi]=ml,fi++,fi===58?fi=65:fi===91&&(fi=97);Qn[43]=ml;Qn[45]=ml;Qn[46]=ml;Qn[95]=ml;Qn[72]=[ml,sv];Qn[104]=[ml,sv];Qn[87]=[ml,ov];Qn[119]=[ml,ov];function Ik(t,i,r){const a=this;let o,s;return c;function c(g){return!Df(g)||!dv.call(a,a.previous)||cd(a.events)?r(g):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),h(g))}function h(g){return Df(g)?(t.consume(g),h):g===64?(t.consume(g),p):r(g)}function p(g){return g===46?t.check(Kk,y,m)(g):g===45||g===95||Rt(g)?(s=!0,t.consume(g),p):y(g)}function m(g){return t.consume(g),o=!0,p}function y(g){return s&&o&&_t(a.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),i(g)):r(g)}}function $k(t,i,r){const a=this;return o;function o(c){return c!==87&&c!==119||!cv.call(a,a.previous)||cd(a.events)?r(c):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Zk,t.attempt(rv,t.attempt(av,s),r),r)(c))}function s(c){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),i(c)}}function Pk(t,i,r){const a=this;let o="",s=!1;return c;function c(g){return(g===72||g===104)&&fv.call(a,a.previous)&&!cd(a.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),o+=String.fromCodePoint(g),t.consume(g),h):r(g)}function h(g){if(_t(g)&&o.length<5)return o+=String.fromCodePoint(g),t.consume(g),h;if(g===58){const x=o.toLowerCase();if(x==="http"||x==="https")return t.consume(g),p}return r(g)}function p(g){return g===47?(t.consume(g),s?m:(s=!0,p)):r(g)}function m(g){return g===null||so(g)||Qe(g)||di(g)||So(g)?r(g):t.attempt(rv,t.attempt(av,y),r)(g)}function y(g){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),i(g)}}function Wk(t,i,r){let a=0;return o;function o(c){return(c===87||c===119)&&a<3?(a++,t.consume(c),o):c===46&&a===3?(t.consume(c),s):r(c)}function s(c){return c===null?r(c):i(c)}}function eD(t,i,r){let a,o,s;return c;function c(m){return m===46||m===95?t.check(uv,p,h)(m):m===null||Qe(m)||di(m)||m!==45&&So(m)?p(m):(s=!0,t.consume(m),c)}function h(m){return m===95?a=!0:(o=a,a=void 0),t.consume(m),c}function p(m){return o||a||!s?r(m):i(m)}}function tD(t,i){let r=0,a=0;return o;function o(c){return c===40?(r++,t.consume(c),o):c===41&&a<r?s(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?t.check(uv,i,s)(c):c===null||Qe(c)||di(c)?i(c):(t.consume(c),o)}function s(c){return c===41&&a++,t.consume(c),o}}function nD(t,i,r){return a;function a(h){return h===33||h===34||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===63||h===95||h===126?(t.consume(h),a):h===38?(t.consume(h),s):h===93?(t.consume(h),o):h===60||h===null||Qe(h)||di(h)?i(h):r(h)}function o(h){return h===null||h===40||h===91||Qe(h)||di(h)?i(h):a(h)}function s(h){return _t(h)?c(h):r(h)}function c(h){return h===59?(t.consume(h),a):_t(h)?(t.consume(h),c):r(h)}}function lD(t,i,r){return a;function a(s){return t.consume(s),o}function o(s){return Rt(s)?r(s):i(s)}}function cv(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Qe(t)}function fv(t){return!_t(t)}function dv(t){return!(t===47||Df(t))}function Df(t){return t===43||t===45||t===46||t===95||Rt(t)}function cd(t){let i=t.length,r=!1;for(;i--;){const a=t[i][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){r=!0;break}if(a._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const iD={tokenize:dD,partial:!0};function rD(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:sD,continuation:{tokenize:cD},exit:fD}},text:{91:{name:"gfmFootnoteCall",tokenize:oD},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:aD,resolveTo:uD}}}}function aD(t,i,r){const a=this;let o=a.events.length;const s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let c;for(;o--;){const p=a.events[o][1];if(p.type==="labelImage"){c=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return h;function h(p){if(!c||!c._balanced)return r(p);const m=Mn(a.sliceSerialize({start:c.end,end:a.now()}));return m.codePointAt(0)!==94||!s.includes(m.slice(1))?r(p):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(p),t.exit("gfmFootnoteCallLabelMarker"),i(p))}}function uD(t,i){let r=t.length;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},h=[t[r+1],t[r+2],["enter",a,i],t[r+3],t[r+4],["enter",o,i],["exit",o,i],["enter",s,i],["enter",c,i],["exit",c,i],["exit",s,i],t[t.length-2],t[t.length-1],["exit",a,i]];return t.splice(r,t.length-r+1,...h),t}function oD(t,i,r){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s=0,c;return h;function h(g){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(g),t.exit("gfmFootnoteCallLabelMarker"),p}function p(g){return g!==94?r(g):(t.enter("gfmFootnoteCallMarker"),t.consume(g),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",m)}function m(g){if(s>999||g===93&&!c||g===null||g===91||Qe(g))return r(g);if(g===93){t.exit("chunkString");const x=t.exit("gfmFootnoteCallString");return o.includes(Mn(a.sliceSerialize(x)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(g),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),i):r(g)}return Qe(g)||(c=!0),s++,t.consume(g),g===92?y:m}function y(g){return g===91||g===92||g===93?(t.consume(g),s++,m):m(g)}}function sD(t,i,r){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let s,c=0,h;return p;function p(w){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(w),t.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(w){return w===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(w),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",y):r(w)}function y(w){if(c>999||w===93&&!h||w===null||w===91||Qe(w))return r(w);if(w===93){t.exit("chunkString");const z=t.exit("gfmFootnoteDefinitionLabelString");return s=Mn(a.sliceSerialize(z)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(w),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),x}return Qe(w)||(h=!0),c++,t.consume(w),w===92?g:y}function g(w){return w===91||w===92||w===93?(t.consume(w),c++,y):y(w)}function x(w){return w===58?(t.enter("definitionMarker"),t.consume(w),t.exit("definitionMarker"),o.includes(s)||o.push(s),Re(t,b,"gfmFootnoteDefinitionWhitespace")):r(w)}function b(w){return i(w)}}function cD(t,i,r){return t.check(Ma,i,t.attempt(iD,i,r))}function fD(t){t.exit("gfmFootnoteDefinition")}function dD(t,i,r){const a=this;return Re(t,o,"gfmFootnoteDefinitionIndent",5);function o(s){const c=a.events[a.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?i(s):r(s)}}function hD(t){let r=(t||{}).singleTilde;const a={name:"strikethrough",tokenize:s,resolveAll:o};return r==null&&(r=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function o(c,h){let p=-1;for(;++p<c.length;)if(c[p][0]==="enter"&&c[p][1].type==="strikethroughSequenceTemporary"&&c[p][1]._close){let m=p;for(;m--;)if(c[m][0]==="exit"&&c[m][1].type==="strikethroughSequenceTemporary"&&c[m][1]._open&&c[p][1].end.offset-c[p][1].start.offset===c[m][1].end.offset-c[m][1].start.offset){c[p][1].type="strikethroughSequence",c[m][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},c[m][1].start),end:Object.assign({},c[p][1].end)},g={type:"strikethroughText",start:Object.assign({},c[m][1].end),end:Object.assign({},c[p][1].start)},x=[["enter",y,h],["enter",c[m][1],h],["exit",c[m][1],h],["enter",g,h]],b=h.parser.constructs.insideSpan.null;b&&on(x,x.length,0,Eo(b,c.slice(m+1,p),h)),on(x,x.length,0,[["exit",g,h],["enter",c[p][1],h],["exit",c[p][1],h],["exit",y,h]]),on(c,m-1,p-m+3,x),p=m+x.length-2;break}}for(p=-1;++p<c.length;)c[p][1].type==="strikethroughSequenceTemporary"&&(c[p][1].type="data");return c}function s(c,h,p){const m=this.previous,y=this.events;let g=0;return x;function x(w){return m===126&&y[y.length-1][1].type!=="characterEscape"?p(w):(c.enter("strikethroughSequenceTemporary"),b(w))}function b(w){const z=ur(m);if(w===126)return g>1?p(w):(c.consume(w),g++,b);if(g<2&&!r)return p(w);const k=c.exit("strikethroughSequenceTemporary"),T=ur(w);return k._open=!T||T===2&&!!z,k._close=!z||z===2&&!!T,h(w)}}}class mD{constructor(){this.map=[]}add(i,r,a){pD(this,i,r,a)}consume(i){if(this.map.sort(function(s,c){return s[0]-c[0]}),this.map.length===0)return;let r=this.map.length;const a=[];for(;r>0;)r-=1,a.push(i.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),i.length=this.map[r][0];a.push(i.slice()),i.length=0;let o=a.pop();for(;o;){for(const s of o)i.push(s);o=a.pop()}this.map.length=0}}function pD(t,i,r,a){let o=0;if(!(r===0&&a.length===0)){for(;o<t.map.length;){if(t.map[o][0]===i){t.map[o][1]+=r,t.map[o][2].push(...a);return}o+=1}t.map.push([i,r,a])}}function gD(t,i){let r=!1;const a=[];for(;i<t.length;){const o=t[i];if(r){if(o[0]==="enter")o[1].type==="tableContent"&&a.push(t[i+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(t[i-1][1].type==="tableDelimiterMarker"){const s=a.length-1;a[s]=a[s]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(r=!0);i+=1}return a}function yD(){return{flow:{null:{name:"table",tokenize:vD,resolveAll:bD}}}}function vD(t,i,r){const a=this;let o=0,s=0,c;return h;function h(j){let ee=a.events.length-1;for(;ee>-1;){const ie=a.events[ee][1].type;if(ie==="lineEnding"||ie==="linePrefix")ee--;else break}const P=ee>-1?a.events[ee][1].type:null,fe=P==="tableHead"||P==="tableRow"?L:p;return fe===L&&a.parser.lazy[a.now().line]?r(j):fe(j)}function p(j){return t.enter("tableHead"),t.enter("tableRow"),m(j)}function m(j){return j===124||(c=!0,s+=1),y(j)}function y(j){return j===null?r(j):pe(j)?s>1?(s=0,a.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(j),t.exit("lineEnding"),b):r(j):Ae(j)?Re(t,y,"whitespace")(j):(s+=1,c&&(c=!1,o+=1),j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),c=!0,y):(t.enter("data"),g(j)))}function g(j){return j===null||j===124||Qe(j)?(t.exit("data"),y(j)):(t.consume(j),j===92?x:g)}function x(j){return j===92||j===124?(t.consume(j),g):g(j)}function b(j){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(j):(t.enter("tableDelimiterRow"),c=!1,Ae(j)?Re(t,w,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):w(j))}function w(j){return j===45||j===58?k(j):j===124?(c=!0,t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),z):I(j)}function z(j){return Ae(j)?Re(t,k,"whitespace")(j):k(j)}function k(j){return j===58?(s+=1,c=!0,t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),T):j===45?(s+=1,T(j)):j===null||pe(j)?W(j):I(j)}function T(j){return j===45?(t.enter("tableDelimiterFiller"),B(j)):I(j)}function B(j){return j===45?(t.consume(j),B):j===58?(c=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(j),t.exit("tableDelimiterMarker"),_):(t.exit("tableDelimiterFiller"),_(j))}function _(j){return Ae(j)?Re(t,W,"whitespace")(j):W(j)}function W(j){return j===124?w(j):j===null||pe(j)?!c||o!==s?I(j):(t.exit("tableDelimiterRow"),t.exit("tableHead"),i(j)):I(j)}function I(j){return r(j)}function L(j){return t.enter("tableRow"),Z(j)}function Z(j){return j===124?(t.enter("tableCellDivider"),t.consume(j),t.exit("tableCellDivider"),Z):j===null||pe(j)?(t.exit("tableRow"),i(j)):Ae(j)?Re(t,Z,"whitespace")(j):(t.enter("data"),le(j))}function le(j){return j===null||j===124||Qe(j)?(t.exit("data"),Z(j)):(t.consume(j),j===92?ae:le)}function ae(j){return j===92||j===124?(t.consume(j),le):le(j)}}function bD(t,i){let r=-1,a=!0,o=0,s=[0,0,0,0],c=[0,0,0,0],h=!1,p=0,m,y,g;const x=new mD;for(;++r<t.length;){const b=t[r],w=b[1];b[0]==="enter"?w.type==="tableHead"?(h=!1,p!==0&&(xy(x,i,p,m,y),y=void 0,p=0),m={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},x.add(r,0,[["enter",m,i]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(a=!0,g=void 0,s=[0,0,0,0],c=[0,r+1,0,0],h&&(h=!1,y={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},x.add(r,0,[["enter",y,i]])),o=w.type==="tableDelimiterRow"?2:y?3:1):o&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(a=!1,c[2]===0&&(s[1]!==0&&(c[0]=c[1],g=Iu(x,i,s,o,void 0,g),s=[0,0,0,0]),c[2]=r)):w.type==="tableCellDivider"&&(a?a=!1:(s[1]!==0&&(c[0]=c[1],g=Iu(x,i,s,o,void 0,g)),s=c,c=[s[1],r,0,0])):w.type==="tableHead"?(h=!0,p=r):w.type==="tableRow"||w.type==="tableDelimiterRow"?(p=r,s[1]!==0?(c[0]=c[1],g=Iu(x,i,s,o,r,g)):c[1]!==0&&(g=Iu(x,i,c,o,r,g)),o=0):o&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(c[3]=r)}for(p!==0&&xy(x,i,p,m,y),x.consume(i.events),r=-1;++r<i.events.length;){const b=i.events[r];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=gD(i.events,r))}return t}function Iu(t,i,r,a,o,s){const c=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",h="tableContent";r[0]!==0&&(s.end=Object.assign({},lr(i.events,r[0])),t.add(r[0],0,[["exit",s,i]]));const p=lr(i.events,r[1]);if(s={type:c,start:Object.assign({},p),end:Object.assign({},p)},t.add(r[1],0,[["enter",s,i]]),r[2]!==0){const m=lr(i.events,r[2]),y=lr(i.events,r[3]),g={type:h,start:Object.assign({},m),end:Object.assign({},y)};if(t.add(r[2],0,[["enter",g,i]]),a!==2){const x=i.events[r[2]],b=i.events[r[3]];if(x[1].end=Object.assign({},b[1].end),x[1].type="chunkText",x[1].contentType="text",r[3]>r[2]+1){const w=r[2]+1,z=r[3]-r[2]-1;t.add(w,z,[])}}t.add(r[3]+1,0,[["exit",g,i]])}return o!==void 0&&(s.end=Object.assign({},lr(i.events,o)),t.add(o,0,[["exit",s,i]]),s=void 0),s}function xy(t,i,r,a,o){const s=[],c=lr(i.events,r);o&&(o.end=Object.assign({},c),s.push(["exit",o,i])),a.end=Object.assign({},c),s.push(["exit",a,i]),t.add(r+1,0,s)}function lr(t,i){const r=t[i],a=r[0]==="enter"?"start":"end";return r[1][a]}const xD={name:"tasklistCheck",tokenize:ED};function SD(){return{text:{91:xD}}}function ED(t,i,r){const a=this;return o;function o(p){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(p):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(p),t.exit("taskListCheckMarker"),s)}function s(p){return Qe(p)?(t.enter("taskListCheckValueUnchecked"),t.consume(p),t.exit("taskListCheckValueUnchecked"),c):p===88||p===120?(t.enter("taskListCheckValueChecked"),t.consume(p),t.exit("taskListCheckValueChecked"),c):r(p)}function c(p){return p===93?(t.enter("taskListCheckMarker"),t.consume(p),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),h):r(p)}function h(p){return pe(p)?i(p):Ae(p)?t.check({tokenize:wD},i,r)(p):r(p)}}function wD(t,i,r){return Re(t,a,"whitespace");function a(o){return o===null?r(o):i(o)}}function CD(t){return w0([Jk(),rD(),hD(t),yD(),SD()])}const TD={};function AD(t){const i=this,r=t||TD,a=i.data(),o=a.micromarkExtensions||(a.micromarkExtensions=[]),s=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),c=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);o.push(CD(r)),s.push(Qk()),c.push(Fk(r))}const kD={Todo:"bg-gray-100 text-gray-700","In Progress":"bg-blue-100 text-blue-700",Done:"bg-green-100 text-green-700"},DD={Issue:"bg-purple-100 text-purple-700",DraftIssue:"bg-yellow-100 text-yellow-700",PullRequest:"bg-cyan-100 text-cyan-700"};function Sy(t){return new Date(t).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}function zD({task:t,onClose:i}){const[r,a]=C.useState(!1);if(C.useEffect(()=>{t?requestAnimationFrame(()=>a(!0)):a(!1)},[t]),!t)return null;const o=kD[t.status]??"bg-gray-100 text-gray-600",s=DD[t.contentType]??"bg-gray-100 text-gray-600",c=()=>{a(!1),setTimeout(i,200)};return O.jsxs(O.Fragment,{children:[O.jsx("div",{className:`fixed inset-0 bg-black/20 z-40 transition-opacity duration-200 ${r?"opacity-100":"opacity-0"}`,onClick:c}),O.jsxs("div",{className:`fixed right-0 top-0 bottom-0 w-[480px] max-w-full bg-white shadow-xl z-50 overflow-y-auto p-6 transition-transform duration-200 ${r?"translate-x-0":"translate-x-full"}`,children:[O.jsxs("div",{className:"flex items-center justify-between mb-4",children:[O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsxs("span",{className:"text-sm text-gray-400 font-mono",children:["#",t.id]}),O.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium ${s}`,children:t.contentType})]}),O.jsx("button",{type:"button",onClick:c,className:"text-gray-400 hover:text-gray-600 transition-colors",children:O.jsx("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",children:O.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),O.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-3",children:t.title}),O.jsx("div",{className:"flex items-center gap-2 mb-4",children:O.jsx("span",{className:`text-xs px-2 py-1 rounded font-medium ${o}`,children:t.status})}),t.branch&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Branch"}),O.jsxs("span",{className:"text-sm bg-gray-100 text-gray-700 px-2 py-1 rounded font-mono inline-flex items-center gap-1.5",children:[O.jsx("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 16 16",fill:"currentColor",children:O.jsx("path",{fillRule:"evenodd",d:"M11.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-2.25.75a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.492 2.492 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25zM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM3.5 3.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0z"})}),t.branch]})]}),t.milestone&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Milestone"}),O.jsx("span",{className:"text-sm bg-blue-50 text-blue-600 px-2 py-1 rounded",children:t.milestone.title})]}),t.labels&&t.labels.length>0&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Labels"}),O.jsx("div",{className:"flex items-center gap-1.5 flex-wrap",children:t.labels.map(h=>O.jsx("span",{className:"text-xs px-2 py-0.5 rounded",style:{backgroundColor:h.color?`#${h.color}20`:void 0,color:h.color?`#${h.color}`:void 0},children:h.name},h.id))})]}),t.authorLogin&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Author"}),O.jsxs("div",{className:"flex items-center gap-2",children:[t.authorAvatarUrl&&O.jsx("img",{src:t.authorAvatarUrl,alt:t.authorLogin,className:"w-6 h-6 rounded-full"}),O.jsx("span",{className:"text-sm text-gray-700",children:t.authorLogin})]})]}),t.assignees&&t.assignees.length>0&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Assignees"}),O.jsx("div",{className:"flex items-center gap-2 flex-wrap",children:u0(t.assignees).map(h=>O.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs bg-gray-100 text-gray-700 px-2 py-1 rounded-full",children:[O.jsx("img",{src:h.avatarUrl,alt:h.login,className:"w-4 h-4 rounded-full"}),h.login]},h.login))})]}),t.body&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Description"}),O.jsx("div",{className:"bg-gray-50 rounded-lg p-3 prose prose-sm max-w-none text-gray-700",children:O.jsx(hA,{remarkPlugins:[AD],children:t.body})})]}),O.jsx("div",{className:"border-t border-gray-100 pt-4 mt-4",children:O.jsxs("div",{className:"flex justify-between text-xs text-gray-400",children:[O.jsxs("span",{children:["Created: ",Sy(t.createdAt)]}),O.jsxs("span",{children:["Updated: ",Sy(t.updatedAt)]})]})})]})]})}const RD={Todo:"bg-gray-100 text-gray-700","In Progress":"bg-blue-100 text-blue-700",Done:"bg-green-100 text-green-700"};function Ey(t){return new Date(t)<new Date}function OD(t){return new Date(t).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}function MD({milestone:t,tasks:i,onClose:r,onTaskClick:a}){const[o,s]=C.useState(!1);if(C.useEffect(()=>{t?requestAnimationFrame(()=>s(!0)):s(!1)},[t]),!t)return null;const c=i.filter(x=>x.milestoneId===t.id),h=t.doneCount??c.filter(x=>x.status==="Done").length,p=t.taskCount??c.length,m=p>0?Math.round(h/p*100):0,y=t.state==="OPEN"?"bg-green-100 text-green-700":"bg-gray-100 text-gray-700",g=()=>{s(!1),setTimeout(r,200)};return O.jsxs(O.Fragment,{children:[O.jsx("div",{className:`fixed inset-0 bg-black/20 z-40 transition-opacity duration-200 ${o?"opacity-100":"opacity-0"}`,onClick:g}),O.jsxs("div",{className:`fixed right-0 top-0 bottom-0 w-[480px] max-w-full bg-white shadow-xl z-50 overflow-y-auto p-6 transition-transform duration-200 ${o?"translate-x-0":"translate-x-full"}`,children:[O.jsxs("div",{className:"flex items-center justify-between mb-4",children:[O.jsxs("div",{className:"flex items-center gap-2",children:[O.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:t.title}),O.jsx("span",{className:`text-xs px-2 py-0.5 rounded font-medium ${y}`,children:t.state})]}),O.jsx("button",{type:"button",onClick:g,className:"text-gray-400 hover:text-gray-600 transition-colors",children:O.jsx("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",children:O.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]}),t.description&&O.jsx("div",{className:"mb-4",children:O.jsx("p",{className:"text-sm text-gray-600 leading-relaxed",children:t.description})}),t.dueDate&&O.jsxs("div",{className:"mb-4",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-1",children:"Due Date"}),O.jsxs("span",{className:`text-sm font-medium ${Ey(t.dueDate)?"text-red-500":"text-gray-700"}`,children:[OD(t.dueDate),Ey(t.dueDate)&&" (overdue)"]})]}),O.jsxs("div",{className:"mb-6",children:[O.jsxs("div",{className:"flex items-center justify-between mb-1",children:[O.jsx("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide",children:"Progress"}),O.jsxs("span",{className:"text-xs text-gray-500",children:[h,"/",p," done"]})]}),O.jsx("div",{className:"w-full h-2.5 bg-gray-200 rounded-full overflow-hidden",children:O.jsx("div",{className:"h-full bg-green-500 rounded-full transition-all",style:{width:`${m}%`}})}),O.jsxs("p",{className:"text-xs text-gray-400 mt-1",children:[m,"% complete"]})]}),O.jsxs("div",{children:[O.jsxs("p",{className:"text-xs font-semibold text-gray-500 uppercase tracking-wide mb-2",children:["Tasks (",c.length,")"]}),c.length===0?O.jsx("p",{className:"text-sm text-gray-400 py-2",children:"No tasks linked to this milestone"}):O.jsx("div",{className:"space-y-2",children:c.map(x=>{const b=RD[x.status]??"bg-gray-100 text-gray-600";return O.jsx("button",{type:"button",onClick:()=>a(x),className:"w-full text-left bg-gray-50 border border-gray-200 rounded-lg p-3 hover:bg-gray-100 hover:border-gray-300 transition-all cursor-pointer",children:O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[O.jsxs("span",{className:"text-xs text-gray-400 font-mono flex-shrink-0",children:["#",x.id]}),O.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:x.title})]}),O.jsx("span",{className:`text-xs px-1.5 py-0.5 rounded font-medium flex-shrink-0 ml-2 ${b}`,children:x.status})]})},x.id)})})]})]})]})}function ND(){const{id:t}=vx(),[i,r]=C.useState(null),[a,o]=C.useState([]),[s,c]=C.useState([]),[h,p]=C.useState(!0),[m,y]=C.useState(null),[g,x]=C.useState(null),[b,w]=C.useState(!1),[z,k]=C.useState([]),[T,B]=C.useState(null),[_,W]=C.useState(null),[I,L]=C.useState(null);C.useEffect(()=>{if(!t)return;(async()=>{try{const[fe,ie,$]=await Promise.all([Yl(`/projects/${t}`),Yl(`/tasks?projectId=${t}`),Yl(`/milestones?projectId=${t}`)]);r(fe),o(ie),c($);const U=await Yl(`/sync/status-options?projectId=${t}`).catch(()=>[]);k(U)}catch(fe){y(fe instanceof Error?fe.message:"Failed to load project")}finally{p(!1)}})()},[t]);const Z=async()=>{if(!(!t||b)){w(!0);try{await pS(`/sync/pull?projectId=${t}`,{});const[P,fe,ie]=await Promise.all([Yl(`/tasks?projectId=${t}`),Yl(`/milestones?projectId=${t}`),Yl(`/sync/status-options?projectId=${t}&force=true`)]);o(P),c(fe),k(ie)}catch(P){y(P instanceof Error?P.message:"Sync failed")}finally{w(!1)}}},le=(P,fe)=>{const ie=a;o($=>$.map(U=>U.id===P?{...U,status:fe}:U)),gS(`/tasks/${P}?projectId=${t}`,{status:fe}).catch($=>{o(ie),x(`Failed to update status: ${$ instanceof Error?$.message:"Unknown error"}`)})},ae=P=>{L(P)},j=P=>{W(P)},ee=P=>{L(null),W(P)};return h?O.jsx("div",{className:"flex items-center justify-center min-h-[50vh]",children:O.jsx("p",{className:"text-gray-500",children:"Loading..."})}):m?O.jsx("div",{className:"flex items-center justify-center min-h-[50vh]",children:O.jsxs("div",{className:"text-center",children:[O.jsx("p",{className:"text-red-500 mb-2",children:"Failed to load project"}),O.jsx("p",{className:"text-gray-400 text-sm",children:m})]})}):O.jsxs("div",{children:[O.jsx("div",{className:"mb-4",children:O.jsx(Aa,{to:"/",className:"text-sm text-blue-500 hover:text-blue-700",children:"← All Projects"})}),O.jsxs("div",{className:"flex items-center justify-between mb-6",children:[O.jsxs("div",{children:[O.jsxs("h2",{className:"text-xl font-semibold text-gray-800",children:[i==null?void 0:i.owner,(i==null?void 0:i.repo)&&O.jsxs("span",{className:"text-gray-400",children:[" / ",i.repo]})]}),O.jsxs("p",{className:"text-sm text-gray-400 mt-0.5",children:["Project #",i==null?void 0:i.projectNumber]})]}),O.jsx("button",{type:"button",onClick:Z,disabled:b,className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-blue-500 rounded-lg hover:bg-blue-600 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",children:b?O.jsxs(O.Fragment,{children:[O.jsxs("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",fill:"none",children:[O.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),O.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Syncing..."]}):O.jsxs(O.Fragment,{children:[O.jsx("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",children:O.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.992 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),"Sync"]})})]}),O.jsxs("div",{className:"mb-6",children:[O.jsx("h3",{className:"text-sm font-semibold text-gray-600 uppercase tracking-wide mb-3",children:"Milestones"}),O.jsx(bS,{milestones:s,onMilestoneClick:ae})]}),O.jsxs("div",{children:[O.jsx("h3",{className:"text-sm font-semibold text-gray-600 uppercase tracking-wide mb-3",children:"Tasks"}),O.jsx(n2,{tasks:T!=null?a.filter(P=>P.milestoneId===T):a,columns:z,milestones:s,activeMilestoneId:T,onMilestoneFilterChange:B,onTaskClick:j,onStatusChange:le})]}),O.jsx(zD,{task:_,onClose:()=>W(null)}),O.jsx(MD,{milestone:I,tasks:a,onClose:()=>L(null),onTaskClick:ee}),g&&O.jsxs("div",{className:"fixed bottom-4 right-4 bg-red-500 text-white px-4 py-2 rounded-lg shadow-lg flex items-center gap-2 z-50",children:[O.jsx("span",{className:"text-sm",children:g}),O.jsx("button",{type:"button",onClick:()=>x(null),className:"text-white/80 hover:text-white",children:"×"})]})]})}function _D(){return O.jsx(iS,{children:O.jsx(_x,{children:O.jsxs($u,{element:O.jsx(mS,{}),children:[O.jsx($u,{path:"/",element:O.jsx(yS,{})}),O.jsx($u,{path:"/projects/:id",element:O.jsx(ND,{})})]})})})}M1.createRoot(document.getElementById("root")).render(O.jsx(C.StrictMode,{children:O.jsx(_D,{})}));