codepiper 0.1.0

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 (149) hide show
  1. package/.env.example +28 -0
  2. package/CHANGELOG.md +10 -0
  3. package/LEGAL_NOTICE.md +39 -0
  4. package/LICENSE +21 -0
  5. package/README.md +524 -0
  6. package/package.json +90 -0
  7. package/packages/cli/package.json +13 -0
  8. package/packages/cli/src/commands/analytics.ts +157 -0
  9. package/packages/cli/src/commands/attach.ts +299 -0
  10. package/packages/cli/src/commands/audit.ts +50 -0
  11. package/packages/cli/src/commands/auth.ts +261 -0
  12. package/packages/cli/src/commands/daemon.ts +162 -0
  13. package/packages/cli/src/commands/doctor.ts +303 -0
  14. package/packages/cli/src/commands/env-set.ts +162 -0
  15. package/packages/cli/src/commands/hook-forward.ts +268 -0
  16. package/packages/cli/src/commands/keys.ts +77 -0
  17. package/packages/cli/src/commands/kill.ts +19 -0
  18. package/packages/cli/src/commands/logs.ts +419 -0
  19. package/packages/cli/src/commands/model.ts +172 -0
  20. package/packages/cli/src/commands/policy-set.ts +185 -0
  21. package/packages/cli/src/commands/policy.ts +227 -0
  22. package/packages/cli/src/commands/providers.ts +114 -0
  23. package/packages/cli/src/commands/resize.ts +34 -0
  24. package/packages/cli/src/commands/send.ts +184 -0
  25. package/packages/cli/src/commands/sessions.ts +202 -0
  26. package/packages/cli/src/commands/slash.ts +92 -0
  27. package/packages/cli/src/commands/start.ts +243 -0
  28. package/packages/cli/src/commands/stop.ts +19 -0
  29. package/packages/cli/src/commands/tail.ts +137 -0
  30. package/packages/cli/src/commands/workflow.ts +786 -0
  31. package/packages/cli/src/commands/workspace.ts +127 -0
  32. package/packages/cli/src/lib/api.ts +78 -0
  33. package/packages/cli/src/lib/args.ts +72 -0
  34. package/packages/cli/src/lib/format.ts +93 -0
  35. package/packages/cli/src/main.ts +563 -0
  36. package/packages/core/package.json +7 -0
  37. package/packages/core/src/config.ts +30 -0
  38. package/packages/core/src/errors.ts +38 -0
  39. package/packages/core/src/eventBus.ts +56 -0
  40. package/packages/core/src/eventBusAdapter.ts +143 -0
  41. package/packages/core/src/index.ts +10 -0
  42. package/packages/core/src/sqliteEventBus.ts +336 -0
  43. package/packages/core/src/types.ts +63 -0
  44. package/packages/daemon/package.json +11 -0
  45. package/packages/daemon/src/api/analyticsRoutes.ts +343 -0
  46. package/packages/daemon/src/api/authRoutes.ts +344 -0
  47. package/packages/daemon/src/api/bodyLimit.ts +133 -0
  48. package/packages/daemon/src/api/envSetRoutes.ts +170 -0
  49. package/packages/daemon/src/api/gitRoutes.ts +409 -0
  50. package/packages/daemon/src/api/hooks.ts +588 -0
  51. package/packages/daemon/src/api/inputPolicy.ts +249 -0
  52. package/packages/daemon/src/api/notificationRoutes.ts +532 -0
  53. package/packages/daemon/src/api/policyRoutes.ts +234 -0
  54. package/packages/daemon/src/api/policySetRoutes.ts +445 -0
  55. package/packages/daemon/src/api/routeUtils.ts +28 -0
  56. package/packages/daemon/src/api/routes.ts +1004 -0
  57. package/packages/daemon/src/api/server.ts +1388 -0
  58. package/packages/daemon/src/api/settingsRoutes.ts +367 -0
  59. package/packages/daemon/src/api/sqliteErrors.ts +47 -0
  60. package/packages/daemon/src/api/stt.ts +143 -0
  61. package/packages/daemon/src/api/terminalRoutes.ts +200 -0
  62. package/packages/daemon/src/api/validation.ts +287 -0
  63. package/packages/daemon/src/api/validationRoutes.ts +174 -0
  64. package/packages/daemon/src/api/workflowRoutes.ts +567 -0
  65. package/packages/daemon/src/api/workspaceRoutes.ts +151 -0
  66. package/packages/daemon/src/api/ws.ts +1588 -0
  67. package/packages/daemon/src/auth/apiRateLimiter.ts +73 -0
  68. package/packages/daemon/src/auth/authMiddleware.ts +305 -0
  69. package/packages/daemon/src/auth/authService.ts +496 -0
  70. package/packages/daemon/src/auth/rateLimiter.ts +137 -0
  71. package/packages/daemon/src/config/pricing.ts +79 -0
  72. package/packages/daemon/src/crypto/encryption.ts +196 -0
  73. package/packages/daemon/src/db/db.ts +2745 -0
  74. package/packages/daemon/src/db/index.ts +16 -0
  75. package/packages/daemon/src/db/migrations.ts +182 -0
  76. package/packages/daemon/src/db/policyDb.ts +349 -0
  77. package/packages/daemon/src/db/schema.sql +408 -0
  78. package/packages/daemon/src/db/workflowDb.ts +464 -0
  79. package/packages/daemon/src/git/gitUtils.ts +544 -0
  80. package/packages/daemon/src/index.ts +6 -0
  81. package/packages/daemon/src/main.ts +525 -0
  82. package/packages/daemon/src/notifications/pushNotifier.ts +369 -0
  83. package/packages/daemon/src/providers/codexAppServerScaffold.ts +49 -0
  84. package/packages/daemon/src/providers/registry.ts +111 -0
  85. package/packages/daemon/src/providers/types.ts +82 -0
  86. package/packages/daemon/src/sessions/auditLogger.ts +103 -0
  87. package/packages/daemon/src/sessions/policyEngine.ts +165 -0
  88. package/packages/daemon/src/sessions/policyMatcher.ts +114 -0
  89. package/packages/daemon/src/sessions/policyTypes.ts +94 -0
  90. package/packages/daemon/src/sessions/ptyProcess.ts +141 -0
  91. package/packages/daemon/src/sessions/sessionManager.ts +1770 -0
  92. package/packages/daemon/src/sessions/tmuxSession.ts +1073 -0
  93. package/packages/daemon/src/sessions/transcriptManager.ts +110 -0
  94. package/packages/daemon/src/sessions/transcriptParser.ts +149 -0
  95. package/packages/daemon/src/sessions/transcriptTailer.ts +214 -0
  96. package/packages/daemon/src/tracking/tokenTracker.ts +168 -0
  97. package/packages/daemon/src/workflows/contextManager.ts +83 -0
  98. package/packages/daemon/src/workflows/index.ts +31 -0
  99. package/packages/daemon/src/workflows/resultExtractor.ts +118 -0
  100. package/packages/daemon/src/workflows/waitConditionPoller.ts +131 -0
  101. package/packages/daemon/src/workflows/workflowParser.ts +217 -0
  102. package/packages/daemon/src/workflows/workflowRunner.ts +969 -0
  103. package/packages/daemon/src/workflows/workflowTypes.ts +188 -0
  104. package/packages/daemon/src/workflows/workflowValidator.ts +533 -0
  105. package/packages/providers/claude-code/package.json +11 -0
  106. package/packages/providers/claude-code/src/index.ts +7 -0
  107. package/packages/providers/claude-code/src/overlaySettings.ts +198 -0
  108. package/packages/providers/claude-code/src/provider.ts +311 -0
  109. package/packages/web/dist/android-chrome-192x192.png +0 -0
  110. package/packages/web/dist/android-chrome-512x512.png +0 -0
  111. package/packages/web/dist/apple-touch-icon.png +0 -0
  112. package/packages/web/dist/assets/AnalyticsPage-BIopKWRf.js +17 -0
  113. package/packages/web/dist/assets/PoliciesPage-CjdLN3dl.js +11 -0
  114. package/packages/web/dist/assets/SessionDetailPage-BtSA0V0M.js +179 -0
  115. package/packages/web/dist/assets/SettingsPage-Dbbz4Ca5.js +37 -0
  116. package/packages/web/dist/assets/WorkflowsPage-Dv6f3GgU.js +1 -0
  117. package/packages/web/dist/assets/chart-vendor-DlOHLaCG.js +49 -0
  118. package/packages/web/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
  119. package/packages/web/dist/assets/css.worker-BvV5MPou.js +93 -0
  120. package/packages/web/dist/assets/editor.worker-CKy7Pnvo.js +26 -0
  121. package/packages/web/dist/assets/html.worker-BLJhxQJQ.js +470 -0
  122. package/packages/web/dist/assets/index-BbdhRfr2.css +1 -0
  123. package/packages/web/dist/assets/index-hgphORiw.js +204 -0
  124. package/packages/web/dist/assets/json.worker-usMZ-FED.js +58 -0
  125. package/packages/web/dist/assets/monaco-core-B_19GPAS.css +1 -0
  126. package/packages/web/dist/assets/monaco-core-DQ5Mk8AK.js +1234 -0
  127. package/packages/web/dist/assets/monaco-react-DfZNWvtW.js +11 -0
  128. package/packages/web/dist/assets/monacoSetup-DvBj52bT.js +1 -0
  129. package/packages/web/dist/assets/pencil-Dbczxz59.js +11 -0
  130. package/packages/web/dist/assets/react-vendor-B5MgMUHH.js +136 -0
  131. package/packages/web/dist/assets/refresh-cw-B0MGsYPL.js +6 -0
  132. package/packages/web/dist/assets/tabs-C8LsWiR5.js +1 -0
  133. package/packages/web/dist/assets/terminal-vendor-Cs8KPbV3.js +9 -0
  134. package/packages/web/dist/assets/terminal-vendor-LcAfv9l9.css +32 -0
  135. package/packages/web/dist/assets/trash-2-Btlg0d4l.js +6 -0
  136. package/packages/web/dist/assets/ts.worker-DGHjMaqB.js +67731 -0
  137. package/packages/web/dist/favicon.ico +0 -0
  138. package/packages/web/dist/icon.svg +1 -0
  139. package/packages/web/dist/index.html +29 -0
  140. package/packages/web/dist/manifest.json +29 -0
  141. package/packages/web/dist/og-image.png +0 -0
  142. package/packages/web/dist/originals/android-chrome-192x192.png +0 -0
  143. package/packages/web/dist/originals/android-chrome-512x512.png +0 -0
  144. package/packages/web/dist/originals/apple-touch-icon.png +0 -0
  145. package/packages/web/dist/originals/favicon.ico +0 -0
  146. package/packages/web/dist/piper.svg +1 -0
  147. package/packages/web/dist/sounds/codepiper-soft-chime.wav +0 -0
  148. package/packages/web/dist/sw.js +257 -0
  149. package/scripts/postinstall-link-workspaces.mjs +58 -0
@@ -0,0 +1,136 @@
1
+ function vm(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var li=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xf={exports:{}},Mi={},Kf={exports:{}},b={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its 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 fl=Symbol.for("react.element"),wm=Symbol.for("react.portal"),km=Symbol.for("react.fragment"),xm=Symbol.for("react.strict_mode"),Sm=Symbol.for("react.profiler"),Em=Symbol.for("react.provider"),Cm=Symbol.for("react.context"),Pm=Symbol.for("react.forward_ref"),_m=Symbol.for("react.suspense"),Tm=Symbol.for("react.memo"),Im=Symbol.for("react.lazy"),Rs=Symbol.iterator;function Nm(e){return e===null||typeof e!="object"?null:(e=Rs&&e[Rs]||e["@@iterator"],typeof e=="function"?e:null)}var Gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qf=Object.assign,Jf={};function sr(e,t,n){this.props=e,this.context=t,this.refs=Jf,this.updater=n||Gf}sr.prototype.isReactComponent={};sr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zf(){}Zf.prototype=sr.prototype;function da(e,t,n){this.props=e,this.context=t,this.refs=Jf,this.updater=n||Gf}var ha=da.prototype=new Zf;ha.constructor=da;qf(ha,sr.prototype);ha.isPureReactComponent=!0;var Os=Array.isArray,ep=Object.prototype.hasOwnProperty,ma={current:null},tp={key:!0,ref:!0,__self:!0,__source:!0};function np(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ep.call(t,r)&&!tp.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];l.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:fl,type:e,key:i,ref:o,props:l,_owner:ma.current}}function Lm(e,t){return{$$typeof:fl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ga(e){return typeof e=="object"&&e!==null&&e.$$typeof===fl}function zm(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ms=/\/+/g;function mo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?zm(""+e.key):t.toString(36)}function bl(e,t,n,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case fl:case wm:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+mo(o,0):r,Os(l)?(n="",e!=null&&(n=e.replace(Ms,"$&/")+"/"),bl(l,t,n,"",function(s){return s})):l!=null&&(ga(l)&&(l=Lm(l,n+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(Ms,"$&/")+"/")+e)),t.push(l)),1;if(o=0,r=r===""?".":r+":",Os(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+mo(i,u);o+=bl(i,t,n,a,l)}else if(a=Nm(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+mo(i,u++),o+=bl(i,t,n,a,l);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function kl(e,t,n){if(e==null)return e;var r=[],l=0;return bl(e,r,"","",function(i){return t.call(n,i,l++)}),r}function Rm(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Re={current:null},$l={transition:null},Om={ReactCurrentDispatcher:Re,ReactCurrentBatchConfig:$l,ReactCurrentOwner:ma};function rp(){throw Error("act(...) is not supported in production builds of React.")}b.Children={map:kl,forEach:function(e,t,n){kl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return kl(e,function(){t++}),t},toArray:function(e){return kl(e,function(t){return t})||[]},only:function(e){if(!ga(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};b.Component=sr;b.Fragment=km;b.Profiler=Sm;b.PureComponent=da;b.StrictMode=xm;b.Suspense=_m;b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Om;b.act=rp;b.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=qf({},e.props),l=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=ma.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)ep.call(t,a)&&!tp.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var s=0;s<a;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:fl,type:e.type,key:l,ref:i,props:r,_owner:o}};b.createContext=function(e){return e={$$typeof:Cm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Em,_context:e},e.Consumer=e};b.createElement=np;b.createFactory=function(e){var t=np.bind(null,e);return t.type=e,t};b.createRef=function(){return{current:null}};b.forwardRef=function(e){return{$$typeof:Pm,render:e}};b.isValidElement=ga;b.lazy=function(e){return{$$typeof:Im,_payload:{_status:-1,_result:e},_init:Rm}};b.memo=function(e,t){return{$$typeof:Tm,type:e,compare:t===void 0?null:t}};b.startTransition=function(e){var t=$l.transition;$l.transition={};try{e()}finally{$l.transition=t}};b.unstable_act=rp;b.useCallback=function(e,t){return Re.current.useCallback(e,t)};b.useContext=function(e){return Re.current.useContext(e)};b.useDebugValue=function(){};b.useDeferredValue=function(e){return Re.current.useDeferredValue(e)};b.useEffect=function(e,t){return Re.current.useEffect(e,t)};b.useId=function(){return Re.current.useId()};b.useImperativeHandle=function(e,t,n){return Re.current.useImperativeHandle(e,t,n)};b.useInsertionEffect=function(e,t){return Re.current.useInsertionEffect(e,t)};b.useLayoutEffect=function(e,t){return Re.current.useLayoutEffect(e,t)};b.useMemo=function(e,t){return Re.current.useMemo(e,t)};b.useReducer=function(e,t,n){return Re.current.useReducer(e,t,n)};b.useRef=function(e){return Re.current.useRef(e)};b.useState=function(e){return Re.current.useState(e)};b.useSyncExternalStore=function(e,t,n){return Re.current.useSyncExternalStore(e,t,n)};b.useTransition=function(){return Re.current.useTransition()};b.version="18.3.1";Kf.exports=b;var C=Kf.exports;const Mm=Oi(C),Dm=vm({__proto__:null,default:Mm},[C]);/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its 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 Am=C,Fm=Symbol.for("react.element"),Bm=Symbol.for("react.fragment"),jm=Object.prototype.hasOwnProperty,Um=Am.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Vm={key:!0,ref:!0,__self:!0,__source:!0};function lp(e,t,n){var r,l={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)jm.call(t,r)&&!Vm.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:Fm,type:e,key:i,ref:o,props:l,_owner:Um.current}}Mi.Fragment=Bm;Mi.jsx=lp;Mi.jsxs=lp;Xf.exports=Mi;var go=Xf.exports,Ds={},ip={exports:{}},Ke={},op={exports:{}},up={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its 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
+ */(function(e){function t(R,B){var y=R.length;R.push(B);e:for(;0<y;){var W=y-1>>>1,q=R[W];if(0<l(q,B))R[W]=B,R[y]=q,y=W;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var B=R[0],y=R.pop();if(y!==B){R[0]=y;e:for(var W=0,q=R.length,k=q>>>1;W<k;){var ye=2*(W+1)-1,it=R[ye],ne=ye+1,ht=R[ne];if(0>l(it,y))ne<q&&0>l(ht,it)?(R[W]=ht,R[ne]=y,W=ne):(R[W]=it,R[ye]=y,W=ye);else if(ne<q&&0>l(ht,y))R[W]=ht,R[ne]=y,W=ne;else break e}}return B}function l(R,B){var y=R.sortIndex-B.sortIndex;return y!==0?y:R.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var a=[],s=[],c=1,f=null,d=3,p=!1,w=!1,v=!1,E=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(R){for(var B=n(s);B!==null;){if(B.callback===null)r(s);else if(B.startTime<=R)r(s),B.sortIndex=B.expirationTime,t(a,B);else break;B=n(s)}}function S(R){if(v=!1,g(R),!w)if(n(a)!==null)w=!0,he(_);else{var B=n(s);B!==null&&pe(S,B.startTime-R)}}function _(R,B){w=!1,v&&(v=!1,h(L),L=-1),p=!0;var y=d;try{for(g(B),f=n(a);f!==null&&(!(f.expirationTime>B)||R&&!O());){var W=f.callback;if(typeof W=="function"){f.callback=null,d=f.priorityLevel;var q=W(f.expirationTime<=B);B=e.unstable_now(),typeof q=="function"?f.callback=q:f===n(a)&&r(a),g(B)}else r(a);f=n(a)}if(f!==null)var k=!0;else{var ye=n(s);ye!==null&&pe(S,ye.startTime-B),k=!1}return k}finally{f=null,d=y,p=!1}}var x=!1,T=null,L=-1,F=5,M=-1;function O(){return!(e.unstable_now()-M<F)}function A(){if(T!==null){var R=e.unstable_now();M=R;var B=!0;try{B=T(!0,R)}finally{B?X():(x=!1,T=null)}}else x=!1}var X;if(typeof m=="function")X=function(){m(A)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,$=oe.port2;oe.port1.onmessage=A,X=function(){$.postMessage(null)}}else X=function(){E(A,0)};function he(R){T=R,x||(x=!0,X())}function pe(R,B){L=E(function(){R(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,he(_))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(R){switch(d){case 1:case 2:case 3:var B=3;break;default:B=d}var y=d;d=B;try{return R()}finally{d=y}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,B){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var y=d;d=R;try{return B()}finally{d=y}},e.unstable_scheduleCallback=function(R,B,y){var W=e.unstable_now();switch(typeof y=="object"&&y!==null?(y=y.delay,y=typeof y=="number"&&0<y?W+y:W):y=W,R){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=y+q,R={id:c++,callback:B,priorityLevel:R,startTime:y,expirationTime:q,sortIndex:-1},y>W?(R.sortIndex=y,t(s,R),n(a)===null&&R===n(s)&&(v?(h(L),L=-1):v=!0,pe(S,y-W))):(R.sortIndex=q,t(a,R),w||p||(w=!0,he(_))),R},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(R){var B=d;return function(){var y=d;d=B;try{return R.apply(this,arguments)}finally{d=y}}}})(up);op.exports=up;var bm=op.exports;/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its 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 $m=C,Xe=bm;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ap=new Set,Wr={};function Cn(e,t){tr(e,t),tr(e+"Capture",t)}function tr(e,t){for(Wr[e]=t,e=0;e<t.length;e++)ap.add(t[e])}var zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),iu=Object.prototype.hasOwnProperty,Hm=/^[: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]*$/,As={},Fs={};function Wm(e){return iu.call(Fs,e)?!0:iu.call(As,e)?!1:Hm.test(e)?Fs[e]=!0:(As[e]=!0,!1)}function Qm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ym(e,t,n,r){if(t===null||typeof t>"u"||Qm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ce[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ce[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ce[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ce[e]=new Oe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ce[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ce[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ce[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ce[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ce[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ya=/[\-:]([a-z])/g;function va(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ya,va);Ce[t]=new Oe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ya,va);Ce[t]=new Oe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ya,va);Ce[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ce[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ce.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ce[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function wa(e,t,n,r){var l=Ce.hasOwnProperty(t)?Ce[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ym(t,n,l,r)&&(n=null),r||l===null?Wm(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Dt=$m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xl=Symbol.for("react.element"),Mn=Symbol.for("react.portal"),Dn=Symbol.for("react.fragment"),ka=Symbol.for("react.strict_mode"),ou=Symbol.for("react.profiler"),sp=Symbol.for("react.provider"),cp=Symbol.for("react.context"),xa=Symbol.for("react.forward_ref"),uu=Symbol.for("react.suspense"),au=Symbol.for("react.suspense_list"),Sa=Symbol.for("react.memo"),Vt=Symbol.for("react.lazy"),fp=Symbol.for("react.offscreen"),Bs=Symbol.iterator;function wr(e){return e===null||typeof e!="object"?null:(e=Bs&&e[Bs]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,yo;function Nr(e){if(yo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yo=t&&t[1]||""}return`
34
+ `+yo+e}var vo=!1;function wo(e,t){if(!e||vo)return"";vo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
35
+ `),i=r.stack.split(`
36
+ `),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var a=`
37
+ `+l[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=u);break}}}finally{vo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nr(e):""}function Xm(e){switch(e.tag){case 5:return Nr(e.type);case 16:return Nr("Lazy");case 13:return Nr("Suspense");case 19:return Nr("SuspenseList");case 0:case 2:case 15:return e=wo(e.type,!1),e;case 11:return e=wo(e.type.render,!1),e;case 1:return e=wo(e.type,!0),e;default:return""}}function su(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case Mn:return"Portal";case ou:return"Profiler";case ka:return"StrictMode";case uu:return"Suspense";case au:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cp:return(e.displayName||"Context")+".Consumer";case sp:return(e._context.displayName||"Context")+".Provider";case xa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sa:return t=e.displayName||null,t!==null?t:su(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return su(e(t))}catch{}}return null}function Km(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return su(t);case 8:return t===ka?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gm(e){var t=pp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sl(e){e._valueTracker||(e._valueTracker=Gm(e))}function dp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ii(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}}function cu(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function js(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hp(e,t){t=t.checked,t!=null&&wa(e,"checked",t,!1)}function fu(e,t){hp(e,t);var n=rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pu(e,t.type,n):t.hasOwnProperty("defaultValue")&&pu(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Us(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pu(e,t,n){(t!=="number"||ii(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lr=Array.isArray;function Qn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rn(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function du(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(Lr(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rn(n)}}function mp(e,t){var n=rn(t.value),r=rn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function bs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function hu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var El,yp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(El=El||document.createElement("div"),El.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=El.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qm=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){qm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function vp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function wp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=vp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Jm=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mu(e,t){if(t){if(Jm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function gu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 yu=null;function Ea(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vu=null,Yn=null,Xn=null;function $s(e){if(e=hl(e)){if(typeof vu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=ji(t),vu(e.stateNode,e.type,t))}}function kp(e){Yn?Xn?Xn.push(e):Xn=[e]:Yn=e}function xp(){if(Yn){var e=Yn,t=Xn;if(Xn=Yn=null,$s(e),t)for(e=0;e<t.length;e++)$s(t[e])}}function Sp(e,t){return e(t)}function Ep(){}var ko=!1;function Cp(e,t,n){if(ko)return e(t,n);ko=!0;try{return Sp(e,t,n)}finally{ko=!1,(Yn!==null||Xn!==null)&&(Ep(),xp())}}function Yr(e,t){var n=e.stateNode;if(n===null)return null;var r=ji(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(I(231,t,typeof n));return n}var wu=!1;if(zt)try{var kr={};Object.defineProperty(kr,"passive",{get:function(){wu=!0}}),window.addEventListener("test",kr,kr),window.removeEventListener("test",kr,kr)}catch{wu=!1}function Zm(e,t,n,r,l,i,o,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var Mr=!1,oi=null,ui=!1,ku=null,eg={onError:function(e){Mr=!0,oi=e}};function tg(e,t,n,r,l,i,o,u,a){Mr=!1,oi=null,Zm.apply(eg,arguments)}function ng(e,t,n,r,l,i,o,u,a){if(tg.apply(this,arguments),Mr){if(Mr){var s=oi;Mr=!1,oi=null}else throw Error(I(198));ui||(ui=!0,ku=s)}}function Pn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Pp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Hs(e){if(Pn(e)!==e)throw Error(I(188))}function rg(e){var t=e.alternate;if(!t){if(t=Pn(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return Hs(l),e;if(i===r)return Hs(l),t;i=i.sibling}throw Error(I(188))}if(n.return!==r.return)n=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===n){o=!0,n=l,r=i;break}if(u===r){o=!0,r=l,n=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===n){o=!0,n=i,r=l;break}if(u===r){o=!0,r=i,n=l;break}u=u.sibling}if(!o)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function _p(e){return e=rg(e),e!==null?Tp(e):null}function Tp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Tp(e);if(t!==null)return t;e=e.sibling}return null}var Ip=Xe.unstable_scheduleCallback,Ws=Xe.unstable_cancelCallback,lg=Xe.unstable_shouldYield,ig=Xe.unstable_requestPaint,de=Xe.unstable_now,og=Xe.unstable_getCurrentPriorityLevel,Ca=Xe.unstable_ImmediatePriority,Np=Xe.unstable_UserBlockingPriority,ai=Xe.unstable_NormalPriority,ug=Xe.unstable_LowPriority,Lp=Xe.unstable_IdlePriority,Di=null,xt=null;function ag(e){if(xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(Di,e,void 0,(e.current.flags&128)===128)}catch{}}var ft=Math.clz32?Math.clz32:fg,sg=Math.log,cg=Math.LN2;function fg(e){return e>>>=0,e===0?32:31-(sg(e)/cg|0)|0}var Cl=64,Pl=4194304;function zr(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function si(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=zr(u):(i&=o,i!==0&&(r=zr(i)))}else o=n&~l,o!==0?r=zr(o):i!==0&&(r=zr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ft(t),l=1<<n,r|=e[n],t&=~l;return r}function pg(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function dg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-ft(i),u=1<<o,a=l[o];a===-1?(!(u&n)||u&r)&&(l[o]=pg(u,t)):a<=t&&(e.expiredLanes|=u),i&=~u}}function xu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zp(){var e=Cl;return Cl<<=1,!(Cl&4194240)&&(Cl=64),e}function xo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function pl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ft(t),e[t]=n}function hg(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-ft(n),i=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~i}}function Pa(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ft(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var K=0;function Rp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Op,_a,Mp,Dp,Ap,Su=!1,_l=[],Xt=null,Kt=null,Gt=null,Xr=new Map,Kr=new Map,$t=[],mg="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 submit".split(" ");function Qs(e,t){switch(e){case"focusin":case"focusout":Xt=null;break;case"dragenter":case"dragleave":Kt=null;break;case"mouseover":case"mouseout":Gt=null;break;case"pointerover":case"pointerout":Xr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kr.delete(t.pointerId)}}function xr(e,t,n,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},t!==null&&(t=hl(t),t!==null&&_a(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function gg(e,t,n,r,l){switch(t){case"focusin":return Xt=xr(Xt,e,t,n,r,l),!0;case"dragenter":return Kt=xr(Kt,e,t,n,r,l),!0;case"mouseover":return Gt=xr(Gt,e,t,n,r,l),!0;case"pointerover":var i=l.pointerId;return Xr.set(i,xr(Xr.get(i)||null,e,t,n,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Kr.set(i,xr(Kr.get(i)||null,e,t,n,r,l)),!0}return!1}function Fp(e){var t=hn(e.target);if(t!==null){var n=Pn(t);if(n!==null){if(t=n.tag,t===13){if(t=Pp(n),t!==null){e.blockedOn=t,Ap(e.priority,function(){Mp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Hl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Eu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);yu=r,n.target.dispatchEvent(r),yu=null}else return t=hl(n),t!==null&&_a(t),e.blockedOn=n,!1;t.shift()}return!0}function Ys(e,t,n){Hl(e)&&n.delete(t)}function yg(){Su=!1,Xt!==null&&Hl(Xt)&&(Xt=null),Kt!==null&&Hl(Kt)&&(Kt=null),Gt!==null&&Hl(Gt)&&(Gt=null),Xr.forEach(Ys),Kr.forEach(Ys)}function Sr(e,t){e.blockedOn===t&&(e.blockedOn=null,Su||(Su=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,yg)))}function Gr(e){function t(l){return Sr(l,e)}if(0<_l.length){Sr(_l[0],e);for(var n=1;n<_l.length;n++){var r=_l[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Xt!==null&&Sr(Xt,e),Kt!==null&&Sr(Kt,e),Gt!==null&&Sr(Gt,e),Xr.forEach(t),Kr.forEach(t),n=0;n<$t.length;n++)r=$t[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<$t.length&&(n=$t[0],n.blockedOn===null);)Fp(n),n.blockedOn===null&&$t.shift()}var Kn=Dt.ReactCurrentBatchConfig,ci=!0;function vg(e,t,n,r){var l=K,i=Kn.transition;Kn.transition=null;try{K=1,Ta(e,t,n,r)}finally{K=l,Kn.transition=i}}function wg(e,t,n,r){var l=K,i=Kn.transition;Kn.transition=null;try{K=4,Ta(e,t,n,r)}finally{K=l,Kn.transition=i}}function Ta(e,t,n,r){if(ci){var l=Eu(e,t,n,r);if(l===null)zo(e,t,r,fi,n),Qs(e,r);else if(gg(l,e,t,n,r))r.stopPropagation();else if(Qs(e,r),t&4&&-1<mg.indexOf(e)){for(;l!==null;){var i=hl(l);if(i!==null&&Op(i),i=Eu(e,t,n,r),i===null&&zo(e,t,r,fi,n),i===l)break;l=i}l!==null&&r.stopPropagation()}else zo(e,t,r,null,n)}}var fi=null;function Eu(e,t,n,r){if(fi=null,e=Ea(r),e=hn(e),e!==null)if(t=Pn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Pp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fi=e,null}function Bp(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(og()){case Ca:return 1;case Np:return 4;case ai:case ug:return 16;case Lp:return 536870912;default:return 16}default:return 16}}var Wt=null,Ia=null,Wl=null;function jp(){if(Wl)return Wl;var e,t=Ia,n=t.length,r,l="value"in Wt?Wt.value:Wt.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===l[i-r];r++);return Wl=l.slice(e,1<r?1-r:void 0)}function Ql(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tl(){return!0}function Xs(){return!1}function Ge(e){function t(n,r,l,i,o){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Tl:Xs,this.isPropagationStopped=Xs,this}return ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Tl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Tl)},persist:function(){},isPersistent:Tl}),t}var cr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Na=Ge(cr),dl=ce({},cr,{view:0,detail:0}),kg=Ge(dl),So,Eo,Er,Ai=ce({},dl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:La,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!==Er&&(Er&&e.type==="mousemove"?(So=e.screenX-Er.screenX,Eo=e.screenY-Er.screenY):Eo=So=0,Er=e),So)},movementY:function(e){return"movementY"in e?e.movementY:Eo}}),Ks=Ge(Ai),xg=ce({},Ai,{dataTransfer:0}),Sg=Ge(xg),Eg=ce({},dl,{relatedTarget:0}),Co=Ge(Eg),Cg=ce({},cr,{animationName:0,elapsedTime:0,pseudoElement:0}),Pg=Ge(Cg),_g=ce({},cr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tg=Ge(_g),Ig=ce({},cr,{data:0}),Gs=Ge(Ig),Ng={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lg={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"},zg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zg[e])?!!t[e]:!1}function La(){return Rg}var Og=ce({},dl,{key:function(e){if(e.key){var t=Ng[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ql(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:La,charCode:function(e){return e.type==="keypress"?Ql(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ql(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Mg=Ge(Og),Dg=ce({},Ai,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qs=Ge(Dg),Ag=ce({},dl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:La}),Fg=Ge(Ag),Bg=ce({},cr,{propertyName:0,elapsedTime:0,pseudoElement:0}),jg=Ge(Bg),Ug=ce({},Ai,{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}),Vg=Ge(Ug),bg=[9,13,27,32],za=zt&&"CompositionEvent"in window,Dr=null;zt&&"documentMode"in document&&(Dr=document.documentMode);var $g=zt&&"TextEvent"in window&&!Dr,Up=zt&&(!za||Dr&&8<Dr&&11>=Dr),Js=" ",Zs=!1;function Vp(e,t){switch(e){case"keyup":return bg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function Hg(e,t){switch(e){case"compositionend":return bp(t);case"keypress":return t.which!==32?null:(Zs=!0,Js);case"textInput":return e=t.data,e===Js&&Zs?null:e;default:return null}}function Wg(e,t){if(An)return e==="compositionend"||!za&&Vp(e,t)?(e=jp(),Wl=Ia=Wt=null,An=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Up&&t.locale!=="ko"?null:t.data;default:return null}}var Qg={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 ec(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Qg[e.type]:t==="textarea"}function $p(e,t,n,r){kp(r),t=pi(t,"onChange"),0<t.length&&(n=new Na("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ar=null,qr=null;function Yg(e){ed(e,0)}function Fi(e){var t=jn(e);if(dp(t))return e}function Xg(e,t){if(e==="change")return t}var Hp=!1;if(zt){var Po;if(zt){var _o="oninput"in document;if(!_o){var tc=document.createElement("div");tc.setAttribute("oninput","return;"),_o=typeof tc.oninput=="function"}Po=_o}else Po=!1;Hp=Po&&(!document.documentMode||9<document.documentMode)}function nc(){Ar&&(Ar.detachEvent("onpropertychange",Wp),qr=Ar=null)}function Wp(e){if(e.propertyName==="value"&&Fi(qr)){var t=[];$p(t,qr,e,Ea(e)),Cp(Yg,t)}}function Kg(e,t,n){e==="focusin"?(nc(),Ar=t,qr=n,Ar.attachEvent("onpropertychange",Wp)):e==="focusout"&&nc()}function Gg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fi(qr)}function qg(e,t){if(e==="click")return Fi(t)}function Jg(e,t){if(e==="input"||e==="change")return Fi(t)}function Zg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:Zg;function Jr(e,t){if(dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!iu.call(t,l)||!dt(e[l],t[l]))return!1}return!0}function rc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lc(e,t){var n=rc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rc(n)}}function Qp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Yp(){for(var e=window,t=ii();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ii(e.document)}return t}function Ra(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ey(e){var t=Yp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qp(n.ownerDocument.documentElement,n)){if(r!==null&&Ra(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=lc(n,i);var o=lc(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ty=zt&&"documentMode"in document&&11>=document.documentMode,Fn=null,Cu=null,Fr=null,Pu=!1;function ic(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pu||Fn==null||Fn!==ii(r)||(r=Fn,"selectionStart"in r&&Ra(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Fr&&Jr(Fr,r)||(Fr=r,r=pi(Cu,"onSelect"),0<r.length&&(t=new Na("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Fn)))}function Il(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Bn={animationend:Il("Animation","AnimationEnd"),animationiteration:Il("Animation","AnimationIteration"),animationstart:Il("Animation","AnimationStart"),transitionend:Il("Transition","TransitionEnd")},To={},Xp={};zt&&(Xp=document.createElement("div").style,"AnimationEvent"in window||(delete Bn.animationend.animation,delete Bn.animationiteration.animation,delete Bn.animationstart.animation),"TransitionEvent"in window||delete Bn.transitionend.transition);function Bi(e){if(To[e])return To[e];if(!Bn[e])return e;var t=Bn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xp)return To[e]=t[n];return e}var Kp=Bi("animationend"),Gp=Bi("animationiteration"),qp=Bi("animationstart"),Jp=Bi("transitionend"),Zp=new Map,oc="abort auxClick 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(" ");function on(e,t){Zp.set(e,t),Cn(t,[e])}for(var Io=0;Io<oc.length;Io++){var No=oc[Io],ny=No.toLowerCase(),ry=No[0].toUpperCase()+No.slice(1);on(ny,"on"+ry)}on(Kp,"onAnimationEnd");on(Gp,"onAnimationIteration");on(qp,"onAnimationStart");on("dblclick","onDoubleClick");on("focusin","onFocus");on("focusout","onBlur");on(Jp,"onTransitionEnd");tr("onMouseEnter",["mouseout","mouseover"]);tr("onMouseLeave",["mouseout","mouseover"]);tr("onPointerEnter",["pointerout","pointerover"]);tr("onPointerLeave",["pointerout","pointerover"]);Cn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Cn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Cn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Cn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Cn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Cn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="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(" "),ly=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function uc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,ng(r,t,void 0,e),e.currentTarget=null}function ed(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var u=r[o],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==i&&l.isPropagationStopped())break e;uc(l,u,s),i=a}else for(o=0;o<r.length;o++){if(u=r[o],a=u.instance,s=u.currentTarget,u=u.listener,a!==i&&l.isPropagationStopped())break e;uc(l,u,s),i=a}}}if(ui)throw e=ku,ui=!1,ku=null,e}function re(e,t){var n=t[Lu];n===void 0&&(n=t[Lu]=new Set);var r=e+"__bubble";n.has(r)||(td(t,e,2,!1),n.add(r))}function Lo(e,t,n){var r=0;t&&(r|=4),td(n,e,r,t)}var Nl="_reactListening"+Math.random().toString(36).slice(2);function Zr(e){if(!e[Nl]){e[Nl]=!0,ap.forEach(function(n){n!=="selectionchange"&&(ly.has(n)||Lo(n,!1,e),Lo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Nl]||(t[Nl]=!0,Lo("selectionchange",!1,t))}}function td(e,t,n,r){switch(Bp(t)){case 1:var l=vg;break;case 4:l=wg;break;default:l=Ta}n=l.bind(null,t,n,e),l=void 0,!wu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function zo(e,t,n,r,l){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var a=o.tag;if((a===3||a===4)&&(a=o.stateNode.containerInfo,a===l||a.nodeType===8&&a.parentNode===l))return;o=o.return}for(;u!==null;){if(o=hn(u),o===null)return;if(a=o.tag,a===5||a===6){r=i=o;continue e}u=u.parentNode}}r=r.return}Cp(function(){var s=i,c=Ea(n),f=[];e:{var d=Zp.get(e);if(d!==void 0){var p=Na,w=e;switch(e){case"keypress":if(Ql(n)===0)break e;case"keydown":case"keyup":p=Mg;break;case"focusin":w="focus",p=Co;break;case"focusout":w="blur",p=Co;break;case"beforeblur":case"afterblur":p=Co;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Ks;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Sg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Fg;break;case Kp:case Gp:case qp:p=Pg;break;case Jp:p=jg;break;case"scroll":p=kg;break;case"wheel":p=Vg;break;case"copy":case"cut":case"paste":p=Tg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=qs}var v=(t&4)!==0,E=!v&&e==="scroll",h=v?d!==null?d+"Capture":null:d;v=[];for(var m=s,g;m!==null;){g=m;var S=g.stateNode;if(g.tag===5&&S!==null&&(g=S,h!==null&&(S=Yr(m,h),S!=null&&v.push(el(m,S,g)))),E)break;m=m.return}0<v.length&&(d=new p(d,w,null,n,c),f.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&n!==yu&&(w=n.relatedTarget||n.fromElement)&&(hn(w)||w[Rt]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=s,w=w?hn(w):null,w!==null&&(E=Pn(w),w!==E||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=s),p!==w)){if(v=Ks,S="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=qs,S="onPointerLeave",h="onPointerEnter",m="pointer"),E=p==null?d:jn(p),g=w==null?d:jn(w),d=new v(S,m+"leave",p,n,c),d.target=E,d.relatedTarget=g,S=null,hn(c)===s&&(v=new v(h,m+"enter",w,n,c),v.target=g,v.relatedTarget=E,S=v),E=S,p&&w)t:{for(v=p,h=w,m=0,g=v;g;g=Ln(g))m++;for(g=0,S=h;S;S=Ln(S))g++;for(;0<m-g;)v=Ln(v),m--;for(;0<g-m;)h=Ln(h),g--;for(;m--;){if(v===h||h!==null&&v===h.alternate)break t;v=Ln(v),h=Ln(h)}v=null}else v=null;p!==null&&ac(f,d,p,v,!1),w!==null&&E!==null&&ac(f,E,w,v,!0)}}e:{if(d=s?jn(s):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var _=Xg;else if(ec(d))if(Hp)_=Jg;else{_=Gg;var x=Kg}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(_=qg);if(_&&(_=_(e,s))){$p(f,_,n,c);break e}x&&x(e,d,s),e==="focusout"&&(x=d._wrapperState)&&x.controlled&&d.type==="number"&&pu(d,"number",d.value)}switch(x=s?jn(s):window,e){case"focusin":(ec(x)||x.contentEditable==="true")&&(Fn=x,Cu=s,Fr=null);break;case"focusout":Fr=Cu=Fn=null;break;case"mousedown":Pu=!0;break;case"contextmenu":case"mouseup":case"dragend":Pu=!1,ic(f,n,c);break;case"selectionchange":if(ty)break;case"keydown":case"keyup":ic(f,n,c)}var T;if(za)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else An?Vp(e,n)&&(L="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(L="onCompositionStart");L&&(Up&&n.locale!=="ko"&&(An||L!=="onCompositionStart"?L==="onCompositionEnd"&&An&&(T=jp()):(Wt=c,Ia="value"in Wt?Wt.value:Wt.textContent,An=!0)),x=pi(s,L),0<x.length&&(L=new Gs(L,e,null,n,c),f.push({event:L,listeners:x}),T?L.data=T:(T=bp(n),T!==null&&(L.data=T)))),(T=$g?Hg(e,n):Wg(e,n))&&(s=pi(s,"onBeforeInput"),0<s.length&&(c=new Gs("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:s}),c.data=T))}ed(f,t)})}function el(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pi(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Yr(e,n),i!=null&&r.unshift(el(e,i,l)),i=Yr(e,t),i!=null&&r.push(el(e,i,l))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ac(e,t,n,r,l){for(var i=t._reactName,o=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,l?(a=Yr(n,i),a!=null&&o.unshift(el(n,a,u))):l||(a=Yr(n,i),a!=null&&o.push(el(n,a,u)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var iy=/\r\n?/g,oy=/\u0000|\uFFFD/g;function sc(e){return(typeof e=="string"?e:""+e).replace(iy,`
38
+ `).replace(oy,"")}function Ll(e,t,n){if(t=sc(t),sc(e)!==t&&n)throw Error(I(425))}function di(){}var _u=null,Tu=null;function Iu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Nu=typeof setTimeout=="function"?setTimeout:void 0,uy=typeof clearTimeout=="function"?clearTimeout:void 0,cc=typeof Promise=="function"?Promise:void 0,ay=typeof queueMicrotask=="function"?queueMicrotask:typeof cc<"u"?function(e){return cc.resolve(null).then(e).catch(sy)}:Nu;function sy(e){setTimeout(function(){throw e})}function Ro(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Gr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Gr(t)}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function fc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var fr=Math.random().toString(36).slice(2),vt="__reactFiber$"+fr,tl="__reactProps$"+fr,Rt="__reactContainer$"+fr,Lu="__reactEvents$"+fr,cy="__reactListeners$"+fr,fy="__reactHandles$"+fr;function hn(e){var t=e[vt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Rt]||n[vt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=fc(e);e!==null;){if(n=e[vt])return n;e=fc(e)}return t}e=n,n=e.parentNode}return null}function hl(e){return e=e[vt]||e[Rt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function jn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function ji(e){return e[tl]||null}var zu=[],Un=-1;function un(e){return{current:e}}function le(e){0>Un||(e.current=zu[Un],zu[Un]=null,Un--)}function ee(e,t){Un++,zu[Un]=e.current,e.current=t}var ln={},Ie=un(ln),Fe=un(!1),wn=ln;function nr(e,t){var n=e.type.contextTypes;if(!n)return ln;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Be(e){return e=e.childContextTypes,e!=null}function hi(){le(Fe),le(Ie)}function pc(e,t,n){if(Ie.current!==ln)throw Error(I(168));ee(Ie,t),ee(Fe,n)}function nd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(I(108,Km(e)||"Unknown",l));return ce({},n,r)}function mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ln,wn=Ie.current,ee(Ie,e),ee(Fe,Fe.current),!0}function dc(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=nd(e,t,wn),r.__reactInternalMemoizedMergedChildContext=e,le(Fe),le(Ie),ee(Ie,e)):le(Fe),ee(Fe,n)}var Tt=null,Ui=!1,Oo=!1;function rd(e){Tt===null?Tt=[e]:Tt.push(e)}function py(e){Ui=!0,rd(e)}function an(){if(!Oo&&Tt!==null){Oo=!0;var e=0,t=K;try{var n=Tt;for(K=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Tt=null,Ui=!1}catch(l){throw Tt!==null&&(Tt=Tt.slice(e+1)),Ip(Ca,an),l}finally{K=t,Oo=!1}}return null}var Vn=[],bn=0,gi=null,yi=0,qe=[],Je=0,kn=null,It=1,Nt="";function fn(e,t){Vn[bn++]=yi,Vn[bn++]=gi,gi=e,yi=t}function ld(e,t,n){qe[Je++]=It,qe[Je++]=Nt,qe[Je++]=kn,kn=e;var r=It;e=Nt;var l=32-ft(r)-1;r&=~(1<<l),n+=1;var i=32-ft(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,It=1<<32-ft(t)+l|n<<l|r,Nt=i+e}else It=1<<i|n<<l|r,Nt=e}function Oa(e){e.return!==null&&(fn(e,1),ld(e,1,0))}function Ma(e){for(;e===gi;)gi=Vn[--bn],Vn[bn]=null,yi=Vn[--bn],Vn[bn]=null;for(;e===kn;)kn=qe[--Je],qe[Je]=null,Nt=qe[--Je],qe[Je]=null,It=qe[--Je],qe[Je]=null}var Ye=null,We=null,ie=!1,ct=null;function id(e,t){var n=et(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ye=e,We=qt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ye=e,We=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=kn!==null?{id:It,overflow:Nt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=et(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ye=e,We=null,!0):!1;default:return!1}}function Ru(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ou(e){if(ie){var t=We;if(t){var n=t;if(!hc(e,t)){if(Ru(e))throw Error(I(418));t=qt(n.nextSibling);var r=Ye;t&&hc(e,t)?id(r,n):(e.flags=e.flags&-4097|2,ie=!1,Ye=e)}}else{if(Ru(e))throw Error(I(418));e.flags=e.flags&-4097|2,ie=!1,Ye=e}}}function mc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ye=e}function zl(e){if(e!==Ye)return!1;if(!ie)return mc(e),ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Iu(e.type,e.memoizedProps)),t&&(t=We)){if(Ru(e))throw od(),Error(I(418));for(;t;)id(e,t),t=qt(t.nextSibling)}if(mc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){We=qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}We=null}}else We=Ye?qt(e.stateNode.nextSibling):null;return!0}function od(){for(var e=We;e;)e=qt(e.nextSibling)}function rr(){We=Ye=null,ie=!1}function Da(e){ct===null?ct=[e]:ct.push(e)}var dy=Dt.ReactCurrentBatchConfig;function Cr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var l=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var u=l.refs;o===null?delete u[i]:u[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Rl(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gc(e){var t=e._init;return t(e._payload)}function ud(e){function t(h,m){if(e){var g=h.deletions;g===null?(h.deletions=[m],h.flags|=16):g.push(m)}}function n(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function r(h,m){for(h=new Map;m!==null;)m.key!==null?h.set(m.key,m):h.set(m.index,m),m=m.sibling;return h}function l(h,m){return h=tn(h,m),h.index=0,h.sibling=null,h}function i(h,m,g){return h.index=g,e?(g=h.alternate,g!==null?(g=g.index,g<m?(h.flags|=2,m):g):(h.flags|=2,m)):(h.flags|=1048576,m)}function o(h){return e&&h.alternate===null&&(h.flags|=2),h}function u(h,m,g,S){return m===null||m.tag!==6?(m=Uo(g,h.mode,S),m.return=h,m):(m=l(m,g),m.return=h,m)}function a(h,m,g,S){var _=g.type;return _===Dn?c(h,m,g.props.children,S,g.key):m!==null&&(m.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Vt&&gc(_)===m.type)?(S=l(m,g.props),S.ref=Cr(h,m,g),S.return=h,S):(S=Zl(g.type,g.key,g.props,null,h.mode,S),S.ref=Cr(h,m,g),S.return=h,S)}function s(h,m,g,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==g.containerInfo||m.stateNode.implementation!==g.implementation?(m=Vo(g,h.mode,S),m.return=h,m):(m=l(m,g.children||[]),m.return=h,m)}function c(h,m,g,S,_){return m===null||m.tag!==7?(m=vn(g,h.mode,S,_),m.return=h,m):(m=l(m,g),m.return=h,m)}function f(h,m,g){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Uo(""+m,h.mode,g),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case xl:return g=Zl(m.type,m.key,m.props,null,h.mode,g),g.ref=Cr(h,null,m),g.return=h,g;case Mn:return m=Vo(m,h.mode,g),m.return=h,m;case Vt:var S=m._init;return f(h,S(m._payload),g)}if(Lr(m)||wr(m))return m=vn(m,h.mode,g,null),m.return=h,m;Rl(h,m)}return null}function d(h,m,g,S){var _=m!==null?m.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return _!==null?null:u(h,m,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case xl:return g.key===_?a(h,m,g,S):null;case Mn:return g.key===_?s(h,m,g,S):null;case Vt:return _=g._init,d(h,m,_(g._payload),S)}if(Lr(g)||wr(g))return _!==null?null:c(h,m,g,S,null);Rl(h,g)}return null}function p(h,m,g,S,_){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(g)||null,u(m,h,""+S,_);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case xl:return h=h.get(S.key===null?g:S.key)||null,a(m,h,S,_);case Mn:return h=h.get(S.key===null?g:S.key)||null,s(m,h,S,_);case Vt:var x=S._init;return p(h,m,g,x(S._payload),_)}if(Lr(S)||wr(S))return h=h.get(g)||null,c(m,h,S,_,null);Rl(m,S)}return null}function w(h,m,g,S){for(var _=null,x=null,T=m,L=m=0,F=null;T!==null&&L<g.length;L++){T.index>L?(F=T,T=null):F=T.sibling;var M=d(h,T,g[L],S);if(M===null){T===null&&(T=F);break}e&&T&&M.alternate===null&&t(h,T),m=i(M,m,L),x===null?_=M:x.sibling=M,x=M,T=F}if(L===g.length)return n(h,T),ie&&fn(h,L),_;if(T===null){for(;L<g.length;L++)T=f(h,g[L],S),T!==null&&(m=i(T,m,L),x===null?_=T:x.sibling=T,x=T);return ie&&fn(h,L),_}for(T=r(h,T);L<g.length;L++)F=p(T,h,L,g[L],S),F!==null&&(e&&F.alternate!==null&&T.delete(F.key===null?L:F.key),m=i(F,m,L),x===null?_=F:x.sibling=F,x=F);return e&&T.forEach(function(O){return t(h,O)}),ie&&fn(h,L),_}function v(h,m,g,S){var _=wr(g);if(typeof _!="function")throw Error(I(150));if(g=_.call(g),g==null)throw Error(I(151));for(var x=_=null,T=m,L=m=0,F=null,M=g.next();T!==null&&!M.done;L++,M=g.next()){T.index>L?(F=T,T=null):F=T.sibling;var O=d(h,T,M.value,S);if(O===null){T===null&&(T=F);break}e&&T&&O.alternate===null&&t(h,T),m=i(O,m,L),x===null?_=O:x.sibling=O,x=O,T=F}if(M.done)return n(h,T),ie&&fn(h,L),_;if(T===null){for(;!M.done;L++,M=g.next())M=f(h,M.value,S),M!==null&&(m=i(M,m,L),x===null?_=M:x.sibling=M,x=M);return ie&&fn(h,L),_}for(T=r(h,T);!M.done;L++,M=g.next())M=p(T,h,L,M.value,S),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?L:M.key),m=i(M,m,L),x===null?_=M:x.sibling=M,x=M);return e&&T.forEach(function(A){return t(h,A)}),ie&&fn(h,L),_}function E(h,m,g,S){if(typeof g=="object"&&g!==null&&g.type===Dn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case xl:e:{for(var _=g.key,x=m;x!==null;){if(x.key===_){if(_=g.type,_===Dn){if(x.tag===7){n(h,x.sibling),m=l(x,g.props.children),m.return=h,h=m;break e}}else if(x.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Vt&&gc(_)===x.type){n(h,x.sibling),m=l(x,g.props),m.ref=Cr(h,x,g),m.return=h,h=m;break e}n(h,x);break}else t(h,x);x=x.sibling}g.type===Dn?(m=vn(g.props.children,h.mode,S,g.key),m.return=h,h=m):(S=Zl(g.type,g.key,g.props,null,h.mode,S),S.ref=Cr(h,m,g),S.return=h,h=S)}return o(h);case Mn:e:{for(x=g.key;m!==null;){if(m.key===x)if(m.tag===4&&m.stateNode.containerInfo===g.containerInfo&&m.stateNode.implementation===g.implementation){n(h,m.sibling),m=l(m,g.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Vo(g,h.mode,S),m.return=h,h=m}return o(h);case Vt:return x=g._init,E(h,m,x(g._payload),S)}if(Lr(g))return w(h,m,g,S);if(wr(g))return v(h,m,g,S);Rl(h,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,m!==null&&m.tag===6?(n(h,m.sibling),m=l(m,g),m.return=h,h=m):(n(h,m),m=Uo(g,h.mode,S),m.return=h,h=m),o(h)):n(h,m)}return E}var lr=ud(!0),ad=ud(!1),vi=un(null),wi=null,$n=null,Aa=null;function Fa(){Aa=$n=wi=null}function Ba(e){var t=vi.current;le(vi),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Gn(e,t){wi=e,Aa=$n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function nt(e){var t=e._currentValue;if(Aa!==e)if(e={context:e,memoizedValue:t,next:null},$n===null){if(wi===null)throw Error(I(308));$n=e,wi.dependencies={lanes:0,firstContext:e}}else $n=$n.next=e;return t}var mn=null;function ja(e){mn===null?mn=[e]:mn.push(e)}function sd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ja(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ot(e,r)}function Ot(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var bt=!1;function Ua(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Q&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ot(e,n)}return l=r.interleaved,l===null?(t.next=t,ja(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ot(e,n)}function Yl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pa(e,n)}}function yc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ki(e,t,n,r){var l=e.updateQueue;bt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var a=u,s=a.next;a.next=null,o===null?i=s:o.next=s,o=a;var c=e.alternate;c!==null&&(c=c.updateQueue,u=c.lastBaseUpdate,u!==o&&(u===null?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=a))}if(i!==null){var f=l.baseState;o=0,c=s=a=null,u=i;do{var d=u.lane,p=u.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,v=u;switch(d=t,p=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){f=w.call(p,f,d);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,d=typeof w=="function"?w.call(p,f,d):w,d==null)break e;f=ce({},f,d);break e;case 2:bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=l.effects,d===null?l.effects=[u]:d.push(u))}else p={eventTime:p,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},c===null?(s=c=p,a=f):c=c.next=p,o|=d;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;d=u,u=d.next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}while(!0);if(c===null&&(a=f),l.baseState=a,l.firstBaseUpdate=s,l.lastBaseUpdate=c,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Sn|=o,e.lanes=o,e.memoizedState=f}}function vc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(I(191,l));l.call(r)}}}var ml={},St=un(ml),nl=un(ml),rl=un(ml);function gn(e){if(e===ml)throw Error(I(174));return e}function Va(e,t){switch(ee(rl,t),ee(nl,e),ee(St,ml),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=hu(t,e)}le(St),ee(St,t)}function ir(){le(St),le(nl),le(rl)}function fd(e){gn(rl.current);var t=gn(St.current),n=hu(t,e.type);t!==n&&(ee(nl,e),ee(St,n))}function ba(e){nl.current===e&&(le(St),le(nl))}var ue=un(0);function xi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Mo=[];function $a(){for(var e=0;e<Mo.length;e++)Mo[e]._workInProgressVersionPrimary=null;Mo.length=0}var Xl=Dt.ReactCurrentDispatcher,Do=Dt.ReactCurrentBatchConfig,xn=0,ae=null,ve=null,ke=null,Si=!1,Br=!1,ll=0,hy=0;function Pe(){throw Error(I(321))}function Ha(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dt(e[n],t[n]))return!1;return!0}function Wa(e,t,n,r,l,i){if(xn=i,ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xl.current=e===null||e.memoizedState===null?vy:wy,e=n(r,l),Br){i=0;do{if(Br=!1,ll=0,25<=i)throw Error(I(301));i+=1,ke=ve=null,t.updateQueue=null,Xl.current=ky,e=n(r,l)}while(Br)}if(Xl.current=Ei,t=ve!==null&&ve.next!==null,xn=0,ke=ve=ae=null,Si=!1,t)throw Error(I(300));return e}function Qa(){var e=ll!==0;return ll=0,e}function gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?ae.memoizedState=ke=e:ke=ke.next=e,ke}function rt(){if(ve===null){var e=ae.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=ke===null?ae.memoizedState:ke.next;if(t!==null)ke=t,ve=e;else{if(e===null)throw Error(I(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},ke===null?ae.memoizedState=ke=e:ke=ke.next=e}return ke}function il(e,t){return typeof t=="function"?t(e):t}function Ao(e){var t=rt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=ve,l=r.baseQueue,i=n.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,n.pending=null}if(l!==null){i=l.next,r=r.baseState;var u=o=null,a=null,s=i;do{var c=s.lane;if((xn&c)===c)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=f,o=r):a=a.next=f,ae.lanes|=c,Sn|=c}s=s.next}while(s!==null&&s!==i);a===null?o=r:a.next=u,dt(r,t.memoizedState)||(Ae=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do i=l.lane,ae.lanes|=i,Sn|=i,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fo(e){var t=rt(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);dt(i,t.memoizedState)||(Ae=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pd(){}function dd(e,t){var n=ae,r=rt(),l=t(),i=!dt(r.memoizedState,l);if(i&&(r.memoizedState=l,Ae=!0),r=r.queue,Ya(gd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ke!==null&&ke.memoizedState.tag&1){if(n.flags|=2048,ol(9,md.bind(null,n,r,l,t),void 0,null),xe===null)throw Error(I(349));xn&30||hd(n,t,l)}return l}function hd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ae.updateQueue,t===null?(t={lastEffect:null,stores:null},ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function md(e,t,n,r){t.value=n,t.getSnapshot=r,yd(t)&&vd(e)}function gd(e,t,n){return n(function(){yd(t)&&vd(e)})}function yd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dt(e,n)}catch{return!0}}function vd(e){var t=Ot(e,1);t!==null&&pt(t,e,1,-1)}function wc(e){var t=gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:e},t.queue=e,e=e.dispatch=yy.bind(null,ae,e),[t.memoizedState,e]}function ol(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ae.updateQueue,t===null?(t={lastEffect:null,stores:null},ae.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function wd(){return rt().memoizedState}function Kl(e,t,n,r){var l=gt();ae.flags|=e,l.memoizedState=ol(1|t,n,void 0,r===void 0?null:r)}function Vi(e,t,n,r){var l=rt();r=r===void 0?null:r;var i=void 0;if(ve!==null){var o=ve.memoizedState;if(i=o.destroy,r!==null&&Ha(r,o.deps)){l.memoizedState=ol(t,n,i,r);return}}ae.flags|=e,l.memoizedState=ol(1|t,n,i,r)}function kc(e,t){return Kl(8390656,8,e,t)}function Ya(e,t){return Vi(2048,8,e,t)}function kd(e,t){return Vi(4,2,e,t)}function xd(e,t){return Vi(4,4,e,t)}function Sd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ed(e,t,n){return n=n!=null?n.concat([e]):null,Vi(4,4,Sd.bind(null,t,e),n)}function Xa(){}function Cd(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ha(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Pd(e,t){var n=rt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ha(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _d(e,t,n){return xn&21?(dt(n,t)||(n=zp(),ae.lanes|=n,Sn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ae=!0),e.memoizedState=n)}function my(e,t){var n=K;K=n!==0&&4>n?n:4,e(!0);var r=Do.transition;Do.transition={};try{e(!1),t()}finally{K=n,Do.transition=r}}function Td(){return rt().memoizedState}function gy(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Id(e))Nd(t,n);else if(n=sd(e,t,n,r),n!==null){var l=ze();pt(n,e,r,l),Ld(n,t,r)}}function yy(e,t,n){var r=en(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Id(e))Nd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,dt(u,o)){var a=t.interleaved;a===null?(l.next=l,ja(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=sd(e,t,l,r),n!==null&&(l=ze(),pt(n,e,r,l),Ld(n,t,r))}}function Id(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function Nd(e,t){Br=Si=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ld(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pa(e,n)}}var Ei={readContext:nt,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},vy={readContext:nt,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:kc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Kl(4194308,4,Sd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Kl(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gy.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:wc,useDebugValue:Xa,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=wc(!1),t=e[0];return e=my.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,l=gt();if(ie){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),xe===null)throw Error(I(349));xn&30||hd(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,kc(gd.bind(null,r,i,e),[e]),r.flags|=2048,ol(9,md.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=xe.identifierPrefix;if(ie){var n=Nt,r=It;n=(r&~(1<<32-ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ll++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=hy++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},wy={readContext:nt,useCallback:Cd,useContext:nt,useEffect:Ya,useImperativeHandle:Ed,useInsertionEffect:kd,useLayoutEffect:xd,useMemo:Pd,useReducer:Ao,useRef:wd,useState:function(){return Ao(il)},useDebugValue:Xa,useDeferredValue:function(e){var t=rt();return _d(t,ve.memoizedState,e)},useTransition:function(){var e=Ao(il)[0],t=rt().memoizedState;return[e,t]},useMutableSource:pd,useSyncExternalStore:dd,useId:Td,unstable_isNewReconciler:!1},ky={readContext:nt,useCallback:Cd,useContext:nt,useEffect:Ya,useImperativeHandle:Ed,useInsertionEffect:kd,useLayoutEffect:xd,useMemo:Pd,useReducer:Fo,useRef:wd,useState:function(){return Fo(il)},useDebugValue:Xa,useDeferredValue:function(e){var t=rt();return ve===null?t.memoizedState=e:_d(t,ve.memoizedState,e)},useTransition:function(){var e=Fo(il)[0],t=rt().memoizedState;return[e,t]},useMutableSource:pd,useSyncExternalStore:dd,useId:Td,unstable_isNewReconciler:!1};function at(e,t){if(e&&e.defaultProps){t=ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Du(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bi={isMounted:function(e){return(e=e._reactInternals)?Pn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ze(),l=en(e),i=Lt(r,l);i.payload=t,n!=null&&(i.callback=n),t=Jt(e,i,l),t!==null&&(pt(t,e,l,r),Yl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ze(),l=en(e),i=Lt(r,l);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Jt(e,i,l),t!==null&&(pt(t,e,l,r),Yl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ze(),r=en(e),l=Lt(n,r);l.tag=2,t!=null&&(l.callback=t),t=Jt(e,l,r),t!==null&&(pt(t,e,r,n),Yl(t,e,r))}};function xc(e,t,n,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Jr(n,r)||!Jr(l,i):!0}function zd(e,t,n){var r=!1,l=ln,i=t.contextType;return typeof i=="object"&&i!==null?i=nt(i):(l=Be(t)?wn:Ie.current,r=t.contextTypes,i=(r=r!=null)?nr(e,l):ln),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),t}function Sc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bi.enqueueReplaceState(t,t.state,null)}function Au(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ua(e);var i=t.contextType;typeof i=="object"&&i!==null?l.context=nt(i):(i=Be(t)?wn:Ie.current,l.context=nr(e,i)),l.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Du(e,t,i,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&bi.enqueueReplaceState(l,l.state,null),ki(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function or(e,t){try{var n="",r=t;do n+=Xm(r),r=r.return;while(r);var l=n}catch(i){l=`
39
+ Error generating stack: `+i.message+`
40
+ `+i.stack}return{value:e,source:t,stack:l,digest:null}}function Bo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var xy=typeof WeakMap=="function"?WeakMap:Map;function Rd(e,t,n){n=Lt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Pi||(Pi=!0,Yu=r),Fu(e,t)},n}function Od(e,t,n){n=Lt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Fu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Fu(e,t),typeof r!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ec(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new xy;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Dy.bind(null,e,t,n),t.then(e,e))}function Cc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Pc(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Lt(-1,1),t.tag=2,Jt(n,t,1))),n.lanes|=1),e)}var Sy=Dt.ReactCurrentOwner,Ae=!1;function Le(e,t,n,r){t.child=e===null?ad(t,null,n,r):lr(t,e.child,n,r)}function _c(e,t,n,r,l){n=n.render;var i=t.ref;return Gn(t,l),r=Wa(e,t,n,r,i,l),n=Qa(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Mt(e,t,l)):(ie&&n&&Oa(t),t.flags|=1,Le(e,t,r,l),t.child)}function Tc(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!ns(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Md(e,t,i,r,l)):(e=Zl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Jr,n(o,r)&&e.ref===t.ref)return Mt(e,t,l)}return t.flags|=1,e=tn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Md(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Jr(i,r)&&e.ref===t.ref)if(Ae=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Ae=!0);else return t.lanes=e.lanes,Mt(e,t,l)}return Bu(e,t,n,r,l)}function Dd(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee(Wn,He),He|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ee(Wn,He),He|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ee(Wn,He),He|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ee(Wn,He),He|=r;return Le(e,t,l,n),t.child}function Ad(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bu(e,t,n,r,l){var i=Be(n)?wn:Ie.current;return i=nr(t,i),Gn(t,l),n=Wa(e,t,n,r,i,l),r=Qa(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Mt(e,t,l)):(ie&&r&&Oa(t),t.flags|=1,Le(e,t,n,l),t.child)}function Ic(e,t,n,r,l){if(Be(n)){var i=!0;mi(t)}else i=!1;if(Gn(t,l),t.stateNode===null)Gl(e,t),zd(t,n,r),Au(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var a=o.context,s=n.contextType;typeof s=="object"&&s!==null?s=nt(s):(s=Be(n)?wn:Ie.current,s=nr(t,s));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||a!==s)&&Sc(t,o,r,s),bt=!1;var d=t.memoizedState;o.state=d,ki(t,r,o,l),a=t.memoizedState,u!==r||d!==a||Fe.current||bt?(typeof c=="function"&&(Du(t,n,c,r),a=t.memoizedState),(u=bt||xc(t,n,u,r,d,a,s))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),o.props=r,o.state=a,o.context=s,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,cd(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:at(t.type,u),o.props=s,f=t.pendingProps,d=o.context,a=n.contextType,typeof a=="object"&&a!==null?a=nt(a):(a=Be(n)?wn:Ie.current,a=nr(t,a));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==f||d!==a)&&Sc(t,o,r,a),bt=!1,d=t.memoizedState,o.state=d,ki(t,r,o,l);var w=t.memoizedState;u!==f||d!==w||Fe.current||bt?(typeof p=="function"&&(Du(t,n,p,r),w=t.memoizedState),(s=bt||xc(t,n,s,r,d,w,a)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,a)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=a,r=s):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return ju(e,t,n,r,i,l)}function ju(e,t,n,r,l,i){Ad(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&dc(t,n,!1),Mt(e,t,i);r=t.stateNode,Sy.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=lr(t,e.child,null,i),t.child=lr(t,null,u,i)):Le(e,t,u,i),t.memoizedState=r.state,l&&dc(t,n,!0),t.child}function Fd(e){var t=e.stateNode;t.pendingContext?pc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&pc(e,t.context,!1),Va(e,t.containerInfo)}function Nc(e,t,n,r,l){return rr(),Da(l),t.flags|=256,Le(e,t,n,r),t.child}var Uu={dehydrated:null,treeContext:null,retryLane:0};function Vu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bd(e,t,n){var r=t.pendingProps,l=ue.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ee(ue,l&1),e===null)return Ou(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=Wi(o,r,0,null),e=vn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Vu(n),t.memoizedState=Uu,e):Ka(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return Ey(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=tn(l,a),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=tn(u,i):(i=vn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Vu(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Uu,r}return i=e.child,e=i.sibling,r=tn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ka(e,t){return t=Wi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ol(e,t,n,r){return r!==null&&Da(r),lr(t,e.child,null,n),e=Ka(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ey(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Bo(Error(I(422))),Ol(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=Wi({mode:"visible",children:r.children},l,0,null),i=vn(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&lr(t,e.child,null,o),t.child.memoizedState=Vu(o),t.memoizedState=Uu,i);if(!(t.mode&1))return Ol(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(I(419)),r=Bo(i,r,void 0),Ol(e,t,o,r)}if(u=(o&e.childLanes)!==0,Ae||u){if(r=xe,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Ot(e,l),pt(r,e,l,-1))}return ts(),r=Bo(Error(I(421))),Ol(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Ay.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,We=qt(l.nextSibling),Ye=t,ie=!0,ct=null,e!==null&&(qe[Je++]=It,qe[Je++]=Nt,qe[Je++]=kn,It=e.id,Nt=e.overflow,kn=t),t=Ka(t,r.children),t.flags|=4096,t)}function Lc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Mu(e.return,t,n)}function jo(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function jd(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(Le(e,t,r.children,n),r=ue.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Lc(e,n,t);else if(e.tag===19)Lc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ee(ue,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&xi(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),jo(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&xi(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}jo(t,!0,n,null,i);break;case"together":jo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Sn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=tn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Cy(e,t,n){switch(t.tag){case 3:Fd(t),rr();break;case 5:fd(t);break;case 1:Be(t.type)&&mi(t);break;case 4:Va(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;ee(vi,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ee(ue,ue.current&1),t.flags|=128,null):n&t.child.childLanes?Bd(e,t,n):(ee(ue,ue.current&1),e=Mt(e,t,n),e!==null?e.sibling:null);ee(ue,ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return jd(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ee(ue,ue.current),r)break;return null;case 22:case 23:return t.lanes=0,Dd(e,t,n)}return Mt(e,t,n)}var Ud,bu,Vd,bd;Ud=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};bu=function(){};Vd=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,gn(St.current);var i=null;switch(n){case"input":l=cu(e,l),r=cu(e,r),i=[];break;case"select":l=ce({},l,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":l=du(e,l),r=du(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=di)}mu(n,r);var o;n=null;for(s in l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&l[s]!=null)if(s==="style"){var u=l[s];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Wr.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(u=l!=null?l[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(o in u)!u.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in a)a.hasOwnProperty(o)&&u[o]!==a[o]&&(n||(n={}),n[o]=a[o])}else n||(i||(i=[]),i.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Wr.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&re("scroll",e),i||u===a||(i=[])):(i=i||[]).push(s,a))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}};bd=function(e,t,n,r){n!==r&&(t.flags|=4)};function Pr(e,t){if(!ie)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Py(e,t,n){var r=t.pendingProps;switch(Ma(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return Be(t.type)&&hi(),_e(t),null;case 3:return r=t.stateNode,ir(),le(Fe),le(Ie),$a(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(zl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ct!==null&&(Gu(ct),ct=null))),bu(e,t),_e(t),null;case 5:ba(t);var l=gn(rl.current);if(n=t.type,e!==null&&t.stateNode!=null)Vd(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return _e(t),null}if(e=gn(St.current),zl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[vt]=t,r[tl]=i,e=(t.mode&1)!==0,n){case"dialog":re("cancel",r),re("close",r);break;case"iframe":case"object":case"embed":re("load",r);break;case"video":case"audio":for(l=0;l<Rr.length;l++)re(Rr[l],r);break;case"source":re("error",r);break;case"img":case"image":case"link":re("error",r),re("load",r);break;case"details":re("toggle",r);break;case"input":js(r,i),re("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},re("invalid",r);break;case"textarea":Vs(r,i),re("invalid",r)}mu(n,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&Ll(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&Ll(r.textContent,u,e),l=["children",""+u]):Wr.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&re("scroll",r)}switch(n){case"input":Sl(r),Us(r,i,!0);break;case"textarea":Sl(r),bs(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=di)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[vt]=t,e[tl]=r,Ud(e,t,!1,!1),t.stateNode=e;e:{switch(o=gu(n,r),n){case"dialog":re("cancel",e),re("close",e),l=r;break;case"iframe":case"object":case"embed":re("load",e),l=r;break;case"video":case"audio":for(l=0;l<Rr.length;l++)re(Rr[l],e);l=r;break;case"source":re("error",e),l=r;break;case"img":case"image":case"link":re("error",e),re("load",e),l=r;break;case"details":re("toggle",e),l=r;break;case"input":js(e,r),l=cu(e,r),re("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=ce({},r,{value:void 0}),re("invalid",e);break;case"textarea":Vs(e,r),l=du(e,r),re("invalid",e);break;default:l=r}mu(n,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?wp(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&yp(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Qr(e,a):typeof a=="number"&&Qr(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Wr.hasOwnProperty(i)?a!=null&&i==="onScroll"&&re("scroll",e):a!=null&&wa(e,i,a,o))}switch(n){case"input":Sl(e),Us(e,r,!1);break;case"textarea":Sl(e),bs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Qn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Qn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=di)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _e(t),null;case 6:if(e&&t.stateNode!=null)bd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=gn(rl.current),gn(St.current),zl(t)){if(r=t.stateNode,n=t.memoizedProps,r[vt]=t,(i=r.nodeValue!==n)&&(e=Ye,e!==null))switch(e.tag){case 3:Ll(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ll(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[vt]=t,t.stateNode=r}return _e(t),null;case 13:if(le(ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ie&&We!==null&&t.mode&1&&!(t.flags&128))od(),rr(),t.flags|=98560,i=!1;else if(i=zl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(I(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(I(317));i[vt]=t}else rr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),i=!1}else ct!==null&&(Gu(ct),ct=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ue.current&1?we===0&&(we=3):ts())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return ir(),bu(e,t),e===null&&Zr(t.stateNode.containerInfo),_e(t),null;case 10:return Ba(t.type._context),_e(t),null;case 17:return Be(t.type)&&hi(),_e(t),null;case 19:if(le(ue),i=t.memoizedState,i===null)return _e(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)Pr(i,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=xi(e),o!==null){for(t.flags|=128,Pr(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ee(ue,ue.current&1|2),t.child}e=e.sibling}i.tail!==null&&de()>ur&&(t.flags|=128,r=!0,Pr(i,!1),t.lanes=4194304)}else{if(!r)if(e=xi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ie)return _e(t),null}else 2*de()-i.renderingStartTime>ur&&n!==1073741824&&(t.flags|=128,r=!0,Pr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=de(),t.sibling=null,n=ue.current,ee(ue,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return es(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function _y(e,t){switch(Ma(t),t.tag){case 1:return Be(t.type)&&hi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),le(Fe),le(Ie),$a(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ba(t),null;case 13:if(le(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(ue),null;case 4:return ir(),null;case 10:return Ba(t.type._context),null;case 22:case 23:return es(),null;case 24:return null;default:return null}}var Ml=!1,Te=!1,Ty=typeof WeakSet=="function"?WeakSet:Set,D=null;function Hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function $u(e,t,n){try{n()}catch(r){fe(e,t,r)}}var zc=!1;function Iy(e,t){if(_u=ci,e=Yp(),Ra(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,a=-1,s=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||l!==0&&f.nodeType!==3||(u=o+l),f!==i||r!==0&&f.nodeType!==3||(a=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++s===l&&(u=o),d===i&&++c===r&&(a=o),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tu={focusedElem:e,selectionRange:n},ci=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,E=w.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:at(t.type,v),E);h.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(S){fe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return w=zc,zc=!1,w}function jr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&$u(t,n,i)}l=l.next}while(l!==r)}}function $i(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Hu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function $d(e){var t=e.alternate;t!==null&&(e.alternate=null,$d(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[tl],delete t[Lu],delete t[cy],delete t[fy])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Hd(e){return e.tag===5||e.tag===3||e.tag===4}function Rc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Hd(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.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 Wu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=di));else if(r!==4&&(e=e.child,e!==null))for(Wu(e,t,n),e=e.sibling;e!==null;)Wu(e,t,n),e=e.sibling}function Qu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}var Se=null,st=!1;function jt(e,t,n){for(n=n.child;n!==null;)Wd(e,t,n),n=n.sibling}function Wd(e,t,n){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Di,n)}catch{}switch(n.tag){case 5:Te||Hn(n,t);case 6:var r=Se,l=st;Se=null,jt(e,t,n),Se=r,st=l,Se!==null&&(st?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(st?(e=Se,n=n.stateNode,e.nodeType===8?Ro(e.parentNode,n):e.nodeType===1&&Ro(e,n),Gr(e)):Ro(Se,n.stateNode));break;case 4:r=Se,l=st,Se=n.stateNode.containerInfo,st=!0,jt(e,t,n),Se=r,st=l;break;case 0:case 11:case 14:case 15:if(!Te&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&$u(n,t,o),l=l.next}while(l!==r)}jt(e,t,n);break;case 1:if(!Te&&(Hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){fe(n,t,u)}jt(e,t,n);break;case 21:jt(e,t,n);break;case 22:n.mode&1?(Te=(r=Te)||n.memoizedState!==null,jt(e,t,n),Te=r):jt(e,t,n);break;default:jt(e,t,n)}}function Oc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ty),t.forEach(function(r){var l=Fy.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var i=e,o=t,u=o;e:for(;u!==null;){switch(u.tag){case 5:Se=u.stateNode,st=!1;break e;case 3:Se=u.stateNode.containerInfo,st=!0;break e;case 4:Se=u.stateNode.containerInfo,st=!0;break e}u=u.return}if(Se===null)throw Error(I(160));Wd(i,o,l),Se=null,st=!1;var a=l.alternate;a!==null&&(a.return=null),l.return=null}catch(s){fe(l,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Qd(t,e),t=t.sibling}function Qd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ut(t,e),mt(e),r&4){try{jr(3,e,e.return),$i(3,e)}catch(v){fe(e,e.return,v)}try{jr(5,e,e.return)}catch(v){fe(e,e.return,v)}}break;case 1:ut(t,e),mt(e),r&512&&n!==null&&Hn(n,n.return);break;case 5:if(ut(t,e),mt(e),r&512&&n!==null&&Hn(n,n.return),e.flags&32){var l=e.stateNode;try{Qr(l,"")}catch(v){fe(e,e.return,v)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&hp(l,i),gu(u,o);var s=gu(u,i);for(o=0;o<a.length;o+=2){var c=a[o],f=a[o+1];c==="style"?wp(l,f):c==="dangerouslySetInnerHTML"?yp(l,f):c==="children"?Qr(l,f):wa(l,c,f,s)}switch(u){case"input":fu(l,i);break;case"textarea":mp(l,i);break;case"select":var d=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Qn(l,!!i.multiple,p,!1):d!==!!i.multiple&&(i.defaultValue!=null?Qn(l,!!i.multiple,i.defaultValue,!0):Qn(l,!!i.multiple,i.multiple?[]:"",!1))}l[tl]=i}catch(v){fe(e,e.return,v)}}break;case 6:if(ut(t,e),mt(e),r&4){if(e.stateNode===null)throw Error(I(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(v){fe(e,e.return,v)}}break;case 3:if(ut(t,e),mt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Gr(t.containerInfo)}catch(v){fe(e,e.return,v)}break;case 4:ut(t,e),mt(e);break;case 13:ut(t,e),mt(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Ja=de())),r&4&&Oc(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Te=(s=Te)||c,ut(t,e),Te=s):ut(t,e),mt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!c&&e.mode&1)for(D=e,c=e.child;c!==null;){for(f=D=c;D!==null;){switch(d=D,p=d.child,d.tag){case 0:case 11:case 14:case 15:jr(4,d,d.return);break;case 1:Hn(d,d.return);var w=d.stateNode;if(typeof w.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(v){fe(r,n,v)}}break;case 5:Hn(d,d.return);break;case 22:if(d.memoizedState!==null){Dc(f);continue}}p!==null?(p.return=d,D=p):Dc(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{l=f.stateNode,s?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=f.stateNode,a=f.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=vp("display",o))}catch(v){fe(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(v){fe(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ut(t,e),mt(e),r&4&&Oc(e);break;case 21:break;default:ut(t,e),mt(e)}}function mt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Hd(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Qr(l,""),r.flags&=-33);var i=Rc(e);Qu(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=Rc(e);Wu(e,u,o);break;default:throw Error(I(161))}}catch(a){fe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ny(e,t,n){D=e,Yd(e)}function Yd(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var l=D,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||Ml;if(!o){var u=l.alternate,a=u!==null&&u.memoizedState!==null||Te;u=Ml;var s=Te;if(Ml=o,(Te=a)&&!s)for(D=l;D!==null;)o=D,a=o.child,o.tag===22&&o.memoizedState!==null?Ac(l):a!==null?(a.return=o,D=a):Ac(l);for(;i!==null;)D=i,Yd(i),i=i.sibling;D=l,Ml=u,Te=s}Mc(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,D=i):Mc(e)}}function Mc(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Te||$i(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Te)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:at(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&vc(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}vc(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var c=s.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Gr(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}Te||t.flags&512&&Hu(t)}catch(d){fe(t,t.return,d)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function Dc(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function Ac(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$i(4,t)}catch(a){fe(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(a){fe(t,l,a)}}var i=t.return;try{Hu(t)}catch(a){fe(t,i,a)}break;case 5:var o=t.return;try{Hu(t)}catch(a){fe(t,o,a)}}}catch(a){fe(t,t.return,a)}if(t===e){D=null;break}var u=t.sibling;if(u!==null){u.return=t.return,D=u;break}D=t.return}}var Ly=Math.ceil,Ci=Dt.ReactCurrentDispatcher,Ga=Dt.ReactCurrentOwner,tt=Dt.ReactCurrentBatchConfig,Q=0,xe=null,ge=null,Ee=0,He=0,Wn=un(0),we=0,ul=null,Sn=0,Hi=0,qa=0,Ur=null,De=null,Ja=0,ur=1/0,_t=null,Pi=!1,Yu=null,Zt=null,Dl=!1,Qt=null,_i=0,Vr=0,Xu=null,ql=-1,Jl=0;function ze(){return Q&6?de():ql!==-1?ql:ql=de()}function en(e){return e.mode&1?Q&2&&Ee!==0?Ee&-Ee:dy.transition!==null?(Jl===0&&(Jl=zp()),Jl):(e=K,e!==0||(e=window.event,e=e===void 0?16:Bp(e.type)),e):1}function pt(e,t,n,r){if(50<Vr)throw Vr=0,Xu=null,Error(I(185));pl(e,n,r),(!(Q&2)||e!==xe)&&(e===xe&&(!(Q&2)&&(Hi|=n),we===4&&Ht(e,Ee)),je(e,r),n===1&&Q===0&&!(t.mode&1)&&(ur=de()+500,Ui&&an()))}function je(e,t){var n=e.callbackNode;dg(e,t);var r=si(e,e===xe?Ee:0);if(r===0)n!==null&&Ws(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ws(n),t===1)e.tag===0?py(Fc.bind(null,e)):rd(Fc.bind(null,e)),ay(function(){!(Q&6)&&an()}),n=null;else{switch(Rp(r)){case 1:n=Ca;break;case 4:n=Np;break;case 16:n=ai;break;case 536870912:n=Lp;break;default:n=ai}n=th(n,Xd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Xd(e,t){if(ql=-1,Jl=0,Q&6)throw Error(I(327));var n=e.callbackNode;if(qn()&&e.callbackNode!==n)return null;var r=si(e,e===xe?Ee:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ti(e,r);else{t=r;var l=Q;Q|=2;var i=Gd();(xe!==e||Ee!==t)&&(_t=null,ur=de()+500,yn(e,t));do try{Oy();break}catch(u){Kd(e,u)}while(!0);Fa(),Ci.current=i,Q=l,ge!==null?t=0:(xe=null,Ee=0,t=we)}if(t!==0){if(t===2&&(l=xu(e),l!==0&&(r=l,t=Ku(e,l))),t===1)throw n=ul,yn(e,0),Ht(e,r),je(e,de()),n;if(t===6)Ht(e,r);else{if(l=e.current.alternate,!(r&30)&&!zy(l)&&(t=Ti(e,r),t===2&&(i=xu(e),i!==0&&(r=i,t=Ku(e,i))),t===1))throw n=ul,yn(e,0),Ht(e,r),je(e,de()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:pn(e,De,_t);break;case 3:if(Ht(e,r),(r&130023424)===r&&(t=Ja+500-de(),10<t)){if(si(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ze(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Nu(pn.bind(null,e,De,_t),t);break}pn(e,De,_t);break;case 4:if(Ht(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var o=31-ft(r);i=1<<o,o=t[o],o>l&&(l=o),r&=~i}if(r=l,r=de()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ly(r/1960))-r,10<r){e.timeoutHandle=Nu(pn.bind(null,e,De,_t),r);break}pn(e,De,_t);break;case 5:pn(e,De,_t);break;default:throw Error(I(329))}}}return je(e,de()),e.callbackNode===n?Xd.bind(null,e):null}function Ku(e,t){var n=Ur;return e.current.memoizedState.isDehydrated&&(yn(e,t).flags|=256),e=Ti(e,t),e!==2&&(t=De,De=n,t!==null&&Gu(t)),e}function Gu(e){De===null?De=e:De.push.apply(De,e)}function zy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],i=l.getSnapshot;l=l.value;try{if(!dt(i(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ht(e,t){for(t&=~qa,t&=~Hi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ft(t),r=1<<n;e[n]=-1,t&=~r}}function Fc(e){if(Q&6)throw Error(I(327));qn();var t=si(e,0);if(!(t&1))return je(e,de()),null;var n=Ti(e,t);if(e.tag!==0&&n===2){var r=xu(e);r!==0&&(t=r,n=Ku(e,r))}if(n===1)throw n=ul,yn(e,0),Ht(e,t),je(e,de()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pn(e,De,_t),je(e,de()),null}function Za(e,t){var n=Q;Q|=1;try{return e(t)}finally{Q=n,Q===0&&(ur=de()+500,Ui&&an())}}function En(e){Qt!==null&&Qt.tag===0&&!(Q&6)&&qn();var t=Q;Q|=1;var n=tt.transition,r=K;try{if(tt.transition=null,K=1,e)return e()}finally{K=r,tt.transition=n,Q=t,!(Q&6)&&an()}}function es(){He=Wn.current,le(Wn)}function yn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,uy(n)),ge!==null)for(n=ge.return;n!==null;){var r=n;switch(Ma(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&hi();break;case 3:ir(),le(Fe),le(Ie),$a();break;case 5:ba(r);break;case 4:ir();break;case 13:le(ue);break;case 19:le(ue);break;case 10:Ba(r.type._context);break;case 22:case 23:es()}n=n.return}if(xe=e,ge=e=tn(e.current,null),Ee=He=t,we=0,ul=null,qa=Hi=Sn=0,De=Ur=null,mn!==null){for(t=0;t<mn.length;t++)if(n=mn[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}n.pending=r}mn=null}return e}function Kd(e,t){do{var n=ge;try{if(Fa(),Xl.current=Ei,Si){for(var r=ae.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Si=!1}if(xn=0,ke=ve=ae=null,Br=!1,ll=0,Ga.current=null,n===null||n.return===null){we=1,ul=t,ge=null;break}e:{var i=e,o=n.return,u=n,a=t;if(t=Ee,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,c=u,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Cc(o);if(p!==null){p.flags&=-257,Pc(p,o,u,i,t),p.mode&1&&Ec(i,s,t),t=p,a=s;var w=t.updateQueue;if(w===null){var v=new Set;v.add(a),t.updateQueue=v}else w.add(a);break e}else{if(!(t&1)){Ec(i,s,t),ts();break e}a=Error(I(426))}}else if(ie&&u.mode&1){var E=Cc(o);if(E!==null){!(E.flags&65536)&&(E.flags|=256),Pc(E,o,u,i,t),Da(or(a,u));break e}}i=a=or(a,u),we!==4&&(we=2),Ur===null?Ur=[i]:Ur.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Rd(i,a,t);yc(i,h);break e;case 1:u=a;var m=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Zt===null||!Zt.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Od(i,u,t);yc(i,S);break e}}i=i.return}while(i!==null)}Jd(n)}catch(_){t=_,ge===n&&n!==null&&(ge=n=n.return);continue}break}while(!0)}function Gd(){var e=Ci.current;return Ci.current=Ei,e===null?Ei:e}function ts(){(we===0||we===3||we===2)&&(we=4),xe===null||!(Sn&268435455)&&!(Hi&268435455)||Ht(xe,Ee)}function Ti(e,t){var n=Q;Q|=2;var r=Gd();(xe!==e||Ee!==t)&&(_t=null,yn(e,t));do try{Ry();break}catch(l){Kd(e,l)}while(!0);if(Fa(),Q=n,Ci.current=r,ge!==null)throw Error(I(261));return xe=null,Ee=0,we}function Ry(){for(;ge!==null;)qd(ge)}function Oy(){for(;ge!==null&&!lg();)qd(ge)}function qd(e){var t=eh(e.alternate,e,He);e.memoizedProps=e.pendingProps,t===null?Jd(e):ge=t,Ga.current=null}function Jd(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=_y(n,t),n!==null){n.flags&=32767,ge=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,ge=null;return}}else if(n=Py(n,t,He),n!==null){ge=n;return}if(t=t.sibling,t!==null){ge=t;return}ge=t=e}while(t!==null);we===0&&(we=5)}function pn(e,t,n){var r=K,l=tt.transition;try{tt.transition=null,K=1,My(e,t,n,r)}finally{tt.transition=l,K=r}return null}function My(e,t,n,r){do qn();while(Qt!==null);if(Q&6)throw Error(I(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(hg(e,i),e===xe&&(ge=xe=null,Ee=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Dl||(Dl=!0,th(ai,function(){return qn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=tt.transition,tt.transition=null;var o=K;K=1;var u=Q;Q|=4,Ga.current=null,Iy(e,n),Qd(n,e),ey(Tu),ci=!!_u,Tu=_u=null,e.current=n,Ny(n),ig(),Q=u,K=o,tt.transition=i}else e.current=n;if(Dl&&(Dl=!1,Qt=e,_i=l),i=e.pendingLanes,i===0&&(Zt=null),ag(n.stateNode),je(e,de()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Pi)throw Pi=!1,e=Yu,Yu=null,e;return _i&1&&e.tag!==0&&qn(),i=e.pendingLanes,i&1?e===Xu?Vr++:(Vr=0,Xu=e):Vr=0,an(),null}function qn(){if(Qt!==null){var e=Rp(_i),t=tt.transition,n=K;try{if(tt.transition=null,K=16>e?16:e,Qt===null)var r=!1;else{if(e=Qt,Qt=null,_i=0,Q&6)throw Error(I(331));var l=Q;for(Q|=4,D=e.current;D!==null;){var i=D,o=i.child;if(D.flags&16){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(D=s;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:jr(8,c,i)}var f=c.child;if(f!==null)f.return=c,D=f;else for(;D!==null;){c=D;var d=c.sibling,p=c.return;if($d(c),c===s){D=null;break}if(d!==null){d.return=p,D=d;break}D=p}}}var w=i.alternate;if(w!==null){var v=w.child;if(v!==null){w.child=null;do{var E=v.sibling;v.sibling=null,v=E}while(v!==null)}}D=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,D=o;else e:for(;D!==null;){if(i=D,i.flags&2048)switch(i.tag){case 0:case 11:case 15:jr(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,D=h;break e}D=i.return}}var m=e.current;for(D=m;D!==null;){o=D;var g=o.child;if(o.subtreeFlags&2064&&g!==null)g.return=o,D=g;else e:for(o=m;D!==null;){if(u=D,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:$i(9,u)}}catch(_){fe(u,u.return,_)}if(u===o){D=null;break e}var S=u.sibling;if(S!==null){S.return=u.return,D=S;break e}D=u.return}}if(Q=l,an(),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(Di,e)}catch{}r=!0}return r}finally{K=n,tt.transition=t}}return!1}function Bc(e,t,n){t=or(n,t),t=Rd(e,t,1),e=Jt(e,t,1),t=ze(),e!==null&&(pl(e,1,t),je(e,t))}function fe(e,t,n){if(e.tag===3)Bc(e,e,n);else for(;t!==null;){if(t.tag===3){Bc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zt===null||!Zt.has(r))){e=or(n,e),e=Od(t,e,1),t=Jt(t,e,1),e=ze(),t!==null&&(pl(t,1,e),je(t,e));break}}t=t.return}}function Dy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ze(),e.pingedLanes|=e.suspendedLanes&n,xe===e&&(Ee&n)===n&&(we===4||we===3&&(Ee&130023424)===Ee&&500>de()-Ja?yn(e,0):qa|=n),je(e,t)}function Zd(e,t){t===0&&(e.mode&1?(t=Pl,Pl<<=1,!(Pl&130023424)&&(Pl=4194304)):t=1);var n=ze();e=Ot(e,t),e!==null&&(pl(e,t,n),je(e,n))}function Ay(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zd(e,n)}function Fy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),Zd(e,n)}var eh;eh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fe.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,Cy(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,ie&&t.flags&1048576&&ld(t,yi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gl(e,t),e=t.pendingProps;var l=nr(t,Ie.current);Gn(t,n),l=Wa(null,t,r,e,l,n);var i=Qa();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Be(r)?(i=!0,mi(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ua(t),l.updater=bi,t.stateNode=l,l._reactInternals=t,Au(t,r,e,n),t=ju(null,t,r,!0,i,n)):(t.tag=0,ie&&i&&Oa(t),Le(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=jy(r),e=at(r,e),l){case 0:t=Bu(null,t,r,e,n);break e;case 1:t=Ic(null,t,r,e,n);break e;case 11:t=_c(null,t,r,e,n);break e;case 14:t=Tc(null,t,r,at(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),Bu(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),Ic(e,t,r,l,n);case 3:e:{if(Fd(t),e===null)throw Error(I(387));r=t.pendingProps,i=t.memoizedState,l=i.element,cd(e,t),ki(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=or(Error(I(423)),t),t=Nc(e,t,r,n,l);break e}else if(r!==l){l=or(Error(I(424)),t),t=Nc(e,t,r,n,l);break e}else for(We=qt(t.stateNode.containerInfo.firstChild),Ye=t,ie=!0,ct=null,n=ad(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(rr(),r===l){t=Mt(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return fd(t),e===null&&Ou(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Iu(r,l)?o=null:i!==null&&Iu(r,i)&&(t.flags|=32),Ad(e,t),Le(e,t,o,n),t.child;case 6:return e===null&&Ou(t),null;case 13:return Bd(e,t,n);case 4:return Va(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=lr(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),_c(e,t,r,l,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,ee(vi,r._currentValue),r._currentValue=o,i!==null)if(dt(i.value,o)){if(i.children===l.children&&!Fe.current){t=Mt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Lt(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Mu(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(I(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Mu(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Le(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Gn(t,n),l=nt(l),r=r(l),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,l=at(r,t.pendingProps),l=at(r.type,l),Tc(e,t,r,l,n);case 15:return Md(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:at(r,l),Gl(e,t),t.tag=1,Be(r)?(e=!0,mi(t)):e=!1,Gn(t,n),zd(t,r,l),Au(t,r,l,n),ju(null,t,r,!0,e,n);case 19:return jd(e,t,n);case 22:return Dd(e,t,n)}throw Error(I(156,t.tag))};function th(e,t){return Ip(e,t)}function By(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function et(e,t,n,r){return new By(e,t,n,r)}function ns(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jy(e){if(typeof e=="function")return ns(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xa)return 11;if(e===Sa)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=et(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")ns(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Dn:return vn(n.children,l,i,t);case ka:o=8,l|=8;break;case ou:return e=et(12,n,t,l|2),e.elementType=ou,e.lanes=i,e;case uu:return e=et(13,n,t,l),e.elementType=uu,e.lanes=i,e;case au:return e=et(19,n,t,l),e.elementType=au,e.lanes=i,e;case fp:return Wi(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case sp:o=10;break e;case cp:o=9;break e;case xa:o=11;break e;case Sa:o=14;break e;case Vt:o=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=et(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function vn(e,t,n,r){return e=et(7,e,r,t),e.lanes=n,e}function Wi(e,t,n,r){return e=et(22,e,r,t),e.elementType=fp,e.lanes=n,e.stateNode={isHidden:!1},e}function Uo(e,t,n){return e=et(6,e,null,t),e.lanes=n,e}function Vo(e,t,n){return t=et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uy(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xo(0),this.expirationTimes=xo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function rs(e,t,n,r,l,i,o,u,a){return e=new Uy(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=et(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ua(i),e}function Vy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function nh(e){if(!e)return ln;e=e._reactInternals;e:{if(Pn(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Be(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(Be(n))return nd(e,n,t)}return t}function rh(e,t,n,r,l,i,o,u,a){return e=rs(n,r,!0,e,l,i,o,u,a),e.context=nh(null),n=e.current,r=ze(),l=en(n),i=Lt(r,l),i.callback=t??null,Jt(n,i,l),e.current.lanes=l,pl(e,l,r),je(e,r),e}function Qi(e,t,n,r){var l=t.current,i=ze(),o=en(l);return n=nh(n),t.context===null?t.context=n:t.pendingContext=n,t=Lt(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jt(l,t,o),e!==null&&(pt(e,l,o,i),Yl(e,l,o)),o}function Ii(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function jc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ls(e,t){jc(e,t),(e=e.alternate)&&jc(e,t)}function by(){return null}var lh=typeof reportError=="function"?reportError:function(e){console.error(e)};function is(e){this._internalRoot=e}Yi.prototype.render=is.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));Qi(e,t,null,null)};Yi.prototype.unmount=is.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;En(function(){Qi(null,e,null,null)}),t[Rt]=null}};function Yi(e){this._internalRoot=e}Yi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Dp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<$t.length&&t!==0&&t<$t[n].priority;n++);$t.splice(n,0,e),n===0&&Fp(e)}};function os(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Xi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Uc(){}function $y(e,t,n,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var s=Ii(o);i.call(s)}}var o=rh(t,r,e,0,null,!1,!1,"",Uc);return e._reactRootContainer=o,e[Rt]=o.current,Zr(e.nodeType===8?e.parentNode:e),En(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var s=Ii(a);u.call(s)}}var a=rs(e,0,!1,null,null,!1,!1,"",Uc);return e._reactRootContainer=a,e[Rt]=a.current,Zr(e.nodeType===8?e.parentNode:e),En(function(){Qi(t,a,n,r)}),a}function Ki(e,t,n,r,l){var i=n._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var a=Ii(o);u.call(a)}}Qi(t,o,e,l)}else o=$y(n,t,e,l,r);return Ii(o)}Op=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=zr(t.pendingLanes);n!==0&&(Pa(t,n|1),je(t,de()),!(Q&6)&&(ur=de()+500,an()))}break;case 13:En(function(){var r=Ot(e,1);if(r!==null){var l=ze();pt(r,e,1,l)}}),ls(e,1)}};_a=function(e){if(e.tag===13){var t=Ot(e,134217728);if(t!==null){var n=ze();pt(t,e,134217728,n)}ls(e,134217728)}};Mp=function(e){if(e.tag===13){var t=en(e),n=Ot(e,t);if(n!==null){var r=ze();pt(n,e,t,r)}ls(e,t)}};Dp=function(){return K};Ap=function(e,t){var n=K;try{return K=e,t()}finally{K=n}};vu=function(e,t,n){switch(t){case"input":if(fu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=ji(r);if(!l)throw Error(I(90));dp(r),fu(r,l)}}}break;case"textarea":mp(e,n);break;case"select":t=n.value,t!=null&&Qn(e,!!n.multiple,t,!1)}};Sp=Za;Ep=En;var Hy={usingClientEntryPoint:!1,Events:[hl,jn,ji,kp,xp,Za]},_r={findFiberByHostInstance:hn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Wy={bundleType:_r.bundleType,version:_r.version,rendererPackageName:_r.rendererPackageName,rendererConfig:_r.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Dt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_p(e),e===null?null:e.stateNode},findFiberByHostInstance:_r.findFiberByHostInstance||by,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Al.isDisabled&&Al.supportsFiber)try{Di=Al.inject(Wy),xt=Al}catch{}}Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hy;Ke.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!os(t))throw Error(I(200));return Vy(e,t,null,n)};Ke.createRoot=function(e,t){if(!os(e))throw Error(I(299));var n=!1,r="",l=lh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=rs(e,1,!1,null,null,n,!1,r,l),e[Rt]=t.current,Zr(e.nodeType===8?e.parentNode:e),new is(t)};Ke.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=_p(t),e=e===null?null:e.stateNode,e};Ke.flushSync=function(e){return En(e)};Ke.hydrate=function(e,t,n){if(!Xi(t))throw Error(I(200));return Ki(null,e,t,!0,n)};Ke.hydrateRoot=function(e,t,n){if(!os(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,l=!1,i="",o=lh;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=rh(t,null,e,1,n??null,l,!1,i,o),e[Rt]=t.current,Zr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Yi(t)};Ke.render=function(e,t,n){if(!Xi(t))throw Error(I(200));return Ki(null,e,t,!1,n)};Ke.unmountComponentAtNode=function(e){if(!Xi(e))throw Error(I(40));return e._reactRootContainer?(En(function(){Ki(null,null,e,!1,function(){e._reactRootContainer=null,e[Rt]=null})}),!0):!1};Ke.unstable_batchedUpdates=Za;Ke.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xi(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return Ki(e,t,n,!1,r)};Ke.version="18.3.1-next-f1338f8080-20240426";function ih(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ih)}catch(e){console.error(e)}}ih(),ip.exports=Ke;var oh=ip.exports;const US=Oi(oh);var Vc=oh;Ds.createRoot=Vc.createRoot,Ds.hydrateRoot=Vc.hydrateRoot;/**
41
+ * @remix-run/router v1.23.2
42
+ *
43
+ * Copyright (c) Remix Software Inc.
44
+ *
45
+ * This source code is licensed under the MIT license found in the
46
+ * LICENSE.md file in the root directory of this source tree.
47
+ *
48
+ * @license MIT
49
+ */function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},al.apply(this,arguments)}var Yt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Yt||(Yt={}));const bc="popstate";function Qy(e){e===void 0&&(e={});function t(r,l){let{pathname:i,search:o,hash:u}=r.location;return qu("",{pathname:i,search:o,hash:u},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(r,l){return typeof l=="string"?l:Ni(l)}return Xy(t,n,null,e)}function se(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function us(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Yy(){return Math.random().toString(36).substr(2,8)}function $c(e,t){return{usr:e.state,key:e.key,idx:t}}function qu(e,t,n,r){return n===void 0&&(n=null),al({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pr(t):t,{state:n,key:t&&t.key||r||Yy()})}function Ni(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Xy(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=Yt.Pop,a=null,s=c();s==null&&(s=0,o.replaceState(al({},o.state,{idx:s}),""));function c(){return(o.state||{idx:null}).idx}function f(){u=Yt.Pop;let E=c(),h=E==null?null:E-s;s=E,a&&a({action:u,location:v.location,delta:h})}function d(E,h){u=Yt.Push;let m=qu(v.location,E,h);s=c()+1;let g=$c(m,s),S=v.createHref(m);try{o.pushState(g,"",S)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;l.location.assign(S)}i&&a&&a({action:u,location:v.location,delta:1})}function p(E,h){u=Yt.Replace;let m=qu(v.location,E,h);s=c();let g=$c(m,s),S=v.createHref(m);o.replaceState(g,"",S),i&&a&&a({action:u,location:v.location,delta:0})}function w(E){let h=l.location.origin!=="null"?l.location.origin:l.location.href,m=typeof E=="string"?E:Ni(E);return m=m.replace(/ $/,"%20"),se(h,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,h)}let v={get action(){return u},get location(){return e(l,o)},listen(E){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(bc,f),a=E,()=>{l.removeEventListener(bc,f),a=null}},createHref(E){return t(l,E)},createURL:w,encodeLocation(E){let h=w(E);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:d,replace:p,go(E){return o.go(E)}};return v}var Hc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hc||(Hc={}));function Ky(e,t,n){return n===void 0&&(n="/"),Gy(e,t,n)}function Gy(e,t,n,r){let l=typeof t=="string"?pr(t):t,i=ar(l.pathname||"/",n);if(i==null)return null;let o=uh(e);qy(o);let u=null;for(let a=0;u==null&&a<o.length;++a){let s=av(i);u=ov(o[a],s)}return u}function uh(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let l=(i,o,u)=>{let a={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(se(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=nn([r,a.relativePath]),c=n.concat(a);i.children&&i.children.length>0&&(se(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),uh(i.children,t,c,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:lv(s,i.index),routesMeta:c})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let a of ah(i.path))l(i,o,a)}),t}function ah(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=ah(r.join("/")),u=[];return u.push(...o.map(a=>a===""?i:[i,a].join("/"))),l&&u.push(...o),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function qy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:iv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Jy=/^:[\w-]+$/,Zy=3,ev=2,tv=1,nv=10,rv=-2,Wc=e=>e==="*";function lv(e,t){let n=e.split("/"),r=n.length;return n.some(Wc)&&(r+=rv),t&&(r+=ev),n.filter(l=>!Wc(l)).reduce((l,i)=>l+(Jy.test(i)?Zy:i===""?tv:nv),r)}function iv(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function ov(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let u=0;u<r.length;++u){let a=r[u],s=u===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",f=Ju({path:a.relativePath,caseSensitive:a.caseSensitive,end:s},c),d=a.route;if(!f)return null;Object.assign(l,f.params),o.push({params:l,pathname:nn([i,f.pathname]),pathnameBase:dv(nn([i,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(i=nn([i,f.pathnameBase]))}return o}function Ju(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=uv(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let i=l[0],o=i.replace(/(.)\/+$/,"$1"),u=l.slice(1);return{params:r.reduce((s,c,f)=>{let{paramName:d,isOptional:p}=c;if(d==="*"){let v=u[f]||"";o=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const w=u[f];return p&&!w?s[d]=void 0:s[d]=(w||"").replace(/%2F/g,"/"),s},{}),pathname:i,pathnameBase:o,pattern:e}}function uv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),us(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,a)=>(r.push({paramName:u,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function av(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return us(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ar(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const sv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cv=e=>sv.test(e);function fv(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?pr(e):e,i;if(n)if(cv(n))i=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),us(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?i=Qc(n.substring(1),"/"):i=Qc(n,t)}else i=t;return{pathname:i,search:hv(r),hash:mv(l)}}function Qc(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function bo(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function pv(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function as(e,t){let n=pv(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ss(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=pr(e):(l=al({},e),se(!l.pathname||!l.pathname.includes("?"),bo("?","pathname","search",l)),se(!l.pathname||!l.pathname.includes("#"),bo("#","pathname","hash",l)),se(!l.search||!l.search.includes("#"),bo("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,u;if(o==null)u=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;l.pathname=d.join("/")}u=f>=0?t[f]:"/"}let a=fv(l,u),s=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||c)&&(a.pathname+="/"),a}const nn=e=>e.join("/").replace(/\/\/+/g,"/"),dv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),hv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,mv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function gv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const sh=["post","put","patch","delete"];new Set(sh);const yv=["get",...sh];new Set(yv);/**
50
+ * React Router v6.30.3
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
+ */function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sl.apply(this,arguments)}const Gi=C.createContext(null),ch=C.createContext(null),At=C.createContext(null),qi=C.createContext(null),Ft=C.createContext({outlet:null,matches:[],isDataRoute:!1}),fh=C.createContext(null);function vv(e,t){let{relative:n}=t===void 0?{}:t;dr()||se(!1);let{basename:r,navigator:l}=C.useContext(At),{hash:i,pathname:o,search:u}=Ji(e,{relative:n}),a=o;return r!=="/"&&(a=o==="/"?r:nn([r,o])),l.createHref({pathname:a,search:u,hash:i})}function dr(){return C.useContext(qi)!=null}function hr(){return dr()||se(!1),C.useContext(qi).location}function ph(e){C.useContext(At).static||C.useLayoutEffect(e)}function dh(){let{isDataRoute:e}=C.useContext(Ft);return e?zv():wv()}function wv(){dr()||se(!1);let e=C.useContext(Gi),{basename:t,future:n,navigator:r}=C.useContext(At),{matches:l}=C.useContext(Ft),{pathname:i}=hr(),o=JSON.stringify(as(l,n.v7_relativeSplatPath)),u=C.useRef(!1);return ph(()=>{u.current=!0}),C.useCallback(function(s,c){if(c===void 0&&(c={}),!u.current)return;if(typeof s=="number"){r.go(s);return}let f=ss(s,JSON.parse(o),i,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:nn([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,o,i,e])}function VS(){let{matches:e}=C.useContext(Ft),t=e[e.length-1];return t?t.params:{}}function Ji(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=C.useContext(At),{matches:l}=C.useContext(Ft),{pathname:i}=hr(),o=JSON.stringify(as(l,r.v7_relativeSplatPath));return C.useMemo(()=>ss(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function kv(e,t){return xv(e,t)}function xv(e,t,n,r){dr()||se(!1);let{navigator:l}=C.useContext(At),{matches:i}=C.useContext(Ft),o=i[i.length-1],u=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let s=hr(),c;if(t){var f;let E=typeof t=="string"?pr(t):t;a==="/"||(f=E.pathname)!=null&&f.startsWith(a)||se(!1),c=E}else c=s;let d=c.pathname||"/",p=d;if(a!=="/"){let E=a.replace(/^\//,"").split("/");p="/"+d.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=Ky(e,{pathname:p}),v=_v(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:nn([a,l.encodeLocation?l.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?a:nn([a,l.encodeLocation?l.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),i,n,r);return t&&v?C.createElement(qi.Provider,{value:{location:sl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Yt.Pop}},v):v}function Sv(){let e=Lv(),t=gv(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:l},n):null,null)}const Ev=C.createElement(Sv,null);class Cv 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,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?C.createElement(Ft.Provider,{value:this.props.routeContext},C.createElement(fh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Pv(e){let{routeContext:t,match:n,children:r}=e,l=C.useContext(Gi);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Ft.Provider,{value:t},r)}function _v(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let c=o.findIndex(f=>f.route.id&&(u==null?void 0:u[f.route.id])!==void 0);c>=0||se(!1),o=o.slice(0,Math.min(o.length,c+1))}let a=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let f=o[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(s=c),f.route.id){let{loaderData:d,errors:p}=n,w=f.route.loader&&d[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||w){a=!0,s>=0?o=o.slice(0,s+1):o=[o[0]];break}}}return o.reduceRight((c,f,d)=>{let p,w=!1,v=null,E=null;n&&(p=u&&f.route.id?u[f.route.id]:void 0,v=f.route.errorElement||Ev,a&&(s<0&&d===0?(Rv("route-fallback"),w=!0,E=null):s===d&&(w=!0,E=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,d+1)),m=()=>{let g;return p?g=v:w?g=E:f.route.Component?g=C.createElement(f.route.Component,null):f.route.element?g=f.route.element:g=c,C.createElement(Pv,{match:f,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:g})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?C.createElement(Cv,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()},null)}var hh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(hh||{}),mh=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(mh||{});function Tv(e){let t=C.useContext(Gi);return t||se(!1),t}function Iv(e){let t=C.useContext(ch);return t||se(!1),t}function Nv(e){let t=C.useContext(Ft);return t||se(!1),t}function gh(e){let t=Nv(),n=t.matches[t.matches.length-1];return n.route.id||se(!1),n.route.id}function Lv(){var e;let t=C.useContext(fh),n=Iv(),r=gh();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function zv(){let{router:e}=Tv(hh.UseNavigateStable),t=gh(mh.UseNavigateStable),n=C.useRef(!1);return ph(()=>{n.current=!0}),C.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,sl({fromRouteId:t},i)))},[e,t])}const Yc={};function Rv(e,t,n){Yc[e]||(Yc[e]=!0)}function Ov(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function bS(e){let{to:t,replace:n,state:r,relative:l}=e;dr()||se(!1);let{future:i,static:o}=C.useContext(At),{matches:u}=C.useContext(Ft),{pathname:a}=hr(),s=dh(),c=ss(t,as(u,i.v7_relativeSplatPath),a,l==="path"),f=JSON.stringify(c);return C.useEffect(()=>s(JSON.parse(f),{replace:n,state:r,relative:l}),[s,f,l,n,r]),null}function Mv(e){se(!1)}function Dv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=Yt.Pop,navigator:i,static:o=!1,future:u}=e;dr()&&se(!1);let a=t.replace(/^\/*/,"/"),s=C.useMemo(()=>({basename:a,navigator:i,static:o,future:sl({v7_relativeSplatPath:!1},u)}),[a,u,i,o]);typeof r=="string"&&(r=pr(r));let{pathname:c="/",search:f="",hash:d="",state:p=null,key:w="default"}=r,v=C.useMemo(()=>{let E=ar(c,a);return E==null?null:{location:{pathname:E,search:f,hash:d,state:p,key:w},navigationType:l}},[a,c,f,d,p,w,l]);return v==null?null:C.createElement(At.Provider,{value:s},C.createElement(qi.Provider,{children:n,value:v}))}function $S(e){let{children:t,location:n}=e;return kv(Zu(t),n)}new Promise(()=>{});function Zu(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,l)=>{if(!C.isValidElement(r))return;let i=[...t,l];if(r.type===C.Fragment){n.push.apply(n,Zu(r.props.children,i));return}r.type!==Mv&&se(!1),!r.props.index||!r.props.children||se(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Zu(r.props.children,i)),n.push(o)}),n}/**
59
+ * React Router DOM v6.30.3
60
+ *
61
+ * Copyright (c) Remix Software Inc.
62
+ *
63
+ * This source code is licensed under the MIT license found in the
64
+ * LICENSE.md file in the root directory of this source tree.
65
+ *
66
+ * @license MIT
67
+ */function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Li.apply(this,arguments)}function yh(e,t){if(e==null)return{};var n={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(t.indexOf(l)>=0)&&(n[l]=e[l]);return n}function Av(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Fv(e,t){return e.button===0&&(!t||t==="_self")&&!Av(e)}const Bv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],jv=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Uv="6";try{window.__reactRouterVersion=Uv}catch{}const Vv=C.createContext({isTransitioning:!1}),bv="startTransition",Xc=Dm[bv];function HS(e){let{basename:t,children:n,future:r,window:l}=e,i=C.useRef();i.current==null&&(i.current=Qy({window:l,v5Compat:!0}));let o=i.current,[u,a]=C.useState({action:o.action,location:o.location}),{v7_startTransition:s}=r||{},c=C.useCallback(f=>{s&&Xc?Xc(()=>a(f)):a(f)},[a,s]);return C.useLayoutEffect(()=>o.listen(c),[o,c]),C.useEffect(()=>Ov(r),[r]),C.createElement(Dv,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}const $v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wv=C.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:u,target:a,to:s,preventScrollReset:c,viewTransition:f}=t,d=yh(t,Bv),{basename:p}=C.useContext(At),w,v=!1;if(typeof s=="string"&&Hv.test(s)&&(w=s,$v))try{let g=new URL(window.location.href),S=s.startsWith("//")?new URL(g.protocol+s):new URL(s),_=ar(S.pathname,p);S.origin===g.origin&&_!=null?s=_+S.search+S.hash:v=!0}catch{}let E=vv(s,{relative:l}),h=Yv(s,{replace:o,state:u,target:a,preventScrollReset:c,relative:l,viewTransition:f});function m(g){r&&r(g),g.defaultPrevented||h(g)}return C.createElement("a",Li({},d,{href:w||E,onClick:v||i?r:m,ref:n,target:a}))}),WS=C.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:l=!1,className:i="",end:o=!1,style:u,to:a,viewTransition:s,children:c}=t,f=yh(t,jv),d=Ji(a,{relative:f.relative}),p=hr(),w=C.useContext(ch),{navigator:v,basename:E}=C.useContext(At),h=w!=null&&Xv(d)&&s===!0,m=v.encodeLocation?v.encodeLocation(d).pathname:d.pathname,g=p.pathname,S=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;l||(g=g.toLowerCase(),S=S?S.toLowerCase():null,m=m.toLowerCase()),S&&E&&(S=ar(S,E)||S);const _=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let x=g===m||!o&&g.startsWith(m)&&g.charAt(_)==="/",T=S!=null&&(S===m||!o&&S.startsWith(m)&&S.charAt(m.length)==="/"),L={isActive:x,isPending:T,isTransitioning:h},F=x?r:void 0,M;typeof i=="function"?M=i(L):M=[i,x?"active":null,T?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let O=typeof u=="function"?u(L):u;return C.createElement(Wv,Li({},f,{"aria-current":F,className:M,ref:n,style:O,to:a,viewTransition:s}),typeof c=="function"?c(L):c)});var ea;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ea||(ea={}));var Kc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kc||(Kc={}));function Qv(e){let t=C.useContext(Gi);return t||se(!1),t}function Yv(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:u}=t===void 0?{}:t,a=dh(),s=hr(),c=Ji(e,{relative:o});return C.useCallback(f=>{if(Fv(f,n)){f.preventDefault();let d=r!==void 0?r:Ni(s)===Ni(c);a(e,{replace:d,state:l,preventScrollReset:i,relative:o,viewTransition:u})}},[s,a,c,r,l,n,e,i,o,u])}function Xv(e,t){t===void 0&&(t={});let n=C.useContext(Vv);n==null&&se(!1);let{basename:r}=Qv(ea.useViewTransitionState),l=Ji(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=ar(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ar(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ju(l.pathname,o)!=null||Ju(l.pathname,i)!=null}var wt=function(){return wt=Object.assign||function(t){for(var n,r=1,l=arguments.length;r<l;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},wt.apply(this,arguments)};function vh(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n}function Kv(e,t,n){if(n||arguments.length===2)for(var r=0,l=t.length,i;r<l;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var ei="right-scroll-bar-position",ti="width-before-scroll-bar",Gv="with-scroll-bars-hidden",qv="--removed-body-scroll-bar-size";function $o(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Jv(e,t){var n=C.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var l=n.value;l!==r&&(n.value=r,n.callback(r,l))}}}})[0];return n.callback=t,n.facade}var Zv=typeof window<"u"?C.useLayoutEffect:C.useEffect,Gc=new WeakMap;function e1(e,t){var n=Jv(null,function(r){return e.forEach(function(l){return $o(l,r)})});return Zv(function(){var r=Gc.get(n);if(r){var l=new Set(r),i=new Set(e),o=n.current;l.forEach(function(u){i.has(u)||$o(u,null)}),i.forEach(function(u){l.has(u)||$o(u,o)})}Gc.set(n,e)},[e]),n}function t1(e){return e}function n1(e,t){t===void 0&&(t=t1);var n=[],r=!1,l={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var o=t(i,r);return n.push(o),function(){n=n.filter(function(u){return u!==o})}},assignSyncMedium:function(i){for(r=!0;n.length;){var o=n;n=[],o.forEach(i)}n={push:function(u){return i(u)},filter:function(){return n}}},assignMedium:function(i){r=!0;var o=[];if(n.length){var u=n;n=[],u.forEach(i),o=n}var a=function(){var c=o;o=[],c.forEach(i)},s=function(){return Promise.resolve().then(a)};s(),n={push:function(c){o.push(c),s()},filter:function(c){return o=o.filter(c),n}}}};return l}function r1(e){e===void 0&&(e={});var t=n1(null);return t.options=wt({async:!0,ssr:!1},e),t}var wh=function(e){var t=e.sideCar,n=vh(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return C.createElement(r,wt({},n))};wh.isSideCarExport=!0;function l1(e,t){return e.useMedium(t),wh}var kh=r1(),Ho=function(){},Zi=C.forwardRef(function(e,t){var n=C.useRef(null),r=C.useState({onScrollCapture:Ho,onWheelCapture:Ho,onTouchMoveCapture:Ho}),l=r[0],i=r[1],o=e.forwardProps,u=e.children,a=e.className,s=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noRelative,w=e.noIsolation,v=e.inert,E=e.allowPinchZoom,h=e.as,m=h===void 0?"div":h,g=e.gapMode,S=vh(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=d,x=e1([n,t]),T=wt(wt({},S),l);return C.createElement(C.Fragment,null,c&&C.createElement(_,{sideCar:kh,removeScrollBar:s,shards:f,noRelative:p,noIsolation:w,inert:v,setCallbacks:i,allowPinchZoom:!!E,lockRef:n,gapMode:g}),o?C.cloneElement(C.Children.only(u),wt(wt({},T),{ref:x})):C.createElement(m,wt({},T,{className:a,ref:x}),u))});Zi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Zi.classNames={fullWidth:ti,zeroRight:ei};var i1=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function o1(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i1();return t&&e.setAttribute("nonce",t),e}function u1(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function a1(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var s1=function(){var e=0,t=null;return{add:function(n){e==0&&(t=o1())&&(u1(t,n),a1(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c1=function(){var e=s1();return function(t,n){C.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},xh=function(){var e=c1(),t=function(n){var r=n.styles,l=n.dynamic;return e(r,l),null};return t},f1={left:0,top:0,right:0,gap:0},Wo=function(e){return parseInt(e||"",10)||0},p1=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],l=t[e==="padding"?"paddingRight":"marginRight"];return[Wo(n),Wo(r),Wo(l)]},d1=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return f1;var t=p1(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},h1=xh(),Jn="data-scroll-locked",m1=function(e,t,n,r){var l=e.left,i=e.top,o=e.right,u=e.gap;return n===void 0&&(n="margin"),`
68
+ .`.concat(Gv,` {
69
+ overflow: hidden `).concat(r,`;
70
+ padding-right: `).concat(u,"px ").concat(r,`;
71
+ }
72
+ body[`).concat(Jn,`] {
73
+ overflow: hidden `).concat(r,`;
74
+ overscroll-behavior: contain;
75
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
76
+ padding-left: `.concat(l,`px;
77
+ padding-top: `).concat(i,`px;
78
+ padding-right: `).concat(o,`px;
79
+ margin-left:0;
80
+ margin-top:0;
81
+ margin-right: `).concat(u,"px ").concat(r,`;
82
+ `),n==="padding"&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),`
83
+ }
84
+
85
+ .`).concat(ei,` {
86
+ right: `).concat(u,"px ").concat(r,`;
87
+ }
88
+
89
+ .`).concat(ti,` {
90
+ margin-right: `).concat(u,"px ").concat(r,`;
91
+ }
92
+
93
+ .`).concat(ei," .").concat(ei,` {
94
+ right: 0 `).concat(r,`;
95
+ }
96
+
97
+ .`).concat(ti," .").concat(ti,` {
98
+ margin-right: 0 `).concat(r,`;
99
+ }
100
+
101
+ body[`).concat(Jn,`] {
102
+ `).concat(qv,": ").concat(u,`px;
103
+ }
104
+ `)},qc=function(){var e=parseInt(document.body.getAttribute(Jn)||"0",10);return isFinite(e)?e:0},g1=function(){C.useEffect(function(){return document.body.setAttribute(Jn,(qc()+1).toString()),function(){var e=qc()-1;e<=0?document.body.removeAttribute(Jn):document.body.setAttribute(Jn,e.toString())}},[])},y1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,l=r===void 0?"margin":r;g1();var i=C.useMemo(function(){return d1(l)},[l]);return C.createElement(h1,{styles:m1(i,!t,l,n?"":"!important")})},ta=!1;if(typeof window<"u")try{var Fl=Object.defineProperty({},"passive",{get:function(){return ta=!0,!0}});window.addEventListener("test",Fl,Fl),window.removeEventListener("test",Fl,Fl)}catch{ta=!1}var zn=ta?{passive:!1}:!1,v1=function(e){return e.tagName==="TEXTAREA"},Sh=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!v1(e)&&n[t]==="visible")},w1=function(e){return Sh(e,"overflowY")},k1=function(e){return Sh(e,"overflowX")},Jc=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var l=Eh(e,r);if(l){var i=Ch(e,r),o=i[1],u=i[2];if(o>u)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},x1=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},S1=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Eh=function(e,t){return e==="v"?w1(t):k1(t)},Ch=function(e,t){return e==="v"?x1(t):S1(t)},E1=function(e,t){return e==="h"&&t==="rtl"?-1:1},C1=function(e,t,n,r,l){var i=E1(e,window.getComputedStyle(t).direction),o=i*r,u=n.target,a=t.contains(u),s=!1,c=o>0,f=0,d=0;do{if(!u)break;var p=Ch(e,u),w=p[0],v=p[1],E=p[2],h=v-E-i*w;(w||h)&&Eh(e,u)&&(f+=h,d+=w);var m=u.parentNode;u=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!a&&u!==document.body||a&&(t.contains(u)||t===u));return(c&&Math.abs(f)<1||!c&&Math.abs(d)<1)&&(s=!0),s},Bl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zc=function(e){return[e.deltaX,e.deltaY]},ef=function(e){return e&&"current"in e?e.current:e},P1=function(e,t){return e[0]===t[0]&&e[1]===t[1]},_1=function(e){return`
105
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
106
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
107
+ `)},T1=0,Rn=[];function I1(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),l=C.useState(T1++)[0],i=C.useState(xh)[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var v=Kv([e.lockRef.current],(e.shards||[]).map(ef),!0).filter(Boolean);return v.forEach(function(E){return E.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),v.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var u=C.useCallback(function(v,E){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!o.current.allowPinchZoom;var h=Bl(v),m=n.current,g="deltaX"in v?v.deltaX:m[0]-h[0],S="deltaY"in v?v.deltaY:m[1]-h[1],_,x=v.target,T=Math.abs(g)>Math.abs(S)?"h":"v";if("touches"in v&&T==="h"&&x.type==="range")return!1;var L=window.getSelection(),F=L&&L.anchorNode,M=F?F===x||F.contains(x):!1;if(M)return!1;var O=Jc(T,x);if(!O)return!0;if(O?_=T:(_=T==="v"?"h":"v",O=Jc(T,x)),!O)return!1;if(!r.current&&"changedTouches"in v&&(g||S)&&(r.current=_),!_)return!0;var A=r.current||_;return C1(A,E,v,A==="h"?g:S)},[]),a=C.useCallback(function(v){var E=v;if(!(!Rn.length||Rn[Rn.length-1]!==i)){var h="deltaY"in E?Zc(E):Bl(E),m=t.current.filter(function(_){return _.name===E.type&&(_.target===E.target||E.target===_.shadowParent)&&P1(_.delta,h)})[0];if(m&&m.should){E.cancelable&&E.preventDefault();return}if(!m){var g=(o.current.shards||[]).map(ef).filter(Boolean).filter(function(_){return _.contains(E.target)}),S=g.length>0?u(E,g[0]):!o.current.noIsolation;S&&E.cancelable&&E.preventDefault()}}},[]),s=C.useCallback(function(v,E,h,m){var g={name:v,delta:E,target:h,should:m,shadowParent:N1(h)};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(S){return S!==g})},1)},[]),c=C.useCallback(function(v){n.current=Bl(v),r.current=void 0},[]),f=C.useCallback(function(v){s(v.type,Zc(v),v.target,u(v,e.lockRef.current))},[]),d=C.useCallback(function(v){s(v.type,Bl(v),v.target,u(v,e.lockRef.current))},[]);C.useEffect(function(){return Rn.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",a,zn),document.addEventListener("touchmove",a,zn),document.addEventListener("touchstart",c,zn),function(){Rn=Rn.filter(function(v){return v!==i}),document.removeEventListener("wheel",a,zn),document.removeEventListener("touchmove",a,zn),document.removeEventListener("touchstart",c,zn)}},[]);var p=e.removeScrollBar,w=e.inert;return C.createElement(C.Fragment,null,w?C.createElement(i,{styles:_1(l)}):null,p?C.createElement(y1,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function N1(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const L1=l1(kh,I1);var z1=C.forwardRef(function(e,t){return C.createElement(Zi,wt({},e,{ref:t,sideCar:L1}))});z1.classNames=Zi.classNames;var Ph={exports:{}},G={};/**
108
+ * @license React
109
+ * react-is.production.min.js
110
+ *
111
+ * Copyright (c) Facebook, Inc. and its affiliates.
112
+ *
113
+ * This source code is licensed under the MIT license found in the
114
+ * LICENSE file in the root directory of this source tree.
115
+ */var cs=Symbol.for("react.element"),fs=Symbol.for("react.portal"),eo=Symbol.for("react.fragment"),to=Symbol.for("react.strict_mode"),no=Symbol.for("react.profiler"),ro=Symbol.for("react.provider"),lo=Symbol.for("react.context"),R1=Symbol.for("react.server_context"),io=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),uo=Symbol.for("react.suspense_list"),ao=Symbol.for("react.memo"),so=Symbol.for("react.lazy"),O1=Symbol.for("react.offscreen"),_h;_h=Symbol.for("react.module.reference");function lt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case cs:switch(e=e.type,e){case eo:case no:case to:case oo:case uo:return e;default:switch(e=e&&e.$$typeof,e){case R1:case lo:case io:case so:case ao:case ro:return e;default:return t}}case fs:return t}}}G.ContextConsumer=lo;G.ContextProvider=ro;G.Element=cs;G.ForwardRef=io;G.Fragment=eo;G.Lazy=so;G.Memo=ao;G.Portal=fs;G.Profiler=no;G.StrictMode=to;G.Suspense=oo;G.SuspenseList=uo;G.isAsyncMode=function(){return!1};G.isConcurrentMode=function(){return!1};G.isContextConsumer=function(e){return lt(e)===lo};G.isContextProvider=function(e){return lt(e)===ro};G.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===cs};G.isForwardRef=function(e){return lt(e)===io};G.isFragment=function(e){return lt(e)===eo};G.isLazy=function(e){return lt(e)===so};G.isMemo=function(e){return lt(e)===ao};G.isPortal=function(e){return lt(e)===fs};G.isProfiler=function(e){return lt(e)===no};G.isStrictMode=function(e){return lt(e)===to};G.isSuspense=function(e){return lt(e)===oo};G.isSuspenseList=function(e){return lt(e)===uo};G.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===eo||e===no||e===to||e===oo||e===uo||e===O1||typeof e=="object"&&e!==null&&(e.$$typeof===so||e.$$typeof===ao||e.$$typeof===ro||e.$$typeof===lo||e.$$typeof===io||e.$$typeof===_h||e.getModuleId!==void 0)};G.typeOf=lt;Ph.exports=G;var QS=Ph.exports,M1={};/**
116
+ * @license React
117
+ * use-sync-external-store-with-selector.production.js
118
+ *
119
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
120
+ *
121
+ * This source code is licensed under the MIT license found in the
122
+ * LICENSE file in the root directory of this source tree.
123
+ */var gl=C;function D1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var A1=typeof Object.is=="function"?Object.is:D1,F1=gl.useSyncExternalStore,B1=gl.useRef,j1=gl.useEffect,U1=gl.useMemo,V1=gl.useDebugValue;M1.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var i=B1(null);if(i.current===null){var o={hasValue:!1,value:null};i.current=o}else o=i.current;i=U1(function(){function a(p){if(!s){if(s=!0,c=p,p=r(p),l!==void 0&&o.hasValue){var w=o.value;if(l(w,p))return f=w}return f=p}if(w=f,A1(c,p))return w;var v=r(p);return l!==void 0&&l(w,v)?(c=p,w):(c=p,f=v)}var s=!1,c,f,d=n===void 0?null:n;return[function(){return a(t())},d===null?void 0:function(){return a(d())}]},[t,n,r,l]);var u=F1(e,i[0],i[1]);return j1(function(){o.hasValue=!0,o.value=u},[u]),V1(u),u};function b1(e){e()}function $1(){let e=null,t=null;return{clear(){e=null,t=null},notify(){b1(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!r||e===null||(r=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var tf={notify(){},get:()=>[]};function H1(e,t){let n,r=tf,l=0,i=!1;function o(v){c();const E=r.subscribe(v);let h=!1;return()=>{h||(h=!0,E(),f())}}function u(){r.notify()}function a(){w.onStateChange&&w.onStateChange()}function s(){return i}function c(){l++,n||(n=e.subscribe(a),r=$1())}function f(){l--,n&&l===0&&(n(),n=void 0,r.clear(),r=tf)}function d(){i||(i=!0,c())}function p(){i&&(i=!1,f())}const w={addNestedSub:o,notifyNestedSubs:u,handleChangeWrapper:a,isSubscribed:s,trySubscribe:d,tryUnsubscribe:p,getListeners:()=>r};return w}var W1=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q1=W1(),Y1=()=>typeof navigator<"u"&&navigator.product==="ReactNative",X1=Y1(),K1=()=>Q1||X1?C.useLayoutEffect:C.useEffect,G1=K1();function nf(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function YS(e,t){if(nf(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let l=0;l<n.length;l++)if(!Object.prototype.hasOwnProperty.call(t,n[l])||!nf(e[n[l]],t[n[l]]))return!1;return!0}var Qo=Symbol.for("react-redux-context"),Yo=typeof globalThis<"u"?globalThis:{};function q1(){if(!C.createContext)return{};const e=Yo[Qo]??(Yo[Qo]=new Map);let t=e.get(C.createContext);return t||(t=C.createContext(null),e.set(C.createContext,t)),t}var J1=q1();function Z1(e){const{children:t,context:n,serverState:r,store:l}=e,i=C.useMemo(()=>{const a=H1(l);return{store:l,subscription:a,getServerState:r?()=>r:void 0}},[l,r]),o=C.useMemo(()=>l.getState(),[l]);G1(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==l.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,o]);const u=n||J1;return C.createElement(u.Provider,{value:i},t)}var XS=Z1;function KS(){}function e0(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const t0=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,n0=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,r0={};function rf(e,t){return(r0.jsx?n0:t0).test(e)}const l0=/[ \t\n\f\r]/g;function i0(e){return typeof e=="object"?e.type==="text"?lf(e.value):!1:lf(e)}function lf(e){return e.replace(l0,"")===""}class yl{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}yl.prototype.normal={};yl.prototype.property={};yl.prototype.space=void 0;function Th(e,t){const n={},r={};for(const l of e)Object.assign(n,l.property),Object.assign(r,l.normal);return new yl(n,r,t)}function na(e){return e.toLowerCase()}class Ve{constructor(t,n){this.attribute=n,this.property=t}}Ve.prototype.attribute="";Ve.prototype.booleanish=!1;Ve.prototype.boolean=!1;Ve.prototype.commaOrSpaceSeparated=!1;Ve.prototype.commaSeparated=!1;Ve.prototype.defined=!1;Ve.prototype.mustUseProperty=!1;Ve.prototype.number=!1;Ve.prototype.overloadedBoolean=!1;Ve.prototype.property="";Ve.prototype.spaceSeparated=!1;Ve.prototype.space=void 0;let o0=0;const V=_n(),me=_n(),ra=_n(),N=_n(),Z=_n(),Zn=_n(),$e=_n();function _n(){return 2**++o0}const la=Object.freeze(Object.defineProperty({__proto__:null,boolean:V,booleanish:me,commaOrSpaceSeparated:$e,commaSeparated:Zn,number:N,overloadedBoolean:ra,spaceSeparated:Z},Symbol.toStringTag,{value:"Module"})),Xo=Object.keys(la);class ps extends Ve{constructor(t,n,r,l){let i=-1;if(super(t,n),of(this,"space",l),typeof r=="number")for(;++i<Xo.length;){const o=Xo[i];of(this,Xo[i],(r&la[o])===la[o])}}}ps.prototype.defined=!0;function of(e,t,n){n&&(e[t]=n)}function mr(e){const t={},n={};for(const[r,l]of Object.entries(e.properties)){const i=new ps(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[na(r)]=r,n[na(i.attribute)]=r}return new yl(t,n,e.space)}const Ih=mr({properties:{ariaActiveDescendant:null,ariaAtomic:me,ariaAutoComplete:null,ariaBusy:me,ariaChecked:me,ariaColCount:N,ariaColIndex:N,ariaColSpan:N,ariaControls:Z,ariaCurrent:null,ariaDescribedBy:Z,ariaDetails:null,ariaDisabled:me,ariaDropEffect:Z,ariaErrorMessage:null,ariaExpanded:me,ariaFlowTo:Z,ariaGrabbed:me,ariaHasPopup:null,ariaHidden:me,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Z,ariaLevel:N,ariaLive:null,ariaModal:me,ariaMultiLine:me,ariaMultiSelectable:me,ariaOrientation:null,ariaOwns:Z,ariaPlaceholder:null,ariaPosInSet:N,ariaPressed:me,ariaReadOnly:me,ariaRelevant:null,ariaRequired:me,ariaRoleDescription:Z,ariaRowCount:N,ariaRowIndex:N,ariaRowSpan:N,ariaSelected:me,ariaSetSize:N,ariaSort:null,ariaValueMax:N,ariaValueMin:N,ariaValueNow:N,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Nh(e,t){return t in e?e[t]:t}function Lh(e,t){return Nh(e,t.toLowerCase())}const u0=mr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zn,acceptCharset:Z,accessKey:Z,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:Z,autoFocus:V,autoPlay:V,blocking:Z,capture:null,charSet:null,checked:V,cite:null,className:Z,cols:N,colSpan:null,content:null,contentEditable:me,controls:V,controlsList:Z,coords:N|Zn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:ra,draggable:me,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:Z,height:N,hidden:ra,high:N,href:null,hrefLang:null,htmlFor:Z,httpEquiv:Z,id:null,imageSizes:null,imageSrcSet:null,inert:V,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:Z,itemRef:Z,itemScope:V,itemType:Z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:N,manifest:null,max:null,maxLength:N,media:null,method:null,min:null,minLength:N,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,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:V,optimum:N,pattern:null,ping:Z,placeholder:null,playsInline:V,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:Z,required:V,reversed:V,rows:N,rowSpan:N,sandbox:Z,scope:null,scoped:V,seamless:V,selected:V,shadowRootClonable:V,shadowRootDelegatesFocus:V,shadowRootMode:null,shape:null,size:N,sizes:null,slot:null,span:N,spellCheck:me,src:null,srcDoc:null,srcLang:null,srcSet:null,start:N,step:null,style:null,tabIndex:N,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:me,width:N,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Z,axis:null,background:null,bgColor:null,border:N,borderColor:null,bottomMargin:N,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:N,leftMargin:N,link:null,longDesc:null,lowSrc:null,marginHeight:N,marginWidth:N,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:N,rules:null,scheme:null,scrolling:me,standby:null,summary:null,text:null,topMargin:N,valueType:null,version:null,vAlign:null,vLink:null,vSpace:N,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:N,security:null,unselectable:null},space:"html",transform:Lh}),a0=mr({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:$e,accentHeight:N,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:N,amplitude:N,arabicForm:null,ascent:N,attributeName:null,attributeType:null,azimuth:N,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:N,by:null,calcMode:null,capHeight:N,className:Z,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:N,diffuseConstant:N,direction:null,display:null,dur:null,divisor:N,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:N,enableBackground:null,end:null,event:null,exponent:N,externalResourcesRequired:null,fill:null,fillOpacity:N,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:Zn,g2:Zn,glyphName:Zn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:N,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:N,horizOriginX:N,horizOriginY:N,id:null,ideographic:N,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:N,k:N,k1:N,k2:N,k3:N,k4:N,kernelMatrix:$e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:N,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:N,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:N,overlineThickness:N,paintOrder:null,panose1:null,path:null,pathLength:N,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:N,pointsAtY:N,pointsAtZ:N,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$e,rev:$e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$e,requiredFeatures:$e,requiredFonts:$e,requiredFormats:$e,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:N,specularExponent:N,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:N,strikethroughThickness:N,string:null,stroke:null,strokeDashArray:$e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:N,strokeOpacity:N,strokeWidth:null,style:null,surfaceScale:N,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$e,tabIndex:N,tableValues:null,target:null,targetX:N,targetY:N,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:N,underlineThickness:N,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:N,values:null,vAlphabetic:N,vMathematical:N,vectorEffect:null,vHanging:N,vIdeographic:N,version:null,vertAdvY:N,vertOriginX:N,vertOriginY:N,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:N,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Nh}),zh=mr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Rh=mr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Lh}),Oh=mr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),s0={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"},c0=/[A-Z]/g,uf=/-[a-z]/g,f0=/^data[-\w.:]+$/i;function p0(e,t){const n=na(t);let r=t,l=Ve;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&f0.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(uf,h0);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!uf.test(i)){let o=i.replace(c0,d0);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}l=ps}return new l(r,t)}function d0(e){return"-"+e.toLowerCase()}function h0(e){return e.charAt(1).toUpperCase()}const m0=Th([Ih,u0,zh,Rh,Oh],"html"),ds=Th([Ih,a0,zh,Rh,Oh],"svg");function g0(e){return e.join(" ").trim()}var hs={},af=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,y0=/\n/g,v0=/^\s*/,w0=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,k0=/^:\s*/,x0=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,S0=/^[;\s]*/,E0=/^\s+|\s+$/g,C0=`
124
+ `,sf="/",cf="*",dn="",P0="comment",_0="declaration";function T0(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function l(w){var v=w.match(y0);v&&(n+=v.length);var E=w.lastIndexOf(C0);r=~E?w.length-E:r+w.length}function i(){var w={line:n,column:r};return function(v){return v.position=new o(w),s(),v}}function o(w){this.start=w,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function u(w){var v=new Error(t.source+":"+n+":"+r+": "+w);if(v.reason=w,v.filename=t.source,v.line=n,v.column=r,v.source=e,!t.silent)throw v}function a(w){var v=w.exec(e);if(v){var E=v[0];return l(E),e=e.slice(E.length),v}}function s(){a(v0)}function c(w){var v;for(w=w||[];v=f();)v!==!1&&w.push(v);return w}function f(){var w=i();if(!(sf!=e.charAt(0)||cf!=e.charAt(1))){for(var v=2;dn!=e.charAt(v)&&(cf!=e.charAt(v)||sf!=e.charAt(v+1));)++v;if(v+=2,dn===e.charAt(v-1))return u("End of comment missing");var E=e.slice(2,v-2);return r+=2,l(E),e=e.slice(v),r+=2,w({type:P0,comment:E})}}function d(){var w=i(),v=a(w0);if(v){if(f(),!a(k0))return u("property missing ':'");var E=a(x0),h=w({type:_0,property:ff(v[0].replace(af,dn)),value:E?ff(E[0].replace(af,dn)):dn});return a(S0),h}}function p(){var w=[];c(w);for(var v;v=d();)v!==!1&&(w.push(v),c(w));return w}return s(),p()}function ff(e){return e?e.replace(E0,dn):dn}var I0=T0,N0=li&&li.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hs,"__esModule",{value:!0});hs.default=z0;const L0=N0(I0);function z0(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,L0.default)(e),l=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:o,value:u}=i;l?t(o,u,i):u&&(n=n||{},n[o]=u)}),n}var co={};Object.defineProperty(co,"__esModule",{value:!0});co.camelCase=void 0;var R0=/^--[a-zA-Z0-9_-]+$/,O0=/-([a-z])/g,M0=/^[^-]+$/,D0=/^-(webkit|moz|ms|o|khtml)-/,A0=/^-(ms)-/,F0=function(e){return!e||M0.test(e)||R0.test(e)},B0=function(e,t){return t.toUpperCase()},pf=function(e,t){return"".concat(t,"-")},j0=function(e,t){return t===void 0&&(t={}),F0(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(A0,pf):e=e.replace(D0,pf),e.replace(O0,B0))};co.camelCase=j0;var U0=li&&li.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},V0=U0(hs),b0=co;function ia(e,t){var n={};return!e||typeof e!="string"||(0,V0.default)(e,function(r,l){r&&l&&(n[(0,b0.camelCase)(r,t)]=l)}),n}ia.default=ia;var $0=ia;const H0=Oi($0),Mh=Dh("end"),ms=Dh("start");function Dh(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function W0(e){const t=ms(e),n=Mh(e);if(t&&n)return{start:t,end:n}}function br(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?df(e.position):"start"in e||"end"in e?df(e):"line"in e||"column"in e?oa(e):""}function oa(e){return hf(e&&e.line)+":"+hf(e&&e.column)}function df(e){return oa(e&&e.start)+"-"+oa(e&&e.end)}function hf(e){return e&&typeof e=="number"?e:1}class Ne extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let l="",i={},o=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?l=t:!i.cause&&t&&(o=!0,l=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?i.ruleId=r:(i.source=r.slice(0,a),i.ruleId=r.slice(a+1))}if(!i.place&&i.ancestors&&i.ancestors){const a=i.ancestors[i.ancestors.length-1];a&&(i.place=a.position)}const u=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=u?u.line:void 0,this.name=br(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ne.prototype.file="";Ne.prototype.name="";Ne.prototype.reason="";Ne.prototype.message="";Ne.prototype.stack="";Ne.prototype.column=void 0;Ne.prototype.line=void 0;Ne.prototype.ancestors=void 0;Ne.prototype.cause=void 0;Ne.prototype.fatal=void 0;Ne.prototype.place=void 0;Ne.prototype.ruleId=void 0;Ne.prototype.source=void 0;const gs={}.hasOwnProperty,Q0=new Map,Y0=/[A-Z]/g,X0=new Set(["table","tbody","thead","tfoot","tr"]),K0=new Set(["td","th"]),Ah="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function G0(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=lw(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=rw(n,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ds:m0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Fh(l,e,void 0);return i&&typeof i!="string"?i:l.create(e,l.Fragment,{children:i||void 0},void 0)}function Fh(e,t,n){if(t.type==="element")return q0(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return J0(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ew(e,t,n);if(t.type==="mdxjsEsm")return Z0(e,t);if(t.type==="root")return tw(e,t,n);if(t.type==="text")return nw(e,t)}function q0(e,t,n){const r=e.schema;let l=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(l=ds,e.schema=l),e.ancestors.push(t);const i=jh(e,t.tagName,!1),o=iw(e,t);let u=vs(e,t);return X0.has(t.tagName)&&(u=u.filter(function(a){return typeof a=="string"?!i0(a):!0})),Bh(e,o,i,t),ys(o,u),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function J0(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}cl(e,t.position)}function Z0(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);cl(e,t.position)}function ew(e,t,n){const r=e.schema;let l=r;t.name==="svg"&&r.space==="html"&&(l=ds,e.schema=l),e.ancestors.push(t);const i=t.name===null?e.Fragment:jh(e,t.name,!0),o=ow(e,t),u=vs(e,t);return Bh(e,o,i,t),ys(o,u),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function tw(e,t,n){const r={};return ys(r,vs(e,t)),e.create(t,e.Fragment,r,n)}function nw(e,t){return t.value}function Bh(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ys(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function rw(e,t,n){return r;function r(l,i,o,u){const s=Array.isArray(o.children)?n:t;return u?s(i,o,u):s(i,o)}}function lw(e,t){return n;function n(r,l,i,o){const u=Array.isArray(i.children),a=ms(r);return t(l,i,o,u,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function iw(e,t){const n={};let r,l;for(l in t.properties)if(l!=="children"&&gs.call(t.properties,l)){const i=uw(e,l,t.properties[l]);if(i){const[o,u]=i;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&K0.has(t.tagName)?r=u:n[o]=u}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function ow(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const o=i.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else cl(e,t.position);else{const l=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,i=e.evaluater.evaluateExpression(u.expression)}else cl(e,t.position);else i=r.value===null?!0:r.value;n[l]=i}return n}function vs(e,t){const n=[];let r=-1;const l=e.passKeys?new Map:Q0;for(;++r<t.children.length;){const i=t.children[r];let o;if(e.passKeys){const a=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(a){const s=l.get(a)||0;o=a+"-"+s,l.set(a,s+1)}}const u=Fh(e,i,o);u!==void 0&&n.push(u)}return n}function uw(e,t,n){const r=p0(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?e0(n):g0(n)),r.property==="style"){let l=typeof n=="object"?n:aw(e,String(n));return e.stylePropertyNameCase==="css"&&(l=sw(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&r.space?s0[r.property]||r.property:r.attribute,n]}}function aw(e,t){try{return H0(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,l=new Ne("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=Ah+"#cannot-parse-style-attribute",l}}function jh(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const l=t.split(".");let i=-1,o;for(;++i<l.length;){const u=rf(l[i])?{type:"Identifier",name:l[i]}:{type:"Literal",value:l[i]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(i&&u.type==="Literal"),optional:!1}:u}r=o}else r=rf(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const l=r.value;return gs.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(r);cl(e)}function cl(e,t){const n=new Ne("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Ah+"#cannot-handle-mdx-estrees-without-createevaluater",n}function sw(e){const t={};let n;for(n in e)gs.call(e,n)&&(t[cw(n)]=e[n]);return t}function cw(e){let t=e.replace(Y0,fw);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function fw(e){return"-"+e.toLowerCase()}const Ko={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"]},pw={};function dw(e,t){const n=pw,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,l=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Uh(e,r,l)}function Uh(e,t,n){if(hw(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return mf(e.children,t,n)}return Array.isArray(e)?mf(e,t,n):""}function mf(e,t,n){const r=[];let l=-1;for(;++l<e.length;)r[l]=Uh(e[l],t,n);return r.join("")}function hw(e){return!!(e&&typeof e=="object")}const gf=document.createElement("i");function ws(e){const t="&"+e+";";gf.innerHTML=t;const n=gf.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Et(e,t,n,r){const l=e.length;let i=0,o;if(t<0?t=-t>l?0:l+t:t=t>l?l:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function Ze(e,t){return e.length>0?(Et(e,e.length,0,t),e):t}const yf={}.hasOwnProperty;function mw(e){const t={};let n=-1;for(;++n<e.length;)gw(t,e[n]);return t}function gw(e,t){let n;for(n in t){const l=(yf.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){yf.call(l,o)||(l[o]=[]);const u=i[o];yw(l[o],Array.isArray(u)?u:u?[u]:[])}}}function yw(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Et(e,0,0,r)}function Vh(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function er(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const kt=sn(/[A-Za-z]/),Qe=sn(/[\dA-Za-z]/),vw=sn(/[#-'*+\--9=?A-Z^-~]/);function ua(e){return e!==null&&(e<32||e===127)}const aa=sn(/\d/),ww=sn(/[\dA-Fa-f]/),kw=sn(/[!-/:-@[-`{-~]/);function j(e){return e!==null&&e<-2}function Ue(e){return e!==null&&(e<0||e===32)}function Y(e){return e===-2||e===-1||e===32}const xw=sn(new RegExp("\\p{P}|\\p{S}","u")),Sw=sn(/\s/);function sn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function gr(e){const t=[];let n=-1,r=0,l=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&Qe(e.charCodeAt(n+1))&&Qe(e.charCodeAt(n+2)))l=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const u=e.charCodeAt(n+1);i<56320&&u>56319&&u<57344?(o=String.fromCharCode(i,u),l=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+l+1,o=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function te(e,t,n,r){const l=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(a){return Y(a)?(e.enter(n),u(a)):t(a)}function u(a){return Y(a)&&i++<l?(e.consume(a),u):(e.exit(n),t(a))}}const Ew={tokenize:Cw};function Cw(e){const t=e.attempt(this.parser.constructs.contentInitial,r,l);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),te(e,t,"linePrefix")}function l(u){return e.enter("paragraph"),i(u)}function i(u){const a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return j(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),o)}}const Pw={tokenize:_w},vf={tokenize:Tw};function _w(e){const t=this,n=[];let r=0,l,i,o;return u;function u(g){if(r<n.length){const S=n[r];return t.containerState=S[1],e.attempt(S[0].continuation,a,s)(g)}return s(g)}function a(g){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,l&&m();const S=t.events.length;let _=S,x;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){x=t.events[_][1].end;break}h(r);let T=S;for(;T<t.events.length;)t.events[T][1].end={...x},T++;return Et(t.events,_+1,0,t.events.slice(S)),t.events.length=T,s(g)}return u(g)}function s(g){if(r===n.length){if(!l)return d(g);if(l.currentConstruct&&l.currentConstruct.concrete)return w(g);t.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(vf,c,f)(g)}function c(g){return l&&m(),h(r),d(g)}function f(g){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,w(g)}function d(g){return t.containerState={},e.attempt(vf,p,w)(g)}function p(g){return r++,n.push([t.currentConstruct,t.containerState]),d(g)}function w(g){if(g===null){l&&m(),h(0),e.consume(g);return}return l=l||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:i}),v(g)}function v(g){if(g===null){E(e.exit("chunkFlow"),!0),h(0),e.consume(g);return}return j(g)?(e.consume(g),E(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(g),v)}function E(g,S){const _=t.sliceStream(g);if(S&&_.push(null),g.previous=i,i&&(i.next=g),i=g,l.defineSkip(g.start),l.write(_),t.parser.lazy[g.start.line]){let x=l.events.length;for(;x--;)if(l.events[x][1].start.offset<o&&(!l.events[x][1].end||l.events[x][1].end.offset>o))return;const T=t.events.length;let L=T,F,M;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(F){M=t.events[L][1].end;break}F=!0}for(h(r),x=T;x<t.events.length;)t.events[x][1].end={...M},x++;Et(t.events,L+1,0,t.events.slice(T)),t.events.length=x}}function h(g){let S=n.length;for(;S-- >g;){const _=n[S];t.containerState=_[1],_[0].exit.call(t,e)}n.length=g}function m(){l.write([null]),i=void 0,l=void 0,t.containerState._closeFlow=void 0}}function Tw(e,t,n){return te(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wf(e){if(e===null||Ue(e)||Sw(e))return 1;if(xw(e))return 2}function ks(e,t,n){const r=[];let l=-1;for(;++l<e.length;){const i=e[l].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const sa={name:"attention",resolveAll:Iw,tokenize:Nw};function Iw(e,t){let n=-1,r,l,i,o,u,a,s,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},d={...e[n][1].start};kf(f,-a),kf(d,a),o={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},u={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:d},i={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},l={type:a>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=Ze(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=Ze(s,[["enter",l,t],["enter",o,t],["exit",o,t],["enter",i,t]]),s=Ze(s,ks(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=Ze(s,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",l,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,s=Ze(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Et(e,r-1,n-r+3,s),n=r+s.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Nw(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,l=wf(r);let i;return o;function o(a){return i=a,e.enter("attentionSequence"),u(a)}function u(a){if(a===i)return e.consume(a),u;const s=e.exit("attentionSequence"),c=wf(a),f=!c||c===2&&l||n.includes(a),d=!l||l===2&&c||n.includes(r);return s._open=!!(i===42?f:f&&(l||!d)),s._close=!!(i===42?d:d&&(c||!f)),t(a)}}function kf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Lw={name:"autolink",tokenize:zw};function zw(e,t,n){let r=0;return l;function l(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return kt(p)?(e.consume(p),o):p===64?n(p):s(p)}function o(p){return p===43||p===45||p===46||Qe(p)?(r=1,u(p)):s(p)}function u(p){return p===58?(e.consume(p),r=0,a):(p===43||p===45||p===46||Qe(p))&&r++<32?(e.consume(p),u):(r=0,s(p))}function a(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||ua(p)?n(p):(e.consume(p),a)}function s(p){return p===64?(e.consume(p),c):vw(p)?(e.consume(p),s):n(p)}function c(p){return Qe(p)?f(p):n(p)}function f(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):d(p)}function d(p){if((p===45||Qe(p))&&r++<63){const w=p===45?d:f;return e.consume(p),w}return n(p)}}const fo={partial:!0,tokenize:Rw};function Rw(e,t,n){return r;function r(i){return Y(i)?te(e,l,"linePrefix")(i):l(i)}function l(i){return i===null||j(i)?t(i):n(i)}}const bh={continuation:{tokenize:Mw},exit:Dw,name:"blockQuote",tokenize:Ow};function Ow(e,t,n){const r=this;return l;function l(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return Y(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Mw(e,t,n){const r=this;return l;function l(o){return Y(o)?te(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(bh,t,n)(o)}}function Dw(e){e.exit("blockQuote")}const $h={name:"characterEscape",tokenize:Aw};function Aw(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),l}function l(i){return kw(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Hh={name:"characterReference",tokenize:Fw};function Fw(e,t,n){const r=this;let l=0,i,o;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),a}function a(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,o=Qe,c(f))}function s(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=ww,c):(e.enter("characterReferenceValue"),i=7,o=aa,c(f))}function c(f){if(f===59&&l){const d=e.exit("characterReferenceValue");return o===Qe&&!ws(r.sliceSerialize(d))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&l++<i?(e.consume(f),c):n(f)}}const xf={partial:!0,tokenize:jw},Sf={concrete:!0,name:"codeFenced",tokenize:Bw};function Bw(e,t,n){const r=this,l={partial:!0,tokenize:_};let i=0,o=0,u;return a;function a(x){return s(x)}function s(x){const T=r.events[r.events.length-1];return i=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,u=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===u?(o++,e.consume(x),c):o<3?n(x):(e.exit("codeFencedFenceSequence"),Y(x)?te(e,f,"whitespace")(x):f(x))}function f(x){return x===null||j(x)?(e.exit("codeFencedFence"),r.interrupt?t(x):e.check(xf,v,S)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||j(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(x)):Y(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),te(e,p,"whitespace")(x)):x===96&&x===u?n(x):(e.consume(x),d)}function p(x){return x===null||j(x)?f(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(x))}function w(x){return x===null||j(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(x)):x===96&&x===u?n(x):(e.consume(x),w)}function v(x){return e.attempt(l,S,E)(x)}function E(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),h}function h(x){return i>0&&Y(x)?te(e,m,"linePrefix",i+1)(x):m(x)}function m(x){return x===null||j(x)?e.check(xf,v,S)(x):(e.enter("codeFlowValue"),g(x))}function g(x){return x===null||j(x)?(e.exit("codeFlowValue"),m(x)):(e.consume(x),g)}function S(x){return e.exit("codeFenced"),t(x)}function _(x,T,L){let F=0;return M;function M($){return x.enter("lineEnding"),x.consume($),x.exit("lineEnding"),O}function O($){return x.enter("codeFencedFence"),Y($)?te(x,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):A($)}function A($){return $===u?(x.enter("codeFencedFenceSequence"),X($)):L($)}function X($){return $===u?(F++,x.consume($),X):F>=o?(x.exit("codeFencedFenceSequence"),Y($)?te(x,oe,"whitespace")($):oe($)):L($)}function oe($){return $===null||j($)?(x.exit("codeFencedFence"),T($)):L($)}}}function jw(e,t,n){const r=this;return l;function l(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Go={name:"codeIndented",tokenize:Vw},Uw={partial:!0,tokenize:bw};function Vw(e,t,n){const r=this;return l;function l(s){return e.enter("codeIndented"),te(e,i,"linePrefix",5)(s)}function i(s){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(s):n(s)}function o(s){return s===null?a(s):j(s)?e.attempt(Uw,o,a)(s):(e.enter("codeFlowValue"),u(s))}function u(s){return s===null||j(s)?(e.exit("codeFlowValue"),o(s)):(e.consume(s),u)}function a(s){return e.exit("codeIndented"),t(s)}}function bw(e,t,n){const r=this;return l;function l(o){return r.parser.lazy[r.now().line]?n(o):j(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):te(e,i,"linePrefix",5)(o)}function i(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):j(o)?l(o):n(o)}}const $w={name:"codeText",previous:Ww,resolve:Hw,tokenize:Qw};function Hw(e){let t=e.length-4,n=3,r,l;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)l===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(l=r):(r===t||e[r][1].type==="lineEnding")&&(e[l][1].type="codeTextData",r!==l+2&&(e[l][1].end=e[r-1][1].end,e.splice(l+2,r-l-2),t-=r-l-2,r=l+2),l=void 0);return e}function Ww(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Qw(e,t,n){let r=0,l,i;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),u(f)}function u(f){return f===96?(e.consume(f),r++,u):(e.exit("codeTextSequence"),a(f))}function a(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),a):f===96?(i=e.enter("codeTextSequence"),l=0,c(f)):j(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(f))}function s(f){return f===null||f===32||f===96||j(f)?(e.exit("codeTextData"),a(f)):(e.consume(f),s)}function c(f){return f===96?(e.consume(f),l++,c):l===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",s(f))}}class Yw{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const l=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return r&&Tr(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Tr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Tr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Tr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Tr(this.left,n.reverse())}}}function Tr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Wh(e){const t={};let n=-1,r,l,i,o,u,a,s;const c=new Yw(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,i=0,i<a.length&&a[i][1].type==="lineEndingBlank"&&(i+=2),i<a.length&&a[i][1].type==="content"))for(;++i<a.length&&a[i][1].type!=="content";)a[i][1].type==="chunkText"&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Xw(c,n)),n=t[n],s=!0);else if(r[1]._container){for(i=n,l=void 0;i--;)if(o=c.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(l&&(c.get(l)[1].type="lineEndingBlank"),o[1].type="lineEnding",l=i);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;l&&(r[1].end={...c.get(l)[1].start},u=c.slice(l,n),u.unshift(r),c.splice(l,n-l+1,u))}}return Et(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function Xw(e,t){const n=e.get(t)[1],r=e.get(t)[2];let l=t-1;const i=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,a=[],s={};let c,f,d=-1,p=n,w=0,v=0;const E=[v];for(;p;){for(;e.get(++l)[1]!==p;);i.push(l),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++d<u.length;)u[d][0]==="exit"&&u[d-1][0]==="enter"&&u[d][1].type===u[d-1][1].type&&u[d][1].start.line!==u[d][1].end.line&&(v=d+1,E.push(v),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):E.pop(),d=E.length;d--;){const h=u.slice(E[d],E[d+1]),m=i.pop();a.push([m,m+h.length-1]),e.splice(m,2,h)}for(a.reverse(),d=-1;++d<a.length;)s[w+a[d][0]]=w+a[d][1],w+=a[d][1]-a[d][0]-1;return s}const Kw={resolve:qw,tokenize:Jw},Gw={partial:!0,tokenize:Zw};function qw(e){return Wh(e),e}function Jw(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),l(u)}function l(u){return u===null?i(u):j(u)?e.check(Gw,o,i)(u):(e.consume(u),l)}function i(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,l}}function Zw(e,t,n){const r=this;return l;function l(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),te(e,i,"linePrefix")}function i(o){if(o===null||j(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Qh(e,t,n,r,l,i,o,u,a){const s=a||Number.POSITIVE_INFINITY;let c=0;return f;function f(h){return h===60?(e.enter(r),e.enter(l),e.enter(i),e.consume(h),e.exit(i),d):h===null||h===32||h===41||ua(h)?n(h):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),v(h))}function d(h){return h===62?(e.enter(i),e.consume(h),e.exit(i),e.exit(l),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===62?(e.exit("chunkString"),e.exit(u),d(h)):h===null||h===60||j(h)?n(h):(e.consume(h),h===92?w:p)}function w(h){return h===60||h===62||h===92?(e.consume(h),p):p(h)}function v(h){return!c&&(h===null||h===41||Ue(h))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(h)):c<s&&h===40?(e.consume(h),c++,v):h===41?(e.consume(h),c--,v):h===null||h===32||h===40||ua(h)?n(h):(e.consume(h),h===92?E:v)}function E(h){return h===40||h===41||h===92?(e.consume(h),v):v(h)}}function Yh(e,t,n,r,l,i){const o=this;let u=0,a;return s;function s(p){return e.enter(r),e.enter(l),e.consume(p),e.exit(l),e.enter(i),c}function c(p){return u>999||p===null||p===91||p===93&&!a||p===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(i),e.enter(l),e.consume(p),e.exit(l),e.exit(r),t):j(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||j(p)||u++>999?(e.exit("chunkString"),c(p)):(e.consume(p),a||(a=!Y(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),u++,f):f(p)}}function Xh(e,t,n,r,l,i){let o;return u;function u(d){return d===34||d===39||d===40?(e.enter(r),e.enter(l),e.consume(d),e.exit(l),o=d===40?41:d,a):n(d)}function a(d){return d===o?(e.enter(l),e.consume(d),e.exit(l),e.exit(r),t):(e.enter(i),s(d))}function s(d){return d===o?(e.exit(i),a(o)):d===null?n(d):j(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),te(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||j(d)?(e.exit("chunkString"),s(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function $r(e,t){let n;return r;function r(l){return j(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):Y(l)?te(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}const ek={name:"definition",tokenize:nk},tk={partial:!0,tokenize:rk};function nk(e,t,n){const r=this;let l;return i;function i(p){return e.enter("definition"),o(p)}function o(p){return Yh.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return l=er(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a):n(p)}function a(p){return Ue(p)?$r(e,s)(p):s(p)}function s(p){return Qh(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(tk,f,f)(p)}function f(p){return Y(p)?te(e,d,"whitespace")(p):d(p)}function d(p){return p===null||j(p)?(e.exit("definition"),r.parser.defined.push(l),t(p)):n(p)}}function rk(e,t,n){return r;function r(u){return Ue(u)?$r(e,l)(u):n(u)}function l(u){return Xh(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return Y(u)?te(e,o,"whitespace")(u):o(u)}function o(u){return u===null||j(u)?t(u):n(u)}}const lk={name:"hardBreakEscape",tokenize:ik};function ik(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),l}function l(i){return j(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const ok={name:"headingAtx",resolve:uk,tokenize:ak};function uk(e,t){let n=e.length-2,r=3,l,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(l={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Et(e,r,n-r+1,[["enter",l,t],["enter",i,t],["exit",i,t],["exit",l,t]])),e}function ak(e,t,n){let r=0;return l;function l(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||Ue(c)?(e.exit("atxHeadingSequence"),u(c)):n(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||j(c)?(e.exit("atxHeading"),t(c)):Y(c)?te(e,u,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),u(c))}function s(c){return c===null||c===35||Ue(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),s)}}const sk=["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"],Ef=["pre","script","style","textarea"],ck={concrete:!0,name:"htmlFlow",resolveTo:dk,tokenize:hk},fk={partial:!0,tokenize:gk},pk={partial:!0,tokenize:mk};function dk(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function hk(e,t,n){const r=this;let l,i,o,u,a;return s;function s(k){return c(k)}function c(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),d):k===47?(e.consume(k),i=!0,v):k===63?(e.consume(k),l=3,r.interrupt?t:y):kt(k)?(e.consume(k),o=String.fromCharCode(k),E):n(k)}function d(k){return k===45?(e.consume(k),l=2,p):k===91?(e.consume(k),l=5,u=0,w):kt(k)?(e.consume(k),l=4,r.interrupt?t:y):n(k)}function p(k){return k===45?(e.consume(k),r.interrupt?t:y):n(k)}function w(k){const ye="CDATA[";return k===ye.charCodeAt(u++)?(e.consume(k),u===ye.length?r.interrupt?t:A:w):n(k)}function v(k){return kt(k)?(e.consume(k),o=String.fromCharCode(k),E):n(k)}function E(k){if(k===null||k===47||k===62||Ue(k)){const ye=k===47,it=o.toLowerCase();return!ye&&!i&&Ef.includes(it)?(l=1,r.interrupt?t(k):A(k)):sk.includes(o.toLowerCase())?(l=6,ye?(e.consume(k),h):r.interrupt?t(k):A(k)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(k):i?m(k):g(k))}return k===45||Qe(k)?(e.consume(k),o+=String.fromCharCode(k),E):n(k)}function h(k){return k===62?(e.consume(k),r.interrupt?t:A):n(k)}function m(k){return Y(k)?(e.consume(k),m):M(k)}function g(k){return k===47?(e.consume(k),M):k===58||k===95||kt(k)?(e.consume(k),S):Y(k)?(e.consume(k),g):M(k)}function S(k){return k===45||k===46||k===58||k===95||Qe(k)?(e.consume(k),S):_(k)}function _(k){return k===61?(e.consume(k),x):Y(k)?(e.consume(k),_):g(k)}function x(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),a=k,T):Y(k)?(e.consume(k),x):L(k)}function T(k){return k===a?(e.consume(k),a=null,F):k===null||j(k)?n(k):(e.consume(k),T)}function L(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||Ue(k)?_(k):(e.consume(k),L)}function F(k){return k===47||k===62||Y(k)?g(k):n(k)}function M(k){return k===62?(e.consume(k),O):n(k)}function O(k){return k===null||j(k)?A(k):Y(k)?(e.consume(k),O):n(k)}function A(k){return k===45&&l===2?(e.consume(k),he):k===60&&l===1?(e.consume(k),pe):k===62&&l===4?(e.consume(k),W):k===63&&l===3?(e.consume(k),y):k===93&&l===5?(e.consume(k),B):j(k)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(fk,q,X)(k)):k===null||j(k)?(e.exit("htmlFlowData"),X(k)):(e.consume(k),A)}function X(k){return e.check(pk,oe,q)(k)}function oe(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),$}function $(k){return k===null||j(k)?X(k):(e.enter("htmlFlowData"),A(k))}function he(k){return k===45?(e.consume(k),y):A(k)}function pe(k){return k===47?(e.consume(k),o="",R):A(k)}function R(k){if(k===62){const ye=o.toLowerCase();return Ef.includes(ye)?(e.consume(k),W):A(k)}return kt(k)&&o.length<8?(e.consume(k),o+=String.fromCharCode(k),R):A(k)}function B(k){return k===93?(e.consume(k),y):A(k)}function y(k){return k===62?(e.consume(k),W):k===45&&l===2?(e.consume(k),y):A(k)}function W(k){return k===null||j(k)?(e.exit("htmlFlowData"),q(k)):(e.consume(k),W)}function q(k){return e.exit("htmlFlow"),t(k)}}function mk(e,t,n){const r=this;return l;function l(o){return j(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function gk(e,t,n){return r;function r(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(fo,t,n)}}const yk={name:"htmlText",tokenize:vk};function vk(e,t,n){const r=this;let l,i,o;return u;function u(y){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(y),a}function a(y){return y===33?(e.consume(y),s):y===47?(e.consume(y),_):y===63?(e.consume(y),g):kt(y)?(e.consume(y),L):n(y)}function s(y){return y===45?(e.consume(y),c):y===91?(e.consume(y),i=0,w):kt(y)?(e.consume(y),m):n(y)}function c(y){return y===45?(e.consume(y),p):n(y)}function f(y){return y===null?n(y):y===45?(e.consume(y),d):j(y)?(o=f,pe(y)):(e.consume(y),f)}function d(y){return y===45?(e.consume(y),p):f(y)}function p(y){return y===62?he(y):y===45?d(y):f(y)}function w(y){const W="CDATA[";return y===W.charCodeAt(i++)?(e.consume(y),i===W.length?v:w):n(y)}function v(y){return y===null?n(y):y===93?(e.consume(y),E):j(y)?(o=v,pe(y)):(e.consume(y),v)}function E(y){return y===93?(e.consume(y),h):v(y)}function h(y){return y===62?he(y):y===93?(e.consume(y),h):v(y)}function m(y){return y===null||y===62?he(y):j(y)?(o=m,pe(y)):(e.consume(y),m)}function g(y){return y===null?n(y):y===63?(e.consume(y),S):j(y)?(o=g,pe(y)):(e.consume(y),g)}function S(y){return y===62?he(y):g(y)}function _(y){return kt(y)?(e.consume(y),x):n(y)}function x(y){return y===45||Qe(y)?(e.consume(y),x):T(y)}function T(y){return j(y)?(o=T,pe(y)):Y(y)?(e.consume(y),T):he(y)}function L(y){return y===45||Qe(y)?(e.consume(y),L):y===47||y===62||Ue(y)?F(y):n(y)}function F(y){return y===47?(e.consume(y),he):y===58||y===95||kt(y)?(e.consume(y),M):j(y)?(o=F,pe(y)):Y(y)?(e.consume(y),F):he(y)}function M(y){return y===45||y===46||y===58||y===95||Qe(y)?(e.consume(y),M):O(y)}function O(y){return y===61?(e.consume(y),A):j(y)?(o=O,pe(y)):Y(y)?(e.consume(y),O):F(y)}function A(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),l=y,X):j(y)?(o=A,pe(y)):Y(y)?(e.consume(y),A):(e.consume(y),oe)}function X(y){return y===l?(e.consume(y),l=void 0,$):y===null?n(y):j(y)?(o=X,pe(y)):(e.consume(y),X)}function oe(y){return y===null||y===34||y===39||y===60||y===61||y===96?n(y):y===47||y===62||Ue(y)?F(y):(e.consume(y),oe)}function $(y){return y===47||y===62||Ue(y)?F(y):n(y)}function he(y){return y===62?(e.consume(y),e.exit("htmlTextData"),e.exit("htmlText"),t):n(y)}function pe(y){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),R}function R(y){return Y(y)?te(e,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):B(y)}function B(y){return e.enter("htmlTextData"),o(y)}}const xs={name:"labelEnd",resolveAll:Sk,resolveTo:Ek,tokenize:Ck},wk={tokenize:Pk},kk={tokenize:_k},xk={tokenize:Tk};function Sk(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const l=r.type==="labelImage"?4:2;r.type="data",t+=l}}return e.length!==n.length&&Et(e,0,e.length,n),e}function Ek(e,t){let n=e.length,r=0,l,i,o,u;for(;n--;)if(l=e[n][1],i){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[n][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(i=n,l.type!=="labelLink")){r=2;break}}else l.type==="labelEnd"&&(o=n);const a={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",a,t],["enter",s,t]],u=Ze(u,e.slice(i+1,i+r+3)),u=Ze(u,[["enter",c,t]]),u=Ze(u,ks(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),u=Ze(u,[["exit",c,t],e[o-2],e[o-1],["exit",s,t]]),u=Ze(u,e.slice(o+1)),u=Ze(u,[["exit",a,t]]),Et(e,i,e.length,u),e}function Ck(e,t,n){const r=this;let l=r.events.length,i,o;for(;l--;)if((r.events[l][1].type==="labelImage"||r.events[l][1].type==="labelLink")&&!r.events[l][1]._balanced){i=r.events[l][1];break}return u;function u(d){return i?i._inactive?f(d):(o=r.parser.defined.includes(er(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),a):n(d)}function a(d){return d===40?e.attempt(wk,c,o?c:f)(d):d===91?e.attempt(kk,c,o?s:f)(d):o?c(d):f(d)}function s(d){return e.attempt(xk,c,f)(d)}function c(d){return t(d)}function f(d){return i._balanced=!0,n(d)}}function Pk(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),l}function l(f){return Ue(f)?$r(e,i)(f):i(f)}function i(f){return f===41?c(f):Qh(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Ue(f)?$r(e,a)(f):c(f)}function u(f){return n(f)}function a(f){return f===34||f===39||f===40?Xh(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function s(f){return Ue(f)?$r(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function _k(e,t,n){const r=this;return l;function l(u){return Yh.call(r,e,i,o,"reference","referenceMarker","referenceString")(u)}function i(u){return r.parser.defined.includes(er(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function Tk(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),l}function l(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const Ik={name:"labelStartImage",resolveAll:xs.resolveAll,tokenize:Nk};function Nk(e,t,n){const r=this;return l;function l(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),i}function i(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const Lk={name:"labelStartLink",resolveAll:xs.resolveAll,tokenize:zk};function zk(e,t,n){const r=this;return l;function l(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const qo={name:"lineEnding",tokenize:Rk};function Rk(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),te(e,t,"linePrefix")}}const ni={name:"thematicBreak",tokenize:Ok};function Ok(e,t,n){let r=0,l;return i;function i(s){return e.enter("thematicBreak"),o(s)}function o(s){return l=s,u(s)}function u(s){return s===l?(e.enter("thematicBreakSequence"),a(s)):r>=3&&(s===null||j(s))?(e.exit("thematicBreak"),t(s)):n(s)}function a(s){return s===l?(e.consume(s),r++,a):(e.exit("thematicBreakSequence"),Y(s)?te(e,u,"whitespace")(s):u(s))}}const Me={continuation:{tokenize:Fk},exit:jk,name:"list",tokenize:Ak},Mk={partial:!0,tokenize:Uk},Dk={partial:!0,tokenize:Bk};function Ak(e,t,n){const r=this,l=r.events[r.events.length-1];let i=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,o=0;return u;function u(p){const w=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:aa(p)){if(r.containerState.type||(r.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ni,n,s)(p):s(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(p)}return n(p)}function a(p){return aa(p)&&++o<10?(e.consume(p),a):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),s(p)):n(p)}function s(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(fo,r.interrupt?n:c,e.attempt(Mk,d,f))}function c(p){return r.containerState.initialBlankLine=!0,i++,d(p)}function f(p){return Y(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):n(p)}function d(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Fk(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(fo,l,i);function l(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,te(e,t,"listItemIndent",r.containerState.size+1)(u)}function i(u){return r.containerState.furtherBlankLines||!Y(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Dk,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,te(e,e.attempt(Me,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Bk(e,t,n){const r=this;return te(e,l,"listItemIndent",r.containerState.size+1);function l(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)}}function jk(e){e.exit(this.containerState.type)}function Uk(e,t,n){const r=this;return te(e,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(i){const o=r.events[r.events.length-1];return!Y(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Cf={name:"setextUnderline",resolveTo:Vk,tokenize:bk};function Vk(e,t){let n=e.length,r,l,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(l=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",i?(e.splice(l,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function bk(e,t,n){const r=this;let l;return i;function i(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),l=s,o(s)):n(s)}function o(s){return e.enter("setextHeadingLineSequence"),u(s)}function u(s){return s===l?(e.consume(s),u):(e.exit("setextHeadingLineSequence"),Y(s)?te(e,a,"lineSuffix")(s):a(s))}function a(s){return s===null||j(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const $k={tokenize:Hk};function Hk(e){const t=this,n=e.attempt(fo,r,e.attempt(this.parser.constructs.flowInitial,l,te(e,e.attempt(this.parser.constructs.flow,l,e.attempt(Kw,l)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function l(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Wk={resolveAll:Gh()},Qk=Kh("string"),Yk=Kh("text");function Kh(e){return{resolveAll:Gh(e==="text"?Xk:void 0),tokenize:t};function t(n){const r=this,l=this.parser.constructs[e],i=n.attempt(l,o,u);return o;function o(c){return s(c)?i(c):u(c)}function u(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),a}function a(c){return s(c)?(n.exit("data"),i(c)):(n.consume(c),a)}function s(c){if(c===null)return!0;const f=l[c];let d=-1;if(f)for(;++d<f.length;){const p=f[d];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Gh(e){return t;function t(n,r){let l=-1,i;for(;++l<=n.length;)i===void 0?n[l]&&n[l][1].type==="data"&&(i=l,l++):(!n[l]||n[l][1].type!=="data")&&(l!==i+2&&(n[i][1].end=n[l-1][1].end,n.splice(i+2,l-i-2),l=i+2),i=void 0);return e?e(n,r):n}}function Xk(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],l=t.sliceStream(r);let i=l.length,o=-1,u=0,a;for(;i--;){const s=l[i];if(typeof s=="string"){for(o=s.length;s.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(s===-2)a=!0,u++;else if(s!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const s={type:n===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:r.start._bufferIndex+o,_index:r.start._index+i,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const Kk={42:Me,43:Me,45:Me,48:Me,49:Me,50:Me,51:Me,52:Me,53:Me,54:Me,55:Me,56:Me,57:Me,62:bh},Gk={91:ek},qk={[-2]:Go,[-1]:Go,32:Go},Jk={35:ok,42:ni,45:[Cf,ni],60:ck,61:Cf,95:ni,96:Sf,126:Sf},Zk={38:Hh,92:$h},ex={[-5]:qo,[-4]:qo,[-3]:qo,33:Ik,38:Hh,42:sa,60:[Lw,yk],91:Lk,92:[lk,$h],93:xs,95:sa,96:$w},tx={null:[sa,Wk]},nx={null:[42,95]},rx={null:[]},lx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:nx,contentInitial:Gk,disable:rx,document:Kk,flow:Jk,flowInitial:qk,insideSpan:tx,string:Zk,text:ex},Symbol.toStringTag,{value:"Module"}));function ix(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const l={},i=[];let o=[],u=[];const a={attempt:T(_),check:T(x),consume:m,enter:g,exit:S,interrupt:T(x,{interrupt:!0})},s={code:null,containerState:{},defineSkip:v,events:[],now:w,parser:e,previous:null,sliceSerialize:d,sliceStream:p,write:f};let c=t.tokenize.call(s,a);return t.resolveAll&&i.push(t),s;function f(O){return o=Ze(o,O),E(),o[o.length-1]!==null?[]:(L(t,0),s.events=ks(i,s.events,s),s.events)}function d(O,A){return ux(p(O),A)}function p(O){return ox(o,O)}function w(){const{_bufferIndex:O,_index:A,line:X,column:oe,offset:$}=r;return{_bufferIndex:O,_index:A,line:X,column:oe,offset:$}}function v(O){l[O.line]=O.column,M()}function E(){let O;for(;r._index<o.length;){const A=o[r._index];if(typeof A=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<A.length;)h(A.charCodeAt(r._bufferIndex));else h(A)}}function h(O){c=c(O)}function m(O){j(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,M()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=O}function g(O,A){const X=A||{};return X.type=O,X.start=w(),s.events.push(["enter",X,s]),u.push(X),X}function S(O){const A=u.pop();return A.end=w(),s.events.push(["exit",A,s]),A}function _(O,A){L(O,A.from)}function x(O,A){A.restore()}function T(O,A){return X;function X(oe,$,he){let pe,R,B,y;return Array.isArray(oe)?q(oe):"tokenize"in oe?q([oe]):W(oe);function W(ne){return ht;function ht(Bt){const Tn=Bt!==null&&ne[Bt],In=Bt!==null&&ne.null,wl=[...Array.isArray(Tn)?Tn:Tn?[Tn]:[],...Array.isArray(In)?In:In?[In]:[]];return q(wl)(Bt)}}function q(ne){return pe=ne,R=0,ne.length===0?he:k(ne[R])}function k(ne){return ht;function ht(Bt){return y=F(),B=ne,ne.partial||(s.currentConstruct=ne),ne.name&&s.parser.constructs.disable.null.includes(ne.name)?it():ne.tokenize.call(A?Object.assign(Object.create(s),A):s,a,ye,it)(Bt)}}function ye(ne){return O(B,y),$}function it(ne){return y.restore(),++R<pe.length?k(pe[R]):he}}}function L(O,A){O.resolveAll&&!i.includes(O)&&i.push(O),O.resolve&&Et(s.events,A,s.events.length-A,O.resolve(s.events.slice(A),s)),O.resolveTo&&(s.events=O.resolveTo(s.events,s))}function F(){const O=w(),A=s.previous,X=s.currentConstruct,oe=s.events.length,$=Array.from(u);return{from:oe,restore:he};function he(){r=O,s.previous=A,s.currentConstruct=X,s.events.length=oe,u=$,M()}}function M(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}function ox(e,t){const n=t.start._index,r=t.start._bufferIndex,l=t.end._index,i=t.end._bufferIndex;let o;if(n===l)o=[e[n].slice(r,i)];else{if(o=e.slice(n,l),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}i>0&&o.push(e[l].slice(0,i))}return o}function ux(e,t){let n=-1;const r=[];let l;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=`
125
+ `;break}case-3:{o=`\r
126
+ `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&l)continue;o=" ";break}default:o=String.fromCharCode(i)}l=i===-2,r.push(o)}return r.join("")}function ax(e){const r={constructs:mw([lx,...(e||{}).extensions||[]]),content:l(Ew),defined:[],document:l(Pw),flow:l($k),lazy:{},string:l(Qk),text:l(Yk)};return r;function l(i){return o;function o(u){return ix(r,i,u)}}}function sx(e){for(;!Wh(e););return e}const Pf=/[\0\t\n\r]/g;function cx(){let e=1,t="",n=!0,r;return l;function l(i,o,u){const a=[];let s,c,f,d,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(Pf.lastIndex=f,s=Pf.exec(i),d=s&&s.index!==void 0?s.index:i.length,p=i.charCodeAt(d),!s){t=i.slice(f);break}if(p===10&&f===d&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),f<d&&(a.push(i.slice(f,d)),e+=d-f),p){case 0:{a.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,a.push(-2);e++<c;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}f=d+1}return u&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}const fx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function px(e){return e.replace(fx,dx)}function dx(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const l=n.charCodeAt(1),i=l===120||l===88;return Vh(n.slice(i?2:1),i?16:10)}return ws(n)||e}const qh={}.hasOwnProperty;function hx(e,t,n){return typeof t!="string"&&(n=t,t=void 0),mx(n)(sx(ax(n).document().write(cx()(e,t,!0))))}function mx(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Ls),autolinkProtocol:F,autolinkEmail:F,atxHeading:i(Ts),blockQuote:i(In),characterEscape:F,characterReference:F,codeFenced:i(wl),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(wl,o),codeText:i(sm,o),codeTextData:F,data:F,codeFlowValue:F,definition:i(cm),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(fm),hardBreakEscape:i(Is),hardBreakTrailing:i(Is),htmlFlow:i(Ns,o),htmlFlowData:F,htmlText:i(Ns,o),htmlTextData:F,image:i(pm),label:o,link:i(Ls),listItem:i(dm),listItemValue:d,listOrdered:i(zs,f),listUnordered:i(zs),paragraph:i(hm),reference:k,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Ts),strong:i(mm),thematicBreak:i(ym)},exit:{atxHeading:a(),atxHeadingSequence:_,autolink:a(),autolinkEmail:Tn,autolinkProtocol:Bt,blockQuote:a(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:it,characterReferenceMarkerNumeric:it,characterReferenceValue:ne,characterReference:ht,codeFenced:a(E),codeFencedFence:v,codeFencedFenceInfo:p,codeFencedFenceMeta:w,codeFlowValue:M,codeIndented:a(h),codeText:a($),codeTextData:M,data:M,definition:a(),definitionDestinationString:S,definitionLabelString:m,definitionTitleString:g,emphasis:a(),hardBreakEscape:a(A),hardBreakTrailing:a(A),htmlFlow:a(X),htmlFlowData:M,htmlText:a(oe),htmlTextData:M,image:a(pe),label:B,labelText:R,lineEnding:O,link:a(he),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:ye,resourceDestinationString:y,resourceTitleString:W,resource:q,setextHeading:a(L),setextHeadingLineSequence:T,setextHeadingText:x,strong:a(),thematicBreak:a()}};Jh(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(P){let z={type:"root",children:[]};const U={stack:[z],tokenStack:[],config:t,enter:u,exit:s,buffer:o,resume:c,data:n},H=[];let J=-1;for(;++J<P.length;)if(P[J][1].type==="listOrdered"||P[J][1].type==="listUnordered")if(P[J][0]==="enter")H.push(J);else{const ot=H.pop();J=l(P,ot,J)}for(J=-1;++J<P.length;){const ot=t[P[J][0]];qh.call(ot,P[J][1].type)&&ot[P[J][1].type].call(Object.assign({sliceSerialize:P[J][2].sliceSerialize},U),P[J][1])}if(U.tokenStack.length>0){const ot=U.tokenStack[U.tokenStack.length-1];(ot[1]||_f).call(U,void 0,ot[0])}for(z.position={start:Ut(P.length>0?P[0][1].start:{line:1,column:1,offset:0}),end:Ut(P.length>0?P[P.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)z=t.transforms[J](z)||z;return z}function l(P,z,U){let H=z-1,J=-1,ot=!1,cn,Ct,yr,vr;for(;++H<=U;){const be=P[H];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?J++:J--,vr=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(cn&&!vr&&!J&&!yr&&(yr=H),vr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:vr=void 0}if(!J&&be[0]==="enter"&&be[1].type==="listItemPrefix"||J===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(cn){let Nn=H;for(Ct=void 0;Nn--;){const Pt=P[Nn];if(Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank"){if(Pt[0]==="exit")continue;Ct&&(P[Ct][1].type="lineEndingBlank",ot=!0),Pt[1].type="lineEnding",Ct=Nn}else if(!(Pt[1].type==="linePrefix"||Pt[1].type==="blockQuotePrefix"||Pt[1].type==="blockQuotePrefixWhitespace"||Pt[1].type==="blockQuoteMarker"||Pt[1].type==="listItemIndent"))break}yr&&(!Ct||yr<Ct)&&(cn._spread=!0),cn.end=Object.assign({},Ct?P[Ct][1].start:be[1].end),P.splice(Ct||H,0,["exit",cn,be[2]]),H++,U++}if(be[1].type==="listItemPrefix"){const Nn={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};cn=Nn,P.splice(H,0,["enter",Nn,be[2]]),H++,U++,yr=void 0,vr=!0}}}return P[z][1]._spread=ot,U}function i(P,z){return U;function U(H){u.call(this,P(H),H),z&&z.call(this,H)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(P,z,U){this.stack[this.stack.length-1].children.push(P),this.stack.push(P),this.tokenStack.push([z,U||void 0]),P.position={start:Ut(z.start),end:void 0}}function a(P){return z;function z(U){P&&P.call(this,U),s.call(this,U)}}function s(P,z){const U=this.stack.pop(),H=this.tokenStack.pop();if(H)H[0].type!==P.type&&(z?z.call(this,P,H[0]):(H[1]||_f).call(this,P,H[0]));else throw new Error("Cannot close `"+P.type+"` ("+br({start:P.start,end:P.end})+"): it’s not open");U.position.end=Ut(P.end)}function c(){return dw(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(P){if(this.data.expectingFirstListItemValue){const z=this.stack[this.stack.length-2];z.start=Number.parseInt(this.sliceSerialize(P),10),this.data.expectingFirstListItemValue=void 0}}function p(){const P=this.resume(),z=this.stack[this.stack.length-1];z.lang=P}function w(){const P=this.resume(),z=this.stack[this.stack.length-1];z.meta=P}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const P=this.resume(),z=this.stack[this.stack.length-1];z.value=P.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function h(){const P=this.resume(),z=this.stack[this.stack.length-1];z.value=P.replace(/(\r?\n|\r)$/g,"")}function m(P){const z=this.resume(),U=this.stack[this.stack.length-1];U.label=z,U.identifier=er(this.sliceSerialize(P)).toLowerCase()}function g(){const P=this.resume(),z=this.stack[this.stack.length-1];z.title=P}function S(){const P=this.resume(),z=this.stack[this.stack.length-1];z.url=P}function _(P){const z=this.stack[this.stack.length-1];if(!z.depth){const U=this.sliceSerialize(P).length;z.depth=U}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function T(P){const z=this.stack[this.stack.length-1];z.depth=this.sliceSerialize(P).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function F(P){const U=this.stack[this.stack.length-1].children;let H=U[U.length-1];(!H||H.type!=="text")&&(H=gm(),H.position={start:Ut(P.start),end:void 0},U.push(H)),this.stack.push(H)}function M(P){const z=this.stack.pop();z.value+=this.sliceSerialize(P),z.position.end=Ut(P.end)}function O(P){const z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const U=z.children[z.children.length-1];U.position.end=Ut(P.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(z.type)&&(F.call(this,P),M.call(this,P))}function A(){this.data.atHardBreak=!0}function X(){const P=this.resume(),z=this.stack[this.stack.length-1];z.value=P}function oe(){const P=this.resume(),z=this.stack[this.stack.length-1];z.value=P}function $(){const P=this.resume(),z=this.stack[this.stack.length-1];z.value=P}function he(){const P=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";P.type+="Reference",P.referenceType=z,delete P.url,delete P.title}else delete P.identifier,delete P.label;this.data.referenceType=void 0}function pe(){const P=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";P.type+="Reference",P.referenceType=z,delete P.url,delete P.title}else delete P.identifier,delete P.label;this.data.referenceType=void 0}function R(P){const z=this.sliceSerialize(P),U=this.stack[this.stack.length-2];U.label=px(z),U.identifier=er(z).toLowerCase()}function B(){const P=this.stack[this.stack.length-1],z=this.resume(),U=this.stack[this.stack.length-1];if(this.data.inReference=!0,U.type==="link"){const H=P.children;U.children=H}else U.alt=z}function y(){const P=this.resume(),z=this.stack[this.stack.length-1];z.url=P}function W(){const P=this.resume(),z=this.stack[this.stack.length-1];z.title=P}function q(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function ye(P){const z=this.resume(),U=this.stack[this.stack.length-1];U.label=z,U.identifier=er(this.sliceSerialize(P)).toLowerCase(),this.data.referenceType="full"}function it(P){this.data.characterReferenceType=P.type}function ne(P){const z=this.sliceSerialize(P),U=this.data.characterReferenceType;let H;U?(H=Vh(z,U==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):H=ws(z);const J=this.stack[this.stack.length-1];J.value+=H}function ht(P){const z=this.stack.pop();z.position.end=Ut(P.end)}function Bt(P){M.call(this,P);const z=this.stack[this.stack.length-1];z.url=this.sliceSerialize(P)}function Tn(P){M.call(this,P);const z=this.stack[this.stack.length-1];z.url="mailto:"+this.sliceSerialize(P)}function In(){return{type:"blockquote",children:[]}}function wl(){return{type:"code",lang:null,meta:null,value:""}}function sm(){return{type:"inlineCode",value:""}}function cm(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function fm(){return{type:"emphasis",children:[]}}function Ts(){return{type:"heading",depth:0,children:[]}}function Is(){return{type:"break"}}function Ns(){return{type:"html",value:""}}function pm(){return{type:"image",title:null,url:"",alt:null}}function Ls(){return{type:"link",title:null,url:"",children:[]}}function zs(P){return{type:"list",ordered:P.type==="listOrdered",start:null,spread:P._spread,children:[]}}function dm(P){return{type:"listItem",spread:P._spread,checked:null,children:[]}}function hm(){return{type:"paragraph",children:[]}}function mm(){return{type:"strong",children:[]}}function gm(){return{type:"text",value:""}}function ym(){return{type:"thematicBreak"}}}function Ut(e){return{line:e.line,column:e.column,offset:e.offset}}function Jh(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Jh(e,r):gx(e,r)}}function gx(e,t){let n;for(n in t)if(qh.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function _f(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+br({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+br({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+br({start:t.start,end:t.end})+") is still open")}function yx(e){const t=this;t.parser=n;function n(r){return hx(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function vx(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function wx(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
127
+ `}]}function kx(e,t){const n=t.value?t.value+`
128
+ `:"",r={},l=t.lang?t.lang.split(/\s+/):[];l.length>0&&(r.className=["language-"+l[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function xx(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Sx(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ex(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),l=gr(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,u+=1,e.footnoteCounts.set(r,u);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function Cx(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Px(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Zh(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const l=e.all(t),i=l[0];i&&i.type==="text"?i.value="["+i.value:l.unshift({type:"text",value:"["});const o=l[l.length-1];return o&&o.type==="text"?o.value+=r:l.push({type:"text",value:r}),l}function _x(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zh(e,t);const l={src:gr(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,i),e.applyData(t,i)}function Tx(e,t){const n={src:gr(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Ix(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Nx(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zh(e,t);const l={href:gr(r.url||"")};r.title!==null&&r.title!==void 0&&(l.title=r.title);const i={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Lx(e,t){const n={href:gr(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zx(e,t,n){const r=e.all(t),l=n?Rx(n):em(t),i={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const c=r[u];(l||u!==0||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
129
+ `}),c.type==="element"&&c.tagName==="p"&&!l?o.push(...c.children):o.push(c)}const a=r[r.length-1];a&&(l||a.type!=="element"||a.tagName!=="p")&&o.push({type:"text",value:`
130
+ `});const s={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,s),e.applyData(t,s)}function Rx(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=em(n[r])}return t}function em(e){const t=e.spread;return t??e.children.length>1}function Ox(e,t){const n={},r=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++l<r.length;){const o=r[l];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function Mx(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Dx(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Ax(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fx(e,t){const n=e.all(t),r=n.shift(),l=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),l.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=ms(t.children[1]),a=Mh(t.children[t.children.length-1]);u&&a&&(o.position={start:u,end:a}),l.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,i),e.applyData(t,i)}function Bx(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,u=o?o.length:t.children.length;let a=-1;const s=[];for(;++a<u;){const f=t.children[a],d={},p=o?o[a]:void 0;p&&(d.align=p);let w={type:"element",tagName:i,properties:d,children:[]};f&&(w.children=e.all(f),e.patch(f,w),w=e.applyData(f,w)),s.push(w)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)}function jx(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Tf=9,If=32;function Ux(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),l=0;const i=[];for(;r;)i.push(Nf(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return i.push(Nf(t.slice(l),l>0,!1)),i.join("")}function Nf(e,t,n){let r=0,l=e.length;if(t){let i=e.codePointAt(r);for(;i===Tf||i===If;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(l-1);for(;i===Tf||i===If;)l--,i=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}function Vx(e,t){const n={type:"text",value:Ux(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function bx(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const $x={blockquote:vx,break:wx,code:kx,delete:xx,emphasis:Sx,footnoteReference:Ex,heading:Cx,html:Px,imageReference:_x,image:Tx,inlineCode:Ix,linkReference:Nx,link:Lx,listItem:zx,list:Ox,paragraph:Mx,root:Dx,strong:Ax,table:Fx,tableCell:jx,tableRow:Bx,text:Vx,thematicBreak:bx,toml:jl,yaml:jl,definition:jl,footnoteDefinition:jl};function jl(){}const tm=-1,po=0,Hr=1,zi=2,Ss=3,Es=4,Cs=5,Ps=6,nm=7,rm=8,Lf=typeof self=="object"?self:globalThis,Hx=(e,t)=>{const n=(l,i)=>(e.set(i,l),l),r=l=>{if(e.has(l))return e.get(l);const[i,o]=t[l];switch(i){case po:case tm:return n(o,l);case Hr:{const u=n([],l);for(const a of o)u.push(r(a));return u}case zi:{const u=n({},l);for(const[a,s]of o)u[r(a)]=r(s);return u}case Ss:return n(new Date(o),l);case Es:{const{source:u,flags:a}=o;return n(new RegExp(u,a),l)}case Cs:{const u=n(new Map,l);for(const[a,s]of o)u.set(r(a),r(s));return u}case Ps:{const u=n(new Set,l);for(const a of o)u.add(r(a));return u}case nm:{const{name:u,message:a}=o;return n(new Lf[u](a),l)}case rm:return n(BigInt(o),l);case"BigInt":return n(Object(BigInt(o)),l);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:u}=new Uint8Array(o);return n(new DataView(u),o)}}return n(new Lf[i](o),l)};return r},zf=e=>Hx(new Map,e)(0),On="",{toString:Wx}={},{keys:Qx}=Object,Ir=e=>{const t=typeof e;if(t!=="object"||!e)return[po,t];const n=Wx.call(e).slice(8,-1);switch(n){case"Array":return[Hr,On];case"Object":return[zi,On];case"Date":return[Ss,On];case"RegExp":return[Es,On];case"Map":return[Cs,On];case"Set":return[Ps,On];case"DataView":return[Hr,n]}return n.includes("Array")?[Hr,n]:n.includes("Error")?[nm,n]:[zi,n]},Ul=([e,t])=>e===po&&(t==="function"||t==="symbol"),Yx=(e,t,n,r)=>{const l=(o,u)=>{const a=r.push(o)-1;return n.set(u,a),a},i=o=>{if(n.has(o))return n.get(o);let[u,a]=Ir(o);switch(u){case po:{let c=o;switch(a){case"bigint":u=rm,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);c=null;break;case"undefined":return l([tm],o)}return l([u,c],o)}case Hr:{if(a){let d=o;return a==="DataView"?d=new Uint8Array(o.buffer):a==="ArrayBuffer"&&(d=new Uint8Array(o)),l([a,[...d]],o)}const c=[],f=l([u,c],o);for(const d of o)c.push(i(d));return f}case zi:{if(a)switch(a){case"BigInt":return l([a,o.toString()],o);case"Boolean":case"Number":case"String":return l([a,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const c=[],f=l([u,c],o);for(const d of Qx(o))(e||!Ul(Ir(o[d])))&&c.push([i(d),i(o[d])]);return f}case Ss:return l([u,o.toISOString()],o);case Es:{const{source:c,flags:f}=o;return l([u,{source:c,flags:f}],o)}case Cs:{const c=[],f=l([u,c],o);for(const[d,p]of o)(e||!(Ul(Ir(d))||Ul(Ir(p))))&&c.push([i(d),i(p)]);return f}case Ps:{const c=[],f=l([u,c],o);for(const d of o)(e||!Ul(Ir(d)))&&c.push(i(d));return f}}const{message:s}=o;return l([u,{name:a,message:s}],o)};return i},Rf=(e,{json:t,lossy:n}={})=>{const r=[];return Yx(!(t||n),!!t,new Map,r)(e),r},Ri=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?zf(Rf(e,t)):structuredClone(e):(e,t)=>zf(Rf(e,t));function Xx(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Kx(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Gx(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Xx,r=e.options.footnoteBackLabel||Kx,l=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let a=-1;for(;++a<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[a]);if(!s)continue;const c=e.all(s),f=String(s.identifier).toUpperCase(),d=gr(f.toLowerCase());let p=0;const w=[],v=e.footnoteCounts.get(f);for(;v!==void 0&&++p<=v;){w.length>0&&w.push({type:"text",value:" "});let m=typeof n=="string"?n:n(a,p);typeof m=="string"&&(m={type:"text",value:m}),w.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(a,p),className:["data-footnote-backref"]},children:Array.isArray(m)?m:[m]})}const E=c[c.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const m=E.children[E.children.length-1];m&&m.type==="text"?m.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...w)}else c.push(...w);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(c,!0)};e.patch(s,h),u.push(h)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Ri(o),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
131
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
132
+ `}]}}const lm=function(e){if(e==null)return eS;if(typeof e=="function")return ho(e);if(typeof e=="object")return Array.isArray(e)?qx(e):Jx(e);if(typeof e=="string")return Zx(e);throw new Error("Expected function, string, or object as test")};function qx(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=lm(e[n]);return ho(r);function r(...l){let i=-1;for(;++i<t.length;)if(t[i].apply(this,l))return!0;return!1}}function Jx(e){const t=e;return ho(n);function n(r){const l=r;let i;for(i in e)if(l[i]!==t[i])return!1;return!0}}function Zx(e){return ho(t);function t(n){return n&&n.type===e}}function ho(e){return t;function t(n,r,l){return!!(tS(n)&&e.call(this,n,typeof r=="number"?r:void 0,l||void 0))}}function eS(){return!0}function tS(e){return e!==null&&typeof e=="object"&&"type"in e}const im=[],nS=!0,Of=!1,rS="skip";function lS(e,t,n,r){let l;typeof t=="function"&&typeof n!="function"?(r=n,n=t):l=t;const i=lm(l),o=r?-1:1;u(e,void 0,[])();function u(a,s,c){const f=a&&typeof a=="object"?a:{};if(typeof f.type=="string"){const p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(a.type+(p?"<"+p+">":""))+")"})}return d;function d(){let p=im,w,v,E;if((!t||i(a,s,c[c.length-1]||void 0))&&(p=iS(n(a,c)),p[0]===Of))return p;if("children"in a&&a.children){const h=a;if(h.children&&p[0]!==rS)for(v=(r?h.children.length:-1)+o,E=c.concat(h);v>-1&&v<h.children.length;){const m=h.children[v];if(w=u(m,v,E)(),w[0]===Of)return w;v=typeof w[1]=="number"?w[1]:v+o}}return p}}}function iS(e){return Array.isArray(e)?e:typeof e=="number"?[nS,e]:e==null?im:[e]}function om(e,t,n,r){let l,i,o;typeof t=="function"&&typeof n!="function"?(i=void 0,o=t,l=n):(i=t,o=n,l=r),lS(e,i,u,l);function u(a,s){const c=s[s.length-1],f=c?c.children.indexOf(a):void 0;return o(a,f,c)}}const ca={}.hasOwnProperty,oS={};function uS(e,t){const n=t||oS,r=new Map,l=new Map,i=new Map,o={...$x,...n.handlers},u={all:s,applyData:sS,definitionById:r,footnoteById:l,footnoteCounts:i,footnoteOrder:[],handlers:o,one:a,options:n,patch:aS,wrap:fS};return om(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:l,d=String(c.identifier).toUpperCase();f.has(d)||f.set(d,c)}}),u;function a(c,f){const d=c.type,p=u.handlers[d];if(ca.call(u.handlers,d)&&p)return p(u,c,f);if(u.options.passThrough&&u.options.passThrough.includes(d)){if("children"in c){const{children:v,...E}=c,h=Ri(E);return h.children=u.all(c),h}return Ri(c)}return(u.options.unknownHandler||cS)(u,c,f)}function s(c){const f=[];if("children"in c){const d=c.children;let p=-1;for(;++p<d.length;){const w=u.one(d[p],c);if(w){if(p&&d[p-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=Mf(w.value)),!Array.isArray(w)&&w.type==="element")){const v=w.children[0];v&&v.type==="text"&&(v.value=Mf(v.value))}Array.isArray(w)?f.push(...w):f.push(w)}}}return f}}function aS(e,t){e.position&&(t.position=W0(e))}function sS(e,t){let n=t;if(e&&e.data){const r=e.data.hName,l=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&i&&Object.assign(n.properties,Ri(i)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function cS(e,t){const n=t.data||{},r="value"in t&&!(ca.call(n,"hProperties")||ca.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function fS(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
133
+ `});++r<e.length;)r&&n.push({type:"text",value:`
134
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
135
+ `}),n}function Mf(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Df(e,t){const n=uS(e,t),r=n.one(e,void 0),l=Gx(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&i.children.push({type:"text",value:`
136
+ `},l),i}function pS(e,t){return e&&"run"in e?async function(n,r){const l=Df(n,{file:r,...t});await e.run(l,r)}:function(n,r){return Df(n,{file:r,...e||t})}}function Af(e){if(e)throw e}var ri=Object.prototype.hasOwnProperty,um=Object.prototype.toString,Ff=Object.defineProperty,Bf=Object.getOwnPropertyDescriptor,jf=function(t){return typeof Array.isArray=="function"?Array.isArray(t):um.call(t)==="[object Array]"},Uf=function(t){if(!t||um.call(t)!=="[object Object]")return!1;var n=ri.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ri.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var l;for(l in t);return typeof l>"u"||ri.call(t,l)},Vf=function(t,n){Ff&&n.name==="__proto__"?Ff(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},bf=function(t,n){if(n==="__proto__")if(ri.call(t,n)){if(Bf)return Bf(t,n).value}else return;return t[n]},dS=function e(){var t,n,r,l,i,o,u=arguments[0],a=1,s=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},a=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});a<s;++a)if(t=arguments[a],t!=null)for(n in t)r=bf(u,n),l=bf(t,n),u!==l&&(c&&l&&(Uf(l)||(i=jf(l)))?(i?(i=!1,o=r&&jf(r)?r:[]):o=r&&Uf(r)?r:{},Vf(u,{name:n,newValue:e(c,o,l)})):typeof l<"u"&&Vf(u,{name:n,newValue:l}));return u};const Jo=Oi(dS);function fa(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function hS(){const e=[],t={run:n,use:r};return t;function n(...l){let i=-1;const o=l.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...l);function u(a,...s){const c=e[++i];let f=-1;if(a){o(a);return}for(;++f<l.length;)(s[f]===null||s[f]===void 0)&&(s[f]=l[f]);l=s,c?mS(c,u)(...s):o(null,...s)}}function r(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),t}}function mS(e,t){let n;return r;function r(...o){const u=e.length>o.length;let a;u&&o.push(l);try{a=e.apply(this,o)}catch(s){const c=s;if(u&&n)throw c;return l(c)}u||(a&&a.then&&typeof a.then=="function"?a.then(i,l):a instanceof Error?l(a):i(a))}function l(o,...u){n||(n=!0,t(o,...u))}function i(o){l(null,o)}}const yt={basename:gS,dirname:yS,extname:vS,join:wS,sep:"/"};function gS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');vl(e);let n=0,r=-1,l=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(i){n=l+1;break}}else r<0&&(i=!0,r=l+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,u=t.length-1;for(;l--;)if(e.codePointAt(l)===47){if(i){n=l+1;break}}else o<0&&(i=!0,o=l+1),u>-1&&(e.codePointAt(l)===t.codePointAt(u--)?u<0&&(r=l):(u=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function yS(e){if(vl(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function vS(e){vl(e);let t=e.length,n=-1,r=0,l=-1,i=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),u===46?l<0?l=t:i!==1&&(i=1):l>-1&&(i=-1)}return l<0||n<0||i===0||i===1&&l===n-1&&l===r+1?"":e.slice(l,n)}function wS(...e){let t=-1,n;for(;++t<e.length;)vl(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":kS(n)}function kS(e){vl(e);const t=e.codePointAt(0)===47;let n=xS(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function xS(e,t){let n="",r=0,l=-1,i=0,o=-1,u,a;for(;++o<=e.length;){if(o<e.length)u=e.codePointAt(o);else{if(u===47)break;u=47}if(u===47){if(!(l===o-1||i===1))if(l!==o-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),l=o,i=0;continue}}else if(n.length>0){n="",r=0,l=o,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(l+1,o):n=e.slice(l+1,o),r=o-l-1;l=o,i=0}else u===46&&i>-1?i++:i=-1}return n}function vl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const SS={cwd:ES};function ES(){return"/"}function pa(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function CS(e){if(typeof e=="string")e=new URL(e);else if(!pa(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return PS(e)}function PS(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(t)}const Zo=["history","path","basename","stem","extname","dirname"];class am{constructor(t){let n;t?pa(t)?n={path:t}:typeof t=="string"||_S(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":SS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Zo.length;){const i=Zo[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let l;for(l in n)Zo.includes(l)||(this[l]=n[l])}get basename(){return typeof this.path=="string"?yt.basename(this.path):void 0}set basename(t){tu(t,"basename"),eu(t,"basename"),this.path=yt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?yt.dirname(this.path):void 0}set dirname(t){$f(this.basename,"dirname"),this.path=yt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?yt.extname(this.path):void 0}set extname(t){if(eu(t,"extname"),$f(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=yt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){pa(t)&&(t=CS(t)),tu(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?yt.basename(this.path,this.extname):void 0}set stem(t){tu(t,"stem"),eu(t,"stem"),this.path=yt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const l=this.message(t,n,r);throw l.fatal=!0,l}info(t,n,r){const l=this.message(t,n,r);return l.fatal=void 0,l}message(t,n,r){const l=new Ne(t,n,r);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function eu(e,t){if(e&&e.includes(yt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+yt.sep+"`")}function tu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function $f(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function _S(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const TS=function(e){const r=this.constructor.prototype,l=r[e],i=function(){return l.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},IS={}.hasOwnProperty;class _s extends TS{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=hS()}copy(){const t=new _s;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Jo(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(lu("data",this.frozen),this.namespace[t]=n,this):IS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(lu("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const l=n.call(t,...r);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Vl(t),r=this.parser||this.Parser;return nu("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),nu("process",this.parser||this.Parser),ru("process",this.compiler||this.Compiler),n?l(void 0,n):new Promise(l);function l(i,o){const u=Vl(t),a=r.parse(u);r.run(a,u,function(c,f,d){if(c||!f||!d)return s(c);const p=f,w=r.stringify(p,d);zS(w)?d.value=w:d.result=w,s(c,d)});function s(c,f){c||!f?o(c):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),nu("processSync",this.parser||this.Parser),ru("processSync",this.compiler||this.Compiler),this.process(t,l),Wf("processSync","process",n),r;function l(i,o){n=!0,Af(i),r=o}}run(t,n,r){Hf(t),this.freeze();const l=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(o,u){const a=Vl(n);l.run(t,a,s);function s(c,f,d){const p=f||t;c?u(c):o?o(p):r(void 0,p,d)}}}runSync(t,n){let r=!1,l;return this.run(t,n,i),Wf("runSync","run",r),l;function i(o,u){Af(o),l=u,r=!0}}stringify(t,n){this.freeze();const r=Vl(n),l=this.compiler||this.Compiler;return ru("stringify",l),Hf(t),l(t,r)}use(t,...n){const r=this.attachers,l=this.namespace;if(lu("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(s){if(typeof s=="function")a(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[c,...f]=s;a(c,f)}else o(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function o(s){if(!("plugins"in s)&&!("settings"in s))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");u(s.plugins),s.settings&&(l.settings=Jo(!0,l.settings,s.settings))}function u(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){const f=s[c];i(f)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function a(s,c){let f=-1,d=-1;for(;++f<r.length;)if(r[f][0]===s){d=f;break}if(d===-1)r.push([s,...c]);else if(c.length>0){let[p,...w]=c;const v=r[d][1];fa(v)&&fa(p)&&(p=Jo(!0,v,p)),r[d]=[s,p,...w]}}}}const NS=new _s().freeze();function nu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ru(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function lu(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Hf(e){if(!fa(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wf(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Vl(e){return LS(e)?e:new am(e)}function LS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function zS(e){return typeof e=="string"||RS(e)}function RS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const OS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Qf=[],Yf={allowDangerousHtml:!0},MS=/^(https?|ircs?|mailto|xmpp)$/i,DS=[{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 GS(e){const t=AS(e),n=FS(e);return BS(t.runSync(t.parse(n),n),e)}function AS(e){const t=e.rehypePlugins||Qf,n=e.remarkPlugins||Qf,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Yf}:Yf;return NS().use(yx).use(n).use(pS,r).use(t)}function FS(e){const t=e.children||"",n=new am;return typeof t=="string"&&(n.value=t),n}function BS(e,t){const n=t.allowedElements,r=t.allowElement,l=t.components,i=t.disallowedElements,o=t.skipHtml,u=t.unwrapDisallowed,a=t.urlTransform||jS;for(const c of DS)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+OS+c.id,void 0);return om(e,s),G0(e,{Fragment:go.Fragment,components:l,ignoreInvalidStyle:!0,jsx:go.jsx,jsxs:go.jsxs,passKeys:!0,passNode:!0});function s(c,f,d){if(c.type==="raw"&&d&&typeof f=="number")return o?d.children.splice(f,1):d.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let p;for(p in Ko)if(Object.hasOwn(Ko,p)&&Object.hasOwn(c.properties,p)){const w=c.properties[p],v=Ko[p];(v===null||v.includes(c.tagName))&&(c.properties[p]=a(String(w||""),p,c))}}if(c.type==="element"){let p=n?!n.includes(c.tagName):i?i.includes(c.tagName):!1;if(!p&&r&&typeof f=="number"&&(p=!r(c,f,d)),p&&d&&typeof f=="number")return u&&c.children?d.children.splice(f,1,...c.children):d.children.splice(f,1),f}}}function jS(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return t===-1||l!==-1&&t>l||n!==-1&&t>n||r!==-1&&t>r||MS.test(e.slice(0,t))?e:""}export{ua as A,HS as B,fo as C,te as D,Of as E,Et as F,ks as G,j as H,Y as I,mw as J,VS as K,GS as M,WS as N,XS as P,Dm as R,Mm as W,oh as a,QS as b,z1 as c,hr as d,$S as e,Mv as f,Oi as g,bS as h,Ds as i,go as j,lm as k,lS as l,Sw as m,xw as n,KS as o,er as p,wf as q,C as r,YS as s,om as t,dh as u,US as v,dw as w,Qe as x,kt as y,Ue as z};