assisted-review 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +195 -0
- package/build/claude.js +154 -0
- package/build/claude.js.map +1 -0
- package/build/cli.js +95 -0
- package/build/cli.js.map +1 -0
- package/build/env.js +26 -0
- package/build/env.js.map +1 -0
- package/build/fetch.js +41 -0
- package/build/fetch.js.map +1 -0
- package/build/jira.js +119 -0
- package/build/jira.js.map +1 -0
- package/build/mock-ai.js +47 -0
- package/build/mock-ai.js.map +1 -0
- package/build/parse-diff.js +229 -0
- package/build/parse-diff.js.map +1 -0
- package/build/parse-ref.js +28 -0
- package/build/parse-ref.js.map +1 -0
- package/build/review.js +38 -0
- package/build/review.js.map +1 -0
- package/build/server.js +272 -0
- package/build/server.js.map +1 -0
- package/build/state.js +151 -0
- package/build/state.js.map +1 -0
- package/build/submit.js +123 -0
- package/build/submit.js.map +1 -0
- package/build/types.js +10 -0
- package/build/types.js.map +1 -0
- package/dist/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/dist/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/dist/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/dist/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/dist/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/dist/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/dist/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/dist/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/dist/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-400-normal-BTotfTJu.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-400-normal-DZqxrq2p.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-500-normal-ByOcLdNv.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-500-normal-CocWQlwt.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-600-normal-71GNu3SW.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-600-normal-BGq0mW3O.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-400-normal-Dsrv2Tcn.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-400-normal-g30qAdWV.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-500-normal-Cs5J6C77.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-500-normal-DB5PtV2g.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-600-normal-Bz0x94Yp.woff +0 -0
- package/dist/assets/ibm-plex-sans-cyrillic-ext-600-normal-DUMzJB7m.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-greek-400-normal-D9ESIMu3.woff +0 -0
- package/dist/assets/ibm-plex-sans-greek-400-normal-_efipK4i.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-greek-500-normal-CuWXN6rf.woff +0 -0
- package/dist/assets/ibm-plex-sans-greek-500-normal-JMMifIXV.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-greek-600-normal-D-CqTdkO.woff +0 -0
- package/dist/assets/ibm-plex-sans-greek-600-normal-DzTrcv_p.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-400-normal-CDDApCn2.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-400-normal-CYLoc0-x.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-500-normal-6ng42L7E.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-500-normal-BgVn5rGT.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-600-normal-Cu4Hd6ag.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-600-normal-CuJfVYMP.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-400-normal-C5H60-Va.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-400-normal-RBey6euL.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-500-normal-D0aIdm-b.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-500-normal-DakdToA3.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-600-normal-DIrixKbi.woff +0 -0
- package/dist/assets/ibm-plex-sans-latin-ext-600-normal-DOrvGEcy.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-400-normal-DG4YqDda.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-400-normal-fK1oJ5dG.woff +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-500-normal-BEb3_waV.woff +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-500-normal-e4dixQRQ.woff2 +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-600-normal-DgdngZtN.woff +0 -0
- package/dist/assets/ibm-plex-sans-vietnamese-600-normal-DpPYBSTl.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-400-italic-C_ad97oI.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-400-italic-CygxzOWU.woff +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-400-normal-C7IY3oUc.woff +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-400-normal-CPQ8oqB-.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-ext-400-italic-CPw2or01.woff +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-ext-400-italic-o20Cx6Xj.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-ext-400-normal-BcBv-TKp.woff +0 -0
- package/dist/assets/ibm-plex-serif-cyrillic-ext-400-normal-CxUI4jC_.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-latin-400-italic-BCf4TsCA.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-latin-400-italic-Dd68USph.woff +0 -0
- package/dist/assets/ibm-plex-serif-latin-400-normal-BB-zNvJB.woff +0 -0
- package/dist/assets/ibm-plex-serif-latin-400-normal-BIGslYFI.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-latin-ext-400-italic-4IJS-XHX.woff +0 -0
- package/dist/assets/ibm-plex-serif-latin-ext-400-italic-hOoDEQwh.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-latin-ext-400-normal-CNMooFZX.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-latin-ext-400-normal-DwktX9jl.woff +0 -0
- package/dist/assets/ibm-plex-serif-vietnamese-400-italic-1VBVfWB7.woff +0 -0
- package/dist/assets/ibm-plex-serif-vietnamese-400-italic-BSp0Db6W.woff2 +0 -0
- package/dist/assets/ibm-plex-serif-vietnamese-400-normal-BY9Vij9A.woff +0 -0
- package/dist/assets/ibm-plex-serif-vietnamese-400-normal-DGubAMUE.woff2 +0 -0
- package/dist/assets/index-BAji2qJH.css +1 -0
- package/dist/assets/index-D9hEIdX7.js +326 -0
- package/dist/icon.svg +3 -0
- package/dist/index.html +14 -0
- package/dist/logo-dark.svg +22 -0
- package/dist/logo.svg +22 -0
- package/package.json +73 -0
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
var FD=Object.defineProperty;var qD=(n,r,a)=>r in n?FD(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a;var Jg=(n,r,a)=>qD(n,typeof r!="symbol"?r+"":r,a);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const c of d.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&s(c)}).observe(document,{childList:!0,subtree:!0});function a(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function s(u){if(u.ep)return;u.ep=!0;const d=a(u);fetch(u.href,d)}})();function pp(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Wg={exports:{}},Dh={},e1={exports:{}},$c={exports:{}};$c.exports;var LE;function $D(){return LE||(LE=1,(function(n,r){/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/(function(){function a(N,G){Object.defineProperty(d.prototype,N,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",G[0],G[1])}})}function s(N){return N===null||typeof N!="object"?null:(N=An&&N[An]||N["@@iterator"],typeof N=="function"?N:null)}function u(N,G){N=(N=N.constructor)&&(N.displayName||N.name)||"ReactClass";var me=N+"."+G;De[me]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",G,N),De[me]=!0)}function d(N,G,me){this.props=N,this.context=G,this.refs=it,this.updater=me||Oe}function c(){}function h(N,G,me){this.props=N,this.context=G,this.refs=it,this.updater=me||Oe}function p(){}function b(N){return""+N}function y(N){try{b(N);var G=!1}catch{G=!0}if(G){G=console;var me=G.error,we=typeof Symbol=="function"&&Symbol.toStringTag&&N[Symbol.toStringTag]||N.constructor.name||"Object";return me.call(G,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",we),b(N)}}function g(N){if(N==null)return null;if(typeof N=="function")return N.$$typeof===dr?null:N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case z:return"Fragment";case O:return"Profiler";case pe:return"StrictMode";case $e:return"Suspense";case nt:return"SuspenseList";case Ee:return"Activity"}if(typeof N=="object")switch(typeof N.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),N.$$typeof){case H:return"Portal";case vt:return N.displayName||"Context";case Me:return(N._context.displayName||"Context")+".Consumer";case cn:var G=N.render;return N=N.displayName,N||(N=G.displayName||G.name||"",N=N!==""?"ForwardRef("+N+")":"ForwardRef"),N;case Gt:return G=N.displayName||null,G!==null?G:g(N.type)||"Memo";case Rt:G=N._payload,N=N._init;try{return g(N(G))}catch{}}return null}function v(N){if(N===z)return"<>";if(typeof N=="object"&&N!==null&&N.$$typeof===Rt)return"<...>";try{var G=g(N);return G?"<"+G+">":"<...>"}catch{return"<...>"}}function w(){var N=Re.A;return N===null?null:N.getOwner()}function V(){return Error("react-stack-top-frame")}function D(N){if(kr.call(N,"key")){var G=Object.getOwnPropertyDescriptor(N,"key").get;if(G&&G.isReactWarning)return!1}return N.key!==void 0}function C(N,G){function me(){qi||(qi=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",G))}me.isReactWarning=!0,Object.defineProperty(N,"key",{get:me,configurable:!0})}function k(){var N=g(this.type);return fa[N]||(fa[N]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),N=this.props.ref,N!==void 0?N:null}function j(N,G,me,we,Le,Ye){var _=me.ref;return N={$$typeof:Ve,type:N,key:G,props:me,_owner:we},(_!==void 0?_:null)!==null?Object.defineProperty(N,"ref",{enumerable:!1,get:k}):Object.defineProperty(N,"ref",{enumerable:!1,value:null}),N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(N,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(N,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Le}),Object.defineProperty(N,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N}function U(N,G){return G=j(N.type,G,N.props,N._owner,N._debugStack,N._debugTask),N._store&&(G._store.validated=N._store.validated),G}function Q(N){Y(N)?N._store&&(N._store.validated=1):typeof N=="object"&&N!==null&&N.$$typeof===Rt&&(N._payload.status==="fulfilled"?Y(N._payload.value)&&N._payload.value._store&&(N._payload.value._store.validated=1):N._store&&(N._store.validated=1))}function Y(N){return typeof N=="object"&&N!==null&&N.$$typeof===Ve}function F(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(me){return G[me]})}function fe(N,G){return typeof N=="object"&&N!==null&&N.key!=null?(y(N.key),F(""+N.key)):G.toString(36)}function ie(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(p,p):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function X(N,G,me,we,Le){var Ye=typeof N;(Ye==="undefined"||Ye==="boolean")&&(N=null);var _=!1;if(N===null)_=!0;else switch(Ye){case"bigint":case"string":case"number":_=!0;break;case"object":switch(N.$$typeof){case Ve:case H:_=!0;break;case Rt:return _=N._init,X(_(N._payload),G,me,we,Le)}}if(_){_=N,Le=Le(_);var J=we===""?"."+fe(_,0):we;return Ai(Le)?(me="",J!=null&&(me=J.replace(We,"$&/")+"/"),X(Le,G,me,"",function(je){return je})):Le!=null&&(Y(Le)&&(Le.key!=null&&(_&&_.key===Le.key||y(Le.key)),me=U(Le,me+(Le.key==null||_&&_.key===Le.key?"":(""+Le.key).replace(We,"$&/")+"/")+J),we!==""&&_!=null&&Y(_)&&_.key==null&&_._store&&!_._store.validated&&(me._store.validated=2),Le=me),G.push(Le)),1}if(_=0,J=we===""?".":we+":",Ai(N))for(var ce=0;ce<N.length;ce++)we=N[ce],Ye=J+fe(we,ce),_+=X(we,G,me,Ye,Le);else if(ce=s(N),typeof ce=="function")for(ce===N.entries&&(ke||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ke=!0),N=ce.call(N),ce=0;!(we=N.next()).done;)we=we.value,Ye=J+fe(we,ce++),_+=X(we,G,me,Ye,Le);else if(Ye==="object"){if(typeof N.then=="function")return X(ie(N),G,me,we,Le);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return _}function R(N,G,me){if(N==null)return N;var we=[],Le=0;return X(N,we,"","",function(Ye){return G.call(me,Ye,Le++)}),we}function xe(N){if(N._status===-1){var G=N._ioInfo;G!=null&&(G.start=G.end=performance.now()),G=N._result;var me=G();if(me.then(function(Le){if(N._status===0||N._status===-1){N._status=1,N._result=Le;var Ye=N._ioInfo;Ye!=null&&(Ye.end=performance.now()),me.status===void 0&&(me.status="fulfilled",me.value=Le)}},function(Le){if(N._status===0||N._status===-1){N._status=2,N._result=Le;var Ye=N._ioInfo;Ye!=null&&(Ye.end=performance.now()),me.status===void 0&&(me.status="rejected",me.reason=Le)}}),G=N._ioInfo,G!=null){G.value=me;var we=me.displayName;typeof we=="string"&&(G.name=we)}N._status===-1&&(N._status=0,N._result=me)}if(N._status===1)return G=N._result,G===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
10
|
+
|
|
11
|
+
Your code should look like:
|
|
12
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
13
|
+
|
|
14
|
+
Did you accidentally put curly braces around the import?`,G),"default"in G||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
15
|
+
|
|
16
|
+
Your code should look like:
|
|
17
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,G),G.default;throw N._result}function de(){var N=Re.H;return N===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
18
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
19
|
+
2. You might be breaking the Rules of Hooks
|
|
20
|
+
3. You might have more than one copy of React in the same app
|
|
21
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),N}function ae(){Re.asyncTransitions--}function ee(N){if(Hn===null)try{var G=("require"+Math.random()).slice(0,7);Hn=(n&&n[G]).call(n,"timers").setImmediate}catch{Hn=function(we){rn===!1&&(rn=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Le=new MessageChannel;Le.port1.onmessage=we,Le.port2.postMessage(void 0)}}return Hn(N)}function ue(N){return 1<N.length&&typeof AggregateError=="function"?new AggregateError(N):N[0]}function W(N,G){G!==fn-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),fn=G}function ve(N,G,me){var we=Re.actQueue;if(we!==null)if(we.length!==0)try{le(we),ee(function(){return ve(N,G,me)});return}catch(Le){Re.thrownErrors.push(Le)}else Re.actQueue=null;0<Re.thrownErrors.length?(we=ue(Re.thrownErrors),Re.thrownErrors.length=0,me(we)):G(N)}function le(N){if(!mi){mi=!0;var G=0;try{for(;G<N.length;G++){var me=N[G];do{Re.didUsePromise=!1;var we=me(!1);if(we!==null){if(Re.didUsePromise){N[G]=me,N.splice(0,G);return}me=we}else break}while(!0)}N.length=0}catch(Le){N.splice(0,G+1),Re.thrownErrors.push(Le)}finally{mi=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ve=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),Me=Symbol.for("react.consumer"),vt=Symbol.for("react.context"),cn=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),nt=Symbol.for("react.suspense_list"),Gt=Symbol.for("react.memo"),Rt=Symbol.for("react.lazy"),Ee=Symbol.for("react.activity"),An=Symbol.iterator,De={},Oe={isMounted:function(){return!1},enqueueForceUpdate:function(N){u(N,"forceUpdate")},enqueueReplaceState:function(N){u(N,"replaceState")},enqueueSetState:function(N){u(N,"setState")}},tt=Object.assign,it={};Object.freeze(it),d.prototype.isReactComponent={},d.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,G,"setState")},d.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};var Qt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(zn in Qt)Qt.hasOwnProperty(zn)&&a(zn,Qt[zn]);c.prototype=d.prototype,Qt=h.prototype=new c,Qt.constructor=h,tt(Qt,d.prototype),Qt.isPureReactComponent=!0;var Ai=Array.isArray,dr=Symbol.for("react.client.reference"),Re={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},kr=Object.prototype.hasOwnProperty,pi=console.createTask?console.createTask:function(){return null};Qt={react_stack_bottom_frame:function(N){return N()}};var qi,kn,fa={},re=Qt.react_stack_bottom_frame.bind(Qt,V)(),oe=pi(v(V)),ke=!1,We=/\/+/g,mt=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},rn=!1,Hn=null,fn=0,Fn=!1,mi=!1,an=typeof queueMicrotask=="function"?function(N){queueMicrotask(function(){return queueMicrotask(N)})}:ee;Qt=Object.freeze({__proto__:null,c:function(N){return de().useMemoCache(N)}});var zn={map:R,forEach:function(N,G,me){R(N,function(){G.apply(this,arguments)},me)},count:function(N){var G=0;return R(N,function(){G++}),G},toArray:function(N){return R(N,function(G){return G})||[]},only:function(N){if(!Y(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};r.Activity=Ee,r.Children=zn,r.Component=d,r.Fragment=z,r.Profiler=O,r.PureComponent=h,r.StrictMode=pe,r.Suspense=$e,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Re,r.__COMPILER_RUNTIME=Qt,r.act=function(N){var G=Re.actQueue,me=fn;fn++;var we=Re.actQueue=G!==null?G:[],Le=!1;try{var Ye=N()}catch(ce){Re.thrownErrors.push(ce)}if(0<Re.thrownErrors.length)throw W(G,me),N=ue(Re.thrownErrors),Re.thrownErrors.length=0,N;if(Ye!==null&&typeof Ye=="object"&&typeof Ye.then=="function"){var _=Ye;return an(function(){Le||Fn||(Fn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(ce,je){Le=!0,_.then(function(Vt){if(W(G,me),me===0){try{le(we),ee(function(){return ve(Vt,ce,je)})}catch(He){Re.thrownErrors.push(He)}if(0<Re.thrownErrors.length){var It=ue(Re.thrownErrors);Re.thrownErrors.length=0,je(It)}}else ce(Vt)},function(Vt){W(G,me),0<Re.thrownErrors.length&&(Vt=ue(Re.thrownErrors),Re.thrownErrors.length=0),je(Vt)})}}}var J=Ye;if(W(G,me),me===0&&(le(we),we.length!==0&&an(function(){Le||Fn||(Fn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Re.actQueue=null),0<Re.thrownErrors.length)throw N=ue(Re.thrownErrors),Re.thrownErrors.length=0,N;return{then:function(ce,je){Le=!0,me===0?(Re.actQueue=we,ee(function(){return ve(J,ce,je)})):ce(J)}}},r.cache=function(N){return function(){return N.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var N=Re.getCurrentStack;return N===null?null:N()},r.cloneElement=function(N,G,me){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var we=tt({},N.props),Le=N.key,Ye=N._owner;if(G!=null){var _;e:{if(kr.call(G,"ref")&&(_=Object.getOwnPropertyDescriptor(G,"ref").get)&&_.isReactWarning){_=!1;break e}_=G.ref!==void 0}_&&(Ye=w()),D(G)&&(y(G.key),Le=""+G.key);for(J in G)!kr.call(G,J)||J==="key"||J==="__self"||J==="__source"||J==="ref"&&G.ref===void 0||(we[J]=G[J])}var J=arguments.length-2;if(J===1)we.children=me;else if(1<J){_=Array(J);for(var ce=0;ce<J;ce++)_[ce]=arguments[ce+2];we.children=_}for(we=j(N.type,Le,we,Ye,N._debugStack,N._debugTask),Le=2;Le<arguments.length;Le++)Q(arguments[Le]);return we},r.createContext=function(N){return N={$$typeof:vt,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:Me,_context:N},N._currentRenderer=null,N._currentRenderer2=null,N},r.createElement=function(N,G,me){for(var we=2;we<arguments.length;we++)Q(arguments[we]);we={};var Le=null;if(G!=null)for(ce in kn||!("__self"in G)||"key"in G||(kn=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),D(G)&&(y(G.key),Le=""+G.key),G)kr.call(G,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(we[ce]=G[ce]);var Ye=arguments.length-2;if(Ye===1)we.children=me;else if(1<Ye){for(var _=Array(Ye),J=0;J<Ye;J++)_[J]=arguments[J+2];Object.freeze&&Object.freeze(_),we.children=_}if(N&&N.defaultProps)for(ce in Ye=N.defaultProps,Ye)we[ce]===void 0&&(we[ce]=Ye[ce]);Le&&C(we,typeof N=="function"?N.displayName||N.name||"Unknown":N);var ce=1e4>Re.recentlyCreatedOwnerStacks++;return j(N,Le,we,w(),ce?Error("react-stack-top-frame"):re,ce?pi(v(N)):oe)},r.createRef=function(){var N={current:null};return Object.seal(N),N},r.forwardRef=function(N){N!=null&&N.$$typeof===Gt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof N!="function"?console.error("forwardRef requires a render function but was given %s.",N===null?"null":typeof N):N.length!==0&&N.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",N.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),N!=null&&N.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var G={$$typeof:cn,render:N},me;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(we){me=we,N.name||N.displayName||(Object.defineProperty(N,"name",{value:we}),N.displayName=we)}}),G},r.isValidElement=Y,r.lazy=function(N){N={_status:-1,_result:N};var G={$$typeof:Rt,_payload:N,_init:xe},me={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return N._ioInfo=me,G._debugInfo=[{awaited:me}],G},r.memo=function(N,G){N==null&&console.error("memo: The first argument must be a component. Instead received: %s",N===null?"null":typeof N),G={$$typeof:Gt,type:N,compare:G===void 0?null:G};var me;return Object.defineProperty(G,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(we){me=we,N.name||N.displayName||(Object.defineProperty(N,"name",{value:we}),N.displayName=we)}}),G},r.startTransition=function(N){var G=Re.T,me={};me._updatedFibers=new Set,Re.T=me;try{var we=N(),Le=Re.S;Le!==null&&Le(me,we),typeof we=="object"&&we!==null&&typeof we.then=="function"&&(Re.asyncTransitions++,we.then(ae,ae),we.then(p,mt))}catch(Ye){mt(Ye)}finally{G===null&&me._updatedFibers&&(N=me._updatedFibers.size,me._updatedFibers.clear(),10<N&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),G!==null&&me.types!==null&&(G.types!==null&&G.types!==me.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),G.types=me.types),Re.T=G}},r.unstable_useCacheRefresh=function(){return de().useCacheRefresh()},r.use=function(N){return de().use(N)},r.useActionState=function(N,G,me){return de().useActionState(N,G,me)},r.useCallback=function(N,G){return de().useCallback(N,G)},r.useContext=function(N){var G=de();return N.$$typeof===Me&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),G.useContext(N)},r.useDebugValue=function(N,G){return de().useDebugValue(N,G)},r.useDeferredValue=function(N,G){return de().useDeferredValue(N,G)},r.useEffect=function(N,G){return N==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),de().useEffect(N,G)},r.useEffectEvent=function(N){return de().useEffectEvent(N)},r.useId=function(){return de().useId()},r.useImperativeHandle=function(N,G,me){return de().useImperativeHandle(N,G,me)},r.useInsertionEffect=function(N,G){return N==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),de().useInsertionEffect(N,G)},r.useLayoutEffect=function(N,G){return N==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),de().useLayoutEffect(N,G)},r.useMemo=function(N,G){return de().useMemo(N,G)},r.useOptimistic=function(N,G){return de().useOptimistic(N,G)},r.useReducer=function(N,G,me){return de().useReducer(N,G,me)},r.useRef=function(N){return de().useRef(N)},r.useState=function(N){return de().useState(N)},r.useSyncExternalStore=function(N,G,me){return de().useSyncExternalStore(N,G,me)},r.useTransition=function(){return de().useTransition()},r.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})($c,$c.exports)),$c.exports}var BE;function sf(){return BE||(BE=1,e1.exports=$D()),e1.exports}var ZE;function GD(){if(ZE)return Dh;ZE=1;/**
|
|
22
|
+
* @license React
|
|
23
|
+
* react-jsx-dev-runtime.development.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/return(function(){function n(z){if(z==null)return null;if(typeof z=="function")return z.$$typeof===xe?null:z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case C:return"Fragment";case j:return"Profiler";case k:return"StrictMode";case F:return"Suspense";case fe:return"SuspenseList";case R:return"Activity"}if(typeof z=="object")switch(typeof z.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case D:return"Portal";case Q:return z.displayName||"Context";case U:return(z._context.displayName||"Context")+".Consumer";case Y:var pe=z.render;return z=z.displayName,z||(z=pe.displayName||pe.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case ie:return pe=z.displayName||null,pe!==null?pe:n(z.type)||"Memo";case X:pe=z._payload,z=z._init;try{return n(z(pe))}catch{}}return null}function r(z){return""+z}function a(z){try{r(z);var pe=!1}catch{pe=!0}if(pe){pe=console;var O=pe.error,Me=typeof Symbol=="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return O.call(pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Me),r(z)}}function s(z){if(z===C)return"<>";if(typeof z=="object"&&z!==null&&z.$$typeof===X)return"<...>";try{var pe=n(z);return pe?"<"+pe+">":"<...>"}catch{return"<...>"}}function u(){var z=de.A;return z===null?null:z.getOwner()}function d(){return Error("react-stack-top-frame")}function c(z){if(ae.call(z,"key")){var pe=Object.getOwnPropertyDescriptor(z,"key").get;if(pe&&pe.isReactWarning)return!1}return z.key!==void 0}function h(z,pe){function O(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pe))}O.isReactWarning=!0,Object.defineProperty(z,"key",{get:O,configurable:!0})}function p(){var z=n(this.type);return ve[z]||(ve[z]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),z=this.props.ref,z!==void 0?z:null}function b(z,pe,O,Me,vt,cn){var $e=O.ref;return z={$$typeof:V,type:z,key:pe,props:O,_owner:Me},($e!==void 0?$e:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:p}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vt}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:cn}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function y(z,pe,O,Me,vt,cn){var $e=pe.children;if($e!==void 0)if(Me)if(ee($e)){for(Me=0;Me<$e.length;Me++)g($e[Me]);Object.freeze&&Object.freeze($e)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g($e);if(ae.call(pe,"key")){$e=n(z);var nt=Object.keys(pe).filter(function(Rt){return Rt!=="key"});Me=0<nt.length?"{key: someKey, "+nt.join(": ..., ")+": ...}":"{key: someKey}",H[$e+Me]||(nt=0<nt.length?"{"+nt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
30
|
+
let props = %s;
|
|
31
|
+
<%s {...props} />
|
|
32
|
+
React keys must be passed directly to JSX without using spread:
|
|
33
|
+
let props = %s;
|
|
34
|
+
<%s key={someKey} {...props} />`,Me,$e,nt,$e),H[$e+Me]=!0)}if($e=null,O!==void 0&&(a(O),$e=""+O),c(pe)&&(a(pe.key),$e=""+pe.key),"key"in pe){O={};for(var Gt in pe)Gt!=="key"&&(O[Gt]=pe[Gt])}else O=pe;return $e&&h(O,typeof z=="function"?z.displayName||z.name||"Unknown":z),b(z,$e,O,u(),vt,cn)}function g(z){v(z)?z._store&&(z._store.validated=1):typeof z=="object"&&z!==null&&z.$$typeof===X&&(z._payload.status==="fulfilled"?v(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function v(z){return typeof z=="object"&&z!==null&&z.$$typeof===V}var w=sf(),V=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),fe=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),xe=Symbol.for("react.client.reference"),de=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,ee=Array.isArray,ue=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(z){return z()}};var W,ve={},le=w.react_stack_bottom_frame.bind(w,d)(),Ve=ue(s(d)),H={};Dh.Fragment=C,Dh.jsxDEV=function(z,pe,O,Me){var vt=1e4>de.recentlyCreatedOwnerStacks++;return y(z,pe,O,Me,vt?Error("react-stack-top-frame"):le,vt?ue(s(z)):Ve)}})(),Dh}var jE;function YD(){return jE||(jE=1,Wg.exports=GD()),Wg.exports}var A=YD(),he=sf(),t1={exports:{}},Zc={},n1={exports:{}},i1={},UE;function XD(){return UE||(UE=1,(function(n){/**
|
|
35
|
+
* @license React
|
|
36
|
+
* scheduler.development.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/(function(){function r(){if(Y=!1,X){var W=n.unstable_now();de=W;var ve=!0;try{e:{U=!1,Q&&(Q=!1,fe(R),R=-1),j=!0;var le=k;try{t:{for(c(W),C=s(w);C!==null&&!(C.expirationTime>W&&p());){var Ve=C.callback;if(typeof Ve=="function"){C.callback=null,k=C.priorityLevel;var H=Ve(C.expirationTime<=W);if(W=n.unstable_now(),typeof H=="function"){C.callback=H,c(W),ve=!0;break t}C===s(w)&&u(w),c(W)}else u(w);C=s(w)}if(C!==null)ve=!0;else{var z=s(V);z!==null&&b(h,z.startTime-W),ve=!1}}break e}finally{C=null,k=le,j=!1}ve=void 0}}finally{ve?ae():X=!1}}}function a(W,ve){var le=W.length;W.push(ve);e:for(;0<le;){var Ve=le-1>>>1,H=W[Ve];if(0<d(H,ve))W[Ve]=ve,W[le]=H,le=Ve;else break e}}function s(W){return W.length===0?null:W[0]}function u(W){if(W.length===0)return null;var ve=W[0],le=W.pop();if(le!==ve){W[0]=le;e:for(var Ve=0,H=W.length,z=H>>>1;Ve<z;){var pe=2*(Ve+1)-1,O=W[pe],Me=pe+1,vt=W[Me];if(0>d(O,le))Me<H&&0>d(vt,O)?(W[Ve]=vt,W[Me]=le,Ve=Me):(W[Ve]=O,W[pe]=le,Ve=pe);else if(Me<H&&0>d(vt,le))W[Ve]=vt,W[Me]=le,Ve=Me;else break e}}return ve}function d(W,ve){var le=W.sortIndex-ve.sortIndex;return le!==0?le:W.id-ve.id}function c(W){for(var ve=s(V);ve!==null;){if(ve.callback===null)u(V);else if(ve.startTime<=W)u(V),ve.sortIndex=ve.expirationTime,a(w,ve);else break;ve=s(V)}}function h(W){if(Q=!1,c(W),!U)if(s(w)!==null)U=!0,X||(X=!0,ae());else{var ve=s(V);ve!==null&&b(h,ve.startTime-W)}}function p(){return Y?!0:!(n.unstable_now()-de<xe)}function b(W,ve){R=F(function(){W(n.unstable_now())},ve)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;n.unstable_now=function(){return y.now()}}else{var g=Date,v=g.now();n.unstable_now=function(){return g.now()-v}}var w=[],V=[],D=1,C=null,k=3,j=!1,U=!1,Q=!1,Y=!1,F=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,X=!1,R=-1,xe=5,de=-1;if(typeof ie=="function")var ae=function(){ie(r)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,ue=ee.port2;ee.port1.onmessage=r,ae=function(){ue.postMessage(null)}}else ae=function(){F(r,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(W){W.callback=null},n.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):xe=0<W?Math.floor(1e3/W):5},n.unstable_getCurrentPriorityLevel=function(){return k},n.unstable_next=function(W){switch(k){case 1:case 2:case 3:var ve=3;break;default:ve=k}var le=k;k=ve;try{return W()}finally{k=le}},n.unstable_requestPaint=function(){Y=!0},n.unstable_runWithPriority=function(W,ve){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var le=k;k=W;try{return ve()}finally{k=le}},n.unstable_scheduleCallback=function(W,ve,le){var Ve=n.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?Ve+le:Ve):le=Ve,W){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=le+H,W={id:D++,callback:ve,priorityLevel:W,startTime:le,expirationTime:H,sortIndex:-1},le>Ve?(W.sortIndex=le,a(V,W),s(w)===null&&W===s(V)&&(Q?(fe(R),R=-1):Q=!0,b(h,le-Ve))):(W.sortIndex=H,a(w,W),U||j||(U=!0,X||(X=!0,ae()))),W},n.unstable_shouldYield=p,n.unstable_wrapCallback=function(W){var ve=k;return function(){var le=k;k=ve;try{return W.apply(this,arguments)}finally{k=le}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(i1)),i1}var IE;function QD(){return IE||(IE=1,n1.exports=XD()),n1.exports}var r1={exports:{}},Qn={},PE;function KD(){if(PE)return Qn;PE=1;/**
|
|
43
|
+
* @license React
|
|
44
|
+
* react-dom.development.js
|
|
45
|
+
*
|
|
46
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the MIT license found in the
|
|
49
|
+
* LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/return(function(){function n(){}function r(g){return""+g}function a(g,v,w){var V=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(V);var D=!1}catch{D=!0}return D&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object"),r(V)),{$$typeof:b,key:V==null?null:""+V,children:g,containerInfo:v,implementation:w}}function s(g,v){if(g==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}function u(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":'something with type "'+typeof g+'"'}function d(g){return g===null?"`null`":g===void 0?"`undefined`":g===""?"an empty string":typeof g=="string"?JSON.stringify(g):typeof g=="number"?"`"+g+"`":'something with type "'+typeof g+'"'}function c(){var g=y.H;return g===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
51
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
52
|
+
2. You might be breaking the Rules of Hooks
|
|
53
|
+
3. You might have more than one copy of React in the same app
|
|
54
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h=sf(),p={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},b=Symbol.for("react.portal"),y=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p,Qn.createPortal=function(g,v){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error("Target container is not a DOM element.");return a(g,v,null,w)},Qn.flushSync=function(g){var v=y.T,w=p.p;try{if(y.T=null,p.p=2,g)return g()}finally{y.T=v,p.p=w,p.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Qn.preconnect=function(g,v){typeof g=="string"&&g?v!=null&&typeof v!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",d(v)):v!=null&&typeof v.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",u(v.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(g)),typeof g=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,p.d.C(g,v))},Qn.prefetchDNS=function(g){if(typeof g!="string"||!g)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(g));else if(1<arguments.length){var v=arguments[1];typeof v=="object"&&v.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(v)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(v))}typeof g=="string"&&p.d.D(g)},Qn.preinit=function(g,v){if(typeof g=="string"&&g?v==null||typeof v!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",d(v)):v.as!=="style"&&v.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',d(v.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(g)),typeof g=="string"&&v&&typeof v.as=="string"){var w=v.as,V=s(w,v.crossOrigin),D=typeof v.integrity=="string"?v.integrity:void 0,C=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;w==="style"?p.d.S(g,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:V,integrity:D,fetchPriority:C}):w==="script"&&p.d.X(g,{crossOrigin:V,integrity:D,fetchPriority:C,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Qn.preinitModule=function(g,v){var w="";if(typeof g=="string"&&g||(w+=" The `href` argument encountered was "+u(g)+"."),v!==void 0&&typeof v!="object"?w+=" The `options` argument encountered was "+u(v)+".":v&&"as"in v&&v.as!=="script"&&(w+=" The `as` option encountered was "+d(v.as)+"."),w)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",w);else switch(w=v&&typeof v.as=="string"?v.as:"script",w){case"script":break;default:w=d(w),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',w,g)}typeof g=="string"&&(typeof v=="object"&&v!==null?(v.as==null||v.as==="script")&&(w=s(v.as,v.crossOrigin),p.d.M(g,{crossOrigin:w,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})):v==null&&p.d.M(g))},Qn.preload=function(g,v){var w="";if(typeof g=="string"&&g||(w+=" The `href` argument encountered was "+u(g)+"."),v==null||typeof v!="object"?w+=" The `options` argument encountered was "+u(v)+".":typeof v.as=="string"&&v.as||(w+=" The `as` option encountered was "+u(v.as)+"."),w&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',w),typeof g=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){w=v.as;var V=s(w,v.crossOrigin);p.d.L(g,w,{crossOrigin:V,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Qn.preloadModule=function(g,v){var w="";typeof g=="string"&&g||(w+=" The `href` argument encountered was "+u(g)+"."),v!==void 0&&typeof v!="object"?w+=" The `options` argument encountered was "+u(v)+".":v&&"as"in v&&typeof v.as!="string"&&(w+=" The `as` option encountered was "+u(v.as)+"."),w&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',w),typeof g=="string"&&(v?(w=s(v.as,v.crossOrigin),p.d.m(g,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:w,integrity:typeof v.integrity=="string"?v.integrity:void 0})):p.d.m(g))},Qn.requestFormReset=function(g){p.d.r(g)},Qn.unstable_batchedUpdates=function(g,v){return g(v)},Qn.useFormState=function(g,v,w){return c().useFormState(g,v,w)},Qn.useFormStatus=function(){return c().useHostTransitionStatus()},Qn.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Qn}var FE;function JD(){return FE||(FE=1,r1.exports=KD()),r1.exports}var qE;function WD(){if(qE)return Zc;qE=1;/**
|
|
55
|
+
* @license React
|
|
56
|
+
* react-dom-client.development.js
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the MIT license found in the
|
|
61
|
+
* LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/return(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,i,o){if(i>=t.length)return o;var l=t[i],f=Vn(e)?e.slice():ft({},e);return f[l]=r(e[l],t,i+1,o),f}function a(e,t,i){if(t.length!==i.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<i.length-1;o++)if(t[o]!==i[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,i,0)}}function s(e,t,i,o){var l=t[o],f=Vn(e)?e.slice():ft({},e);return o+1===t.length?(f[i[o]]=f[l],Vn(f)?f.splice(l,1):delete f[l]):f[l]=s(e[l],t,i,o+1),f}function u(e,t,i){var o=t[i],l=Vn(e)?e.slice():ft({},e);return i+1===t.length?(Vn(l)?l.splice(o,1):delete l[o],l):(l[o]=u(e[o],t,i+1),l)}function d(){return!1}function c(){return null}function h(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function p(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function b(){}function y(){}function g(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")}function v(e,t,i,o){return new Rk(e,t,i,o)}function w(e,t){e.context===fo&&(b0(e.current,2,t,e,null,null),il())}function V(e,t){if(Ji!==null){var i=t.staleFamilies;t=t.updatedFamilies,Ou(),Py(e.current,t,i),il()}}function D(e){Ji=e}function C(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function k(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function j(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 U(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Q(e){if(k(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Y(e){var t=e.alternate;if(!t){if(t=k(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var i=e,o=t;;){var l=i.return;if(l===null)break;var f=l.alternate;if(f===null){if(o=l.return,o!==null){i=o;continue}break}if(l.child===f.child){for(f=l.child;f;){if(f===i)return Q(l),e;if(f===o)return Q(l),t;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(i.return!==o.return)i=l,o=f;else{for(var m=!1,x=l.child;x;){if(x===i){m=!0,i=l,o=f;break}if(x===o){m=!0,o=l,i=f;break}x=x.sibling}if(!m){for(x=f.child;x;){if(x===i){m=!0,i=f,o=l;break}if(x===o){m=!0,o=f,i=l;break}x=x.sibling}if(!m)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==3)throw Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function F(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=F(e),t!==null)return t;e=e.sibling}return null}function fe(e){return e===null||typeof e!="object"?null:(e=Q9&&e[Q9]||e["@@iterator"],typeof e=="function"?e:null)}function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===WC?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case cl:return"Fragment";case V0:return"Profiler";case Td:return"StrictMode";case T0:return"Suspense";case N0:return"SuspenseList";case A0:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ul:return"Portal";case Yr:return e.displayName||"Context";case M0:return(e._context.displayName||"Context")+".Consumer";case Fu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nd:return t=e.displayName||null,t!==null?t:ie(e.type)||"Memo";case zi:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}function X(e){return typeof e.tag=="number"?R(e):typeof e.name=="string"?e.name:null}function R(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(t);case 8:return t===Td?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var i=t.length-1;0<=i;i--)if(typeof t[i].name=="string")return t[i].name}if(e.return!==null)return R(e.return)}return null}function xe(e){return{current:e}}function de(e,t){0>Sa?console.error("Unexpected pop."):(t!==C0[Sa]&&console.error("Unexpected Fiber popped."),e.current=k0[Sa],k0[Sa]=null,C0[Sa]=null,Sa--)}function ae(e,t,i){Sa++,k0[Sa]=e.current,C0[Sa]=i,e.current=t}function ee(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ue(e,t){ae(ao,t,e),ae(qu,e,e),ae(ro,null,e);var i=t.nodeType;switch(i){case 9:case 11:i=i===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?x9(t):La;break;default:if(i=t.tagName,t=t.namespaceURI)t=x9(t),t=w9(t,i);else switch(i){case"svg":t=Fl;break;case"math":t=Mh;break;default:t=La}}i=i.toLowerCase(),i=hu(null,i),i={context:t,ancestorInfo:i},de(ro,e),ae(ro,i,e)}function W(e){de(ro,e),de(qu,e),de(ao,e)}function ve(){return ee(ro.current)}function le(e){e.memoizedState!==null&&ae(Ad,e,e);var t=ee(ro.current),i=e.type,o=w9(t.context,i);i=hu(t.ancestorInfo,i),o={context:o,ancestorInfo:i},t!==o&&(ae(qu,e,e),ae(ro,o,e))}function Ve(e){qu.current===e&&(de(ro,e),de(qu,e)),Ad.current===e&&(de(Ad,e),zc._currentValue=Ts)}function H(){}function z(){if($u===0){K9=console.log,J9=console.info,W9=console.warn,ew=console.error,tw=console.group,nw=console.groupCollapsed,iw=console.groupEnd;var e={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$u++}function pe(){if($u--,$u===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ft({},e,{value:K9}),info:ft({},e,{value:J9}),warn:ft({},e,{value:W9}),error:ft({},e,{value:ew}),group:ft({},e,{value:tw}),groupCollapsed:ft({},e,{value:nw}),groupEnd:ft({},e,{value:iw})})}0>$u&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function O(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
63
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
64
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
65
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Me(e){if(R0===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);R0=t&&t[1]||"",rw=-1<i.stack.indexOf(`
|
|
66
|
+
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
67
|
+
`+R0+e+rw}function vt(e,t){if(!e||D0)return"";var i=_0.get(e);if(i!==void 0)return i;D0=!0,i=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=ne.H,ne.H=null,z();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(Se){var K=Se}Reflect.construct(e,[],B)}else{try{B.call()}catch(Se){K=Se}e.call(B.prototype)}}else{try{throw Error()}catch(Se){K=Se}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(Se){if(Se&&K&&typeof Se.stack=="string")return[Se.stack,K.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),x=m[0],E=m[1];if(x&&E){var T=x.split(`
|
|
68
|
+
`),q=E.split(`
|
|
69
|
+
`);for(m=f=0;f<T.length&&!T[f].includes("DetermineComponentFrameRoot");)f++;for(;m<q.length&&!q[m].includes("DetermineComponentFrameRoot");)m++;if(f===T.length||m===q.length)for(f=T.length-1,m=q.length-1;1<=f&&0<=m&&T[f]!==q[m];)m--;for(;1<=f&&0<=m;f--,m--)if(T[f]!==q[m]){if(f!==1||m!==1)do if(f--,m--,0>m||T[f]!==q[m]){var $=`
|
|
70
|
+
`+T[f].replace(" at new "," at ");return e.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",e.displayName)),typeof e=="function"&&_0.set(e,$),$}while(1<=f&&0<=m);break}}}finally{D0=!1,ne.H=o,pe(),Error.prepareStackTrace=i}return T=(T=e?e.displayName||e.name:"")?Me(T):"",typeof e=="function"&&_0.set(e,T),T}function cn(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me("Lazy");case 13:return e.child!==t&&t!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return vt(e.type,!1);case 11:return vt(e.type.render,!1);case 1:return vt(e.type,!0);case 31:return Me("Activity");default:return""}}function $e(e){try{var t="",i=null;do{t+=cn(e,i);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var f=o[l];if(typeof f.name=="string"){var m=t;e:{var x=f.name,E=f.env,T=f.debugLocation;if(T!=null){var q=O(T),$=q.lastIndexOf(`
|
|
71
|
+
`),B=$===-1?q:q.slice($+1);if(B.indexOf(x)!==-1){var K=`
|
|
72
|
+
`+B;break e}}K=Me(x+(E?" ["+E+"]":""))}t=m+K}}i=e,e=e.return}while(e);return t}catch(Se){return`
|
|
73
|
+
Error generating stack: `+Se.message+`
|
|
74
|
+
`+Se.stack}}function nt(e){return(e=e?e.displayName||e.name:"")?Me(e):""}function Gt(){if(Li===null)return null;var e=Li._debugOwner;return e!=null?X(e):null}function Rt(){if(Li===null)return"";var e=Li;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Me(e.type);break;case 13:t+=Me("Suspense");break;case 19:t+=Me("SuspenseList");break;case 31:t+=Me("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=nt(e.type));break;case 11:e._debugOwner||t!==""||(t+=nt(e.type.render))}for(;e;)if(typeof e.tag=="number"){var i=e;e=i._debugOwner;var o=i._debugStack;if(e&&o){var l=O(o);l!==""&&(t+=`
|
|
75
|
+
`+l)}}else if(e.debugStack!=null){var f=e.debugStack;(e=e.owner)&&f&&(t+=`
|
|
76
|
+
`+O(f))}else break;var m=t}catch(x){m=`
|
|
77
|
+
Error generating stack: `+x.message+`
|
|
78
|
+
`+x.stack}return m}function Ee(e,t,i,o,l,f,m){var x=Li;An(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,i,o,l,f,m)):t(i,o,l,f,m)}finally{An(x)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function An(e){ne.getCurrentStack=e===null?null:Rt,Xr=!1,Li=e}function De(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Oe(e){try{return tt(e),!1}catch{return!0}}function tt(e){return""+e}function it(e,t){if(Oe(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,De(e)),tt(e)}function Qt(e,t){if(Oe(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,De(e)),tt(e)}function Ai(e){if(Oe(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",De(e)),tt(e)}function dr(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{dl=t.inject(e),Yn=t}catch(i){console.error("React instrumentation encountered an error: %o.",i)}return!!t.checkDCE}function Re(e){if(typeof oR=="function"&&sR(e),Yn&&typeof Yn.setStrictMode=="function")try{Yn.setStrictMode(dl,e)}catch(t){Qr||(Qr=!0,console.error("React instrumentation encountered an error: %o",t))}}function kr(e){return e>>>=0,e===0?32:31-(lR(e)/uR|0)|0}function pi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function qi(e,t,i){var o=e.pendingLanes;if(o===0)return 0;var l=0,f=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var x=o&134217727;return x!==0?(o=x&~f,o!==0?l=pi(o):(m&=x,m!==0?l=pi(m):i||(i=x&~e,i!==0&&(l=pi(i))))):(x=o&~f,x!==0?l=pi(x):m!==0?l=pi(m):i||(i=o&~e,i!==0&&(l=pi(i)))),l===0?0:t!==0&&t!==l&&(t&f)===0&&(f=l&-l,i=t&-t,f>=i||f===32&&(i&4194048)!==0)?t:l}function kn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function fa(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function re(){var e=Rd;return Rd<<=1,(Rd&62914560)===0&&(Rd=4194304),e}function oe(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function ke(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function We(e,t,i,o,l,f){var m=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var x=e.entanglements,E=e.expirationTimes,T=e.hiddenUpdates;for(i=m&~i;0<i;){var q=31-ii(i),$=1<<q;x[q]=0,E[q]=-1;var B=T[q];if(B!==null)for(T[q]=null,q=0;q<B.length;q++){var K=B[q];K!==null&&(K.lane&=-536870913)}i&=~$}o!==0&&mt(e,o,0),f!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=f&~(m&~t))}function mt(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-ii(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|i&261930}function rn(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var o=31-ii(i),l=1<<o;l&t|e[o]&t&&(e[o]|=t),i&=~l}}function Hn(e,t){var i=t&-t;return i=(i&42)!==0?1:fn(i),(i&(e.suspendedLanes|t))!==0?0:i}function fn(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Fn(e,t,i){if(Kr)for(e=e.pendingUpdatersLaneMap;0<i;){var o=31-ii(i),l=1<<o;e[o].add(t),i&=~l}}function mi(e,t){if(Kr)for(var i=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-ii(t);e=1<<l,l=i[l],0<l.size&&(l.forEach(function(f){var m=f.alternate;m!==null&&o.has(m)||o.add(f)}),l.clear()),t&=~e}}function an(e){return e&=-e,Xi<e?Jr<e?(e&134217727)!==0?Ea:Dd:Jr:Xi}function zn(){var e=At.p;return e!==0?e:(e=window.event,e===void 0?Ea:P9(e.type))}function N(e,t){var i=At.p;try{return At.p=e,t()}finally{At.p=i}}function G(e){delete e[jn],delete e[ri],delete e[B0],delete e[cR],delete e[fR]}function me(e){var t=e[jn];if(t)return t;for(var i=e.parentNode;i;){if(t=i[so]||i[jn]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=k9(e);e!==null;){if(i=e[jn])return i;e=k9(e)}return t}e=i,i=e.parentNode}return null}function we(e){if(e=e[jn]||e[so]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Le(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ye(e){var t=e[aw];return t||(t=e[aw]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function _(e){e[Gu]=!0}function J(e,t){ce(e,t),ce(e+"Capture",t)}function ce(e,t){is[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),is[e]=t;var i=e.toLowerCase();for(Z0[i]=e,e==="onDoubleClick"&&(Z0.ondblclick=e),e=0;e<t.length;e++)ow.add(t[e])}function je(e,t){dR[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Vt(e){return yr.call(lw,e)?!0:yr.call(sw,e)?!1:hR.test(e)?lw[e]=!0:(sw[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function It(e,t,i){if(Vt(t)){if(!e.hasAttribute(t)){switch(typeof i){case"symbol":case"object":return i;case"function":return i;case"boolean":if(i===!1)return i}return i===void 0?void 0:null}return e=e.getAttribute(t),e===""&&i===!0?!0:(it(i,t),e===""+i?i:e)}}function He(e,t,i){if(Vt(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}it(i,t),e.setAttribute(t,""+i)}}function _e(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}it(i,t),e.setAttribute(t,""+i)}}function Fe(e,t,i,o){if(o===null)e.removeAttribute(i);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}it(o,i),e.setAttributeNS(t,i,""+o)}}function Tt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ai(e),e;default:return""}}function Wt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jo(e,t,i){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,f=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){Ai(m),i=""+m,f.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(m){Ai(m),i=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Uo(e){if(!e._valueTracker){var t=Wt(e)?"checked":"value";e._valueTracker=jo(e,t,""+e[t])}}function js(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),o="";return e&&(o=Wt(e)?e.checked?"true":"false":e.value),e=o,e!==i?(t.setValue(e),!0):!1}function Us(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 qn(e){return e.replace(pR,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function mf(e,t){t.checked===void 0||t.defaultChecked===void 0||cw||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Gt()||"A component",t.type),cw=!0),t.value===void 0||t.defaultValue===void 0||uw||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Gt()||"A component",t.type),uw=!0)}function uu(e,t,i,o,l,f,m,x){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(it(m,"type"),e.type=m):e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Tt(t)):e.value!==""+Tt(t)&&(e.value=""+Tt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Is(e,m,Tt(t)):i!=null?Is(e,m,Tt(i)):o!=null&&e.removeAttribute("value"),l==null&&f!=null&&(e.defaultChecked=!!f),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?(it(x,"name"),e.name=""+Tt(x)):e.removeAttribute("name")}function gf(e,t,i,o,l,f,m,x){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(it(f,"type"),e.type=f),t!=null||i!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){Uo(e);return}i=i!=null?""+Tt(i):"",t=t!=null?""+Tt(t):i,x||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=x?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(it(m,"name"),e.name=m),Uo(e)}function Is(e,t,i){t==="number"&&Us(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Io(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?E0.Children.forEach(t.children,function(i){i==null||typeof i=="string"||typeof i=="number"||typeof i=="bigint"||dw||(dw=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||hw||(hw=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||fw||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),fw=!0)}function bf(){var e=Gt();return e?`
|
|
79
|
+
|
|
80
|
+
Check the render method of \``+e+"`.":""}function Pa(e,t,i,o){if(e=e.options,t){t={};for(var l=0;l<i.length;l++)t["$"+i[l]]=!0;for(i=0;i<e.length;i++)l=t.hasOwnProperty("$"+e[i].value),e[i].selected!==l&&(e[i].selected=l),l&&o&&(e[i].defaultSelected=!0)}else{for(i=""+Tt(i),t=null,l=0;l<e.length;l++){if(e[l].value===i){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function yf(e,t){for(e=0;e<mw.length;e++){var i=mw[e];if(t[i]!=null){var o=Vn(t[i]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,bf()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,bf())}}t.value===void 0||t.defaultValue===void 0||pw||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),pw=!0)}function hr(e,t){t.value===void 0||t.defaultValue===void 0||gw||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Gt()||"A component"),gw=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function cu(e,t,i){if(t!=null&&(t=""+Tt(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+Tt(i):""}function fu(e,t,i,o){if(t==null){if(o!=null){if(i!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Vn(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}i=o}i==null&&(i=""),t=i}i=Tt(t),e.defaultValue=i,o=e.textContent,o===i&&o!==""&&o!==null&&(e.value=o),Uo(e)}function vf(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?vf(e.children[0],t):e}function ei(e){return" "+" ".repeat(e)}function Fa(e){return"+ "+" ".repeat(e)}function $i(e){return"- "+" ".repeat(e)}function xf(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function be(e,t){return bw.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Ie(e,t,i){var o=120-2*i;if(t===null)return Fa(i)+be(e,o)+`
|
|
81
|
+
`;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),Fa(i)+be(e,o)+`
|
|
82
|
+
`+$i(i)+be(t,o)+`
|
|
83
|
+
`}return ei(i)+be(e,o)+`
|
|
84
|
+
`}function dt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,i){return i})}function Mt(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Vn(e))return"[...]";if(e.$$typeof===Gr)return(t=ie(e.type))?"<"+t+">":"<...>";var i=dt(e);if(i==="Object"){i="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=Mt(e[o],15>t?t:15),t-=l.length,0>t){i+=i===""?"...":", ...";break}i+=(i===""?"":",")+o+":"+l}return"{"+i+"}"}return i;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Pt(e,t){return typeof e!="string"||bw.test(e)?"{"+Mt(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function ti(e,t,i){var o=120-i.length-e.length,l=[],f;for(f in t)if(t.hasOwnProperty(f)&&f!=="children"){var m=Pt(t[f],120-i.length-f.length-1);o-=f.length+m.length+2,l.push(f+"="+m)}return l.length===0?i+"<"+e+`>
|
|
85
|
+
`:0<o?i+"<"+e+" "+l.join(" ")+`>
|
|
86
|
+
`:i+"<"+e+`
|
|
87
|
+
`+i+" "+l.join(`
|
|
88
|
+
`+i+" ")+`
|
|
89
|
+
`+i+`>
|
|
90
|
+
`}function Cr(e,t,i){var o="",l=ft({},t),f;for(f in e)if(e.hasOwnProperty(f)){delete l[f];var m=120-2*i-f.length-2,x=Mt(e[f],m);t.hasOwnProperty(f)?(m=Mt(t[f],m),o+=Fa(i)+f+": "+x+`
|
|
91
|
+
`,o+=$i(i)+f+": "+m+`
|
|
92
|
+
`):o+=Fa(i)+f+": "+x+`
|
|
93
|
+
`}for(var E in l)l.hasOwnProperty(E)&&(e=Mt(l[E],120-2*i-E.length-2),o+=$i(i)+E+": "+e+`
|
|
94
|
+
`);return o}function Ps(e,t,i,o){var l="",f=new Map;for(T in i)i.hasOwnProperty(T)&&f.set(T.toLowerCase(),T);if(f.size===1&&f.has("children"))l+=ti(e,t,ei(o));else{for(var m in t)if(t.hasOwnProperty(m)&&m!=="children"){var x=120-2*(o+1)-m.length-1,E=f.get(m.toLowerCase());if(E!==void 0){f.delete(m.toLowerCase());var T=t[m];E=i[E];var q=Pt(T,x);x=Pt(E,x),typeof T=="object"&&T!==null&&typeof E=="object"&&E!==null&&dt(T)==="Object"&&dt(E)==="Object"&&(2<Object.keys(T).length||2<Object.keys(E).length||-1<q.indexOf("...")||-1<x.indexOf("..."))?l+=ei(o+1)+m+`={{
|
|
95
|
+
`+Cr(T,E,o+2)+ei(o+1)+`}}
|
|
96
|
+
`:(l+=Fa(o+1)+m+"="+q+`
|
|
97
|
+
`,l+=$i(o+1)+m+"="+x+`
|
|
98
|
+
`)}else l+=ei(o+1)+m+"="+Pt(t[m],x)+`
|
|
99
|
+
`}f.forEach(function($){if($!=="children"){var B=120-2*(o+1)-$.length-1;l+=$i(o+1)+$+"="+Pt(i[$],B)+`
|
|
100
|
+
`}}),l=l===""?ei(o)+"<"+e+`>
|
|
101
|
+
`:ei(o)+"<"+e+`
|
|
102
|
+
`+l+ei(o)+`>
|
|
103
|
+
`}return e=i.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(f="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(f=""+t),l+=Ie(f,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Ie(""+t,null,o+1):l+Ie(""+t,void 0,o+1)),l}function $n(e,t){var i=xf(e);if(i===null){for(i="",e=e.child;e;)i+=$n(e,t),e=e.sibling;return i}return ei(t)+"<"+i+`>
|
|
104
|
+
`}function gi(e,t){var i=vf(e,t);if(i!==e&&(e.children.length!==1||e.children[0]!==i))return ei(t)+`...
|
|
105
|
+
`+gi(i,t+1);i="";var o=e.fiber._debugInfo;if(o)for(var l=0;l<o.length;l++){var f=o[l].name;typeof f=="string"&&(i+=ei(t)+"<"+f+`>
|
|
106
|
+
`,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=Ie(l,e.serverProps,t),t++;else if(f=xf(e.fiber),f!==null)if(e.serverProps===void 0){o=t;var m=120-2*o-f.length-2,x="";for(T in l)if(l.hasOwnProperty(T)&&T!=="children"){var E=Pt(l[T],15);if(m-=T.length+E.length+2,0>m){x+=" ...";break}x+=" "+T+"="+E}o=ei(o)+"<"+f+x+`>
|
|
107
|
+
`,t++}else e.serverProps===null?(o=ti(f,l,Fa(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=Ps(f,l,e.serverProps,t),t++);var T="";for(l=e.fiber.child,f=0;l&&f<e.children.length;)m=e.children[f],m.fiber===l?(T+=gi(m,t),f++):T+=$n(l,t),l=l.sibling;for(l&&0<e.children.length&&(T+=ei(t)+`...
|
|
108
|
+
`),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)f=l[e],T=typeof f=="string"?T+($i(t)+be(f,120-2*t)+`
|
|
109
|
+
`):T+ti(f.type,f.props,$i(t));return i+o+T}function Fs(e){try{return`
|
|
110
|
+
|
|
111
|
+
`+gi(e,0)}catch{return""}}function du(e,t,i){for(var o=t,l=null,f=0;o;)o===e&&(f=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?i:o===e?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return l!==null?Fs(l).replaceAll(/^[+-]/gm,">"):""}function hu(e,t){var i=ft({},e||vw),o={tag:t};return yw.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),gR.indexOf(t)!==-1&&(i.pTagInButtonScope=null),mR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=o,t==="form"&&(i.formTag=o),t==="a"&&(i.aTagInScope=o),t==="button"&&(i.buttonTagInScope=o),t==="nobr"&&(i.nobrTagInScope=o),t==="p"&&(i.pTagInButtonScope=o),t==="li"&&(i.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=o),t==="#document"||t==="html"?i.containerTagInScope=null:i.containerTagInScope||(i.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?i.implicitRootScope===!0&&(i.implicitRootScope=!1):i.implicitRootScope=!0,i}function wf(e,t,i){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(i)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!i)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return bR.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return i||t===null;case"html":return i&&t==="#document"||t===null;case"body":return i&&(t==="#document"||t==="html")||t===null}return!0}function Mp(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Sf(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function pu(e,t){t=t||vw;var i=t.current;if(t=(i=wf(e,i&&i.tag,t.implicitRootScope)?null:i)?null:Mp(e,t),t=i||t,!t)return!0;var o=t.tag;if(t=String(!!i)+"|"+e+"|"+o,_d[t])return!1;_d[t]=!0;var l=(t=Li)?Sf(t.return,o):null,f=t!==null&&l!==null?du(l,t,null):"",m="<"+e+">";return i?(i="",o==="table"&&e==="tr"&&(i+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
112
|
+
This will cause a hydration error.%s`,m,o,i,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
113
|
+
This will cause a hydration error.%s`,m,o,f),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||Ee(l,function(){console.error(`<%s> cannot contain a nested %s.
|
|
114
|
+
See this log for the ancestor stack trace.`,o,m)})),!1}function da(e,t,i){if(i||wf("#text",t,!1))return!0;if(i="#text|"+t,_d[i])return!1;_d[i]=!0;var o=(i=Li)?Sf(i,t):null;return i=i!==null&&o!==null?du(o,i,i.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
115
|
+
This will cause a hydration error.%s`,t,i):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
116
|
+
This will cause a hydration error.%s`,t,i),!1}function qa(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}function Gi(e){return e.replace(xR,function(t,i){return i.toUpperCase()})}function Ef(e,t,i){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?hl.hasOwnProperty(t)&&hl[t]||(hl[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Gi(t.replace(vR,"ms-")))):yR.test(t)?hl.hasOwnProperty(t)&&hl[t]||(hl[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Sw.test(i)||U0.hasOwnProperty(i)&&U0[i]||(U0[i]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,i.replace(Sw,""))),typeof i=="number"&&(isNaN(i)?Ew||(Ew=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(i)||Vw||(Vw=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),i==null||typeof i=="boolean"||i===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,i):typeof i!="number"||i===0||Mw.has(t)?t==="float"?e.cssFloat=i:(Qt(i,t),e[t]=(""+i).trim()):e[t]=i+"px"}function qs(e,t,i){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,i!=null){if(t){var o={};if(i){for(var l in i)if(i.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var f=j0[l]||[l],m=0;m<f.length;m++)o[f[m]]=l}for(var x in t)if(t.hasOwnProperty(x)&&(!i||i[x]!==t[x]))for(l=j0[x]||[x],f=0;f<l.length;f++)o[l[f]]=x;x={};for(var E in t)for(l=j0[E]||[E],f=0;f<l.length;f++)x[l[f]]=E;E={};for(var T in o)if(l=o[T],(f=x[T])&&l!==f&&(m=l+","+f,!E[m])){E[m]=!0,m=console;var q=t[l];m.error.call(m,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",q==null||typeof q=="boolean"||q===""?"Removing":"Updating",l,f)}}for(var $ in i)!i.hasOwnProperty($)||t!=null&&t.hasOwnProperty($)||($.indexOf("--")===0?e.setProperty($,""):$==="float"?e.cssFloat="":e[$]="");for(var B in t)T=t[B],t.hasOwnProperty(B)&&i[B]!==T&&Ef(e,B,T)}else for(o in t)t.hasOwnProperty(o)&&Ef(e,o,t[o])}function Qe(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function mu(e){return wR.get(e)||e}function Sn(e,t){if(yr.call(ml,t)&&ml[t])return!0;if(ER.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Tw.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ml[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),ml[t]=!0}if(SR.test(t)){if(e=t.toLowerCase(),e=Tw.hasOwnProperty(e)?e:null,e==null)return ml[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),ml[t]=!0)}return!0}function Dt(e,t){var i=[],o;for(o in t)Sn(e,o)||i.push(o);t=i.map(function(l){return"`"+l+"`"}).join(", "),i.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<i.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function $s(e,t,i,o){if(yr.call(ai,t)&&ai[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ai[t]=!0;if(typeof i=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),ai[t]=!0;if(Aw.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),ai[t]=!0}else if(Aw.test(t))return VR.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),ai[t]=!0;if(MR.test(t)||TR.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ai[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ai[t]=!0;if(l==="is"&&i!==null&&i!==void 0&&typeof i!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),ai[t]=!0;if(typeof i=="number"&&isNaN(i))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),ai[t]=!0;if(Hd.hasOwnProperty(l)){if(l=Hd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),ai[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),ai[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof i){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(i?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),ai[t]=!0)}case"function":case"symbol":return ai[t]=!0,!1;case"string":if(i==="false"||i==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),ai[t]=!0}}return!0}function ha(e,t,i){var o=[],l;for(l in t)$s(e,l,t[l],i)||o.push(l);t=o.map(function(f){return"`"+f+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function pa(e){return NR.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ki(){}function Ae(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Ue(e){var t=we(e);if(t&&(e=t.stateNode)){var i=e[ri]||null;e:switch(e=t.stateNode,t.type){case"input":if(uu(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(it(t,"name"),i=i.querySelectorAll('input[name="'+qn(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var o=i[t];if(o!==e&&o.form===e.form){var l=o[ri]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");uu(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<i.length;t++)o=i[t],o.form===e.form&&js(o)}break e;case"textarea":cu(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Pa(e,!!i.multiple,t,!1)}}}function at(e,t,i){if(I0)return e(t,i);I0=!0;try{var o=e(t);return o}finally{if(I0=!1,(gl!==null||bl!==null)&&(il(),gl&&(t=gl,e=bl,bl=gl=null,Ue(t),e)))for(t=0;t<e.length;t++)Ue(e[t])}}function wt(e,t){var i=e.stateNode;if(i===null)return null;var o=i[ri]||null;if(o===null)return null;i=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof i+"` type.");return i}function En(){if(zd)return zd;var e,t=F0,i=t.length,o,l="value"in lo?lo.value:lo.textContent,f=l.length;for(e=0;e<i&&t[e]===l[e];e++);var m=i-e;for(o=1;o<=m&&t[i-o]===l[f-o];o++);return zd=l.slice(e,1<o?1-o:void 0)}function bi(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 Gs(){return!0}function Vf(){return!1}function yi(e){function t(i,o,l,f,m){this._reactName=i,this._targetInst=l,this.type=o,this.nativeEvent=f,this.target=m,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(f):f[x]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Gs:Vf,this.isPropagationStopped=Vf,this}return ft(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Gs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Gs)},persist:function(){},isPersistent:Gs}),t}function bk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=jR[e])?!!t[e]:!1}function Tp(){return bk}function Vy(e,t){switch(e){case"keyup":return JR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Dw;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function My(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function yk(e,t){switch(e){case"compositionend":return My(t);case"keypress":return t.which!==Ow?null:(zw=!0,Hw);case"textInput":return e=t.data,e===Hw&&zw?null:e;default:return null}}function vk(e,t){if(yl)return e==="compositionend"||!Y0&&Vy(e,t)?(e=En(),zd=F0=lo=null,yl=!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 _w&&t.locale!=="ko"?null:t.data;default:return null}}function Ty(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!eD[e.type]:t==="textarea"}function xk(e){if(!Wr)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Ny(e,t,i,o){gl?bl?bl.push(o):bl=[o]:gl=o,t=gd(t,"onChange"),0<t.length&&(i=new Ld("onChange","change",null,i,o),e.push({event:i,listeners:t}))}function wk(e){u9(e,0)}function Mf(e){var t=Le(e);if(js(t))return e}function Ay(e,t){if(e==="change")return t}function ky(){Wu&&(Wu.detachEvent("onpropertychange",Cy),ec=Wu=null)}function Cy(e){if(e.propertyName==="value"&&Mf(ec)){var t=[];Ny(t,ec,e,Ae(e)),at(wk,t)}}function Sk(e,t,i){e==="focusin"?(ky(),Wu=t,ec=i,Wu.attachEvent("onpropertychange",Cy)):e==="focusout"&&ky()}function Ek(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mf(ec)}function Vk(e,t){if(e==="click")return Mf(t)}function Mk(e,t){if(e==="input"||e==="change")return Mf(t)}function Tk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function gu(e,t){if(oi(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var l=i[o];if(!yr.call(t,l)||!oi(e[l],t[l]))return!1}return!0}function Ry(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dy(e,t){var i=Ry(e);e=0;for(var o;i;){if(i.nodeType===3){if(o=e+i.textContent.length,e<=t&&o>=t)return{node:i,offset:t-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ry(i)}}function _y(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_y(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Oy(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Us(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Us(e.document)}return t}function Np(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 Hy(e,t,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Q0||vl==null||vl!==Us(o)||(o=vl,"selectionStart"in o&&Np(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),tc&&gu(tc,o)||(tc=o,o=gd(X0,"onSelect"),0<o.length&&(t=new Ld("onSelect","select",null,t,i),e.push({event:t,listeners:o}),t.target=vl)))}function Po(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}function Fo(e){if(K0[e])return K0[e];if(!xl[e])return e;var t=xl[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Bw)return K0[e]=t[i];return e}function pr(e,t){Pw.set(e,t),J(t,[e])}function Nk(e){for(var t=Zd,i=0;i<e.length;i++){var o=e[i];if(typeof o=="object"&&o!==null)if(Vn(o)&&o.length===2&&typeof o[0]=="string"){if(t!==Zd&&t!==ng)return eg;t=ng}else return eg;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==Zd&&t!==tg)return eg;t=tg}}return t}function Ap(e,t,i,o){for(var l in e)yr.call(e,l)&&l[0]!=="_"&&Rr(l,e[l],t,i,o)}function Rr(e,t,i,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Gr){var f=ie(t.type)||"…",m=t.key;t=t.props;var x=Object.keys(t),E=x.length;if(m==null&&E===0){t="<"+f+" />";break}if(3>o||E===1&&x[0]==="children"&&m==null){t="<"+f+" … />";break}i.push([l+" ".repeat(o)+e,"<"+f]),m!==null&&Rr("key",m,i,o+1,l),e=!1;for(var T in t)T==="children"?t.children!=null&&(!Vn(t.children)||0<t.children.length)&&(e=!0):yr.call(t,T)&&T[0]!=="_"&&Rr(T,t[T],i,o+1,l);i.push(["",e?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(t),f=f.slice(8,f.length-1),f==="Array"){if(T=Nk(t),T===tg||T===Zd){t=JSON.stringify(t);break}else if(T===ng){for(i.push([l+" ".repeat(o)+e,""]),e=0;e<t.length;e++)f=t[e],Rr(f[0],f[1],i,o+1,l);return}}if(f==="Promise"){if(t.status==="fulfilled"){if(f=i.length,Rr(e,t.value,i,o,l),i.length>f){i=i[f],i[1]="Promise<"+(i[1]||"Object")+">";return}}else if(t.status==="rejected"&&(f=i.length,Rr(e,t.reason,i,o,l),i.length>f)){i=i[f],i[1]="Rejected Promise<"+i[1]+">";return}i.push([" ".repeat(o)+e,"Promise"]);return}f==="Object"&&(T=Object.getPrototypeOf(t))&&typeof T.constructor=="function"&&(f=T.constructor.name),i.push([l+" ".repeat(o)+e,f==="Object"?3>o?"":"…":f]),3>o&&Ap(t,i,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===sD?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}i.push([l+" ".repeat(o)+e,t])}function zy(e,t,i,o){var l=!0;for(m in e)m in t||(i.push([jd+" ".repeat(o)+m,"…"]),l=!1);for(var f in t)if(f in e){var m=e[f],x=t[f];if(m!==x){if(o===0&&f==="children")l=" ".repeat(o)+f,i.push([jd+l,"…"],[Ud+l,"…"]);else{if(!(3<=o)){if(typeof m=="object"&&typeof x=="object"&&m!==null&&x!==null&&m.$$typeof===x.$$typeof)if(x.$$typeof===Gr){if(m.type===x.type&&m.key===x.key){m=ie(x.type)||"…",l=" ".repeat(o)+f,m="<"+m+" … />",i.push([jd+l,m],[Ud+l,m]),l=!1;continue}}else{var E=Object.prototype.toString.call(m),T=Object.prototype.toString.call(x);if(E===T&&(T==="[object Object]"||T==="[object Array]")){E=[$w+" ".repeat(o)+f,T==="[object Array]"?"Array":""],i.push(E),T=i.length,zy(m,x,i,o+1)?T===i.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof m=="function"&&typeof x=="function"&&m.name===x.name&&m.length===x.length&&(E=Function.prototype.toString.call(m),T=Function.prototype.toString.call(x),E===T)){m=x.name===""?"() => {}":x.name+"() {}",i.push([$w+" ".repeat(o)+f,m+" Referentially unequal function closure. Consider memoization."]);continue}}Rr(f,m,i,o,jd),Rr(f,x,i,o,Ud)}l=!1}}else i.push([Ud+" ".repeat(o)+f,"…"]),l=!1;return l}function mr(e){xt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Dr(e,t,i,o){Ft&&(co.start=t,co.end=i,Va.color="warning",Va.tooltipText=o,Va.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,co)):performance.measure(o,co))}function Tf(e,t,i){Dr(e,t,i,"Reconnect")}function Nf(e,t,i,o,l){var f=R(e);if(f!==null&&Ft){var m=e.alternate,x=e.actualDuration;if(m===null||m.child!==e.child)for(var E=e.child;E!==null;E=E.sibling)x-=E.actualDuration;o=.5>x?o?"tertiary-light":"primary-light":10>x?o?"tertiary":"primary":100>x?o?"tertiary-dark":"primary-dark":"error";var T=e.memoizedProps;x=e._debugTask,T!==null&&m!==null&&m.memoizedProps!==T?(E=[lD],T=zy(m.memoizedProps,T,E,0),1<E.length&&(T&&!uo&&(m.lanes&l)===0&&100<e.actualDuration?(uo=!0,E[0]=uD,Va.color="warning",Va.tooltipText=Gw):(Va.color=o,Va.tooltipText=f),Va.properties=E,co.start=t,co.end=i,x!=null?x.run(performance.measure.bind(performance,""+f,co)):performance.measure(""+f,co))):x!=null?x.run(console.timeStamp.bind(console,f,t,i,Qi,void 0,o)):console.timeStamp(f,t,i,Qi,void 0,o)}}function kp(e,t,i,o){if(Ft){var l=R(e);if(l!==null){for(var f=null,m=[],x=0;x<o.length;x++){var E=o[x];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,m.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}e.key!==null&&Rr("key",e.key,m,0,""),e.memoizedProps!==null&&Ap(e.memoizedProps,m,0,""),f==null&&(f=e._debugTask),e={start:t,end:i,detail:{devtools:{color:"error",track:Qi,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:m}}},f?f.run(performance.measure.bind(performance,""+l,e)):performance.measure(""+l,e)}}}function _r(e,t,i,o,l){if(l!==null){if(Ft){var f=R(e);if(f!==null){o=[];for(var m=0;m<l.length;m++){var x=l[m].value;o.push(["Error",typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x)])}e.key!==null&&Rr("key",e.key,o,0,""),e.memoizedProps!==null&&Ap(e.memoizedProps,o,0,""),t={start:t,end:i,detail:{devtools:{color:"error",track:Qi,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+f,t)):performance.measure(""+f,t)}}}else f=R(e),f!==null&&Ft&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,f,t,i,Qi,void 0,l)):console.timeStamp(f,t,i,Qi,void 0,l))}function Ak(e,t,i,o){if(Ft&&!(t<=e)){var l=(i&738197653)===i?"tertiary-dark":"primary-dark";i=(i&536870912)===i?"Prepared":(i&201326741)===i?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,i,e,t,xt,bt,l)):console.timeStamp(i,e,t,xt,bt,l)}}function Ly(e,t,i,o){!Ft||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,xt,bt,i)):console.timeStamp("Prewarm",e,t,xt,bt,i))}function By(e,t,i,o){!Ft||t<=e||(i=(i&738197653)===i?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,xt,bt,i)):console.timeStamp("Suspended",e,t,xt,bt,i))}function kk(e,t,i,o,l,f){if(Ft&&!(t<=e)){i=[];for(var m=0;m<o.length;m++){var x=o[m].value;i.push(["Recoverable Error",typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:xt,trackGroup:bt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:i}}},f?f.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Cp(e,t,i,o){!Ft||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,xt,bt,"error")):console.timeStamp("Errored",e,t,xt,bt,"error"))}function Ck(e,t,i,o){!Ft||t<=e||(o?o.run(console.timeStamp.bind(console,i,e,t,xt,bt,"secondary-light")):console.timeStamp(i,e,t,xt,bt,"secondary-light"))}function Zy(e,t,i,o,l){if(Ft&&!(t<=e)){for(var f=[],m=0;m<i.length;m++){var x=i[m].value;f.push(["Error",typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x)])}e={start:e,end:t,detail:{devtools:{color:"error",track:xt,trackGroup:bt,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Rp(e,t,i){!Ft||t<=e||console.timeStamp("Animating",e,t,xt,bt,"secondary-dark")}function Af(){for(var e=wl,t=ig=wl=0;t<e;){var i=Ki[t];Ki[t++]=null;var o=Ki[t];Ki[t++]=null;var l=Ki[t];Ki[t++]=null;var f=Ki[t];if(Ki[t++]=null,o!==null&&l!==null){var m=o.pending;m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l}f!==0&&jy(i,l,f)}}function kf(e,t,i,o){Ki[wl++]=e,Ki[wl++]=t,Ki[wl++]=i,Ki[wl++]=o,ig|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Dp(e,t,i,o){return kf(e,t,i,o),Cf(e)}function Gn(e,t){return kf(e,null,null,t),Cf(e)}function jy(e,t,i){e.lanes|=i;var o=e.alternate;o!==null&&(o.lanes|=i);for(var l=!1,f=e.return;f!==null;)f.childLanes|=i,o=f.alternate,o!==null&&(o.childLanes|=i),f.tag===22&&(e=f.stateNode,e===null||e._visibility&nc||(l=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,l&&t!==null&&(l=31-ii(i),e=f.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=i|536870912),f):null}function Cf(e){if(kc>MD)throw xs=kc=0,Cc=zg=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");xs>TD&&(xs=0,Cc=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&n9(e);for(var t=e,i=t.return;i!==null;)t.alternate===null&&(t.flags&4098)!==0&&n9(e),t=i,i=t.return;return t.tag===3?t.stateNode:null}function qo(e){if(Ji===null)return e;var t=Ji(e);return t===void 0?e:t.current}function _p(e){if(Ji===null)return e;var t=Ji(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=qo(e.render),e.render!==t)?(t={$$typeof:Fu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Uy(e,t){if(Ji===null)return!1;var i=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===zi)&&(o=!0);break;case 11:(l===Fu||l===zi)&&(o=!0);break;case 14:case 15:(l===Nd||l===zi)&&(o=!0);break;default:return!1}return!!(o&&(e=Ji(i),e!==void 0&&e===Ji(t)))}function Iy(e){Ji!==null&&typeof WeakSet=="function"&&(Sl===null&&(Sl=new WeakSet),Sl.add(e))}function Py(e,t,i){do{var o=e,l=o.alternate,f=o.child,m=o.sibling,x=o.tag;o=o.type;var E=null;switch(x){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if(Ji===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;if(o=!1,E!==null&&(E=Ji(E),E!==void 0&&(i.has(E)?o=!0:t.has(E)&&(x===1?o=!0:T=!0))),Sl!==null&&(Sl.has(e)||l!==null&&Sl.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||T)&&(l=Gn(e,2),l!==null&&en(l,e,2)),f===null||o||Py(f,t,i),m===null)break;e=m}while(!0)}function Rk(e,t,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Yw||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Op(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ma(e,t){var i=e.alternate;switch(i===null?(i=v(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugOwner=e._debugOwner,i._debugStack=e._debugStack,i._debugTask=e._debugTask,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null,i.actualDuration=-0,i.actualStartTime=-1.1),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugInfo=e._debugInfo,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case 0:case 15:i.type=qo(e.type);break;case 1:i.type=qo(e.type);break;case 11:i.type=_p(e.type)}return i}function Fy(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration),e}function Hp(e,t,i,o,l,f){var m=0,x=e;if(typeof e=="function")Op(e)&&(m=1),x=qo(x);else if(typeof e=="string")m=ve(),m=jC(e,i,m)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case A0:return t=v(31,i,t,l),t.elementType=A0,t.lanes=f,t;case cl:return $o(i.children,l,f,t);case Td:m=8,l|=Xn,l|=vr;break;case V0:return e=i,o=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=v(12,e,t,o|ot),t.elementType=V0,t.lanes=f,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case T0:return t=v(13,i,t,l),t.elementType=T0,t.lanes=f,t;case N0:return t=v(19,i,t,l),t.elementType=N0,t.lanes=f,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yr:m=10;break e;case M0:m=9;break e;case Fu:m=11,x=_p(x);break e;case Nd:m=14;break e;case zi:m=16,x=null;break e}x="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?i="null":Vn(e)?i="array":e!==void 0&&e.$$typeof===Gr?(i="<"+(ie(e.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):i=typeof e,(m=o?X(o):null)&&(x+=`
|
|
117
|
+
|
|
118
|
+
Check the render method of \``+m+"`."),m=29,i=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(i+"."+x)),x=null}return t=v(m,i,t,l),t.elementType=e,t.type=x,t.lanes=f,t._debugOwner=o,t}function Rf(e,t,i){return t=Hp(e.type,e.key,e.props,e._owner,t,i),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function $o(e,t,i,o){return e=v(7,e,o,t),e.lanes=i,e}function zp(e,t,i){return e=v(6,e,null,t),e.lanes=i,e}function qy(e){var t=v(18,null,null,Xe);return t.stateNode=e,t}function Lp(e,t,i){return t=v(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ci(e,t){if(typeof e=="object"&&e!==null){var i=rg.get(e);return i!==void 0?i:(t={value:e,source:t,stack:$e(t)},rg.set(e,t),t)}return{value:e,source:t,stack:$e(t)}}function ga(e,t){$a(),El[Vl++]=ic,El[Vl++]=Id,Id=e,ic=t}function $y(e,t,i){$a(),Wi[er++]=Ta,Wi[er++]=Na,Wi[er++]=as,as=e;var o=Ta;e=Na;var l=32-ii(o)-1;o&=~(1<<l),i+=1;var f=32-ii(t)+l;if(30<f){var m=l-l%5;f=(o&(1<<m)-1).toString(32),o>>=m,l-=m,Ta=1<<32-ii(t)+l|i<<l|o,Na=f+e}else Ta=1<<f|i<<l|o,Na=e}function Bp(e){$a(),e.return!==null&&(ga(e,1),$y(e,1,0))}function Zp(e){for(;e===Id;)Id=El[--Vl],El[Vl]=null,ic=El[--Vl],El[Vl]=null;for(;e===as;)as=Wi[--er],Wi[er]=null,Na=Wi[--er],Wi[er]=null,Ta=Wi[--er],Wi[er]=null}function Gy(){return $a(),as!==null?{id:Ta,overflow:Na}:null}function Yy(e,t){$a(),Wi[er++]=Ta,Wi[er++]=Na,Wi[er++]=as,Ta=t.id,Na=t.overflow,as=e}function $a(){ht||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Go(e,t){if(e.return===null){if(Bi===null)Bi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Bi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Bi.distanceFromLeaf>t&&(Bi.distanceFromLeaf=t)}return Bi}var i=Go(e.return,t+1).children;return 0<i.length&&i[i.length-1].fiber===e?(i=i[i.length-1],i.distanceFromLeaf>t&&(i.distanceFromLeaf=t),i):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},i.push(t),t)}function Xy(){ht&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Df(e,t){ea||(e=Go(e,0),e.serverProps=null,t!==null&&(t=N9(t),e.serverTail.push(t)))}function Ga(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,i="",o=Bi;throw o!==null&&(Bi=null,i=Fs(o)),bu(Ci(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
119
|
+
|
|
120
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
121
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
122
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
123
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
124
|
+
- Invalid HTML tag nesting.
|
|
125
|
+
|
|
126
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
127
|
+
|
|
128
|
+
https://react.dev/link/hydration-mismatch`+i),e)),ag}function Qy(e){var t=e.stateNode,i=e.type,o=e.memoizedProps;switch(t[jn]=e,t[ri]=o,a0(i,o),i){case"dialog":gt("cancel",t),gt("close",t);break;case"iframe":case"object":case"embed":gt("load",t);break;case"video":case"audio":for(i=0;i<Rc.length;i++)gt(Rc[i],t);break;case"source":gt("error",t);break;case"img":case"image":case"link":gt("error",t),gt("load",t);break;case"details":gt("toggle",t);break;case"input":je("input",o),gt("invalid",t),mf(t,o),gf(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":Io(t,o);break;case"select":je("select",o),gt("invalid",t),yf(t,o);break;case"textarea":je("textarea",o),gt("invalid",t),hr(t,o),fu(t,o.value,o.defaultValue,o.children)}i=o.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||o.suppressHydrationWarning===!0||h9(t.textContent,i)?(o.popover!=null&&(gt("beforetoggle",t),gt("toggle",t)),o.onScroll!=null&>("scroll",t),o.onScrollEnd!=null&>("scrollend",t),o.onClick!=null&&(t.onclick=ki),t=!0):t=!1,t||Ga(e,!0)}function Ky(e){for(Un=e.return;Un;)switch(Un.tag){case 5:case 31:case 13:tr=!1;return;case 27:case 3:tr=!0;return;default:Un=Un.return}}function Ys(e){if(e!==Un)return!1;if(!ht)return Ky(e),ht=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||c0(e.type,e.memoizedProps)),i=!i),i&&qt){for(i=qt;i;){var o=Go(e,0),l=N9(i);o.serverTail.push(l),i=l.type==="Suspense"?p0(i):Hi(i.nextSibling)}Ga(e)}if(Ky(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qt=p0(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qt=p0(e)}else t===27?(t=qt,io(e.type)?(e=Yg,Yg=null,qt=e):qt=t):qt=Un?Hi(e.stateNode.nextSibling):null;return!0}function Yo(){qt=Un=null,ea=ht=!1}function jp(){var e=ho;return e!==null&&(ci===null?ci=e:ci.push.apply(ci,e),ho=null),e}function bu(e){ho===null?ho=[e]:ho.push(e)}function Up(){var e=Bi;if(e!==null){Bi=null;for(var t=Fs(e);0<e.children.length;)e=e.children[0];Ee(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
129
|
+
|
|
130
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
131
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
132
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
133
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
134
|
+
- Invalid HTML tag nesting.
|
|
135
|
+
|
|
136
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
137
|
+
|
|
138
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function _f(){Ml=Pd=null,Tl=!1}function Ya(e,t,i){ae(og,t._currentValue,e),t._currentValue=i,ae(sg,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Qw&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Qw}function ba(e,t){e._currentValue=og.current;var i=sg.current;de(sg,t),e._currentRenderer=i,de(og,t)}function Ip(e,t,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===i)break;e=e.return}e!==i&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Pp(e,t,i,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var f=l.dependencies;if(f!==null){var m=l.child;f=f.firstContext;e:for(;f!==null;){var x=f;f=l;for(var E=0;E<t.length;E++)if(x.context===t[E]){f.lanes|=i,x=f.alternate,x!==null&&(x.lanes|=i),Ip(f.return,i,e),o||(m=null);break e}f=x.next}}else if(l.tag===18){if(m=l.return,m===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes|=i,f=m.alternate,f!==null&&(f.lanes|=i),Ip(m,i,e),m=null}else m=l.child;if(m!==null)m.return=l;else for(m=l;m!==null;){if(m===e){m=null;break}if(l=m.sibling,l!==null){l.return=m.return,m=l;break}m=m.return}l=m}}function Xs(e,t,i,o){e=null;for(var l=t,f=!1;l!==null;){if(!f){if((l.flags&524288)!==0)f=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var m=l.alternate;if(m===null)throw Error("Should have a current fiber. This is a bug in React.");if(m=m.memoizedProps,m!==null){var x=l.type;oi(l.pendingProps.value,m.value)||(e!==null?e.push(x):e=[x])}}else if(l===Ad.current){if(m=l.alternate,m===null)throw Error("Should have a current fiber. This is a bug in React.");m.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(zc):e=[zc])}l=l.return}e!==null&&Pp(t,e,i,o),t.flags|=262144}function Of(e){for(e=e.firstContext;e!==null;){if(!oi(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xo(e){Pd=e,Ml=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Yt(e){return Tl&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Jy(Pd,e)}function Hf(e,t){return Pd===null&&Xo(e),Jy(e,t)}function Jy(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},Ml===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ml=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ml=Ml.next=t;return i}function Fp(){return{controller:new dD,data:new Map,refCount:0}}function Qo(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function yu(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&hD(pD,function(){e.controller.abort()})}function Or(e,t,i){(e&127)!==0?0>ta&&(ta=pn(),ac=Fd(t),lg=t,i!=null&&(ug=R(i)),(St&(Tn|Ui))!==On&&(tn=!0,mo=rc),e=Zu(),t=Bu(),e!==Nl||t!==oc?Nl=-1.1:t!==null&&(mo=rc),ls=e,oc=t):(e&4194048)!==0&&0>nr&&(nr=pn(),sc=Fd(t),Kw=t,i!=null&&(Jw=R(i)),0>Ra)&&(e=Zu(),t=Bu(),(e!==bo||t!==us)&&(bo=-1.1),go=e,us=t)}function Dk(e){if(0>ta){ta=pn(),ac=e._debugTask!=null?e._debugTask:null,(St&(Tn|Ui))!==On&&(mo=rc);var t=Zu(),i=Bu();t!==Nl||i!==oc?Nl=-1.1:i!==null&&(mo=rc),ls=t,oc=i}0>nr&&(nr=pn(),sc=e._debugTask!=null?e._debugTask:null,0>Ra)&&(e=Zu(),t=Bu(),(e!==bo||t!==us)&&(bo=-1.1),go=e,us=t)}function ya(){var e=os;return os=0,e}function zf(e){var t=os;return os=e,t}function vu(e){var t=os;return os+=e,t}function Lf(){Ge=qe=-1.1}function Ri(){var e=qe;return qe=-1.1,e}function Di(e){0<=e&&(qe=e)}function Hr(){var e=Kt;return Kt=-0,e}function zr(e){0<=e&&(Kt=e)}function Lr(){var e=Xt;return Xt=null,e}function Br(){var e=tn;return tn=!1,e}function qp(e){si=pn(),0>e.actualStartTime&&(e.actualStartTime=si)}function $p(e){if(0<=si){var t=pn()-si;e.actualDuration+=t,e.selfBaseDuration=t,si=-1}}function Wy(e){if(0<=si){var t=pn()-si;e.actualDuration+=t,si=-1}}function Zr(){if(0<=si){var e=pn(),t=e-si;si=-1,os+=t,Kt+=t,Ge=e}}function ev(e){Xt===null&&(Xt=[]),Xt.push(e),ka===null&&(ka=[]),ka.push(e)}function jr(){si=pn(),0>qe&&(qe=si)}function xu(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function _k(e,t){if(uc===null){var i=uc=[];fg=0,cs=t0(),Al={status:"pending",value:void 0,then:function(o){i.push(o)}}}return fg++,t.then(tv,tv),t}function tv(){if(--fg===0&&(-1<nr||(Ra=-1.1),uc!==null)){Al!==null&&(Al.status="fulfilled");var e=uc;uc=null,cs=0,Al=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ok(e,t){var i=[],o={status:"pending",value:null,reason:null,then:function(l){i.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<i.length;l++)(0,i[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<i.length;l++)(0,i[l])(void 0)}),o}function Gp(){var e=fs.current;return e!==null?e:Ht.pooledCache}function Bf(e,t){t===null?ae(fs,fs.current,e):ae(fs,t.pool,e)}function nv(){var e=Gp();return e===null?null:{parent:hn._currentValue,pool:e}}function iv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function rv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function av(e,t,i){ne.actQueue!==null&&(ne.didUsePromise=!0);var o=e.thenables;if(i=o[i],i===void 0?o.push(t):i!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(ki,ki),t=i),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,sv(e),e;default:if(typeof t.status=="string")t.then(ki,ki);else{if(e=Ht,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(f){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=f}},function(f){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=f}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,sv(e),e}throw hs=t,gc=!0,kl}}function Xa(e){try{return vD(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(hs=t,gc=!0,kl):t}}function ov(){if(hs===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=hs;return hs=null,gc=!1,e}function sv(e){if(e===kl||e===Jd)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Ln(e){var t=st;return e!=null&&(st=t===null?e:t.concat(e)),t}function Yp(){var e=st;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var i=e[t].debugTask;if(i!=null)return i}}return null}function Zf(e,t,i){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var f=o[l];if(f!=="children"&&f!=="key"){t===null&&(t=Rf(e,i.mode,0),t._debugInfo=st,t.return=i),Ee(t,function(m){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m)},f);break}}}function jf(e){var t=bc;return bc+=1,Cl===null&&(Cl=iv()),av(Cl,e,t)}function wu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function lv(e,t){throw t.$$typeof===KC?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
139
|
+
- Multiple copies of the "react" package is used.
|
|
140
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
141
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Uf(e,t){var i=Yp();i!==null?i.run(lv.bind(null,e,t)):lv(e,t)}function uv(e,t){var i=R(e)||"Component";yS[i]||(yS[i]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
142
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
143
|
+
<%s>{%s}</%s>`,t,t,i,t,i))}function If(e,t){var i=Yp();i!==null?i.run(uv.bind(null,e,t)):uv(e,t)}function cv(e,t){var i=R(e)||"Component";vS[i]||(vS[i]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
144
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
145
|
+
<%s>%s</%s>`,i,t,i))}function Pf(e,t){var i=Yp();i!==null?i.run(cv.bind(null,e,t)):cv(e,t)}function fv(e){function t(L,Z){if(e){var P=L.deletions;P===null?(L.deletions=[Z],L.flags|=16):P.push(Z)}}function i(L,Z){if(!e)return null;for(;Z!==null;)t(L,Z),Z=Z.sibling;return null}function o(L){for(var Z=new Map;L!==null;)L.key!==null?Z.set(L.key,L):Z.set(L.index,L),L=L.sibling;return Z}function l(L,Z){return L=ma(L,Z),L.index=0,L.sibling=null,L}function f(L,Z,P){return L.index=P,e?(P=L.alternate,P!==null?(P=P.index,P<Z?(L.flags|=67108866,Z):P):(L.flags|=67108866,Z)):(L.flags|=1048576,Z)}function m(L){return e&&L.alternate===null&&(L.flags|=67108866),L}function x(L,Z,P,se){return Z===null||Z.tag!==6?(Z=zp(P,L.mode,se),Z.return=L,Z._debugOwner=L,Z._debugTask=L._debugTask,Z._debugInfo=st,Z):(Z=l(Z,P),Z.return=L,Z._debugInfo=st,Z)}function E(L,Z,P,se){var Te=P.type;return Te===cl?(Z=q(L,Z,P.props.children,se,P.key),Zf(P,Z,L),Z):Z!==null&&(Z.elementType===Te||Uy(Z,P)||typeof Te=="object"&&Te!==null&&Te.$$typeof===zi&&Xa(Te)===Z.type)?(Z=l(Z,P.props),wu(Z,P),Z.return=L,Z._debugOwner=P._owner,Z._debugInfo=st,Z):(Z=Rf(P,L.mode,se),wu(Z,P),Z.return=L,Z._debugInfo=st,Z)}function T(L,Z,P,se){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==P.containerInfo||Z.stateNode.implementation!==P.implementation?(Z=Lp(P,L.mode,se),Z.return=L,Z._debugInfo=st,Z):(Z=l(Z,P.children||[]),Z.return=L,Z._debugInfo=st,Z)}function q(L,Z,P,se,Te){return Z===null||Z.tag!==7?(Z=$o(P,L.mode,se,Te),Z.return=L,Z._debugOwner=L,Z._debugTask=L._debugTask,Z._debugInfo=st,Z):(Z=l(Z,P),Z.return=L,Z._debugInfo=st,Z)}function $(L,Z,P){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=zp(""+Z,L.mode,P),Z.return=L,Z._debugOwner=L,Z._debugTask=L._debugTask,Z._debugInfo=st,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Gr:return P=Rf(Z,L.mode,P),wu(P,Z),P.return=L,L=Ln(Z._debugInfo),P._debugInfo=st,st=L,P;case ul:return Z=Lp(Z,L.mode,P),Z.return=L,Z._debugInfo=st,Z;case zi:var se=Ln(Z._debugInfo);return Z=Xa(Z),L=$(L,Z,P),st=se,L}if(Vn(Z)||fe(Z))return P=$o(Z,L.mode,P,null),P.return=L,P._debugOwner=L,P._debugTask=L._debugTask,L=Ln(Z._debugInfo),P._debugInfo=st,st=L,P;if(typeof Z.then=="function")return se=Ln(Z._debugInfo),L=$(L,jf(Z),P),st=se,L;if(Z.$$typeof===Yr)return $(L,Hf(L,Z),P);Uf(L,Z)}return typeof Z=="function"&&If(L,Z),typeof Z=="symbol"&&Pf(L,Z),null}function B(L,Z,P,se){var Te=Z!==null?Z.key:null;if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return Te!==null?null:x(L,Z,""+P,se);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case Gr:return P.key===Te?(Te=Ln(P._debugInfo),L=E(L,Z,P,se),st=Te,L):null;case ul:return P.key===Te?T(L,Z,P,se):null;case zi:return Te=Ln(P._debugInfo),P=Xa(P),L=B(L,Z,P,se),st=Te,L}if(Vn(P)||fe(P))return Te!==null?null:(Te=Ln(P._debugInfo),L=q(L,Z,P,se,null),st=Te,L);if(typeof P.then=="function")return Te=Ln(P._debugInfo),L=B(L,Z,jf(P),se),st=Te,L;if(P.$$typeof===Yr)return B(L,Z,Hf(L,P),se);Uf(L,P)}return typeof P=="function"&&If(L,P),typeof P=="symbol"&&Pf(L,P),null}function K(L,Z,P,se,Te){if(typeof se=="string"&&se!==""||typeof se=="number"||typeof se=="bigint")return L=L.get(P)||null,x(Z,L,""+se,Te);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case Gr:return P=L.get(se.key===null?P:se.key)||null,L=Ln(se._debugInfo),Z=E(Z,P,se,Te),st=L,Z;case ul:return L=L.get(se.key===null?P:se.key)||null,T(Z,L,se,Te);case zi:var Je=Ln(se._debugInfo);return se=Xa(se),Z=K(L,Z,P,se,Te),st=Je,Z}if(Vn(se)||fe(se))return P=L.get(P)||null,L=Ln(se._debugInfo),Z=q(Z,P,se,Te,null),st=L,Z;if(typeof se.then=="function")return Je=Ln(se._debugInfo),Z=K(L,Z,P,jf(se),Te),st=Je,Z;if(se.$$typeof===Yr)return K(L,Z,P,Hf(Z,se),Te);Uf(Z,se)}return typeof se=="function"&&If(Z,se),typeof se=="symbol"&&Pf(Z,se),null}function Se(L,Z,P,se){if(typeof P!="object"||P===null)return se;switch(P.$$typeof){case Gr:case ul:y(L,Z,P);var Te=P.key;if(typeof Te!="string")break;if(se===null){se=new Set,se.add(Te);break}if(!se.has(Te)){se.add(Te);break}Ee(Z,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Te)});break;case zi:P=Xa(P),Se(L,Z,P,se)}return se}function Ce(L,Z,P,se){for(var Te=null,Je=null,Pe=null,Ze=Z,rt=Z=0,$t=null;Ze!==null&&rt<P.length;rt++){Ze.index>rt?($t=Ze,Ze=null):$t=Ze.sibling;var un=B(L,Ze,P[rt],se);if(un===null){Ze===null&&(Ze=$t);break}Te=Se(L,un,P[rt],Te),e&&Ze&&un.alternate===null&&t(L,Ze),Z=f(un,Z,rt),Pe===null?Je=un:Pe.sibling=un,Pe=un,Ze=$t}if(rt===P.length)return i(L,Ze),ht&&ga(L,rt),Je;if(Ze===null){for(;rt<P.length;rt++)Ze=$(L,P[rt],se),Ze!==null&&(Te=Se(L,Ze,P[rt],Te),Z=f(Ze,Z,rt),Pe===null?Je=Ze:Pe.sibling=Ze,Pe=Ze);return ht&&ga(L,rt),Je}for(Ze=o(Ze);rt<P.length;rt++)$t=K(Ze,L,rt,P[rt],se),$t!==null&&(Te=Se(L,$t,P[rt],Te),e&&$t.alternate!==null&&Ze.delete($t.key===null?rt:$t.key),Z=f($t,Z,rt),Pe===null?Je=$t:Pe.sibling=$t,Pe=$t);return e&&Ze.forEach(function(Za){return t(L,Za)}),ht&&ga(L,rt),Je}function Lt(L,Z,P,se){if(P==null)throw Error("An iterable object provided no iterator.");for(var Te=null,Je=null,Pe=Z,Ze=Z=0,rt=null,$t=null,un=P.next();Pe!==null&&!un.done;Ze++,un=P.next()){Pe.index>Ze?(rt=Pe,Pe=null):rt=Pe.sibling;var Za=B(L,Pe,un.value,se);if(Za===null){Pe===null&&(Pe=rt);break}$t=Se(L,Za,un.value,$t),e&&Pe&&Za.alternate===null&&t(L,Pe),Z=f(Za,Z,Ze),Je===null?Te=Za:Je.sibling=Za,Je=Za,Pe=rt}if(un.done)return i(L,Pe),ht&&ga(L,Ze),Te;if(Pe===null){for(;!un.done;Ze++,un=P.next())Pe=$(L,un.value,se),Pe!==null&&($t=Se(L,Pe,un.value,$t),Z=f(Pe,Z,Ze),Je===null?Te=Pe:Je.sibling=Pe,Je=Pe);return ht&&ga(L,Ze),Te}for(Pe=o(Pe);!un.done;Ze++,un=P.next())rt=K(Pe,L,Ze,un.value,se),rt!==null&&($t=Se(L,rt,un.value,$t),e&&rt.alternate!==null&&Pe.delete(rt.key===null?Ze:rt.key),Z=f(rt,Z,Ze),Je===null?Te=rt:Je.sibling=rt,Je=rt);return e&&Pe.forEach(function(PD){return t(L,PD)}),ht&&ga(L,Ze),Te}function yt(L,Z,P,se){if(typeof P=="object"&&P!==null&&P.type===cl&&P.key===null&&(Zf(P,null,L),P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case Gr:var Te=Ln(P._debugInfo);e:{for(var Je=P.key;Z!==null;){if(Z.key===Je){if(Je=P.type,Je===cl){if(Z.tag===7){i(L,Z.sibling),se=l(Z,P.props.children),se.return=L,se._debugOwner=P._owner,se._debugInfo=st,Zf(P,se,L),L=se;break e}}else if(Z.elementType===Je||Uy(Z,P)||typeof Je=="object"&&Je!==null&&Je.$$typeof===zi&&Xa(Je)===Z.type){i(L,Z.sibling),se=l(Z,P.props),wu(se,P),se.return=L,se._debugOwner=P._owner,se._debugInfo=st,L=se;break e}i(L,Z);break}else t(L,Z);Z=Z.sibling}P.type===cl?(se=$o(P.props.children,L.mode,se,P.key),se.return=L,se._debugOwner=L,se._debugTask=L._debugTask,se._debugInfo=st,Zf(P,se,L),L=se):(se=Rf(P,L.mode,se),wu(se,P),se.return=L,se._debugInfo=st,L=se)}return L=m(L),st=Te,L;case ul:e:{for(Te=P,P=Te.key;Z!==null;){if(Z.key===P)if(Z.tag===4&&Z.stateNode.containerInfo===Te.containerInfo&&Z.stateNode.implementation===Te.implementation){i(L,Z.sibling),se=l(Z,Te.children||[]),se.return=L,L=se;break e}else{i(L,Z);break}else t(L,Z);Z=Z.sibling}se=Lp(Te,L.mode,se),se.return=L,L=se}return m(L);case zi:return Te=Ln(P._debugInfo),P=Xa(P),L=yt(L,Z,P,se),st=Te,L}if(Vn(P))return Te=Ln(P._debugInfo),L=Ce(L,Z,P,se),st=Te,L;if(fe(P)){if(Te=Ln(P._debugInfo),Je=fe(P),typeof Je!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Pe=Je.call(P);return Pe===P?(L.tag!==0||Object.prototype.toString.call(L.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Pe)!=="[object Generator]")&&(gS||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),gS=!0):P.entries!==Je||mg||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mg=!0),L=Lt(L,Z,Pe,se),st=Te,L}if(typeof P.then=="function")return Te=Ln(P._debugInfo),L=yt(L,Z,jf(P),se),st=Te,L;if(P.$$typeof===Yr)return yt(L,Z,Hf(L,P),se);Uf(L,P)}return typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint"?(Te=""+P,Z!==null&&Z.tag===6?(i(L,Z.sibling),se=l(Z,Te),se.return=L,L=se):(i(L,Z),se=zp(Te,L.mode,se),se.return=L,se._debugOwner=L,se._debugTask=L._debugTask,se._debugInfo=st,L=se),m(L)):(typeof P=="function"&&If(L,P),typeof P=="symbol"&&Pf(L,P),i(L,Z))}return function(L,Z,P,se){var Te=st;st=null;try{bc=0;var Je=yt(L,Z,P,se);return Cl=null,Je}catch($t){if($t===kl||$t===Jd)throw $t;var Pe=v(29,$t,null,L.mode);Pe.lanes=se,Pe.return=L;var Ze=Pe._debugInfo=st;if(Pe._debugOwner=L._debugOwner,Pe._debugTask=L._debugTask,Ze!=null){for(var rt=Ze.length-1;0<=rt;rt--)if(typeof Ze[rt].stack=="string"){Pe._debugOwner=Ze[rt],Pe._debugTask=Ze[rt].debugTask;break}}return Pe}finally{st=Te}}}function dv(e,t){var i=Vn(e);return e=!i&&typeof fe(e)=="function",i||e?(i=i?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",i,t,i),!1):!0}function Xp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Qp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Qa(e){return{lane:e,tag:wS,payload:null,callback:null,next:null}}function Ka(e,t,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,bg===o&&!VS){var l=R(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
146
|
+
|
|
147
|
+
Please update the following component: %s`,l),VS=!0}return(St&Tn)!==On?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=Cf(e),jy(e,null,i),t):(kf(e,o,t,i),Cf(e))}function Su(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,rn(e,i)}}function Ff(e,t){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var l=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var m={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};f===null?l=f=m:f=f.next=m,i=i.next}while(i!==null);f===null?l=f=t:f=f.next=t}else l=f=t;i={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function Eu(){if(yg){var e=Al;if(e!==null)throw e}}function Vu(e,t,i,o){yg=!1;var l=e.updateQueue;yo=!1,bg=l.shared;var f=l.firstBaseUpdate,m=l.lastBaseUpdate,x=l.shared.pending;if(x!==null){l.shared.pending=null;var E=x,T=E.next;E.next=null,m===null?f=T:m.next=T,m=E;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==m&&(x===null?q.firstBaseUpdate=T:x.next=T,q.lastBaseUpdate=E))}if(f!==null){var $=l.baseState;m=0,q=T=E=null,x=f;do{var B=x.lane&-536870913,K=B!==x.lane;if(K?(lt&B)===B:(o&B)===B){B!==0&&B===cs&&(yg=!0),q!==null&&(q=q.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{B=e;var Se=x,Ce=t,Lt=i;switch(Se.tag){case SS:if(Se=Se.payload,typeof Se=="function"){Tl=!0;var yt=Se.call(Lt,$,Ce);if(B.mode&Xn){Re(!0);try{Se.call(Lt,$,Ce)}finally{Re(!1)}}Tl=!1,$=yt;break e}$=Se;break e;case gg:B.flags=B.flags&-65537|128;case wS:if(yt=Se.payload,typeof yt=="function"){if(Tl=!0,Se=yt.call(Lt,$,Ce),B.mode&Xn){Re(!0);try{yt.call(Lt,$,Ce)}finally{Re(!1)}}Tl=!1}else Se=yt;if(Se==null)break e;$=ft({},$,Se);break e;case ES:yo=!0}}B=x.callback,B!==null&&(e.flags|=64,K&&(e.flags|=8192),K=l.callbacks,K===null?l.callbacks=[B]:K.push(B))}else K={lane:B,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(T=q=K,E=$):q=q.next=K,m|=B;if(x=x.next,x===null){if(x=l.shared.pending,x===null)break;K=x,x=K.next,K.next=null,l.lastBaseUpdate=K,l.shared.pending=null}}while(!0);q===null&&(E=$),l.baseState=E,l.firstBaseUpdate=T,l.lastBaseUpdate=q,f===null&&(l.shared.lanes=0),wo|=m,e.lanes=m,e.memoizedState=$}bg=null}function hv(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Hk(e,t){var i=e.shared.hiddenCallbacks;if(i!==null)for(e.shared.hiddenCallbacks=null,e=0;e<i.length;e++)hv(i[e],t)}function pv(e,t){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)hv(i[e],t)}function mv(e,t){var i=ia;ae(eh,i,e),ae(Rl,t,e),ia=i|t.baseLanes}function Kp(e){ae(eh,ia,e),ae(Rl,Rl.current,e)}function Jp(e){ia=eh.current,de(Rl,e),de(eh,e)}function Ja(e){var t=e.alternate;ae(ln,ln.current&Dl,e),ae(Zi,e,e),ir===null&&(t===null||Rl.current!==null||t.memoizedState!==null)&&(ir=e)}function Wp(e){ae(ln,ln.current,e),ae(Zi,e,e),ir===null&&(ir=e)}function gv(e){e.tag===22?(ae(ln,ln.current,e),ae(Zi,e,e),ir===null&&(ir=e)):Wa(e)}function Wa(e){ae(ln,ln.current,e),ae(Zi,Zi.current,e)}function _i(e){de(Zi,e),ir===e&&(ir=null),de(ln,e)}function qf(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||d0(i)||h0(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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}function ct(){var e=te;ar===null?ar=[e]:ar.push(e)}function ge(){var e=te;if(ar!==null&&(Oa++,ar[Oa]!==e)){var t=R(Ke);if(!MS.has(t)&&(MS.add(t),ar!==null)){for(var i="",o=0;o<=Oa;o++){var l=ar[o],f=o===Oa?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=f+`
|
|
148
|
+
`,i+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
149
|
+
|
|
150
|
+
Previous render Next render
|
|
151
|
+
------------------------------------------------------
|
|
152
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
153
|
+
`,t,i)}}}function Qs(e){e==null||Vn(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",te,typeof e)}function $f(){var e=R(Ke);NS.has(e)||(NS.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function on(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
154
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
155
|
+
2. You might be breaking the Rules of Hooks
|
|
156
|
+
3. You might have more than one copy of React in the same app
|
|
157
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function em(e,t){if(xc)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",te),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
158
|
+
|
|
159
|
+
Previous: %s
|
|
160
|
+
Incoming: %s`,te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!oi(e[i],t[i]))return!1;return!0}function tm(e,t,i,o,l,f){Da=f,Ke=t,ar=e!==null?e._debugHookTypes:null,Oa=-1,xc=e!==null&&e.type!==t.type,(Object.prototype.toString.call(i)==="[object AsyncFunction]"||Object.prototype.toString.call(i)==="[object AsyncGeneratorFunction]")&&(f=R(Ke),vg.has(f)||(vg.add(f),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",f===null?"An unknown Component":"<"+f+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ne.H=e!==null&&e.memoizedState!==null?wg:ar!==null?AS:xg,ms=f=(t.mode&Xn)!==Xe;var m=dg(i,o,l);if(ms=!1,Ol&&(m=nm(t,i,o,l)),f){Re(!0);try{m=nm(t,i,o,l)}finally{Re(!1)}}return bv(e,t),m}function bv(e,t){t._debugHookTypes=ar,t.dependencies===null?_a!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:_a}):t.dependencies._debugThenableState=_a,ne.H=wc;var i=Ot!==null&&Ot.next!==null;if(Da=0,ar=te=mn=Ot=Ke=null,Oa=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),nh=!1,vc=0,_a=null,i)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||gn||(e=e.dependencies,e!==null&&Of(e)&&(gn=!0)),gc?(gc=!1,e=!0):e=!1,e&&(t=R(t)||"Unknown",TS.has(t)||vg.has(t)||(TS.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function nm(e,t,i,o){Ke=e;var l=0;do{if(Ol&&(_a=null),vc=0,Ol=!1,l>=wD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,xc=!1,mn=Ot=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Oa=-1,ne.H=kS,f=dg(t,i,o)}while(Ol);return f}function zk(){var e=ne.H,t=e.useState()[0];return t=typeof t.then=="function"?Mu(t):t,e=e.useState()[0],(Ot!==null?Ot.memoizedState:null)!==e&&(Ke.flags|=1024),t}function im(){var e=ih!==0;return ih=0,e}function rm(e,t,i){t.updateQueue=e.updateQueue,t.flags=(t.mode&vr)!==Xe?t.flags&-402655237:t.flags&-2053,e.lanes&=~i}function am(e){if(nh){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}nh=!1}Da=0,ar=mn=Ot=Ke=null,Oa=-1,te=null,Ol=!1,vc=ih=0,_a=null}function ni(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mn===null?Ke.memoizedState=mn=e:mn=mn.next=e,mn}function kt(){if(Ot===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=Ot.next;var t=mn===null?Ke.memoizedState:mn.next;if(t!==null)mn=t,Ot=e;else{if(e===null)throw Ke.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Ot=e,e={memoizedState:Ot.memoizedState,baseState:Ot.baseState,baseQueue:Ot.baseQueue,queue:Ot.queue,next:null},mn===null?Ke.memoizedState=mn=e:mn=mn.next=e}return mn}function Gf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Mu(e){var t=vc;return vc+=1,_a===null&&(_a=iv()),e=av(_a,e,t),t=Ke,(mn===null?t.memoizedState:mn.next)===null&&(t=t.alternate,ne.H=t!==null&&t.memoizedState!==null?wg:xg),e}function eo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Mu(e);if(e.$$typeof===Yr)return Yt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ko(e){var t=null,i=Ke.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var o=Ke.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=Gf(),Ke.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0||xc)for(i=t.data[t.index]=Array(e),o=0;o<e;o++)i[o]=JC;else i.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",i.length,e);return t.index++,i}function gr(e,t){return typeof t=="function"?t(e):t}function om(e,t,i){var o=ni();if(i!==void 0){var l=i(t);if(ms){Re(!0);try{i(t)}finally{Re(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=Uk.bind(null,Ke,e),[o.memoizedState,e]}function Ks(e){var t=kt();return sm(t,Ot,e)}function sm(e,t,i){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=i;var l=e.baseQueue,f=o.pending;if(f!==null){if(l!==null){var m=l.next;l.next=f.next,f.next=m}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=f,o.pending=null}if(f=e.baseState,l===null)e.memoizedState=f;else{t=l.next;var x=m=null,E=null,T=t,q=!1;do{var $=T.lane&-536870913;if($!==T.lane?(lt&$)===$:(Da&$)===$){var B=T.revertLane;if(B===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),$===cs&&(q=!0);else if((Da&B)===B){T=T.next,B===cs&&(q=!0);continue}else $={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(x=E=$,m=f):E=E.next=$,Ke.lanes|=B,wo|=B;$=T.action,ms&&i(f,$),f=T.hasEagerState?T.eagerState:i(f,$)}else B={lane:$,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(x=E=B,m=f):E=E.next=B,Ke.lanes|=$,wo|=$;T=T.next}while(T!==null&&T!==t);if(E===null?m=f:E.next=x,!oi(f,e.memoizedState)&&(gn=!0,q&&(i=Al,i!==null)))throw i;e.memoizedState=f,e.baseState=m,e.baseQueue=E,o.lastRenderedState=f}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Tu(e){var t=kt(),i=t.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=e;var o=i.dispatch,l=i.pending,f=t.memoizedState;if(l!==null){i.pending=null;var m=l=l.next;do f=e(f,m.action),m=m.next;while(m!==l);oi(f,t.memoizedState)||(gn=!0),t.memoizedState=f,t.baseQueue===null&&(t.baseState=f),i.lastRenderedState=f}return[f,o]}function lm(e,t,i){var o=Ke,l=ni();if(ht){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=i();_l||f===i()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),_l=!0)}else{if(f=t(),_l||(i=t(),oi(f,i)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),_l=!0)),Ht===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(lt&127)!==0||yv(o,t,f)}return l.memoizedState=f,i={value:f,getSnapshot:t},l.queue=i,Kf(xv.bind(null,o,i,e),[e]),o.flags|=2048,Ws(rr|ui,{destroy:void 0},vv.bind(null,o,i,f,t),null),f}function Yf(e,t,i){var o=Ke,l=kt(),f=ht;if(f){if(i===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");i=i()}else if(i=t(),!_l){var m=t();oi(i,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),_l=!0)}(m=!oi((Ot||l).memoizedState,i))&&(l.memoizedState=i,gn=!0),l=l.queue;var x=xv.bind(null,o,l,e);if(vi(2048,ui,x,[e]),l.getSnapshot!==t||m||mn!==null&&mn.memoizedState.tag&rr){if(o.flags|=2048,Ws(rr|ui,{destroy:void 0},vv.bind(null,o,l,i,t),null),Ht===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Da&127)!==0||yv(o,t,i)}return i}function yv(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Ke.updateQueue,t===null?(t=Gf(),Ke.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function vv(e,t,i,o){t.value=i,t.getSnapshot=o,wv(t)&&Sv(e)}function xv(e,t,i){return i(function(){wv(t)&&(Or(2,"updateSyncExternalStore()",e),Sv(e))})}function wv(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!oi(e,i)}catch{return!0}}function Sv(e){var t=Gn(e,2);t!==null&&en(t,e,2)}function um(e){var t=ni();if(typeof e=="function"){var i=e;if(e=i(),ms){Re(!0);try{i()}finally{Re(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:e},t}function cm(e){e=um(e);var t=e.queue,i=Uv.bind(null,Ke,t);return t.dispatch=i,[e.memoizedState,i]}function fm(e){var t=ni();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=Mm.bind(null,Ke,!0,i),i.dispatch=t,[e,t]}function Ev(e,t){var i=kt();return Vv(i,Ot,e,t)}function Vv(e,t,i,o){return e.baseState=i,sm(e,Ot,typeof o=="function"?o:gr)}function Mv(e,t){var i=kt();return Ot!==null?Vv(i,Ot,e,t):(i.baseState=e,[e,i.queue.dispatch])}function Lk(e,t,i,o,l){if(id(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var f={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){f.listeners.push(m)}};ne.T!==null?i(!0):f.isTransition=!1,o(f),i=t.pending,i===null?(f.next=t.pending=f,Tv(t,f)):(f.next=i.next,t.pending=i.next=f)}}function Tv(e,t){var i=t.action,o=t.payload,l=e.state;if(t.isTransition){var f=ne.T,m={};m._updatedFibers=new Set,ne.T=m;try{var x=i(l,o),E=ne.S;E!==null&&E(m,x),Nv(e,t,x)}catch(T){dm(e,t,T)}finally{f!==null&&m.types!==null&&(f.types!==null&&f.types!==m.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=m.types),ne.T=f,f===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{m=i(l,o),Nv(e,t,m)}catch(T){dm(e,t,T)}}function Nv(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?(ne.asyncTransitions++,i.then(nd,nd),i.then(function(o){Av(e,t,o)},function(o){return dm(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Av(e,t,i)}function Av(e,t,i){t.status="fulfilled",t.value=i,kv(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Tv(e,i)))}function dm(e,t,i){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=i,kv(t),t=t.next;while(t!==o)}e.action=null}function kv(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Cv(e,t){return t}function Js(e,t){if(ht){var i=Ht.formState;if(i!==null){e:{var o=Ke;if(ht){if(qt){t:{for(var l=qt,f=tr;l.nodeType!==8;){if(!f){l=null;break t}if(l=Hi(l.nextSibling),l===null){l=null;break t}}f=l.data,l=f===Fg||f===pE?l:null}if(l){qt=Hi(l.nextSibling),o=l.data===Fg;break e}}Ga(o)}o=!1}o&&(t=i[0])}}return i=ni(),i.memoizedState=i.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Cv,lastRenderedState:t},i.queue=o,i=Uv.bind(null,Ke,o),o.dispatch=i,o=um(!1),f=Mm.bind(null,Ke,!1,o.queue),o=ni(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,i=Lk.bind(null,Ke,l,f,i),l.dispatch=i,o.memoizedState=e,[t,i,!1]}function Xf(e){var t=kt();return Rv(t,Ot,e)}function Rv(e,t,i){if(t=sm(e,t,Cv)[0],e=Ks(gr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Mu(t)}catch(m){throw m===kl?Jd:m}else o=t;t=kt();var l=t.queue,f=l.dispatch;return i!==t.memoizedState&&(Ke.flags|=2048,Ws(rr|ui,{destroy:void 0},Bk.bind(null,l,i),null)),[o,f,e]}function Bk(e,t){e.action=t}function Qf(e){var t=kt(),i=Ot;if(i!==null)return Rv(t,i,e);kt(),t=t.memoizedState,i=kt();var o=i.queue.dispatch;return i.memoizedState=e,[t,o,!1]}function Ws(e,t,i,o){return e={tag:e,create:i,deps:o,inst:t,next:null},t=Ke.updateQueue,t===null&&(t=Gf(),Ke.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(o=i.next,i.next=e,e.next=o,t.lastEffect=e),e}function hm(e){var t=ni();return e={current:e},t.memoizedState=e}function Jo(e,t,i,o){var l=ni();Ke.flags|=e,l.memoizedState=Ws(rr|t,{destroy:void 0},i,o===void 0?null:o)}function vi(e,t,i,o){var l=kt();o=o===void 0?null:o;var f=l.memoizedState.inst;Ot!==null&&o!==null&&em(o,Ot.memoizedState.deps)?l.memoizedState=Ws(t,f,i,o):(Ke.flags|=e,l.memoizedState=Ws(rr|t,f,i,o))}function Kf(e,t){(Ke.mode&vr)!==Xe?Jo(276826112,ui,e,t):Jo(8390656,ui,e,t)}function Zk(e){Ke.flags|=4;var t=Ke.updateQueue;if(t===null)t=Gf(),Ke.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function pm(e){var t=ni(),i={impl:e};return t.memoizedState=i,function(){if((St&Tn)!==On)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return i.impl.apply(void 0,arguments)}}function Jf(e){var t=kt().memoizedState;return Zk({ref:t,nextImpl:e}),function(){if((St&Tn)!==On)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function mm(e,t){var i=4194308;return(Ke.mode&vr)!==Xe&&(i|=134217728),Jo(i,ji,e,t)}function Dv(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function gm(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null;var o=4194308;(Ke.mode&vr)!==Xe&&(o|=134217728),Jo(o,ji,Dv.bind(null,t,e),i)}function Wf(e,t,i){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),i=i!=null?i.concat([e]):null,vi(4,ji,Dv.bind(null,t,e),i)}function bm(e,t){return ni().memoizedState=[e,t===void 0?null:t],e}function ed(e,t){var i=kt();t=t===void 0?null:t;var o=i.memoizedState;return t!==null&&em(t,o[1])?o[0]:(i.memoizedState=[e,t],e)}function ym(e,t){var i=ni();t=t===void 0?null:t;var o=e();if(ms){Re(!0);try{e()}finally{Re(!1)}}return i.memoizedState=[o,t],o}function td(e,t){var i=kt();t=t===void 0?null:t;var o=i.memoizedState;if(t!==null&&em(t,o[1]))return o[0];if(o=e(),ms){Re(!0);try{e()}finally{Re(!1)}}return i.memoizedState=[o,t],o}function vm(e,t){var i=ni();return xm(i,e,t)}function _v(e,t){var i=kt();return Hv(i,Ot.memoizedState,e,t)}function Ov(e,t){var i=kt();return Ot===null?xm(i,e,t):Hv(i,Ot.memoizedState,e,t)}function xm(e,t,i){return i===void 0||(Da&1073741824)!==0&&(lt&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=zx(),Ke.lanes|=e,wo|=e,i)}function Hv(e,t,i,o){return oi(i,t)?i:Rl.current!==null?(e=xm(e,i,o),oi(e,t)||(gn=!0),e):(Da&42)===0||(Da&1073741824)!==0&&(lt&261930)===0?(gn=!0,e.memoizedState=i):(e=zx(),Ke.lanes|=e,wo|=e,t)}function nd(){ne.asyncTransitions--}function zv(e,t,i,o,l){var f=At.p;At.p=f!==0&&f<Jr?f:Jr;var m=ne.T,x={};x._updatedFibers=new Set,ne.T=x,Mm(e,!1,t,i);try{var E=l(),T=ne.S;if(T!==null&&T(x,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){ne.asyncTransitions++,E.then(nd,nd);var q=Ok(E,o);Nu(e,t,q,Oi(e))}else Nu(e,t,o,Oi(e))}catch($){Nu(e,t,{then:function(){},status:"rejected",reason:$},Oi(e))}finally{At.p=f,m!==null&&x.types!==null&&(m.types!==null&&m.types!==x.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=x.types),ne.T=m,m===null&&x._updatedFibers&&(e=x._updatedFibers.size,x._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function wm(e,t,i,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=Lv(e).queue;Dk(e),zv(e,l,t,Ts,i===null?b:function(){return Bv(e),i(o)})}function Lv(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ts,baseState:Ts,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:Ts},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gr,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bv(e){ne.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Lv(e);t.next===null&&(t=e.alternate.memoizedState),Nu(e,t.next.queue,{},Oi(e))}function Sm(){var e=um(!1);return e=zv.bind(null,Ke,e.queue,!0,!1),ni().memoizedState=e,[!1,e]}function Zv(){var e=Ks(gr)[0],t=kt().memoizedState;return[typeof e=="boolean"?e:Mu(e),t]}function jv(){var e=Tu(gr)[0],t=kt().memoizedState;return[typeof e=="boolean"?e:Mu(e),t]}function Wo(){return Yt(zc)}function Em(){var e=ni(),t=Ht.identifierPrefix;if(ht){var i=Na,o=Ta;i=(o&~(1<<32-ii(o)-1)).toString(32)+i,t="_"+t+"R_"+i,i=ih++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=xD++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t}function Vm(){return ni().memoizedState=jk.bind(null,Ke)}function jk(e,t){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var o=Oi(i),l=Qa(o),f=Ka(i,l,o);f!==null&&(Or(o,"refresh()",e),en(f,i,o),Su(f,i,o)),e=Fp(),t!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}i=i.return}}function Uk(e,t,i){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Oi(e);var l={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};id(e)?Iv(t,l):(l=Dp(e,t,l,o),l!==null&&(Or(o,"dispatch()",e),en(l,e,o),Pv(l,t,o)))}function Uv(e,t,i){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Oi(e),Nu(e,t,i,o)&&Or(o,"setState()",e)}function Nu(e,t,i,o){var l={lane:o,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(id(e))Iv(t,l);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null)){var m=ne.H;ne.H=wr;try{var x=t.lastRenderedState,E=f(x,i);if(l.hasEagerState=!0,l.eagerState=E,oi(E,x))return kf(e,t,l,0),Ht===null&&Af(),!1}catch{}finally{ne.H=m}}if(i=Dp(e,t,l,o),i!==null)return en(i,e,o),Pv(i,t,o),!0}return!1}function Mm(e,t,i,o){if(ne.T===null&&cs===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:t0(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},id(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Dp(e,i,o,2),t!==null&&(Or(2,"setOptimistic()",e),en(t,e,2))}function id(e){var t=e.alternate;return e===Ke||t!==null&&t===Ke}function Iv(e,t){Ol=nh=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Pv(e,t,i){if((i&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,rn(e,i)}}function Tm(e){if(e!==null&&typeof e!="function"){var t=String(e);jS.has(t)||(jS.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Nm(e,t,i,o){var l=e.memoizedState,f=i(o,l);if(e.mode&Xn){Re(!0);try{f=i(o,l)}finally{Re(!1)}}f===void 0&&(t=ie(t)||"Component",zS.has(t)||(zS.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=f==null?l:ft({},l,f),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function Fv(e,t,i,o,l,f,m){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){if(i=x.shouldComponentUpdate(o,f,m),e.mode&Xn){Re(!0);try{i=x.shouldComponentUpdate(o,f,m)}finally{Re(!1)}}return i===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ie(t)||"Component"),i}return t.prototype&&t.prototype.isPureReactComponent?!gu(i,o)||!gu(l,f):!0}function qv(e,t,i,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,o),t.state!==l&&(e=R(e)||"Component",RS.has(e)||(RS.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Sg.enqueueReplaceState(t,t.state,null))}function es(e,t){var i=t;if("ref"in t){i={};for(var o in t)o!=="ref"&&(i[o]=t[o])}if(e=e.defaultProps){i===t&&(i=ft({},i));for(var l in e)i[l]===void 0&&(i[l]=e[l])}return i}function $v(e){W0(e),console.warn(`%s
|
|
161
|
+
|
|
162
|
+
%s
|
|
163
|
+
`,Hl?"An error occurred in the <"+Hl+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
164
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Gv(e){var t=Hl?"The above error occurred in the <"+Hl+"> component.":"The above error occurred in one of your React components.",i="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Eg||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
|
|
165
|
+
|
|
166
|
+
%s
|
|
167
|
+
|
|
168
|
+
%s
|
|
169
|
+
`,e,t,i].slice(0),typeof e[0]=="string"?e.splice(0,1,SE+" "+e[0],EE,Ah+o+Ah,VE):e.splice(0,0,SE,EE,Ah+o+Ah,VE),e.unshift(console),o=UD.apply(console.error,e),o()}else console.error(`%o
|
|
170
|
+
|
|
171
|
+
%s
|
|
172
|
+
|
|
173
|
+
%s
|
|
174
|
+
`,e,t,i)}function Yv(e){W0(e)}function rd(e,t){try{Hl=t.source?R(t.source):null,Eg=null;var i=t.value;if(ne.actQueue!==null)ne.thrownErrors.push(i);else{var o=e.onUncaughtError;o(i,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function Xv(e,t,i){try{Hl=i.source?R(i.source):null,Eg=R(t);var o=e.onCaughtError;o(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Am(e,t,i){return i=Qa(i),i.tag=gg,i.payload={element:null},i.callback=function(){Ee(t.source,rd,e,t)},i}function km(e){return e=Qa(e),e.tag=gg,e}function Cm(e,t,i,o){var l=i.type.getDerivedStateFromError;if(typeof l=="function"){var f=o.value;e.payload=function(){return l(f)},e.callback=function(){Iy(i),Ee(o.source,Xv,t,i,o)}}var m=i.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){Iy(i),Ee(o.source,Xv,t,i,o),typeof l!="function"&&(Eo===null?Eo=new Set([this]):Eo.add(this)),gD(this,o),typeof l=="function"||(i.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",R(i)||"Unknown")})}function Ik(e,t,i,o,l){if(i.flags|=32768,Kr&&Hu(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=i.alternate,t!==null&&Xs(t,i,l,!0),ht&&(ea=!0),i=Zi.current,i!==null){switch(i.tag){case 31:case 13:return ir===null?hd():i.alternate===null&&Jt===za&&(Jt=oh),i.flags&=-257,i.flags|=65536,i.lanes=l,o===Wd?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([o]):t.add(o),Km(e,o,l)),!1;case 22:return i.flags|=65536,o===Wd?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([o]):i.add(o)),Km(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+i.tag+"). This is a bug in React.")}return Km(e,o,l),hd(),!1}if(ht)return ea=!0,t=Zi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==ag&&bu(Ci(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),i))):(o!==ag&&bu(Ci(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),i)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=Ci(o,i),l=Am(e.stateNode,o,l),Ff(e,l),Jt!==vo&&(Jt=gs)),!1;var f=Ci(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),i);if(Nc===null?Nc=[f]:Nc.push(f),Jt!==vo&&(Jt=gs),t===null)return!0;o=Ci(o,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=l&-l,i.lanes|=e,e=Am(i.stateNode,o,e),Ff(i,e),!1;case 1:if(t=i.type,f=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Eo===null||!Eo.has(f))))return i.flags|=65536,l&=-l,i.lanes|=l,l=km(l),Cm(l,e,i,o),Ff(i,l),!1}i=i.return}while(i!==null);return!1}function Bn(e,t,i,o){t.child=e===null?xS(t,null,i,o):ps(t,e.child,i,o)}function Qv(e,t,i,o,l){i=i.render;var f=t.ref;if("ref"in o){var m={};for(var x in o)x!=="ref"&&(m[x]=o[x])}else m=o;return Xo(t),o=tm(e,t,i,m,f,l),x=im(),e!==null&&!gn?(rm(e,t,l),va(e,t,l)):(ht&&x&&Bp(t),t.flags|=1,Bn(e,t,o,l),t.child)}function Kv(e,t,i,o,l){if(e===null){var f=i.type;return typeof f=="function"&&!Op(f)&&f.defaultProps===void 0&&i.compare===null?(i=qo(f),t.tag=15,t.type=i,Dm(t,f),Jv(e,t,i,o,l)):(e=Hp(i.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(f=e.child,!Bm(e,l)){var m=f.memoizedProps;if(i=i.compare,i=i!==null?i:gu,i(m,o)&&e.ref===t.ref)return va(e,t,l)}return t.flags|=1,e=ma(f,o),e.ref=t.ref,e.return=t,t.child=e}function Jv(e,t,i,o,l){if(e!==null){var f=e.memoizedProps;if(gu(f,o)&&e.ref===t.ref&&t.type===e.type)if(gn=!1,t.pendingProps=o=f,Bm(e,l))(e.flags&131072)!==0&&(gn=!0);else return t.lanes=e.lanes,va(e,t,l)}return Rm(e,t,i,o,l)}function Wv(e,t,i,o){var l=o.children,f=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:nc,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(f=f!==null?f.baseLanes|i:i,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~f}else o=0,t.child=null;return ex(e,t,f,i,o)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Bf(t,f!==null?f.cachePool:null),f!==null?mv(t,f):Kp(t),gv(t);else return o=t.lanes=536870912,ex(e,t,f!==null?f.baseLanes|i:i,i,o)}else f!==null?(Bf(t,f.cachePool),mv(t,f),Wa(t),t.memoizedState=null):(e!==null&&Bf(t,null),Kp(t),Wa(t));return Bn(e,t,l,i),t.child}function Au(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:nc,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ex(e,t,i,o,l){var f=Gp();return f=f===null?null:{parent:hn._currentValue,pool:f},t.memoizedState={baseLanes:i,cachePool:f},e!==null&&Bf(t,null),Kp(t),gv(t),e!==null&&Xs(e,t,o,!0),t.childLanes=l,null}function ad(e,t){var i=t.hidden;return i!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
175
|
+
- <Activity %s>
|
|
176
|
+
+ <Activity %s>`,i===!0?"hidden":i===!1?"hidden={false}":"hidden={...}",i?'mode="hidden"':'mode="visible"'),t=sd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function tx(e,t,i){return ps(t,e.child,null,i),e=ad(t,t.pendingProps),e.flags|=2,_i(t),t.memoizedState=null,e}function Pk(e,t,i){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ht){if(o.mode==="hidden")return e=ad(t,o),t.lanes=536870912,Au(null,e);if(Wp(t),(e=qt)?(i=T9(e,tr),i=i!==null&&i.data===Ss?i:null,i!==null&&(o={dehydrated:i,treeContext:Gy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=qy(i),o.return=t,t.child=o,Un=t,qt=null)):i=null,i===null)throw Df(t,e),Ga(t);return t.lanes=536870912,null}return ad(t,o)}var f=e.memoizedState;if(f!==null){var m=f.dehydrated;if(Wp(t),l)if(t.flags&256)t.flags&=-257,t=tx(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Xy(),(i&536870912)!==0&&dd(t),gn||Xs(e,t,i,!1),l=(i&e.childLanes)!==0,gn||l){if(o=Ht,o!==null&&(m=Hn(o,i),m!==0&&m!==f.retryLane))throw f.retryLane=m,Gn(e,m),en(o,e,m),Vg;hd(),t=tx(e,t,i)}else e=f.treeContext,qt=Hi(m.nextSibling),Un=t,ht=!0,ho=null,ea=!1,Bi=null,tr=!1,e!==null&&Yy(t,e),t=ad(t,o),t.flags|=4096;return t}return f=e.child,o={mode:o.mode,children:o.children},(i&536870912)!==0&&(i&e.lanes)!==0&&dd(t),e=ma(f,o),e.ref=t.ref,t.child=e,e.return=t,e}function od(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==i)&&(t.flags|=4194816)}}function Rm(e,t,i,o,l){if(i.prototype&&typeof i.prototype.render=="function"){var f=ie(i)||"Unknown";US[f]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",f,f),US[f]=!0)}return t.mode&Xn&&xr.recordLegacyContextWarning(t,null),e===null&&(Dm(t,t.type),i.contextTypes&&(f=ie(i)||"Unknown",PS[f]||(PS[f]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",f)))),Xo(t),i=tm(e,t,i,o,void 0,l),o=im(),e!==null&&!gn?(rm(e,t,l),va(e,t,l)):(ht&&o&&Bp(t),t.flags|=1,Bn(e,t,i,l),t.child)}function nx(e,t,i,o,l,f){return Xo(t),Oa=-1,xc=e!==null&&e.type!==t.type,t.updateQueue=null,i=nm(t,o,i,l),bv(e,t),o=im(),e!==null&&!gn?(rm(e,t,f),va(e,t,f)):(ht&&o&&Bp(t),t.flags|=1,Bn(e,t,i,f),t.child)}function ix(e,t,i,o,l){switch(c(t)){case!1:var f=t.stateNode,m=new t.type(t.memoizedProps,f.context).state;f.updater.enqueueSetState(f,m,null);break;case!0:t.flags|=128,t.flags|=65536,f=Error("Simulated error coming from DevTools");var x=l&-l;if(t.lanes|=x,m=Ht,m===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");x=km(x),Cm(x,m,t,Ci(f,t)),Ff(t,x)}if(Xo(t),t.stateNode===null){if(m=fo,f=i.contextType,"contextType"in i&&f!==null&&(f===void 0||f.$$typeof!==Yr)&&!ZS.has(i)&&(ZS.add(i),x=f===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===M0?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ie(i)||"Component",x)),typeof f=="object"&&f!==null&&(m=Yt(f)),f=new i(o,m),t.mode&Xn){Re(!0);try{f=new i(o,m)}finally{Re(!1)}}if(m=t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Sg,t.stateNode=f,f._reactInternals=t,f._reactInternalInstance=CS,typeof i.getDerivedStateFromProps=="function"&&m===null&&(m=ie(i)||"Component",DS.has(m)||(DS.add(m),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",m,f.state===null?"null":"undefined",m))),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=x=m=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?m="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(m="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),m!==null||x!==null||E!==null){f=ie(i)||"Component";var T=typeof i.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";OS.has(f)||(OS.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
177
|
+
|
|
178
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
179
|
+
|
|
180
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
181
|
+
https://react.dev/link/unsafe-component-lifecycles`,f,T,m!==null?`
|
|
182
|
+
`+m:"",x!==null?`
|
|
183
|
+
`+x:"",E!==null?`
|
|
184
|
+
`+E:""))}}f=t.stateNode,m=ie(i)||"Component",f.render||(i.prototype&&typeof i.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",m):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",m)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",m),f.getDefaultProps&&!f.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",m),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),i.childContextTypes&&!BS.has(i)&&(BS.add(i),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",m)),i.contextTypes&&!LS.has(i)&&(LS.add(i),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",m)),typeof f.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",m),i.prototype&&i.prototype.isPureReactComponent&&typeof f.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ie(i)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof f.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m),x=f.props!==o,f.props!==void 0&&x&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m),f.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||_S.has(i)||(_S.add(i),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ie(i))),typeof f.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof f.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof i.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m),(x=f.state)&&(typeof x!="object"||Vn(x))&&console.error("%s.state: must be set to an object or null",m),typeof f.getChildContext=="function"&&typeof i.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m),f=t.stateNode,f.props=o,f.state=t.memoizedState,f.refs={},Xp(t),m=i.contextType,f.context=typeof m=="object"&&m!==null?Yt(m):fo,f.state===o&&(m=ie(i)||"Component",HS.has(m)||(HS.add(m),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",m))),t.mode&Xn&&xr.recordLegacyContextWarning(t,f),xr.recordUnsafeLifecycleWarnings(t,f),f.state=t.memoizedState,m=i.getDerivedStateFromProps,typeof m=="function"&&(Nm(t,i,m,o),f.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(m=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),m!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",R(t)||"Component"),Sg.enqueueReplaceState(f,f.state,null)),Vu(t,o,f,l),Eu(),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vr)!==Xe&&(t.flags|=134217728),f=!0}else if(e===null){f=t.stateNode;var q=t.memoizedProps;x=es(i,q),f.props=x;var $=f.context;E=i.contextType,m=fo,typeof E=="object"&&E!==null&&(m=Yt(E)),T=i.getDerivedStateFromProps,E=typeof T=="function"||typeof f.getSnapshotBeforeUpdate=="function",q=t.pendingProps!==q,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(q||$!==m)&&qv(t,f,o,m),yo=!1;var B=t.memoizedState;f.state=B,Vu(t,o,f,l),Eu(),$=t.memoizedState,q||B!==$||yo?(typeof T=="function"&&(Nm(t,i,T,o),$=t.memoizedState),(x=yo||Fv(t,i,x,o,B,$,m))?(E||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vr)!==Xe&&(t.flags|=134217728)):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vr)!==Xe&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=$),f.props=o,f.state=$,f.context=m,f=x):(typeof f.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&vr)!==Xe&&(t.flags|=134217728),f=!1)}else{f=t.stateNode,Qp(e,t),m=t.memoizedProps,E=es(i,m),f.props=E,T=t.pendingProps,B=f.context,$=i.contextType,x=fo,typeof $=="object"&&$!==null&&(x=Yt($)),q=i.getDerivedStateFromProps,($=typeof q=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(m!==T||B!==x)&&qv(t,f,o,x),yo=!1,B=t.memoizedState,f.state=B,Vu(t,o,f,l),Eu();var K=t.memoizedState;m!==T||B!==K||yo||e!==null&&e.dependencies!==null&&Of(e.dependencies)?(typeof q=="function"&&(Nm(t,i,q,o),K=t.memoizedState),(E=yo||Fv(t,i,E,o,B,K,x)||e!==null&&e.dependencies!==null&&Of(e.dependencies))?($||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,K,x),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,K,x)),typeof f.componentDidUpdate=="function"&&(t.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof f.componentDidUpdate!="function"||m===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=K),f.props=o,f.state=K,f.context=x,f=E):(typeof f.componentDidUpdate!="function"||m===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),f=!1)}if(x=f,od(e,t),m=(t.flags&128)!==0,x||m){if(x=t.stateNode,An(t),m&&typeof i.getDerivedStateFromError!="function")i=null,si=-1;else if(i=oS(x),t.mode&Xn){Re(!0);try{oS(x)}finally{Re(!1)}}t.flags|=1,e!==null&&m?(t.child=ps(t,e.child,null,l),t.child=ps(t,null,i,l)):Bn(e,t,i,l),t.memoizedState=x.state,e=t.child}else e=va(e,t,l);return l=t.stateNode,f&&l.props!==o&&(zl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",R(t)||"a component"),zl=!0),e}function rx(e,t,i,o){return Yo(),t.flags|=256,Bn(e,t,i,o),t.child}function Dm(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
185
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ie(t)||"Unknown",FS[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),FS[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ie(t)||"Unknown",IS[t]||(console.error("%s: Function components do not support contextType.",t),IS[t]=!0))}function _m(e){return{baseLanes:e,cachePool:nv()}}function Om(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=Vi),e}function ax(e,t,i){var o,l=t.pendingProps;d(t)&&(t.flags|=128);var f=!1,m=(t.flags&128)!==0;if((o=m)||(o=e!==null&&e.memoizedState===null?!1:(ln.current&yc)!==0),o&&(f=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(ht){if(f?Ja(t):Wa(t),(e=qt)?(i=T9(e,tr),i=i!==null&&i.data!==Ss?i:null,i!==null&&(o={dehydrated:i,treeContext:Gy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=qy(i),o.return=t,t.child=o,Un=t,qt=null)):i=null,i===null)throw Df(t,e),Ga(t);return h0(i)?t.lanes=32:t.lanes=536870912,null}var x=l.children;if(l=l.fallback,f){Wa(t);var E=t.mode;return x=sd({mode:"hidden",children:x},E),l=$o(l,E,i,null),x.return=t,l.return=t,x.sibling=l,t.child=x,l=t.child,l.memoizedState=_m(i),l.childLanes=Om(e,o,i),t.memoizedState=Mg,Au(null,l)}return Ja(t),Hm(t,x)}var T=e.memoizedState;if(T!==null){var q=T.dehydrated;if(q!==null){if(m)t.flags&256?(Ja(t),t.flags&=-257,t=zm(e,t,i)):t.memoizedState!==null?(Wa(t),t.child=e.child,t.flags|=128,t=null):(Wa(t),x=l.fallback,E=t.mode,l=sd({mode:"visible",children:l.children},E),x=$o(x,E,i,null),x.flags|=2,l.return=t,x.return=t,l.sibling=x,t.child=l,ps(t,e.child,null,i),l=t.child,l.memoizedState=_m(i),l.childLanes=Om(e,o,i),t.memoizedState=Mg,t=Au(null,l));else if(Ja(t),Xy(),(i&536870912)!==0&&dd(t),h0(q)){if(o=q.nextSibling&&q.nextSibling.dataset,o){x=o.dgst;var $=o.msg;E=o.stck;var B=o.cstck}f=$,o=x,l=E,q=B,x=f,E=q,x=Error(x||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),x.stack=l||"",x.digest=o,o=E===void 0?null:E,l={value:x,source:null,stack:o},typeof o=="string"&&rg.set(x,l),bu(l),t=zm(e,t,i)}else if(gn||Xs(e,t,i,!1),o=(i&e.childLanes)!==0,gn||o){if(o=Ht,o!==null&&(l=Hn(o,i),l!==0&&l!==T.retryLane))throw T.retryLane=l,Gn(e,l),en(o,e,l),Vg;d0(q)||hd(),t=zm(e,t,i)}else d0(q)?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,qt=Hi(q.nextSibling),Un=t,ht=!0,ho=null,ea=!1,Bi=null,tr=!1,e!==null&&Yy(t,e),t=Hm(t,l.children),t.flags|=4096);return t}}return f?(Wa(t),x=l.fallback,E=t.mode,B=e.child,q=B.sibling,l=ma(B,{mode:"hidden",children:l.children}),l.subtreeFlags=B.subtreeFlags&65011712,q!==null?x=ma(q,x):(x=$o(x,E,i,null),x.flags|=2),x.return=t,l.return=t,l.sibling=x,t.child=l,Au(null,l),l=t.child,x=e.child.memoizedState,x===null?x=_m(i):(E=x.cachePool,E!==null?(B=hn._currentValue,E=E.parent!==B?{parent:B,pool:B}:E):E=nv(),x={baseLanes:x.baseLanes|i,cachePool:E}),l.memoizedState=x,l.childLanes=Om(e,o,i),t.memoizedState=Mg,Au(e.child,l)):(T!==null&&(i&62914560)===i&&(i&e.lanes)!==0&&dd(t),Ja(t),i=e.child,e=i.sibling,i=ma(i,{mode:"visible",children:l.children}),i.return=t,i.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=i,t.memoizedState=null,i)}function Hm(e,t){return t=sd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function sd(e,t){return e=v(22,e,null,t),e.lanes=0,e}function zm(e,t,i){return ps(t,e.child,null,i),e=Hm(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ox(e,t,i){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Ip(e.return,t,i)}function Lm(e,t,i,o,l,f){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:l,treeForkCount:f}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=i,m.tailMode=l,m.treeForkCount=f)}function sx(e,t,i){var o=t.pendingProps,l=o.revealOrder,f=o.tail,m=o.children,x=ln.current;if((o=(x&yc)!==0)?(x=x&Dl|yc,t.flags|=128):x&=Dl,ae(ln,x,t),x=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!qS[x])if(qS[x]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);x=f??"null",ah[x]||(f==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(ah[x]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(ah[x]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(ah[x]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&m!==void 0&&m!==null&&m!==!1)if(Vn(m)){for(x=0;x<m.length;x++)if(!dv(m[x],x))break e}else if(x=fe(m),typeof x=="function"){if(x=x.call(m))for(var E=x.next(),T=0;!E.done;E=x.next()){if(!dv(E.value,T))break e;T++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(Bn(e,t,m,i),ht?($a(),m=ic):m=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ox(e,i,t);else if(e.tag===19)ox(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(i=t.child,l=null;i!==null;)e=i.alternate,e!==null&&qf(e)===null&&(l=i),i=i.sibling;i=l,i===null?(l=t.child,t.child=null):(l=i.sibling,i.sibling=null),Lm(t,!1,l,i,f,m);break;case"backwards":case"unstable_legacy-backwards":for(i=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&qf(e)===null){t.child=l;break}e=l.sibling,l.sibling=i,i=l,l=e}Lm(t,!0,i,null,f,m);break;case"together":Lm(t,!1,null,null,void 0,m);break;default:t.memoizedState=null}return t.child}function va(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),si=-1,wo|=t.lanes,(i&t.childLanes)===0)if(e!==null){if(Xs(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,i=ma(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=ma(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Bm(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Of(e)))}function Fk(e,t,i){switch(t.tag){case 3:ue(t,t.stateNode.containerInfo),Ya(t,hn,e.memoizedState.cache),Yo();break;case 27:case 5:le(t);break;case 4:ue(t,t.stateNode.containerInfo);break;case 10:Ya(t,t.type,t.memoizedProps.value);break;case 12:(i&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Wp(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ja(t),t.flags|=128,null):(i&t.child.childLanes)!==0?ax(e,t,i):(Ja(t),e=va(e,t,i),e!==null?e.sibling:null);Ja(t);break;case 19:var l=(e.flags&128)!==0;if(o=(i&t.childLanes)!==0,o||(Xs(e,t,i,!1),o=(i&t.childLanes)!==0),l){if(o)return sx(e,t,i);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ae(ln,ln.current,t),o)break;return null;case 22:return t.lanes=0,Wv(e,t,i,t.pendingProps);case 24:Ya(t,hn,e.memoizedState.cache)}return va(e,t,i)}function Zm(e,t,i){if(t._debugNeedsRemount&&e!==null){i=Hp(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),i._debugStack=t._debugStack,i._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,i._debugInfo=t._debugInfo,t===o.child)o.child=i;else{var l=o.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=i}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),i.flags|=2,i}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)gn=!0;else{if(!Bm(e,i)&&(t.flags&128)===0)return gn=!1,Fk(e,t,i);gn=(e.flags&131072)!==0}else gn=!1,(o=ht)&&($a(),o=(t.flags&1048576)!==0),o&&(o=t.index,$a(),$y(t,ic,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Xa(t.elementType),t.type=e,typeof e=="function")Op(e)?(o=es(e,o),t.tag=1,t.type=e=qo(e),t=ix(null,t,e,o,i)):(t.tag=0,Dm(t,e),t.type=e=qo(e),t=Rm(null,t,e,o,i));else{if(e!=null){if(l=e.$$typeof,l===Fu){t.tag=11,t.type=e=_p(e),t=Qv(null,t,e,o,i);break e}else if(l===Nd){t.tag=14,t=Kv(null,t,e,o,i);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===zi&&(t=" Did you wrap a component in React.lazy() more than once?"),i=ie(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Rm(e,t,t.type,t.pendingProps,i);case 1:return o=t.type,l=es(o,t.pendingProps),ix(e,t,o,l,i);case 3:e:{if(ue(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var f=t.memoizedState;l=f.element,Qp(e,t),Vu(t,o,null,i);var m=t.memoizedState;if(o=m.cache,Ya(t,hn,o),o!==f.cache&&Pp(t,[hn],i,!0),Eu(),o=m.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=f,t.memoizedState=f,t.flags&256){t=rx(e,t,o,i);break e}else if(o!==l){l=Ci(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),bu(l),t=rx(e,t,o,i);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(qt=Hi(e.firstChild),Un=t,ht=!0,ho=null,ea=!1,Bi=null,tr=!0,i=xS(t,null,o,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Yo(),o===l){t=va(e,t,i);break e}Bn(e,t,o,i)}t=t.child}return t;case 26:return od(e,t),e===null?(i=D9(t.type,null,t.pendingProps,null))?t.memoizedState=i:ht||(i=t.type,e=t.pendingProps,o=ee(ao.current),o=bd(o).createElement(i),o[jn]=t,o[ri]=e,Zn(o,i,e),_(o),t.stateNode=o):t.memoizedState=D9(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return le(t),e===null&&ht&&(o=ee(ao.current),l=ve(),o=t.stateNode=C9(t.type,t.pendingProps,o,l,!1),ea||(l=y9(o,t.type,t.pendingProps,l),l!==null&&(Go(t,0).serverProps=l)),Un=t,tr=!0,l=qt,io(t.type)?(Yg=l,qt=Hi(o.firstChild)):qt=l),Bn(e,t,t.pendingProps.children,i),od(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ht&&(f=ve(),o=pu(t.type,f.ancestorInfo),l=qt,(m=!l)||(m=DC(l,t.type,t.pendingProps,tr),m!==null?(t.stateNode=m,ea||(f=y9(m,t.type,t.pendingProps,f),f!==null&&(Go(t,0).serverProps=f)),Un=t,qt=Hi(m.firstChild),tr=!1,f=!0):f=!1,m=!f),m&&(o&&Df(t,l),Ga(t))),le(t),l=t.type,f=t.pendingProps,m=e!==null?e.memoizedProps:null,o=f.children,c0(l,f)?o=null:m!==null&&c0(l,m)&&(t.flags|=32),t.memoizedState!==null&&(l=tm(e,t,zk,null,null,i),zc._currentValue=l),od(e,t),Bn(e,t,o,i),t.child;case 6:return e===null&&ht&&(i=t.pendingProps,e=ve(),o=e.ancestorInfo.current,i=o!=null?da(i,o.tag,e.ancestorInfo.implicitRootScope):!0,e=qt,(o=!e)||(o=_C(e,t.pendingProps,tr),o!==null?(t.stateNode=o,Un=t,qt=null,o=!0):o=!1,o=!o),o&&(i&&Df(t,e),Ga(t))),null;case 13:return ax(e,t,i);case 4:return ue(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=ps(t,null,o,i):Bn(e,t,o,i),t.child;case 11:return Qv(e,t,t.type,t.pendingProps,i);case 7:return Bn(e,t,t.pendingProps,i),t.child;case 8:return Bn(e,t,t.pendingProps.children,i),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Bn(e,t,t.pendingProps.children,i),t.child;case 10:return o=t.type,l=t.pendingProps,f=l.value,"value"in l||$S||($S=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ya(t,o,f),Bn(e,t,l.children,i),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Xo(t),l=Yt(l),o=dg(o,l,void 0),t.flags|=1,Bn(e,t,o,i),t.child;case 14:return Kv(e,t,t.type,t.pendingProps,i);case 15:return Jv(e,t,t.type,t.pendingProps,i);case 19:return sx(e,t,i);case 31:return Pk(e,t,i);case 22:return Wv(e,t,i,t.pendingProps);case 24:return Xo(t),o=Yt(hn),e===null?(l=Gp(),l===null&&(l=Ht,f=Fp(),l.pooledCache=f,Qo(f),f!==null&&(l.pooledCacheLanes|=i),l=f),t.memoizedState={parent:o,cache:l},Xp(t),Ya(t,hn,l)):((e.lanes&i)!==0&&(Qp(e,t),Vu(t,null,null,i),Eu()),l=e.memoizedState,f=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Ya(t,hn,o)):(o=f.cache,Ya(t,hn,o),o!==l.cache&&Pp(t,[hn],i,!0))),Bn(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xa(e){e.flags|=4}function jm(e,t,i,o,l){if((t=(e.mode&fD)!==Xe)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(jx())e.flags|=8192;else throw hs=Wd,pg}else e.flags&=-16777217}function lx(e,t){if(t.type!=="stylesheet"||(t.state.loading&or)!==Ms)e.flags&=-16777217;else if(e.flags|=16777216,!L9(t))if(jx())e.flags|=8192;else throw hs=Wd,pg}function ld(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?re():536870912,e.lanes|=t,vs|=t)}function ku(e,t){if(!ht)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function zt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(t)if((e.mode&ot)!==Xe){for(var l=e.selfBaseDuration,f=e.child;f!==null;)i|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,l+=f.treeBaseDuration,f=f.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&ot)!==Xe){l=e.actualDuration,f=e.selfBaseDuration;for(var m=e.child;m!==null;)i|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,l+=m.actualDuration,f+=m.treeBaseDuration,m=m.sibling;e.actualDuration=l,e.treeBaseDuration=f}else for(l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=i,t}function qk(e,t,i){var o=t.pendingProps;switch(Zp(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return zt(t),null;case 1:return zt(t),null;case 3:return i=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),ba(hn,t),W(t),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ys(t)?(Up(),xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jp())),zt(t),null;case 26:var l=t.type,f=t.memoizedState;return e===null?(xa(t),f!==null?(zt(t),lx(t,f)):(zt(t),jm(t,l,null,o,i))):f?f!==e.memoizedState?(xa(t),zt(t),lx(t,f)):(zt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&xa(t),zt(t),jm(t,l,e,o,i)),null;case 27:if(Ve(t),i=ee(ao.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return zt(t),null}e=ve(),Ys(t)?Qy(t):(e=C9(l,o,i,e,!0),t.stateNode=e,xa(t))}return zt(t),null;case 5:if(Ve(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return zt(t),null}var m=ve();if(Ys(t))Qy(t);else{switch(f=ee(ao.current),pu(l,m.ancestorInfo),m=m.context,f=bd(f),m){case Fl:f=f.createElementNS(pl,l);break;case Mh:f=f.createElementNS(Od,l);break;default:switch(l){case"svg":f=f.createElementNS(pl,l);break;case"math":f=f.createElementNS(Od,l);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(l,{is:o.is}):f.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||yr.call(gE,l)||(gE[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}f[jn]=t,f[ri]=o;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)f.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=f;e:switch(Zn(f,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&xa(t)}}return zt(t),jm(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=ee(ao.current),i=ve(),Ys(t)){if(e=t.stateNode,i=t.memoizedProps,l=!ea,o=null,f=Un,f!==null)switch(f.tag){case 3:l&&(l=A9(e,i,o),l!==null&&(Go(t,0).serverProps=l));break;case 27:case 5:o=f.memoizedProps,l&&(l=A9(e,i,o),l!==null&&(Go(t,0).serverProps=l))}e[jn]=t,e=!!(e.nodeValue===i||o!==null&&o.suppressHydrationWarning===!0||h9(e.nodeValue,i)),e||Ga(t,!0)}else l=i.ancestorInfo.current,l!=null&&da(o,l.tag,i.ancestorInfo.implicitRootScope),e=bd(e).createTextNode(o),e[jn]=t,t.stateNode=e}return zt(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(o=Ys(t),i!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[jn]=t,zt(t),(t.mode&ot)!==Xe&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Up(),Yo(),(t.flags&128)===0&&(i=t.memoizedState=null),t.flags|=4,zt(t),(t.mode&ot)!==Xe&&i!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else i=jp(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(_i(t),t):(_i(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return zt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,f=Ys(t),l!==null&&l.dehydrated!==null){if(e===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=t.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[jn]=t,zt(t),(t.mode&ot)!==Xe&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Up(),Yo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,zt(t),(t.mode&ot)!==Xe&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=jp(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(_i(t),t):(_i(t),null)}return _i(t),(t.flags&128)!==0?(t.lanes=i,(t.mode&ot)!==Xe&&xu(t),t):(i=o!==null,e=e!==null&&e.memoizedState!==null,i&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==l&&(o.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),ld(t,t.updateQueue),zt(t),(t.mode&ot)!==Xe&&i&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return W(t),e===null&&i0(t.stateNode.containerInfo),zt(t),null;case 10:return ba(t.type,t),zt(t),null;case 19:if(de(ln,t),o=t.memoizedState,o===null)return zt(t),null;if(l=(t.flags&128)!==0,f=o.rendering,f===null)if(l)ku(o,!1);else{if(Jt!==za||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=qf(e),f!==null){for(t.flags|=128,ku(o,!1),e=f.updateQueue,t.updateQueue=e,ld(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)Fy(i,e),i=i.sibling;return ae(ln,ln.current&Dl|yc,t),ht&&ga(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&Rn()>dh&&(t.flags|=128,l=!0,ku(o,!1),t.lanes=4194304)}else{if(!l)if(e=qf(f),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,ld(t,e),ku(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!ht)return zt(t),null}else 2*Rn()-o.renderingStartTime>dh&&i!==536870912&&(t.flags|=128,l=!0,ku(o,!1),t.lanes=4194304);o.isBackwards?(f.sibling=t.child,t.child=f):(e=o.last,e!==null?e.sibling=f:t.child=f,o.last=f)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Rn(),e.sibling=null,i=ln.current,i=l?i&Dl|yc:i&Dl,ae(ln,i,t),ht&&ga(t,o.treeForkCount),e):(zt(t),null);case 22:case 23:return _i(t),Jp(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(i&536870912)!==0&&(t.flags&128)===0&&(zt(t),t.subtreeFlags&6&&(t.flags|=8192)):zt(t),i=t.updateQueue,i!==null&&ld(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==i&&(t.flags|=2048),e!==null&&de(fs,t),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),ba(hn,t),zt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function $k(e,t){switch(Zp(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ot)!==Xe&&xu(t),t):null;case 3:return ba(hn,t),W(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ve(t),null;case 31:if(t.memoizedState!==null){if(_i(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Yo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ot)!==Xe&&xu(t),t):null;case 13:if(_i(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Yo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ot)!==Xe&&xu(t),t):null;case 19:return de(ln,t),null;case 4:return W(t),null;case 10:return ba(t.type,t),null;case 22:case 23:return _i(t),Jp(t),e!==null&&de(fs,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ot)!==Xe&&xu(t),t):null;case 24:return ba(hn,t),null;case 25:return null;default:return null}}function ux(e,t){switch(Zp(t),t.tag){case 3:ba(hn,t),W(t);break;case 26:case 27:case 5:Ve(t);break;case 4:W(t);break;case 31:t.memoizedState!==null&&_i(t);break;case 13:_i(t);break;case 19:de(ln,t);break;case 10:ba(t.type,t);break;case 22:case 23:_i(t),Jp(t),e!==null&&de(fs,t);break;case 24:ba(hn,t)}}function Ur(e){return(e.mode&ot)!==Xe}function cx(e,t){Ur(e)?(jr(),Cu(t,e),Zr()):Cu(t,e)}function Um(e,t,i){Ur(e)?(jr(),el(i,e,t),Zr()):el(i,e,t)}function Cu(e,t){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var l=o.next;i=l;do{if((i.tag&e)===e&&(o=void 0,(e&li)!==th&&(Ul=!0),o=Ee(t,bD,i),(e&li)!==th&&(Ul=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(i.tag&ji)!==0?"useLayoutEffect":(i.tag&li)!==0?"useInsertionEffect":"useEffect";var m=void 0;m=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
186
|
+
|
|
187
|
+
It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
188
|
+
|
|
189
|
+
`+f+`(() => {
|
|
190
|
+
async function fetchData() {
|
|
191
|
+
// You can await here
|
|
192
|
+
const response = await MyAPI.getData(someId);
|
|
193
|
+
// ...
|
|
194
|
+
}
|
|
195
|
+
fetchData();
|
|
196
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
197
|
+
|
|
198
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Ee(t,function(x,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,E)},f,m)}i=i.next}while(i!==l)}}catch(x){Nt(t,t.return,x)}}function el(e,t,i){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var f=l.next;o=f;do{if((o.tag&e)===e){var m=o.inst,x=m.destroy;x!==void 0&&(m.destroy=void 0,(e&li)!==th&&(Ul=!0),l=t,Ee(l,yD,l,i,x),(e&li)!==th&&(Ul=!1))}o=o.next}while(o!==f)}}catch(E){Nt(t,t.return,E)}}function fx(e,t){Ur(e)?(jr(),Cu(t,e),Zr()):Cu(t,e)}function Im(e,t,i){Ur(e)?(jr(),el(i,e,t),Zr()):el(i,e,t)}function dx(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||zl||(i.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",R(e)||"instance"),i.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",R(e)||"instance"));try{Ee(e,pv,t,i)}catch(o){Nt(e,e.return,o)}}}function Gk(e,t,i){return e.getSnapshotBeforeUpdate(t,i)}function Yk(e,t){var i=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||zl||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",R(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",R(e)||"instance"));try{var l=es(e.type,i),f=Ee(e,Gk,t,l,o);i=GS,f!==void 0||i.has(e.type)||(i.add(e.type),Ee(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",R(e))})),t.__reactInternalSnapshotBeforeUpdate=f}catch(m){Nt(e,e.return,m)}}function hx(e,t,i){i.props=es(e.type,e.memoizedProps),i.state=e.memoizedState,Ur(e)?(jr(),Ee(e,dS,e,t,i),Zr()):Ee(e,dS,e,t,i)}function Xk(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}if(typeof t=="function")if(Ur(e))try{jr(),e.refCleanup=t(i)}finally{Zr()}else e.refCleanup=t(i);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",R(e)),t.current=i}}function Ru(e,t){try{Ee(e,Xk,e)}catch(i){Nt(e,t,i)}}function Ir(e,t){var i=e.ref,o=e.refCleanup;if(i!==null)if(typeof o=="function")try{if(Ur(e))try{jr(),Ee(e,o)}finally{Zr(e)}else Ee(e,o)}catch(l){Nt(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{if(Ur(e))try{jr(),Ee(e,i,null)}finally{Zr(e)}else Ee(e,i,null)}catch(l){Nt(e,t,l)}else i.current=null}function px(e,t,i,o){var l=e.memoizedProps,f=l.id,m=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Xd&&(t="nested-update"),typeof l=="function"&&l(f,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,i),typeof m=="function"&&m(f,t,o,i)}function Qk(e,t,i,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Xd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,i)}function mx(e){var t=e.type,i=e.memoizedProps,o=e.stateNode;try{Ee(e,xC,o,t,i,e)}catch(l){Nt(e,e.return,l)}}function Pm(e,t,i){try{Ee(e,SC,e.stateNode,e.type,i,t,e)}catch(o){Nt(e,e.return,o)}}function gx(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&io(e.type)||e.tag===4}function Fm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&io(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qm(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(E9(i),(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t)):(E9(i),t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=ki));else if(o!==4&&(o===27&&io(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(qm(e,t,i),e=e.sibling;e!==null;)qm(e,t,i),e=e.sibling}function ud(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(o!==4&&(o===27&&io(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(ud(e,t,i),e=e.sibling;e!==null;)ud(e,t,i),e=e.sibling}function Kk(e){for(var t,i=e.return;i!==null;){if(gx(i)){t=i;break}i=i.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,i=Fm(e),ud(e,i,t);break;case 5:i=t.stateNode,t.flags&32&&(S9(i),t.flags&=-33),t=Fm(e),ud(e,t,i);break;case 3:case 4:t=t.stateNode.containerInfo,i=Fm(e),qm(e,i,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bx(e){var t=e.stateNode,i=e.memoizedProps;try{Ee(e,BC,e.type,i,t,e)}catch(o){Nt(e,e.return,o)}}function yx(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function Jk(e,t){if(e=e.containerInfo,qg=kh,e=Oy(e),Np(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var l=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var m=0,x=-1,E=-1,T=0,q=0,$=e,B=null;t:for(;;){for(var K;$!==i||l!==0&&$.nodeType!==3||(x=m+l),$!==f||o!==0&&$.nodeType!==3||(E=m+o),$.nodeType===3&&(m+=$.nodeValue.length),(K=$.firstChild)!==null;)B=$,$=K;for(;;){if($===e)break t;if(B===i&&++T===l&&(x=m),B===f&&++q===o&&(E=m),(K=$.nextSibling)!==null)break;$=B,B=$.parentNode}$=K}i=x===-1||E===-1?null:{start:x,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for($g={focusedElem:e,selectionRange:i},kh=!1,_n=t;_n!==null;)if(t=_n,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_n=e;else for(;_n!==null;){switch(e=t=_n,i=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)l=e[i],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&i!==null&&Yk(e,i);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,i=e.nodeType,i===9)f0(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":f0(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,_n=e;break}_n=t.return}}function vx(e,t,i){var o=Ri(),l=Hr(),f=Lr(),m=Br(),x=i.flags;switch(i.tag){case 0:case 11:case 15:Pr(e,i),x&4&&cx(i,ji|rr);break;case 1:if(Pr(e,i),x&4)if(e=i.stateNode,t===null)i.type.defaultProps||"ref"in i.memoizedProps||zl||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",R(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",R(i)||"instance")),Ur(i)?(jr(),Ee(i,hg,i,e),Zr()):Ee(i,hg,i,e);else{var E=es(i.type,t.memoizedProps);t=t.memoizedState,i.type.defaultProps||"ref"in i.memoizedProps||zl||(e.props!==i.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",R(i)||"instance"),e.state!==i.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",R(i)||"instance")),Ur(i)?(jr(),Ee(i,uS,i,e,E,t,e.__reactInternalSnapshotBeforeUpdate),Zr()):Ee(i,uS,i,e,E,t,e.__reactInternalSnapshotBeforeUpdate)}x&64&&dx(i),x&512&&Ru(i,i.return);break;case 3:if(t=ya(),Pr(e,i),x&64&&(x=i.updateQueue,x!==null)){if(E=null,i.child!==null)switch(i.child.tag){case 27:case 5:E=i.child.stateNode;break;case 1:E=i.child.stateNode}try{Ee(i,pv,x,E)}catch(q){Nt(i,i.return,q)}}e.effectDuration+=zf(t);break;case 27:t===null&&x&4&&bx(i);case 26:case 5:if(Pr(e,i),t===null){if(x&4)mx(i);else if(x&64){e=i.type,t=i.memoizedProps,E=i.stateNode;try{Ee(i,wC,E,e,t,i)}catch(q){Nt(i,i.return,q)}}}x&512&&Ru(i,i.return);break;case 12:if(x&4){x=ya(),Pr(e,i),e=i.stateNode,e.effectDuration+=vu(x);try{Ee(i,px,i,t,po,e.effectDuration)}catch(q){Nt(i,i.return,q)}}else Pr(e,i);break;case 31:Pr(e,i),x&4&&Sx(e,i);break;case 13:Pr(e,i),x&4&&Ex(e,i),x&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(x=sC.bind(null,i),OC(e,x))));break;case 22:if(x=i.memoizedState!==null||Ha,!x){t=t!==null&&t.memoizedState!==null||bn,E=Ha;var T=bn;Ha=x,(bn=t)&&!T?(Fr(e,i,(i.subtreeFlags&8772)!==0),(i.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Tf(i,qe,Ge)):Pr(e,i),Ha=E,bn=T}break;case 30:break;default:Pr(e,i)}(i.mode&ot)!==Xe&&0<=qe&&0<=Ge&&((tn||.05<Kt)&&_r(i,qe,Ge,Kt,Xt),i.alternate===null&&i.return!==null&&i.return.alternate!==null&&.05<Ge-qe&&(yx(i.return.alternate,i.return)||Dr(i,qe,Ge,"Mount"))),Di(o),zr(l),Xt=f,tn=m}function xx(e){var t=e.alternate;t!==null&&(e.alternate=null,xx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&G(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wa(e,t,i){for(i=i.child;i!==null;)wx(e,t,i),i=i.sibling}function wx(e,t,i){if(Yn&&typeof Yn.onCommitFiberUnmount=="function")try{Yn.onCommitFiberUnmount(dl,i)}catch(T){Qr||(Qr=!0,console.error("React instrumentation encountered an error: %o",T))}var o=Ri(),l=Hr(),f=Lr(),m=Br();switch(i.tag){case 26:bn||Ir(i,t),wa(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(e=i.stateNode,e.parentNode.removeChild(e));break;case 27:bn||Ir(i,t);var x=yn,E=Si;io(i.type)&&(yn=i.stateNode,Si=!1),wa(e,t,i),Ee(i,ju,i.stateNode),yn=x,Si=E;break;case 5:bn||Ir(i,t);case 6:if(x=yn,E=Si,yn=null,wa(e,t,i),yn=x,Si=E,yn!==null)if(Si)try{Ee(i,MC,yn,i.stateNode)}catch(T){Nt(i,t,T)}else try{Ee(i,VC,yn,i.stateNode)}catch(T){Nt(i,t,T)}break;case 18:yn!==null&&(Si?(e=yn,V9(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),ll(e)):V9(yn,i.stateNode));break;case 4:x=yn,E=Si,yn=i.stateNode.containerInfo,Si=!0,wa(e,t,i),yn=x,Si=E;break;case 0:case 11:case 14:case 15:el(li,i,t),bn||Um(i,t,ji),wa(e,t,i);break;case 1:bn||(Ir(i,t),x=i.stateNode,typeof x.componentWillUnmount=="function"&&hx(i,t,x)),wa(e,t,i);break;case 21:wa(e,t,i);break;case 22:bn=(x=bn)||i.memoizedState!==null,wa(e,t,i),bn=x;break;default:wa(e,t,i)}(i.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(i,qe,Ge,Kt,Xt),Di(o),zr(l),Xt=f,tn=m}function Sx(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ee(t,zC,e)}catch(i){Nt(t,t.return,i)}}}function Ex(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ee(t,LC,e)}catch(i){Nt(t,t.return,i)}}function Wk(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new YS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new YS),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function cd(e,t){var i=Wk(e);t.forEach(function(o){if(!i.has(o)){if(i.add(o),Kr)if(Ll!==null&&Bl!==null)Hu(Bl,Ll);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=lC.bind(null,e,o);o.then(l,l)}})}function xi(e,t){var i=t.deletions;if(i!==null)for(var o=0;o<i.length;o++){var l=e,f=t,m=i[o],x=Ri(),E=f;e:for(;E!==null;){switch(E.tag){case 27:if(io(E.type)){yn=E.stateNode,Si=!1;break e}break;case 5:yn=E.stateNode,Si=!1;break e;case 3:case 4:yn=E.stateNode.containerInfo,Si=!0;break e}E=E.return}if(yn===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");wx(l,f,m),yn=null,Si=!1,(m.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Dr(m,qe,Ge,"Unmount"),Di(x),l=m,f=l.alternate,f!==null&&(f.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vx(t,e),t=t.sibling}function Vx(e,t){var i=Ri(),o=Hr(),l=Lr(),f=Br(),m=e.alternate,x=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:xi(t,e),wi(e),x&4&&(el(li|rr,e,e.return),Cu(li|rr,e),Um(e,e.return,ji|rr));break;case 1:if(xi(t,e),wi(e),x&512&&(bn||m===null||Ir(m,m.return)),x&64&&Ha&&(x=e.updateQueue,x!==null&&(m=x.callbacks,m!==null))){var E=x.shared.hiddenCallbacks;x.shared.hiddenCallbacks=E===null?m:E.concat(m)}break;case 26:if(E=Sr,xi(t,e),wi(e),x&512&&(bn||m===null||Ir(m,m.return)),x&4){var T=m!==null?m.memoizedState:null;if(x=e.memoizedState,m===null)if(x===null)if(e.stateNode===null){e:{x=e.type,m=e.memoizedProps,E=E.ownerDocument||E;t:switch(x){case"title":T=E.getElementsByTagName("title")[0],(!T||T[Gu]||T[jn]||T.namespaceURI===pl||T.hasAttribute("itemprop"))&&(T=E.createElement(x),E.head.insertBefore(T,E.querySelector("head > title"))),Zn(T,x,m),T[jn]=e,_(T),x=T;break e;case"link":var q=H9("link","href",E).get(x+(m.href||""));if(q){for(var $=0;$<q.length;$++)if(T=q[$],T.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&T.getAttribute("rel")===(m.rel==null?null:m.rel)&&T.getAttribute("title")===(m.title==null?null:m.title)&&T.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){q.splice($,1);break t}}T=E.createElement(x),Zn(T,x,m),E.head.appendChild(T);break;case"meta":if(q=H9("meta","content",E).get(x+(m.content||""))){for($=0;$<q.length;$++)if(T=q[$],it(m.content,"content"),T.getAttribute("content")===(m.content==null?null:""+m.content)&&T.getAttribute("name")===(m.name==null?null:m.name)&&T.getAttribute("property")===(m.property==null?null:m.property)&&T.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&T.getAttribute("charset")===(m.charSet==null?null:m.charSet)){q.splice($,1);break t}}T=E.createElement(x),Zn(T,x,m),E.head.appendChild(T);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+x+'". This is a bug in React.')}T[jn]=e,_(T),x=T}e.stateNode=x}else z9(E,e.type,e.stateNode);else e.stateNode=O9(E,x,e.memoizedProps);else T!==x?(T===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):T.count--,x===null?z9(E,e.type,e.stateNode):O9(E,x,e.memoizedProps)):x===null&&e.stateNode!==null&&Pm(e,e.memoizedProps,m.memoizedProps)}break;case 27:xi(t,e),wi(e),x&512&&(bn||m===null||Ir(m,m.return)),m!==null&&x&4&&Pm(e,e.memoizedProps,m.memoizedProps);break;case 5:if(xi(t,e),wi(e),x&512&&(bn||m===null||Ir(m,m.return)),e.flags&32){E=e.stateNode;try{Ee(e,S9,E)}catch(Ce){Nt(e,e.return,Ce)}}x&4&&e.stateNode!=null&&(E=e.memoizedProps,Pm(e,E,m!==null?m.memoizedProps:E)),x&1024&&(Tg=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(xi(t,e),wi(e),x&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");x=e.memoizedProps,m=m!==null?m.memoizedProps:x,E=e.stateNode;try{Ee(e,EC,E,m,x)}catch(Ce){Nt(e,e.return,Ce)}}break;case 3:if(E=ya(),Th=null,T=Sr,Sr=yd(t.containerInfo),xi(t,e),Sr=T,wi(e),x&4&&m!==null&&m.memoizedState.isDehydrated)try{Ee(e,HC,t.containerInfo)}catch(Ce){Nt(e,e.return,Ce)}Tg&&(Tg=!1,Mx(e)),t.effectDuration+=zf(E);break;case 4:x=Sr,Sr=yd(e.stateNode.containerInfo),xi(t,e),wi(e),Sr=x;break;case 12:x=ya(),xi(t,e),wi(e),e.stateNode.effectDuration+=vu(x);break;case 31:xi(t,e),wi(e),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,cd(e,x)));break;case 13:xi(t,e),wi(e),e.child.flags&8192&&e.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(fh=Rn()),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,cd(e,x)));break;case 22:E=e.memoizedState!==null;var B=m!==null&&m.memoizedState!==null,K=Ha,Se=bn;if(Ha=K||E,bn=Se||B,xi(t,e),bn=Se,Ha=K,B&&!E&&!K&&!Se&&(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Tf(e,qe,Ge),wi(e),x&8192)e:for(t=e.stateNode,t._visibility=E?t._visibility&~nc:t._visibility|nc,!E||m===null||B||Ha||bn||(ts(e),(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Dr(e,qe,Ge,"Disconnect")),m=null,t=e;;){if(t.tag===5||t.tag===26){if(m===null){B=m=t;try{T=B.stateNode,E?Ee(B,NC,T):Ee(B,CC,B.stateNode,B.memoizedProps)}catch(Ce){Nt(B,B.return,Ce)}}}else if(t.tag===6){if(m===null){B=t;try{q=B.stateNode,E?Ee(B,AC,q):Ee(B,RC,q,B.memoizedProps)}catch(Ce){Nt(B,B.return,Ce)}}}else if(t.tag===18){if(m===null){B=t;try{$=B.stateNode,E?Ee(B,TC,$):Ee(B,kC,B.stateNode)}catch(Ce){Nt(B,B.return,Ce)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;m===t&&(m=null),t=t.return}m===t&&(m=null),t.sibling.return=t.return,t=t.sibling}x&4&&(x=e.updateQueue,x!==null&&(m=x.retryQueue,m!==null&&(x.retryQueue=null,cd(e,m))));break;case 19:xi(t,e),wi(e),x&4&&(x=e.updateQueue,x!==null&&(e.updateQueue=null,cd(e,x)));break;case 30:break;case 21:break;default:xi(t,e),wi(e)}(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&((tn||.05<Kt)&&_r(e,qe,Ge,Kt,Xt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ge-qe&&(yx(e.return.alternate,e.return)||Dr(e,qe,Ge,"Mount"))),Di(i),zr(o),Xt=l,tn=f}function wi(e){var t=e.flags;if(t&2){try{Ee(e,Kk,e)}catch(i){Nt(e,e.return,i)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Mx(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Mx(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Pr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)vx(e,t.alternate,t),t=t.sibling}function Tx(e){var t=Ri(),i=Hr(),o=Lr(),l=Br();switch(e.tag){case 0:case 11:case 14:case 15:Um(e,e.return,ji),ts(e);break;case 1:Ir(e,e.return);var f=e.stateNode;typeof f.componentWillUnmount=="function"&&hx(e,e.return,f),ts(e);break;case 27:Ee(e,ju,e.stateNode);case 26:case 5:Ir(e,e.return),ts(e);break;case 22:e.memoizedState===null&&ts(e);break;case 30:ts(e);break;default:ts(e)}(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(e,qe,Ge,Kt,Xt),Di(t),zr(i),Xt=o,tn=l}function ts(e){for(e=e.child;e!==null;)Tx(e),e=e.sibling}function Nx(e,t,i,o){var l=Ri(),f=Hr(),m=Lr(),x=Br(),E=i.flags;switch(i.tag){case 0:case 11:case 15:Fr(e,i,o),cx(i,ji);break;case 1:if(Fr(e,i,o),t=i.stateNode,typeof t.componentDidMount=="function"&&Ee(i,hg,i,t),t=i.updateQueue,t!==null){e=i.stateNode;try{Ee(i,Hk,t,e)}catch(T){Nt(i,i.return,T)}}o&&E&64&&dx(i),Ru(i,i.return);break;case 27:bx(i);case 26:case 5:Fr(e,i,o),o&&t===null&&E&4&&mx(i),Ru(i,i.return);break;case 12:if(o&&E&4){E=ya(),Fr(e,i,o),o=i.stateNode,o.effectDuration+=vu(E);try{Ee(i,px,i,t,po,o.effectDuration)}catch(T){Nt(i,i.return,T)}}else Fr(e,i,o);break;case 31:Fr(e,i,o),o&&E&4&&Sx(e,i);break;case 13:Fr(e,i,o),o&&E&4&&Ex(e,i);break;case 22:i.memoizedState===null&&Fr(e,i,o),Ru(i,i.return);break;case 30:break;default:Fr(e,i,o)}(i.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(i,qe,Ge,Kt,Xt),Di(l),zr(f),Xt=m,tn=x}function Fr(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Nx(e,t.alternate,t,i),t=t.sibling}function $m(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&Qo(e),i!=null&&yu(i))}function Gm(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Qo(t),e!=null&&yu(e))}function br(e,t,i,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var f=t.sibling;Ax(e,t,i,o,f!==null?f.actualStartTime:l),t=f}}function Ax(e,t,i,o,l){var f=Ri(),m=Hr(),x=Lr(),E=Br(),T=uo,q=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ot)!==Xe&&0<t.actualStartTime&&(t.flags&1)!==0&&Nf(t,t.actualStartTime,l,Mn,i),br(e,t,i,o,l),q&2048&&fx(t,ui|rr);break;case 1:(t.mode&ot)!==Xe&&0<t.actualStartTime&&((t.flags&128)!==0?kp(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Nf(t,t.actualStartTime,l,Mn,i)),br(e,t,i,o,l);break;case 3:var $=ya(),B=Mn;Mn=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,br(e,t,i,o,l),Mn=B,q&2048&&(i=null,t.alternate!==null&&(i=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==i&&(Qo(o),i!=null&&yu(i))),e.passiveEffectDuration+=zf($);break;case 12:if(q&2048){q=ya(),br(e,t,i,o,l),e=t.stateNode,e.passiveEffectDuration+=vu(q);try{Ee(t,Qk,t,t.alternate,po,e.passiveEffectDuration)}catch(K){Nt(t,t.return,K)}}else br(e,t,i,o,l);break;case 31:q=Mn,$=t.alternate!==null?t.alternate.memoizedState:null,B=t.memoizedState,$!==null&&B===null?(B=t.deletions,B!==null&&0<B.length&&B[0].tag===18?(Mn=!1,$=$.hydrationErrors,$!==null&&kp(t,t.actualStartTime,l,$)):Mn=!0):Mn=!1,br(e,t,i,o,l),Mn=q;break;case 13:q=Mn,$=t.alternate!==null?t.alternate.memoizedState:null,B=t.memoizedState,$===null||$.dehydrated===null||B!==null&&B.dehydrated!==null?Mn=!1:(B=t.deletions,B!==null&&0<B.length&&B[0].tag===18?(Mn=!1,$=$.hydrationErrors,$!==null&&kp(t,t.actualStartTime,l,$)):Mn=!0),br(e,t,i,o,l),Mn=q;break;case 23:break;case 22:B=t.stateNode,$=t.alternate,t.memoizedState!==null?B._visibility&Ma?br(e,t,i,o,l):Du(e,t,i,o,l):B._visibility&Ma?br(e,t,i,o,l):(B._visibility|=Ma,tl(e,t,i,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&ot)===Xe||Mn||(e=t.actualStartTime,0<=e&&.05<l-e&&Tf(t,e,l),0<=qe&&0<=Ge&&.05<Ge-qe&&Tf(t,qe,Ge))),q&2048&&$m($,t);break;case 24:br(e,t,i,o,l),q&2048&&Gm(t.alternate,t);break;default:br(e,t,i,o,l)}(t.mode&ot)!==Xe&&((e=!Mn&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(i=t.actualStartTime,0<=i&&.05<l-i&&Dr(t,i,l,"Mount")),0<=qe&&0<=Ge&&((tn||.05<Kt)&&_r(t,qe,Ge,Kt,Xt),e&&.05<Ge-qe&&Dr(t,qe,Ge,"Mount"))),Di(f),zr(m),Xt=x,tn=E,uo=T}function tl(e,t,i,o,l,f){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var m=t.sibling;kx(e,t,i,o,l,m!==null?m.actualStartTime:f),t=m}}function kx(e,t,i,o,l,f){var m=Ri(),x=Hr(),E=Lr(),T=Br(),q=uo;l&&(t.mode&ot)!==Xe&&0<t.actualStartTime&&(t.flags&1)!==0&&Nf(t,t.actualStartTime,f,Mn,i);var $=t.flags;switch(t.tag){case 0:case 11:case 15:tl(e,t,i,o,l,f),fx(t,ui);break;case 23:break;case 22:var B=t.stateNode;t.memoizedState!==null?B._visibility&Ma?tl(e,t,i,o,l,f):Du(e,t,i,o,f):(B._visibility|=Ma,tl(e,t,i,o,l,f)),l&&$&2048&&$m(t.alternate,t);break;case 24:tl(e,t,i,o,l,f),l&&$&2048&&Gm(t.alternate,t);break;default:tl(e,t,i,o,l,f)}(t.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(t,qe,Ge,Kt,Xt),Di(m),zr(x),Xt=E,tn=T,uo=q}function Du(e,t,i,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var f=t.child;f!==null;){t=f.sibling;var m=e,x=i,E=o,T=t!==null?t.actualStartTime:l,q=uo;(f.mode&ot)!==Xe&&0<f.actualStartTime&&(f.flags&1)!==0&&Nf(f,f.actualStartTime,T,Mn,x);var $=f.flags;switch(f.tag){case 22:Du(m,f,x,E,T),$&2048&&$m(f.alternate,f);break;case 24:Du(m,f,x,E,T),$&2048&&Gm(f.alternate,f);break;default:Du(m,f,x,E,T)}uo=q,f=t}}function nl(e,t,i){if(e.subtreeFlags&Sc)for(e=e.child;e!==null;)Cx(e,t,i),e=e.sibling}function Cx(e,t,i){switch(e.tag){case 26:nl(e,t,i),e.flags&Sc&&e.memoizedState!==null&&UC(i,Sr,e.memoizedState,e.memoizedProps);break;case 5:nl(e,t,i);break;case 3:case 4:var o=Sr;Sr=yd(e.stateNode.containerInfo),nl(e,t,i),Sr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Sc,Sc=16777216,nl(e,t,i),Sc=o):nl(e,t,i));break;default:nl(e,t,i)}}function Rx(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function _u(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var o=t[i],l=Ri();_n=o,Ox(o,e),(o.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Dr(o,qe,Ge,"Unmount"),Di(l)}Rx(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dx(e),e=e.sibling}function Dx(e){var t=Ri(),i=Hr(),o=Lr(),l=Br();switch(e.tag){case 0:case 11:case 15:_u(e),e.flags&2048&&Im(e,e.return,ui|rr);break;case 3:var f=ya();_u(e),e.stateNode.passiveEffectDuration+=zf(f);break;case 12:f=ya(),_u(e),e.stateNode.passiveEffectDuration+=vu(f);break;case 22:f=e.stateNode,e.memoizedState!==null&&f._visibility&Ma&&(e.return===null||e.return.tag!==13)?(f._visibility&=~Ma,fd(e),(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Dr(e,qe,Ge,"Disconnect")):_u(e);break;default:_u(e)}(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(e,qe,Ge,Kt,Xt),Di(t),zr(i),tn=l,Xt=o}function fd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var o=t[i],l=Ri();_n=o,Ox(o,e),(o.mode&ot)!==Xe&&0<=qe&&0<=Ge&&.05<Ge-qe&&Dr(o,qe,Ge,"Unmount"),Di(l)}Rx(e)}for(e=e.child;e!==null;)_x(e),e=e.sibling}function _x(e){var t=Ri(),i=Hr(),o=Lr(),l=Br();switch(e.tag){case 0:case 11:case 15:Im(e,e.return,ui),fd(e);break;case 22:var f=e.stateNode;f._visibility&Ma&&(f._visibility&=~Ma,fd(e));break;default:fd(e)}(e.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(e,qe,Ge,Kt,Xt),Di(t),zr(i),tn=l,Xt=o}function Ox(e,t){for(;_n!==null;){var i=_n,o=i,l=t,f=Ri(),m=Hr(),x=Lr(),E=Br();switch(o.tag){case 0:case 11:case 15:Im(o,l,ui);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&Qo(l));break;case 24:yu(o.memoizedState.cache)}if((o.mode&ot)!==Xe&&0<=qe&&0<=Ge&&(tn||.05<Kt)&&_r(o,qe,Ge,Kt,Xt),Di(f),zr(m),tn=E,Xt=x,o=i.child,o!==null)o.return=i,_n=o;else e:for(i=e;_n!==null;){if(o=_n,f=o.sibling,m=o.return,xx(o),o===i){_n=null;break e}if(f!==null){f.return=m,_n=f;break e}_n=m}}}function eC(){ED.forEach(function(e){return e()})}function Hx(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ne.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Oi(e){if((St&Tn)!==On&<!==0)return lt&-lt;var t=ne.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),t0()):zn()}function zx(){if(Vi===0)if((lt&536870912)===0||ht){var e=Cd;Cd<<=1,(Cd&3932160)===0&&(Cd=262144),Vi=e}else Vi=536870912;return e=Zi.current,e!==null&&(e.flags|=32),Vi}function en(e,t,i){if(Ul&&console.error("useInsertionEffect must not schedule updates."),Lg&&(mh=!0),(e===Ht&&(Ct===bs||Ct===ys)||e.cancelPendingCommit!==null)&&(rl(e,0),to(e,lt,Vi,!1)),ke(e,i),(St&Tn)!==On&&e===Ht){if(Xr)switch(t.tag){case 0:case 11:case 15:e=ut&&R(ut)||"Unknown",uE.has(e)||(uE.add(e),t=R(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:lE||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),lE=!0)}}else Kr&&Fn(e,t,i),cC(t),e===Ht&&((St&Tn)===On&&(So|=i),Jt===vo&&to(e,lt,Vi,!1)),qr(e)}function Lx(e,t,i){if((St&(Tn|Ui))!==On)throw Error("Should not already be working.");if(lt!==0&&ut!==null){var o=ut,l=Rn();switch(tS){case Mc:case bs:var f=lc;Ft&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,l,Qi,void 0,"primary-light")):console.timeStamp("Suspended",f,l,Qi,void 0,"primary-light"));break;case ys:f=lc,Ft&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,l,Qi,void 0,"primary-light")):console.timeStamp("Action",f,l,Qi,void 0,"primary-light"));break;default:Ft&&(o=l-lc,3>o||console.timeStamp("Blocked",lc,l,Qi,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(i=!i&&(t&127)===0&&(t&e.expiredLanes)===0||kn(e,t))?nC(e,t):Xm(e,t,!0);var m=i;do{if(f===za){Zl&&!i&&to(e,t,0,!1),t=Ct,lc=pn(),tS=t;break}else{if(o=Rn(),l=e.current.alternate,m&&!tC(l)){mr(t),l=Dn,f=o,!Ft||f<=l||(sn?sn.run(console.timeStamp.bind(console,"Teared Render",l,f,xt,bt,"error")):console.timeStamp("Teared Render",l,f,xt,bt,"error")),ns(t,o),f=Xm(e,t,!1),m=!1;continue}if(f===gs){if(m=t,e.errorRecoveryDisabledLanes&m)var x=0;else x=e.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){mr(t),Cp(Dn,o,t,sn),ns(t,o),t=x;e:{o=e,f=m,m=Nc;var E=o.current.memoizedState.isDehydrated;if(E&&(rl(o,x).flags|=256),x=Xm(o,x,!1),x!==gs){if(kg&&!E){o.errorRecoveryDisabledLanes|=f,So|=f,f=vo;break e}o=ci,ci=m,o!==null&&(ci===null?ci=o:ci.push.apply(ci,o))}f=x}if(m=!1,f!==gs)continue;o=Rn()}}if(f===Vc){mr(t),Cp(Dn,o,t,sn),ns(t,o),rl(e,0),to(e,t,0,!0);break}e:{switch(i=e,f){case za:case Vc:throw Error("Root did not complete. This is a bug in React.");case vo:if((t&4194048)!==t)break;case sh:mr(t),Ly(Dn,o,t,sn),ns(t,o),l=t,(l&127)!==0?$d=o:(l&4194048)!==0&&(Gd=o),to(i,t,Vi,!xo);break e;case gs:ci=null;break;case oh:case XS:break;default:throw Error("Unknown root exit status.")}if(ne.actQueue!==null)Qm(i,l,t,ci,Ac,ch,Vi,So,vs,f,null,null,Dn,o);else{if((t&62914560)===t&&(m=fh+JS-Rn(),10<m)){if(to(i,t,Vi,!xo),qi(i,0,!0)!==0)break e;Er=t,i.timeoutHandle=bE(Bx.bind(null,i,l,ci,Ac,ch,t,Vi,So,vs,xo,f,"Throttled",Dn,o),m);break e}Bx(i,l,ci,Ac,ch,t,Vi,So,vs,xo,f,null,Dn,o)}}}break}while(!0);qr(e)}function Bx(e,t,i,o,l,f,m,x,E,T,q,$,B,K){e.timeoutHandle=Vs;var Se=t.subtreeFlags,Ce=null;if((Se&8192||(Se&16785408)===16785408)&&(Ce={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ki},Cx(t,f,Ce),Se=(f&62914560)===f?fh-Rn():(f&4194048)===f?KS-Rn():0,Se=IC(Ce,Se),Se!==null)){Er=f,e.cancelPendingCommit=Se(Qm.bind(null,e,t,f,i,o,l,m,x,E,q,Ce,Ce.waitingForViewTransition?"Waiting for the previous Animation":0<Ce.count?0<Ce.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ce.imgCount===1?"Suspended on an Image":0<Ce.imgCount?"Suspended on Images":null,B,K)),to(e,f,m,!T);return}Qm(e,t,f,i,o,l,m,x,E,q,Ce,$,B,K)}function tC(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var o=0;o<i.length;o++){var l=i[o],f=l.getSnapshot;l=l.value;try{if(!oi(f(),l))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 to(e,t,i,o){t&=~Cg,t&=~So,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var f=31-ii(l),m=1<<f;o[f]=-1,l&=~m}i!==0&&mt(e,i,t)}function il(){return(St&(Tn|Ui))===On?(zu(0),!1):!0}function Ym(){if(ut!==null){if(Ct===Ei)var e=ut.return;else e=ut,_f(),am(e),Cl=null,bc=0,e=ut;for(;e!==null;)ux(e.alternate,e),e=e.return;ut=null}}function ns(e,t){(e&127)!==0&&(ss=t),(e&4194048)!==0&&(Ca=t),(e&62914560)!==0&&(Ww=t),(e&2080374784)!==0&&(eS=t)}function rl(e,t){Ft&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",bt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",bt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",bt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",bt,"primary-light"));var i=Dn;if(Dn=pn(),lt!==0&&0<i){if(mr(lt),Jt===oh||Jt===vo)Ly(i,Dn,t,sn);else{var o=Dn,l=sn;if(Ft&&!(o<=i)){var f=(t&738197653)===t?"tertiary-dark":"primary-dark",m=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,m,i,o,xt,bt,f)):console.timeStamp(m,i,o,xt,bt,f)}}ns(lt,Dn)}if(i=sn,sn=null,(t&127)!==0){sn=ac,l=0<=ta&&ta<ss?ss:ta,o=0<=ls&&ls<ss?ss:ls,f=0<=o?o:0<=l?l:Dn,0<=$d?(mr(2),By($d,f,t,i)):Yd&127,i=l;var x=o,E=oc,T=0<Nl,q=mo===rc,$=mo===qd;if(l=Dn,o=ac,f=lg,m=ug,Ft){if(xt="Blocking",0<i?i>l&&(i=l):i=l,0<x?x>i&&(x=i):x=i,E!==null&&i>x){var B=T?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,T?"Consecutive":"Event: "+E,x,i,xt,bt,B)):console.timeStamp(T?"Consecutive":"Event: "+E,x,i,xt,bt,B)}l>i&&(x=q?"error":(t&738197653)===t?"tertiary-light":"primary-light",q=$?"Promise Resolved":q?"Cascading Update":5<l-i?"Update Blocked":"Update",$=[],m!=null&&$.push(["Component name",m]),f!=null&&$.push(["Method name",f]),i={start:i,end:l,detail:{devtools:{properties:$,track:xt,trackGroup:bt,color:x}}},o?o.run(performance.measure.bind(performance,q,i)):performance.measure(q,i))}ta=-1.1,mo=0,ug=lg=null,$d=-1.1,Nl=ls,ls=-1.1,ss=pn()}if((t&4194048)!==0&&(sn=sc,l=0<=Ra&&Ra<Ca?Ca:Ra,i=0<=nr&&nr<Ca?Ca:nr,o=0<=go&&go<Ca?Ca:go,f=0<=o?o:0<=i?i:Dn,0<=Gd?(mr(256),By(Gd,f,t,sn)):Yd&4194048,$=o,x=us,E=0<bo,T=cg===qd,f=Dn,o=sc,m=Kw,q=Jw,Ft&&(xt="Transition",0<i?i>f&&(i=f):i=f,0<l?l>i&&(l=i):l=i,0<$?$>l&&($=l):$=l,l>$&&x!==null&&(B=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+x,$,l,xt,bt,B)):console.timeStamp(E?"Consecutive":"Event: "+x,$,l,xt,bt,B)),i>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,i,xt,bt,"primary-dark")):console.timeStamp("Action",l,i,xt,bt,"primary-dark")),f>i&&(l=T?"Promise Resolved":5<f-i?"Update Blocked":"Update",$=[],q!=null&&$.push(["Component name",q]),m!=null&&$.push(["Method name",m]),i={start:i,end:f,detail:{devtools:{properties:$,track:xt,trackGroup:bt,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,i)):performance.measure(l,i))),nr=Ra=-1.1,cg=0,Gd=-1.1,bo=go,go=-1.1,Ca=pn()),(t&62914560)!==0&&(Yd&62914560)!==0&&(mr(4194304),Rp(Ww,Dn)),(t&2080374784)!==0&&(Yd&2080374784)!==0&&(mr(268435456),Rp(eS,Dn)),i=e.timeoutHandle,i!==Vs&&(e.timeoutHandle=Vs,zD(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Er=0,Ym(),Ht=e,ut=i=ma(e.current,null),lt=t,Ct=Ei,Ii=null,xo=!1,Zl=kn(e,t),kg=!1,Jt=za,vs=Vi=Cg=So=wo=0,ci=Nc=null,ch=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-ii(o),f=1<<l,t|=e[l],o&=~f;return ia=t,Af(),e=qw(),1e3<e-Fw&&(ne.recentlyCreatedOwnerStacks=0,Fw=e),xr.discardPendingWarnings(),i}function Zx(e,t){Ke=null,ne.H=wc,ne.getCurrentStack=null,Xr=!1,Li=null,t===kl||t===Jd?(t=ov(),Ct=Mc):t===pg?(t=ov(),Ct=QS):Ct=t===Vg?Ag:t!==null&&typeof t=="object"&&typeof t.then=="function"?Tc:lh,Ii=t;var i=ut;i===null?(Jt=Vc,rd(e,Ci(t,e.current))):i.mode&ot&&$p(i)}function jx(){var e=Zi.current;return e===null?!0:(lt&4194048)===lt?ir===null:(lt&62914560)===lt||(lt&536870912)!==0?e===ir:!1}function Ux(){var e=ne.H;return ne.H=wc,e===null?wc:e}function Ix(){var e=ne.A;return ne.A=SD,e}function dd(e){sn===null&&(sn=e._debugTask==null?null:e._debugTask)}function hd(){Jt=vo,xo||(lt&4194048)!==lt&&Zi.current!==null||(Zl=!0),(wo&134217727)===0&&(So&134217727)===0||Ht===null||to(Ht,lt,Vi,!1)}function Xm(e,t,i){var o=St;St|=Tn;var l=Ux(),f=Ix();if(Ht!==e||lt!==t){if(Kr){var m=e.memoizedUpdaters;0<m.size&&(Hu(e,lt),m.clear()),mi(e,t)}Ac=null,rl(e,t)}t=!1,m=Jt;e:do try{if(Ct!==Ei&&ut!==null){var x=ut,E=Ii;switch(Ct){case Ag:Ym(),m=sh;break e;case Mc:case bs:case ys:case Tc:Zi.current===null&&(t=!0);var T=Ct;if(Ct=Ei,Ii=null,al(e,x,E,T),i&&Zl){m=za;break e}break;default:T=Ct,Ct=Ei,Ii=null,al(e,x,E,T)}}Px(),m=Jt;break}catch(q){Zx(e,q)}while(!0);return t&&e.shellSuspendCounter++,_f(),St=o,ne.H=l,ne.A=f,ut===null&&(Ht=null,lt=0,Af()),m}function Px(){for(;ut!==null;)Fx(ut)}function nC(e,t){var i=St;St|=Tn;var o=Ux(),l=Ix();if(Ht!==e||lt!==t){if(Kr){var f=e.memoizedUpdaters;0<f.size&&(Hu(e,lt),f.clear()),mi(e,t)}Ac=null,dh=Rn()+WS,rl(e,t)}else Zl=kn(e,t);e:do try{if(Ct!==Ei&&ut!==null)t:switch(t=ut,f=Ii,Ct){case lh:Ct=Ei,Ii=null,al(e,t,f,lh);break;case bs:case ys:if(rv(f)){Ct=Ei,Ii=null,qx(t);break}t=function(){Ct!==bs&&Ct!==ys||Ht!==e||(Ct=uh),qr(e)},f.then(t,t);break e;case Mc:Ct=uh;break e;case QS:Ct=Ng;break e;case uh:rv(f)?(Ct=Ei,Ii=null,qx(t)):(Ct=Ei,Ii=null,al(e,t,f,uh));break;case Ng:var m=null;switch(ut.tag){case 26:m=ut.memoizedState;case 5:case 27:var x=ut;if(m?L9(m):x.stateNode.complete){Ct=Ei,Ii=null;var E=x.sibling;if(E!==null)ut=E;else{var T=x.return;T!==null?(ut=T,pd(T)):ut=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ct=Ei,Ii=null,al(e,t,f,Ng);break;case Tc:Ct=Ei,Ii=null,al(e,t,f,Tc);break;case Ag:Ym(),Jt=sh;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ne.actQueue!==null?Px():iC();break}catch(q){Zx(e,q)}while(!0);return _f(),ne.H=o,ne.A=l,St=i,ut!==null?za:(Ht=null,lt=0,Af(),Jt)}function iC(){for(;ut!==null&&!nR();)Fx(ut)}function Fx(e){var t=e.alternate;(e.mode&ot)!==Xe?(qp(e),t=Ee(e,Zm,t,e,ia),$p(e)):t=Ee(e,Zm,t,e,ia),e.memoizedProps=e.pendingProps,t===null?pd(e):ut=t}function qx(e){var t=Ee(e,rC,e);e.memoizedProps=e.pendingProps,t===null?pd(e):ut=t}function rC(e){var t=e.alternate,i=(e.mode&ot)!==Xe;switch(i&&qp(e),e.tag){case 15:case 0:t=nx(t,e,e.pendingProps,e.type,void 0,lt);break;case 11:t=nx(t,e,e.pendingProps,e.type.render,e.ref,lt);break;case 5:am(e);default:ux(t,e),e=ut=Fy(e,ia),t=Zm(t,e,ia)}return i&&$p(e),t}function al(e,t,i,o){_f(),am(t),Cl=null,bc=0;var l=t.return;try{if(Ik(e,l,t,i,lt)){Jt=Vc,rd(e,Ci(i,e.current)),ut=null;return}}catch(f){if(l!==null)throw ut=l,f;Jt=Vc,rd(e,Ci(i,e.current)),ut=null;return}t.flags&32768?(ht||o===lh?e=!0:Zl||(lt&536870912)!==0?e=!1:(xo=e=!0,(o===bs||o===ys||o===Mc||o===Tc)&&(o=Zi.current,o!==null&&o.tag===13&&(o.flags|=16384))),$x(t,e)):pd(t)}function pd(e){var t=e;do{if((t.flags&32768)!==0){$x(t,xo);return}var i=t.alternate;if(e=t.return,qp(t),i=Ee(t,qk,i,t,ia),(t.mode&ot)!==Xe&&Wy(t),i!==null){ut=i;return}if(t=t.sibling,t!==null){ut=t;return}ut=t=e}while(t!==null);Jt===za&&(Jt=XS)}function $x(e,t){do{var i=$k(e.alternate,e);if(i!==null){i.flags&=32767,ut=i;return}if((e.mode&ot)!==Xe){Wy(e),i=e.actualDuration;for(var o=e.child;o!==null;)i+=o.actualDuration,o=o.sibling;e.actualDuration=i}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){ut=e;return}ut=e=i}while(e!==null);Jt=sh,ut=null}function Qm(e,t,i,o,l,f,m,x,E,T,q,$,B,K){e.cancelPendingCommit=null;do Ou();while(vn!==Vo);if(xr.flushLegacyContextWarning(),xr.flushPendingUnsafeLifecycleWarnings(),(St&(Tn|Ui))!==On)throw Error("Should not already be working.");if(mr(i),T===gs?Cp(B,K,i,sn):o!==null?kk(B,K,i,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,sn):Ak(B,K,i,sn),t!==null){if(i===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(f=t.lanes|t.childLanes,f|=ig,We(e,i,f,m,x,E),e===Ht&&(ut=Ht=null,lt=0),jl=t,Mo=e,Er=i,_g=f,Hg=l,aE=o,Og=K,oE=$,Vr=hh,sE=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,uC(fl,function(){return Oc=window.event,Vr===hh&&(Vr=Dg),Kx(),null})):(e.callbackNode=null,e.callbackPriority=0),ka=null,po=pn(),$!==null&&Ck(K,po,$,sn),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=ne.T,ne.T=null,l=At.p,At.p=Xi,m=St,St|=Ui;try{Jk(e,t,i)}finally{St=m,At.p=l,ne.T=o}}vn=tE,Gx(),Yx(),Xx()}}function Gx(){if(vn===tE){vn=Vo;var e=Mo,t=jl,i=Er,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=ne.T,ne.T=null;var l=At.p;At.p=Xi;var f=St;St|=Ui;try{Ll=i,Bl=e,Lf(),Vx(t,e),Bl=Ll=null,i=$g;var m=Oy(e.containerInfo),x=i.focusedElem,E=i.selectionRange;if(m!==x&&x&&x.ownerDocument&&_y(x.ownerDocument.documentElement,x)){if(E!==null&&Np(x)){var T=E.start,q=E.end;if(q===void 0&&(q=T),"selectionStart"in x)x.selectionStart=T,x.selectionEnd=Math.min(q,x.value.length);else{var $=x.ownerDocument||document,B=$&&$.defaultView||window;if(B.getSelection){var K=B.getSelection(),Se=x.textContent.length,Ce=Math.min(E.start,Se),Lt=E.end===void 0?Ce:Math.min(E.end,Se);!K.extend&&Ce>Lt&&(m=Lt,Lt=Ce,Ce=m);var yt=Dy(x,Ce),L=Dy(x,Lt);if(yt&&L&&(K.rangeCount!==1||K.anchorNode!==yt.node||K.anchorOffset!==yt.offset||K.focusNode!==L.node||K.focusOffset!==L.offset)){var Z=$.createRange();Z.setStart(yt.node,yt.offset),K.removeAllRanges(),Ce>Lt?(K.addRange(Z),K.extend(L.node,L.offset)):(Z.setEnd(L.node,L.offset),K.addRange(Z))}}}}for($=[],K=x;K=K.parentNode;)K.nodeType===1&&$.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<$.length;x++){var P=$[x];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}kh=!!qg,$g=qg=null}finally{St=f,At.p=l,ne.T=o}}e.current=t,vn=nE}}function Yx(){if(vn===nE){vn=Vo;var e=sE;if(e!==null){po=pn();var t=Aa,i=po;!Ft||i<=t||console.timeStamp(e,t,i,xt,bt,"secondary-light")}e=Mo,t=jl,i=Er;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=ne.T,ne.T=null;var l=At.p;At.p=Xi;var f=St;St|=Ui;try{Ll=i,Bl=e,Lf(),vx(e,t.alternate,t),Bl=Ll=null}finally{St=f,At.p=l,ne.T=o}}e=Og,t=oE,Aa=pn(),e=t===null?e:po,t=Aa,i=Vr===Rg,o=sn,ka!==null?Zy(e,t,ka,!1,o):!Ft||t<=e||(o?o.run(console.timeStamp.bind(console,i?"Commit Interrupted View Transition":"Commit",e,t,xt,bt,i?"error":"secondary-dark")):console.timeStamp(i?"Commit Interrupted View Transition":"Commit",e,t,xt,bt,i?"error":"secondary-dark")),vn=iE}}function Xx(){if(vn===rE||vn===iE){if(vn===rE){var e=Aa;Aa=pn();var t=Aa,i=Vr===Rg;!Ft||t<=e||console.timeStamp(i?"Interrupted View Transition":"Starting Animation",e,t,xt,bt,i?" error":"secondary-light"),Vr!==Rg&&(Vr=eE)}vn=Vo,iR(),e=Mo;var o=jl;t=Er,i=aE;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?vn=ph:(vn=Vo,jl=Mo=null,Qx(e,e.pendingLanes),xs=0,Cc=null);var f=e.pendingLanes;if(f===0&&(Eo=null),l||t9(e),f=an(t),o=o.stateNode,Yn&&typeof Yn.onCommitFiberRoot=="function")try{var m=(o.current.flags&128)===128;switch(f){case Xi:var x=H0;break;case Jr:x=z0;break;case Ea:x=fl;break;case Dd:x=L0;break;default:x=fl}Yn.onCommitFiberRoot(dl,o,x,m)}catch($){Qr||(Qr=!0,console.error("React instrumentation encountered an error: %o",$))}if(Kr&&e.memoizedUpdaters.clear(),eC(),i!==null){m=ne.T,x=At.p,At.p=Xi,ne.T=null;try{var E=e.onRecoverableError;for(o=0;o<i.length;o++){var T=i[o],q=aC(T.stack);Ee(T.source,E,T.value,q)}}finally{ne.T=m,At.p=x}}(Er&3)!==0&&Ou(),qr(e),f=e.pendingLanes,(t&261930)!==0&&(f&42)!==0?(Qd=!0,e===zg?kc++:(kc=0,zg=e)):kc=0,l||ns(t,Aa),zu(0)}}function aC(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Qx(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,yu(t)))}function Ou(){return Gx(),Yx(),Xx(),Kx()}function Kx(){if(vn!==ph)return!1;var e=Mo,t=_g;_g=0;var i=an(Er),o=Ea>i?Ea:i;i=ne.T;var l=At.p;try{At.p=o,ne.T=null;var f=Hg;Hg=null,o=Mo;var m=Er;if(vn=Vo,jl=Mo=null,Er=0,(St&(Tn|Ui))!==On)throw Error("Cannot flush passive effects while already rendering.");mr(m),Lg=!0,mh=!1;var x=0;if(ka=null,x=Rn(),Vr===eE)Rp(Aa,x,mD);else{var E=Aa,T=x,q=Vr===Dg;!Ft||T<=E||(sn?sn.run(console.timeStamp.bind(console,q?"Waiting for Paint":"Waiting",E,T,xt,bt,"secondary-light")):console.timeStamp(q?"Waiting for Paint":"Waiting",E,T,xt,bt,"secondary-light"))}E=St,St|=Ui;var $=o.current;Lf(),Dx($);var B=o.current;$=Og,Lf(),Ax(o,B,m,f,$),t9(o),St=E;var K=Rn();if(B=x,$=sn,ka!==null?Zy(B,K,ka,!0,$):!Ft||K<=B||($?$.run(console.timeStamp.bind(console,"Remaining Effects",B,K,xt,bt,"secondary-dark")):console.timeStamp("Remaining Effects",B,K,xt,bt,"secondary-dark")),ns(m,K),zu(0,!1),mh?o===Cc?xs++:(xs=0,Cc=o):xs=0,mh=Lg=!1,Yn&&typeof Yn.onPostCommitFiberRoot=="function")try{Yn.onPostCommitFiberRoot(dl,o)}catch(Ce){Qr||(Qr=!0,console.error("React instrumentation encountered an error: %o",Ce))}var Se=o.current.stateNode;return Se.effectDuration=0,Se.passiveEffectDuration=0,!0}finally{At.p=l,ne.T=i,Qx(e,t)}}function Jx(e,t,i){t=Ci(i,t),ev(t),t=Am(e.stateNode,t,2),e=Ka(e,t,2),e!==null&&(ke(e,2),qr(e))}function Nt(e,t,i){if(Ul=!1,e.tag===3)Jx(e,e,i);else{for(;t!==null;){if(t.tag===3){Jx(t,e,i);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Eo===null||!Eo.has(o))){e=Ci(i,e),ev(e),i=km(2),o=Ka(t,i,2),o!==null&&(Cm(i,o,t,e),ke(o,2),qr(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
199
|
+
|
|
200
|
+
Error message:
|
|
201
|
+
|
|
202
|
+
%s`,i)}}function Km(e,t,i){var o=e.pingCache;if(o===null){o=e.pingCache=new VD;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(i)||(kg=!0,l.add(i),o=oC.bind(null,e,t,i),Kr&&Hu(e,i),t.then(o,o))}function oC(e,t,i){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,(i&127)!==0?0>ta&&(ss=ta=pn(),ac=Fd("Promise Resolved"),mo=qd):(i&4194048)!==0&&0>nr&&(Ca=nr=pn(),sc=Fd("Promise Resolved"),cg=qd),Hx()&&ne.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
203
|
+
|
|
204
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
205
|
+
|
|
206
|
+
act(() => {
|
|
207
|
+
/* finish loading suspended data */
|
|
208
|
+
});
|
|
209
|
+
/* assert on the output */
|
|
210
|
+
|
|
211
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),Ht===e&&(lt&i)===i&&(Jt===vo||Jt===oh&&(lt&62914560)===lt&&Rn()-fh<JS?(St&Tn)===On&&rl(e,0):Cg|=i,vs===lt&&(vs=0)),qr(e)}function Wx(e,t){t===0&&(t=re()),e=Gn(e,t),e!==null&&(ke(e,t),qr(e))}function sC(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),Wx(e,i)}function lC(e,t){var i=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(i=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),Wx(e,i)}function Jm(e,t,i){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,f=l.type===Td;f=i||f,l.tag!==22?l.flags&67108864?f&&Ee(l,e9,o,l):Jm(o,l,f):l.memoizedState===null&&(f&&l.flags&8192?Ee(l,e9,o,l):l.subtreeFlags&67108864&&Ee(l,Jm,o,l,f)),t=t.sibling}}function e9(e,t){Re(!0);try{Tx(t),_x(t),Nx(e,t.alternate,t,!1),kx(e,t,0,null,!1,0)}finally{Re(!1)}}function t9(e){var t=!0;e.current.mode&(Xn|vr)||(t=!1),Jm(e,e.current,t)}function n9(e){if((St&Tn)===On){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=R(e)||"ReactComponent",gh!==null){if(gh.has(t))return;gh.add(t)}else gh=new Set([t]);Ee(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Hu(e,t){Kr&&e.memoizedUpdaters.forEach(function(i){Fn(e,i,t)})}function uC(e,t){var i=ne.actQueue;return i!==null?(i.push(t),ND):O0(e,t)}function cC(e){Hx()&&ne.actQueue===null&&Ee(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
212
|
+
|
|
213
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
214
|
+
|
|
215
|
+
act(() => {
|
|
216
|
+
/* fire events that update state */
|
|
217
|
+
});
|
|
218
|
+
/* assert on the output */
|
|
219
|
+
|
|
220
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,R(e))})}function qr(e){e!==Il&&e.next===null&&(Il===null?bh=Il=e:Il=Il.next=e),yh=!0,ne.actQueue!==null?Zg||(Zg=!0,o9()):Bg||(Bg=!0,o9())}function zu(e,t){if(!jg&&yh){jg=!0;do for(var i=!1,o=bh;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var f=0;else{var m=o.suspendedLanes,x=o.pingedLanes;f=(1<<31-ii(42|e)+1)-1,f&=l&~(m&~x),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(i=!0,a9(o,f))}else f=lt,f=qi(o,o===Ht?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Vs),(f&3)===0||kn(o,f)||(i=!0,a9(o,f));o=o.next}while(i);jg=!1}}function fC(){Oc=window.event,Wm()}function Wm(){yh=Zg=Bg=!1;var e=0;To!==0&&yC()&&(e=To);for(var t=Rn(),i=null,o=bh;o!==null;){var l=o.next,f=i9(o,t);f===0?(o.next=null,i===null?bh=l:i.next=l,l===null&&(Il=i)):(i=o,(e!==0||(f&3)!==0)&&(yh=!0)),o=l}vn!==Vo&&vn!==ph||zu(e),To!==0&&(To=0)}function i9(e,t){for(var i=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var m=31-ii(f),x=1<<m,E=l[m];E===-1?((x&i)===0||(x&o)!==0)&&(l[m]=fa(x,t)):E<=t&&(e.expiredLanes|=x),f&=~x}if(t=Ht,i=lt,i=qi(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Vs),o=e.callbackNode,i===0||e===t&&(Ct===bs||Ct===ys)||e.cancelPendingCommit!==null)return o!==null&&e0(o),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||kn(e,i)){if(t=i&-i,t!==e.callbackPriority||ne.actQueue!==null&&o!==Ug)e0(o);else return t;switch(an(i)){case Xi:case Jr:i=z0;break;case Ea:i=fl;break;case Dd:i=L0;break;default:i=fl}return o=r9.bind(null,e),ne.actQueue!==null?(ne.actQueue.push(o),i=Ug):i=O0(i,o),e.callbackPriority=t,e.callbackNode=i,t}return o!==null&&e0(o),e.callbackPriority=2,e.callbackNode=null,2}function r9(e,t){if(Qd=Xd=!1,Oc=window.event,vn!==Vo&&vn!==ph)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Vr===hh&&(Vr=Dg),Ou()&&e.callbackNode!==i)return null;var o=lt;return o=qi(e,e===Ht?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Vs),o===0?null:(Lx(e,o,t),i9(e,Rn()),e.callbackNode!=null&&e.callbackNode===i?r9.bind(null,e):null)}function a9(e,t){if(Ou())return null;Xd=Qd,Qd=!1,Lx(e,t,!0)}function e0(e){e!==Ug&&e!==null&&tR(e)}function o9(){ne.actQueue!==null&&ne.actQueue.push(function(){return Wm(),null}),LD(function(){(St&(Tn|Ui))!==On?O0(H0,fC):Wm()})}function t0(){if(To===0){var e=cs;e===0&&(e=kd,kd<<=1,(kd&261888)===0&&(kd=256)),To=e}return To}function s9(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(it(e,"action"),pa(""+e))}function l9(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function dC(e,t,i,o,l){if(t==="submit"&&i&&i.stateNode===l){var f=s9((l[ri]||null).action),m=o.submitter;m&&(t=(t=m[ri]||null)?s9(t.formAction):m.getAttribute("formAction"),t!==null&&(f=t,m=null));var x=new Ld("action","action",null,o,l);e.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(To!==0){var E=m?l9(l,m):new FormData(l),T={pending:!0,data:E,method:l.method,action:f};Object.freeze(T),wm(i,T,null,E)}}else typeof f=="function"&&(x.preventDefault(),E=m?l9(l,m):new FormData(l),T={pending:!0,data:E,method:l.method,action:f},Object.freeze(T),wm(i,T,f,E))},currentTarget:l}]})}}function md(e,t,i){e.currentTarget=i;try{t(e)}catch(o){W0(o)}e.currentTarget=null}function u9(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var o=e[i];e:{var l=void 0,f=o.event;if(o=o.listeners,t)for(var m=o.length-1;0<=m;m--){var x=o[m],E=x.instance,T=x.currentTarget;if(x=x.listener,E!==l&&f.isPropagationStopped())break e;E!==null?Ee(E,md,f,x,T):md(f,x,T),l=E}else for(m=0;m<o.length;m++){if(x=o[m],E=x.instance,T=x.currentTarget,x=x.listener,E!==l&&f.isPropagationStopped())break e;E!==null?Ee(E,md,f,x,T):md(f,x,T),l=E}}}}function gt(e,t){Ig.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=t[B0];i===void 0&&(i=t[B0]=new Set);var o=e+"__bubble";i.has(o)||(c9(t,e,2,!1),i.add(o))}function n0(e,t,i){Ig.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),c9(i,e,o,t)}function i0(e){if(!e[vh]){e[vh]=!0,ow.forEach(function(i){i!=="selectionchange"&&(Ig.has(i)||n0(i,!1,e),n0(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vh]||(t[vh]=!0,n0("selectionchange",!1,t))}}function c9(e,t,i,o){switch(P9(t)){case Xi:var l=$C;break;case Jr:l=GC;break;default:l=v0}i=l.bind(null,t,i,e),l=void 0,!P0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,i,{capture:!0,passive:l}):e.addEventListener(t,i,!0):l!==void 0?e.addEventListener(t,i,{passive:l}):e.addEventListener(t,i,!1)}function r0(e,t,i,o,l){var f=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var x=o.stateNode.containerInfo;if(x===l)break;if(m===4)for(m=o.return;m!==null;){var E=m.tag;if((E===3||E===4)&&m.stateNode.containerInfo===l)return;m=m.return}for(;x!==null;){if(m=me(x),m===null)return;if(E=m.tag,E===5||E===6||E===26||E===27){o=f=m;continue e}x=x.parentNode}}o=o.return}at(function(){var T=f,q=Ae(i),$=[];e:{var B=Pw.get(e);if(B!==void 0){var K=Ld,Se=e;switch(e){case"keypress":if(bi(i)===0)break e;case"keydown":case"keyup":K=IR;break;case"focusin":Se="focus",K=G0;break;case"focusout":Se="blur",K=G0;break;case"beforeblur":case"afterblur":K=G0;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=kw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=CR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=qR;break;case Zw:case jw:case Uw:K=_R;break;case Iw:K=GR;break;case"scroll":case"scrollend":K=AR;break;case"wheel":K=XR;break;case"copy":case"cut":case"paste":K=HR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=Rw;break;case"toggle":case"beforetoggle":K=KR}var Ce=(t&4)!==0,Lt=!Ce&&(e==="scroll"||e==="scrollend"),yt=Ce?B!==null?B+"Capture":null:B;Ce=[];for(var L=T,Z;L!==null;){var P=L;if(Z=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||Z===null||yt===null||(P=wt(L,yt),P!=null&&Ce.push(Lu(L,P,Z))),Lt)break;L=L.return}0<Ce.length&&(B=new K(B,Se,null,i,q),$.push({event:B,listeners:Ce}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",K=e==="mouseout"||e==="pointerout",B&&i!==Yu&&(Se=i.relatedTarget||i.fromElement)&&(me(Se)||Se[so]))break e;if((K||B)&&(B=q.window===q?q:(B=q.ownerDocument)?B.defaultView||B.parentWindow:window,K?(Se=i.relatedTarget||i.toElement,K=T,Se=Se?me(Se):null,Se!==null&&(Lt=k(Se),Ce=Se.tag,Se!==Lt||Ce!==5&&Ce!==27&&Ce!==6)&&(Se=null)):(K=null,Se=T),K!==Se)){if(Ce=kw,P="onMouseLeave",yt="onMouseEnter",L="mouse",(e==="pointerout"||e==="pointerover")&&(Ce=Rw,P="onPointerLeave",yt="onPointerEnter",L="pointer"),Lt=K==null?B:Le(K),Z=Se==null?B:Le(Se),B=new Ce(P,L+"leave",K,i,q),B.target=Lt,B.relatedTarget=Z,P=null,me(q)===T&&(Ce=new Ce(yt,L+"enter",Se,i,q),Ce.target=Z,Ce.relatedTarget=Lt,P=Ce),Lt=P,K&&Se)t:{for(Ce=hC,yt=K,L=Se,Z=0,P=yt;P;P=Ce(P))Z++;P=0;for(var se=L;se;se=Ce(se))P++;for(;0<Z-P;)yt=Ce(yt),Z--;for(;0<P-Z;)L=Ce(L),P--;for(;Z--;){if(yt===L||L!==null&&yt===L.alternate){Ce=yt;break t}yt=Ce(yt),L=Ce(L)}Ce=null}else Ce=null;K!==null&&f9($,B,K,Ce,!1),Se!==null&&Lt!==null&&f9($,Lt,Se,Ce,!0)}}e:{if(B=T?Le(T):window,K=B.nodeName&&B.nodeName.toLowerCase(),K==="select"||K==="input"&&B.type==="file")var Te=Ay;else if(Ty(B))if(Lw)Te=Mk;else{Te=Ek;var Je=Sk}else K=B.nodeName,!K||K.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?T&&Qe(T.elementType)&&(Te=Ay):Te=Vk;if(Te&&(Te=Te(e,T))){Ny($,Te,i,q);break e}Je&&Je(e,B,T),e==="focusout"&&T&&B.type==="number"&&T.memoizedProps.value!=null&&Is(B,"number",B.value)}switch(Je=T?Le(T):window,e){case"focusin":(Ty(Je)||Je.contentEditable==="true")&&(vl=Je,X0=T,tc=null);break;case"focusout":tc=X0=vl=null;break;case"mousedown":Q0=!0;break;case"contextmenu":case"mouseup":case"dragend":Q0=!1,Hy($,i,q);break;case"selectionchange":if(tD)break;case"keydown":case"keyup":Hy($,i,q)}var Pe;if(Y0)e:{switch(e){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else yl?Vy(e,i)&&(Ze="onCompositionEnd"):e==="keydown"&&i.keyCode===Dw&&(Ze="onCompositionStart");Ze&&(_w&&i.locale!=="ko"&&(yl||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&yl&&(Pe=En()):(lo=q,F0="value"in lo?lo.value:lo.textContent,yl=!0)),Je=gd(T,Ze),0<Je.length&&(Ze=new Cw(Ze,e,null,i,q),$.push({event:Ze,listeners:Je}),Pe?Ze.data=Pe:(Pe=My(i),Pe!==null&&(Ze.data=Pe)))),(Pe=WR?yk(e,i):vk(e,i))&&(Ze=gd(T,"onBeforeInput"),0<Ze.length&&(Je=new LR("onBeforeInput","beforeinput",null,i,q),$.push({event:Je,listeners:Ze}),Je.data=Pe)),dC($,e,T,i,q)}u9($,t)})}function Lu(e,t,i){return{instance:e,listener:t,currentTarget:i}}function gd(e,t){for(var i=t+"Capture",o=[];e!==null;){var l=e,f=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||f===null||(l=wt(e,i),l!=null&&o.unshift(Lu(e,l,f)),l=wt(e,t),l!=null&&o.push(Lu(e,l,f))),e.tag===3)return o;e=e.return}return[]}function hC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function f9(e,t,i,o,l){for(var f=t._reactName,m=[];i!==null&&i!==o;){var x=i,E=x.alternate,T=x.stateNode;if(x=x.tag,E!==null&&E===o)break;x!==5&&x!==26&&x!==27||T===null||(E=T,l?(T=wt(i,f),T!=null&&m.unshift(Lu(i,T,E))):l||(T=wt(i,f),T!=null&&m.push(Lu(i,T,E)))),i=i.return}m.length!==0&&e.push({event:t,listeners:m})}function a0(e,t){Dt(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Nw||(Nw=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var i={registrationNameDependencies:is,possibleRegistrationNames:Z0};Qe(e)||typeof t.is=="string"||ha(e,t,i),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Cn(e,t,i,o){t!==i&&(i=no(i),no(t)!==i&&(o[e]=t))}function pC(e,t,i){t.forEach(function(o){i[p9(o)]=o==="style"?s0(e):e.getAttribute(o)})}function $r(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function d9(e,t){return e=e.namespaceURI===Od||e.namespaceURI===pl?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function no(e){return Oe(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",De(e)),tt(e)),(typeof e=="string"?e:""+e).replace(AD,`
|
|
221
|
+
`).replace(kD,"")}function h9(e,t){return t=no(t),no(e)===t}function _t(e,t,i,o,l,f){switch(i){case"children":typeof o=="string"?(da(o,t,!1),t==="body"||t==="textarea"&&o===""||qa(e,o)):(typeof o=="number"||typeof o=="bigint")&&(da(""+o,t,!1),t!=="body"&&qa(e,""+o));break;case"className":_e(e,"class",o);break;case"tabIndex":_e(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":_e(e,i,o);break;case"style":qs(e,o,f);break;case"data":if(t!=="object"){_e(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||i!=="href")){console.error(i==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',i,i),e.removeAttribute(i);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}it(o,i),o=pa(""+o),e.setAttribute(i,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?i==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Sh||(Sh=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||wh||(wh=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?i==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||xh?t!=="button"||l.type==null||l.type==="submit"||xh?typeof o=="function"&&(l.name==null||dE||(dE=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||Sh||(Sh=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||wh||(wh=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(xh=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xh=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(i==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(i==="formAction"?(t!=="input"&&_t(e,t,"name",l.name,l,null),_t(e,t,"formEncType",l.formEncType,l,null),_t(e,t,"formMethod",l.formMethod,l,null),_t(e,t,"formTarget",l.formTarget,l,null)):(_t(e,t,"encType",l.encType,l,null),_t(e,t,"method",l.method,l,null),_t(e,t,"target",l.target,l,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(i);break}it(o,i),o=pa(""+o),e.setAttribute(i,o);break;case"onClick":o!=null&&(typeof o!="function"&&$r(i,o),e.onclick=ki);break;case"onScroll":o!=null&&(typeof o!="function"&&$r(i,o),gt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&$r(i,o),gt("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=o.__html,i!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}it(o,i),i=pa(""+o),e.setAttributeNS(ws,"xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(it(o,i),e.setAttribute(i,""+o)):e.removeAttribute(i);break;case"inert":o!==""||Eh[i]||(Eh[i]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",i));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":o===!0?e.setAttribute(i,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(it(o,i),e.setAttribute(i,o)):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(it(o,i),e.setAttribute(i,o)):e.removeAttribute(i);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(i):(it(o,i),e.setAttribute(i,o));break;case"popover":gt("beforetoggle",e),gt("toggle",e),He(e,"popover",o);break;case"xlinkActuate":Fe(e,ws,"xlink:actuate",o);break;case"xlinkArcrole":Fe(e,ws,"xlink:arcrole",o);break;case"xlinkRole":Fe(e,ws,"xlink:role",o);break;case"xlinkShow":Fe(e,ws,"xlink:show",o);break;case"xlinkTitle":Fe(e,ws,"xlink:title",o);break;case"xlinkType":Fe(e,ws,"xlink:type",o);break;case"xmlBase":Fe(e,Pg,"xml:base",o);break;case"xmlLang":Fe(e,Pg,"xml:lang",o);break;case"xmlSpace":Fe(e,Pg,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),He(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":hE||o==null||typeof o!="object"||(hE=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N"?(i=mu(i),He(e,i,o)):is.hasOwnProperty(i)&&o!=null&&typeof o!="function"&&$r(i,o)}}function o0(e,t,i,o,l,f){switch(i){case"style":qs(e,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(i=o.__html,i!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=i}}break;case"children":typeof o=="string"?qa(e,o):(typeof o=="number"||typeof o=="bigint")&&qa(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&$r(i,o),gt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&$r(i,o),gt("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&$r(i,o),e.onclick=ki);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(is.hasOwnProperty(i))o!=null&&typeof o!="function"&&$r(i,o);else e:{if(i[0]==="o"&&i[1]==="n"&&(l=i.endsWith("Capture"),t=i.slice(2,l?i.length-7:void 0),f=e[ri]||null,f=f!=null?f[i]:null,typeof f=="function"&&e.removeEventListener(t,f,l),typeof o=="function")){typeof f!="function"&&f!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,o,l);break e}i in e?e[i]=o:o===!0?e.setAttribute(i,""):He(e,i,o)}}}function Zn(e,t,i){switch(a0(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":gt("error",e),gt("load",e);var o=!1,l=!1,f;for(f in i)if(i.hasOwnProperty(f)){var m=i[f];if(m!=null)switch(f){case"src":o=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:_t(e,t,f,m,i,null)}}l&&_t(e,t,"srcSet",i.srcSet,i,null),o&&_t(e,t,"src",i.src,i,null);return;case"input":je("input",i),gt("invalid",e);var x=f=m=l=null,E=null,T=null;for(o in i)if(i.hasOwnProperty(o)){var q=i[o];if(q!=null)switch(o){case"name":l=q;break;case"type":m=q;break;case"checked":E=q;break;case"defaultChecked":T=q;break;case"value":f=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:_t(e,t,o,q,i,null)}}mf(e,i),gf(e,f,x,E,T,m,l,!1);return;case"select":je("select",i),gt("invalid",e),o=m=f=null;for(l in i)if(i.hasOwnProperty(l)&&(x=i[l],x!=null))switch(l){case"value":f=x;break;case"defaultValue":m=x;break;case"multiple":o=x;default:_t(e,t,l,x,i,null)}yf(e,i),t=f,i=m,e.multiple=!!o,t!=null?Pa(e,!!o,t,!1):i!=null&&Pa(e,!!o,i,!0);return;case"textarea":je("textarea",i),gt("invalid",e),f=l=o=null;for(m in i)if(i.hasOwnProperty(m)&&(x=i[m],x!=null))switch(m){case"value":o=x;break;case"defaultValue":l=x;break;case"children":f=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:_t(e,t,m,x,i,null)}hr(e,i),fu(e,o,l,f);return;case"option":Io(e,i);for(E in i)if(i.hasOwnProperty(E)&&(o=i[E],o!=null))switch(E){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:_t(e,t,E,o,i,null)}return;case"dialog":gt("beforetoggle",e),gt("toggle",e),gt("cancel",e),gt("close",e);break;case"iframe":case"object":gt("load",e);break;case"video":case"audio":for(o=0;o<Rc.length;o++)gt(Rc[o],e);break;case"image":gt("error",e),gt("load",e);break;case"details":gt("toggle",e);break;case"embed":case"source":case"link":gt("error",e),gt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in i)if(i.hasOwnProperty(T)&&(o=i[T],o!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:_t(e,t,T,o,i,null)}return;default:if(Qe(t)){for(q in i)i.hasOwnProperty(q)&&(o=i[q],o!==void 0&&o0(e,t,q,o,i,void 0));return}}for(x in i)i.hasOwnProperty(x)&&(o=i[x],o!=null&&_t(e,t,x,o,i,null))}function mC(e,t,i,o){switch(a0(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,f=null,m=null,x=null,E=null,T=null,q=null;for(K in i){var $=i[K];if(i.hasOwnProperty(K)&&$!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":E=$;default:o.hasOwnProperty(K)||_t(e,t,K,null,o,$)}}for(var B in o){var K=o[B];if($=i[B],o.hasOwnProperty(B)&&(K!=null||$!=null))switch(B){case"type":f=K;break;case"name":l=K;break;case"checked":T=K;break;case"defaultChecked":q=K;break;case"value":m=K;break;case"defaultValue":x=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K!==$&&_t(e,t,B,K,o,$)}}t=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||fE||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),fE=!0),!t||o||cE||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),cE=!0),uu(e,m,x,E,T,q,f,l);return;case"select":K=m=x=B=null;for(f in i)if(E=i[f],i.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":K=E;default:o.hasOwnProperty(f)||_t(e,t,f,null,o,E)}for(l in o)if(f=o[l],E=i[l],o.hasOwnProperty(l)&&(f!=null||E!=null))switch(l){case"value":B=f;break;case"defaultValue":x=f;break;case"multiple":m=f;default:f!==E&&_t(e,t,l,f,o,E)}o=x,t=m,i=K,B!=null?Pa(e,!!t,B,!1):!!i!=!!t&&(o!=null?Pa(e,!!t,o,!0):Pa(e,!!t,t?[]:"",!1));return;case"textarea":K=B=null;for(x in i)if(l=i[x],i.hasOwnProperty(x)&&l!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:_t(e,t,x,null,o,l)}for(m in o)if(l=o[m],f=i[m],o.hasOwnProperty(m)&&(l!=null||f!=null))switch(m){case"value":B=l;break;case"defaultValue":K=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==f&&_t(e,t,m,l,o,f)}cu(e,B,K);return;case"option":for(var Se in i)if(B=i[Se],i.hasOwnProperty(Se)&&B!=null&&!o.hasOwnProperty(Se))switch(Se){case"selected":e.selected=!1;break;default:_t(e,t,Se,null,o,B)}for(E in o)if(B=o[E],K=i[E],o.hasOwnProperty(E)&&B!==K&&(B!=null||K!=null))switch(E){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:_t(e,t,E,B,o,K)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ce in i)B=i[Ce],i.hasOwnProperty(Ce)&&B!=null&&!o.hasOwnProperty(Ce)&&_t(e,t,Ce,null,o,B);for(T in o)if(B=o[T],K=i[T],o.hasOwnProperty(T)&&B!==K&&(B!=null||K!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:_t(e,t,T,B,o,K)}return;default:if(Qe(t)){for(var Lt in i)B=i[Lt],i.hasOwnProperty(Lt)&&B!==void 0&&!o.hasOwnProperty(Lt)&&o0(e,t,Lt,void 0,o,B);for(q in o)B=o[q],K=i[q],!o.hasOwnProperty(q)||B===K||B===void 0&&K===void 0||o0(e,t,q,B,o,K);return}}for(var yt in i)B=i[yt],i.hasOwnProperty(yt)&&B!=null&&!o.hasOwnProperty(yt)&&_t(e,t,yt,null,o,B);for($ in o)B=o[$],K=i[$],!o.hasOwnProperty($)||B===K||B==null&&K==null||_t(e,t,$,B,o,K)}function p9(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function s0(e){var t={};e=e.style;for(var i=0;i<e.length;i++){var o=e[i];t[o]=e.getPropertyValue(o)}return t}function m9(e,t,i){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,l=o="",f;for(f in t)if(t.hasOwnProperty(f)){var m=t[f];m!=null&&typeof m!="boolean"&&m!==""&&(f.indexOf("--")===0?(Qt(m,f),o+=l+f+":"+(""+m).trim()):typeof m!="number"||m===0||Mw.has(f)?(Qt(m,f),o+=l+f.replace(xw,"-$1").toLowerCase().replace(ww,"-ms-")+":"+(""+m).trim()):o+=l+f.replace(xw,"-$1").toLowerCase().replace(ww,"-ms-")+":"+m+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=no(o),no(t)!==o&&(i.style=s0(e)))}}function Yi(e,t,i,o,l,f){if(l.delete(i),e=e.getAttribute(i),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(it(o,t),e===""+o)return}Cn(t,e,o,f)}function g9(e,t,i,o,l,f){if(l.delete(i),e=e.getAttribute(i),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}Cn(t,e,o,f)}function l0(e,t,i,o,l,f){if(l.delete(i),e=e.getAttribute(i),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(it(o,i),e===""+o)return}Cn(t,e,o,f)}function b9(e,t,i,o,l,f){if(l.delete(i),e=e.getAttribute(i),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(it(o,t),e===""+o))return}Cn(t,e,o,f)}function u0(e,t,i,o,l,f){if(l.delete(i),e=e.getAttribute(i),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(it(o,t),i=pa(""+o),e===i)return}Cn(t,e,o,f)}function y9(e,t,i,o){for(var l={},f=new Set,m=e.attributes,x=0;x<m.length;x++)switch(m[x].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(m[x].name)}if(Qe(t)){for(var E in i)if(i.hasOwnProperty(E)){var T=i[E];if(T!=null){if(is.hasOwnProperty(E))typeof T!="function"&&$r(E,T);else if(i.suppressHydrationWarning!==!0)switch(E){case"children":typeof T!="string"&&typeof T!="number"||Cn("children",e.textContent,T,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=d9(e,T),Cn(E,m,T,l));continue;case"style":f.delete(E),m9(e,T,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),m=It(e,"class",T),Cn("className",m,T,l);continue;default:o.context===La&&t!=="svg"&&t!=="math"?f.delete(E.toLowerCase()):f.delete(E),m=It(e,E,T),Cn(E,m,T,l)}}}}else for(T in i)if(i.hasOwnProperty(T)&&(E=i[T],E!=null)){if(is.hasOwnProperty(T))typeof E!="function"&&$r(T,E);else if(i.suppressHydrationWarning!==!0)switch(T){case"children":typeof E!="string"&&typeof E!="number"||Cn("children",e.textContent,E,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=d9(e,E),m!==E&&(l[T]={__html:m}));continue;case"className":Yi(e,T,"class",E,f,l);continue;case"tabIndex":Yi(e,T,"tabindex",E,f,l);continue;case"style":f.delete(T),m9(e,E,l);continue;case"multiple":f.delete(T),Cn(T,e.multiple,E,l);continue;case"muted":f.delete(T),Cn(T,e.muted,E,l);continue;case"autoFocus":f.delete("autofocus"),Cn(T,e.autofocus,E,l);continue;case"data":if(t!=="object"){f.delete(T),m=e.getAttribute("data"),Cn(T,m,E,l);continue}case"src":case"href":if(!(E!==""||t==="a"&&T==="href"||t==="object"&&T==="data")){console.error(T==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}u0(e,T,T,E,f,l);continue;case"action":case"formAction":if(m=e.getAttribute(T),typeof E=="function"){f.delete(T.toLowerCase()),T==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(m===CD){f.delete(T.toLowerCase()),Cn(T,"function",E,l);continue}u0(e,T,T.toLowerCase(),E,f,l);continue;case"xlinkHref":u0(e,T,"xlink:href",E,f,l);continue;case"contentEditable":l0(e,T,"contenteditable",E,f,l);continue;case"spellCheck":l0(e,T,"spellcheck",E,f,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l0(e,T,T,E,f,l);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":g9(e,T,T.toLowerCase(),E,f,l);continue;case"capture":case"download":e:{x=e;var q=m=T,$=l;if(f.delete(q),x=x.getAttribute(q),x===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&x==="")break e;break;default:if(it(E,m),x===""+E)break e}Cn(m,x,E,$)}continue;case"cols":case"rows":case"size":case"span":e:{if(x=e,q=m=T,$=l,f.delete(q),x=x.getAttribute(q),x===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(it(E,m),x===""+E))break e}Cn(m,x,E,$)}continue;case"rowSpan":b9(e,T,"rowspan",E,f,l);continue;case"start":b9(e,T,T,E,f,l);continue;case"xHeight":Yi(e,T,"x-height",E,f,l);continue;case"xlinkActuate":Yi(e,T,"xlink:actuate",E,f,l);continue;case"xlinkArcrole":Yi(e,T,"xlink:arcrole",E,f,l);continue;case"xlinkRole":Yi(e,T,"xlink:role",E,f,l);continue;case"xlinkShow":Yi(e,T,"xlink:show",E,f,l);continue;case"xlinkTitle":Yi(e,T,"xlink:title",E,f,l);continue;case"xlinkType":Yi(e,T,"xlink:type",E,f,l);continue;case"xmlBase":Yi(e,T,"xml:base",E,f,l);continue;case"xmlLang":Yi(e,T,"xml:lang",E,f,l);continue;case"xmlSpace":Yi(e,T,"xml:space",E,f,l);continue;case"inert":E!==""||Eh[T]||(Eh[T]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",T)),g9(e,T,T,E,f,l);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){x=mu(T),m=!1,o.context===La&&t!=="svg"&&t!=="math"?f.delete(x.toLowerCase()):(q=T.toLowerCase(),q=Hd.hasOwnProperty(q)&&Hd[q]||null,q!==null&&q!==T&&(m=!0,f.delete(q)),f.delete(x));e:if(q=e,$=x,x=E,Vt($))if(q.hasAttribute($))q=q.getAttribute($),it(x,$),x=q===""+x?x:q;else{switch(typeof x){case"function":case"symbol":break e;case"boolean":if(q=$.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break e}x=x===void 0?void 0:null}else x=void 0;m||Cn(T,x,E,l)}}}return 0<f.size&&i.suppressHydrationWarning!==!0&&pC(e,f,l),Object.keys(l).length===0?null:l}function gC(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function v9(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function bC(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),o=0;o<i.length;o++){var l=i[o],f=l.transferSize,m=l.initiatorType,x=l.duration;if(f&&x&&v9(m)){for(m=0,x=l.responseEnd,o+=1;o<i.length;o++){var E=i[o],T=E.startTime;if(T>x)break;var q=E.transferSize,$=E.initiatorType;q&&v9($)&&(E=E.responseEnd,m+=q*(E<x?1:(x-T)/(E-T)))}if(--o,t+=8*(f+m)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function bd(e){return e.nodeType===9?e:e.ownerDocument}function x9(e){switch(e){case pl:return Fl;case Od:return Mh;default:return La}}function w9(e,t){if(e===La)switch(t){case"svg":return Fl;case"math":return Mh;default:return La}return e===Fl&&t==="foreignObject"?La:e}function c0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function yC(){var e=window.event;return e&&e.type==="popstate"?e===Gg?!1:(Gg=e,!0):(Gg=null,!1)}function Bu(){var e=window.event;return e&&e!==Oc?e.type:null}function Zu(){var e=window.event;return e&&e!==Oc?e.timeStamp:-1.1}function vC(e){setTimeout(function(){throw e})}function xC(e,t,i){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();break;case"img":i.src?e.src=i.src:i.srcSet&&(e.srcset=i.srcSet)}}function wC(){}function SC(e,t,i,o){mC(e,t,i,o),e[ri]=o}function S9(e){qa(e,"")}function EC(e,t,i){e.nodeValue=i}function E9(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[ri]||null;if(t!==null){var i=we(e);i!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,Ee(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,Ee(i,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function io(e){return e==="head"}function VC(e,t){e.removeChild(t)}function MC(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function V9(e,t){var i=t,o=0;do{var l=i.nextSibling;if(e.removeChild(i),l&&l.nodeType===8)if(i=l.data,i===_c||i===Vh){if(o===0){e.removeChild(l),ll(t);return}o--}else if(i===Dc||i===No||i===Es||i===Pl||i===Ss)o++;else if(i===DD)ju(e.ownerDocument.documentElement);else if(i===OD){i=e.ownerDocument.head,ju(i);for(var f=i.firstChild;f;){var m=f.nextSibling,x=f.nodeName;f[Gu]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&f.rel.toLowerCase()==="stylesheet"||i.removeChild(f),f=m}}else i===_D&&ju(e.ownerDocument.body);i=l}while(i);ll(t)}function M9(e,t){var i=e;e=0;do{var o=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),o&&o.nodeType===8)if(i=o.data,i===_c){if(e===0)break;e--}else i!==Dc&&i!==No&&i!==Es&&i!==Pl||e++;i=o}while(i)}function TC(e){M9(e,!0)}function NC(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function AC(e){e.nodeValue=""}function kC(e){M9(e,!1)}function CC(e,t){t=t[HD],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function RC(e,t){e.nodeValue=t}function f0(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":f0(i),G(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function DC(e,t,i,o){for(;e.nodeType===1;){var l=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[Gu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){it(l.name,"name");var f=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Hi(e.nextSibling),e===null)break}return null}function _C(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Hi(e.nextSibling),e===null))return null;return e}function T9(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Hi(e.nextSibling),e===null))return null;return e}function d0(e){return e.data===No||e.data===Es}function h0(e){return e.data===Pl||e.data===No&&e.ownerDocument.readyState!==mE}function OC(e,t){var i=e.ownerDocument;if(e.data===Es)e._reactRetry=t;else if(e.data!==No||i.readyState!==mE)t();else{var o=function(){t(),i.removeEventListener("DOMContentLoaded",o)};i.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Hi(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===Dc||t===Pl||t===No||t===Es||t===Ss||t===Fg||t===pE)break;if(t===_c||t===Vh)return null}}return e}function N9(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),i={},o=e.attributes,l=0;l<o.length;l++){var f=o[l];i[p9(f.name)]=f.name.toLowerCase()==="style"?s0(e):f.value}return{type:t,props:i}}return e.nodeType===8?e.data===Ss?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function A9(e,t,i){return i===null||i[RD]!==!0?(e.nodeValue===t?e=null:(t=no(t),e=no(e.nodeValue)===t?null:e.nodeValue),e):null}function p0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===_c||i===Vh){if(t===0)return Hi(e.nextSibling);t--}else i!==Dc&&i!==Pl&&i!==No&&i!==Es&&i!==Ss||t++}e=e.nextSibling}return null}function k9(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i===Dc||i===Pl||i===No||i===Es||i===Ss){if(t===0)return e;t--}else i!==_c&&i!==Vh||t++}e=e.previousSibling}return null}function HC(e){ll(e)}function zC(e){ll(e)}function LC(e){ll(e)}function C9(e,t,i,o,l){switch(l&&pu(e,o.ancestorInfo),t=bd(i),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function BC(e,t,i,o){if(!i[so]&&we(i)){var l=i.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=i.attributes;l.length;)i.removeAttributeNode(l[0]);Zn(i,e,t),i[jn]=o,i[ri]=t}function ju(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);G(e)}function yd(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function R9(e,t,i){var o=ql;if(o&&typeof t=="string"&&t){var l=qn(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof i=="string"&&(l+='[crossorigin="'+i+'"]'),wE.has(l)||(wE.add(l),e={rel:e,crossOrigin:i,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),Zn(t,"link",e),_(t),o.head.appendChild(t)))}}function D9(e,t,i,o){var l=(l=ao.current)?yd(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(i=ol(i.href),t=Ye(l).hoistableStyles,o=t.get(i),o||(o={type:"style",instance:null,count:0,state:null},t.set(i,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=ol(i.href);var f=Ye(l).hoistableStyles,m=f.get(e);if(!m&&(l=l.ownerDocument||l,m={type:"stylesheet",instance:null,count:0,state:{loading:Ms,preload:null}},f.set(e,m),(f=l.querySelector(Uu(e)))&&!f._p&&(m.instance=f,m.state.loading=Hc|or),!sr.has(e))){var x={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy};sr.set(e,x),f||ZC(l,e,x,m.state)}if(t&&o===null)throw i=`
|
|
222
|
+
|
|
223
|
+
- `+vd(t)+`
|
|
224
|
+
+ `+vd(i),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+i);return m}if(t&&o!==null)throw i=`
|
|
225
|
+
|
|
226
|
+
- `+vd(t)+`
|
|
227
|
+
+ `+vd(i),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+i);return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(i=sl(i),t=Ye(l).hoistableScripts,o=t.get(i),o||(o={type:"script",instance:null,count:0,state:null},t.set(i,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function vd(e){var t=0,i="<link";return typeof e.rel=="string"?(t++,i+=' rel="'+e.rel+'"'):yr.call(e,"rel")&&(t++,i+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,i+=' href="'+e.href+'"'):yr.call(e,"href")&&(t++,i+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,i+=' precedence="'+e.precedence+'"'):yr.call(e,"precedence")&&(t++,i+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(i+=" ..."),i+" />"}function ol(e){return'href="'+qn(e)+'"'}function Uu(e){return'link[rel="stylesheet"]['+e+"]"}function _9(e){return ft({},e,{"data-precedence":e.precedence,precedence:null})}function ZC(e,t,i,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=Hc:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=Hc}),t.addEventListener("error",function(){return o.loading|=vE}),Zn(t,"link",i),_(t),e.head.appendChild(t))}function sl(e){return'[src="'+qn(e)+'"]'}function Iu(e){return"script[async]"+e}function O9(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+qn(i.href)+'"]');if(o)return t.instance=o,_(o),o;var l=ft({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),_(o),Zn(o,"style",l),xd(o,i.precedence,e),t.instance=o;case"stylesheet":l=ol(i.href);var f=e.querySelector(Uu(l));if(f)return t.state.loading|=or,t.instance=f,_(f),f;o=_9(i),(l=sr.get(l))&&m0(o,l),f=(e.ownerDocument||e).createElement("link"),_(f);var m=f;return m._p=new Promise(function(x,E){m.onload=x,m.onerror=E}),Zn(f,"link",o),t.state.loading|=or,xd(f,i.precedence,e),t.instance=f;case"script":return f=sl(i.src),(l=e.querySelector(Iu(f)))?(t.instance=l,_(l),l):(o=i,(l=sr.get(f))&&(o=ft({},i),g0(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),_(l),Zn(l,"link",o),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&or)===Ms&&(o=t.instance,t.state.loading|=or,xd(o,i.precedence,e));return t.instance}function xd(e,t,i){for(var o=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,f=l,m=0;m<o.length;m++){var x=o[m];if(x.dataset.precedence===t)f=x;else if(f!==l)break}f?f.parentNode.insertBefore(e,f.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function m0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function g0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function H9(e,t,i){if(Th===null){var o=new Map,l=Th=new Map;l.set(i,o)}else l=Th,o=l.get(i),o||(o=new Map,l.set(i,o));if(o.has(e))return o;for(o.set(e,null),i=i.getElementsByTagName(e),l=0;l<i.length;l++){var f=i[l];if(!(f[Gu]||f[jn]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==pl){var m=f.getAttribute(t)||"";m=e+m;var x=o.get(m);x?x.push(f):o.set(m,[f])}}return o}function z9(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function jC(e,t,i){var o=!i.ancestorInfo.containerTagInScope;if(i.context===Fl||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,f=t.disabled;i=[],t.onLoad&&i.push("`onLoad`"),l&&i.push("`onError`"),f!=null&&i.push("`disabled`"),l=gC(i,"and"),l+=i.length===1?" prop":" props",f=i.length===1?"an "+l:"the "+l,i.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,f,l)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function L9(e){return!(e.type==="stylesheet"&&(e.state.loading&xE)===Ms)}function UC(e,t,i,o){if(i.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(i.state.loading&or)===Ms){if(i.instance===null){var l=ol(o.href),f=t.querySelector(Uu(l));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=wd.bind(e),t.then(e,e)),i.state.loading|=or,i.instance=f,_(f);return}f=t.ownerDocument||t,o=_9(o),(l=sr.get(l))&&m0(o,l),f=f.createElement("link"),_(f);var m=f;m._p=new Promise(function(x,E){m.onload=x,m.onerror=E}),Zn(f,"link",o),i.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&xE)===Ms&&(e.count++,i=wd.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}function IC(e,t){return e.stylesheets&&e.count===0&&Sd(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var o=setTimeout(function(){if(e.stylesheets&&Sd(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},BD+t);0<e.imgBytes&&Xg===0&&(Xg=125*bC()*jD);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Sd(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>Xg?50:ZD)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function wd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Sd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Nh=new Map,t.forEach(PC,e),Nh=null,wd.call(e))}function PC(e,t){if(!(t.state.loading&or)){var i=Nh.get(e);if(i)var o=i.get(Qg);else{i=new Map,Nh.set(e,i);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<l.length;f++){var m=l[f];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(i.set(m.dataset.precedence,m),o=m)}o&&i.set(Qg,o)}l=t.instance,m=l.getAttribute("data-precedence"),f=i.get(m)||o,f===o&&i.set(Qg,l),i.set(m,l),this.count++,o=wd.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),f?f.parentNode.insertBefore(l,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=or}}function FC(e,t,i,o,l,f,m,x,E){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Vs,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=oe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oe(0),this.hiddenUpdates=oe(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=f,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=i?"hydrateRoot()":"createRoot()"}function B9(e,t,i,o,l,f,m,x,E,T,q,$){return e=new FC(e,t,i,m,E,T,q,$,x),t=cD,f===!0&&(t|=Xn|vr),t|=ot,f=v(3,null,null,t),e.current=f,f.stateNode=e,t=Fp(),Qo(t),e.pooledCache=t,Qo(t),f.memoizedState={element:o,isDehydrated:i,cache:t},Xp(f),e}function Z9(e){return e?(e=fo,e):fo}function b0(e,t,i,o,l,f){if(Yn&&typeof Yn.onScheduleFiberRoot=="function")try{Yn.onScheduleFiberRoot(dl,o,i)}catch(m){Qr||(Qr=!0,console.error("React instrumentation encountered an error: %o",m))}l=Z9(l),o.context===null?o.context=l:o.pendingContext=l,Xr&&Li!==null&&!ME&&(ME=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
228
|
+
|
|
229
|
+
Check the render method of %s.`,R(Li)||"Unknown")),o=Qa(t),o.payload={element:i},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),i=Ka(e,o,t),i!==null&&(Or(t,"root.render()",null),en(i,e,t),Su(i,e,t))}function j9(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function y0(e,t){j9(e,t),(e=e.alternate)&&j9(e,t)}function U9(e){if(e.tag===13||e.tag===31){var t=Gn(e,67108864);t!==null&&en(t,e,67108864),y0(e,67108864)}}function I9(e){if(e.tag===13||e.tag===31){var t=Oi(e);t=fn(t);var i=Gn(e,t);i!==null&&en(i,e,t),y0(e,t)}}function qC(){return Li}function $C(e,t,i,o){var l=ne.T;ne.T=null;var f=At.p;try{At.p=Xi,v0(e,t,i,o)}finally{At.p=f,ne.T=l}}function GC(e,t,i,o){var l=ne.T;ne.T=null;var f=At.p;try{At.p=Jr,v0(e,t,i,o)}finally{At.p=f,ne.T=l}}function v0(e,t,i,o){if(kh){var l=x0(o);if(l===null)r0(e,t,o,Ch,i),F9(e,o);else if(YC(l,e,t,i,o))o.stopPropagation();else if(F9(e,o),t&4&&-1<ID.indexOf(e)){for(;l!==null;){var f=we(l);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var m=pi(f.pendingLanes);if(m!==0){var x=f;for(x.pendingLanes|=2,x.entangledLanes|=2;m;){var E=1<<31-ii(m);x.entanglements[1]|=E,m&=~E}qr(f),(St&(Tn|Ui))===On&&(dh=Rn()+WS,zu(0))}}break;case 31:case 13:x=Gn(f,2),x!==null&&en(x,f,2),il(),y0(f,2)}if(f=x0(o),f===null&&r0(e,t,o,Ch,i),f===l)break;l=f}l!==null&&o.stopPropagation()}else r0(e,t,o,null,i)}}function x0(e){return e=Ae(e),w0(e)}function w0(e){if(Ch=null,e=me(e),e!==null){var t=k(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=j(t),e!==null)return e;e=null}else if(i===31){if(e=U(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ch=e,null}function P9(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Xi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Jr;case"message":switch(rR()){case H0:return Xi;case z0:return Jr;case fl:case aR:return Ea;case L0:return Dd;default:return Ea}default:return Ea}}function F9(e,t){switch(e){case"focusin":case"focusout":Ao=null;break;case"dragenter":case"dragleave":ko=null;break;case"mouseover":case"mouseout":Co=null;break;case"pointerover":case"pointerout":Lc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bc.delete(t.pointerId)}}function Pu(e,t,i,o,l,f){return e===null||e.nativeEvent!==f?(e={blockedOn:t,domEventName:i,eventSystemFlags:o,nativeEvent:f,targetContainers:[l]},t!==null&&(t=we(t),t!==null&&U9(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function YC(e,t,i,o,l){switch(t){case"focusin":return Ao=Pu(Ao,e,t,i,o,l),!0;case"dragenter":return ko=Pu(ko,e,t,i,o,l),!0;case"mouseover":return Co=Pu(Co,e,t,i,o,l),!0;case"pointerover":var f=l.pointerId;return Lc.set(f,Pu(Lc.get(f)||null,e,t,i,o,l)),!0;case"gotpointercapture":return f=l.pointerId,Bc.set(f,Pu(Bc.get(f)||null,e,t,i,o,l)),!0}return!1}function q9(e){var t=me(e.target);if(t!==null){var i=k(t);if(i!==null){if(t=i.tag,t===13){if(t=j(i),t!==null){e.blockedOn=t,N(e.priority,function(){I9(i)});return}}else if(t===31){if(t=U(i),t!==null){e.blockedOn=t,N(e.priority,function(){I9(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ed(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=x0(e.nativeEvent);if(i===null){i=e.nativeEvent;var o=new i.constructor(i.type,i),l=o;Yu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Yu=l,i.target.dispatchEvent(o),Yu===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Yu=null}else return t=we(i),t!==null&&U9(t),e.blockedOn=i,!1;t.shift()}return!0}function $9(e,t,i){Ed(e)&&i.delete(t)}function XC(){Kg=!1,Ao!==null&&Ed(Ao)&&(Ao=null),ko!==null&&Ed(ko)&&(ko=null),Co!==null&&Ed(Co)&&(Co=null),Lc.forEach($9),Bc.forEach($9)}function Vd(e,t){e.blockedOn===t&&(e.blockedOn=null,Kg||(Kg=!0,dn.unstable_scheduleCallback(dn.unstable_NormalPriority,XC)))}function G9(e){Rh!==e&&(Rh=e,dn.unstable_scheduleCallback(dn.unstable_NormalPriority,function(){Rh===e&&(Rh=null);for(var t=0;t<e.length;t+=3){var i=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(w0(o||i)===null)continue;break}var f=we(i);f!==null&&(e.splice(t,3),t-=3,i={pending:!0,data:l,method:i.method,action:o},Object.freeze(i),wm(f,i,o,l))}}))}function ll(e){function t(E){return Vd(E,e)}Ao!==null&&Vd(Ao,e),ko!==null&&Vd(ko,e),Co!==null&&Vd(Co,e),Lc.forEach(t),Bc.forEach(t);for(var i=0;i<Ro.length;i++){var o=Ro[i];o.blockedOn===e&&(o.blockedOn=null)}for(;0<Ro.length&&(i=Ro[0],i.blockedOn===null);)q9(i),i.blockedOn===null&&Ro.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(o=0;o<i.length;o+=3){var l=i[o],f=i[o+1],m=l[ri]||null;if(typeof f=="function")m||G9(i);else if(m){var x=null;if(f&&f.hasAttribute("formAction")){if(l=f,m=f[ri]||null)x=m.formAction;else if(w0(l)!==null)continue}else x=m.action;typeof x=="function"?i[o+1]=x:(i.splice(o,3),o-=3),G9(i)}}}function Y9(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(m){return l=m})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(i,20)}function i(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function S0(e){this._internalRoot=e}function Md(e){this._internalRoot=e}function X9(e){e[so]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var dn=QD(),E0=sf(),QC=JD(),ft=Object.assign,KC=Symbol.for("react.element"),Gr=Symbol.for("react.transitional.element"),ul=Symbol.for("react.portal"),cl=Symbol.for("react.fragment"),Td=Symbol.for("react.strict_mode"),V0=Symbol.for("react.profiler"),M0=Symbol.for("react.consumer"),Yr=Symbol.for("react.context"),Fu=Symbol.for("react.forward_ref"),T0=Symbol.for("react.suspense"),N0=Symbol.for("react.suspense_list"),Nd=Symbol.for("react.memo"),zi=Symbol.for("react.lazy"),A0=Symbol.for("react.activity"),JC=Symbol.for("react.memo_cache_sentinel"),Q9=Symbol.iterator,WC=Symbol.for("react.client.reference"),Vn=Array.isArray,ne=E0.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,At=QC.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eR=Object.freeze({pending:!1,data:null,method:null,action:null}),k0=[],C0=[],Sa=-1,ro=xe(null),qu=xe(null),ao=xe(null),Ad=xe(null),$u=0,K9,J9,W9,ew,tw,nw,iw;H.__reactDisabledLog=!0;var R0,rw,D0=!1,_0=new(typeof WeakMap=="function"?WeakMap:Map),Li=null,Xr=!1,yr=Object.prototype.hasOwnProperty,O0=dn.unstable_scheduleCallback,tR=dn.unstable_cancelCallback,nR=dn.unstable_shouldYield,iR=dn.unstable_requestPaint,Rn=dn.unstable_now,rR=dn.unstable_getCurrentPriorityLevel,H0=dn.unstable_ImmediatePriority,z0=dn.unstable_UserBlockingPriority,fl=dn.unstable_NormalPriority,aR=dn.unstable_LowPriority,L0=dn.unstable_IdlePriority,oR=dn.log,sR=dn.unstable_setDisableYieldValue,dl=null,Yn=null,Qr=!1,Kr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ii=Math.clz32?Math.clz32:kr,lR=Math.log,uR=Math.LN2,kd=256,Cd=262144,Rd=4194304,Xi=2,Jr=8,Ea=32,Dd=268435456,oo=Math.random().toString(36).slice(2),jn="__reactFiber$"+oo,ri="__reactProps$"+oo,so="__reactContainer$"+oo,B0="__reactEvents$"+oo,cR="__reactListeners$"+oo,fR="__reactHandles$"+oo,aw="__reactResources$"+oo,Gu="__reactMarker$"+oo,ow=new Set,is={},Z0={},dR={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hR=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sw={},lw={},pR=/[\n"\\]/g,uw=!1,cw=!1,fw=!1,dw=!1,hw=!1,pw=!1,mw=["value","defaultValue"],gw=!1,bw=/["'&<>\n\t]|^\s|\s$/,mR="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),yw="applet caption html table td th marquee object template foreignObject desc title".split(" "),gR=yw.concat(["button"]),bR="dd dt li option optgroup p rp rt".split(" "),vw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},_d={},j0={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xw=/([A-Z])/g,ww=/^ms-/,yR=/^(?:webkit|moz|o)[A-Z]/,vR=/^-ms-/,xR=/-(.)/g,Sw=/;\s*$/,hl={},U0={},Ew=!1,Vw=!1,Mw=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Od="http://www.w3.org/1998/Math/MathML",pl="http://www.w3.org/2000/svg",wR=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Hd={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Tw={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},ml={},SR=RegExp("^(aria)-[: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]*$"),ER=RegExp("^(aria)[A-Z][: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]*$"),Nw=!1,ai={},Aw=/^on./,VR=/^on[^A-Z]/,MR=RegExp("^(aria)-[: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]*$"),TR=RegExp("^(aria)[A-Z][: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]*$"),NR=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Yu=null,gl=null,bl=null,I0=!1,Wr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P0=!1;if(Wr)try{var Xu={};Object.defineProperty(Xu,"passive",{get:function(){P0=!0}}),window.addEventListener("test",Xu,Xu),window.removeEventListener("test",Xu,Xu)}catch{P0=!1}var lo=null,F0=null,zd=null,rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ld=yi(rs),Qu=ft({},rs,{view:0,detail:0}),AR=yi(Qu),q0,$0,Ku,Bd=ft({},Qu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tp,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!==Ku&&(Ku&&e.type==="mousemove"?(q0=e.screenX-Ku.screenX,$0=e.screenY-Ku.screenY):$0=q0=0,Ku=e),q0)},movementY:function(e){return"movementY"in e?e.movementY:$0}}),kw=yi(Bd),kR=ft({},Bd,{dataTransfer:0}),CR=yi(kR),RR=ft({},Qu,{relatedTarget:0}),G0=yi(RR),DR=ft({},rs,{animationName:0,elapsedTime:0,pseudoElement:0}),_R=yi(DR),OR=ft({},rs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),HR=yi(OR),zR=ft({},rs,{data:0}),Cw=yi(zR),LR=Cw,BR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ZR={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"},jR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},UR=ft({},Qu,{key:function(e){if(e.key){var t=BR[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ZR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tp,charCode:function(e){return e.type==="keypress"?bi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),IR=yi(UR),PR=ft({},Bd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rw=yi(PR),FR=ft({},Qu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tp}),qR=yi(FR),$R=ft({},rs,{propertyName:0,elapsedTime:0,pseudoElement:0}),GR=yi($R),YR=ft({},Bd,{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}),XR=yi(YR),QR=ft({},rs,{newState:0,oldState:0}),KR=yi(QR),JR=[9,13,27,32],Dw=229,Y0=Wr&&"CompositionEvent"in window,Ju=null;Wr&&"documentMode"in document&&(Ju=document.documentMode);var WR=Wr&&"TextEvent"in window&&!Ju,_w=Wr&&(!Y0||Ju&&8<Ju&&11>=Ju),Ow=32,Hw=String.fromCharCode(Ow),zw=!1,yl=!1,eD={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},Wu=null,ec=null,Lw=!1;Wr&&(Lw=xk("input")&&(!document.documentMode||9<document.documentMode));var oi=typeof Object.is=="function"?Object.is:Tk,tD=Wr&&"documentMode"in document&&11>=document.documentMode,vl=null,X0=null,tc=null,Q0=!1,xl={animationend:Po("Animation","AnimationEnd"),animationiteration:Po("Animation","AnimationIteration"),animationstart:Po("Animation","AnimationStart"),transitionrun:Po("Transition","TransitionRun"),transitionstart:Po("Transition","TransitionStart"),transitioncancel:Po("Transition","TransitionCancel"),transitionend:Po("Transition","TransitionEnd")},K0={},Bw={};Wr&&(Bw=document.createElement("div").style,"AnimationEvent"in window||(delete xl.animationend.animation,delete xl.animationiteration.animation,delete xl.animationstart.animation),"TransitionEvent"in window||delete xl.transitionend.transition);var Zw=Fo("animationend"),jw=Fo("animationiteration"),Uw=Fo("animationstart"),nD=Fo("transitionrun"),iD=Fo("transitionstart"),rD=Fo("transitioncancel"),Iw=Fo("transitionend"),Pw=new Map,J0="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");J0.push("scrollEnd");var Fw=0;if(typeof performance=="object"&&typeof performance.now=="function")var aD=performance,qw=function(){return aD.now()};else{var oD=Date;qw=function(){return oD.now()}}var W0=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},sD="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Zd=0,eg=1,tg=2,ng=3,jd="– ",Ud="+ ",$w=" ",Ft=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Qi="Components ⚛",bt="Scheduler ⚛",xt="Blocking",uo=!1,Va={color:"primary",properties:null,tooltipText:"",track:Qi},co={start:-0,end:-0,detail:{devtools:Va}},lD=["Changed Props",""],Gw="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",uD=["Changed Props",Gw],nc=1,Ma=2,Ki=[],wl=0,ig=0,fo={};Object.freeze(fo);var Ji=null,Sl=null,Xe=0,cD=1,ot=2,Xn=8,vr=16,fD=32,Yw=!1;try{var Xw=Object.preventExtensions({})}catch{Yw=!0}var rg=new WeakMap,El=[],Vl=0,Id=null,ic=0,Wi=[],er=0,as=null,Ta=1,Na="",Un=null,qt=null,ht=!1,ea=!1,Bi=null,ho=null,tr=!1,ag=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),og=xe(null),sg=xe(null),Qw={},Pd=null,Ml=null,Tl=!1,dD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},hD=dn.unstable_scheduleCallback,pD=dn.unstable_NormalPriority,hn={$$typeof:Yr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},pn=dn.unstable_now,Fd=console.createTask?console.createTask:function(){return null},rc=1,qd=2,Dn=-0,po=-0,Aa=-0,ka=null,si=-1.1,os=-0,Kt=-0,qe=-1.1,Ge=-1.1,Xt=null,tn=!1,ss=-0,ta=-1.1,ac=null,mo=0,lg=null,ug=null,ls=-1.1,oc=null,Nl=-1.1,$d=-1.1,Ca=-0,Ra=-1.1,nr=-1.1,cg=0,sc=null,Kw=null,Jw=null,go=-1.1,us=null,bo=-1.1,Gd=-1.1,Ww=-0,eS=-0,Yd=0,mD=null,tS=0,lc=-1.1,Xd=!1,Qd=!1,uc=null,fg=0,cs=0,Al=null,nS=ne.S;ne.S=function(e,t){if(KS=Rn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Ra&&0>nr){Ra=pn();var i=Zu(),o=Bu();(i!==bo||o!==us)&&(bo=-1.1),go=i,us=o}_k(e,t)}nS!==null&&nS(e,t)};var fs=xe(null),xr={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},cc=[],fc=[],dc=[],hc=[],pc=[],mc=[],ds=new Set;xr.recordUnsafeLifecycleWarnings=function(e,t){ds.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&cc.push(e),e.mode&Xn&&typeof t.UNSAFE_componentWillMount=="function"&&fc.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&dc.push(e),e.mode&Xn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hc.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&pc.push(e),e.mode&Xn&&typeof t.UNSAFE_componentWillUpdate=="function"&&mc.push(e))},xr.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<cc.length&&(cc.forEach(function(x){e.add(R(x)||"Component"),ds.add(x.type)}),cc=[]);var t=new Set;0<fc.length&&(fc.forEach(function(x){t.add(R(x)||"Component"),ds.add(x.type)}),fc=[]);var i=new Set;0<dc.length&&(dc.forEach(function(x){i.add(R(x)||"Component"),ds.add(x.type)}),dc=[]);var o=new Set;0<hc.length&&(hc.forEach(function(x){o.add(R(x)||"Component"),ds.add(x.type)}),hc=[]);var l=new Set;0<pc.length&&(pc.forEach(function(x){l.add(R(x)||"Component"),ds.add(x.type)}),pc=[]);var f=new Set;if(0<mc.length&&(mc.forEach(function(x){f.add(R(x)||"Component"),ds.add(x.type)}),mc=[]),0<t.size){var m=g(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
230
|
+
|
|
231
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
232
|
+
|
|
233
|
+
Please update the following components: %s`,m)}0<o.size&&(m=g(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
234
|
+
|
|
235
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
236
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
237
|
+
|
|
238
|
+
Please update the following components: %s`,m)),0<f.size&&(m=g(f),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
239
|
+
|
|
240
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
241
|
+
|
|
242
|
+
Please update the following components: %s`,m)),0<e.size&&(m=g(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
243
|
+
|
|
244
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
245
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
246
|
+
|
|
247
|
+
Please update the following components: %s`,m)),0<i.size&&(m=g(i),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
248
|
+
|
|
249
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
250
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
251
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
252
|
+
|
|
253
|
+
Please update the following components: %s`,m)),0<l.size&&(m=g(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
254
|
+
|
|
255
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
256
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
257
|
+
|
|
258
|
+
Please update the following components: %s`,m))};var Kd=new Map,iS=new Set;xr.recordLegacyContextWarning=function(e,t){for(var i=null,o=e;o!==null;)o.mode&Xn&&(i=o),o=o.return;i===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!iS.has(e.type)&&(o=Kd.get(i),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Kd.set(i,o)),o.push(e))},xr.flushLegacyContextWarning=function(){Kd.forEach(function(e){if(e.length!==0){var t=e[0],i=new Set;e.forEach(function(l){i.add(R(l)||"Component"),iS.add(l.type)});var o=g(i);Ee(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
259
|
+
|
|
260
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
261
|
+
|
|
262
|
+
Please update the following components: %s
|
|
263
|
+
|
|
264
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},xr.discardPendingWarnings=function(){cc=[],fc=[],dc=[],hc=[],pc=[],mc=[],Kd=new Map};var rS={react_stack_bottom_frame:function(e,t,i){var o=Xr;Xr=!0;try{return e(t,i)}finally{Xr=o}}},dg=rS.react_stack_bottom_frame.bind(rS),aS={react_stack_bottom_frame:function(e){var t=Xr;Xr=!0;try{return e.render()}finally{Xr=t}}},oS=aS.react_stack_bottom_frame.bind(aS),sS={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(i){Nt(e,e.return,i)}}},hg=sS.react_stack_bottom_frame.bind(sS),lS={react_stack_bottom_frame:function(e,t,i,o,l){try{t.componentDidUpdate(i,o,l)}catch(f){Nt(e,e.return,f)}}},uS=lS.react_stack_bottom_frame.bind(lS),cS={react_stack_bottom_frame:function(e,t){var i=t.stack;e.componentDidCatch(t.value,{componentStack:i!==null?i:""})}},gD=cS.react_stack_bottom_frame.bind(cS),fS={react_stack_bottom_frame:function(e,t,i){try{i.componentWillUnmount()}catch(o){Nt(e,t,o)}}},dS=fS.react_stack_bottom_frame.bind(fS),hS={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},bD=hS.react_stack_bottom_frame.bind(hS),pS={react_stack_bottom_frame:function(e,t,i){try{i()}catch(o){Nt(e,t,o)}}},yD=pS.react_stack_bottom_frame.bind(pS),mS={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},vD=mS.react_stack_bottom_frame.bind(mS),kl=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),pg=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Jd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Wd={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},hs=null,gc=!1,Cl=null,bc=0,st=null,mg,gS=mg=!1,bS={},yS={},vS={};y=function(e,t,i){if(i!==null&&typeof i=="object"&&i._store&&(!i._store.validated&&i.key==null||i._store.validated===2)){if(typeof i._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");i._store.validated=1;var o=R(e),l=o||"null";if(!bS[l]){bS[l]=!0,i=i._owner,e=e._debugOwner;var f="";e&&typeof e.tag=="number"&&(l=R(e))&&(f=`
|
|
265
|
+
|
|
266
|
+
Check the render method of \``+l+"`."),f||o&&(f=`
|
|
267
|
+
|
|
268
|
+
Check the top-level render call using <`+o+">.");var m="";i!=null&&e!==i&&(o=null,typeof i.tag=="number"?o=R(i):typeof i.name=="string"&&(o=i.name),o&&(m=" It was passed a child from "+o+".")),Ee(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',f,m)})}}};var ps=fv(!0),xS=fv(!1),wS=0,SS=1,ES=2,gg=3,yo=!1,VS=!1,bg=null,yg=!1,Rl=xe(null),eh=xe(0),Zi=xe(null),ir=null,Dl=1,yc=2,ln=xe(0),th=0,rr=1,li=2,ji=4,ui=8,_l,MS=new Set,TS=new Set,vg=new Set,NS=new Set,Da=0,Ke=null,Ot=null,mn=null,nh=!1,Ol=!1,ms=!1,ih=0,vc=0,_a=null,xD=0,wD=25,te=null,ar=null,Oa=-1,xc=!1,wc={readContext:Yt,use:eo,useCallback:on,useContext:on,useEffect:on,useImperativeHandle:on,useLayoutEffect:on,useInsertionEffect:on,useMemo:on,useReducer:on,useRef:on,useState:on,useDebugValue:on,useDeferredValue:on,useTransition:on,useSyncExternalStore:on,useId:on,useHostTransitionStatus:on,useFormState:on,useActionState:on,useOptimistic:on,useMemoCache:on,useCacheRefresh:on};wc.useEffectEvent=on;var xg=null,AS=null,wg=null,kS=null,na=null,wr=null,rh=null;xg={readContext:function(e){return Yt(e)},use:eo,useCallback:function(e,t){return te="useCallback",ct(),Qs(t),bm(e,t)},useContext:function(e){return te="useContext",ct(),Yt(e)},useEffect:function(e,t){return te="useEffect",ct(),Qs(t),Kf(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",ct(),Qs(i),gm(e,t,i)},useInsertionEffect:function(e,t){te="useInsertionEffect",ct(),Qs(t),Jo(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ct(),Qs(t),mm(e,t)},useMemo:function(e,t){te="useMemo",ct(),Qs(t);var i=ne.H;ne.H=na;try{return ym(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",ct();var o=ne.H;ne.H=na;try{return om(e,t,i)}finally{ne.H=o}},useRef:function(e){return te="useRef",ct(),hm(e)},useState:function(e){te="useState",ct();var t=ne.H;ne.H=na;try{return cm(e)}finally{ne.H=t}},useDebugValue:function(){te="useDebugValue",ct()},useDeferredValue:function(e,t){return te="useDeferredValue",ct(),vm(e,t)},useTransition:function(){return te="useTransition",ct(),Sm()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",ct(),lm(e,t,i)},useId:function(){return te="useId",ct(),Em()},useFormState:function(e,t){return te="useFormState",ct(),$f(),Js(e,t)},useActionState:function(e,t){return te="useActionState",ct(),Js(e,t)},useOptimistic:function(e){return te="useOptimistic",ct(),fm(e)},useHostTransitionStatus:Wo,useMemoCache:Ko,useCacheRefresh:function(){return te="useCacheRefresh",ct(),Vm()},useEffectEvent:function(e){return te="useEffectEvent",ct(),pm(e)}},AS={readContext:function(e){return Yt(e)},use:eo,useCallback:function(e,t){return te="useCallback",ge(),bm(e,t)},useContext:function(e){return te="useContext",ge(),Yt(e)},useEffect:function(e,t){return te="useEffect",ge(),Kf(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",ge(),gm(e,t,i)},useInsertionEffect:function(e,t){te="useInsertionEffect",ge(),Jo(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ge(),mm(e,t)},useMemo:function(e,t){te="useMemo",ge();var i=ne.H;ne.H=na;try{return ym(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",ge();var o=ne.H;ne.H=na;try{return om(e,t,i)}finally{ne.H=o}},useRef:function(e){return te="useRef",ge(),hm(e)},useState:function(e){te="useState",ge();var t=ne.H;ne.H=na;try{return cm(e)}finally{ne.H=t}},useDebugValue:function(){te="useDebugValue",ge()},useDeferredValue:function(e,t){return te="useDeferredValue",ge(),vm(e,t)},useTransition:function(){return te="useTransition",ge(),Sm()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",ge(),lm(e,t,i)},useId:function(){return te="useId",ge(),Em()},useActionState:function(e,t){return te="useActionState",ge(),Js(e,t)},useFormState:function(e,t){return te="useFormState",ge(),$f(),Js(e,t)},useOptimistic:function(e){return te="useOptimistic",ge(),fm(e)},useHostTransitionStatus:Wo,useMemoCache:Ko,useCacheRefresh:function(){return te="useCacheRefresh",ge(),Vm()},useEffectEvent:function(e){return te="useEffectEvent",ge(),pm(e)}},wg={readContext:function(e){return Yt(e)},use:eo,useCallback:function(e,t){return te="useCallback",ge(),ed(e,t)},useContext:function(e){return te="useContext",ge(),Yt(e)},useEffect:function(e,t){te="useEffect",ge(),vi(2048,ui,e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",ge(),Wf(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",ge(),vi(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ge(),vi(4,ji,e,t)},useMemo:function(e,t){te="useMemo",ge();var i=ne.H;ne.H=wr;try{return td(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",ge();var o=ne.H;ne.H=wr;try{return Ks(e,t,i)}finally{ne.H=o}},useRef:function(){return te="useRef",ge(),kt().memoizedState},useState:function(){te="useState",ge();var e=ne.H;ne.H=wr;try{return Ks(gr)}finally{ne.H=e}},useDebugValue:function(){te="useDebugValue",ge()},useDeferredValue:function(e,t){return te="useDeferredValue",ge(),_v(e,t)},useTransition:function(){return te="useTransition",ge(),Zv()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",ge(),Yf(e,t,i)},useId:function(){return te="useId",ge(),kt().memoizedState},useFormState:function(e){return te="useFormState",ge(),$f(),Xf(e)},useActionState:function(e){return te="useActionState",ge(),Xf(e)},useOptimistic:function(e,t){return te="useOptimistic",ge(),Ev(e,t)},useHostTransitionStatus:Wo,useMemoCache:Ko,useCacheRefresh:function(){return te="useCacheRefresh",ge(),kt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",ge(),Jf(e)}},kS={readContext:function(e){return Yt(e)},use:eo,useCallback:function(e,t){return te="useCallback",ge(),ed(e,t)},useContext:function(e){return te="useContext",ge(),Yt(e)},useEffect:function(e,t){te="useEffect",ge(),vi(2048,ui,e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",ge(),Wf(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",ge(),vi(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",ge(),vi(4,ji,e,t)},useMemo:function(e,t){te="useMemo",ge();var i=ne.H;ne.H=rh;try{return td(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",ge();var o=ne.H;ne.H=rh;try{return Tu(e,t,i)}finally{ne.H=o}},useRef:function(){return te="useRef",ge(),kt().memoizedState},useState:function(){te="useState",ge();var e=ne.H;ne.H=rh;try{return Tu(gr)}finally{ne.H=e}},useDebugValue:function(){te="useDebugValue",ge()},useDeferredValue:function(e,t){return te="useDeferredValue",ge(),Ov(e,t)},useTransition:function(){return te="useTransition",ge(),jv()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",ge(),Yf(e,t,i)},useId:function(){return te="useId",ge(),kt().memoizedState},useFormState:function(e){return te="useFormState",ge(),$f(),Qf(e)},useActionState:function(e){return te="useActionState",ge(),Qf(e)},useOptimistic:function(e,t){return te="useOptimistic",ge(),Mv(e,t)},useHostTransitionStatus:Wo,useMemoCache:Ko,useCacheRefresh:function(){return te="useCacheRefresh",ge(),kt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",ge(),Jf(e)}},na={readContext:function(e){return p(),Yt(e)},use:function(e){return h(),eo(e)},useCallback:function(e,t){return te="useCallback",h(),ct(),bm(e,t)},useContext:function(e){return te="useContext",h(),ct(),Yt(e)},useEffect:function(e,t){return te="useEffect",h(),ct(),Kf(e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",h(),ct(),gm(e,t,i)},useInsertionEffect:function(e,t){te="useInsertionEffect",h(),ct(),Jo(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",h(),ct(),mm(e,t)},useMemo:function(e,t){te="useMemo",h(),ct();var i=ne.H;ne.H=na;try{return ym(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",h(),ct();var o=ne.H;ne.H=na;try{return om(e,t,i)}finally{ne.H=o}},useRef:function(e){return te="useRef",h(),ct(),hm(e)},useState:function(e){te="useState",h(),ct();var t=ne.H;ne.H=na;try{return cm(e)}finally{ne.H=t}},useDebugValue:function(){te="useDebugValue",h(),ct()},useDeferredValue:function(e,t){return te="useDeferredValue",h(),ct(),vm(e,t)},useTransition:function(){return te="useTransition",h(),ct(),Sm()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",h(),ct(),lm(e,t,i)},useId:function(){return te="useId",h(),ct(),Em()},useFormState:function(e,t){return te="useFormState",h(),ct(),Js(e,t)},useActionState:function(e,t){return te="useActionState",h(),ct(),Js(e,t)},useOptimistic:function(e){return te="useOptimistic",h(),ct(),fm(e)},useMemoCache:function(e){return h(),Ko(e)},useHostTransitionStatus:Wo,useCacheRefresh:function(){return te="useCacheRefresh",ct(),Vm()},useEffectEvent:function(e){return te="useEffectEvent",h(),ct(),pm(e)}},wr={readContext:function(e){return p(),Yt(e)},use:function(e){return h(),eo(e)},useCallback:function(e,t){return te="useCallback",h(),ge(),ed(e,t)},useContext:function(e){return te="useContext",h(),ge(),Yt(e)},useEffect:function(e,t){te="useEffect",h(),ge(),vi(2048,ui,e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",h(),ge(),Wf(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",h(),ge(),vi(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",h(),ge(),vi(4,ji,e,t)},useMemo:function(e,t){te="useMemo",h(),ge();var i=ne.H;ne.H=wr;try{return td(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",h(),ge();var o=ne.H;ne.H=wr;try{return Ks(e,t,i)}finally{ne.H=o}},useRef:function(){return te="useRef",h(),ge(),kt().memoizedState},useState:function(){te="useState",h(),ge();var e=ne.H;ne.H=wr;try{return Ks(gr)}finally{ne.H=e}},useDebugValue:function(){te="useDebugValue",h(),ge()},useDeferredValue:function(e,t){return te="useDeferredValue",h(),ge(),_v(e,t)},useTransition:function(){return te="useTransition",h(),ge(),Zv()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",h(),ge(),Yf(e,t,i)},useId:function(){return te="useId",h(),ge(),kt().memoizedState},useFormState:function(e){return te="useFormState",h(),ge(),Xf(e)},useActionState:function(e){return te="useActionState",h(),ge(),Xf(e)},useOptimistic:function(e,t){return te="useOptimistic",h(),ge(),Ev(e,t)},useMemoCache:function(e){return h(),Ko(e)},useHostTransitionStatus:Wo,useCacheRefresh:function(){return te="useCacheRefresh",ge(),kt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",h(),ge(),Jf(e)}},rh={readContext:function(e){return p(),Yt(e)},use:function(e){return h(),eo(e)},useCallback:function(e,t){return te="useCallback",h(),ge(),ed(e,t)},useContext:function(e){return te="useContext",h(),ge(),Yt(e)},useEffect:function(e,t){te="useEffect",h(),ge(),vi(2048,ui,e,t)},useImperativeHandle:function(e,t,i){return te="useImperativeHandle",h(),ge(),Wf(e,t,i)},useInsertionEffect:function(e,t){return te="useInsertionEffect",h(),ge(),vi(4,li,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",h(),ge(),vi(4,ji,e,t)},useMemo:function(e,t){te="useMemo",h(),ge();var i=ne.H;ne.H=wr;try{return td(e,t)}finally{ne.H=i}},useReducer:function(e,t,i){te="useReducer",h(),ge();var o=ne.H;ne.H=wr;try{return Tu(e,t,i)}finally{ne.H=o}},useRef:function(){return te="useRef",h(),ge(),kt().memoizedState},useState:function(){te="useState",h(),ge();var e=ne.H;ne.H=wr;try{return Tu(gr)}finally{ne.H=e}},useDebugValue:function(){te="useDebugValue",h(),ge()},useDeferredValue:function(e,t){return te="useDeferredValue",h(),ge(),Ov(e,t)},useTransition:function(){return te="useTransition",h(),ge(),jv()},useSyncExternalStore:function(e,t,i){return te="useSyncExternalStore",h(),ge(),Yf(e,t,i)},useId:function(){return te="useId",h(),ge(),kt().memoizedState},useFormState:function(e){return te="useFormState",h(),ge(),Qf(e)},useActionState:function(e){return te="useActionState",h(),ge(),Qf(e)},useOptimistic:function(e,t){return te="useOptimistic",h(),ge(),Mv(e,t)},useMemoCache:function(e){return h(),Ko(e)},useHostTransitionStatus:Wo,useCacheRefresh:function(){return te="useCacheRefresh",ge(),kt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",h(),ge(),Jf(e)}};var CS={},RS=new Set,DS=new Set,_S=new Set,OS=new Set,HS=new Set,zS=new Set,LS=new Set,BS=new Set,ZS=new Set,jS=new Set;Object.freeze(CS);var Sg={enqueueSetState:function(e,t,i){e=e._reactInternals;var o=Oi(e),l=Qa(o);l.payload=t,i!=null&&(Tm(i),l.callback=i),t=Ka(e,l,o),t!==null&&(Or(o,"this.setState()",e),en(t,e,o),Su(t,e,o))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var o=Oi(e),l=Qa(o);l.tag=SS,l.payload=t,i!=null&&(Tm(i),l.callback=i),t=Ka(e,l,o),t!==null&&(Or(o,"this.replaceState()",e),en(t,e,o),Su(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Oi(e),o=Qa(i);o.tag=ES,t!=null&&(Tm(t),o.callback=t),t=Ka(e,o,i),t!==null&&(Or(i,"this.forceUpdate()",e),en(t,e,i),Su(t,e,i))}},Hl=null,Eg=null,Vg=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),gn=!1,US={},IS={},PS={},FS={},zl=!1,qS={},ah={},Mg={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$S=!1,GS=null;GS=new Set;var Ha=!1,bn=!1,Tg=!1,YS=typeof WeakSet=="function"?WeakSet:Set,_n=null,Ll=null,Bl=null,yn=null,Si=!1,Sr=null,Mn=!1,Sc=8192,SD={getCacheForType:function(e){var t=Yt(hn),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return Yt(hn).controller.signal},getOwner:function(){return Li}};if(typeof Symbol=="function"&&Symbol.for){var Ec=Symbol.for;Ec("selector.component"),Ec("selector.has_pseudo_class"),Ec("selector.role"),Ec("selector.test_id"),Ec("selector.text")}var ED=[],VD=typeof WeakMap=="function"?WeakMap:Map,On=0,Tn=2,Ui=4,za=0,Vc=1,gs=2,oh=3,vo=4,sh=6,XS=5,St=On,Ht=null,ut=null,lt=0,Ei=0,lh=1,bs=2,Mc=3,QS=4,Ng=5,Tc=6,uh=7,Ag=8,ys=9,Ct=Ei,Ii=null,xo=!1,Zl=!1,kg=!1,ia=0,Jt=za,wo=0,So=0,Cg=0,Vi=0,vs=0,Nc=null,ci=null,ch=!1,fh=0,KS=0,JS=300,dh=1/0,WS=500,Ac=null,sn=null,Eo=null,hh=0,Rg=1,Dg=2,eE=3,Vo=0,tE=1,nE=2,iE=3,rE=4,ph=5,vn=0,Mo=null,jl=null,Er=0,_g=0,Og=-0,Hg=null,aE=null,oE=null,Vr=hh,sE=null,MD=50,kc=0,zg=null,Lg=!1,mh=!1,TD=50,xs=0,Cc=null,Ul=!1,gh=null,lE=!1,uE=new Set,ND={},bh=null,Il=null,Bg=!1,Zg=!1,yh=!1,jg=!1,To=0,Ug={};(function(){for(var e=0;e<J0.length;e++){var t=J0[e],i=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),pr(i,"on"+t)}pr(Zw,"onAnimationEnd"),pr(jw,"onAnimationIteration"),pr(Uw,"onAnimationStart"),pr("dblclick","onDoubleClick"),pr("focusin","onFocus"),pr("focusout","onBlur"),pr(nD,"onTransitionRun"),pr(iD,"onTransitionStart"),pr(rD,"onTransitionCancel"),pr(Iw,"onTransitionEnd")})(),ce("onMouseEnter",["mouseout","mouseover"]),ce("onMouseLeave",["mouseout","mouseover"]),ce("onPointerEnter",["pointerout","pointerover"]),ce("onPointerLeave",["pointerout","pointerover"]),J("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),J("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),J("onBeforeInput",["compositionend","keypress","textInput","paste"]),J("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),J("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),J("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rc="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(" "),Ig=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Rc)),vh="_reactListening"+Math.random().toString(36).slice(2),cE=!1,fE=!1,xh=!1,dE=!1,wh=!1,Sh=!1,hE=!1,Eh={},AD=/\r\n?/g,kD=/\u0000|\uFFFD/g,ws="http://www.w3.org/1999/xlink",Pg="http://www.w3.org/XML/1998/namespace",CD="javascript:throw new Error('React form unexpectedly submitted.')",RD="suppressHydrationWarning",Ss="&",Vh="/&",Dc="$",_c="/$",No="$?",Es="$~",Pl="$!",DD="html",_D="body",OD="head",Fg="F!",pE="F",mE="loading",HD="style",La=0,Fl=1,Mh=2,qg=null,$g=null,gE={dialog:!0,webview:!0},Gg=null,Oc=void 0,bE=typeof setTimeout=="function"?setTimeout:void 0,zD=typeof clearTimeout=="function"?clearTimeout:void 0,Vs=-1,yE=typeof Promise=="function"?Promise:void 0,LD=typeof queueMicrotask=="function"?queueMicrotask:typeof yE<"u"?function(e){return yE.resolve(null).then(e).catch(vC)}:bE,Yg=null,Ms=0,Hc=1,vE=2,xE=3,or=4,sr=new Map,wE=new Set,Ba=At.d;At.d={f:function(){var e=Ba.f(),t=il();return e||t},r:function(e){var t=we(e);t!==null&&t.tag===5&&t.type==="form"?Bv(t):Ba.r(e)},D:function(e){Ba.D(e),R9("dns-prefetch",e,null)},C:function(e,t){Ba.C(e,t),R9("preconnect",e,t)},L:function(e,t,i){Ba.L(e,t,i);var o=ql;if(o&&e&&t){var l='link[rel="preload"][as="'+qn(t)+'"]';t==="image"&&i&&i.imageSrcSet?(l+='[imagesrcset="'+qn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(l+='[imagesizes="'+qn(i.imageSizes)+'"]')):l+='[href="'+qn(e)+'"]';var f=l;switch(t){case"style":f=ol(e);break;case"script":f=sl(e)}sr.has(f)||(e=ft({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),sr.set(f,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(Uu(f))||t==="script"&&o.querySelector(Iu(f))||(t=o.createElement("link"),Zn(t,"link",e),_(t),o.head.appendChild(t)))}},m:function(e,t){Ba.m(e,t);var i=ql;if(i&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+qn(o)+'"][href="'+qn(e)+'"]',f=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=sl(e)}if(!sr.has(f)&&(e=ft({rel:"modulepreload",href:e},t),sr.set(f,e),i.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Iu(f)))return}o=i.createElement("link"),Zn(o,"link",e),_(o),i.head.appendChild(o)}}},X:function(e,t){Ba.X(e,t);var i=ql;if(i&&e){var o=Ye(i).hoistableScripts,l=sl(e),f=o.get(l);f||(f=i.querySelector(Iu(l)),f||(e=ft({src:e,async:!0},t),(t=sr.get(l))&&g0(e,t),f=i.createElement("script"),_(f),Zn(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(l,f))}},S:function(e,t,i){Ba.S(e,t,i);var o=ql;if(o&&e){var l=Ye(o).hoistableStyles,f=ol(e);t=t||"default";var m=l.get(f);if(!m){var x={loading:Ms,preload:null};if(m=o.querySelector(Uu(f)))x.loading=Hc|or;else{e=ft({rel:"stylesheet",href:e,"data-precedence":t},i),(i=sr.get(f))&&m0(e,i);var E=m=o.createElement("link");_(E),Zn(E,"link",e),E._p=new Promise(function(T,q){E.onload=T,E.onerror=q}),E.addEventListener("load",function(){x.loading|=Hc}),E.addEventListener("error",function(){x.loading|=vE}),x.loading|=or,xd(m,t,o)}m={type:"stylesheet",instance:m,count:1,state:x},l.set(f,m)}}},M:function(e,t){Ba.M(e,t);var i=ql;if(i&&e){var o=Ye(i).hoistableScripts,l=sl(e),f=o.get(l);f||(f=i.querySelector(Iu(l)),f||(e=ft({src:e,async:!0,type:"module"},t),(t=sr.get(l))&&g0(e,t),f=i.createElement("script"),_(f),Zn(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(l,f))}}};var ql=typeof document>"u"?null:document,Th=null,BD=6e4,ZD=800,jD=500,Xg=0,Qg=null,Nh=null,Ts=eR,zc={$$typeof:Yr,Provider:null,Consumer:null,_currentValue:Ts,_currentValue2:Ts,_threadCount:0},SE="%c%s%c",EE="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",VE="",Ah=" ",UD=Function.prototype.bind,ME=!1,TE=null,NE=null,AE=null,kE=null,CE=null,RE=null,DE=null,_E=null,OE=null,HE=null;TE=function(e,t,i,o){t=n(e,t),t!==null&&(i=r(t.memoizedState,i,0,o),t.memoizedState=i,t.baseState=i,e.memoizedProps=ft({},e.memoizedProps),i=Gn(e,2),i!==null&&en(i,e,2))},NE=function(e,t,i){t=n(e,t),t!==null&&(i=u(t.memoizedState,i,0),t.memoizedState=i,t.baseState=i,e.memoizedProps=ft({},e.memoizedProps),i=Gn(e,2),i!==null&&en(i,e,2))},AE=function(e,t,i,o){t=n(e,t),t!==null&&(i=a(t.memoizedState,i,o),t.memoizedState=i,t.baseState=i,e.memoizedProps=ft({},e.memoizedProps),i=Gn(e,2),i!==null&&en(i,e,2))},kE=function(e,t,i){e.pendingProps=r(e.memoizedProps,t,0,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Gn(e,2),t!==null&&en(t,e,2)},CE=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Gn(e,2),t!==null&&en(t,e,2)},RE=function(e,t,i){e.pendingProps=a(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Gn(e,2),t!==null&&en(t,e,2)},DE=function(e){var t=Gn(e,2);t!==null&&en(t,e,2)},_E=function(e){var t=re(),i=Gn(e,t);i!==null&&en(i,e,t)},OE=function(e){c=e},HE=function(e){d=e};var kh=!0,Ch=null,Kg=!1,Ao=null,ko=null,Co=null,Lc=new Map,Bc=new Map,Ro=[],ID="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),Rh=null;if(Md.prototype.render=S0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var i=arguments;typeof i[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):C(i[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof i[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),i=e;var o=t.current,l=Oi(o);b0(o,l,i,t,null,null)},Md.prototype.unmount=S0.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(St&(Tn|Ui))!==On&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),b0(e.current,2,null,e,null,null),il(),t[so]=null}},Md.prototype.unstable_scheduleHydration=function(e){if(e){var t=zn();e={blockedOn:null,target:e,priority:t};for(var i=0;i<Ro.length&&t!==0&&t<Ro[i].priority;i++);Ro.splice(i,0,e),i===0&&q9(e)}},(function(){var e=E0.version;if(e!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
269
|
+
- react: `+(e+`
|
|
270
|
+
- react-dom: 19.2.7
|
|
271
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),At.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Y(t),e=e!==null?F(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:ne,reconcilerVersion:"19.2.7"};return e.overrideHookState=TE,e.overrideHookStateDeletePath=NE,e.overrideHookStateRenamePath=AE,e.overrideProps=kE,e.overridePropsDeletePath=CE,e.overridePropsRenamePath=RE,e.scheduleUpdate=DE,e.scheduleRetry=_E,e.setErrorHandler=OE,e.setSuspenseHandler=HE,e.scheduleRefresh=V,e.scheduleRoot=w,e.setRefreshHandler=D,e.getCurrentFiber=qC,dr(e)})()&&Wr&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var zE=window.location.protocol;/^(https?|file):$/.test(zE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(zE==="file:"?`
|
|
272
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Zc.createRoot=function(e,t){if(!C(e))throw Error("Target container is not a DOM element.");X9(e);var i=!1,o="",l=$v,f=Gv,m=Yv;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Gr&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
273
|
+
|
|
274
|
+
let root = createRoot(domContainer);
|
|
275
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(f=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=B9(e,1,!1,null,null,i,o,null,l,f,m,Y9),e[so]=t.current,i0(e),new S0(t)},Zc.hydrateRoot=function(e,t,i){if(!C(e))throw Error("Target container is not a DOM element.");X9(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",f=$v,m=Gv,x=Yv,E=null;return i!=null&&(i.unstable_strictMode===!0&&(o=!0),i.identifierPrefix!==void 0&&(l=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(x=i.onRecoverableError),i.formState!==void 0&&(E=i.formState)),t=B9(e,1,!0,t,i??null,o,l,E,f,m,x,Y9),t.context=Z9(null),i=t.current,o=Oi(i),o=fn(o),l=Qa(o),l.callback=null,Ka(i,l,o),Or(o,"hydrateRoot()",null),i=o,t.current.lanes=i,ke(t,i),qr(t),e[so]=t.current,i0(e),new Md(t)},Zc.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Zc}var $E;function e_(){return $E||($E=1,t1.exports=WD()),t1.exports}var t_=e_(),a1={exports:{}},jc={},GE;function n_(){if(GE)return jc;GE=1;/**
|
|
276
|
+
* @license React
|
|
277
|
+
* react-jsx-runtime.development.js
|
|
278
|
+
*
|
|
279
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
280
|
+
*
|
|
281
|
+
* This source code is licensed under the MIT license found in the
|
|
282
|
+
* LICENSE file in the root directory of this source tree.
|
|
283
|
+
*/return(function(){function n(z){if(z==null)return null;if(typeof z=="function")return z.$$typeof===xe?null:z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case C:return"Fragment";case j:return"Profiler";case k:return"StrictMode";case F:return"Suspense";case fe:return"SuspenseList";case R:return"Activity"}if(typeof z=="object")switch(typeof z.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case D:return"Portal";case Q:return z.displayName||"Context";case U:return(z._context.displayName||"Context")+".Consumer";case Y:var pe=z.render;return z=z.displayName,z||(z=pe.displayName||pe.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case ie:return pe=z.displayName||null,pe!==null?pe:n(z.type)||"Memo";case X:pe=z._payload,z=z._init;try{return n(z(pe))}catch{}}return null}function r(z){return""+z}function a(z){try{r(z);var pe=!1}catch{pe=!0}if(pe){pe=console;var O=pe.error,Me=typeof Symbol=="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return O.call(pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Me),r(z)}}function s(z){if(z===C)return"<>";if(typeof z=="object"&&z!==null&&z.$$typeof===X)return"<...>";try{var pe=n(z);return pe?"<"+pe+">":"<...>"}catch{return"<...>"}}function u(){var z=de.A;return z===null?null:z.getOwner()}function d(){return Error("react-stack-top-frame")}function c(z){if(ae.call(z,"key")){var pe=Object.getOwnPropertyDescriptor(z,"key").get;if(pe&&pe.isReactWarning)return!1}return z.key!==void 0}function h(z,pe){function O(){W||(W=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pe))}O.isReactWarning=!0,Object.defineProperty(z,"key",{get:O,configurable:!0})}function p(){var z=n(this.type);return ve[z]||(ve[z]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),z=this.props.ref,z!==void 0?z:null}function b(z,pe,O,Me,vt,cn){var $e=O.ref;return z={$$typeof:V,type:z,key:pe,props:O,_owner:Me},($e!==void 0?$e:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:p}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:vt}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:cn}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function y(z,pe,O,Me,vt,cn){var $e=pe.children;if($e!==void 0)if(Me)if(ee($e)){for(Me=0;Me<$e.length;Me++)g($e[Me]);Object.freeze&&Object.freeze($e)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g($e);if(ae.call(pe,"key")){$e=n(z);var nt=Object.keys(pe).filter(function(Rt){return Rt!=="key"});Me=0<nt.length?"{key: someKey, "+nt.join(": ..., ")+": ...}":"{key: someKey}",H[$e+Me]||(nt=0<nt.length?"{"+nt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
284
|
+
let props = %s;
|
|
285
|
+
<%s {...props} />
|
|
286
|
+
React keys must be passed directly to JSX without using spread:
|
|
287
|
+
let props = %s;
|
|
288
|
+
<%s key={someKey} {...props} />`,Me,$e,nt,$e),H[$e+Me]=!0)}if($e=null,O!==void 0&&(a(O),$e=""+O),c(pe)&&(a(pe.key),$e=""+pe.key),"key"in pe){O={};for(var Gt in pe)Gt!=="key"&&(O[Gt]=pe[Gt])}else O=pe;return $e&&h(O,typeof z=="function"?z.displayName||z.name||"Unknown":z),b(z,$e,O,u(),vt,cn)}function g(z){v(z)?z._store&&(z._store.validated=1):typeof z=="object"&&z!==null&&z.$$typeof===X&&(z._payload.status==="fulfilled"?v(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function v(z){return typeof z=="object"&&z!==null&&z.$$typeof===V}var w=sf(),V=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),fe=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),xe=Symbol.for("react.client.reference"),de=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,ee=Array.isArray,ue=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(z){return z()}};var W,ve={},le=w.react_stack_bottom_frame.bind(w,d)(),Ve=ue(s(d)),H={};jc.Fragment=C,jc.jsx=function(z,pe,O){var Me=1e4>de.recentlyCreatedOwnerStacks++;return y(z,pe,O,!1,Me?Error("react-stack-top-frame"):le,Me?ue(s(z)):Ve)},jc.jsxs=function(z,pe,O){var Me=1e4>de.recentlyCreatedOwnerStacks++;return y(z,pe,O,!0,Me?Error("react-stack-top-frame"):le,Me?ue(s(z)):Ve)}})(),jc}var YE;function i_(){return YE||(YE=1,a1.exports=n_()),a1.exports}var cr=i_();const Rb=he.createContext({});function Db(n){const r=he.useRef(null);return r.current===null&&(r.current=n()),r.current}const r_=typeof window<"u",gT=r_?he.useLayoutEffect:he.useEffect,mp=he.createContext(null);function _b(n,r){n.indexOf(r)===-1&&n.push(r)}function Wh(n,r){const a=n.indexOf(r);a>-1&&n.splice(a,1)}const ua=(n,r,a)=>a>r?r:a<n?n:a;function $1(n,r){return r?`${n}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:n}let iu=()=>{},Ua=()=>{};typeof process<"u"&&(iu=(n,r,a)=>{!n&&typeof console<"u"&&console.warn($1(r,a))},Ua=(n,r,a)=>{if(!n)throw new Error($1(r,a))});const zo={},bT=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),yT=n=>typeof n=="object"&&n!==null,vT=n=>/^0[^.\s]+$/u.test(n);function xT(n){let r;return()=>(r===void 0&&(r=n()),r)}const fr=n=>n,lf=(...n)=>n.reduce((r,a)=>s=>a(r(s))),ef=(n,r,a)=>{const s=r-n;return s?(a-n)/s:1};class Ob{constructor(){this.subscriptions=[]}add(r){return _b(this.subscriptions,r),()=>Wh(this.subscriptions,r)}notify(r,a,s){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](r,a,s);else for(let d=0;d<u;d++){const c=this.subscriptions[d];c&&c(r,a,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ti=n=>n*1e3,ur=n=>n/1e3,wT=(n,r)=>r?n*(1e3/r):0,XE=new Set;function Hb(n,r,a){n||XE.has(r)||(console.warn($1(r,a)),XE.add(r))}const ST=(n,r,a)=>(((1-3*a+3*r)*n+(3*a-6*r))*n+3*r)*n,a_=1e-7,o_=12;function s_(n,r,a,s,u){let d,c,h=0;do c=r+(a-r)/2,d=ST(c,s,u)-n,d>0?a=c:r=c;while(Math.abs(d)>a_&&++h<o_);return c}function uf(n,r,a,s){if(n===r&&a===s)return fr;const u=d=>s_(d,0,1,n,a);return d=>d===0||d===1?d:ST(u(d),r,s)}const ET=n=>r=>r<=.5?n(2*r)/2:(2-n(2*(1-r)))/2,VT=n=>r=>1-n(1-r),MT=uf(.33,1.53,.69,.99),zb=VT(MT),TT=ET(zb),NT=n=>n>=1?1:(n*=2)<1?.5*zb(n):.5*(2-Math.pow(2,-10*(n-1))),Lb=n=>1-Math.sin(Math.acos(n)),AT=VT(Lb),kT=ET(Lb),l_=uf(.42,0,1,1),u_=uf(0,0,.58,1),CT=uf(.42,0,.58,1),c_=n=>Array.isArray(n)&&typeof n[0]!="number",RT=n=>Array.isArray(n)&&typeof n[0]=="number",QE={linear:fr,easeIn:l_,easeInOut:CT,easeOut:u_,circIn:Lb,circInOut:kT,circOut:AT,backIn:zb,backInOut:TT,backOut:MT,anticipate:NT},f_=n=>typeof n=="string",KE=n=>{if(RT(n)){Ua(n.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,a,s,u]=n;return uf(r,a,s,u)}else if(f_(n))return Ua(QE[n]!==void 0,`Invalid easing type '${n}'`,"invalid-easing-type"),QE[n];return n},_h=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function d_(n,r){let a=new Set,s=new Set,u=!1,d=!1;const c=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(y){c.has(y)&&(b.schedule(y),n()),y(h)}const b={schedule:(y,g=!1,v=!1)=>{const V=v&&u?a:s;return g&&c.add(y),V.add(y),y},cancel:y=>{s.delete(y),c.delete(y)},process:y=>{if(h=y,u){d=!0;return}u=!0;const g=a;a=s,s=g,a.forEach(p),a.clear(),u=!1,d&&(d=!1,b.process(y))}};return b}const h_=40;function DT(n,r){let a=!1,s=!0;const u={delta:0,timestamp:0,isProcessing:!1},d=()=>a=!0,c=_h.reduce((U,Q)=>(U[Q]=d_(d),U),{}),{setup:h,read:p,resolveKeyframes:b,preUpdate:y,update:g,preRender:v,render:w,postRender:V}=c,D=()=>{const U=zo.useManualTiming,Q=U?u.timestamp:performance.now();a=!1,U||(u.delta=s?1e3/60:Math.max(Math.min(Q-u.timestamp,h_),1)),u.timestamp=Q,u.isProcessing=!0,h.process(u),p.process(u),b.process(u),y.process(u),g.process(u),v.process(u),w.process(u),V.process(u),u.isProcessing=!1,a&&r&&(s=!1,n(D))},C=()=>{a=!0,s=!0,u.isProcessing||n(D)};return{schedule:_h.reduce((U,Q)=>{const Y=c[Q];return U[Q]=(F,fe=!1,ie=!1)=>(a||C(),Y.schedule(F,fe,ie)),U},{}),cancel:U=>{for(let Q=0;Q<_h.length;Q++)c[_h[Q]].cancel(U)},state:u,steps:c}}const{schedule:jt,cancel:Lo,state:In,steps:o1}=DT(typeof requestAnimationFrame<"u"?requestAnimationFrame:fr,!0);let Ph;function p_(){Ph=void 0}const di={now:()=>(Ph===void 0&&di.set(In.isProcessing||zo.useManualTiming?In.timestamp:performance.now()),Ph),set:n=>{Ph=n,queueMicrotask(p_)}},_T=n=>r=>typeof r=="string"&&r.startsWith(n),OT=_T("--"),m_=_T("var(--"),Bb=n=>m_(n)?g_.test(n.split("/*")[0].trim()):!1,g_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function JE(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const ru={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},tf={...ru,transform:n=>ua(0,1,n)},Oh={...ru,default:1},Yc=n=>Math.round(n*1e5)/1e5,Zb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function b_(n){return n==null}const y_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jb=(n,r)=>a=>!!(typeof a=="string"&&y_.test(a)&&a.startsWith(n)||r&&!b_(a)&&Object.prototype.hasOwnProperty.call(a,r)),HT=(n,r,a)=>s=>{if(typeof s!="string")return s;const[u,d,c,h]=s.match(Zb);return{[n]:parseFloat(u),[r]:parseFloat(d),[a]:parseFloat(c),alpha:h!==void 0?parseFloat(h):1}},v_=n=>ua(0,255,n),s1={...ru,transform:n=>Math.round(v_(n))},Ds={test:jb("rgb","red"),parse:HT("red","green","blue"),transform:({red:n,green:r,blue:a,alpha:s=1})=>"rgba("+s1.transform(n)+", "+s1.transform(r)+", "+s1.transform(a)+", "+Yc(tf.transform(s))+")"};function x_(n){let r="",a="",s="",u="";return n.length>5?(r=n.substring(1,3),a=n.substring(3,5),s=n.substring(5,7),u=n.substring(7,9)):(r=n.substring(1,2),a=n.substring(2,3),s=n.substring(3,4),u=n.substring(4,5),r+=r,a+=a,s+=s,u+=u),{red:parseInt(r,16),green:parseInt(a,16),blue:parseInt(s,16),alpha:u?parseInt(u,16)/255:1}}const G1={test:jb("#"),parse:x_,transform:Ds.transform},cf=n=>({test:r=>typeof r=="string"&&r.endsWith(n)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${n}`}),ja=cf("deg"),la=cf("%"),Be=cf("px"),w_=cf("vh"),S_=cf("vw"),WE={...la,parse:n=>la.parse(n)/100,transform:n=>la.transform(n*100)},Ql={test:jb("hsl","hue"),parse:HT("hue","saturation","lightness"),transform:({hue:n,saturation:r,lightness:a,alpha:s=1})=>"hsla("+Math.round(n)+", "+la.transform(Yc(r))+", "+la.transform(Yc(a))+", "+Yc(tf.transform(s))+")"},wn={test:n=>Ds.test(n)||G1.test(n)||Ql.test(n),parse:n=>Ds.test(n)?Ds.parse(n):Ql.test(n)?Ql.parse(n):G1.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Ds.transform(n):Ql.transform(n),getAnimatableNone:n=>{const r=wn.parse(n);return r.alpha=0,wn.transform(r)}},E_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function V_(n){var r,a;return isNaN(n)&&typeof n=="string"&&(((r=n.match(Zb))==null?void 0:r.length)||0)+(((a=n.match(E_))==null?void 0:a.length)||0)>0}const zT="number",LT="color",M_="var",T_="var(",eV="${}",N_=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function eu(n){const r=n.toString(),a=[],s={color:[],number:[],var:[]},u=[];let d=0;const h=r.replace(N_,p=>(wn.test(p)?(s.color.push(d),u.push(LT),a.push(wn.parse(p))):p.startsWith(T_)?(s.var.push(d),u.push(M_),a.push(p)):(s.number.push(d),u.push(zT),a.push(parseFloat(p))),++d,eV)).split(eV);return{values:a,split:h,indexes:s,types:u}}function A_(n){return eu(n).values}function BT({split:n,types:r}){const a=n.length;return s=>{let u="";for(let d=0;d<a;d++)if(u+=n[d],s[d]!==void 0){const c=r[d];c===zT?u+=Yc(s[d]):c===LT?u+=wn.transform(s[d]):u+=s[d]}return u}}function k_(n){return BT(eu(n))}const C_=n=>typeof n=="number"?0:wn.test(n)?wn.getAnimatableNone(n):n,R_=(n,r)=>typeof n=="number"?r!=null&&r.trim().endsWith("/")?n:0:C_(n);function D_(n){const r=eu(n);return BT(r)(r.values.map((s,u)=>R_(s,r.split[u])))}const Nr={test:V_,parse:A_,createTransformer:k_,getAnimatableNone:D_};function l1(n,r,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?n+(r-n)*6*a:a<1/2?r:a<2/3?n+(r-n)*(2/3-a)*6:n}function __({hue:n,saturation:r,lightness:a,alpha:s}){n/=360,r/=100,a/=100;let u=0,d=0,c=0;if(!r)u=d=c=a;else{const h=a<.5?a*(1+r):a+r-a*r,p=2*a-h;u=l1(p,h,n+1/3),d=l1(p,h,n),c=l1(p,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(d*255),blue:Math.round(c*255),alpha:s}}function ep(n,r){return a=>a>0?r:n}const Zt=(n,r,a)=>n+(r-n)*a,u1=(n,r,a)=>{const s=n*n,u=a*(r*r-s)+s;return u<0?0:Math.sqrt(u)},O_=[G1,Ds,Ql],H_=n=>O_.find(r=>r.test(n));function tV(n){const r=H_(n);if(iu(!!r,`'${n}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let a=r.parse(n);return r===Ql&&(a=__(a)),a}const nV=(n,r)=>{const a=tV(n),s=tV(r);if(!a||!s)return ep(n,r);const u={...a};return d=>(u.red=u1(a.red,s.red,d),u.green=u1(a.green,s.green,d),u.blue=u1(a.blue,s.blue,d),u.alpha=Zt(a.alpha,s.alpha,d),Ds.transform(u))},Y1=new Set(["none","hidden"]);function z_(n,r){return Y1.has(n)?a=>a<=0?n:r:a=>a>=1?r:n}function L_(n,r){return a=>Zt(n,r,a)}function Ub(n){return typeof n=="number"?L_:typeof n=="string"?Bb(n)?ep:wn.test(n)?nV:j_:Array.isArray(n)?ZT:typeof n=="object"?wn.test(n)?nV:B_:ep}function ZT(n,r){const a=[...n],s=a.length,u=n.map((d,c)=>Ub(d)(d,r[c]));return d=>{for(let c=0;c<s;c++)a[c]=u[c](d);return a}}function B_(n,r){const a={...n,...r},s={};for(const u in a)n[u]!==void 0&&r[u]!==void 0&&(s[u]=Ub(n[u])(n[u],r[u]));return u=>{for(const d in s)a[d]=s[d](u);return a}}function Z_(n,r){const a=[],s={color:0,var:0,number:0};for(let u=0;u<r.values.length;u++){const d=r.types[u],c=n.indexes[d][s[d]],h=n.values[c]??0;a[u]=h,s[d]++}return a}const j_=(n,r)=>{const a=Nr.createTransformer(r),s=eu(n),u=eu(r);return s.indexes.var.length===u.indexes.var.length&&s.indexes.color.length===u.indexes.color.length&&s.indexes.number.length>=u.indexes.number.length?Y1.has(n)&&!u.values.length||Y1.has(r)&&!s.values.length?z_(n,r):lf(ZT(Z_(s,u),u.values),a):(iu(!0,`Complex values '${n}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ep(n,r))};function jT(n,r,a){return typeof n=="number"&&typeof r=="number"&&typeof a=="number"?Zt(n,r,a):Ub(n)(n,r)}const U_=n=>{const r=({timestamp:a})=>n(a);return{start:(a=!0)=>jt.update(r,a),stop:()=>Lo(r),now:()=>In.isProcessing?In.timestamp:di.now()}},UT=(n,r,a=10)=>{let s="";const u=Math.max(Math.round(r/a),2);for(let d=0;d<u;d++)s+=Math.round(n(d/(u-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},tp=2e4;function Ib(n){let r=0;const a=50;let s=n.next(r);for(;!s.done&&r<tp;)r+=a,s=n.next(r);return r>=tp?1/0:r}function I_(n,r=100,a){const s=a({...n,keyframes:[0,r]}),u=Math.min(Ib(s),tp);return{type:"keyframes",ease:d=>s.next(u*d).value/r,duration:ur(u)}}const nn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function X1(n,r){return n*Math.sqrt(1-r*r)}const P_=12;function F_(n,r,a){let s=a;for(let u=1;u<P_;u++)s=s-n(s)/r(s);return s}const c1=.001;function q_({duration:n=nn.duration,bounce:r=nn.bounce,velocity:a=nn.velocity,mass:s=nn.mass}){let u,d;iu(n<=Ti(nn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-r;c=ua(nn.minDamping,nn.maxDamping,c),n=ua(nn.minDuration,nn.maxDuration,ur(n)),c<1?(u=b=>{const y=b*c,g=y*n,v=y-a,w=X1(b,c),V=Math.exp(-g);return c1-v/w*V},d=b=>{const g=b*c*n,v=g*a+a,w=Math.pow(c,2)*Math.pow(b,2)*n,V=Math.exp(-g),D=X1(Math.pow(b,2),c);return(-u(b)+c1>0?-1:1)*((v-w)*V)/D}):(u=b=>{const y=Math.exp(-b*n),g=(b-a)*n+1;return-c1+y*g},d=b=>{const y=Math.exp(-b*n),g=(a-b)*(n*n);return y*g});const h=5/n,p=F_(u,d,h);if(n=Ti(n),isNaN(p))return{stiffness:nn.stiffness,damping:nn.damping,duration:n};{const b=Math.pow(p,2)*s;return{stiffness:b,damping:c*2*Math.sqrt(s*b),duration:n}}}const $_=["duration","bounce"],G_=["stiffness","damping","mass"];function iV(n,r){return r.some(a=>n[a]!==void 0)}function Y_(n){let r={velocity:nn.velocity,stiffness:nn.stiffness,damping:nn.damping,mass:nn.mass,isResolvedFromDuration:!1,...n};if(!iV(n,G_)&&iV(n,$_))if(r.velocity=0,n.visualDuration){const a=n.visualDuration,s=2*Math.PI/(a*1.2),u=s*s,d=2*ua(.05,1,1-(n.bounce||0))*Math.sqrt(u);r={...r,mass:nn.mass,stiffness:u,damping:d}}else{const a=q_({...n,velocity:0});r={...r,...a,mass:nn.mass},r.isResolvedFromDuration=!0}return r}function np(n=nn.visualDuration,r=nn.bounce){const a=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:r}:n;let{restSpeed:s,restDelta:u}=a;const d=a.keyframes[0],c=a.keyframes[a.keyframes.length-1],h={done:!1,value:d},{stiffness:p,damping:b,mass:y,duration:g,velocity:v,isResolvedFromDuration:w}=Y_({...a,velocity:-ur(a.velocity||0)}),V=v||0,D=b/(2*Math.sqrt(p*y)),C=c-d,k=ur(Math.sqrt(p/y)),j=Math.abs(C)<5;s||(s=j?nn.restSpeed.granular:nn.restSpeed.default),u||(u=j?nn.restDelta.granular:nn.restDelta.default);let U,Q,Y,F,fe,ie;if(D<1)Y=X1(k,D),F=(V+D*k*C)/Y,U=R=>{const xe=Math.exp(-D*k*R);return c-xe*(F*Math.sin(Y*R)+C*Math.cos(Y*R))},fe=D*k*F+C*Y,ie=D*k*C-F*Y,Q=R=>Math.exp(-D*k*R)*(fe*Math.sin(Y*R)+ie*Math.cos(Y*R));else if(D===1){U=xe=>c-Math.exp(-k*xe)*(C+(V+k*C)*xe);const R=V+k*C;Q=xe=>Math.exp(-k*xe)*(k*R*xe-V)}else{const R=k*Math.sqrt(D*D-1);U=ee=>{const ue=Math.exp(-D*k*ee),W=Math.min(R*ee,300);return c-ue*((V+D*k*C)*Math.sinh(W)+R*C*Math.cosh(W))/R};const xe=(V+D*k*C)/R,de=D*k*xe-C*R,ae=D*k*C-xe*R;Q=ee=>{const ue=Math.exp(-D*k*ee),W=Math.min(R*ee,300);return ue*(de*Math.sinh(W)+ae*Math.cosh(W))}}const X={calculatedDuration:w&&g||null,velocity:R=>Ti(Q(R)),next:R=>{if(!w&&D<1){const de=Math.exp(-D*k*R),ae=Math.sin(Y*R),ee=Math.cos(Y*R),ue=c-de*(F*ae+C*ee),W=Ti(de*(fe*ae+ie*ee));return h.done=Math.abs(W)<=s&&Math.abs(c-ue)<=u,h.value=h.done?c:ue,h}const xe=U(R);if(w)h.done=R>=g;else{const de=Ti(Q(R));h.done=Math.abs(de)<=s&&Math.abs(c-xe)<=u}return h.value=h.done?c:xe,h},toString:()=>{const R=Math.min(Ib(X),tp),xe=UT(de=>X.next(R*de).value,R,30);return R+"ms "+xe},toTransition:()=>{}};return X}np.applyToOptions=n=>{const r=I_(n,100,np);return n.ease=r.ease,n.duration=Ti(r.duration),n.type="keyframes",n};const X_=5;function IT(n,r,a){const s=Math.max(r-X_,0);return wT(a-n(s),r-s)}function Q1({keyframes:n,velocity:r=0,power:a=.8,timeConstant:s=325,bounceDamping:u=10,bounceStiffness:d=500,modifyTarget:c,min:h,max:p,restDelta:b=.5,restSpeed:y}){const g=n[0],v={done:!1,value:g},w=ie=>h!==void 0&&ie<h||p!==void 0&&ie>p,V=ie=>h===void 0?p:p===void 0||Math.abs(h-ie)<Math.abs(p-ie)?h:p;let D=a*r;const C=g+D,k=c===void 0?C:c(C);k!==C&&(D=k-g);const j=ie=>-D*Math.exp(-ie/s),U=ie=>k+j(ie),Q=ie=>{const X=j(ie),R=U(ie);v.done=Math.abs(X)<=b,v.value=v.done?k:R};let Y,F;const fe=ie=>{w(v.value)&&(Y=ie,F=np({keyframes:[v.value,V(v.value)],velocity:IT(U,ie,v.value),damping:u,stiffness:d,restDelta:b,restSpeed:y}))};return fe(0),{calculatedDuration:null,next:ie=>{let X=!1;return!F&&Y===void 0&&(X=!0,Q(ie),fe(ie)),Y!==void 0&&ie>=Y?F.next(ie-Y):(!X&&Q(ie),v)}}}function Q_(n,r,a){const s=[],u=a||zo.mix||jT,d=n.length-1;for(let c=0;c<d;c++){let h=u(n[c],n[c+1]);if(r){const p=Array.isArray(r)?r[c]||fr:r;h=lf(p,h)}s.push(h)}return s}function K_(n,r,{clamp:a=!0,ease:s,mixer:u}={}){const d=n.length;if(Ua(d===r.length,"Both input and output ranges must be the same length","range-length"),d===1)return()=>r[0];if(d===2&&r[0]===r[1])return()=>r[1];const c=n[0]===n[1];n[0]>n[d-1]&&(n=[...n].reverse(),r=[...r].reverse());const h=Q_(r,s,u),p=h.length,b=y=>{if(c&&y<n[0])return r[0];let g=0;if(p>1)for(;g<n.length-2&&!(y<n[g+1]);g++);const v=ef(n[g],n[g+1],y);return h[g](v)};return a?y=>b(ua(n[0],n[d-1],y)):b}function J_(n,r){const a=n[n.length-1];for(let s=1;s<=r;s++){const u=ef(0,r,s);n.push(Zt(a,1,u))}}function W_(n){const r=[0];return J_(r,n.length-1),r}function e8(n,r){return n.map(a=>a*r)}function t8(n,r){return n.map(()=>r||CT).splice(0,n.length-1)}function Kl({duration:n=300,keyframes:r,times:a,ease:s="easeInOut"}){const u=c_(s)?s.map(KE):KE(s),d={done:!1,value:r[0]},c=e8(a&&a.length===r.length?a:W_(r),n),h=K_(c,r,{ease:Array.isArray(u)?u:t8(r,u)});return{calculatedDuration:n,next:p=>(d.value=h(p),d.done=p>=n,d)}}const n8=n=>n!==null;function gp(n,{repeat:r,repeatType:a="loop"},s,u=1){const d=n.filter(n8),h=u<0||r&&a!=="loop"&&r%2===1?0:d.length-1;return!h||s===void 0?d[h]:s}const i8={decay:Q1,inertia:Q1,tween:Kl,keyframes:Kl,spring:np};function PT(n){typeof n.type=="string"&&(n.type=i8[n.type])}class Pb{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,a){return this.finished.then(r,a)}}const r8=n=>n/100;class ip extends Pb{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var s,u;const{motionValue:a}=this.options;a&&a.updatedAt!==di.now()&&this.tick(di.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(s=this.options).onStop)==null||u.call(s))},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;PT(r);const{type:a=Kl,repeat:s=0,repeatDelay:u=0,repeatType:d,velocity:c=0}=r;let{keyframes:h}=r;const p=a||Kl;p!==Kl&&Ua(h.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${h}`,"spring-two-frames"),p!==Kl&&typeof h[0]!="number"&&(this.mixKeyframes=lf(r8,jT(h[0],h[1])),h=[0,100]);const b=p({...r,keyframes:h});d==="mirror"&&(this.mirroredGenerator=p({...r,keyframes:[...h].reverse(),velocity:-c})),b.calculatedDuration===null&&(b.calculatedDuration=Ib(b));const{calculatedDuration:y}=b;this.calculatedDuration=y,this.resolvedDuration=y+u,this.totalDuration=this.resolvedDuration*(s+1)-u,this.generator=b}updateTime(r){const a=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(r,a=!1){const{generator:s,totalDuration:u,mixKeyframes:d,mirroredGenerator:c,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return s.next(0);const{delay:b=0,keyframes:y,repeat:g,repeatType:v,repeatDelay:w,type:V,onUpdate:D,finalKeyframe:C}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-u/this.speed,this.startTime)),a?this.currentTime=r:this.updateTime(r);const k=this.currentTime-b*(this.playbackSpeed>=0?1:-1),j=this.playbackSpeed>=0?k<0:k>u;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let U=this.currentTime,Q=s;if(g){const ie=Math.min(this.currentTime,u)/h;let X=Math.floor(ie),R=ie%1;!R&&ie>=1&&(R=1),R===1&&X--,X=Math.min(X,g+1),!!(X%2)&&(v==="reverse"?(R=1-R,w&&(R-=w/h)):v==="mirror"&&(Q=c)),U=ua(0,1,R)*h}let Y;j?(this.delayState.value=y[0],Y=this.delayState):Y=Q.next(U),d&&!j&&(Y.value=d(Y.value));let{done:F}=Y;!j&&p!==null&&(F=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const fe=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return fe&&V!==Q1&&(Y.value=gp(y,this.options,C,this.speed)),D&&D(Y.value),fe&&this.finish(),Y}then(r,a){return this.finished.then(r,a)}get duration(){return ur(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+ur(r)}get time(){return ur(this.currentTime)}set time(r){r=Ti(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=r,this.tick(r))}getGeneratorVelocity(){const r=this.currentTime;if(r<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(r);const a=this.generator.next(r).value;return IT(s=>this.generator.next(s).value,r,a)}get speed(){return this.playbackSpeed}set speed(r){const a=this.playbackSpeed!==r;a&&this.driver&&this.updateTime(di.now()),this.playbackSpeed=r,a&&this.driver&&(this.time=ur(this.currentTime))}play(){var u,d;if(this.isStopped)return;const{driver:r=U_,startTime:a}=this.options;this.driver||(this.driver=r(c=>this.tick(c))),(d=(u=this.options).onPlay)==null||d.call(u);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=a??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(di.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var r,a;this.notifyFinished(),this.teardown(),this.state="finished",(a=(r=this.options).onComplete)==null||a.call(r)}cancel(){var r,a;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(a=(r=this.options).onCancel)==null||a.call(r)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){var a;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(a=this.driver)==null||a.stop(),r.observe(this)}}function a8(n){for(let r=1;r<n.length;r++)n[r]??(n[r]=n[r-1])}const _s=n=>n*180/Math.PI,K1=n=>{const r=_s(Math.atan2(n[1],n[0]));return J1(r)},o8={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:K1,rotateZ:K1,skewX:n=>_s(Math.atan(n[1])),skewY:n=>_s(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},J1=n=>(n=n%360,n<0&&(n+=360),n),rV=K1,aV=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),oV=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),s8={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:aV,scaleY:oV,scale:n=>(aV(n)+oV(n))/2,rotateX:n=>J1(_s(Math.atan2(n[6],n[5]))),rotateY:n=>J1(_s(Math.atan2(-n[2],n[0]))),rotateZ:rV,rotate:rV,skewX:n=>_s(Math.atan(n[4])),skewY:n=>_s(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function W1(n){return n.includes("scale")?1:0}function eb(n,r){if(!n||n==="none")return W1(r);const a=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,u;if(a)s=s8,u=a;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=o8,u=h}if(!u)return W1(r);const d=s[r],c=u[1].split(",").map(u8);return typeof d=="function"?d(c):c[d]}const l8=(n,r)=>{const{transform:a="none"}=getComputedStyle(n);return eb(a,r)};function u8(n){return parseFloat(n.trim())}const au=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ou=new Set([...au,"pathRotation"]),sV=n=>n===ru||n===Be,c8=new Set(["x","y","z"]),f8=au.filter(n=>!c8.has(n));function d8(n){const r=[];return f8.forEach(a=>{const s=n.getValue(a);s!==void 0&&(r.push([a,s.get()]),s.set(a.startsWith("scale")?1:0))}),r}const Ho={width:({x:n},{paddingLeft:r="0",paddingRight:a="0",boxSizing:s})=>{const u=n.max-n.min;return s==="border-box"?u:u-parseFloat(r)-parseFloat(a)},height:({y:n},{paddingTop:r="0",paddingBottom:a="0",boxSizing:s})=>{const u=n.max-n.min;return s==="border-box"?u:u-parseFloat(r)-parseFloat(a)},top:(n,{top:r})=>parseFloat(r),left:(n,{left:r})=>parseFloat(r),bottom:({y:n},{top:r})=>parseFloat(r)+(n.max-n.min),right:({x:n},{left:r})=>parseFloat(r)+(n.max-n.min),x:(n,{transform:r})=>eb(r,"x"),y:(n,{transform:r})=>eb(r,"y")};Ho.translateX=Ho.x;Ho.translateY=Ho.y;const Os=new Set;let tb=!1,nb=!1,ib=!1;function FT(){if(nb){const n=Array.from(Os).filter(s=>s.needsMeasurement),r=new Set(n.map(s=>s.element)),a=new Map;r.forEach(s=>{const u=d8(s);u.length&&(a.set(s,u),s.render())}),n.forEach(s=>s.measureInitialState()),r.forEach(s=>{s.render();const u=a.get(s);u&&u.forEach(([d,c])=>{var h;(h=s.getValue(d))==null||h.set(c)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}nb=!1,tb=!1,Os.forEach(n=>n.complete(ib)),Os.clear()}function qT(){Os.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(nb=!0)})}function h8(){ib=!0,qT(),FT(),ib=!1}class Fb{constructor(r,a,s,u,d,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=a,this.name=s,this.motionValue=u,this.element=d,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Os.add(this),tb||(tb=!0,jt.read(qT),jt.resolveKeyframes(FT))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:a,element:s,motionValue:u}=this;if(r[0]===null){const d=u==null?void 0:u.get(),c=r[r.length-1];if(d!==void 0)r[0]=d;else if(s&&a){const h=s.readValue(a,c);h!=null&&(r[0]=h)}r[0]===void 0&&(r[0]=c),u&&d===void 0&&u.set(r[0])}a8(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Os.delete(this)}cancel(){this.state==="scheduled"&&(Os.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const p8=n=>n.startsWith("--");function $T(n,r,a){p8(r)?n.style.setProperty(r,a):n.style[r]=a}const m8={};function GT(n,r){const a=xT(n);return()=>m8[r]??a()}const g8=GT(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),YT=GT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gc=([n,r,a,s])=>`cubic-bezier(${n}, ${r}, ${a}, ${s})`,lV={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gc([0,.65,.55,1]),circOut:Gc([.55,0,1,.45]),backIn:Gc([.31,.01,.66,-.59]),backOut:Gc([.33,1.53,.69,.99])};function XT(n,r){if(n)return typeof n=="function"?YT()?UT(n,r):"ease-out":RT(n)?Gc(n):Array.isArray(n)?n.map(a=>XT(a,r)||lV.easeOut):lV[n]}function b8(n,r,a,{delay:s=0,duration:u=300,repeat:d=0,repeatType:c="loop",ease:h="easeOut",times:p}={},b=void 0){const y={[r]:a};p&&(y.offset=p);const g=XT(h,u);Array.isArray(g)&&(y.easing=g);const v={delay:s,duration:u,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:d+1,direction:c==="reverse"?"alternate":"normal"};return b&&(v.pseudoElement=b),n.animate(y,v)}function QT(n){return typeof n=="function"&&"applyToOptions"in n}function y8({type:n,...r}){return QT(n)&&YT()?n.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class KT extends Pb{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:a,name:s,keyframes:u,pseudoElement:d,allowFlatten:c=!1,finalKeyframe:h,onComplete:p}=r;this.isPseudoElement=!!d,this.allowFlatten=c,this.options=r,Ua(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const b=y8(r);this.animation=b8(a,s,u,b,d),b.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const y=gp(u,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(y),$T(a,s,y),this.animation.cancel()}p==null||p(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var r,a;(a=(r=this.animation).finish)==null||a.call(r)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var a,s,u;const r=(a=this.options)==null?void 0:a.element;!this.isPseudoElement&&(r!=null&&r.isConnected)&&((u=(s=this.animation).commitStyles)==null||u.call(s))}get duration(){var a,s;const r=((s=(a=this.animation.effect)==null?void 0:a.getComputedTiming)==null?void 0:s.call(a).duration)||0;return ur(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+ur(r)}get time(){return ur(Number(this.animation.currentTime)||0)}set time(r){const a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ti(r),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,rangeStart:a,rangeEnd:s,observe:u}){var d;return this.allowFlatten&&((d=this.animation.effect)==null||d.updateTiming({easing:"linear"})),this.animation.onfinish=null,r&&g8()?(this.animation.timeline=r,a&&(this.animation.rangeStart=a),s&&(this.animation.rangeEnd=s),fr):u(this)}}const JT={anticipate:NT,backInOut:TT,circInOut:kT};function v8(n){return n in JT}function x8(n){typeof n.ease=="string"&&v8(n.ease)&&(n.ease=JT[n.ease])}const f1=10;class w8 extends KT{constructor(r){x8(r),PT(r),super(r),r.startTime!==void 0&&r.autoplay!==!1&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:a,onUpdate:s,onComplete:u,element:d,...c}=this.options;if(!a)return;if(r!==void 0){a.set(r);return}const h=new ip({...c,autoplay:!1}),p=Math.max(f1,di.now()-this.startTime),b=ua(0,f1,p-f1),y=h.sample(p).value,{name:g}=this.options;d&&g&&$T(d,g,y),a.setWithVelocity(h.sample(Math.max(0,p-b)).value,y,b),h.stop()}}const uV=(n,r)=>r==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Nr.test(n)||n==="0")&&!n.startsWith("url("));function S8(n){const r=n[0];if(n.length===1)return!0;for(let a=0;a<n.length;a++)if(n[a]!==r)return!0}function E8(n,r,a,s){const u=n[0];if(u===null)return!1;if(r==="display"||r==="visibility")return!0;const d=n[n.length-1],c=uV(u,r),h=uV(d,r);return iu(c===h,`You are trying to animate ${r} from "${u}" to "${d}". "${c?d:u}" is not an animatable value.`,"value-not-animatable"),!c||!h?!1:S8(n)||(a==="spring"||QT(a))&&s}function rb(n){n.duration=0,n.type="keyframes"}const WT=new Set(["opacity","clipPath","filter","transform"]),V8=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function M8(n){for(let r=0;r<n.length;r++)if(typeof n[r]=="string"&&V8.test(n[r]))return!0;return!1}const T8=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),N8=xT(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function A8(n){var g;const{motionValue:r,name:a,repeatDelay:s,repeatType:u,damping:d,type:c,keyframes:h}=n;if(!(((g=r==null?void 0:r.owner)==null?void 0:g.current)instanceof HTMLElement))return!1;const{onUpdate:b,transformTemplate:y}=r.owner.getProps();return N8()&&a&&(WT.has(a)||T8.has(a)&&M8(h))&&(a!=="transform"||!y)&&!b&&!s&&u!=="mirror"&&d!==0&&c!=="inertia"}const k8=40;class C8 extends Pb{constructor({autoplay:r=!0,delay:a=0,type:s="keyframes",repeat:u=0,repeatDelay:d=0,repeatType:c="loop",keyframes:h,name:p,motionValue:b,element:y,...g}){var V;super(),this.stop=()=>{var D,C;this._animation&&(this._animation.stop(),(D=this.stopTimeline)==null||D.call(this)),(C=this.keyframeResolver)==null||C.cancel()},this.createdAt=di.now();const v={autoplay:r,delay:a,type:s,repeat:u,repeatDelay:d,repeatType:c,name:p,motionValue:b,element:y,...g},w=(y==null?void 0:y.KeyframeResolver)||Fb;this.keyframeResolver=new w(h,(D,C,k)=>this.onKeyframesResolved(D,C,v,!k),p,b,y),(V=this.keyframeResolver)==null||V.scheduleResolve()}onKeyframesResolved(r,a,s,u){var k,j;this.keyframeResolver=void 0;const{name:d,type:c,velocity:h,delay:p,isHandoff:b,onUpdate:y}=s;this.resolvedAt=di.now();let g=!0;E8(r,d,c,h)||(g=!1,(zo.instantAnimations||!p)&&(y==null||y(gp(r,s,a))),r[0]=r[r.length-1],rb(s),s.repeat=0);const w={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>k8?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...s,keyframes:r},V=g&&!b&&A8(w),D=(j=(k=w.motionValue)==null?void 0:k.owner)==null?void 0:j.current;let C;if(V)try{C=new w8({...w,element:D})}catch{C=new ip(w)}else C=new ip(w);C.finished.then(()=>{this.notifyFinished()}).catch(fr),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(r,a){return this.finished.finally(r).then(()=>{})}get animation(){var r;return this._animation||((r=this.keyframeResolver)==null||r.resume(),h8()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var r;this._animation&&this.animation.cancel(),(r=this.keyframeResolver)==null||r.cancel()}}function eN(n,r,a,s=0,u=1){const d=Array.from(n).sort((b,y)=>b.sortNodePosition(y)).indexOf(r),c=n.size,h=(c-1)*s;return typeof a=="function"?a(d,c):u===1?d*s:h-d*s}const cV=30,R8=n=>!isNaN(parseFloat(n));class D8{constructor(r,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var d;const u=di.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=a.owner}setCurrent(r){this.current=r,this.updatedAt=di.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=R8(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return Hb(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,a){this.events[r]||(this.events[r]=new Ob);const s=this.events[r].add(a);return r==="change"?()=>{s(),jt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,a){this.passiveEffect=r,this.stopPassiveEffect=a}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,a,s){this.set(a),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-s}jump(r,a=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var r;(r=this.events.change)==null||r.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=di.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>cV)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,cV);return wT(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(r){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=r(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var r,a;(r=this.dependents)==null||r.clear(),(a=this.events.destroy)==null||a.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tu(n,r){return new D8(n,r)}function tN(n,r){if(n!=null&&n.inherit&&r){const{inherit:a,...s}=n;return{...r,...s}}return n}function qb(n,r){const a=(n==null?void 0:n[r])??(n==null?void 0:n.default)??n;return a!==n?tN(a,n):a}const _8={type:"spring",stiffness:500,damping:25,restSpeed:10},O8=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),H8={type:"keyframes",duration:.8},z8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},L8=(n,{keyframes:r})=>r.length>2?H8:ou.has(n)?n.startsWith("scale")?O8(r[1]):_8:z8,B8=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Z8(n){for(const r in n)if(!B8.has(r))return!0;return!1}const $b=(n,r,a,s={},u,d)=>c=>{const h=qb(s,n)||{},p=h.delay||s.delay||0;let{elapsed:b=0}=s;b=b-Ti(p);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:r.getVelocity(),...h,delay:-b,onUpdate:v=>{r.set(v),h.onUpdate&&h.onUpdate(v)},onComplete:()=>{c(),h.onComplete&&h.onComplete()},name:n,motionValue:r,element:d?void 0:u};Z8(h)||Object.assign(y,L8(n,y)),y.duration&&(y.duration=Ti(y.duration)),y.repeatDelay&&(y.repeatDelay=Ti(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let g=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(rb(y),y.delay===0&&(g=!0)),(zo.instantAnimations||zo.skipAnimations||u!=null&&u.shouldSkipAnimations||h.skipAnimations)&&(g=!0,rb(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,g&&!d&&r.get()!==void 0){const v=gp(y.keyframes,h);if(v!==void 0){jt.update(()=>{y.onUpdate(v),y.onComplete()});return}}return h.isSync?new ip(y):new C8(y)},j8=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function U8(n){const r=j8.exec(n);if(!r)return[,];const[,a,s,u]=r;return[`--${a??s}`,u]}const I8=4;function nN(n,r,a=1){Ua(a<=I8,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,u]=U8(n);if(!s)return;const d=window.getComputedStyle(r).getPropertyValue(s);if(d){const c=d.trim();return bT(c)?parseFloat(c):c}return Bb(u)?nN(u,r,a+1):u}function fV(n){const r=[{},{}];return n==null||n.values.forEach((a,s)=>{r[0][s]=a.get(),r[1][s]=a.getVelocity()}),r}function Gb(n,r,a,s){if(typeof r=="function"){const[u,d]=fV(s);r=r(a!==void 0?a:n.custom,u,d)}if(typeof r=="string"&&(r=n.variants&&n.variants[r]),typeof r=="function"){const[u,d]=fV(s);r=r(a!==void 0?a:n.custom,u,d)}return r}function Hs(n,r,a){const s=n.getProps();return Gb(s,r,a!==void 0?a:s.custom,n)}const iN=new Set(["width","height","top","left","right","bottom",...au]),ab=n=>Array.isArray(n);function P8(n,r,a){n.hasValue(r)?n.getValue(r).set(a):n.addValue(r,tu(a))}function F8(n){return ab(n)?n[n.length-1]||0:n}function q8(n,r){const a=Hs(n,r);let{transitionEnd:s={},transition:u={},...d}=a||{};d={...d,...s};for(const c in d){const h=F8(d[c]);P8(n,c,h)}}const Pn=n=>!!(n&&n.getVelocity);function $8(n){return!!(Pn(n)&&n.add)}function ob(n,r){const a=n.getValue("willChange");if($8(a))return a.add(r);if(!a&&zo.WillChange){const s=new zo.WillChange("auto");n.addValue("willChange",s),s.add(r)}}function Yb(n){return n.replace(/([A-Z])/g,r=>`-${r.toLowerCase()}`)}const G8="framerAppearId",rN="data-"+Yb(G8);function aN(n){return n.props[rN]}function Y8({protectedKeys:n,needsAnimating:r},a){const s=n.hasOwnProperty(a)&&r[a]!==!0;return r[a]=!1,s}function oN(n,r,{delay:a=0,transitionOverride:s,type:u}={}){let{transition:d,transitionEnd:c,...h}=r;const p=n.getDefaultTransition();d=d?tN(d,p):p;const b=d==null?void 0:d.reduceMotion,y=d==null?void 0:d.skipAnimations;s&&(d=s);const g=[],v=u&&n.animationState&&n.animationState.getState()[u],w=d==null?void 0:d.path;w&&w.animateVisualElement(n,h,d,a,g);for(const V in h){const D=n.getValue(V,n.latestValues[V]??null),C=h[V];if(C===void 0||v&&Y8(v,V))continue;const k={delay:a,...qb(d||{},V)};y&&(k.skipAnimations=!0);const j=D.get();if(j!==void 0&&!D.isAnimating()&&!Array.isArray(C)&&C===j&&!k.velocity){jt.update(()=>D.set(C));continue}let U=!1;if(window.MotionHandoffAnimation){const F=aN(n);if(F){const fe=window.MotionHandoffAnimation(F,V,jt);fe!==null&&(k.startTime=fe,U=!0)}}ob(n,V);const Q=b??n.shouldReduceMotion;D.start($b(V,D,C,Q&&iN.has(V)?{type:!1}:k,n,U));const Y=D.animation;Y&&g.push(Y)}if(c){const V=()=>jt.update(()=>{c&&q8(n,c)});g.length?Promise.all(g).then(V):V()}return g}function sb(n,r,a={}){var p;const s=Hs(n,r,a.type==="exit"?(p=n.presenceContext)==null?void 0:p.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=s||{};a.transitionOverride&&(u=a.transitionOverride);const d=s?()=>Promise.all(oN(n,s,a)):()=>Promise.resolve(),c=n.variantChildren&&n.variantChildren.size?(b=0)=>{const{delayChildren:y=0,staggerChildren:g,staggerDirection:v}=u;return X8(n,r,b,y,g,v,a)}:()=>Promise.resolve(),{when:h}=u;if(h){const[b,y]=h==="beforeChildren"?[d,c]:[c,d];return b().then(()=>y())}else return Promise.all([d(),c(a.delay)])}function X8(n,r,a=0,s=0,u=0,d=1,c){const h=[];for(const p of n.variantChildren)p.notify("AnimationStart",r),h.push(sb(p,r,{...c,delay:a+(typeof s=="function"?0:s)+eN(n.variantChildren,p,s,u,d)}).then(()=>p.notify("AnimationComplete",r)));return Promise.all(h)}function Q8(n,r,a={}){n.notify("AnimationStart",r);let s;if(Array.isArray(r)){const u=r.map(d=>sb(n,d,a));s=Promise.all(u)}else if(typeof r=="string")s=sb(n,r,a);else{const u=typeof r=="function"?Hs(n,r,a.custom):r;s=Promise.all(oN(n,u,a))}return s.then(()=>{n.notify("AnimationComplete",r)})}const K8={test:n=>n==="auto",parse:n=>n},sN=n=>r=>r.test(n),lN=[ru,Be,la,ja,S_,w_,K8],dV=n=>lN.find(sN(n));function J8(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||vT(n):!0}const W8=new Set(["brightness","contrast","saturate","opacity"]);function eO(n){const[r,a]=n.slice(0,-1).split("(");if(r==="drop-shadow")return n;const[s]=a.match(Zb)||[];if(!s)return n;const u=a.replace(s,"");let d=W8.has(r)?1:0;return s!==a&&(d*=100),r+"("+d+u+")"}const tO=/\b([a-z-]*)\(.*?\)/gu,lb={...Nr,getAnimatableNone:n=>{const r=n.match(tO);return r?r.map(eO).join(" "):n}},ub={...Nr,getAnimatableNone:n=>{const r=Nr.parse(n);return Nr.createTransformer(n)(r.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},hV={...ru,transform:Math.round},nO={rotate:ja,pathRotation:ja,rotateX:ja,rotateY:ja,rotateZ:ja,scale:Oh,scaleX:Oh,scaleY:Oh,scaleZ:Oh,skew:ja,skewX:ja,skewY:ja,distance:Be,translateX:Be,translateY:Be,translateZ:Be,x:Be,y:Be,z:Be,perspective:Be,transformPerspective:Be,opacity:tf,originX:WE,originY:WE,originZ:Be},rp={borderWidth:Be,borderTopWidth:Be,borderRightWidth:Be,borderBottomWidth:Be,borderLeftWidth:Be,borderRadius:Be,borderTopLeftRadius:Be,borderTopRightRadius:Be,borderBottomRightRadius:Be,borderBottomLeftRadius:Be,width:Be,maxWidth:Be,height:Be,maxHeight:Be,top:Be,right:Be,bottom:Be,left:Be,inset:Be,insetBlock:Be,insetBlockStart:Be,insetBlockEnd:Be,insetInline:Be,insetInlineStart:Be,insetInlineEnd:Be,padding:Be,paddingTop:Be,paddingRight:Be,paddingBottom:Be,paddingLeft:Be,paddingBlock:Be,paddingBlockStart:Be,paddingBlockEnd:Be,paddingInline:Be,paddingInlineStart:Be,paddingInlineEnd:Be,margin:Be,marginTop:Be,marginRight:Be,marginBottom:Be,marginLeft:Be,marginBlock:Be,marginBlockStart:Be,marginBlockEnd:Be,marginInline:Be,marginInlineStart:Be,marginInlineEnd:Be,fontSize:Be,backgroundPositionX:Be,backgroundPositionY:Be,...nO,zIndex:hV,fillOpacity:tf,strokeOpacity:tf,numOctaves:hV},iO={...rp,color:wn,backgroundColor:wn,outlineColor:wn,fill:wn,stroke:wn,borderColor:wn,borderTopColor:wn,borderRightColor:wn,borderBottomColor:wn,borderLeftColor:wn,filter:lb,WebkitFilter:lb,mask:ub,WebkitMask:ub},uN=n=>iO[n],rO=new Set([lb,ub]);function cN(n,r){let a=uN(n);return rO.has(a)||(a=Nr),a.getAnimatableNone?a.getAnimatableNone(r):void 0}const aO=new Set(["auto","none","0"]);function oO(n,r,a){let s=0,u;for(;s<n.length&&!u;){const d=n[s];typeof d=="string"&&!aO.has(d)&&eu(d).values.length&&(u=n[s]),s++}if(u&&a)for(const d of r)n[d]=cN(a,u)}class sO extends Fb{constructor(r,a,s,u,d){super(r,a,s,u,d,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:a,name:s}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<r.length;y++){let g=r[y];if(typeof g=="string"&&(g=g.trim(),Bb(g))){const v=nN(g,a.current);v!==void 0&&(r[y]=v),y===r.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!iN.has(s)||r.length!==2)return;const[u,d]=r,c=dV(u),h=dV(d),p=JE(u),b=JE(d);if(p!==b&&Ho[s]){this.needsMeasurement=!0;return}if(c!==h)if(sV(c)&&sV(h))for(let y=0;y<r.length;y++){const g=r[y];typeof g=="string"&&(r[y]=parseFloat(g))}else Ho[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:a}=this,s=[];for(let u=0;u<r.length;u++)(r[u]===null||J8(r[u]))&&s.push(u);s.length&&oO(r,s,a)}measureInitialState(){const{element:r,unresolvedKeyframes:a,name:s}=this;if(!r||!r.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ho[s](r.measureViewportBox(),window.getComputedStyle(r.current)),a[0]=this.measuredOrigin;const u=a[a.length-1];u!==void 0&&r.getValue(s,u).jump(u,!1)}measureEndState(){var h;const{element:r,name:a,unresolvedKeyframes:s}=this;if(!r||!r.current)return;const u=r.getValue(a);u&&u.jump(this.measuredOrigin,!1);const d=s.length-1,c=s[d];s[d]=Ho[a](r.measureViewportBox(),window.getComputedStyle(r.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([p,b])=>{r.getValue(p).set(b)}),this.resolveNoneKeyframes()}}function fN(n,r,a){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const u=(a==null?void 0:a[n])??s.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(s=>s!=null)}const cb=(n,r)=>r&&typeof n=="number"?r.transform(n):n;function Fh(n){return yT(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:Xb}=DT(queueMicrotask,!1),Tr={x:!1,y:!1};function dN(){return Tr.x||Tr.y}function lO(n){return n==="x"||n==="y"?Tr[n]?null:(Tr[n]=!0,()=>{Tr[n]=!1}):Tr.x||Tr.y?null:(Tr.x=Tr.y=!0,()=>{Tr.x=Tr.y=!1})}function hN(n,r){const a=fN(n),s=new AbortController,u={passive:!0,...r,signal:s.signal};return[a,u,()=>s.abort()]}function uO(n){return!(n.pointerType==="touch"||dN())}function cO(n,r,a={}){const[s,u,d]=hN(n,a);return s.forEach(c=>{let h=!1,p=!1,b;const y=()=>{c.removeEventListener("pointerleave",V)},g=C=>{b&&(b(C),b=void 0),y()},v=C=>{h=!1,window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",v),p&&(p=!1,g(C))},w=()=>{h=!0,window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",v,u)},V=C=>{if(C.pointerType!=="touch"){if(h){p=!0;return}g(C)}},D=C=>{if(!uO(C))return;p=!1;const k=r(c,C);typeof k=="function"&&(b=k,c.addEventListener("pointerleave",V,u))};c.addEventListener("pointerenter",D,u),c.addEventListener("pointerdown",w,u)}),d}const pN=(n,r)=>r?n===r?!0:pN(n,r.parentElement):!1,Qb=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,fO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dO(n){return fO.has(n.tagName)||n.isContentEditable===!0}const hO=new Set(["INPUT","SELECT","TEXTAREA"]);function pO(n){return hO.has(n.tagName)||n.isContentEditable===!0}const qh=new WeakSet;function pV(n){return r=>{r.key==="Enter"&&n(r)}}function d1(n,r){n.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const mO=(n,r)=>{const a=n.currentTarget;if(!a)return;const s=pV(()=>{if(qh.has(a))return;d1(a,"down");const u=pV(()=>{d1(a,"up")}),d=()=>d1(a,"cancel");a.addEventListener("keyup",u,r),a.addEventListener("blur",d,r)});a.addEventListener("keydown",s,r),a.addEventListener("blur",()=>a.removeEventListener("keydown",s),r)};function mV(n){return Qb(n)&&!dN()}const gV=new WeakSet;function gO(n,r,a={}){const[s,u,d]=hN(n,a),c=h=>{const p=h.currentTarget;if(!mV(h)||gV.has(h))return;qh.add(p),a.stopPropagation&&gV.add(h);const b=r(p,h),y=(w,V)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",v),qh.has(p)&&qh.delete(p),mV(w)&&typeof b=="function"&&b(w,{success:V})},g=w=>{y(w,p===window||p===document||a.useGlobalTarget||pN(p,w.target))},v=w=>{y(w,!1)};window.addEventListener("pointerup",g,u),window.addEventListener("pointercancel",v,u)};return s.forEach(h=>{(a.useGlobalTarget?window:h).addEventListener("pointerdown",c,u),Fh(h)&&(h.addEventListener("focus",b=>mO(b,u)),!dO(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),d}function Kb(n){return yT(n)&&"ownerSVGElement"in n}const $h=new WeakMap;let _o;const mN=(n,r,a)=>(s,u)=>u&&u[0]?u[0][n+"Size"]:Kb(s)&&"getBBox"in s?s.getBBox()[r]:s[a],bO=mN("inline","width","offsetWidth"),yO=mN("block","height","offsetHeight");function vO({target:n,borderBoxSize:r}){var a;(a=$h.get(n))==null||a.forEach(s=>{s(n,{get width(){return bO(n,r)},get height(){return yO(n,r)}})})}function xO(n){n.forEach(vO)}function wO(){typeof ResizeObserver>"u"||(_o=new ResizeObserver(xO))}function SO(n,r){_o||wO();const a=fN(n);return a.forEach(s=>{let u=$h.get(s);u||(u=new Set,$h.set(s,u)),u.add(r),_o==null||_o.observe(s)}),()=>{a.forEach(s=>{const u=$h.get(s);u==null||u.delete(r),u!=null&&u.size||_o==null||_o.unobserve(s)})}}const Gh=new Set;let Jl;function EO(){Jl=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Gh.forEach(r=>r(n))},window.addEventListener("resize",Jl)}function VO(n){return Gh.add(n),Jl||EO(),()=>{Gh.delete(n),!Gh.size&&typeof Jl=="function"&&(window.removeEventListener("resize",Jl),Jl=void 0)}}function bV(n,r){return typeof n=="function"?VO(n):SO(n,r)}function MO(n){return Kb(n)&&n.tagName==="svg"}const TO=[...lN,wn,Nr],NO=n=>TO.find(sN(n)),yV=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wl=()=>({x:yV(),y:yV()}),vV=()=>({min:0,max:0}),Nn=()=>({x:vV(),y:vV()}),AO=new WeakMap;function bp(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function nf(n){return typeof n=="string"||Array.isArray(n)}const Jb=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wb=["initial",...Jb];function yp(n){return bp(n.animate)||Wb.some(r=>nf(n[r]))}function gN(n){return!!(yp(n)||n.variants)}function kO(n,r,a){for(const s in r){const u=r[s],d=a[s];if(Pn(u))n.addValue(s,u);else if(Pn(d))n.addValue(s,tu(u,{owner:n}));else if(d!==u)if(n.hasValue(s)){const c=n.getValue(s);c.liveStyle===!0?c.jump(u):c.hasAnimated||c.set(u)}else{const c=n.getStaticValue(s);n.addValue(s,tu(c!==void 0?c:u,{owner:n}))}}for(const s in a)r[s]===void 0&&n.removeValue(s);return r}const fb={current:null},bN={current:!1},CO=typeof window<"u";function RO(){if(bN.current=!0,!!CO)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),r=()=>fb.current=n.matches;n.addEventListener("change",r),r()}else fb.current=!1}const xV=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ap={};function yN(n){ap=n}function DO(){return ap}class _O{scrapeMotionValuesFromProps(r,a,s){return{}}constructor({parent:r,props:a,presenceContext:s,reducedMotionConfig:u,skipAnimations:d,blockInitialAnimation:c,visualState:h},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Fb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=di.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,jt.render(this.render,!1,!0))};const{latestValues:b,renderState:y}=h;this.latestValues=b,this.baseTarget={...b},this.initialValues=a.initial?{...b}:{},this.renderState=y,this.parent=r,this.props=a,this.presenceContext=s,this.depth=r?r.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=d,this.options=p,this.blockInitialAnimation=!!c,this.isControllingVariants=yp(a),this.isVariantNode=gN(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:g,...v}=this.scrapeMotionValuesFromProps(a,{},this);for(const w in v){const V=v[w];b[w]!==void 0&&Pn(V)&&V.set(b[w])}}mount(r){var a,s;if(this.hasBeenMounted)for(const u in this.initialValues)(a=this.values.get(u))==null||a.jump(this.initialValues[u]),this.latestValues[u]=this.initialValues[u];this.current=r,AO.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,d)=>this.bindToMotionValue(d,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(bN.current||RO(),this.shouldReduceMotion=fb.current),Hb(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var r;this.projection&&this.projection.unmount(),Lo(this.notifyUpdate),Lo(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(r=this.parent)==null||r.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const s=this.features[a];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,a){if(this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)(),a.accelerate&&WT.has(r)&&this.current instanceof HTMLElement){const{factory:c,keyframes:h,times:p,ease:b,duration:y}=a.accelerate,g=new KT({element:this.current,name:r,keyframes:h,times:p,ease:b,duration:Ti(y)}),v=c(g);this.valueSubscriptions.set(r,()=>{v(),g.cancel()});return}const s=ou.has(r);s&&this.onBindTransform&&this.onBindTransform();const u=a.on("change",c=>{this.latestValues[r]=c,this.props.onUpdate&&jt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,r,a)),this.valueSubscriptions.set(r,()=>{u(),d&&d()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in ap){const a=ap[r];if(!a)continue;const{isEnabled:s,Feature:u}=a;if(!this.features[r]&&u&&s(this.props)&&(this.features[r]=new u(this)),this.features[r]){const d=this.features[r];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nn()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,a){this.latestValues[r]=a}update(r,a){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let s=0;s<xV.length;s++){const u=xV[s];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const d="on"+u,c=r[d];c&&(this.propEventSubscriptions[u]=this.on(u,c))}this.prevMotionValues=kO(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(r),()=>a.variantChildren.delete(r)}addValue(r,a){const s=this.values.get(r);a!==s&&(s&&this.removeValue(r),this.bindToMotionValue(r,a),this.values.set(r,a),this.latestValues[r]=a.get())}removeValue(r){this.values.delete(r);const a=this.valueSubscriptions.get(r);a&&(a(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,a){if(this.props.values&&this.props.values[r])return this.props.values[r];let s=this.values.get(r);return s===void 0&&a!==void 0&&(s=tu(a===null?void 0:a,{owner:this}),this.addValue(r,s)),s}readValue(r,a){let s=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return s!=null&&(typeof s=="string"&&(bT(s)||vT(s))?s=parseFloat(s):!NO(s)&&Nr.test(a)&&(s=cN(r,a)),this.setBaseTarget(r,Pn(s)?s.get():s)),Pn(s)?s.get():s}setBaseTarget(r,a){this.baseTarget[r]=a}getBaseTarget(r){var d;const{initial:a}=this.props;let s;if(typeof a=="string"||typeof a=="object"){const c=Gb(this.props,a,(d=this.presenceContext)==null?void 0:d.custom);c&&(s=c[r])}if(a&&s!==void 0)return s;const u=this.getBaseTargetFromProps(this.props,r);return u!==void 0&&!Pn(u)?u:this.initialValues[r]!==void 0&&s===void 0?void 0:this.baseTarget[r]}on(r,a){return this.events[r]||(this.events[r]=new Ob),this.events[r].add(a)}notify(r,...a){this.events[r]&&this.events[r].notify(...a)}scheduleRenderMicrotask(){Xb.render(this.render)}}class vN extends _O{constructor(){super(...arguments),this.KeyframeResolver=sO}sortInstanceNodePosition(r,a){return r.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(r,a){const s=r.style;return s?s[a]:void 0}removeValueFromRenderState(r,{vars:a,style:s}){delete a[r],delete s[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Pn(r)&&(this.childSubscription=r.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class Bo{constructor(r){this.isMounted=!1,this.node=r}update(){}}function xN({top:n,left:r,right:a,bottom:s}){return{x:{min:r,max:a},y:{min:n,max:s}}}function OO({x:n,y:r}){return{top:r.min,right:n.max,bottom:r.max,left:n.min}}function HO(n,r){if(!r)return n;const a=r({x:n.left,y:n.top}),s=r({x:n.right,y:n.bottom});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}function h1(n){return n===void 0||n===1}function db({scale:n,scaleX:r,scaleY:a}){return!h1(n)||!h1(r)||!h1(a)}function Rs(n){return db(n)||wN(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function wN(n){return wV(n.x)||wV(n.y)}function wV(n){return n&&n!=="0%"}function op(n,r,a){const s=n-a,u=r*s;return a+u}function SV(n,r,a,s,u){return u!==void 0&&(n=op(n,u,s)),op(n,a,s)+r}function hb(n,r=0,a=1,s,u){n.min=SV(n.min,r,a,s,u),n.max=SV(n.max,r,a,s,u)}function SN(n,{x:r,y:a}){hb(n.x,r.translate,r.scale,r.originPoint),hb(n.y,a.translate,a.scale,a.originPoint)}const EV=.999999999999,VV=1.0000000000001;function zO(n,r,a,s=!1){var h;const u=a.length;if(!u)return;r.x=r.y=1;let d,c;for(let p=0;p<u;p++){d=a[p],c=d.projectionDelta;const{visualElement:b}=d.options;b&&b.props.style&&b.props.style.display==="contents"||(s&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(sa(n.x,-d.scroll.offset.x),sa(n.y,-d.scroll.offset.y)),c&&(r.x*=c.x.scale,r.y*=c.y.scale,SN(n,c)),s&&Rs(d.latestValues)&&Yh(n,d.latestValues,(h=d.layout)==null?void 0:h.layoutBox))}r.x<VV&&r.x>EV&&(r.x=1),r.y<VV&&r.y>EV&&(r.y=1)}function sa(n,r){n.min+=r,n.max+=r}function MV(n,r,a,s,u=.5){const d=Zt(n.min,n.max,u);hb(n,r,a,d,s)}function TV(n,r){return typeof n=="string"?parseFloat(n)/100*(r.max-r.min):n}function Yh(n,r,a){const s=a??n;MV(n.x,TV(r.x,s.x),r.scaleX,r.scale,r.originX),MV(n.y,TV(r.y,s.y),r.scaleY,r.scale,r.originY)}function EN(n,r){return xN(HO(n.getBoundingClientRect(),r))}function LO(n,r,a){const s=EN(n,a),{scroll:u}=r;return u&&(sa(s.x,u.offset.x),sa(s.y,u.offset.y)),s}const BO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ZO=au.length;function jO(n,r,a){let s="",u=!0;for(let c=0;c<ZO;c++){const h=au[c],p=n[h];if(p===void 0)continue;let b=!0;if(typeof p=="number")b=p===(h.startsWith("scale")?1:0);else{const y=parseFloat(p);b=h.startsWith("scale")?y===1:y===0}if(!b||a){const y=cb(p,rp[h]);if(!b){u=!1;const g=BO[h]||h;s+=`${g}(${y}) `}a&&(r[h]=y)}}const d=n.pathRotation;return d&&(u=!1,s+=`rotate(${cb(d,rp.pathRotation)}) `),s=s.trim(),a?s=a(r,u?"":s):u&&(s="none"),s}function ey(n,r,a){const{style:s,vars:u,transformOrigin:d}=n;let c=!1,h=!1;for(const p in r){const b=r[p];if(ou.has(p)){c=!0;continue}else if(OT(p)){u[p]=b;continue}else{const y=cb(b,rp[p]);p.startsWith("origin")?(h=!0,d[p]=y):s[p]=y}}if(r.transform||(c||a?s.transform=jO(r,n.transform,a):s.transform&&(s.transform="none")),h){const{originX:p="50%",originY:b="50%",originZ:y=0}=d;s.transformOrigin=`${p} ${b} ${y}`}}function VN(n,{style:r,vars:a},s,u){const d=n.style;let c;for(c in r)d[c]=r[c];u==null||u.applyProjectionStyles(d,s);for(c in a)d.setProperty(c,a[c])}function NV(n,r){return r.max===r.min?0:n/(r.max-r.min)*100}const Uc={correct:(n,r)=>{if(!r.target)return n;if(typeof n=="string")if(Be.test(n))n=parseFloat(n);else return n;const a=NV(n,r.target.x),s=NV(n,r.target.y);return`${a}% ${s}%`}},UO={correct:(n,{treeScale:r,projectionDelta:a})=>{const s=n,u=Nr.parse(n);if(u.length>5)return s;const d=Nr.createTransformer(n),c=typeof u[0]!="number"?1:0,h=a.x.scale*r.x,p=a.y.scale*r.y;u[0+c]/=h,u[1+c]/=p;const b=Zt(h,p,.5);return typeof u[2+c]=="number"&&(u[2+c]/=b),typeof u[3+c]=="number"&&(u[3+c]/=b),d(u)}},pb={borderRadius:{...Uc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Uc,borderTopRightRadius:Uc,borderBottomLeftRadius:Uc,borderBottomRightRadius:Uc,boxShadow:UO};function MN(n,{layout:r,layoutId:a}){return ou.has(n)||n.startsWith("origin")||(r||a!==void 0)&&(!!pb[n]||n==="opacity")}function ty(n,r,a){var c;const s=n.style,u=r==null?void 0:r.style,d={};if(!s)return d;for(const h in s)(Pn(s[h])||u&&Pn(u[h])||MN(h,n)||((c=a==null?void 0:a.getValue(h))==null?void 0:c.liveStyle)!==void 0)&&(d[h]=s[h]);return d}function IO(n){return window.getComputedStyle(n)}class PO extends vN{constructor(){super(...arguments),this.type="html",this.renderInstance=VN}readValueFromInstance(r,a){var s;if(ou.has(a))return(s=this.projection)!=null&&s.isProjecting?W1(a):l8(r,a);{const u=IO(r),d=(OT(a)?u.getPropertyValue(a):u[a])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(r,{transformPagePoint:a}){return EN(r,a)}build(r,a,s){ey(r,a,s.transformTemplate)}scrapeMotionValuesFromProps(r,a,s){return ty(r,a,s)}}const FO={offset:"stroke-dashoffset",array:"stroke-dasharray"},qO={offset:"strokeDashoffset",array:"strokeDasharray"};function $O(n,r,a=1,s=0,u=!0){n.pathLength=1;const d=u?FO:qO;n[d.offset]=`${-s}`,n[d.array]=`${r} ${a}`}const GO=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function TN(n,{attrX:r,attrY:a,attrScale:s,pathLength:u,pathSpacing:d=1,pathOffset:c=0,...h},p,b,y){if(ey(n,h,b),p){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:g,style:v}=n;g.transform&&(v.transform=g.transform,delete g.transform),(v.transform||g.transformOrigin)&&(v.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),v.transform&&(v.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete g.transformBox);for(const w of GO)g[w]!==void 0&&(v[w]=g[w],delete g[w]);r!==void 0&&(g.x=r),a!==void 0&&(g.y=a),s!==void 0&&(g.scale=s),u!==void 0&&$O(g,u,d,c,!1)}const NN=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),AN=n=>typeof n=="string"&&n.toLowerCase()==="svg";function YO(n,r,a,s){VN(n,r,void 0,s);for(const u in r.attrs)n.setAttribute(NN.has(u)?u:Yb(u),r.attrs[u])}function kN(n,r,a){const s=ty(n,r,a);for(const u in n)if(Pn(n[u])||Pn(r[u])){const d=au.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;s[d]=n[u]}return s}class XO extends vN{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nn}getBaseTargetFromProps(r,a){return r[a]}readValueFromInstance(r,a){if(ou.has(a)){const s=uN(a);return s&&s.default||0}return a=NN.has(a)?a:Yb(a),r.getAttribute(a)}scrapeMotionValuesFromProps(r,a,s){return kN(r,a,s)}build(r,a,s){TN(r,a,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(r,a,s,u){YO(r,a,s,u)}mount(r){this.isSVGTag=AN(r.tagName),super.mount(r)}}const QO=Wb.length;function CN(n){if(!n)return;if(!n.isControllingVariants){const a=n.parent?CN(n.parent)||{}:{};return n.props.initial!==void 0&&(a.initial=n.props.initial),a}const r={};for(let a=0;a<QO;a++){const s=Wb[a],u=n.props[s];(nf(u)||u===!1)&&(r[s]=u)}return r}function RN(n,r){if(!Array.isArray(r))return!1;const a=r.length;if(a!==n.length)return!1;for(let s=0;s<a;s++)if(r[s]!==n[s])return!1;return!0}const KO=[...Jb].reverse(),JO=Jb.length;function WO(n){return r=>Promise.all(r.map(({animation:a,options:s})=>Q8(n,a,s)))}function e3(n){let r=WO(n),a=AV(),s=!0,u=!1;const d=b=>(y,g)=>{var w;const v=Hs(n,g,b==="exit"?(w=n.presenceContext)==null?void 0:w.custom:void 0);if(v){const{transition:V,transitionEnd:D,...C}=v;y={...y,...C,...D}}return y};function c(b){r=b(n)}function h(b){const{props:y}=n,g=CN(n.parent)||{},v=[],w=new Set;let V={},D=1/0;for(let k=0;k<JO;k++){const j=KO[k],U=a[j],Q=y[j]!==void 0?y[j]:g[j],Y=nf(Q),F=j===b?U.isActive:null;F===!1&&(D=k);let fe=Q===g[j]&&Q!==y[j]&&Y;if(fe&&(s||u)&&n.manuallyAnimateOnMount&&(fe=!1),U.protectedKeys={...V},!U.isActive&&F===null||!Q&&!U.prevProp||bp(Q)||typeof Q=="boolean")continue;if(j==="exit"&&U.isActive&&F!==!0){U.prevResolvedValues&&(V={...V,...U.prevResolvedValues});continue}const ie=t3(U.prevProp,Q);let X=ie||j===b&&U.isActive&&!fe&&Y||k>D&&Y,R=!1;const xe=Array.isArray(Q)?Q:[Q];let de=xe.reduce(d(j),{});F===!1&&(de={});const{prevResolvedValues:ae={}}=U,ee={...ae,...de},ue=le=>{X=!0,w.has(le)&&(R=!0,w.delete(le)),U.needsAnimating[le]=!0;const Ve=n.getValue(le);Ve&&(Ve.liveStyle=!1)};for(const le in ee){const Ve=de[le],H=ae[le];if(V.hasOwnProperty(le))continue;let z=!1;ab(Ve)&&ab(H)?z=!RN(Ve,H)||ie:z=Ve!==H,z?Ve!=null?ue(le):w.add(le):Ve!==void 0&&w.has(le)?ue(le):U.protectedKeys[le]=!0}U.prevProp=Q,U.prevResolvedValues=de,U.isActive&&(V={...V,...de}),(s||u)&&n.blockInitialAnimation&&(X=!1);const W=fe&&ie;X&&(!W||R)&&v.push(...xe.map(le=>{const Ve={type:j};if(typeof le=="string"&&(s||u)&&!W&&n.manuallyAnimateOnMount&&n.parent){const{parent:H}=n,z=Hs(H,le);if(H.enteringChildren&&z){const{delayChildren:pe}=z.transition||{};Ve.delay=eN(H.enteringChildren,n,pe)}}return{animation:le,options:Ve}}))}if(w.size){const k={};if(typeof y.initial!="boolean"){const j=Hs(n,Array.isArray(y.initial)?y.initial[0]:y.initial);j&&j.transition&&(k.transition=j.transition)}w.forEach(j=>{const U=n.getBaseTarget(j),Q=n.getValue(j);Q&&(Q.liveStyle=!0),k[j]=U??null}),v.push({animation:k})}let C=!!v.length;return s&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(C=!1),s=!1,u=!1,C?r(v):Promise.resolve()}function p(b,y){var v;if(a[b].isActive===y)return Promise.resolve();(v=n.variantChildren)==null||v.forEach(w=>{var V;return(V=w.animationState)==null?void 0:V.setActive(b,y)}),a[b].isActive=y;const g=h(b);for(const w in a)a[w].protectedKeys={};return g}return{animateChanges:h,setActive:p,setAnimateFunction:c,getState:()=>a,reset:()=>{a=AV(),u=!0}}}function t3(n,r){return typeof r=="string"?r!==n:Array.isArray(r)?!RN(r,n):!1}function Ns(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function AV(){return{animate:Ns(!0),whileInView:Ns(),whileHover:Ns(),whileTap:Ns(),whileDrag:Ns(),whileFocus:Ns(),exit:Ns()}}function mb(n,r){n.min=r.min,n.max=r.max}function Mr(n,r){mb(n.x,r.x),mb(n.y,r.y)}function kV(n,r){n.translate=r.translate,n.scale=r.scale,n.originPoint=r.originPoint,n.origin=r.origin}const DN=1e-4,n3=1-DN,i3=1+DN,_N=.01,r3=0-_N,a3=0+_N;function hi(n){return n.max-n.min}function o3(n,r,a){return Math.abs(n-r)<=a}function CV(n,r,a,s=.5){n.origin=s,n.originPoint=Zt(r.min,r.max,n.origin),n.scale=hi(a)/hi(r),n.translate=Zt(a.min,a.max,n.origin)-n.originPoint,(n.scale>=n3&&n.scale<=i3||isNaN(n.scale))&&(n.scale=1),(n.translate>=r3&&n.translate<=a3||isNaN(n.translate))&&(n.translate=0)}function Xc(n,r,a,s){CV(n.x,r.x,a.x,s?s.originX:void 0),CV(n.y,r.y,a.y,s?s.originY:void 0)}function RV(n,r,a,s=0){const u=s?Zt(a.min,a.max,s):a.min;n.min=u+r.min,n.max=n.min+hi(r)}function s3(n,r,a,s){RV(n.x,r.x,a.x,s==null?void 0:s.x),RV(n.y,r.y,a.y,s==null?void 0:s.y)}function DV(n,r,a,s=0){const u=s?Zt(a.min,a.max,s):a.min;n.min=r.min-u,n.max=n.min+hi(r)}function sp(n,r,a,s){DV(n.x,r.x,a.x,s==null?void 0:s.x),DV(n.y,r.y,a.y,s==null?void 0:s.y)}function _V(n,r,a,s,u){return n-=r,n=op(n,1/a,s),u!==void 0&&(n=op(n,1/u,s)),n}function l3(n,r=0,a=1,s=.5,u,d=n,c=n){if(la.test(r)&&(r=parseFloat(r),r=Zt(c.min,c.max,r/100)-c.min),typeof r!="number")return;let h=Zt(d.min,d.max,s);n===d&&(h-=r),n.min=_V(n.min,r,a,h,u),n.max=_V(n.max,r,a,h,u)}function OV(n,r,[a,s,u],d,c){l3(n,r[a],r[s],r[u],r.scale,d,c)}const u3=["x","scaleX","originX"],c3=["y","scaleY","originY"];function HV(n,r,a,s){OV(n.x,r,u3,a?a.x:void 0,s?s.x:void 0),OV(n.y,r,c3,a?a.y:void 0,s?s.y:void 0)}function zV(n){return n.translate===0&&n.scale===1}function ON(n){return zV(n.x)&&zV(n.y)}function LV(n,r){return n.min===r.min&&n.max===r.max}function f3(n,r){return LV(n.x,r.x)&&LV(n.y,r.y)}function BV(n,r){return Math.round(n.min)===Math.round(r.min)&&Math.round(n.max)===Math.round(r.max)}function HN(n,r){return BV(n.x,r.x)&&BV(n.y,r.y)}function ZV(n){return hi(n.x)/hi(n.y)}function jV(n,r){return n.translate===r.translate&&n.scale===r.scale&&n.originPoint===r.originPoint}function ra(n){return[n("x"),n("y")]}function d3(n,r,a){let s="";const u=n.x.translate/r.x,d=n.y.translate/r.y,c=(a==null?void 0:a.z)||0;if((u||d||c)&&(s=`translate3d(${u}px, ${d}px, ${c}px) `),(r.x!==1||r.y!==1)&&(s+=`scale(${1/r.x}, ${1/r.y}) `),a){const{transformPerspective:b,rotate:y,pathRotation:g,rotateX:v,rotateY:w,skewX:V,skewY:D}=a;b&&(s=`perspective(${b}px) ${s}`),y&&(s+=`rotate(${y}deg) `),g&&(s+=`rotate(${g}deg) `),v&&(s+=`rotateX(${v}deg) `),w&&(s+=`rotateY(${w}deg) `),V&&(s+=`skewX(${V}deg) `),D&&(s+=`skewY(${D}deg) `)}const h=n.x.scale*r.x,p=n.y.scale*r.y;return(h!==1||p!==1)&&(s+=`scale(${h}, ${p})`),s||"none"}const zN=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],h3=zN.length,UV=n=>typeof n=="string"?parseFloat(n):n,IV=n=>typeof n=="number"||Be.test(n);function p3(n,r,a,s,u,d){u?(n.opacity=Zt(0,a.opacity??1,m3(s)),n.opacityExit=Zt(r.opacity??1,0,g3(s))):d&&(n.opacity=Zt(r.opacity??1,a.opacity??1,s));for(let c=0;c<h3;c++){const h=zN[c];let p=PV(r,h),b=PV(a,h);if(p===void 0&&b===void 0)continue;p||(p=0),b||(b=0),p===0||b===0||IV(p)===IV(b)?(n[h]=Math.max(Zt(UV(p),UV(b),s),0),(la.test(b)||la.test(p))&&(n[h]+="%")):n[h]=b}(r.rotate||a.rotate)&&(n.rotate=Zt(r.rotate||0,a.rotate||0,s))}function PV(n,r){return n[r]!==void 0?n[r]:n.borderRadius}const m3=LN(0,.5,AT),g3=LN(.5,.95,fr);function LN(n,r,a){return s=>s<n?0:s>r?1:a(ef(n,r,s))}function b3(n,r,a){const s=Pn(n)?n:tu(n);return s.start($b("",s,r,a)),s.animation}function rf(n,r,a,s={passive:!0}){return n.addEventListener(r,a,s),()=>n.removeEventListener(r,a)}const y3=(n,r)=>n.depth-r.depth;class v3{constructor(){this.children=[],this.isDirty=!1}add(r){_b(this.children,r),this.isDirty=!0}remove(r){Wh(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(y3),this.isDirty=!1,this.children.forEach(r)}}function x3(n,r){const a=di.now(),s=({timestamp:u})=>{const d=u-a;d>=r&&(Lo(s),n(d-r))};return jt.setup(s,!0),()=>Lo(s)}function Xh(n){return Pn(n)?n.get():n}class w3{constructor(){this.members=[]}add(r){_b(this.members,r);for(let a=this.members.length-1;a>=0;a--){const s=this.members[a];if(s===r||s===this.lead||s===this.prevLead)continue;const u=s.instance;(!u||u.isConnected===!1)&&!s.snapshot&&(Wh(this.members,s),s.unmount())}r.scheduleRender()}remove(r){if(Wh(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(r){var a;for(let s=this.members.indexOf(r)-1;s>=0;s--){const u=this.members[s];if(u.isPresent!==!1&&((a=u.instance)==null?void 0:a.isConnected)!==!1)return this.promote(u),!0}return!1}promote(r,a){var u;const s=this.lead;if(r!==s&&(this.prevLead=s,this.lead=r,r.show(),s)){s.updateSnapshot(),r.scheduleRender();const{layoutDependency:d}=s.options,{layoutDependency:c}=r.options;(d===void 0||d!==c)&&(r.resumeFrom=s,a&&(s.preserveOpacity=!0),s.snapshot&&(r.snapshot=s.snapshot,r.snapshot.latestValues=s.animationValues||s.latestValues),(u=r.root)!=null&&u.isUpdating&&(r.isLayoutDirty=!0)),r.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(r=>{var a,s,u,d,c;(s=(a=r.options).onExitComplete)==null||s.call(a),(c=(u=r.resumingFrom)==null?void 0:(d=u.options).onExitComplete)==null||c.call(d)})}scheduleRender(){this.members.forEach(r=>r.instance&&r.scheduleRender(!1))}removeLeadSnapshot(){var r;(r=this.lead)!=null&&r.snapshot&&(this.lead.snapshot=void 0)}}const Qh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},p1=["","X","Y","Z"],S3=1e3;let E3=0;function m1(n,r,a,s){const{latestValues:u}=r;u[n]&&(a[n]=u[n],r.setStaticValue(n,0),s&&(s[n]=0))}function BN(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:r}=n.options;if(!r)return;const a=aN(r);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:u,layoutId:d}=n.options;window.MotionCancelOptimisedAnimation(a,"transform",jt,!(u||d))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&BN(s)}function ZN({attachResizeListener:n,defaultParent:r,measureScroll:a,checkIsScrollRoot:s,resetTransform:u}){return class{constructor(c={},h=r==null?void 0:r()){this.id=E3++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(T3),this.nodes.forEach(D3),this.nodes.forEach(_3),this.nodes.forEach(N3)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new v3)}addEventListener(c,h){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Ob),this.eventHandlers.get(c).add(h)}notifyListeners(c,...h){const p=this.eventHandlers.get(c);p&&p.notify(...h)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=Kb(c)&&!MO(c),this.instance=c;const{layoutId:h,layout:p,visualElement:b}=this.options;if(b&&!b.current&&b.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),n){let y,g=0;const v=()=>this.root.updateBlockedByResize=!1;jt.read(()=>{g=window.innerWidth}),n(c,()=>{const w=window.innerWidth;w!==g&&(g=w,this.root.updateBlockedByResize=!0,y&&y(),y=x3(v,250),Qh.hasAnimatedSinceResize&&(Qh.hasAnimatedSinceResize=!1,this.nodes.forEach($V)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&b&&(h||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:g,hasRelativeLayoutChanged:v,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const V=this.options.transition||b.getDefaultTransition()||B3,{onLayoutAnimationStart:D,onLayoutAnimationComplete:C}=b.getProps(),k=!this.targetLayout||!HN(this.targetLayout,w),j=!g&&v;if(this.options.layoutRoot||this.resumeFrom||j||g&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const U={...qb(V,"layout"),onPlay:D,onComplete:C};(b.shouldReduceMotion||this.options.layoutRoot)&&(U.delay=0,U.type=!1),this.startAnimation(U),this.setAnimationOrigin(y,j,U.path)}else g||$V(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Lo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(O3),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&BN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const g=this.path[y];g.shouldResetTransform=!0,(typeof g.latestValues.x=="string"||typeof g.latestValues.y=="string")&&(g.isLayoutDirty=!0),g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const p=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),p&&this.nodes.forEach(k3),this.nodes.forEach(FV);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qV);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(C3),this.nodes.forEach(R3),this.nodes.forEach(V3),this.nodes.forEach(M3)):this.nodes.forEach(qV),this.clearAllSnapshots();const h=di.now();In.delta=ua(0,1e3/60,h-In.timestamp),In.timestamp=h,In.isProcessing=!0,o1.update.process(In),o1.preRender.process(In),o1.render.process(In),In.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(A3),this.sharedNodes.forEach(H3)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,jt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){jt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!hi(this.snapshot.measuredBox.x)&&!hi(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Nn()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(h=!1),h&&this.instance){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!u)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!ON(this.projectionDelta),p=this.getTransformTemplate(),b=p?p(this.latestValues,""):void 0,y=b!==this.prevTransformTemplateValue;c&&this.instance&&(h||Rs(this.latestValues)||y)&&(u(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return c&&(p=this.removeTransform(p)),Z3(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var b;const{visualElement:c}=this.options;if(!c)return Nn();const h=c.measureViewportBox();if(!(((b=this.scroll)==null?void 0:b.wasRoot)||this.path.some(j3))){const{scroll:y}=this.root;y&&(sa(h.x,y.offset.x),sa(h.y,y.offset.y))}return h}removeElementScroll(c){var p;const h=Nn();if(Mr(h,c),(p=this.scroll)!=null&&p.wasRoot)return h;for(let b=0;b<this.path.length;b++){const y=this.path[b],{scroll:g,options:v}=y;y!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&Mr(h,c),sa(h.x,g.offset.x),sa(h.y,g.offset.y))}return h}applyTransform(c,h=!1,p){var y,g;const b=p||Nn();Mr(b,c);for(let v=0;v<this.path.length;v++){const w=this.path[v];!h&&w.options.layoutScroll&&w.scroll&&w!==w.root&&(sa(b.x,-w.scroll.offset.x),sa(b.y,-w.scroll.offset.y)),Rs(w.latestValues)&&Yh(b,w.latestValues,(y=w.layout)==null?void 0:y.layoutBox)}return Rs(this.latestValues)&&Yh(b,this.latestValues,(g=this.layout)==null?void 0:g.layoutBox),b}removeTransform(c){var p;const h=Nn();Mr(h,c);for(let b=0;b<this.path.length;b++){const y=this.path[b];if(!Rs(y.latestValues))continue;let g;y.instance&&(db(y.latestValues)&&y.updateSnapshot(),g=Nn(),Mr(g,y.measurePageBox())),HV(h,y.latestValues,(p=y.snapshot)==null?void 0:p.layoutBox,g)}return Rs(this.latestValues)&&HV(h,this.latestValues),h}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==In.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var w;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(c||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:g}=this.options;if(!this.layout||!(y||g))return;this.resolvedRelativeTargetAt=In.timestamp;const v=this.getClosestProjectingParent();v&&this.linkedParentVersion!==v.layoutVersion&&!v.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&v&&v.layout?this.createRelativeTarget(v,this.layout.layoutBox,v.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Nn(),this.targetWithTransforms=Nn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s3(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Mr(this.target,this.layout.layoutBox),SN(this.target,this.targetDelta)):Mr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?this.createRelativeTarget(v,this.target,v.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||db(this.parent.latestValues)||wN(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,h,p){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nn(),this.relativeTargetOrigin=Nn(),sp(this.relativeTargetOrigin,h,p,this.options.layoutAnchor||void 0),Mr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var V;const c=this.getLead(),h=!!this.resumingFrom||this!==c;let p=!0;if((this.isProjectionDirty||(V=this.parent)!=null&&V.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===In.timestamp&&(p=!1),p)return;const{layout:b,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(b||y))return;Mr(this.layoutCorrected,this.layout.layoutBox);const g=this.treeScale.x,v=this.treeScale.y;zO(this.layoutCorrected,this.treeScale,this.path,h),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Nn());const{target:w}=c;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(kV(this.prevProjectionDelta.x,this.projectionDelta.x),kV(this.prevProjectionDelta.y,this.projectionDelta.y)),Xc(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==v||!jV(this.projectionDelta.x,this.prevProjectionDelta.x)||!jV(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),c){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Wl(),this.projectionDelta=Wl(),this.projectionDeltaWithTransform=Wl()}setAnimationOrigin(c,h=!1,p){const b=this.snapshot,y=b?b.latestValues:{},g={...this.latestValues},v=Wl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=Nn(),V=b?b.source:void 0,D=this.layout?this.layout.source:void 0,C=V!==D,k=this.getStack(),j=!k||k.members.length<=1,U=!!(C&&!j&&this.options.crossfade===!0&&!this.path.some(L3));this.animationProgress=0;let Q;const Y=p==null?void 0:p.interpolateProjection(c);this.mixTargetDelta=F=>{const fe=F/1e3,ie=Y==null?void 0:Y(fe);ie?(v.x.translate=ie.x,v.x.scale=Zt(c.x.scale,1,fe),v.x.origin=c.x.origin,v.x.originPoint=c.x.originPoint,v.y.translate=ie.y,v.y.scale=Zt(c.y.scale,1,fe),v.y.origin=c.y.origin,v.y.originPoint=c.y.originPoint):(GV(v.x,c.x,fe),GV(v.y,c.y,fe)),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sp(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),z3(this.relativeTarget,this.relativeTargetOrigin,w,fe),Q&&f3(this.relativeTarget,Q)&&(this.isProjectionDirty=!1),Q||(Q=Nn()),Mr(Q,this.relativeTarget)),C&&(this.animationValues=g,p3(g,y,this.latestValues,fe,U,j)),ie&&ie.rotate!==void 0&&(this.animationValues||(this.animationValues=g),this.animationValues.pathRotation=ie.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=fe},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){var h,p,b;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(b=(p=this.resumingFrom)==null?void 0:p.currentAnimation)==null||b.stop(),this.pendingAnimation&&(Lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=jt.update(()=>{Qh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=tu(0)),this.motionValue.jump(0,!1),this.currentAnimation=b3(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),c.onUpdate&&c.onUpdate(y)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(S3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:h,target:p,layout:b,latestValues:y}=c;if(!(!h||!p||!b)){if(this!==c&&this.layout&&b&&jN(this.options.animationType,this.layout.layoutBox,b.layoutBox)){p=this.target||Nn();const g=hi(this.layout.layoutBox.x);p.x.min=c.target.x.min,p.x.max=p.x.min+g;const v=hi(this.layout.layoutBox.y);p.y.min=c.target.y.min,p.y.max=p.y.min+v}Mr(h,p),Yh(h,y),Xc(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(c,h){this.sharedNodes.has(c)||this.sharedNodes.set(c,new w3),this.sharedNodes.get(c).add(h);const b=h.options.initialPromotionConfig;h.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(h):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var h;const{layoutId:c}=this.options;return c?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:c}=this.options;return c?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:h,preserveFollowOpacity:p}={}){const b=this.getStack();b&&b.promote(this,p),c&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let h=!1;const{latestValues:p}=c;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const b={};p.z&&m1("z",c,b,this.animationValues);for(let y=0;y<p1.length;y++)m1(`rotate${p1[y]}`,c,b,this.animationValues),m1(`skew${p1[y]}`,c,b,this.animationValues);c.render();for(const y in b)c.setStaticValue(y,b[y]),this.animationValues&&(this.animationValues[y]=b[y]);c.scheduleRender()}applyProjectionStyles(c,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=Xh(h==null?void 0:h.pointerEvents)||"",c.transform=p?p(this.latestValues,""):"none";return}const b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=Xh(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!Rs(this.latestValues)&&(c.transform=p?p({},""):"none",this.hasProjected=!1);return}c.visibility="";const y=b.animationValues||b.latestValues;this.applyTransformsToTarget();let g=d3(this.projectionDeltaWithTransform,this.treeScale,y);p&&(g=p(y,g)),c.transform=g;const{x:v,y:w}=this.projectionDelta;c.transformOrigin=`${v.origin*100}% ${w.origin*100}% 0`,b.animationValues?c.opacity=b===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:c.opacity=b===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const V in pb){if(y[V]===void 0)continue;const{correct:D,applyTo:C,isCSSVariable:k}=pb[V],j=g==="none"?y[V]:D(y[V],b);if(C){const U=C.length;for(let Q=0;Q<U;Q++)c[C[Q]]=j}else k?this.options.visualElement.renderState.vars[V]=j:c[V]=j}this.options.layoutId&&(c.pointerEvents=b===this?Xh(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var h;return(h=c.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(FV),this.root.sharedNodes.clear()}}}function V3(n){n.updateLayout()}function M3(n){var a;const r=((a=n.resumeFrom)==null?void 0:a.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&r&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:u}=n.layout,{animationType:d}=n.options,c=r.source!==n.layout.source;if(d==="size")ra(g=>{const v=c?r.measuredBox[g]:r.layoutBox[g],w=hi(v);v.min=s[g].min,v.max=v.min+w});else if(d==="x"||d==="y"){const g=d==="x"?"y":"x";mb(c?r.measuredBox[g]:r.layoutBox[g],s[g])}else jN(d,r.layoutBox,s)&&ra(g=>{const v=c?r.measuredBox[g]:r.layoutBox[g],w=hi(s[g]);v.max=v.min+w,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[g].max=n.relativeTarget[g].min+w)});const h=Wl();Xc(h,s,r.layoutBox);const p=Wl();c?Xc(p,n.applyTransform(u,!0),r.measuredBox):Xc(p,s,r.layoutBox);const b=!ON(h);let y=!1;if(!n.resumeFrom){const g=n.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:w}=g;if(v&&w){const V=n.options.layoutAnchor||void 0,D=Nn();sp(D,r.layoutBox,v.layoutBox,V);const C=Nn();sp(C,s,w.layoutBox,V),HN(D,C)||(y=!0),g.options.layoutRoot&&(n.relativeTarget=C,n.relativeTargetOrigin=D,n.relativeParent=g)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:r,delta:p,layoutDelta:h,hasLayoutChanged:b,hasRelativeLayoutChanged:y})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function T3(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function N3(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function A3(n){n.clearSnapshot()}function FV(n){n.clearMeasurements()}function k3(n){n.isLayoutDirty=!0,n.updateLayout()}function qV(n){n.isLayoutDirty=!1}function C3(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function R3(n){const{visualElement:r}=n.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),n.resetTransform()}function $V(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function D3(n){n.resolveTargetDelta()}function _3(n){n.calcProjection()}function O3(n){n.resetSkewAndRotation()}function H3(n){n.removeLeadSnapshot()}function GV(n,r,a){n.translate=Zt(r.translate,0,a),n.scale=Zt(r.scale,1,a),n.origin=r.origin,n.originPoint=r.originPoint}function YV(n,r,a,s){n.min=Zt(r.min,a.min,s),n.max=Zt(r.max,a.max,s)}function z3(n,r,a,s){YV(n.x,r.x,a.x,s),YV(n.y,r.y,a.y,s)}function L3(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const B3={duration:.45,ease:[.4,0,.1,1]},XV=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),QV=XV("applewebkit/")&&!XV("chrome/")?Math.round:fr;function KV(n){n.min=QV(n.min),n.max=QV(n.max)}function Z3(n){KV(n.x),KV(n.y)}function jN(n,r,a){return n==="position"||n==="preserve-aspect"&&!o3(ZV(r),ZV(a),.2)}function j3(n){var r;return n!==n.root&&((r=n.scroll)==null?void 0:r.wasRoot)}const U3=ZN({attachResizeListener:(n,r)=>rf(n,"resize",r),measureScroll:()=>{var n,r;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((r=document.body)==null?void 0:r.scrollTop)||0}},checkIsScrollRoot:()=>!0}),g1={current:void 0},UN=ZN({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!g1.current){const n=new U3({});n.mount(window),n.setOptions({layoutScroll:!0}),g1.current=n}return g1.current},resetTransform:(n,r)=>{n.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),ny=he.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function JV(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function I3(...n){return r=>{let a=!1;const s=n.map(u=>{const d=JV(u,r);return!a&&typeof d=="function"&&(a=!0),d});if(a)return()=>{for(let u=0;u<s.length;u++){const d=s[u];typeof d=="function"?d():JV(n[u],null)}}}}function P3(...n){return he.useCallback(I3(...n),n)}class F3 extends he.Component{getSnapshotBeforeUpdate(r){const a=this.props.childRef.current;if(Fh(a)&&r.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=a.offsetParent,u=Fh(s)&&s.offsetWidth||0,d=Fh(s)&&s.offsetHeight||0,c=getComputedStyle(a),h=this.props.sizeRef.current;h.height=parseFloat(c.height),h.width=parseFloat(c.width),h.top=a.offsetTop,h.left=a.offsetLeft,h.right=u-h.width-h.left,h.bottom=d-h.height-h.top,h.direction=c.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function q3({children:n,isPresent:r,anchorX:a,anchorY:s,root:u,pop:d}){var v;const c=he.useId(),h=he.useRef(null),p=he.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:b}=he.useContext(ny),y=((v=n.props)==null?void 0:v.ref)??(n==null?void 0:n.ref),g=P3(h,y);return he.useInsertionEffect(()=>{const{width:w,height:V,top:D,left:C,right:k,bottom:j,direction:U}=p.current;if(r||d===!1||!h.current||!w||!V)return;const Q=U==="rtl",Y=a==="left"?Q?`right: ${k}`:`left: ${C}`:Q?`left: ${C}`:`right: ${k}`,F=s==="bottom"?`bottom: ${j}`:`top: ${D}`;h.current.dataset.motionPopId=c;const fe=document.createElement("style");b&&(fe.nonce=b);const ie=u??document.head;return ie.appendChild(fe),fe.sheet&&fe.sheet.insertRule(`
|
|
289
|
+
[data-motion-pop-id="${c}"] {
|
|
290
|
+
position: absolute !important;
|
|
291
|
+
width: ${w}px !important;
|
|
292
|
+
height: ${V}px !important;
|
|
293
|
+
${Y}px !important;
|
|
294
|
+
${F}px !important;
|
|
295
|
+
}
|
|
296
|
+
`),()=>{var X;(X=h.current)==null||X.removeAttribute("data-motion-pop-id"),ie.contains(fe)&&ie.removeChild(fe)}},[r]),cr.jsx(F3,{isPresent:r,childRef:h,sizeRef:p,pop:d,children:d===!1?n:he.cloneElement(n,{ref:g})})}const $3=({children:n,initial:r,isPresent:a,onExitComplete:s,custom:u,presenceAffectsLayout:d,mode:c,anchorX:h,anchorY:p,root:b})=>{const y=Db(G3),g=he.useId();let v=!0,w=he.useMemo(()=>(v=!1,{id:g,initial:r,isPresent:a,custom:u,onExitComplete:V=>{y.set(V,!0);for(const D of y.values())if(!D)return;s&&s()},register:V=>(y.set(V,!1),()=>y.delete(V))}),[a,y,s]);return d&&v&&(w={...w}),he.useMemo(()=>{y.forEach((V,D)=>y.set(D,!1))},[a]),he.useEffect(()=>{!a&&!y.size&&s&&s()},[a]),n=cr.jsx(q3,{pop:c==="popLayout",isPresent:a,anchorX:h,anchorY:p,root:b,children:n}),cr.jsx(mp.Provider,{value:w,children:n})};function G3(){return new Map}function IN(n=!0){const r=he.useContext(mp);if(r===null)return[!0,null];const{isPresent:a,onExitComplete:s,register:u}=r,d=he.useId();he.useEffect(()=>{if(n)return u(d)},[n]);const c=he.useCallback(()=>n&&s&&s(d),[d,s,n]);return!a&&s?[!1,c]:[!0]}const Hh=n=>n.key||"";function WV(n){const r=[];return he.Children.forEach(n,a=>{he.isValidElement(a)&&r.push(a)}),r}const Y3=({children:n,custom:r,initial:a=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:d="sync",propagate:c=!1,anchorX:h="left",anchorY:p="top",root:b})=>{const[y,g]=IN(c),v=he.useMemo(()=>WV(n),[n]),w=c&&!y?[]:v.map(Hh),V=he.useRef(!0),D=he.useRef(v),C=Db(()=>new Map),k=he.useRef(new Set),[j,U]=he.useState(v),[Q,Y]=he.useState(v);gT(()=>{V.current=!1,D.current=v;for(let ie=0;ie<Q.length;ie++){const X=Hh(Q[ie]);w.includes(X)?(C.delete(X),k.current.delete(X)):C.get(X)!==!0&&C.set(X,!1)}},[Q,w.length,w.join("-")]);const F=[];if(v!==j){let ie=[...v];for(let X=0;X<Q.length;X++){const R=Q[X],xe=Hh(R);w.includes(xe)||(ie.splice(X,0,R),F.push(R))}return d==="wait"&&F.length&&(ie=F),Y(WV(ie)),U(v),null}d==="wait"&&Q.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:fe}=he.useContext(Rb);return cr.jsx(cr.Fragment,{children:Q.map(ie=>{const X=Hh(ie),R=c&&!y?!1:v===Q||w.includes(X),xe=()=>{if(k.current.has(X))return;if(C.has(X))k.current.add(X),C.set(X,!0);else return;let de=!0;C.forEach(ae=>{ae||(de=!1)}),de&&(fe==null||fe(),Y(D.current),c&&(g==null||g()),s&&s())};return cr.jsx($3,{isPresent:R,initial:!V.current||a?void 0:!1,custom:r,presenceAffectsLayout:u,mode:d,root:b,onExitComplete:R?void 0:xe,anchorX:h,anchorY:p,children:ie},X)})})},PN=he.createContext({strict:!1}),eM={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let tM=!1;function X3(){if(tM)return;const n={};for(const r in eM)n[r]={isEnabled:a=>eM[r].some(s=>!!a[s])};yN(n),tM=!0}function FN(){return X3(),DO()}function Q3(n){const r=FN();for(const a in n)r[a]={...r[a],...n[a]};yN(r)}const K3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function lp(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||K3.has(n)}let qN=n=>!lp(n);function J3(n){typeof n=="function"&&(qN=r=>r.startsWith("on")?!lp(r):n(r))}try{J3(require("@emotion/is-prop-valid").default)}catch{}function W3(n,r,a){const s={};for(const u in n)u==="values"&&typeof n.values=="object"||Pn(n[u])||(qN(u)||a===!0&&lp(u)||!r&&!lp(u)||n.draggable&&u.startsWith("onDrag"))&&(s[u]=n[u]);return s}const vp=he.createContext({});function eH(n,r){if(yp(n)){const{initial:a,animate:s}=n;return{initial:a===!1||nf(a)?a:void 0,animate:nf(s)?s:void 0}}return n.inherit!==!1?r:{}}function tH(n){const{initial:r,animate:a}=eH(n,he.useContext(vp));return he.useMemo(()=>({initial:r,animate:a}),[nM(r),nM(a)])}function nM(n){return Array.isArray(n)?n.join(" "):n}const iy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $N(n,r,a){for(const s in r)!Pn(r[s])&&!MN(s,a)&&(n[s]=r[s])}function nH({transformTemplate:n},r){return he.useMemo(()=>{const a=iy();return ey(a,r,n),Object.assign({},a.vars,a.style)},[r])}function iH(n,r){const a=n.style||{},s={};return $N(s,a,n),Object.assign(s,nH(n,r)),s}function rH(n,r){const a={},s=iH(n,r);return n.drag&&n.dragListener!==!1&&(a.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(a.tabIndex=0),a.style=s,a}const GN=()=>({...iy(),attrs:{}});function aH(n,r,a,s){const u=he.useMemo(()=>{const d=GN();return TN(d,r,AN(s),n.transformTemplate,n.style),{...d.attrs,style:{...d.style}}},[r]);if(n.style){const d={};$N(d,n.style,n),u.style={...d,...u.style}}return u}const oH=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ry(n){return typeof n!="string"||n.includes("-")?!1:!!(oH.indexOf(n)>-1||/[A-Z]/u.test(n))}function sH(n,r,a,{latestValues:s},u,d=!1,c){const p=(c??ry(n)?aH:rH)(r,s,u,n),b=W3(r,typeof n=="string",d),y=n!==he.Fragment?{...b,...p,ref:a}:{},{children:g}=r,v=he.useMemo(()=>Pn(g)?g.get():g,[g]);return he.createElement(n,{...y,children:v})}function lH({scrapeMotionValuesFromProps:n,createRenderState:r},a,s,u){return{latestValues:uH(a,s,u,n),renderState:r()}}function uH(n,r,a,s){const u={},d=s(n,{});for(const v in d)u[v]=Xh(d[v]);let{initial:c,animate:h}=n;const p=yp(n),b=gN(n);r&&b&&!p&&n.inherit!==!1&&(c===void 0&&(c=r.initial),h===void 0&&(h=r.animate));let y=a?a.initial===!1:!1;y=y||c===!1;const g=y?h:c;if(g&&typeof g!="boolean"&&!bp(g)){const v=Array.isArray(g)?g:[g];for(let w=0;w<v.length;w++){const V=Gb(n,v[w]);if(V){const{transitionEnd:D,transition:C,...k}=V;for(const j in k){let U=k[j];if(Array.isArray(U)){const Q=y?U.length-1:0;U=U[Q]}U!==null&&(u[j]=U)}for(const j in D)u[j]=D[j]}}}return u}const YN=n=>(r,a)=>{const s=he.useContext(vp),u=he.useContext(mp),d=()=>lH(n,r,s,u);return a?d():Db(d)},cH=YN({scrapeMotionValuesFromProps:ty,createRenderState:iy}),fH=YN({scrapeMotionValuesFromProps:kN,createRenderState:GN}),dH=Symbol.for("motionComponentSymbol");function hH(n,r,a){const s=he.useRef(a);he.useInsertionEffect(()=>{s.current=a});const u=he.useRef(null);return he.useCallback(d=>{var h;d&&((h=n.onMount)==null||h.call(n,d)),r&&(d?r.mount(d):r.unmount());const c=s.current;if(typeof c=="function")if(d){const p=c(d);typeof p=="function"&&(u.current=p)}else u.current?(u.current(),u.current=null):c(d);else c&&(c.current=d)},[r])}const XN=he.createContext({});function Yl(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function pH(n,r,a,s,u,d){var U,Q;const{visualElement:c}=he.useContext(vp),h=he.useContext(PN),p=he.useContext(mp),b=he.useContext(ny),y=b.reducedMotion,g=b.skipAnimations,v=he.useRef(null),w=he.useRef(!1);s=s||h.renderer,!v.current&&s&&(v.current=s(n,{visualState:r,parent:c,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:y,skipAnimations:g,isSVG:d}),w.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const V=v.current,D=he.useContext(XN);V&&!V.projection&&u&&(V.type==="html"||V.type==="svg")&&mH(v.current,a,u,D);const C=he.useRef(!1);he.useInsertionEffect(()=>{V&&C.current&&V.update(a,p)});const k=a[rN],j=he.useRef(!!k&&typeof window<"u"&&!((U=window.MotionHandoffIsComplete)!=null&&U.call(window,k))&&((Q=window.MotionHasOptimisedAnimation)==null?void 0:Q.call(window,k)));return gT(()=>{w.current=!0,V&&(C.current=!0,window.MotionIsMounted=!0,V.updateFeatures(),V.scheduleRenderMicrotask(),j.current&&V.animationState&&V.animationState.animateChanges())}),he.useEffect(()=>{V&&(!j.current&&V.animationState&&V.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var Y;(Y=window.MotionHandoffMarkAsComplete)==null||Y.call(window,k)}),j.current=!1),V.enteringChildren=void 0)}),V}function mH(n,r,a,s){const{layoutId:u,layout:d,drag:c,dragConstraints:h,layoutScroll:p,layoutRoot:b,layoutAnchor:y,layoutCrossfade:g}=r;n.projection=new a(n.latestValues,r["data-framer-portal-id"]?void 0:QN(n.parent)),n.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!c||h&&Yl(h),visualElement:n,animationType:typeof d=="string"?d:"both",initialPromotionConfig:s,crossfade:g,layoutScroll:p,layoutRoot:b,layoutAnchor:y})}function QN(n){if(n)return n.options.allowProjection!==!1?n.projection:QN(n.parent)}function b1(n,{forwardMotionProps:r=!1,type:a}={},s,u){s&&Q3(s);const d=a?a==="svg":ry(n),c=d?fH:cH;function h(b,y){let g;const v={...he.useContext(ny),...b,layoutId:gH(b)},{isStatic:w}=v,V=tH(b),D=c(b,w);if(!w&&typeof window<"u"){bH(v,s);const C=yH(v);g=C.MeasureLayout,V.visualElement=pH(n,D,v,u,C.ProjectionNode,d)}return cr.jsxs(vp.Provider,{value:V,children:[g&&V.visualElement?cr.jsx(g,{visualElement:V.visualElement,...v}):null,sH(n,b,hH(D,V.visualElement,y),D,w,r,d)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const p=he.forwardRef(h);return p[dH]=n,p}function gH({layoutId:n}){const r=he.useContext(Rb).id;return r&&n!==void 0?r+"-"+n:n}function bH(n,r){const a=he.useContext(PN).strict;if(r&&a){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?iu(!1,s,"lazy-strict-mode"):Ua(!1,s,"lazy-strict-mode")}}function yH(n){const r=FN(),{drag:a,layout:s}=r;if(!a&&!s)return{};const u={...a,...s};return{MeasureLayout:a!=null&&a.isEnabled(n)||s!=null&&s.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function vH(n,r){if(typeof Proxy>"u")return b1;const a=new Map,s=(d,c)=>b1(d,c,n,r),u=(d,c)=>(Hb(!1,"motion() is deprecated. Use motion.create() instead."),s(d,c));return new Proxy(u,{get:(d,c)=>c==="create"?s:(a.has(c)||a.set(c,b1(c,void 0,n,r)),a.get(c))})}const xH=(n,r)=>r.isSVG??ry(n)?new XO(r):new PO(r,{allowProjection:n!==he.Fragment});class wH extends Bo{constructor(r){super(r),r.animationState||(r.animationState=e3(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();bp(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:a}=this.node.prevProps||{};r!==a&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)==null||r.call(this)}}let SH=0;class EH extends Bo{constructor(){super(...arguments),this.id=SH++,this.isExitComplete=!1}update(){var d;if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:a}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===s)return;if(r&&s===!1){if(this.isExitComplete){const{initial:c,custom:h}=this.node.getProps();if(typeof c=="string"||typeof c=="object"&&c!==null&&!Array.isArray(c)){const p=Hs(this.node,c,h);if(p){const{transition:b,transitionEnd:y,...g}=p;for(const v in g)(d=this.node.getValue(v))==null||d.jump(g[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!r);a&&!r&&u.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){const{register:r,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const VH={animation:{Feature:wH},exit:{Feature:EH}};function ff(n){return{point:{x:n.pageX,y:n.pageY}}}const MH=n=>r=>Qb(r)&&n(r,ff(r));function Qc(n,r,a,s){return rf(n,r,MH(a),s)}const KN=({current:n})=>n?n.ownerDocument.defaultView:null,iM=(n,r)=>Math.abs(n-r);function TH(n,r){const a=iM(n.x,r.x),s=iM(n.y,r.y);return Math.sqrt(a**2+s**2)}const rM=new Set(["auto","scroll"]);class JN{constructor(r,a,{transformPagePoint:s,contextWindow:u=window,dragSnapToOrigin:d=!1,distanceThreshold:c=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=zh(this.lastRawMoveEventInfo,this.transformPagePoint));const w=y1(this.lastMoveEventInfo,this.history),V=this.startEvent!==null,D=TH(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!V&&!D)return;const{point:C}=w,{timestamp:k}=In;this.history.push({...C,timestamp:k});const{onStart:j,onMove:U}=this.handlers;V||(j&&j(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),U&&U(this.lastMoveEvent,w)},this.handlePointerMove=(w,V)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=V,this.lastMoveEventInfo=zh(V,this.transformPagePoint),jt.update(this.updatePoint,!0)},this.handlePointerUp=(w,V)=>{this.end();const{onEnd:D,onSessionEnd:C,resumeAnimation:k}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=y1(w.type==="pointercancel"?this.lastMoveEventInfo:zh(V,this.transformPagePoint),this.history);this.startEvent&&D&&D(w,j),C&&C(w,j)},!Qb(r))return;this.dragSnapToOrigin=d,this.handlers=a,this.transformPagePoint=s,this.distanceThreshold=c,this.contextWindow=u||window;const p=ff(r),b=zh(p,this.transformPagePoint),{point:y}=b,{timestamp:g}=In;this.history=[{...y,timestamp:g}];const{onSessionStart:v}=a;v&&v(r,y1(b,this.history)),this.removeListeners=lf(Qc(this.contextWindow,"pointermove",this.handlePointerMove),Qc(this.contextWindow,"pointerup",this.handlePointerUp),Qc(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(r){let a=r.parentElement;for(;a;){const s=getComputedStyle(a);(rM.has(s.overflowX)||rM.has(s.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const a=this.scrollPositions.get(r);if(!a)return;const s=r===window,u=s?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},d={x:u.x-a.x,y:u.y-a.y};d.x===0&&d.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(r,u),jt.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Lo(this.updatePoint)}}function zh(n,r){return r?{point:r(n.point)}:n}function aM(n,r){return{x:n.x-r.x,y:n.y-r.y}}function y1({point:n},r){return{point:n,delta:aM(n,WN(r)),offset:aM(n,NH(r)),velocity:AH(r,.1)}}function NH(n){return n[0]}function WN(n){return n[n.length-1]}function AH(n,r){if(n.length<2)return{x:0,y:0};let a=n.length-1,s=null;const u=WN(n);for(;a>=0&&(s=n[a],!(u.timestamp-s.timestamp>Ti(r)));)a--;if(!s)return{x:0,y:0};s===n[0]&&n.length>2&&u.timestamp-s.timestamp>Ti(r)*2&&(s=n[1]);const d=ur(u.timestamp-s.timestamp);if(d===0)return{x:0,y:0};const c={x:(u.x-s.x)/d,y:(u.y-s.y)/d};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function kH(n,{min:r,max:a},s){return r!==void 0&&n<r?n=s?Zt(r,n,s.min):Math.max(n,r):a!==void 0&&n>a&&(n=s?Zt(a,n,s.max):Math.min(n,a)),n}function oM(n,r,a){return{min:r!==void 0?n.min+r:void 0,max:a!==void 0?n.max+a-(n.max-n.min):void 0}}function CH(n,{top:r,left:a,bottom:s,right:u}){return{x:oM(n.x,a,u),y:oM(n.y,r,s)}}function sM(n,r){let a=r.min-n.min,s=r.max-n.max;return r.max-r.min<n.max-n.min&&([a,s]=[s,a]),{min:a,max:s}}function RH(n,r){return{x:sM(n.x,r.x),y:sM(n.y,r.y)}}function DH(n,r){let a=.5;const s=hi(n),u=hi(r);return u>s?a=ef(r.min,r.max-s,n.min):s>u&&(a=ef(n.min,n.max-u,r.min)),ua(0,1,a)}function _H(n,r){const a={};return r.min!==void 0&&(a.min=r.min-n.min),r.max!==void 0&&(a.max=r.max-n.min),a}const gb=.35;function OH(n=gb){return n===!1?n=0:n===!0&&(n=gb),{x:lM(n,"left","right"),y:lM(n,"top","bottom")}}function lM(n,r,a){return{min:uM(n,r),max:uM(n,a)}}function uM(n,r){return typeof n=="number"?n:n[r]||0}const HH=new WeakMap;class zH{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:a=!1,distanceThreshold:s}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const d=g=>{a&&this.snapToCursor(ff(g).point),this.stopAnimation()},c=(g,v)=>{const{drag:w,dragPropagation:V,onDragStart:D}=this.getProps();if(w&&!V&&(this.openDragLock&&this.openDragLock(),this.openDragLock=lO(w),!this.openDragLock))return;this.latestPointerEvent=g,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ra(k=>{let j=this.getAxisMotionValue(k).get()||0;if(la.test(j)){const{projection:U}=this.visualElement;if(U&&U.layout){const Q=U.layout.layoutBox[k];Q&&(j=hi(Q)*(parseFloat(j)/100))}}this.originPoint[k]=j}),D&&jt.update(()=>D(g,v),!1,!0),ob(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},h=(g,v)=>{this.latestPointerEvent=g,this.latestPanInfo=v;const{dragPropagation:w,dragDirectionLock:V,onDirectionLock:D,onDrag:C}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:k}=v;if(V&&this.currentDirection===null){this.currentDirection=BH(k),this.currentDirection!==null&&D&&D(this.currentDirection);return}this.updateAxis("x",v.point,k),this.updateAxis("y",v.point,k),this.visualElement.render(),C&&jt.update(()=>C(g,v),!1,!0)},p=(g,v)=>{this.latestPointerEvent=g,this.latestPanInfo=v,this.stop(g,v),this.latestPointerEvent=null,this.latestPanInfo=null},b=()=>{const{dragSnapToOrigin:g}=this.getProps();(g||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new JN(r,{onSessionStart:d,onStart:c,onMove:h,onSessionEnd:p,resumeAnimation:b},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:s,contextWindow:KN(this.visualElement),element:this.visualElement.current})}stop(r,a){const s=r||this.latestPointerEvent,u=a||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!u||!s)return;const{velocity:c}=u;this.startAnimation(c);const{onDragEnd:h}=this.getProps();h&&jt.postRender(()=>h(s,u))}cancel(){this.isDragging=!1;const{projection:r,animationState:a}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(r,a,s){const{drag:u}=this.getProps();if(!s||!Lh(r,u,this.currentDirection))return;const d=this.getAxisMotionValue(r);let c=this.originPoint[r]+s[r];this.constraints&&this.constraints[r]&&(c=kH(c,this.constraints[r],this.elastic[r])),d.set(c)}resolveConstraints(){var d;const{dragConstraints:r,dragElastic:a}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(d=this.visualElement.projection)==null?void 0:d.layout,u=this.constraints;r&&Yl(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=CH(s.layoutBox,r):this.constraints=!1,this.elastic=OH(a),u!==this.constraints&&!Yl(r)&&s&&this.constraints&&!this.hasMutatedConstraints&&ra(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=_H(s.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:a}=this.getProps();if(!r||!Yl(r))return!1;const s=r.current;Ua(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;u.root&&(u.root.scroll=void 0,u.root.updateScroll());const d=LO(s,u.root,this.visualElement.getTransformPagePoint());let c=RH(u.layout.layoutBox,d);if(a){const h=a(OO(c));this.hasMutatedConstraints=!!h,h&&(c=xN(h))}return c}startAnimation(r){const{drag:a,dragMomentum:s,dragElastic:u,dragTransition:d,dragSnapToOrigin:c,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},b=ra(y=>{if(!Lh(y,a,this.currentDirection))return;let g=p&&p[y]||{};(c===!0||c===y)&&(g={min:0,max:0});const v=u?200:1e6,w=u?40:1e7,V={type:"inertia",velocity:s?r[y]:0,bounceStiffness:v,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...d,...g};return this.startAxisValueAnimation(y,V)});return Promise.all(b).then(h)}startAxisValueAnimation(r,a){const s=this.getAxisMotionValue(r);return ob(this.visualElement,r),s.start($b(r,s,0,a,this.visualElement,!1))}stopAnimation(){ra(r=>this.getAxisMotionValue(r).stop())}getAxisMotionValue(r){const a=`_drag${r.toUpperCase()}`,u=this.visualElement.getProps()[a];return u||this.visualElement.getValue(r,this.visualElement.latestValues[r]??0)}snapToCursor(r){ra(a=>{const{drag:s}=this.getProps();if(!Lh(a,s,this.currentDirection))return;const{projection:u}=this.visualElement,d=this.getAxisMotionValue(a);if(u&&u.layout){const{min:c,max:h}=u.layout.layoutBox[a],p=d.get()||0;d.set(r[a]-Zt(c,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:a}=this.getProps(),{projection:s}=this.visualElement;if(!Yl(a)||!s||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};ra(c=>{const h=this.getAxisMotionValue(c);if(h&&this.constraints!==!1){const p=h.get();u[c]=DH({min:p,max:p},this.constraints[c])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),ra(c=>{if(!Lh(c,r,null))return;const h=this.getAxisMotionValue(c),{min:p,max:b}=this.constraints[c];h.set(Zt(p,b,u[c]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;HH.set(this.visualElement,this);const r=this.visualElement.current,a=Qc(r,"pointerdown",b=>{const{drag:y,dragListener:g=!0}=this.getProps(),v=b.target,w=v!==r&&pO(v);y&&g&&!w&&this.start(b)});let s;const u=()=>{const{dragConstraints:b}=this.getProps();Yl(b)&&b.current&&(this.constraints=this.resolveRefConstraints(),s||(s=LH(r,b.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,c=d.addEventListener("measure",u);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),jt.read(u);const h=rf(window,"resize",()=>this.scalePositionWithinConstraints()),p=d.addEventListener("didUpdate",(({delta:b,hasLayoutChanged:y})=>{this.isDragging&&y&&(ra(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=b[g].translate,v.set(v.get()+b[g].translate))}),this.visualElement.render())}));return()=>{h(),a(),c(),p&&p(),s&&s()}}getProps(){const r=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:s=!1,dragPropagation:u=!1,dragConstraints:d=!1,dragElastic:c=gb,dragMomentum:h=!0}=r;return{...r,drag:a,dragDirectionLock:s,dragPropagation:u,dragConstraints:d,dragElastic:c,dragMomentum:h}}}function cM(n){let r=!0;return()=>{if(r){r=!1;return}n()}}function LH(n,r,a){const s=bV(n,cM(a)),u=bV(r,cM(a));return()=>{s(),u()}}function Lh(n,r,a){return(r===!0||r===n)&&(a===null||a===n)}function BH(n,r=10){let a=null;return Math.abs(n.y)>r?a="y":Math.abs(n.x)>r&&(a="x"),a}class ZH extends Bo{constructor(r){super(r),this.removeGroupControls=fr,this.removeListeners=fr,this.controls=new zH(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||fr}update(){const{dragControls:r}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};r!==a&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const v1=n=>(r,a)=>{n&&jt.update(()=>n(r,a),!1,!0)};class jH extends Bo{constructor(){super(...arguments),this.removePointerDownListener=fr}onPointerDown(r){this.session=new JN(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:KN(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:a,onPan:s,onPanEnd:u}=this.node.getProps();return{onSessionStart:v1(r),onStart:v1(a),onMove:v1(s),onEnd:(d,c)=>{delete this.session,u&&jt.postRender(()=>u(d,c))}}}mount(){this.removePointerDownListener=Qc(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let x1=!1;class UH extends he.Component{componentDidMount(){const{visualElement:r,layoutGroup:a,switchLayoutGroup:s,layoutId:u}=this.props,{projection:d}=r;d&&(a.group&&a.group.add(d),s&&s.register&&u&&s.register(d),x1&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Qh.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:a,visualElement:s,drag:u,isPresent:d}=this.props,{projection:c}=s;return c&&(c.isPresent=d,r.layoutDependency!==a&&c.setOptions({...c.options,layoutDependency:a}),x1=!0,u||r.layoutDependency!==a||a===void 0||r.isPresent!==d?c.willUpdate():this.safeToRemove(),r.isPresent!==d&&(d?c.promote():c.relegate()||jt.postRender(()=>{const h=c.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:r,layoutAnchor:a}=this.props,{projection:s}=r;s&&(s.options.layoutAnchor=a,s.root.didUpdate(),Xb.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:a,switchLayoutGroup:s}=this.props,{projection:u}=r;x1=!0,u&&(u.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(u),s&&s.deregister&&s.deregister(u))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function eA(n){const[r,a]=IN(),s=he.useContext(Rb);return cr.jsx(UH,{...n,layoutGroup:s,switchLayoutGroup:he.useContext(XN),isPresent:r,safeToRemove:a})}const IH={pan:{Feature:jH},drag:{Feature:ZH,ProjectionNode:UN,MeasureLayout:eA}};function fM(n,r,a){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",a==="Start");const u="onHover"+a,d=s[u];d&&jt.postRender(()=>d(r,ff(r)))}class PH extends Bo{mount(){const{current:r}=this.node;r&&(this.unmount=cO(r,(a,s)=>(fM(this.node,s,"Start"),u=>fM(this.node,u,"End"))))}unmount(){}}class FH extends Bo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lf(rf(this.node.current,"focus",()=>this.onFocus()),rf(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dM(n,r,a){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",a==="Start");const u="onTap"+(a==="End"?"":a),d=s[u];d&&jt.postRender(()=>d(r,ff(r)))}class qH extends Bo{mount(){const{current:r}=this.node;if(!r)return;const{globalTapTarget:a,propagate:s}=this.node.props;this.unmount=gO(r,(u,d)=>(dM(this.node,d,"Start"),(c,{success:h})=>dM(this.node,c,h?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const bb=new WeakMap,w1=new WeakMap,$H=n=>{const r=bb.get(n.target);r&&r(n)},GH=n=>{n.forEach($H)};function YH({root:n,...r}){const a=n||document;w1.has(a)||w1.set(a,{});const s=w1.get(a),u=JSON.stringify(r);return s[u]||(s[u]=new IntersectionObserver(GH,{root:n,...r})),s[u]}function XH(n,r,a){const s=YH(r);return bb.set(n,a),s.observe(n),()=>{bb.delete(n),s.unobserve(n)}}const QH={some:0,all:1};class KH extends Bo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var p;(p=this.stopObserver)==null||p.call(this);const{viewport:r={}}=this.node.getProps(),{root:a,margin:s,amount:u="some",once:d}=r,c={root:a?a.current:void 0,rootMargin:s,threshold:typeof u=="number"?u:QH[u]},h=b=>{const{isIntersecting:y}=b;if(this.isInView===y||(this.isInView=y,d&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),w=y?g:v;w&&w(b)};this.stopObserver=XH(this.node.current,c,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:a}=this.node;["amount","margin","root"].some(JH(r,a))&&this.startObserver()}unmount(){var r;(r=this.stopObserver)==null||r.call(this),this.hasEnteredView=!1,this.isInView=!1}}function JH({viewport:n={}},{viewport:r={}}={}){return a=>n[a]!==r[a]}const WH={inView:{Feature:KH},tap:{Feature:qH},focus:{Feature:FH},hover:{Feature:PH}},e6={layout:{ProjectionNode:UN,MeasureLayout:eA}},t6={...VH,...WH,...IH,...e6},n6=vH(t6,xH),hM="__overview__",i6=["APPROVE","COMMENT","REQUEST_CHANGES"];async function r6(){const n=await fetch("/api/review");if(n.status===204)return null;if(!n.ok)throw new Error(`/api/review returned ${n.status}`);return await n.json()}async function a6(){const n=await fetch("/api/state");if(n.status===204)return null;if(!n.ok)throw new Error(`/api/state returned ${n.status}`);return await n.json()}async function o6(){const n=await fetch("/api/review",{method:"DELETE"});if(!n.ok)throw new Error(`DELETE /api/review returned ${n.status}`)}async function s6(n){const r=await fetch("/api/action",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)});if(!r.ok)throw new Error(`/api/action returned ${r.status}`);return await r.json()}async function l6(n,r){return await(await fetch("/api/submit",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({verdict:n,body:r})})).json()}function u6(n,r){const a=new URL("/api/claude",location.origin);a.searchParams.set("chunk_id",n.chunkId),n.question.trim()&&a.searchParams.set("q",n.question.trim());const s=new EventSource(a.toString());let u=!1;const d=()=>{u=!0,s.close()};return s.addEventListener("delta",c=>{u||r.onDelta(JSON.parse(c.data).text)}),s.addEventListener("done",c=>{u||(r.onDone(JSON.parse(c.data).state),d())}),s.addEventListener("error",c=>{if(u)return;const h=c.data;let p="Claude request failed (connection lost)";if(h)try{p=JSON.parse(h).message}catch{}r.onError(p),d()}),d}async function c6(){const n=await fetch("/api/reviews");if(!n.ok)throw new Error(`/api/reviews returned ${n.status}`);return await n.json()}async function pM(n){const r=await fetch(`/api/reviews/${n.owner}/${n.repo}/${n.number}`,{method:"DELETE"});if(!r.ok)throw new Error(`DELETE /api/reviews returned ${r.status}`)}async function yb(n){const r=await fetch("/api/reviews/open",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({ref:n})}),a=await r.json();if(!r.ok)throw new Error(a.error??`/api/reviews/open returned ${r.status}`);return a}function zs({children:n,className:r=""}){return A.jsxDEV("div",{className:`rounded-md border border-[var(--del-fg)]/30 bg-[var(--del-bg)] px-3 py-1.5 font-sans text-[12px] text-[var(--del-fg)] ${r}`,children:n},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ErrorBanner.tsx",lineNumber:9,columnNumber:5},this)}function Oo(n){return`${n.owner}/${n.repo}#${n.number}`}function S1(n){var r;return((r=n.meta)==null?void 0:r.title)??Oo(n.pr)}function f6({s:n}){const r=[];return n.viewed_count>0&&r.push(`${n.viewed_count} viewed`),n.comment_count>0&&r.push(`${n.comment_count} comment${n.comment_count===1?"":"s"}`),n.flagged_count>0&&r.push(`${n.flagged_count} flagged`),n.submitted&&r.push("submitted"),A.jsxDEV("span",{className:"font-mono text-[11px] text-faint",children:r.length?r.join(" · "):"not started"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:30,columnNumber:5},this)}function d6({open:n,currentPr:r,onClose:a,onSwitched:s,onCleared:u}){const[d,c]=he.useState(null),[h,p]=he.useState(null),[b,y]=he.useState(!1),[g,v]=he.useState(null),[w,V]=he.useState(""),[D,C]=he.useState(!1),k=he.useRef(null);if(he.useEffect(()=>{n&&(p(null),c6().then(c).catch(X=>p(X instanceof Error?X.message:String(X))),setTimeout(()=>{var X;return(X=k.current)==null?void 0:X.focus()},0))},[n]),!n)return null;const j=Oo(r),U=(d==null?void 0:d.find(X=>Oo(X.pr)===j))??null,Q=U?S1(U):j,Y=(d==null?void 0:d.find(X=>Oo(X.pr)!==j))??null,F=async X=>{if(!(!X.trim()||b)){y(!0),v(null);try{const R=await yb(X.trim());R.review&&R.state?(s(R.review,R.state),a()):v(R.error??"Failed to open review")}catch(R){v(R instanceof Error?R.message:String(R))}finally{y(!1)}}},fe=async X=>{try{await pM(X),c(R=>(R==null?void 0:R.filter(xe=>Oo(xe.pr)!==Oo(X)))??null)}catch{}},ie=async()=>{if(C(!1),Y){y(!0),v(null);try{const X=await yb(Oo(Y.pr));X.review&&X.state?(await pM(r).catch(()=>{}),s(X.review,X.state),a()):v("Failed to switch reviews")}catch(X){v(X instanceof Error?X.message:String(X))}finally{y(!1)}}else await o6().catch(()=>{}),u()};return A.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4 backdrop-blur-[1px]",onClick:b?void 0:a,children:A.jsxDEV("div",{onClick:X=>X.stopPropagation(),className:"flex max-h-[85vh] w-[540px] flex-col rounded-xl border border-edge bg-surface shadow-2xl",children:[A.jsxDEV("div",{className:"flex items-center justify-between border-b border-edge px-5 py-3",children:[A.jsxDEV("h2",{className:"text-[13px] font-semibold tracking-wide text-fg",children:"Reviews"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:143,columnNumber:11},this),A.jsxDEV("button",{onClick:a,disabled:b,className:"rounded border border-edge-strong px-1.5 py-0.5 font-mono text-[11px] text-muted transition hover:text-fg disabled:opacity-40",children:"esc"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:146,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:142,columnNumber:9},this),A.jsxDEV("div",{className:"thin-scroll min-h-0 flex-1 overflow-auto px-5 py-4",children:[A.jsxDEV("div",{className:"mb-4",children:[A.jsxDEV("label",{className:"mb-1.5 block font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:"Open a review"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:158,columnNumber:13},this),A.jsxDEV("div",{className:"flex gap-2",children:[A.jsxDEV("input",{ref:k,type:"text",value:w,onChange:X=>V(X.target.value),onKeyDown:X=>{X.key==="Enter"&&F(w),X.key==="Escape"&&a()},placeholder:"owner/repo#123 or PR URL",disabled:b,className:"min-w-0 flex-1 rounded-md border border-edge bg-bg px-3 py-1.5 font-mono text-[12.5px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none disabled:opacity-50"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:162,columnNumber:15},this),A.jsxDEV("button",{onClick:()=>void F(w),disabled:b||!w.trim(),className:"rounded-md bg-accent px-3 py-1.5 text-[12.5px] font-semibold text-bg transition hover:brightness-110 disabled:opacity-50",children:b?"Opening…":"Open"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:175,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:161,columnNumber:13},this),g&&A.jsxDEV(zs,{className:"mt-2 text-[12px] py-1.5",children:g},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:184,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:157,columnNumber:11},this),A.jsxDEV("div",{children:[A.jsxDEV("div",{className:"mb-1.5 font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:"Ongoing reviews"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:192,columnNumber:13},this),h?A.jsxDEV(zs,{className:"text-[12px] py-1.5",children:h},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:196,columnNumber:15},this):d===null?A.jsxDEV("p",{className:"font-mono text-[12px] text-faint",children:"Loading…"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:200,columnNumber:15},this):d.length===0?A.jsxDEV("p",{className:"font-sans text-[12.5px] text-faint italic",children:"No saved reviews yet."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:202,columnNumber:15},this):A.jsxDEV("ul",{className:"space-y-1.5",children:d.map(X=>{const R=Oo(X.pr),xe=R===j;return A.jsxDEV("li",{className:`flex items-start gap-2 rounded-md border px-3 py-2 ${xe?"border-accent/40 bg-accent/[0.06]":"border-edge hover:border-edge-strong"}`,children:[A.jsxDEV("div",{className:"min-w-0 flex-1",children:[A.jsxDEV("div",{className:"truncate text-[13px] font-medium text-fg",children:[S1(X),xe&&A.jsxDEV("span",{className:"ml-2 rounded-full bg-accent/20 px-1.5 font-mono text-[10px] text-accent",children:"current"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:223,columnNumber:29},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:220,columnNumber:25},this),A.jsxDEV("div",{className:"mt-0.5 flex items-center gap-2",children:[A.jsxDEV("span",{className:"font-mono text-[11px] text-faint/70",children:R},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:229,columnNumber:27},this),A.jsxDEV("span",{className:"text-edge-strong",children:"·"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:232,columnNumber:27},this),A.jsxDEV(f6,{s:X},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:233,columnNumber:27},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:228,columnNumber:25},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:219,columnNumber:23},this),A.jsxDEV("div",{className:"flex shrink-0 items-center gap-1.5",children:[!xe&&A.jsxDEV("button",{onClick:()=>void F(R),disabled:b,className:"rounded border border-edge-strong px-2 py-0.5 text-[11.5px] text-muted transition hover:border-fg/40 hover:text-fg disabled:opacity-40",children:"Switch"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:238,columnNumber:27},this),A.jsxDEV("button",{onClick:()=>xe?C(!0):void fe(X.pr),disabled:b||xe&&D,title:"Remove from list",className:"rounded border border-edge-strong px-2 py-0.5 text-[11.5px] text-muted transition hover:border-red-400/40 hover:text-red-300 disabled:opacity-40",children:"✕"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:246,columnNumber:25},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:236,columnNumber:23},this)]},R,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:211,columnNumber:21},this)})},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:206,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:191,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:155,columnNumber:9},this),D&&A.jsxDEV("div",{className:"border-t border-edge px-5 py-4",children:[A.jsxDEV("p",{className:"text-[13px] font-medium text-fg",children:["Delete"," ",A.jsxDEV("span",{className:"text-red-300",children:['"',Q,'"']},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:272,columnNumber:15},this),"?"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:270,columnNumber:13},this),A.jsxDEV("p",{className:"mt-0.5 text-[12px] text-muted",children:Y?`You'll be switched to "${S1(Y)}".`:"No other reviews. Your current session will end."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:274,columnNumber:13},this),g&&A.jsxDEV(zs,{className:"mt-2 py-1.5 text-[12px]",children:g},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:280,columnNumber:15},this),A.jsxDEV("div",{className:"mt-3 flex justify-end gap-2",children:[A.jsxDEV("button",{onClick:()=>C(!1),disabled:b,className:"rounded border border-edge-strong px-3 py-1 text-[12px] text-muted transition hover:text-fg disabled:opacity-40",children:"Cancel"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:285,columnNumber:15},this),A.jsxDEV("button",{onClick:()=>void ie(),disabled:b,className:"rounded border border-red-400/40 bg-red-400/10 px-3 py-1 text-[12px] text-red-300 transition hover:bg-red-400/20 disabled:opacity-40",children:b?Y?"Switching…":"Deleting…":"Delete"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:292,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:284,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:269,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:137,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ReviewsMenu.tsx",lineNumber:133,columnNumber:5},this)}function ay({className:n}){return A.jsxDEV("svg",{className:n,viewBox:"0 0 488 194",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"assisted-review",children:[A.jsxDEV("path",{transform:"translate(75.32,84.00) scale(0.035156,-0.035156)",d:"M1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 -2V199H1601V-2ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 800V1001H1400V800ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM401 399V600H602V399ZM201 1398V1599H401V1398ZM201 -198V-2H401V-198ZM201 -2V199H401V-2ZM201 399V600H401V399ZM201 600V800H401V600ZM201 1202V1398H401V1202ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:13,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(138.63,84.00) scale(0.035156,-0.035156)",d:"M1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 -2V199H1601V-2ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 800V1001H1400V800ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM401 399V600H602V399ZM201 1398V1599H401V1398ZM201 -198V-2H401V-198ZM201 -2V199H401V-2ZM201 399V600H401V399ZM201 600V800H401V600ZM201 1202V1398H401V1202ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:14,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(230.00,84.00) scale(0.035156,-0.035156)",d:"M1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 -2V199H1601V-2ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 800V1001H1400V800ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM401 399V600H602V399ZM201 1398V1599H401V1398ZM201 -198V-2H401V-198ZM201 -2V199H401V-2ZM201 399V600H401V399ZM201 600V800H401V600ZM201 1202V1398H401V1202ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:15,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(293.32,84.00) scale(0.035156,-0.035156)",d:"M1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1400 800V1001H1601V800ZM1400 1001V1202H1601V1001ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 -2V199H1400V-2ZM1200 199V399H1400V199ZM1200 399V600H1400V399ZM1200 600V800H1400V600ZM1200 800V1001H1400V800ZM1200 1001V1202H1400V1001ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 -2V199H1200V-2ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 600V800H1200V600ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM401 1398V1599H602V1398ZM401 -198V-2H602V-198ZM401 -2V199H602V-2ZM401 199V399H602V199ZM401 399V600H602V399ZM401 600V800H602V600ZM401 800V1001H602V800ZM401 1001V1202H602V1001ZM201 1398V1599H401V1398ZM201 1001V1202H401V1001ZM0 1398V1599H201V1398ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:16,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(349.61,84.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 1202V1398H1998V1202ZM1601 1398V1599H1801V1398ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 199V399H1601V199ZM1400 399V600H1601V399ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1001V1202H1601V1001ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 199V399H1400V199ZM1200 399V600H1400V399ZM1200 800V1001H1400V800ZM1200 1001V1202H1400V1001ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:17,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(412.92,84.00) scale(0.035156,-0.035156)",d:"M1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 -2V199H1601V-2ZM1400 199V399H1601V199ZM1400 1001V1202H1601V1001ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 -2V199H1400V-2ZM1200 1202V1398H1400V1202ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 399V600H1200V399ZM999 600V800H1200V600ZM999 800V1001H1200V800ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 600V800H999V600ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:18,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(71.80,166.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 600V800H1601V600ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM999 1398V1599H1200V1398ZM999 -198V-2H1200V-198ZM999 -2V199H1200V-2ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 -2V199H999V-2ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:19,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(135.12,166.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 1202V1398H1998V1202ZM1601 1398V1599H1801V1398ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 199V399H1601V199ZM1400 399V600H1601V399ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1001V1202H1601V1001ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 199V399H1400V199ZM1200 399V600H1400V399ZM1200 800V1001H1400V800ZM1200 1001V1202H1400V1001ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:20,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(198.43,166.00) scale(0.035156,-0.035156)",d:"M1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 1202V1398H1998V1202ZM1601 1398V1599H1801V1398ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1400 -198V-2H1601V-198ZM1400 -2V199H1601V-2ZM1400 199V399H1601V199ZM1400 399V600H1601V399ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 -2V199H1400V-2ZM1200 199V399H1400V199ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 -2V199H1200V-2ZM999 600V800H1200V600ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM999 1202V1398H1200V1202ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 399V600H999V399ZM798 600V800H999V600ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM798 1202V1398H999V1202ZM602 1398V1599H798V1398ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM602 1202V1398H798V1202ZM401 1398V1599H602V1398ZM401 -2V199H602V-2ZM401 199V399H602V199ZM201 1398V1599H401V1398ZM201 199V399H401V199ZM201 399V600H401V399ZM0 1398V1599H201V1398ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:21,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(261.75,166.00) scale(0.035156,-0.035156)",d:"M999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 -2V199H999V-2ZM798 199V399H999V199ZM798 399V600H999V399ZM798 600V800H999V600ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM798 1202V1398H999V1202ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 199V399H798V199ZM602 399V600H798V399ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM602 1202V1398H798V1202ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:22,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(289.80,166.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 1202V1398H1998V1202ZM1601 1398V1599H1801V1398ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 199V399H1601V199ZM1400 399V600H1601V399ZM1400 600V800H1601V600ZM1400 800V1001H1601V800ZM1400 1001V1202H1601V1001ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM1200 199V399H1400V199ZM1200 399V600H1400V399ZM1200 800V1001H1400V800ZM1200 1001V1202H1400V1001ZM999 1398V1599H1200V1398ZM1200 -198V-396H999V-198ZM999 -198V-2H1200V-198ZM999 199V399H1200V199ZM999 399V600H1200V399ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 199V399H999V199ZM798 399V600H999V399ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 199V399H798V199ZM602 399V600H798V399ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:23,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(353.12,166.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 1202V1398H1998V1202ZM1601 1398V1599H1801V1398ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM999 1398V1599H1200V1398ZM999 -198V-2H1200V-198ZM999 -2V199H1200V-2ZM999 600V800H1200V600ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM999 1202V1398H1200V1202ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 -2V199H999V-2ZM798 199V399H999V199ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM798 1202V1398H999V1202ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM602 1202V1398H798V1202ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"currentColor",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:24,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(12.00,84.00) scale(0.035156,-0.035156)",d:"M1998 -198V-396H1801V-198ZM1801 -198V-2H1998V-198ZM1801 -2V199H1998V-2ZM1801 199V399H1998V199ZM1801 399V600H1998V399ZM1801 600V800H1998V600ZM1801 800V1001H1998V800ZM1801 1001V1202H1998V1001ZM1801 -198V-396H1601V-198ZM1601 -198V-2H1801V-198ZM1601 -2V199H1801V-2ZM1601 199V399H1801V199ZM1601 399V600H1801V399ZM1601 600V800H1801V600ZM1601 800V1001H1801V800ZM1601 1001V1202H1801V1001ZM1601 1202V1398H1801V1202ZM1400 1398V1599H1601V1398ZM1601 -198V-396H1400V-198ZM1400 -198V-2H1601V-198ZM1400 1202V1398H1601V1202ZM1200 1398V1599H1400V1398ZM1400 -198V-396H1200V-198ZM1200 -198V-2H1400V-198ZM999 1398V1599H1200V1398ZM999 -198V-2H1200V-198ZM999 -2V199H1200V-2ZM999 199V399H1200V199ZM999 600V800H1200V600ZM999 800V1001H1200V800ZM999 1001V1202H1200V1001ZM798 1398V1599H999V1398ZM999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 -2V199H999V-2ZM798 199V399H999V199ZM798 600V800H999V600ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 199V399H798V199ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM201 1202V1398H401V1202ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"var(--accent, #e3b341)",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:25,columnNumber:7},this),A.jsxDEV("path",{transform:"translate(201.95,84.00) scale(0.035156,-0.035156)",d:"M999 -198V-396H798V-198ZM798 -198V-2H999V-198ZM798 -2V199H999V-2ZM798 199V399H999V199ZM798 399V600H999V399ZM798 600V800H999V600ZM798 800V1001H999V800ZM798 1001V1202H999V1001ZM798 1202V1398H999V1202ZM602 1398V1599H798V1398ZM798 -198V-396H602V-198ZM602 -198V-2H798V-198ZM602 -2V199H798V-2ZM602 199V399H798V199ZM602 399V600H798V399ZM602 600V800H798V600ZM602 800V1001H798V800ZM602 1001V1202H798V1001ZM602 1202V1398H798V1202ZM401 1398V1599H602V1398ZM602 -198V-396H401V-198ZM401 -198V-2H602V-198ZM201 1398V1599H401V1398ZM401 -198V-396H201V-198ZM201 -198V-2H401V-198ZM0 1398V1599H201V1398ZM0 -198V-2H201V-198ZM0 -2V199H201V-2ZM0 199V399H201V199ZM0 399V600H201V399ZM0 600V800H201V600ZM0 800V1001H201V800ZM0 1001V1202H201V1001ZM0 1202V1398H201V1202Z",fill:"var(--accent, #e3b341)",stroke:"var(--bg, #0b0d11)",strokeWidth:"199.11",paintOrder:"stroke fill"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:26,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Logo.tsx",lineNumber:6,columnNumber:5},this)}function h6({onOpened:n}){const[r,a]=he.useState(""),[s,u]=he.useState(!1),[d,c]=he.useState(null),h=async()=>{if(!(!r.trim()||s)){u(!0),c(null);try{const p=await yb(r.trim());p.review&&p.state?n(p.review,p.state):c(p.error??"Failed to open review")}catch(p){c(p instanceof Error?p.message:String(p))}finally{u(!1)}}};return A.jsxDEV("div",{className:"flex h-full flex-col items-center justify-center gap-8 bg-bg px-4",children:[A.jsxDEV(ay,{className:"h-16 w-auto text-fg/80"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:35,columnNumber:7},this),A.jsxDEV("div",{className:"w-full max-w-sm",children:[A.jsxDEV("p",{className:"mb-4 text-center font-sans text-[13px] text-muted",children:"Open a pull request to begin reviewing"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:37,columnNumber:9},this),A.jsxDEV("div",{className:"flex gap-2",children:[A.jsxDEV("input",{type:"text",value:r,onChange:p=>a(p.target.value),onKeyDown:p=>{p.key==="Enter"&&h()},placeholder:"owner/repo#123 or PR URL",disabled:s,autoFocus:!0,className:"min-w-0 flex-1 rounded-md border border-edge bg-surface px-3 py-2 font-mono text-[12.5px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none disabled:opacity-50"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:41,columnNumber:11},this),A.jsxDEV("button",{onClick:()=>void h(),disabled:s||!r.trim(),className:"rounded-md bg-accent px-4 py-2 text-[12.5px] font-semibold text-bg transition hover:brightness-110 disabled:opacity-50",children:s?"Opening…":"Open"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:53,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:40,columnNumber:9},this),d&&A.jsxDEV(zs,{className:"mt-3 text-[12px]",children:d},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:62,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:36,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Splash.tsx",lineNumber:34,columnNumber:5},this)}function mM(n){return String(n).padStart(2,"0")}function p6({pr:n,meta:r,chunks:a,index:s,viewed:u,flagged:d,commented:c,commentCount:h,submitted:p,onJump:b,onOpenHelp:y,onOpenReviews:g,onSubmit:v}){return A.jsxDEV("header",{className:"shrink-0 border-b border-edge bg-surface",children:[A.jsxDEV("div",{className:"shell flex items-center justify-between gap-6 pt-3",children:[A.jsxDEV("div",{className:"flex min-w-0 items-center gap-3",children:[A.jsxDEV(ay,{className:"h-8 w-auto shrink-0 text-fg"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:41,columnNumber:11},this),A.jsxDEV("span",{className:"h-8 w-px shrink-0 bg-edge","aria-hidden":!0},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:42,columnNumber:11},this),A.jsxDEV("div",{className:"min-w-0",children:[A.jsxDEV("div",{className:"truncate text-[14px] font-medium text-fg",children:r.title},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:44,columnNumber:13},this),A.jsxDEV("div",{className:"mt-0.5 font-mono text-[11px] text-faint",children:[n.owner,"/",n.repo,"#",n.number,A.jsxDEV("span",{className:"text-edge-strong",children:" · "},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:49,columnNumber:15},this),r.base_ref," ← ",r.head_ref,r.is_draft&&A.jsxDEV("span",{className:"ml-2 text-accent",children:"draft"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:51,columnNumber:33},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:47,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:43,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:40,columnNumber:9},this),A.jsxDEV("div",{className:"flex shrink-0 items-center gap-3",children:[A.jsxDEV("div",{className:"font-mono text-[13px] tabular-nums",children:s<0?A.jsxDEV("span",{className:"text-accent",children:"Overview"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:58,columnNumber:15},this):A.jsxDEV(A.Fragment,{children:[A.jsxDEV("span",{className:"text-accent",children:mM(s+1)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:61,columnNumber:17},this),A.jsxDEV("span",{className:"text-faint",children:[" / ",mM(a.length)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:62,columnNumber:17},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:60,columnNumber:15},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:56,columnNumber:11},this),p?A.jsxDEV("span",{title:"Review submitted to GitHub",className:"rounded-md border border-emerald-400/40 bg-emerald-400/[0.08] px-2.5 py-1 font-sans text-[11.5px] font-semibold text-emerald-300",children:"✓ Submitted"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:67,columnNumber:13},this):A.jsxDEV("button",{onClick:v,title:"Submit review to GitHub",className:"flex items-center gap-1.5 rounded-md bg-accent px-3 py-1 text-[12px] font-semibold text-bg transition hover:brightness-110",children:["Submit",h>0&&A.jsxDEV("span",{className:"rounded-full bg-bg/25 px-1.5 font-mono text-[11px] tabular-nums",children:h},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:81,columnNumber:17},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:74,columnNumber:13},this),A.jsxDEV("button",{onClick:g,"aria-label":"Reviews",title:"View / switch reviews",className:"rounded border border-edge-strong px-2 py-0.5 font-sans text-[11.5px] text-muted transition hover:border-fg/40 hover:text-fg",children:"Reviews"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:87,columnNumber:11},this),A.jsxDEV("button",{onClick:y,"aria-label":"Keyboard shortcuts",title:"Keyboard shortcuts (?)",className:"rounded border border-edge-strong px-1.5 font-mono text-[12px] text-muted transition hover:border-fg/40 hover:text-fg",children:"?"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:95,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:55,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:39,columnNumber:7},this),A.jsxDEV("div",{className:"shell flex h-[18px] items-end gap-[3px] pb-2",children:[A.jsxDEV("button",{onClick:()=>b(-1),title:"Overview","aria-label":"Overview",className:`mr-1 h-[11px] w-[11px] shrink-0 rounded-sm transition-all ${s<0?"bg-accent":"bg-edge-strong hover:bg-fg/40"}`},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:108,columnNumber:9},this),a.map((w,V)=>{const D=V===s,C=d.includes(w.id)?"flagged":c.includes(w.id)?"commented":u.includes(w.id)?"viewed":"unviewed",k=D?"bg-accent":C==="flagged"?"bg-orange-400/75":C==="commented"?"bg-violet-400/75":C==="viewed"?"bg-emerald-400/40":"bg-edge-strong hover:bg-fg/40";return A.jsxDEV("button",{onClick:()=>b(V),title:`${w.id} · ${w.file}${D?"":` · ${C}`}`,"aria-label":`Go to chunk ${V+1}: ${w.file} (${C})`,className:`flex-1 rounded-full transition-all ${k} ${D?"h-[11px]":"h-[5px]"}`},w.id,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:137,columnNumber:13},this)})]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:107,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/TopNav.tsx",lineNumber:38,columnNumber:5},this)}const m6=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@/;function g6(n){const r=[];let a=0,s=0;for(const u of n.split(`
|
|
297
|
+
`)){const d=u.match(m6);if(d){a=Number(d[1]),s=Number(d[2]),r.push({type:"hunk",text:u});continue}const c=u[0],h=u.slice(1);c==="+"?(r.push({type:"add",newLn:s,text:h,sign:"+"}),s++):c==="-"?(r.push({type:"del",oldLn:a,text:h,sign:"-"}),a++):c==="\\"?r.push({type:"meta",text:u}):(r.push({type:"ctx",oldLn:a,newLn:s,text:h,sign:" "}),a++,s++)}return r}function b6(n){const[r,a]=n.new_range;return r===a?`+${r}`:`+${r}–${a}`}var E1,gM;function y6(){if(gM)return E1;gM=1;function n(_){return _ instanceof Map?_.clear=_.delete=_.set=function(){throw new Error("map is read-only")}:_ instanceof Set&&(_.add=_.clear=_.delete=function(){throw new Error("set is read-only")}),Object.freeze(_),Object.getOwnPropertyNames(_).forEach(J=>{const ce=_[J],je=typeof ce;(je==="object"||je==="function")&&!Object.isFrozen(ce)&&n(ce)}),_}class r{constructor(J){J.data===void 0&&(J.data={}),this.data=J.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(_){return _.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(_,...J){const ce=Object.create(null);for(const je in _)ce[je]=_[je];return J.forEach(function(je){for(const Vt in je)ce[Vt]=je[Vt]}),ce}const u="</span>",d=_=>!!_.scope,c=(_,{prefix:J})=>{if(_.startsWith("language:"))return _.replace("language:","language-");if(_.includes(".")){const ce=_.split(".");return[`${J}${ce.shift()}`,...ce.map((je,Vt)=>`${je}${"_".repeat(Vt+1)}`)].join(" ")}return`${J}${_}`};class h{constructor(J,ce){this.buffer="",this.classPrefix=ce.classPrefix,J.walk(this)}addText(J){this.buffer+=a(J)}openNode(J){if(!d(J))return;const ce=c(J.scope,{prefix:this.classPrefix});this.span(ce)}closeNode(J){d(J)&&(this.buffer+=u)}value(){return this.buffer}span(J){this.buffer+=`<span class="${J}">`}}const p=(_={})=>{const J={children:[]};return Object.assign(J,_),J};class b{constructor(){this.rootNode=p(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(J){this.top.children.push(J)}openNode(J){const ce=p({scope:J});this.add(ce),this.stack.push(ce)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(J){return this.constructor._walk(J,this.rootNode)}static _walk(J,ce){return typeof ce=="string"?J.addText(ce):ce.children&&(J.openNode(ce),ce.children.forEach(je=>this._walk(J,je)),J.closeNode(ce)),J}static _collapse(J){typeof J!="string"&&J.children&&(J.children.every(ce=>typeof ce=="string")?J.children=[J.children.join("")]:J.children.forEach(ce=>{b._collapse(ce)}))}}class y extends b{constructor(J){super(),this.options=J}addText(J){J!==""&&this.add(J)}startScope(J){this.openNode(J)}endScope(){this.closeNode()}__addSublanguage(J,ce){const je=J.root;ce&&(je.scope=`language:${ce}`),this.add(je)}toHTML(){return new h(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function g(_){return _?typeof _=="string"?_:_.source:null}function v(_){return D("(?=",_,")")}function w(_){return D("(?:",_,")*")}function V(_){return D("(?:",_,")?")}function D(..._){return _.map(ce=>g(ce)).join("")}function C(_){const J=_[_.length-1];return typeof J=="object"&&J.constructor===Object?(_.splice(_.length-1,1),J):{}}function k(..._){return"("+(C(_).capture?"":"?:")+_.map(je=>g(je)).join("|")+")"}function j(_){return new RegExp(_.toString()+"|").exec("").length-1}function U(_,J){const ce=_&&_.exec(J);return ce&&ce.index===0}const Q=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Y(_,{joinWith:J}){let ce=0;return _.map(je=>{ce+=1;const Vt=ce;let It=g(je),He="";for(;It.length>0;){const _e=Q.exec(It);if(!_e){He+=It;break}He+=It.substring(0,_e.index),It=It.substring(_e.index+_e[0].length),_e[0][0]==="\\"&&_e[1]?He+="\\"+String(Number(_e[1])+Vt):(He+=_e[0],_e[0]==="("&&ce++)}return He}).map(je=>`(${je})`).join(J)}const F=/\b\B/,fe="[a-zA-Z]\\w*",ie="[a-zA-Z_]\\w*",X="\\b\\d+(\\.\\d+)?",R="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",xe="\\b(0b[01]+)",de="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ae=(_={})=>{const J=/^#![ ]*\//;return _.binary&&(_.begin=D(J,/.*\b/,_.binary,/\b.*/)),s({scope:"meta",begin:J,end:/$/,relevance:0,"on:begin":(ce,je)=>{ce.index!==0&&je.ignoreMatch()}},_)},ee={begin:"\\\\[\\s\\S]",relevance:0},ue={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ee]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ee]},ve={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},le=function(_,J,ce={}){const je=s({scope:"comment",begin:_,end:J,contains:[]},ce);je.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Vt=k("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return je.contains.push({begin:D(/[ ]+/,"(",Vt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),je},Ve=le("//","$"),H=le("/\\*","\\*/"),z=le("#","$"),pe={scope:"number",begin:X,relevance:0},O={scope:"number",begin:R,relevance:0},Me={scope:"number",begin:xe,relevance:0},vt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ee,{begin:/\[/,end:/\]/,relevance:0,contains:[ee]}]},cn={scope:"title",begin:fe,relevance:0},$e={scope:"title",begin:ie,relevance:0},nt={begin:"\\.\\s*"+ie,relevance:0};var Rt=Object.freeze({__proto__:null,APOS_STRING_MODE:ue,BACKSLASH_ESCAPE:ee,BINARY_NUMBER_MODE:Me,BINARY_NUMBER_RE:xe,COMMENT:le,C_BLOCK_COMMENT_MODE:H,C_LINE_COMMENT_MODE:Ve,C_NUMBER_MODE:O,C_NUMBER_RE:R,END_SAME_AS_BEGIN:function(_){return Object.assign(_,{"on:begin":(J,ce)=>{ce.data._beginMatch=J[1]},"on:end":(J,ce)=>{ce.data._beginMatch!==J[1]&&ce.ignoreMatch()}})},HASH_COMMENT_MODE:z,IDENT_RE:fe,MATCH_NOTHING_RE:F,METHOD_GUARD:nt,NUMBER_MODE:pe,NUMBER_RE:X,PHRASAL_WORDS_MODE:ve,QUOTE_STRING_MODE:W,REGEXP_MODE:vt,RE_STARTERS_RE:de,SHEBANG:ae,TITLE_MODE:cn,UNDERSCORE_IDENT_RE:ie,UNDERSCORE_TITLE_MODE:$e});function Ee(_,J){_.input[_.index-1]==="."&&J.ignoreMatch()}function An(_,J){_.className!==void 0&&(_.scope=_.className,delete _.className)}function De(_,J){J&&_.beginKeywords&&(_.begin="\\b("+_.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",_.__beforeBegin=Ee,_.keywords=_.keywords||_.beginKeywords,delete _.beginKeywords,_.relevance===void 0&&(_.relevance=0))}function Oe(_,J){Array.isArray(_.illegal)&&(_.illegal=k(..._.illegal))}function tt(_,J){if(_.match){if(_.begin||_.end)throw new Error("begin & end are not supported with match");_.begin=_.match,delete _.match}}function it(_,J){_.relevance===void 0&&(_.relevance=1)}const Qt=(_,J)=>{if(!_.beforeMatch)return;if(_.starts)throw new Error("beforeMatch cannot be used with starts");const ce=Object.assign({},_);Object.keys(_).forEach(je=>{delete _[je]}),_.keywords=ce.keywords,_.begin=D(ce.beforeMatch,v(ce.begin)),_.starts={relevance:0,contains:[Object.assign(ce,{endsParent:!0})]},_.relevance=0,delete ce.beforeMatch},Ai=["of","and","for","in","not","or","if","then","parent","list","value"],dr="keyword";function Re(_,J,ce=dr){const je=Object.create(null);return typeof _=="string"?Vt(ce,_.split(" ")):Array.isArray(_)?Vt(ce,_):Object.keys(_).forEach(function(It){Object.assign(je,Re(_[It],J,It))}),je;function Vt(It,He){J&&(He=He.map(_e=>_e.toLowerCase())),He.forEach(function(_e){const Fe=_e.split("|");je[Fe[0]]=[It,kr(Fe[0],Fe[1])]})}}function kr(_,J){return J?Number(J):pi(_)?0:1}function pi(_){return Ai.includes(_.toLowerCase())}const qi={},kn=_=>{console.error(_)},fa=(_,...J)=>{console.log(`WARN: ${_}`,...J)},re=(_,J)=>{qi[`${_}/${J}`]||(console.log(`Deprecated as of ${_}. ${J}`),qi[`${_}/${J}`]=!0)},oe=new Error;function ke(_,J,{key:ce}){let je=0;const Vt=_[ce],It={},He={};for(let _e=1;_e<=J.length;_e++)He[_e+je]=Vt[_e],It[_e+je]=!0,je+=j(J[_e-1]);_[ce]=He,_[ce]._emit=It,_[ce]._multi=!0}function We(_){if(Array.isArray(_.begin)){if(_.skip||_.excludeBegin||_.returnBegin)throw kn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),oe;if(typeof _.beginScope!="object"||_.beginScope===null)throw kn("beginScope must be object"),oe;ke(_,_.begin,{key:"beginScope"}),_.begin=Y(_.begin,{joinWith:""})}}function mt(_){if(Array.isArray(_.end)){if(_.skip||_.excludeEnd||_.returnEnd)throw kn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),oe;if(typeof _.endScope!="object"||_.endScope===null)throw kn("endScope must be object"),oe;ke(_,_.end,{key:"endScope"}),_.end=Y(_.end,{joinWith:""})}}function rn(_){_.scope&&typeof _.scope=="object"&&_.scope!==null&&(_.beginScope=_.scope,delete _.scope)}function Hn(_){rn(_),typeof _.beginScope=="string"&&(_.beginScope={_wrap:_.beginScope}),typeof _.endScope=="string"&&(_.endScope={_wrap:_.endScope}),We(_),mt(_)}function fn(_){function J(He,_e){return new RegExp(g(He),"m"+(_.case_insensitive?"i":"")+(_.unicodeRegex?"u":"")+(_e?"g":""))}class ce{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(_e,Fe){Fe.position=this.position++,this.matchIndexes[this.matchAt]=Fe,this.regexes.push([Fe,_e]),this.matchAt+=j(_e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const _e=this.regexes.map(Fe=>Fe[1]);this.matcherRe=J(Y(_e,{joinWith:"|"}),!0),this.lastIndex=0}exec(_e){this.matcherRe.lastIndex=this.lastIndex;const Fe=this.matcherRe.exec(_e);if(!Fe)return null;const Tt=Fe.findIndex((jo,Uo)=>Uo>0&&jo!==void 0),Wt=this.matchIndexes[Tt];return Fe.splice(0,Tt),Object.assign(Fe,Wt)}}class je{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(_e){if(this.multiRegexes[_e])return this.multiRegexes[_e];const Fe=new ce;return this.rules.slice(_e).forEach(([Tt,Wt])=>Fe.addRule(Tt,Wt)),Fe.compile(),this.multiRegexes[_e]=Fe,Fe}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(_e,Fe){this.rules.push([_e,Fe]),Fe.type==="begin"&&this.count++}exec(_e){const Fe=this.getMatcher(this.regexIndex);Fe.lastIndex=this.lastIndex;let Tt=Fe.exec(_e);if(this.resumingScanAtSamePosition()&&!(Tt&&Tt.index===this.lastIndex)){const Wt=this.getMatcher(0);Wt.lastIndex=this.lastIndex+1,Tt=Wt.exec(_e)}return Tt&&(this.regexIndex+=Tt.position+1,this.regexIndex===this.count&&this.considerAll()),Tt}}function Vt(He){const _e=new je;return He.contains.forEach(Fe=>_e.addRule(Fe.begin,{rule:Fe,type:"begin"})),He.terminatorEnd&&_e.addRule(He.terminatorEnd,{type:"end"}),He.illegal&&_e.addRule(He.illegal,{type:"illegal"}),_e}function It(He,_e){const Fe=He;if(He.isCompiled)return Fe;[An,tt,Hn,Qt].forEach(Wt=>Wt(He,_e)),_.compilerExtensions.forEach(Wt=>Wt(He,_e)),He.__beforeBegin=null,[De,Oe,it].forEach(Wt=>Wt(He,_e)),He.isCompiled=!0;let Tt=null;return typeof He.keywords=="object"&&He.keywords.$pattern&&(He.keywords=Object.assign({},He.keywords),Tt=He.keywords.$pattern,delete He.keywords.$pattern),Tt=Tt||/\w+/,He.keywords&&(He.keywords=Re(He.keywords,_.case_insensitive)),Fe.keywordPatternRe=J(Tt,!0),_e&&(He.begin||(He.begin=/\B|\b/),Fe.beginRe=J(Fe.begin),!He.end&&!He.endsWithParent&&(He.end=/\B|\b/),He.end&&(Fe.endRe=J(Fe.end)),Fe.terminatorEnd=g(Fe.end)||"",He.endsWithParent&&_e.terminatorEnd&&(Fe.terminatorEnd+=(He.end?"|":"")+_e.terminatorEnd)),He.illegal&&(Fe.illegalRe=J(He.illegal)),He.contains||(He.contains=[]),He.contains=[].concat(...He.contains.map(function(Wt){return mi(Wt==="self"?He:Wt)})),He.contains.forEach(function(Wt){It(Wt,Fe)}),He.starts&&It(He.starts,_e),Fe.matcher=Vt(Fe),Fe}if(_.compilerExtensions||(_.compilerExtensions=[]),_.contains&&_.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return _.classNameAliases=s(_.classNameAliases||{}),It(_)}function Fn(_){return _?_.endsWithParent||Fn(_.starts):!1}function mi(_){return _.variants&&!_.cachedVariants&&(_.cachedVariants=_.variants.map(function(J){return s(_,{variants:null},J)})),_.cachedVariants?_.cachedVariants:Fn(_)?s(_,{starts:_.starts?s(_.starts):null}):Object.isFrozen(_)?s(_):_}var an="11.11.1";class zn extends Error{constructor(J,ce){super(J),this.name="HTMLInjectionError",this.html=ce}}const N=a,G=s,me=Symbol("nomatch"),we=7,Le=function(_){const J=Object.create(null),ce=Object.create(null),je=[];let Vt=!0;const It="Could not find the language '{}', did you forget to load/include a language module?",He={disableAutodetect:!0,name:"Plain text",contains:[]};let _e={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:y};function Fe(be){return _e.noHighlightRe.test(be)}function Tt(be){let Ie=be.className+" ";Ie+=be.parentNode?be.parentNode.className:"";const dt=_e.languageDetectRe.exec(Ie);if(dt){const Mt=hr(dt[1]);return Mt||(fa(It.replace("{}",dt[1])),fa("Falling back to no-highlight mode for this block.",be)),Mt?dt[1]:"no-highlight"}return Ie.split(/\s+/).find(Mt=>Fe(Mt)||hr(Mt))}function Wt(be,Ie,dt){let Mt="",Pt="";typeof Ie=="object"?(Mt=be,dt=Ie.ignoreIllegals,Pt=Ie.language):(re("10.7.0","highlight(lang, code, ...args) has been deprecated."),re("10.7.0",`Please use highlight(code, options) instead.
|
|
298
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),Pt=be,Mt=Ie),dt===void 0&&(dt=!0);const ti={code:Mt,language:Pt};$i("before:highlight",ti);const Cr=ti.result?ti.result:jo(ti.language,ti.code,dt);return Cr.code=ti.code,$i("after:highlight",Cr),Cr}function jo(be,Ie,dt,Mt){const Pt=Object.create(null);function ti(Ae,Ue){return Ae.keywords[Ue]}function Cr(){if(!Qe.keywords){Sn.addText(Dt);return}let Ae=0;Qe.keywordPatternRe.lastIndex=0;let Ue=Qe.keywordPatternRe.exec(Dt),at="";for(;Ue;){at+=Dt.substring(Ae,Ue.index);const wt=Gi.case_insensitive?Ue[0].toLowerCase():Ue[0],En=ti(Qe,wt);if(En){const[bi,Gs]=En;if(Sn.addText(at),at="",Pt[wt]=(Pt[wt]||0)+1,Pt[wt]<=we&&($s+=Gs),bi.startsWith("_"))at+=Ue[0];else{const Vf=Gi.classNameAliases[bi]||bi;gi(Ue[0],Vf)}}else at+=Ue[0];Ae=Qe.keywordPatternRe.lastIndex,Ue=Qe.keywordPatternRe.exec(Dt)}at+=Dt.substring(Ae),Sn.addText(at)}function Ps(){if(Dt==="")return;let Ae=null;if(typeof Qe.subLanguage=="string"){if(!J[Qe.subLanguage]){Sn.addText(Dt);return}Ae=jo(Qe.subLanguage,Dt,!0,mu[Qe.subLanguage]),mu[Qe.subLanguage]=Ae._top}else Ae=js(Dt,Qe.subLanguage.length?Qe.subLanguage:null);Qe.relevance>0&&($s+=Ae.relevance),Sn.__addSublanguage(Ae._emitter,Ae.language)}function $n(){Qe.subLanguage!=null?Ps():Cr(),Dt=""}function gi(Ae,Ue){Ae!==""&&(Sn.startScope(Ue),Sn.addText(Ae),Sn.endScope())}function Fs(Ae,Ue){let at=1;const wt=Ue.length-1;for(;at<=wt;){if(!Ae._emit[at]){at++;continue}const En=Gi.classNameAliases[Ae[at]]||Ae[at],bi=Ue[at];En?gi(bi,En):(Dt=bi,Cr(),Dt=""),at++}}function du(Ae,Ue){return Ae.scope&&typeof Ae.scope=="string"&&Sn.openNode(Gi.classNameAliases[Ae.scope]||Ae.scope),Ae.beginScope&&(Ae.beginScope._wrap?(gi(Dt,Gi.classNameAliases[Ae.beginScope._wrap]||Ae.beginScope._wrap),Dt=""):Ae.beginScope._multi&&(Fs(Ae.beginScope,Ue),Dt="")),Qe=Object.create(Ae,{parent:{value:Qe}}),Qe}function hu(Ae,Ue,at){let wt=U(Ae.endRe,at);if(wt){if(Ae["on:end"]){const En=new r(Ae);Ae["on:end"](Ue,En),En.isMatchIgnored&&(wt=!1)}if(wt){for(;Ae.endsParent&&Ae.parent;)Ae=Ae.parent;return Ae}}if(Ae.endsWithParent)return hu(Ae.parent,Ue,at)}function wf(Ae){return Qe.matcher.regexIndex===0?(Dt+=Ae[0],1):(ki=!0,0)}function Mp(Ae){const Ue=Ae[0],at=Ae.rule,wt=new r(at),En=[at.__beforeBegin,at["on:begin"]];for(const bi of En)if(bi&&(bi(Ae,wt),wt.isMatchIgnored))return wf(Ue);return at.skip?Dt+=Ue:(at.excludeBegin&&(Dt+=Ue),$n(),!at.returnBegin&&!at.excludeBegin&&(Dt=Ue)),du(at,Ae),at.returnBegin?0:Ue.length}function Sf(Ae){const Ue=Ae[0],at=Ie.substring(Ae.index),wt=hu(Qe,Ae,at);if(!wt)return me;const En=Qe;Qe.endScope&&Qe.endScope._wrap?($n(),gi(Ue,Qe.endScope._wrap)):Qe.endScope&&Qe.endScope._multi?($n(),Fs(Qe.endScope,Ae)):En.skip?Dt+=Ue:(En.returnEnd||En.excludeEnd||(Dt+=Ue),$n(),En.excludeEnd&&(Dt=Ue));do Qe.scope&&Sn.closeNode(),!Qe.skip&&!Qe.subLanguage&&($s+=Qe.relevance),Qe=Qe.parent;while(Qe!==wt.parent);return wt.starts&&du(wt.starts,Ae),En.returnEnd?0:Ue.length}function pu(){const Ae=[];for(let Ue=Qe;Ue!==Gi;Ue=Ue.parent)Ue.scope&&Ae.unshift(Ue.scope);Ae.forEach(Ue=>Sn.openNode(Ue))}let da={};function qa(Ae,Ue){const at=Ue&&Ue[0];if(Dt+=Ae,at==null)return $n(),0;if(da.type==="begin"&&Ue.type==="end"&&da.index===Ue.index&&at===""){if(Dt+=Ie.slice(Ue.index,Ue.index+1),!Vt){const wt=new Error(`0 width match regex (${be})`);throw wt.languageName=be,wt.badRule=da.rule,wt}return 1}if(da=Ue,Ue.type==="begin")return Mp(Ue);if(Ue.type==="illegal"&&!dt){const wt=new Error('Illegal lexeme "'+at+'" for mode "'+(Qe.scope||"<unnamed>")+'"');throw wt.mode=Qe,wt}else if(Ue.type==="end"){const wt=Sf(Ue);if(wt!==me)return wt}if(Ue.type==="illegal"&&at==="")return Dt+=`
|
|
299
|
+
`,1;if(pa>1e5&&pa>Ue.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Dt+=at,at.length}const Gi=hr(be);if(!Gi)throw kn(It.replace("{}",be)),new Error('Unknown language: "'+be+'"');const Ef=fn(Gi);let qs="",Qe=Mt||Ef;const mu={},Sn=new _e.__emitter(_e);pu();let Dt="",$s=0,ha=0,pa=0,ki=!1;try{if(Gi.__emitTokens)Gi.__emitTokens(Ie,Sn);else{for(Qe.matcher.considerAll();;){pa++,ki?ki=!1:Qe.matcher.considerAll(),Qe.matcher.lastIndex=ha;const Ae=Qe.matcher.exec(Ie);if(!Ae)break;const Ue=Ie.substring(ha,Ae.index),at=qa(Ue,Ae);ha=Ae.index+at}qa(Ie.substring(ha))}return Sn.finalize(),qs=Sn.toHTML(),{language:be,value:qs,relevance:$s,illegal:!1,_emitter:Sn,_top:Qe}}catch(Ae){if(Ae.message&&Ae.message.includes("Illegal"))return{language:be,value:N(Ie),illegal:!0,relevance:0,_illegalBy:{message:Ae.message,index:ha,context:Ie.slice(ha-100,ha+100),mode:Ae.mode,resultSoFar:qs},_emitter:Sn};if(Vt)return{language:be,value:N(Ie),illegal:!1,relevance:0,errorRaised:Ae,_emitter:Sn,_top:Qe};throw Ae}}function Uo(be){const Ie={value:N(be),illegal:!1,relevance:0,_top:He,_emitter:new _e.__emitter(_e)};return Ie._emitter.addText(be),Ie}function js(be,Ie){Ie=Ie||_e.languages||Object.keys(J);const dt=Uo(be),Mt=Ie.filter(hr).filter(fu).map($n=>jo($n,be,!1));Mt.unshift(dt);const Pt=Mt.sort(($n,gi)=>{if($n.relevance!==gi.relevance)return gi.relevance-$n.relevance;if($n.language&&gi.language){if(hr($n.language).supersetOf===gi.language)return 1;if(hr(gi.language).supersetOf===$n.language)return-1}return 0}),[ti,Cr]=Pt,Ps=ti;return Ps.secondBest=Cr,Ps}function Us(be,Ie,dt){const Mt=Ie&&ce[Ie]||dt;be.classList.add("hljs"),be.classList.add(`language-${Mt}`)}function qn(be){let Ie=null;const dt=Tt(be);if(Fe(dt))return;if($i("before:highlightElement",{el:be,language:dt}),be.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",be);return}if(be.children.length>0&&(_e.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(be)),_e.throwUnescapedHTML))throw new zn("One of your code blocks includes unescaped HTML.",be.innerHTML);Ie=be;const Mt=Ie.textContent,Pt=dt?Wt(Mt,{language:dt,ignoreIllegals:!0}):js(Mt);be.innerHTML=Pt.value,be.dataset.highlighted="yes",Us(be,dt,Pt.language),be.result={language:Pt.language,re:Pt.relevance,relevance:Pt.relevance},Pt.secondBest&&(be.secondBest={language:Pt.secondBest.language,relevance:Pt.secondBest.relevance}),$i("after:highlightElement",{el:be,result:Pt,text:Mt})}function mf(be){_e=G(_e,be)}const uu=()=>{Io(),re("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function gf(){Io(),re("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Is=!1;function Io(){function be(){Io()}if(document.readyState==="loading"){Is||window.addEventListener("DOMContentLoaded",be,!1),Is=!0;return}document.querySelectorAll(_e.cssSelector).forEach(qn)}function bf(be,Ie){let dt=null;try{dt=Ie(_)}catch(Mt){if(kn("Language definition for '{}' could not be registered.".replace("{}",be)),Vt)kn(Mt);else throw Mt;dt=He}dt.name||(dt.name=be),J[be]=dt,dt.rawDefinition=Ie.bind(null,_),dt.aliases&&cu(dt.aliases,{languageName:be})}function Pa(be){delete J[be];for(const Ie of Object.keys(ce))ce[Ie]===be&&delete ce[Ie]}function yf(){return Object.keys(J)}function hr(be){return be=(be||"").toLowerCase(),J[be]||J[ce[be]]}function cu(be,{languageName:Ie}){typeof be=="string"&&(be=[be]),be.forEach(dt=>{ce[dt.toLowerCase()]=Ie})}function fu(be){const Ie=hr(be);return Ie&&!Ie.disableAutodetect}function vf(be){be["before:highlightBlock"]&&!be["before:highlightElement"]&&(be["before:highlightElement"]=Ie=>{be["before:highlightBlock"](Object.assign({block:Ie.el},Ie))}),be["after:highlightBlock"]&&!be["after:highlightElement"]&&(be["after:highlightElement"]=Ie=>{be["after:highlightBlock"](Object.assign({block:Ie.el},Ie))})}function ei(be){vf(be),je.push(be)}function Fa(be){const Ie=je.indexOf(be);Ie!==-1&&je.splice(Ie,1)}function $i(be,Ie){const dt=be;je.forEach(function(Mt){Mt[dt]&&Mt[dt](Ie)})}function xf(be){return re("10.7.0","highlightBlock will be removed entirely in v12.0"),re("10.7.0","Please use highlightElement now."),qn(be)}Object.assign(_,{highlight:Wt,highlightAuto:js,highlightAll:Io,highlightElement:qn,highlightBlock:xf,configure:mf,initHighlighting:uu,initHighlightingOnLoad:gf,registerLanguage:bf,unregisterLanguage:Pa,listLanguages:yf,getLanguage:hr,registerAliases:cu,autoDetection:fu,inherit:G,addPlugin:ei,removePlugin:Fa}),_.debugMode=function(){Vt=!1},_.safeMode=function(){Vt=!0},_.versionString=an,_.regex={concat:D,lookahead:v,either:k,optional:V,anyNumberOfTimes:w};for(const be in Rt)typeof Rt[be]=="object"&&n(Rt[be]);return Object.assign(_,Rt),_},Ye=Le({});return Ye.newInstance=()=>Le({}),E1=Ye,Ye.HighlightJS=Ye,Ye.default=Ye,E1}var v6=y6();const Jn=pp(v6),bM="[A-Za-z$_][0-9A-Za-z$_]*",x6=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],w6=["true","false","null","undefined","NaN","Infinity"],tA=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],nA=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],iA=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],S6=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],E6=[].concat(iA,tA,nA);function V6(n){const r=n.regex,a=(le,{after:Ve})=>{const H="</"+le[0].slice(1);return le.input.indexOf(H,Ve)!==-1},s=bM,u={begin:"<>",end:"</>"},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(le,Ve)=>{const H=le[0].length+le.index,z=le.input[H];if(z==="<"||z===","){Ve.ignoreMatch();return}z===">"&&(a(le,{after:H})||Ve.ignoreMatch());let pe;const O=le.input.substring(H);if(pe=O.match(/^\s*=/)){Ve.ignoreMatch();return}if((pe=O.match(/^\s+extends\s+/))&&pe.index===0){Ve.ignoreMatch();return}}},h={$pattern:bM,keyword:x6,literal:w6,built_in:E6,"variable.language":S6},p="[0-9](_?[0-9])*",b=`\\.(${p})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${y})((${b})|\\.)?|(${b}))[eE][+-]?(${p})\\b`},{begin:`\\b(${y})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},w={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},V={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"css"}},D={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,v]},j={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},U=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,w,V,D,C,{match:/\$\d+/},g];v.contains=U.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(U)});const Q=[].concat(j,v.contains),Y=Q.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:["self"].concat(Q)}]),F={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:Y},fe={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,r.concat(s,"(",r.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},ie={relevance:0,match:r.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...tA,...nA]}},X={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},R={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[F],illegal:/%/},xe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(le){return r.concat("(?!",le.join("|"),")")}const ae={match:r.concat(/\b/,de([...iA,"super","import"].map(le=>`${le}\\s*\\(`)),s,r.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:r.concat(/\./,r.lookahead(r.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ue={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},F]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",ve={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,r.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[F]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:Y,CLASS_REFERENCE:ie},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),X,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,w,V,D,C,j,{match:/\$\d+/},g,ie,{scope:"attr",match:s+r.lookahead(":"),relevance:0},ve,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[j,n.REGEXP_MODE,{className:"function",begin:W,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:Y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:u.begin,end:u.end},{match:d},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},R,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[F,n.inherit(n.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[F]},ae,xe,fe,ue,{match:/\$[(.]/}]}}const up="[A-Za-z$_][0-9A-Za-z$_]*",rA=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],aA=["true","false","null","undefined","NaN","Infinity"],oA=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],sA=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],lA=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uA=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],cA=[].concat(lA,oA,sA);function M6(n){const r=n.regex,a=(le,{after:Ve})=>{const H="</"+le[0].slice(1);return le.input.indexOf(H,Ve)!==-1},s=up,u={begin:"<>",end:"</>"},d=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(le,Ve)=>{const H=le[0].length+le.index,z=le.input[H];if(z==="<"||z===","){Ve.ignoreMatch();return}z===">"&&(a(le,{after:H})||Ve.ignoreMatch());let pe;const O=le.input.substring(H);if(pe=O.match(/^\s*=/)){Ve.ignoreMatch();return}if((pe=O.match(/^\s+extends\s+/))&&pe.index===0){Ve.ignoreMatch();return}}},h={$pattern:up,keyword:rA,literal:aA,built_in:cA,"variable.language":uA},p="[0-9](_?[0-9])*",b=`\\.(${p})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",g={className:"number",variants:[{begin:`(\\b(${y})((${b})|\\.)?|(${b}))[eE][+-]?(${p})\\b`},{begin:`\\b(${y})\\b((${b})\\b|\\.)?|(${b})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:h,contains:[]},w={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"xml"}},V={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"css"}},D={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,v],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,v]},j={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},U=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,w,V,D,C,{match:/\$\d+/},g];v.contains=U.concat({begin:/\{/,end:/\}/,keywords:h,contains:["self"].concat(U)});const Q=[].concat(j,v.contains),Y=Q.concat([{begin:/(\s*)\(/,end:/\)/,keywords:h,contains:["self"].concat(Q)}]),F={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:Y},fe={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,r.concat(s,"(",r.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},ie={relevance:0,match:r.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...oA,...sA]}},X={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},R={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[F],illegal:/%/},xe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(le){return r.concat("(?!",le.join("|"),")")}const ae={match:r.concat(/\b/,de([...lA,"super","import"].map(le=>`${le}\\s*\\(`)),s,r.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:r.concat(/\./,r.lookahead(r.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ue={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},F]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",ve={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,r.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[F]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:h,exports:{PARAMS_CONTAINS:Y,CLASS_REFERENCE:ie},illegal:/#(?![$_A-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),X,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,w,V,D,C,j,{match:/\$\d+/},g,ie,{scope:"attr",match:s+r.lookahead(":"),relevance:0},ve,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[j,n.REGEXP_MODE,{className:"function",begin:W,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:Y}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:u.begin,end:u.end},{match:d},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},R,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[F,n.inherit(n.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[F]},ae,xe,fe,ue,{match:/\$[(.]/}]}}function T6(n){const r=n.regex,a=M6(n),s=up,u=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],d={begin:[/namespace/,/\s+/,n.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},c={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:u},contains:[a.exports.CLASS_REFERENCE]},h={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},p=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],b={$pattern:up,keyword:rA.concat(p),literal:aA,built_in:cA.concat(u),"variable.language":uA},y={className:"meta",begin:"@"+s},g=(D,C,k)=>{const j=D.contains.findIndex(U=>U.label===C);if(j===-1)throw new Error("can not find mode to replace");D.contains.splice(j,1,k)};Object.assign(a.keywords,b),a.exports.PARAMS_CONTAINS.push(y);const v=a.contains.find(D=>D.scope==="attr"),w=Object.assign({},v,{match:r.concat(s,r.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,v,w]),a.contains=a.contains.concat([y,d,c,w]),g(a,"shebang",n.SHEBANG()),g(a,"use_strict",h);const V=a.contains.find(D=>D.label==="func.def");return V.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function N6(n){const r={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},s=["true","false","null"],u={scope:"literal",beginKeywords:s.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:s},contains:[r,a,n.QUOTE_STRING_MODE,u,n.C_NUMBER_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function A6(n){const r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},u={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},d={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},c={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,u]},h=n.inherit(c,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),v={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},w={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},V={begin:/\{/,end:/\}/,contains:[w],illegal:"\\n",relevance:0},D={begin:"\\[",end:"\\]",contains:[w],illegal:"\\n",relevance:0},C=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},v,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},V,D,d,c],k=[...C];return k.pop(),k.push(h),w.contains=k,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:C}}function k6(n){const r=n.regex,a={},s={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:r.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},s]});const u={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},d=n.inherit(n.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),c={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},h={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,a,u]};u.contains.push(h);const p={match:/\\"/},b={className:"string",begin:/'/,end:/'/},y={match:/\\'/},g={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,a]},v=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],w=n.SHEBANG({binary:`(${v.join("|")})`,relevance:10}),V={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},D=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],C=["true","false"],k={match:/(\/[a-z._-]+)+/},j=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],U=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],Q=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],Y=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:D,literal:C,built_in:[...j,...U,"set","shopt",...Q,...Y]},contains:[w,n.SHEBANG(),V,g,d,c,k,h,p,b,y,a]}}function C6(n){const r=n.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),s=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],h={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:s,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},p={className:"meta",begin:/^(>>>|\.\.\.) /},b={className:"subst",begin:/\{/,end:/\}/,keywords:h,illegal:/#/},y={begin:/\{\{/,relevance:0},g={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,p],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,p],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,p,y,b]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,p,y,b]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[n.BACKSLASH_ESCAPE,y,b]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,y,b]},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},v="[0-9](_?[0-9])*",w=`(\\b(${v}))?\\.(${v})|\\b(${v})\\.`,V=`\\b|${s.join("|")}`,D={className:"number",relevance:0,variants:[{begin:`(\\b(${v})|(${w}))[eE][+-]?(${v})[jJ]?(?=${V})`},{begin:`(${w})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${V})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${V})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${V})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${V})`},{begin:`\\b(${v})[jJ](?=${V})`}]},C={className:"comment",begin:r.lookahead(/# type:/),end:/$/,keywords:h,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},k={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:h,contains:["self",p,D,g,n.HASH_COMMENT_MODE]}]};return b.contains=[g,D,p],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:h,illegal:/(<\/|\?)|=>/,contains:[p,D,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},g,C,n.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[k]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[D,k,g]}]}}function R6(n){const d={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:d,illegal:"</",contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{className:"string",variants:[n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[n.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:d,illegal:/["']/}]}]}}function D6(n){const r=n.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",s=r.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),u=r.concat(s,/(::\w+)*/),c={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},h={className:"doctag",begin:"@[A-Za-z]+"},p={begin:"#<",end:">"},b=[n.COMMENT("#","$",{contains:[h]}),n.COMMENT("^=begin","^=end",{contains:[h],relevance:10}),n.COMMENT("^__END__",n.MATCH_NOTHING_RE)],y={className:"subst",begin:/#\{/,end:/\}/,keywords:c},g={className:"string",contains:[n.BACKSLASH_ESCAPE,y],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:r.concat(/<<[-~]?'?/,r.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[n.BACKSLASH_ESCAPE,y]})]}]},v="[1-9](_?[0-9])*|0",w="[0-9](_?[0-9])*",V={className:"number",relevance:0,variants:[{begin:`\\b(${v})(\\.(${w}))?([eE][+-]?(${w})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},D={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:c}]},F=[g,{variants:[{match:[/class\s+/,u,/\s+<\s+/,u]},{match:[/\b(class|module)\s+/,u]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:c},{match:[/(include|extend)\s+/,u],scope:{2:"title.class"},keywords:c},{relevance:0,match:[u,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:s,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[D]},{begin:n.IDENT_RE+"::"},{className:"symbol",begin:n.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[g,{begin:a}],relevance:0},V,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:c},{begin:"("+n.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[n.BACKSLASH_ESCAPE,y],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(p,b),relevance:0}].concat(p,b);y.contains=F,D.contains=F;const R=[{begin:/^\s*=>/,starts:{end:"$",contains:F}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:c,contains:F}}];return b.unshift(p),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:c,illegal:/\/\*/,contains:[n.SHEBANG({binary:"ruby"})].concat(R).concat(b).concat(F)}}const _6=n=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:n.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:n.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),O6=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],H6=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],z6=[...O6,...H6],L6=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),B6=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Z6=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),j6=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function U6(n){const r=n.regex,a=_6(n),s={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},u="and or not only",d=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",h=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,s,a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+B6.join("|")+")"},{begin:":(:)?("+Z6.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+j6.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,...h,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...h,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:r.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:d},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:L6.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...h,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+z6.join("|")+")\\b"}]}}function I6(n){const r=n.regex,a=r.concat(/[\p{L}_]/u,r.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s=/[\p{L}0-9._:-]+/u,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=n.inherit(d,{begin:/\(/,end:/\)/}),h=n.inherit(n.APOS_STRING_MODE,{className:"string"}),p=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),b={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:s,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[d,p,h,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[d,c,p,h]}]}]},n.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},u,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[p]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[b],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[b],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r.concat(/</,r.lookahead(r.concat(a,r.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:b}]},{className:"tag",begin:r.concat(/<\//,r.lookahead(r.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function P6(n){const r=n.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},s={begin:"^[-\\*]{3,}",end:"$"},u={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},d={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},c={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},h=/[A-Za-z][A-Za-z0-9+.-]*/,p={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:r.concat(/\[.+?\]\(/,h,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},b={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},y={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},g=n.inherit(b,{contains:[]}),v=n.inherit(y,{contains:[]});b.contains.push(v),y.contains.push(g);let w=[a,p];return[b,y,g,v].forEach(k=>{k.contains=k.contains.concat(w)}),w=w.concat(b,y),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:w},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:w}]}]},a,d,b,y,{className:"quote",begin:"^>\\s+",contains:w,end:"$"},u,s,p,c,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function F6(n){const r=n.regex,a=n.COMMENT("--","$"),s={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},u={begin:/"/,end:/"/,contains:[{match:/""/}]},d=["true","false","unknown"],c=["double precision","large object","with timezone","without timezone"],h=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],p=["add","asc","collation","desc","final","first","last","view"],b=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],y=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],v=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],w=y,V=[...b,...p].filter(Y=>!y.includes(Y)),D={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},C={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},k={match:r.concat(/\b/,r.either(...w),/\s*\(/),relevance:0,keywords:{built_in:w}};function j(Y){return r.concat(/\b/,r.either(...Y.map(F=>F.replace(/\s+/,"\\s+"))),/\b/)}const U={scope:"keyword",match:j(v),relevance:0};function Q(Y,{exceptions:F,when:fe}={}){const ie=fe;return F=F||[],Y.map(X=>X.match(/\|\d+$/)||F.includes(X)?X:ie(X)?`${X}|0`:X)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:Q(V,{when:Y=>Y.length<3}),literal:d,type:h,built_in:g},contains:[{scope:"type",match:j(c)},U,k,D,s,u,n.C_NUMBER_MODE,n.C_BLOCK_COMMENT_MODE,a,C]}}function q6(n){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[n.HASH_COMMENT_MODE,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,n.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function $6(n){const r=n.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:n.NUMBER_RE}]},s=n.COMMENT();s.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const u={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},d={className:"literal",begin:/\bon|off|true|false|yes|no\b/},c={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},h={begin:/\[/,end:/\]/,contains:[s,d,u,c,a,"self"],relevance:0},p=/[A-Za-z0-9_-]+/,b=/"(\\"|[^"])*"/,y=/'[^']*'/,g=r.either(p,b,y),v=r.concat(g,"(\\s*\\.\\s*",g,")*",r.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[s,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[s,h,d,u,c,a]}}]}}function G6(n){const r={className:"template-variable",begin:/\$\{/,end:/\}/},a={className:"string",begin:'"',end:'"',contains:[n.BACKSLASH_ESCAPE,r]};return{name:"Terraform",aliases:["tf","hcl"],keywords:{keyword:"resource variable module data output provider locals terraform dynamic",built_in:"for_each count depends_on lifecycle source",literal:"true false null"},contains:[n.HASH_COMMENT_MODE,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,a,{className:"number",begin:/\b\d+(\.\d+)?/,relevance:0},{className:"attr",begin:/[A-Za-z_][\w-]*(?=\s*=[^=])/},{className:"title",begin:/[A-Za-z_][\w-]*(?=\s*\()/,relevance:0}]}}Jn.registerLanguage("javascript",V6);Jn.registerLanguage("typescript",T6);Jn.registerLanguage("json",N6);Jn.registerLanguage("yaml",A6);Jn.registerLanguage("bash",k6);Jn.registerLanguage("python",C6);Jn.registerLanguage("go",R6);Jn.registerLanguage("ruby",D6);Jn.registerLanguage("css",U6);Jn.registerLanguage("xml",I6);Jn.registerLanguage("markdown",P6);Jn.registerLanguage("sql",F6);Jn.registerLanguage("dockerfile",q6);Jn.registerLanguage("ini",$6);Jn.registerLanguage("terraform",G6);const Y6={js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",ts:"typescript",tsx:"typescript",json:"json",yml:"yaml",yaml:"yaml",tftpl:"yaml",sh:"bash",bash:"bash",zsh:"bash",py:"python",go:"go",rb:"ruby",css:"css",scss:"css",html:"xml",xml:"xml",vue:"xml",svg:"xml",md:"markdown",markdown:"markdown",sql:"sql",toml:"ini",ini:"ini",tf:"terraform",hcl:"terraform"};function X6(n){const r=(n.split("/").pop()??n).toLowerCase();if(r==="dockerfile")return"dockerfile";const a=r.includes(".")?r.split(".").pop():"";return Y6[a]??null}function yM(n){return n.replace(/[&<>]/g,r=>({"&":"&","<":"<",">":">"})[r])}function Q6(n,r){if(!n)return"";if(!r)return yM(n);try{return Jn.highlight(n,{language:r,ignoreIllegals:!0}).value}catch{return yM(n)}}const K6={add:"bg-[var(--add-bg)]",del:"bg-[var(--del-bg)]",ctx:""},V1={add:"bg-[var(--add-gutter)] text-[var(--add-fg)]",del:"bg-[var(--del-gutter)] text-[var(--del-fg)]",ctx:"text-faint"};function J6(n){return n.type==="add"?{side:"RIGHT",line:n.newLn}:n.type==="ctx"?{side:"RIGHT",line:n.newLn}:n.type==="del"?{side:"LEFT",line:n.oldLn}:null}function vM({comment:n,onDelete:r,indented:a=!1}){return A.jsxDEV("div",{className:`my-1 rounded-md border border-edge bg-surface-2 px-3 py-2 font-sans ${a?"ml-[96px]":""}`,children:[A.jsxDEV("div",{className:"mb-1 flex items-center justify-between",children:[A.jsxDEV("span",{className:"text-[11px] tracking-wide text-faint",children:"you · draft"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:40,columnNumber:9},this),A.jsxDEV("button",{onClick:()=>r(n.id),className:"text-[11px] text-faint transition hover:text-[var(--del-fg)]",children:"delete"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:41,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:39,columnNumber:7},this),A.jsxDEV("div",{className:"text-[13px] whitespace-pre-wrap text-fg/90",children:n.body},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:48,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:36,columnNumber:5},this)}function W6({chunk:n,comments:r,anchor:a,onSelectLine:s,onDeleteComment:u}){const d=X6(n.file),c=g6(n.diff),h=r.filter(p=>p.line===null);return A.jsxDEV("div",{className:"thin-scroll min-h-0 flex-1 overflow-auto bg-bg",children:A.jsxDEV("div",{className:"shell",children:[A.jsxDEV("table",{className:"w-full border-collapse font-mono text-[12.5px] leading-[1.65]",children:A.jsxDEV("tbody",{children:c.map((p,b)=>{var w;if(p.type==="hunk"||p.type==="meta")return A.jsxDEV("tr",{className:"bg-[var(--hunk-bg)] text-faint select-none",children:[A.jsxDEV("td",{className:"px-3 text-right"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:81,columnNumber:21},this),A.jsxDEV("td",{className:"px-3 text-right"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:82,columnNumber:21},this),A.jsxDEV("td",{className:"px-2"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:83,columnNumber:21},this),A.jsxDEV("td",{className:"py-0.5 pr-4 text-[11px] tracking-wide whitespace-pre-wrap",children:p.text},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:84,columnNumber:21},this)]},b,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:80,columnNumber:19},this);const y=J6(p),g=(a==null?void 0:a.side)===y.side&&(a==null?void 0:a.line)===y.line,v=r.filter(V=>V.side===y.side&&V.line===y.line);return A.jsxDEV(he.Fragment,{children:[A.jsxDEV("tr",{onClick:()=>s(y),className:`cursor-pointer hover:bg-fg/[0.035] ${g?"bg-accent/12 shadow-[inset_2px_0_0_var(--accent)]":K6[p.type]}`,children:[A.jsxDEV("td",{className:`w-[1%] min-w-[44px] border-r border-edge/60 px-3 text-right tabular-nums select-none ${V1[p.type]}`,children:p.oldLn??""},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:105,columnNumber:21},this),A.jsxDEV("td",{className:`w-[1%] min-w-[44px] border-r border-edge/60 px-3 text-right tabular-nums select-none ${V1[p.type]}`,children:p.newLn??""},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:110,columnNumber:21},this),A.jsxDEV("td",{className:`w-[1%] px-2 text-center select-none ${V1[p.type]}`,children:(w=p.sign)==null?void 0:w.trim()},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:115,columnNumber:21},this),A.jsxDEV("td",{className:"pr-4 whitespace-pre-wrap text-fg/90",dangerouslySetInnerHTML:{__html:Q6(p.text,d)}},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:118,columnNumber:21},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:97,columnNumber:19},this),v.map(V=>A.jsxDEV("tr",{children:A.jsxDEV("td",{colSpan:4,children:A.jsxDEV(vM,{comment:V,onDelete:u,indented:!0},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:126,columnNumber:25},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:125,columnNumber:23},this)},V.id,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:124,columnNumber:21},this))]},b,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:96,columnNumber:17},this)})},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:76,columnNumber:11},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:75,columnNumber:9},this),h.length>0&&A.jsxDEV("div",{className:"mt-3 mb-1",children:[A.jsxDEV("div",{className:"mb-1.5 font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:"on this chunk"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:138,columnNumber:13},this),A.jsxDEV("div",{className:"space-y-1.5",children:h.map(p=>A.jsxDEV(vM,{comment:p,onDelete:u},p.id,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:143,columnNumber:17},this))},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:141,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:137,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:74,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/DiffPane.tsx",lineNumber:73,columnNumber:5},this)}const ez={context:"context",investigation:"asked",error:"error"};function xM({note:n,onDelete:r,live:a}){const s=ez[n.kind],u=n.kind==="initial"?"text-fg/85":"text-muted";return A.jsxDEV("div",{className:"group",children:[A.jsxDEV("p",{className:`font-serif text-[14.5px] leading-[1.7] ${u}`,children:[s&&A.jsxDEV("span",{className:"mr-2 align-middle font-sans text-[10px] font-medium tracking-[0.14em] text-accent/80 uppercase",children:[s,n.kind==="investigation"&&n.prompt?` · ${n.prompt}`:""]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:35,columnNumber:11},this),n.body,a&&A.jsxDEV("span",{className:"ml-0.5 inline-block animate-pulse text-accent",children:"▍"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:41,columnNumber:18},this),n.id&&r&&A.jsxDEV("button",{onClick:()=>r(n.id),className:"ml-2 align-middle font-sans text-[10px] text-faint opacity-0 transition group-hover:opacity-100 hover:text-[var(--del-fg)]",children:"delete"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:43,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:33,columnNumber:7},this),n.suggested_action&&A.jsxDEV("div",{className:"mt-2 flex gap-2 rounded-md border border-accent/25 bg-accent/[0.07] px-3 py-2",children:[A.jsxDEV("span",{className:"select-none text-accent","aria-hidden":!0,children:"→"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:53,columnNumber:11},this),A.jsxDEV("p",{className:"font-sans text-[12.5px] leading-relaxed text-fg/80",children:[A.jsxDEV("span",{className:"font-semibold tracking-wide text-accent/90",children:"Suggested action "},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:57,columnNumber:13},this),n.suggested_action]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:56,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:52,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:32,columnNumber:5},this)}function tz({notes:n,streaming:r,busy:a,error:s,askRef:u,onAsk:d,onDeleteNote:c,subject:h="chunk"}){const[p,b]=he.useState(""),y=v=>{v.preventDefault(),!a&&(d(p),b(""))},g=n.length===0&&!r&&!a&&!s;return A.jsxDEV("section",{className:"thin-scroll max-h-[34%] shrink-0 overflow-auto border-t border-edge bg-surface/60",children:A.jsxDEV("div",{className:"shell py-4",children:[A.jsxDEV("div",{className:"mb-2.5 flex items-center gap-3",children:[A.jsxDEV("span",{className:"text-accent","aria-hidden":!0,children:"✦"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:101,columnNumber:11},this),A.jsxDEV("span",{className:"font-sans text-[10px] font-semibold tracking-[0.22em] text-muted uppercase",children:"Claude"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:104,columnNumber:11},this),A.jsxDEV("span",{className:"h-px flex-1 bg-edge"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:107,columnNumber:11},this),A.jsxDEV("form",{onSubmit:y,className:"flex items-center gap-1.5",children:[A.jsxDEV("input",{ref:u,value:p,onChange:v=>b(v.target.value),disabled:a,placeholder:h==="PR"?"Ask about this PR… (a)":"Ask about this chunk… (a)",className:"w-64 rounded-md border border-edge bg-bg px-2.5 py-1 font-sans text-[12.5px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none disabled:opacity-50"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:109,columnNumber:13},this),A.jsxDEV("button",{type:"submit",disabled:a,className:"rounded-md border border-edge-strong px-2.5 py-1 text-[12px] font-medium text-muted transition enabled:hover:border-fg/30 enabled:hover:text-fg disabled:opacity-40",children:a?"…":p.trim()?"Ask":"Explain"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:117,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:108,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:100,columnNumber:9},this),s&&A.jsxDEV(zs,{className:"mb-2",children:s},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:128,columnNumber:11},this),A.jsxDEV("div",{className:"space-y-2 border-l border-accent/35 pl-4",children:[n.map((v,w)=>A.jsxDEV(xM,{note:v,onDelete:c},v.id??`mock-${w}`,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:133,columnNumber:13},this)),r&&A.jsxDEV(xM,{note:{kind:r.kind,body:r.text||"…"},live:!0},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:136,columnNumber:13},this),g&&A.jsxDEV("p",{className:"font-serif text-[14px] text-faint italic",children:h==="PR"?"No summary yet — hit Explain to summarize this PR.":"No commentary yet — ask a question, or hit Explain."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:142,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:131,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:99,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/AiCommentary.tsx",lineNumber:98,columnNumber:5},this)}function nz({chunk:n,flagged:r,comments:a,anchor:s,onSelectLine:u,onDeleteComment:d,ai:c}){const h=n.file.split("/").slice(0,-1).join("/"),p=n.file.split("/").pop()??n.file;return A.jsxDEV("div",{className:"flex h-full min-h-0 flex-col",children:[A.jsxDEV("header",{className:"shrink-0 border-b border-edge bg-surface/40",children:A.jsxDEV("div",{className:"shell flex items-baseline gap-3 py-3",children:[A.jsxDEV("div",{className:"min-w-0 font-mono text-[13px]",children:[h&&A.jsxDEV("span",{className:"text-faint",children:[h,"/"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:42,columnNumber:21},this),A.jsxDEV("span",{className:"font-medium text-fg",children:p},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:43,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:41,columnNumber:11},this),A.jsxDEV("span",{className:"font-mono text-[12px] text-accent",children:b6(n)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:45,columnNumber:11},this),n.context&&A.jsxDEV("span",{className:"truncate font-mono text-[11px] text-faint",children:n.context},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:47,columnNumber:13},this),r&&A.jsxDEV("span",{className:"ml-auto shrink-0 rounded-sm border border-accent/40 px-2 py-0.5 font-sans text-[10px] font-medium tracking-[0.14em] text-accent uppercase",children:"flagged"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:50,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:40,columnNumber:9},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:39,columnNumber:7},this),A.jsxDEV(W6,{chunk:n,comments:a,anchor:s,onSelectLine:u,onDeleteComment:d},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:56,columnNumber:7},this),A.jsxDEV(tz,{...c},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:63,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ChunkView.tsx",lineNumber:38,columnNumber:5},this)}class iz extends Error{constructor(a,s,u,d,c){super(a);Jg(this,"name","Assertion");Jg(this,"code","ERR_ASSERTION");Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=s,this.expected=u,this.generated=c,this.operator=d}}function I(n,r){fA(!!n,!1,!0,"ok","Expected value to be truthy",r)}function vb(n){fA(!1,!1,!0,"ok","Unreachable",n)}function fA(n,r,a,s,u,d){if(!n)throw d instanceof Error?d:new iz(d||u,r,a,s,!d)}function rz(n,r){const a={};return(n[n.length-1]===""?[...n,""]:n).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const az=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,oz=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,sz={};function wM(n,r){return(sz.jsx?oz:az).test(n)}const lz=/[ \t\n\f\r]/g;function uz(n){return typeof n=="object"?n.type==="text"?SM(n.value):!1:SM(n)}function SM(n){return n.replace(lz,"")===""}class df{constructor(r,a,s){this.normal=a,this.property=r,s&&(this.space=s)}}df.prototype.normal={};df.prototype.property={};df.prototype.space=void 0;function dA(n,r){const a={},s={};for(const u of n)Object.assign(a,u.property),Object.assign(s,u.normal);return new df(a,s,r)}function xb(n){return n.toLowerCase()}class Ni{constructor(r,a){this.attribute=a,this.property=r}}Ni.prototype.attribute="";Ni.prototype.booleanish=!1;Ni.prototype.boolean=!1;Ni.prototype.commaOrSpaceSeparated=!1;Ni.prototype.commaSeparated=!1;Ni.prototype.defined=!1;Ni.prototype.mustUseProperty=!1;Ni.prototype.number=!1;Ni.prototype.overloadedBoolean=!1;Ni.prototype.property="";Ni.prototype.spaceSeparated=!1;Ni.prototype.space=void 0;let cz=0;const et=Zs(),xn=Zs(),wb=Zs(),ye=Zs(),Bt=Zs(),Ls=Zs(),Pi=Zs();function Zs(){return 2**++cz}const Sb=Object.freeze(Object.defineProperty({__proto__:null,boolean:et,booleanish:xn,commaOrSpaceSeparated:Pi,commaSeparated:Ls,number:ye,overloadedBoolean:wb,spaceSeparated:Bt},Symbol.toStringTag,{value:"Module"})),M1=Object.keys(Sb);class oy extends Ni{constructor(r,a,s,u){let d=-1;if(super(r,a),EM(this,"space",u),typeof s=="number")for(;++d<M1.length;){const c=M1[d];EM(this,M1[d],(s&Sb[c])===Sb[c])}}}oy.prototype.defined=!0;function EM(n,r,a){a&&(n[r]=a)}function su(n){const r={},a={};for(const[s,u]of Object.entries(n.properties)){const d=new oy(s,n.transform(n.attributes||{},s),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(s)&&(d.mustUseProperty=!0),r[s]=d,a[xb(s)]=s,a[xb(d.attribute)]=s}return new df(r,a,n.space)}const hA=su({properties:{ariaActiveDescendant:null,ariaAtomic:xn,ariaAutoComplete:null,ariaBusy:xn,ariaChecked:xn,ariaColCount:ye,ariaColIndex:ye,ariaColSpan:ye,ariaControls:Bt,ariaCurrent:null,ariaDescribedBy:Bt,ariaDetails:null,ariaDisabled:xn,ariaDropEffect:Bt,ariaErrorMessage:null,ariaExpanded:xn,ariaFlowTo:Bt,ariaGrabbed:xn,ariaHasPopup:null,ariaHidden:xn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Bt,ariaLevel:ye,ariaLive:null,ariaModal:xn,ariaMultiLine:xn,ariaMultiSelectable:xn,ariaOrientation:null,ariaOwns:Bt,ariaPlaceholder:null,ariaPosInSet:ye,ariaPressed:xn,ariaReadOnly:xn,ariaRelevant:null,ariaRequired:xn,ariaRoleDescription:Bt,ariaRowCount:ye,ariaRowIndex:ye,ariaRowSpan:ye,ariaSelected:xn,ariaSetSize:ye,ariaSort:null,ariaValueMax:ye,ariaValueMin:ye,ariaValueNow:ye,ariaValueText:null,role:null},transform(n,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function pA(n,r){return r in n?n[r]:r}function mA(n,r){return pA(n,r.toLowerCase())}const fz=su({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ls,acceptCharset:Bt,accessKey:Bt,action:null,allow:null,allowFullScreen:et,allowPaymentRequest:et,allowUserMedia:et,alpha:et,alt:null,as:null,async:et,autoCapitalize:null,autoComplete:Bt,autoFocus:et,autoPlay:et,blocking:Bt,capture:null,charSet:null,checked:et,cite:null,className:Bt,closedBy:null,colorSpace:null,cols:ye,colSpan:ye,command:null,commandFor:null,content:null,contentEditable:xn,controls:et,controlsList:Bt,coords:ye|Ls,crossOrigin:null,data:null,dateTime:null,decoding:null,default:et,defer:et,dir:null,dirName:null,disabled:et,download:wb,draggable:xn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:et,formTarget:null,headers:Bt,height:ye,hidden:wb,high:ye,href:null,hrefLang:null,htmlFor:Bt,httpEquiv:Bt,id:null,imageSizes:null,imageSrcSet:null,inert:et,inputMode:null,integrity:null,is:null,isMap:et,itemId:null,itemProp:Bt,itemRef:Bt,itemScope:et,itemType:Bt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:et,low:ye,manifest:null,max:null,maxLength:ye,media:null,method:null,min:null,minLength:ye,multiple:et,muted:et,name:null,nonce:null,noModule:et,noValidate:et,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:et,optimum:ye,pattern:null,ping:Bt,placeholder:null,playsInline:et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:et,referrerPolicy:null,rel:Bt,required:et,reversed:et,rows:ye,rowSpan:ye,sandbox:Bt,scope:null,scoped:et,seamless:et,selected:et,shadowRootClonable:et,shadowRootCustomElementRegistry:et,shadowRootDelegatesFocus:et,shadowRootMode:null,shadowRootSerializable:et,shape:null,size:ye,sizes:null,slot:null,span:ye,spellCheck:xn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ye,step:null,style:null,tabIndex:ye,target:null,title:null,translate:null,type:null,typeMustMatch:et,useMap:null,value:xn,width:ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Bt,axis:null,background:null,bgColor:null,border:ye,borderColor:null,bottomMargin:ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:et,declare:et,event:null,face:null,frame:null,frameBorder:null,hSpace:ye,leftMargin:ye,link:null,longDesc:null,lowSrc:null,marginHeight:ye,marginWidth:ye,noResize:et,noHref:et,noShade:et,noWrap:et,object:null,profile:null,prompt:null,rev:null,rightMargin:ye,rules:null,scheme:null,scrolling:xn,standby:null,summary:null,text:null,topMargin:ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ye,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:et,disablePictureInPicture:et,disableRemotePlayback:et,exportParts:Ls,part:Bt,prefix:null,property:null,results:ye,security:null,unselectable:null},space:"html",transform:mA}),dz=su({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",maskType:"mask-type",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:Pi,accentHeight:ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ye,amplitude:ye,arabicForm:null,ascent:ye,attributeName:null,attributeType:null,azimuth:ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ye,by:null,calcMode:null,capHeight:ye,className:Bt,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:ye,diffuseConstant:ye,direction:null,display:null,dur:null,divisor:ye,dominantBaseline:null,download:et,dx:null,dy:null,edgeMode:null,editable:null,elevation:ye,enableBackground:null,end:null,event:null,exponent:ye,externalResourcesRequired:null,fill:null,fillOpacity:ye,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:Ls,g2:Ls,glyphName:Ls,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ye,horizOriginX:ye,horizOriginY:ye,id:null,ideographic:ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ye,k:ye,k1:ye,k2:ye,k3:ye,k4:ye,kernelMatrix:Pi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ye,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:ye,overlineThickness:ye,paintOrder:null,panose1:null,path:null,pathLength:ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Bt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ye,pointsAtY:ye,pointsAtZ:ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Pi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Pi,rev:Pi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Pi,requiredFeatures:Pi,requiredFonts:Pi,requiredFormats:Pi,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:ye,specularExponent:ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ye,strikethroughThickness:ye,string:null,stroke:null,strokeDashArray:Pi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ye,strokeOpacity:ye,strokeWidth:null,style:null,surfaceScale:ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Pi,tabIndex:ye,tableValues:null,target:null,targetX:ye,targetY:ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Pi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ye,underlineThickness:ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ye,values:null,vAlphabetic:ye,vMathematical:ye,vectorEffect:null,vHanging:ye,vIdeographic:ye,version:null,vertAdvY:ye,vertOriginX:ye,vertOriginY:ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:pA}),gA=su({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,r){return"xlink:"+r.slice(5).toLowerCase()}}),bA=su({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mA}),yA=su({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,r){return"xml:"+r.slice(3).toLowerCase()}}),hz={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"},pz=/[A-Z]/g,VM=/-[a-z]/g,mz=/^data[-\w.:]+$/i;function gz(n,r){const a=xb(r);let s=r,u=Ni;if(a in n.normal)return n.property[n.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&mz.test(r)){if(r.charAt(4)==="-"){const d=r.slice(5).replace(VM,yz);s="data"+d.charAt(0).toUpperCase()+d.slice(1)}else{const d=r.slice(4);if(!VM.test(d)){let c=d.replace(pz,bz);c.charAt(0)!=="-"&&(c="-"+c),r="data"+c}}u=oy}return new u(s,r)}function bz(n){return"-"+n.toLowerCase()}function yz(n){return n.charAt(1).toUpperCase()}const vz=dA([hA,fz,gA,bA,yA],"html"),sy=dA([hA,dz,gA,bA,yA],"svg");function xz(n){return n.join(" ").trim()}var $l={},T1,MM;function wz(){if(MM)return T1;MM=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,a=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,d=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,h=/^\s+|\s+$/g,p=`
|
|
300
|
+
`,b="/",y="*",g="",v="comment",w="declaration";function V(C,k){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];k=k||{};var j=1,U=1;function Q(ee){var ue=ee.match(r);ue&&(j+=ue.length);var W=ee.lastIndexOf(p);U=~W?ee.length-W:U+ee.length}function Y(){var ee={line:j,column:U};return function(ue){return ue.position=new F(ee),X(),ue}}function F(ee){this.start=ee,this.end={line:j,column:U},this.source=k.source}F.prototype.content=C;function fe(ee){var ue=new Error(k.source+":"+j+":"+U+": "+ee);if(ue.reason=ee,ue.filename=k.source,ue.line=j,ue.column=U,ue.source=C,!k.silent)throw ue}function ie(ee){var ue=ee.exec(C);if(ue){var W=ue[0];return Q(W),C=C.slice(W.length),ue}}function X(){ie(a)}function R(ee){var ue;for(ee=ee||[];ue=xe();)ue!==!1&&ee.push(ue);return ee}function xe(){var ee=Y();if(!(b!=C.charAt(0)||y!=C.charAt(1))){for(var ue=2;g!=C.charAt(ue)&&(y!=C.charAt(ue)||b!=C.charAt(ue+1));)++ue;if(ue+=2,g===C.charAt(ue-1))return fe("End of comment missing");var W=C.slice(2,ue-2);return U+=2,Q(W),C=C.slice(ue),U+=2,ee({type:v,comment:W})}}function de(){var ee=Y(),ue=ie(s);if(ue){if(xe(),!ie(u))return fe("property missing ':'");var W=ie(d),ve=ee({type:w,property:D(ue[0].replace(n,g)),value:W?D(W[0].replace(n,g)):g});return ie(c),ve}}function ae(){var ee=[];R(ee);for(var ue;ue=de();)ue!==!1&&(ee.push(ue),R(ee));return ee}return X(),ae()}function D(C){return C?C.replace(h,g):g}return T1=V,T1}var TM;function Sz(){if(TM)return $l;TM=1;var n=$l&&$l.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty($l,"__esModule",{value:!0}),$l.default=a;const r=n(wz());function a(s,u){let d=null;if(!s||typeof s!="string")return d;const c=(0,r.default)(s),h=typeof u=="function";return c.forEach(p=>{if(p.type!=="declaration")return;const{property:b,value:y}=p;h?u(b,y,p):y&&(d=d||{},d[b]=y)}),d}return $l}var Ic={},NM;function Ez(){if(NM)return Ic;NM=1,Object.defineProperty(Ic,"__esModule",{value:!0}),Ic.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,d=function(b){return!b||a.test(b)||n.test(b)},c=function(b,y){return y.toUpperCase()},h=function(b,y){return"".concat(y,"-")},p=function(b,y){return y===void 0&&(y={}),d(b)?b:(b=b.toLowerCase(),y.reactCompat?b=b.replace(u,h):b=b.replace(s,h),b.replace(r,c))};return Ic.camelCase=p,Ic}var Pc,AM;function Vz(){if(AM)return Pc;AM=1;var n=Pc&&Pc.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},r=n(Sz()),a=Ez();function s(u,d){var c={};return!u||typeof u!="string"||(0,r.default)(u,function(h,p){h&&p&&(c[(0,a.camelCase)(h,d)]=p)}),c}return s.default=s,Pc=s,Pc}var Mz=Vz();const Tz=pp(Mz),vA=xA("end"),ly=xA("start");function xA(n){return r;function r(a){const s=a&&a.position&&a.position[n]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function Nz(n){const r=ly(n),a=vA(n);if(r&&a)return{start:r,end:a}}function Kc(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?kM(n.position):"start"in n||"end"in n?kM(n):"line"in n||"column"in n?Eb(n):""}function Eb(n){return CM(n&&n.line)+":"+CM(n&&n.column)}function kM(n){return Eb(n&&n.start)+"-"+Eb(n&&n.end)}function CM(n){return n&&typeof n=="number"?n:1}class Wn extends Error{constructor(r,a,s){super(),typeof a=="string"&&(s=a,a=void 0);let u="",d={},c=!1;if(a&&("line"in a&&"column"in a?d={place:a}:"start"in a&&"end"in a?d={place:a}:"type"in a?d={ancestors:[a],place:a.position}:d={...a}),typeof r=="string"?u=r:!d.cause&&r&&(c=!0,u=r.message,d.cause=r),!d.ruleId&&!d.source&&typeof s=="string"){const p=s.indexOf(":");p===-1?d.ruleId=s:(d.source=s.slice(0,p),d.ruleId=s.slice(p+1))}if(!d.place&&d.ancestors&&d.ancestors){const p=d.ancestors[d.ancestors.length-1];p&&(d.place=p.position)}const h=d.place&&"start"in d.place?d.place.start:d.place;this.ancestors=d.ancestors||void 0,this.cause=d.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=Kc(d.place)||"1:1",this.place=d.place||void 0,this.reason=this.message,this.ruleId=d.ruleId||void 0,this.source=d.source||void 0,this.stack=c&&d.cause&&typeof d.cause.stack=="string"?d.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Wn.prototype.file="";Wn.prototype.name="";Wn.prototype.reason="";Wn.prototype.message="";Wn.prototype.stack="";Wn.prototype.column=void 0;Wn.prototype.line=void 0;Wn.prototype.ancestors=void 0;Wn.prototype.cause=void 0;Wn.prototype.fatal=void 0;Wn.prototype.place=void 0;Wn.prototype.ruleId=void 0;Wn.prototype.source=void 0;const uy={}.hasOwnProperty,Az=new Map,kz=/[A-Z]/g,Cz=new Set(["table","tbody","thead","tfoot","tr"]),Rz=new Set(["td","th"]),wA="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Dz(n,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=r.filePath||void 0;let s;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=jz(a,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=Zz(a,r.jsx,r.jsxs)}const u={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:s,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?sy:vz,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},d=SA(u,n,void 0);return d&&typeof d!="string"?d:u.create(n,u.Fragment,{children:d||void 0},void 0)}function SA(n,r,a){if(r.type==="element")return _z(n,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Oz(n,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return zz(n,r,a);if(r.type==="mdxjsEsm")return Hz(n,r);if(r.type==="root")return Lz(n,r,a);if(r.type==="text")return Bz(n,r)}function _z(n,r,a){const s=n.schema;let u=s;r.tagName.toLowerCase()==="svg"&&s.space==="html"&&(u=sy,n.schema=u),n.ancestors.push(r);const d=VA(n,r.tagName,!1),c=Uz(n,r);let h=fy(n,r);return Cz.has(r.tagName)&&(h=h.filter(function(p){return typeof p=="string"?!uz(p):!0})),EA(n,c,d,r),cy(c,h),n.ancestors.pop(),n.schema=s,n.create(r,d,c,a)}function Oz(n,r){if(r.data&&r.data.estree&&n.evaluater){const s=r.data.estree.body[0];return I(s.type==="ExpressionStatement"),n.evaluater.evaluateExpression(s.expression)}af(n,r.position)}function Hz(n,r){if(r.data&&r.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(r.data.estree);af(n,r.position)}function zz(n,r,a){const s=n.schema;let u=s;r.name==="svg"&&s.space==="html"&&(u=sy,n.schema=u),n.ancestors.push(r);const d=r.name===null?n.Fragment:VA(n,r.name,!0),c=Iz(n,r),h=fy(n,r);return EA(n,c,d,r),cy(c,h),n.ancestors.pop(),n.schema=s,n.create(r,d,c,a)}function Lz(n,r,a){const s={};return cy(s,fy(n,r)),n.create(r,n.Fragment,s,a)}function Bz(n,r){return r.value}function EA(n,r,a,s){typeof a!="string"&&a!==n.Fragment&&n.passNode&&(r.node=s)}function cy(n,r){if(r.length>0){const a=r.length>1?r:r[0];a&&(n.children=a)}}function Zz(n,r,a){return s;function s(u,d,c,h){const b=Array.isArray(c.children)?a:r;return h?b(d,c,h):b(d,c)}}function jz(n,r){return a;function a(s,u,d,c){const h=Array.isArray(d.children),p=ly(s);return r(u,d,c,h,{columnNumber:p?p.column-1:void 0,fileName:n,lineNumber:p?p.line:void 0},void 0)}}function Uz(n,r){const a={};let s,u;for(u in r.properties)if(u!=="children"&&uy.call(r.properties,u)){const d=Pz(n,u,r.properties[u]);if(d){const[c,h]=d;n.tableCellAlignToStyle&&c==="align"&&typeof h=="string"&&Rz.has(r.tagName)?s=h:a[c]=h}}if(s){const d=a.style||(a.style={});d[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return a}function Iz(n,r){const a={};for(const s of r.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&n.evaluater){const d=s.data.estree.body[0];I(d.type==="ExpressionStatement");const c=d.expression;I(c.type==="ObjectExpression");const h=c.properties[0];I(h.type==="SpreadElement"),Object.assign(a,n.evaluater.evaluateExpression(h.argument))}else af(n,r.position);else{const u=s.name;let d;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&n.evaluater){const h=s.value.data.estree.body[0];I(h.type==="ExpressionStatement"),d=n.evaluater.evaluateExpression(h.expression)}else af(n,r.position);else d=s.value===null?!0:s.value;a[u]=d}return a}function fy(n,r){const a=[];let s=-1;const u=n.passKeys?new Map:Az;for(;++s<r.children.length;){const d=r.children[s];let c;if(n.passKeys){const p=d.type==="element"?d.tagName:d.type==="mdxJsxFlowElement"||d.type==="mdxJsxTextElement"?d.name:void 0;if(p){const b=u.get(p)||0;c=p+"-"+b,u.set(p,b+1)}}const h=SA(n,d,c);h!==void 0&&a.push(h)}return a}function Pz(n,r,a){const s=gz(n.schema,r);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=s.commaSeparated?rz(a):xz(a)),s.property==="style"){let u=typeof a=="object"?a:Fz(n,String(a));return n.stylePropertyNameCase==="css"&&(u=qz(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&s.space?hz[s.property]||s.property:s.attribute,a]}}function Fz(n,r){try{return Tz(r,{reactCompat:!0})}catch(a){if(n.ignoreInvalidStyle)return{};const s=a,u=new Wn("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=wA+"#cannot-parse-style-attribute",u}}function VA(n,r,a){let s;if(!a)s={type:"Literal",value:r};else if(r.includes(".")){const u=r.split(".");let d=-1,c;for(;++d<u.length;){const h=wM(u[d])?{type:"Identifier",name:u[d]}:{type:"Literal",value:u[d]};c=c?{type:"MemberExpression",object:c,property:h,computed:!!(d&&h.type==="Literal"),optional:!1}:h}I(c,"always a result"),s=c}else s=wM(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(s.type==="Literal"){const u=s.value;return uy.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(s);af(n)}function af(n,r){const a=new Wn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=n.filePath||void 0,a.url=wA+"#cannot-handle-mdx-estrees-without-createevaluater",a}function qz(n){const r={};let a;for(a in n)uy.call(n,a)&&(r[$z(a)]=n[a]);return r}function $z(n){let r=n.replace(kz,Gz);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function Gz(n){return"-"+n.toLowerCase()}const N1={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"]},Yz={};function dy(n,r){const a=Yz,s=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,u=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return MA(n,s,u)}function MA(n,r,a){if(Xz(n)){if("value"in n)return n.type==="html"&&!a?"":n.value;if(r&&"alt"in n&&n.alt)return n.alt;if("children"in n)return RM(n.children,r,a)}return Array.isArray(n)?RM(n,r,a):""}function RM(n,r,a){const s=[];let u=-1;for(;++u<n.length;)s[u]=MA(n[u],r,a);return s.join("")}function Xz(n){return!!(n&&typeof n=="object")}const DM=document.createElement("i");function hy(n){const r="&"+n+";";DM.innerHTML=r;const a=DM.textContent;return a.charCodeAt(a.length-1)===59&&n!=="semi"||a===r?!1:a}const S={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,ht:9,lf:10,vt:11,cr:13,space:32,exclamationMark:33,quotationMark:34,numberSign:35,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseH:72,uppercaseW:87,uppercaseX:88,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseH:104,lowercaseW:119,lowercaseX:120,leftCurlyBrace:123,verticalBar:124,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},Ne={attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},M={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},oa={ht:" ",lf:`
|
|
301
|
+
`,cr:"\r",space:" ",replacementCharacter:"�"};function Fi(n,r,a,s){const u=n.length;let d=0,c;if(r<0?r=-r>u?0:u+r:r=r>u?u:r,a=a>0?a:0,s.length<Ne.v8MaxSafeChunkSize)c=Array.from(s),c.unshift(r,a),n.splice(...c);else for(a&&n.splice(r,a);d<s.length;)c=s.slice(d,d+Ne.v8MaxSafeChunkSize),c.unshift(r,0),n.splice(...c),d+=Ne.v8MaxSafeChunkSize,r+=Ne.v8MaxSafeChunkSize}function lr(n,r){return n.length>0?(Fi(n,n.length,0,r),n):r}const _M={}.hasOwnProperty;function TA(n){const r={};let a=-1;for(;++a<n.length;)Qz(r,n[a]);return r}function Qz(n,r){let a;for(a in r){const u=(_M.call(n,a)?n[a]:void 0)||(n[a]={}),d=r[a];let c;if(d)for(c in d){_M.call(u,c)||(u[c]=[]);const h=d[c];Kz(u[c],Array.isArray(h)?h:h?[h]:[])}}}function Kz(n,r){let a=-1;const s=[];for(;++a<r.length;)(r[a].add==="after"?n:s).push(r[a]);Fi(n,0,0,s)}function NA(n,r){const a=Number.parseInt(n,r);return a<S.ht||a===S.vt||a>S.cr&&a<S.space||a>S.tilde&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?oa.replacementCharacter:String.fromCodePoint(a)}function Ar(n){return n.replace(/[\t\n\r ]+/g,oa.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}const fi=Zo(/[A-Za-z]/),Kn=Zo(/[\dA-Za-z]/),Jz=Zo(/[#-'*+\--9=?A-Z^-~]/);function cp(n){return n!==null&&(n<S.space||n===S.del)}const Vb=Zo(/\d/),Wz=Zo(/[\dA-Fa-f]/),eL=Zo(/[!-/:-@[-`{-~]/);function ze(n){return n!==null&&n<S.horizontalTab}function Ut(n){return n!==null&&(n<S.nul||n===S.space)}function pt(n){return n===S.horizontalTab||n===S.virtualSpace||n===S.space}const xp=Zo(new RegExp("\\p{P}|\\p{S}","u")),Bs=Zo(/\s/);function Zo(n){return r;function r(a){return a!==null&&a>-1&&n.test(String.fromCharCode(a))}}function lu(n){const r=[];let a=-1,s=0,u=0;for(;++a<n.length;){const d=n.charCodeAt(a);let c="";if(d===S.percentSign&&Kn(n.charCodeAt(a+1))&&Kn(n.charCodeAt(a+2)))u=2;else if(d<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(d))||(c=String.fromCharCode(d));else if(d>55295&&d<57344){const h=n.charCodeAt(a+1);d<56320&&h>56319&&h<57344?(c=String.fromCharCode(d,h),u=1):c=oa.replacementCharacter}else c=String.fromCharCode(d);c&&(r.push(n.slice(s,a),encodeURIComponent(c)),s=a+u+1,c=""),u&&(a+=u,u=0)}return r.join("")+n.slice(s)}function Et(n,r,a,s){const u=s?s-1:Number.POSITIVE_INFINITY;let d=0;return c;function c(p){return pt(p)?(n.enter(a),h(p)):r(p)}function h(p){return pt(p)&&d++<u?(n.consume(p),h):(n.exit(a),r(p))}}const tL={tokenize:nL};function nL(n){const r=n.attempt(this.parser.constructs.contentInitial,s,u);let a;return r;function s(h){if(I(h===S.eof||ze(h),"expected eol or eof"),h===S.eof){n.consume(h);return}return n.enter(M.lineEnding),n.consume(h),n.exit(M.lineEnding),Et(n,r,M.linePrefix)}function u(h){return I(h!==S.eof&&!ze(h),"expected anything other than a line ending or EOF"),n.enter(M.paragraph),d(h)}function d(h){const p=n.enter(M.chunkText,{contentType:Ne.contentTypeText,previous:a});return a&&(a.next=p),a=p,c(h)}function c(h){if(h===S.eof){n.exit(M.chunkText),n.exit(M.paragraph),n.consume(h);return}return ze(h)?(n.consume(h),n.exit(M.chunkText),d):(n.consume(h),c)}}const iL={tokenize:rL},OM={tokenize:aL};function rL(n){const r=this,a=[];let s=0,u,d,c;return h;function h(U){if(s<a.length){const Q=a[s];return r.containerState=Q[1],I(Q[0].continuation,"expected `continuation` to be defined on container construct"),n.attempt(Q[0].continuation,p,b)(U)}return b(U)}function p(U){if(I(r.containerState,"expected `containerState` to be defined after continuation"),s++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,u&&j();const Q=r.events.length;let Y=Q,F;for(;Y--;)if(r.events[Y][0]==="exit"&&r.events[Y][1].type===M.chunkFlow){F=r.events[Y][1].end;break}I(F,"could not find previous flow chunk"),k(s);let fe=Q;for(;fe<r.events.length;)r.events[fe][1].end={...F},fe++;return Fi(r.events,Y+1,0,r.events.slice(Q)),r.events.length=fe,b(U)}return h(U)}function b(U){if(s===a.length){if(!u)return v(U);if(u.currentConstruct&&u.currentConstruct.concrete)return V(U);r.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return r.containerState={},n.check(OM,y,g)(U)}function y(U){return u&&j(),k(s),v(U)}function g(U){return r.parser.lazy[r.now().line]=s!==a.length,c=r.now().offset,V(U)}function v(U){return r.containerState={},n.attempt(OM,w,V)(U)}function w(U){return I(r.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),I(r.containerState,"expected `containerState` to be defined on tokenizer"),s++,a.push([r.currentConstruct,r.containerState]),v(U)}function V(U){if(U===S.eof){u&&j(),k(0),n.consume(U);return}return u=u||r.parser.flow(r.now()),n.enter(M.chunkFlow,{_tokenizer:u,contentType:Ne.contentTypeFlow,previous:d}),D(U)}function D(U){if(U===S.eof){C(n.exit(M.chunkFlow),!0),k(0),n.consume(U);return}return ze(U)?(n.consume(U),C(n.exit(M.chunkFlow)),s=0,r.interrupt=void 0,h):(n.consume(U),D)}function C(U,Q){I(u,"expected `childFlow` to be defined when continuing");const Y=r.sliceStream(U);if(Q&&Y.push(null),U.previous=d,d&&(d.next=U),d=U,u.defineSkip(U.start),u.write(Y),r.parser.lazy[U.start.line]){let F=u.events.length;for(;F--;)if(u.events[F][1].start.offset<c&&(!u.events[F][1].end||u.events[F][1].end.offset>c))return;const fe=r.events.length;let ie=fe,X,R;for(;ie--;)if(r.events[ie][0]==="exit"&&r.events[ie][1].type===M.chunkFlow){if(X){R=r.events[ie][1].end;break}X=!0}for(I(R,"could not find previous flow chunk"),k(s),F=fe;F<r.events.length;)r.events[F][1].end={...R},F++;Fi(r.events,ie+1,0,r.events.slice(fe)),r.events.length=F}}function k(U){let Q=a.length;for(;Q-- >U;){const Y=a[Q];r.containerState=Y[1],I(Y[0].exit,"expected `exit` to be defined on container construct"),Y[0].exit.call(r,n)}a.length=U}function j(){I(r.containerState,"expected `containerState` to be defined when closing flow"),I(u,"expected `childFlow` to be defined when closing it"),u.write([S.eof]),d=void 0,u=void 0,r.containerState._closeFlow=void 0}}function aL(n,r,a){return I(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),Et(n,n.attempt(this.parser.constructs.document,r,a),M.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)}function nu(n){if(n===S.eof||Ut(n)||Bs(n))return Ne.characterGroupWhitespace;if(xp(n))return Ne.characterGroupPunctuation}function wp(n,r,a){const s=[];let u=-1;for(;++u<n.length;){const d=n[u].resolveAll;d&&!s.includes(d)&&(r=d(r,a),s.push(d))}return r}const Mb={name:"attention",resolveAll:oL,tokenize:sL};function oL(n,r){let a=-1,s,u,d,c,h,p,b,y;for(;++a<n.length;)if(n[a][0]==="enter"&&n[a][1].type==="attentionSequence"&&n[a][1]._close){for(s=a;s--;)if(n[s][0]==="exit"&&n[s][1].type==="attentionSequence"&&n[s][1]._open&&r.sliceSerialize(n[s][1]).charCodeAt(0)===r.sliceSerialize(n[a][1]).charCodeAt(0)){if((n[s][1]._close||n[a][1]._open)&&(n[a][1].end.offset-n[a][1].start.offset)%3&&!((n[s][1].end.offset-n[s][1].start.offset+n[a][1].end.offset-n[a][1].start.offset)%3))continue;p=n[s][1].end.offset-n[s][1].start.offset>1&&n[a][1].end.offset-n[a][1].start.offset>1?2:1;const g={...n[s][1].end},v={...n[a][1].start};HM(g,-p),HM(v,p),c={type:p>1?M.strongSequence:M.emphasisSequence,start:g,end:{...n[s][1].end}},h={type:p>1?M.strongSequence:M.emphasisSequence,start:{...n[a][1].start},end:v},d={type:p>1?M.strongText:M.emphasisText,start:{...n[s][1].end},end:{...n[a][1].start}},u={type:p>1?M.strong:M.emphasis,start:{...c.start},end:{...h.end}},n[s][1].end={...c.start},n[a][1].start={...h.end},b=[],n[s][1].end.offset-n[s][1].start.offset&&(b=lr(b,[["enter",n[s][1],r],["exit",n[s][1],r]])),b=lr(b,[["enter",u,r],["enter",c,r],["exit",c,r],["enter",d,r]]),I(r.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),b=lr(b,wp(r.parser.constructs.insideSpan.null,n.slice(s+1,a),r)),b=lr(b,[["exit",d,r],["enter",h,r],["exit",h,r],["exit",u,r]]),n[a][1].end.offset-n[a][1].start.offset?(y=2,b=lr(b,[["enter",n[a][1],r],["exit",n[a][1],r]])):y=0,Fi(n,s-1,a-s+3,b),a=s+b.length-y-2;break}}for(a=-1;++a<n.length;)n[a][1].type==="attentionSequence"&&(n[a][1].type="data");return n}function sL(n,r){const a=this.parser.constructs.attentionMarkers.null,s=this.previous,u=nu(s);let d;return c;function c(p){return I(p===S.asterisk||p===S.underscore,"expected asterisk or underscore"),d=p,n.enter("attentionSequence"),h(p)}function h(p){if(p===d)return n.consume(p),h;const b=n.exit("attentionSequence"),y=nu(p);I(a,"expected `attentionMarkers` to be populated");const g=!y||y===Ne.characterGroupPunctuation&&u||a.includes(p),v=!u||u===Ne.characterGroupPunctuation&&y||a.includes(s);return b._open=!!(d===S.asterisk?g:g&&(u||!v)),b._close=!!(d===S.asterisk?v:v&&(y||!g)),r(p)}}function HM(n,r){n.column+=r,n.offset+=r,n._bufferIndex+=r}const lL={name:"autolink",tokenize:uL};function uL(n,r,a){let s=0;return u;function u(w){return I(w===S.lessThan,"expected `<`"),n.enter(M.autolink),n.enter(M.autolinkMarker),n.consume(w),n.exit(M.autolinkMarker),n.enter(M.autolinkProtocol),d}function d(w){return fi(w)?(n.consume(w),c):w===S.atSign?a(w):b(w)}function c(w){return w===S.plusSign||w===S.dash||w===S.dot||Kn(w)?(s=1,h(w)):b(w)}function h(w){return w===S.colon?(n.consume(w),s=0,p):(w===S.plusSign||w===S.dash||w===S.dot||Kn(w))&&s++<Ne.autolinkSchemeSizeMax?(n.consume(w),h):(s=0,b(w))}function p(w){return w===S.greaterThan?(n.exit(M.autolinkProtocol),n.enter(M.autolinkMarker),n.consume(w),n.exit(M.autolinkMarker),n.exit(M.autolink),r):w===S.eof||w===S.space||w===S.lessThan||cp(w)?a(w):(n.consume(w),p)}function b(w){return w===S.atSign?(n.consume(w),y):Jz(w)?(n.consume(w),b):a(w)}function y(w){return Kn(w)?g(w):a(w)}function g(w){return w===S.dot?(n.consume(w),s=0,y):w===S.greaterThan?(n.exit(M.autolinkProtocol).type=M.autolinkEmail,n.enter(M.autolinkMarker),n.consume(w),n.exit(M.autolinkMarker),n.exit(M.autolink),r):v(w)}function v(w){if((w===S.dash||Kn(w))&&s++<Ne.autolinkDomainSizeMax){const V=w===S.dash?v:g;return n.consume(w),V}return a(w)}}const hf={partial:!0,tokenize:cL};function cL(n,r,a){return s;function s(d){return pt(d)?Et(n,u,M.linePrefix)(d):u(d)}function u(d){return d===S.eof||ze(d)?r(d):a(d)}}const AA={continuation:{tokenize:dL},exit:hL,name:"blockQuote",tokenize:fL};function fL(n,r,a){const s=this;return u;function u(c){if(c===S.greaterThan){const h=s.containerState;return I(h,"expected `containerState` to be defined in container"),h.open||(n.enter(M.blockQuote,{_container:!0}),h.open=!0),n.enter(M.blockQuotePrefix),n.enter(M.blockQuoteMarker),n.consume(c),n.exit(M.blockQuoteMarker),d}return a(c)}function d(c){return pt(c)?(n.enter(M.blockQuotePrefixWhitespace),n.consume(c),n.exit(M.blockQuotePrefixWhitespace),n.exit(M.blockQuotePrefix),r):(n.exit(M.blockQuotePrefix),r(c))}}function dL(n,r,a){const s=this;return u;function u(c){return pt(c)?(I(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Et(n,d,M.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)(c)):d(c)}function d(c){return n.attempt(AA,r,a)(c)}}function hL(n){n.exit(M.blockQuote)}const kA={name:"characterEscape",tokenize:pL};function pL(n,r,a){return s;function s(d){return I(d===S.backslash,"expected `\\`"),n.enter(M.characterEscape),n.enter(M.escapeMarker),n.consume(d),n.exit(M.escapeMarker),u}function u(d){return eL(d)?(n.enter(M.characterEscapeValue),n.consume(d),n.exit(M.characterEscapeValue),n.exit(M.characterEscape),r):a(d)}}const CA={name:"characterReference",tokenize:mL};function mL(n,r,a){const s=this;let u=0,d,c;return h;function h(g){return I(g===S.ampersand,"expected `&`"),n.enter(M.characterReference),n.enter(M.characterReferenceMarker),n.consume(g),n.exit(M.characterReferenceMarker),p}function p(g){return g===S.numberSign?(n.enter(M.characterReferenceMarkerNumeric),n.consume(g),n.exit(M.characterReferenceMarkerNumeric),b):(n.enter(M.characterReferenceValue),d=Ne.characterReferenceNamedSizeMax,c=Kn,y(g))}function b(g){return g===S.uppercaseX||g===S.lowercaseX?(n.enter(M.characterReferenceMarkerHexadecimal),n.consume(g),n.exit(M.characterReferenceMarkerHexadecimal),n.enter(M.characterReferenceValue),d=Ne.characterReferenceHexadecimalSizeMax,c=Wz,y):(n.enter(M.characterReferenceValue),d=Ne.characterReferenceDecimalSizeMax,c=Vb,y(g))}function y(g){if(g===S.semicolon&&u){const v=n.exit(M.characterReferenceValue);return c===Kn&&!hy(s.sliceSerialize(v))?a(g):(n.enter(M.characterReferenceMarker),n.consume(g),n.exit(M.characterReferenceMarker),n.exit(M.characterReference),r)}return c(g)&&u++<d?(n.consume(g),y):a(g)}}const zM={partial:!0,tokenize:bL},LM={concrete:!0,name:"codeFenced",tokenize:gL};function gL(n,r,a){const s=this,u={partial:!0,tokenize:Y};let d=0,c=0,h;return p;function p(F){return b(F)}function b(F){I(F===S.graveAccent||F===S.tilde,"expected `` ` `` or `~`");const fe=s.events[s.events.length-1];return d=fe&&fe[1].type===M.linePrefix?fe[2].sliceSerialize(fe[1],!0).length:0,h=F,n.enter(M.codeFenced),n.enter(M.codeFencedFence),n.enter(M.codeFencedFenceSequence),y(F)}function y(F){return F===h?(c++,n.consume(F),y):c<Ne.codeFencedSequenceSizeMin?a(F):(n.exit(M.codeFencedFenceSequence),pt(F)?Et(n,g,M.whitespace)(F):g(F))}function g(F){return F===S.eof||ze(F)?(n.exit(M.codeFencedFence),s.interrupt?r(F):n.check(zM,D,Q)(F)):(n.enter(M.codeFencedFenceInfo),n.enter(M.chunkString,{contentType:Ne.contentTypeString}),v(F))}function v(F){return F===S.eof||ze(F)?(n.exit(M.chunkString),n.exit(M.codeFencedFenceInfo),g(F)):pt(F)?(n.exit(M.chunkString),n.exit(M.codeFencedFenceInfo),Et(n,w,M.whitespace)(F)):F===S.graveAccent&&F===h?a(F):(n.consume(F),v)}function w(F){return F===S.eof||ze(F)?g(F):(n.enter(M.codeFencedFenceMeta),n.enter(M.chunkString,{contentType:Ne.contentTypeString}),V(F))}function V(F){return F===S.eof||ze(F)?(n.exit(M.chunkString),n.exit(M.codeFencedFenceMeta),g(F)):F===S.graveAccent&&F===h?a(F):(n.consume(F),V)}function D(F){return I(ze(F),"expected eol"),n.attempt(u,Q,C)(F)}function C(F){return I(ze(F),"expected eol"),n.enter(M.lineEnding),n.consume(F),n.exit(M.lineEnding),k}function k(F){return d>0&&pt(F)?Et(n,j,M.linePrefix,d+1)(F):j(F)}function j(F){return F===S.eof||ze(F)?n.check(zM,D,Q)(F):(n.enter(M.codeFlowValue),U(F))}function U(F){return F===S.eof||ze(F)?(n.exit(M.codeFlowValue),j(F)):(n.consume(F),U)}function Q(F){return n.exit(M.codeFenced),r(F)}function Y(F,fe,ie){let X=0;return R;function R(ue){return I(ze(ue),"expected eol"),F.enter(M.lineEnding),F.consume(ue),F.exit(M.lineEnding),xe}function xe(ue){return I(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),F.enter(M.codeFencedFence),pt(ue)?Et(F,de,M.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)(ue):de(ue)}function de(ue){return ue===h?(F.enter(M.codeFencedFenceSequence),ae(ue)):ie(ue)}function ae(ue){return ue===h?(X++,F.consume(ue),ae):X>=c?(F.exit(M.codeFencedFenceSequence),pt(ue)?Et(F,ee,M.whitespace)(ue):ee(ue)):ie(ue)}function ee(ue){return ue===S.eof||ze(ue)?(F.exit(M.codeFencedFence),fe(ue)):ie(ue)}}}function bL(n,r,a){const s=this;return u;function u(c){return c===S.eof?a(c):(I(ze(c),"expected eol"),n.enter(M.lineEnding),n.consume(c),n.exit(M.lineEnding),d)}function d(c){return s.parser.lazy[s.now().line]?a(c):r(c)}}const A1={name:"codeIndented",tokenize:vL},yL={partial:!0,tokenize:xL};function vL(n,r,a){const s=this;return u;function u(b){return I(pt(b)),n.enter(M.codeIndented),Et(n,d,M.linePrefix,Ne.tabSize+1)(b)}function d(b){const y=s.events[s.events.length-1];return y&&y[1].type===M.linePrefix&&y[2].sliceSerialize(y[1],!0).length>=Ne.tabSize?c(b):a(b)}function c(b){return b===S.eof?p(b):ze(b)?n.attempt(yL,c,p)(b):(n.enter(M.codeFlowValue),h(b))}function h(b){return b===S.eof||ze(b)?(n.exit(M.codeFlowValue),c(b)):(n.consume(b),h)}function p(b){return n.exit(M.codeIndented),r(b)}}function xL(n,r,a){const s=this;return u;function u(c){return s.parser.lazy[s.now().line]?a(c):ze(c)?(n.enter(M.lineEnding),n.consume(c),n.exit(M.lineEnding),u):Et(n,d,M.linePrefix,Ne.tabSize+1)(c)}function d(c){const h=s.events[s.events.length-1];return h&&h[1].type===M.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ne.tabSize?r(c):ze(c)?u(c):a(c)}}const wL={name:"codeText",previous:RA,resolve:SL,tokenize:EL};function SL(n){let r=n.length-4,a=3,s,u;if((n[a][1].type===M.lineEnding||n[a][1].type==="space")&&(n[r][1].type===M.lineEnding||n[r][1].type==="space")){for(s=a;++s<r;)if(n[s][1].type===M.codeTextData){n[a][1].type=M.codeTextPadding,n[r][1].type=M.codeTextPadding,a+=2,r-=2;break}}for(s=a-1,r++;++s<=r;)u===void 0?s!==r&&n[s][1].type!==M.lineEnding&&(u=s):(s===r||n[s][1].type===M.lineEnding)&&(n[u][1].type=M.codeTextData,s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),r-=s-u-2,s=u+2),u=void 0);return n}function RA(n){return n!==S.graveAccent||this.events[this.events.length-1][1].type===M.characterEscape}function EL(n,r,a){const s=this;let u=0,d,c;return h;function h(v){return I(v===S.graveAccent,"expected `` ` ``"),I(RA.call(s,s.previous),"expected correct previous"),n.enter(M.codeText),n.enter(M.codeTextSequence),p(v)}function p(v){return v===S.graveAccent?(n.consume(v),u++,p):(n.exit(M.codeTextSequence),b(v))}function b(v){return v===S.eof?a(v):v===S.space?(n.enter("space"),n.consume(v),n.exit("space"),b):v===S.graveAccent?(c=n.enter(M.codeTextSequence),d=0,g(v)):ze(v)?(n.enter(M.lineEnding),n.consume(v),n.exit(M.lineEnding),b):(n.enter(M.codeTextData),y(v))}function y(v){return v===S.eof||v===S.space||v===S.graveAccent||ze(v)?(n.exit(M.codeTextData),b(v)):(n.consume(v),y)}function g(v){return v===S.graveAccent?(n.consume(v),d++,g):d===u?(n.exit(M.codeTextSequence),n.exit(M.codeText),r(v)):(c.type=M.codeTextData,y(v))}}class VL{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,a){const s=a??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(r,s):r>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(r,a,s){const u=a||0;this.setCursor(Math.trunc(r));const d=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return s&&Fc(this.left,s),d.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),Fc(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),Fc(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const a=this.left.splice(r,Number.POSITIVE_INFINITY);Fc(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);Fc(this.left,a.reverse())}}}function Fc(n,r){let a=0;if(r.length<Ne.v8MaxSafeChunkSize)n.push(...r);else for(;a<r.length;)n.push(...r.slice(a,a+Ne.v8MaxSafeChunkSize)),a+=Ne.v8MaxSafeChunkSize}function DA(n){const r={};let a=-1,s,u,d,c,h,p,b;const y=new VL(n);for(;++a<y.length;){for(;a in r;)a=r[a];if(s=y.get(a),a&&s[1].type===M.chunkFlow&&y.get(a-1)[1].type===M.listItemPrefix&&(I(s[1]._tokenizer,"expected `_tokenizer` on subtokens"),p=s[1]._tokenizer.events,d=0,d<p.length&&p[d][1].type===M.lineEndingBlank&&(d+=2),d<p.length&&p[d][1].type===M.content))for(;++d<p.length&&p[d][1].type!==M.content;)p[d][1].type===M.chunkText&&(p[d][1]._isInFirstContentOfListItem=!0,d++);if(s[0]==="enter")s[1].contentType&&(Object.assign(r,ML(y,a)),a=r[a],b=!0);else if(s[1]._container){for(d=a,u=void 0;d--;)if(c=y.get(d),c[1].type===M.lineEnding||c[1].type===M.lineEndingBlank)c[0]==="enter"&&(u&&(y.get(u)[1].type=M.lineEndingBlank),c[1].type=M.lineEnding,u=d);else if(!(c[1].type===M.linePrefix||c[1].type===M.listItemIndent))break;u&&(s[1].end={...y.get(u)[1].start},h=y.slice(u,a),h.unshift(s),y.splice(u,a-u+1,h))}}return Fi(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!b}function ML(n,r){const a=n.get(r)[1],s=n.get(r)[2];let u=r-1;const d=[];I(a.contentType,"expected `contentType` on subtokens");let c=a._tokenizer;c||(c=s.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const h=c.events,p=[],b={};let y,g,v=-1,w=a,V=0,D=0;const C=[D];for(;w;){for(;n.get(++u)[1]!==w;);I(!g||w.previous===g,"expected previous to match"),I(!g||g.next===w,"expected next to match"),d.push(u),w._tokenizer||(y=s.sliceStream(w),w.next||y.push(S.eof),g&&c.defineSkip(w.start),w._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(y),w._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),g=w,w=w.next}for(w=a;++v<h.length;)h[v][0]==="exit"&&h[v-1][0]==="enter"&&h[v][1].type===h[v-1][1].type&&h[v][1].start.line!==h[v][1].end.line&&(I(w,"expected a current token"),D=v+1,C.push(D),w._tokenizer=void 0,w.previous=void 0,w=w.next);for(c.events=[],w?(w._tokenizer=void 0,w.previous=void 0,I(!w.next,"expected no next token")):C.pop(),v=C.length;v--;){const k=h.slice(C[v],C[v+1]),j=d.pop();I(j!==void 0,"expected a start position when splicing"),p.push([j,j+k.length-1]),n.splice(j,2,k)}for(p.reverse(),v=-1;++v<p.length;)b[V+p[v][0]]=V+p[v][1],V+=p[v][1]-p[v][0]-1;return b}const TL={resolve:AL,tokenize:kL},NL={partial:!0,tokenize:CL};function AL(n){return DA(n),n}function kL(n,r){let a;return s;function s(h){return I(h!==S.eof&&!ze(h),"expected no eof or eol"),n.enter(M.content),a=n.enter(M.chunkContent,{contentType:Ne.contentTypeContent}),u(h)}function u(h){return h===S.eof?d(h):ze(h)?n.check(NL,c,d)(h):(n.consume(h),u)}function d(h){return n.exit(M.chunkContent),n.exit(M.content),r(h)}function c(h){return I(ze(h),"expected eol"),n.consume(h),n.exit(M.chunkContent),I(a,"expected previous token"),a.next=n.enter(M.chunkContent,{contentType:Ne.contentTypeContent,previous:a}),a=a.next,u}}function CL(n,r,a){const s=this;return u;function u(c){return I(ze(c),"expected a line ending"),n.exit(M.chunkContent),n.enter(M.lineEnding),n.consume(c),n.exit(M.lineEnding),Et(n,d,M.linePrefix)}function d(c){if(c===S.eof||ze(c))return a(c);I(s.parser.constructs.disable.null,"expected `disable.null` to be populated");const h=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type===M.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=Ne.tabSize?r(c):n.interrupt(s.parser.constructs.flow,a,r)(c)}}function _A(n,r,a,s,u,d,c,h,p){const b=p||Number.POSITIVE_INFINITY;let y=0;return g;function g(k){return k===S.lessThan?(n.enter(s),n.enter(u),n.enter(d),n.consume(k),n.exit(d),v):k===S.eof||k===S.space||k===S.rightParenthesis||cp(k)?a(k):(n.enter(s),n.enter(c),n.enter(h),n.enter(M.chunkString,{contentType:Ne.contentTypeString}),D(k))}function v(k){return k===S.greaterThan?(n.enter(d),n.consume(k),n.exit(d),n.exit(u),n.exit(s),r):(n.enter(h),n.enter(M.chunkString,{contentType:Ne.contentTypeString}),w(k))}function w(k){return k===S.greaterThan?(n.exit(M.chunkString),n.exit(h),v(k)):k===S.eof||k===S.lessThan||ze(k)?a(k):(n.consume(k),k===S.backslash?V:w)}function V(k){return k===S.lessThan||k===S.greaterThan||k===S.backslash?(n.consume(k),w):w(k)}function D(k){return!y&&(k===S.eof||k===S.rightParenthesis||Ut(k))?(n.exit(M.chunkString),n.exit(h),n.exit(c),n.exit(s),r(k)):y<b&&k===S.leftParenthesis?(n.consume(k),y++,D):k===S.rightParenthesis?(n.consume(k),y--,D):k===S.eof||k===S.space||k===S.leftParenthesis||cp(k)?a(k):(n.consume(k),k===S.backslash?C:D)}function C(k){return k===S.leftParenthesis||k===S.rightParenthesis||k===S.backslash?(n.consume(k),D):D(k)}}function OA(n,r,a,s,u,d){const c=this;let h=0,p;return b;function b(w){return I(w===S.leftSquareBracket,"expected `[`"),n.enter(s),n.enter(u),n.consume(w),n.exit(u),n.enter(d),y}function y(w){return h>Ne.linkReferenceSizeMax||w===S.eof||w===S.leftSquareBracket||w===S.rightSquareBracket&&!p||w===S.caret&&!h&&"_hiddenFootnoteSupport"in c.parser.constructs?a(w):w===S.rightSquareBracket?(n.exit(d),n.enter(u),n.consume(w),n.exit(u),n.exit(s),r):ze(w)?(n.enter(M.lineEnding),n.consume(w),n.exit(M.lineEnding),y):(n.enter(M.chunkString,{contentType:Ne.contentTypeString}),g(w))}function g(w){return w===S.eof||w===S.leftSquareBracket||w===S.rightSquareBracket||ze(w)||h++>Ne.linkReferenceSizeMax?(n.exit(M.chunkString),y(w)):(n.consume(w),p||(p=!pt(w)),w===S.backslash?v:g)}function v(w){return w===S.leftSquareBracket||w===S.backslash||w===S.rightSquareBracket?(n.consume(w),h++,g):g(w)}}function HA(n,r,a,s,u,d){let c;return h;function h(v){return v===S.quotationMark||v===S.apostrophe||v===S.leftParenthesis?(n.enter(s),n.enter(u),n.consume(v),n.exit(u),c=v===S.leftParenthesis?S.rightParenthesis:v,p):a(v)}function p(v){return v===c?(n.enter(u),n.consume(v),n.exit(u),n.exit(s),r):(n.enter(d),b(v))}function b(v){return v===c?(n.exit(d),p(c)):v===S.eof?a(v):ze(v)?(n.enter(M.lineEnding),n.consume(v),n.exit(M.lineEnding),Et(n,b,M.linePrefix)):(n.enter(M.chunkString,{contentType:Ne.contentTypeString}),y(v))}function y(v){return v===c||v===S.eof||ze(v)?(n.exit(M.chunkString),b(v)):(n.consume(v),v===S.backslash?g:y)}function g(v){return v===c||v===S.backslash?(n.consume(v),y):y(v)}}function Jc(n,r){let a;return s;function s(u){return ze(u)?(n.enter(M.lineEnding),n.consume(u),n.exit(M.lineEnding),a=!0,s):pt(u)?Et(n,s,a?M.linePrefix:M.lineSuffix)(u):r(u)}}const RL={name:"definition",tokenize:_L},DL={partial:!0,tokenize:OL};function _L(n,r,a){const s=this;let u;return d;function d(w){return n.enter(M.definition),c(w)}function c(w){return I(w===S.leftSquareBracket,"expected `[`"),OA.call(s,n,h,a,M.definitionLabel,M.definitionLabelMarker,M.definitionLabelString)(w)}function h(w){return u=Ar(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),w===S.colon?(n.enter(M.definitionMarker),n.consume(w),n.exit(M.definitionMarker),p):a(w)}function p(w){return Ut(w)?Jc(n,b)(w):b(w)}function b(w){return _A(n,y,a,M.definitionDestination,M.definitionDestinationLiteral,M.definitionDestinationLiteralMarker,M.definitionDestinationRaw,M.definitionDestinationString)(w)}function y(w){return n.attempt(DL,g,g)(w)}function g(w){return pt(w)?Et(n,v,M.whitespace)(w):v(w)}function v(w){return w===S.eof||ze(w)?(n.exit(M.definition),s.parser.defined.push(u),r(w)):a(w)}}function OL(n,r,a){return s;function s(h){return Ut(h)?Jc(n,u)(h):a(h)}function u(h){return HA(n,d,a,M.definitionTitle,M.definitionTitleMarker,M.definitionTitleString)(h)}function d(h){return pt(h)?Et(n,c,M.whitespace)(h):c(h)}function c(h){return h===S.eof||ze(h)?r(h):a(h)}}const HL={name:"hardBreakEscape",tokenize:zL};function zL(n,r,a){return s;function s(d){return I(d===S.backslash,"expected `\\`"),n.enter(M.hardBreakEscape),n.consume(d),u}function u(d){return ze(d)?(n.exit(M.hardBreakEscape),r(d)):a(d)}}const LL={name:"headingAtx",resolve:BL,tokenize:ZL};function BL(n,r){let a=n.length-2,s=3,u,d;return n[s][1].type===M.whitespace&&(s+=2),a-2>s&&n[a][1].type===M.whitespace&&(a-=2),n[a][1].type===M.atxHeadingSequence&&(s===a-1||a-4>s&&n[a-2][1].type===M.whitespace)&&(a-=s+1===a?2:4),a>s&&(u={type:M.atxHeadingText,start:n[s][1].start,end:n[a][1].end},d={type:M.chunkText,start:n[s][1].start,end:n[a][1].end,contentType:Ne.contentTypeText},Fi(n,s,a-s+1,[["enter",u,r],["enter",d,r],["exit",d,r],["exit",u,r]])),n}function ZL(n,r,a){let s=0;return u;function u(y){return n.enter(M.atxHeading),d(y)}function d(y){return I(y===S.numberSign,"expected `#`"),n.enter(M.atxHeadingSequence),c(y)}function c(y){return y===S.numberSign&&s++<Ne.atxHeadingOpeningFenceSizeMax?(n.consume(y),c):y===S.eof||Ut(y)?(n.exit(M.atxHeadingSequence),h(y)):a(y)}function h(y){return y===S.numberSign?(n.enter(M.atxHeadingSequence),p(y)):y===S.eof||ze(y)?(n.exit(M.atxHeading),r(y)):pt(y)?Et(n,h,M.whitespace)(y):(n.enter(M.atxHeadingText),b(y))}function p(y){return y===S.numberSign?(n.consume(y),p):(n.exit(M.atxHeadingSequence),h(y))}function b(y){return y===S.eof||y===S.numberSign||Ut(y)?(n.exit(M.atxHeadingText),h(y)):(n.consume(y),b)}}const jL=["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"],BM=["pre","script","style","textarea"],UL={concrete:!0,name:"htmlFlow",resolveTo:FL,tokenize:qL},IL={partial:!0,tokenize:GL},PL={partial:!0,tokenize:$L};function FL(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type===M.htmlFlow););return r>1&&n[r-2][1].type===M.linePrefix&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function qL(n,r,a){const s=this;let u,d,c,h,p;return b;function b(O){return y(O)}function y(O){return I(O===S.lessThan,"expected `<`"),n.enter(M.htmlFlow),n.enter(M.htmlFlowData),n.consume(O),g}function g(O){return O===S.exclamationMark?(n.consume(O),v):O===S.slash?(n.consume(O),d=!0,D):O===S.questionMark?(n.consume(O),u=Ne.htmlInstruction,s.interrupt?r:H):fi(O)?(I(O!==null),n.consume(O),c=String.fromCharCode(O),C):a(O)}function v(O){return O===S.dash?(n.consume(O),u=Ne.htmlComment,w):O===S.leftSquareBracket?(n.consume(O),u=Ne.htmlCdata,h=0,V):fi(O)?(n.consume(O),u=Ne.htmlDeclaration,s.interrupt?r:H):a(O)}function w(O){return O===S.dash?(n.consume(O),s.interrupt?r:H):a(O)}function V(O){const Me=Ne.cdataOpeningString;return O===Me.charCodeAt(h++)?(n.consume(O),h===Me.length?s.interrupt?r:de:V):a(O)}function D(O){return fi(O)?(I(O!==null),n.consume(O),c=String.fromCharCode(O),C):a(O)}function C(O){if(O===S.eof||O===S.slash||O===S.greaterThan||Ut(O)){const Me=O===S.slash,vt=c.toLowerCase();return!Me&&!d&&BM.includes(vt)?(u=Ne.htmlRaw,s.interrupt?r(O):de(O)):jL.includes(c.toLowerCase())?(u=Ne.htmlBasic,Me?(n.consume(O),k):s.interrupt?r(O):de(O)):(u=Ne.htmlComplete,s.interrupt&&!s.parser.lazy[s.now().line]?a(O):d?j(O):U(O))}return O===S.dash||Kn(O)?(n.consume(O),c+=String.fromCharCode(O),C):a(O)}function k(O){return O===S.greaterThan?(n.consume(O),s.interrupt?r:de):a(O)}function j(O){return pt(O)?(n.consume(O),j):R(O)}function U(O){return O===S.slash?(n.consume(O),R):O===S.colon||O===S.underscore||fi(O)?(n.consume(O),Q):pt(O)?(n.consume(O),U):R(O)}function Q(O){return O===S.dash||O===S.dot||O===S.colon||O===S.underscore||Kn(O)?(n.consume(O),Q):Y(O)}function Y(O){return O===S.equalsTo?(n.consume(O),F):pt(O)?(n.consume(O),Y):U(O)}function F(O){return O===S.eof||O===S.lessThan||O===S.equalsTo||O===S.greaterThan||O===S.graveAccent?a(O):O===S.quotationMark||O===S.apostrophe?(n.consume(O),p=O,fe):pt(O)?(n.consume(O),F):ie(O)}function fe(O){return O===p?(n.consume(O),p=null,X):O===S.eof||ze(O)?a(O):(n.consume(O),fe)}function ie(O){return O===S.eof||O===S.quotationMark||O===S.apostrophe||O===S.slash||O===S.lessThan||O===S.equalsTo||O===S.greaterThan||O===S.graveAccent||Ut(O)?Y(O):(n.consume(O),ie)}function X(O){return O===S.slash||O===S.greaterThan||pt(O)?U(O):a(O)}function R(O){return O===S.greaterThan?(n.consume(O),xe):a(O)}function xe(O){return O===S.eof||ze(O)?de(O):pt(O)?(n.consume(O),xe):a(O)}function de(O){return O===S.dash&&u===Ne.htmlComment?(n.consume(O),W):O===S.lessThan&&u===Ne.htmlRaw?(n.consume(O),ve):O===S.greaterThan&&u===Ne.htmlDeclaration?(n.consume(O),z):O===S.questionMark&&u===Ne.htmlInstruction?(n.consume(O),H):O===S.rightSquareBracket&&u===Ne.htmlCdata?(n.consume(O),Ve):ze(O)&&(u===Ne.htmlBasic||u===Ne.htmlComplete)?(n.exit(M.htmlFlowData),n.check(IL,pe,ae)(O)):O===S.eof||ze(O)?(n.exit(M.htmlFlowData),ae(O)):(n.consume(O),de)}function ae(O){return n.check(PL,ee,pe)(O)}function ee(O){return I(ze(O)),n.enter(M.lineEnding),n.consume(O),n.exit(M.lineEnding),ue}function ue(O){return O===S.eof||ze(O)?ae(O):(n.enter(M.htmlFlowData),de(O))}function W(O){return O===S.dash?(n.consume(O),H):de(O)}function ve(O){return O===S.slash?(n.consume(O),c="",le):de(O)}function le(O){if(O===S.greaterThan){const Me=c.toLowerCase();return BM.includes(Me)?(n.consume(O),z):de(O)}return fi(O)&&c.length<Ne.htmlRawSizeMax?(I(O!==null),n.consume(O),c+=String.fromCharCode(O),le):de(O)}function Ve(O){return O===S.rightSquareBracket?(n.consume(O),H):de(O)}function H(O){return O===S.greaterThan?(n.consume(O),z):O===S.dash&&u===Ne.htmlComment?(n.consume(O),H):de(O)}function z(O){return O===S.eof||ze(O)?(n.exit(M.htmlFlowData),pe(O)):(n.consume(O),z)}function pe(O){return n.exit(M.htmlFlow),r(O)}}function $L(n,r,a){const s=this;return u;function u(c){return ze(c)?(n.enter(M.lineEnding),n.consume(c),n.exit(M.lineEnding),d):a(c)}function d(c){return s.parser.lazy[s.now().line]?a(c):r(c)}}function GL(n,r,a){return s;function s(u){return I(ze(u),"expected a line ending"),n.enter(M.lineEnding),n.consume(u),n.exit(M.lineEnding),n.attempt(hf,r,a)}}const YL={name:"htmlText",tokenize:XL};function XL(n,r,a){const s=this;let u,d,c;return h;function h(H){return I(H===S.lessThan,"expected `<`"),n.enter(M.htmlText),n.enter(M.htmlTextData),n.consume(H),p}function p(H){return H===S.exclamationMark?(n.consume(H),b):H===S.slash?(n.consume(H),Y):H===S.questionMark?(n.consume(H),U):fi(H)?(n.consume(H),ie):a(H)}function b(H){return H===S.dash?(n.consume(H),y):H===S.leftSquareBracket?(n.consume(H),d=0,V):fi(H)?(n.consume(H),j):a(H)}function y(H){return H===S.dash?(n.consume(H),w):a(H)}function g(H){return H===S.eof?a(H):H===S.dash?(n.consume(H),v):ze(H)?(c=g,ve(H)):(n.consume(H),g)}function v(H){return H===S.dash?(n.consume(H),w):g(H)}function w(H){return H===S.greaterThan?W(H):H===S.dash?v(H):g(H)}function V(H){const z=Ne.cdataOpeningString;return H===z.charCodeAt(d++)?(n.consume(H),d===z.length?D:V):a(H)}function D(H){return H===S.eof?a(H):H===S.rightSquareBracket?(n.consume(H),C):ze(H)?(c=D,ve(H)):(n.consume(H),D)}function C(H){return H===S.rightSquareBracket?(n.consume(H),k):D(H)}function k(H){return H===S.greaterThan?W(H):H===S.rightSquareBracket?(n.consume(H),k):D(H)}function j(H){return H===S.eof||H===S.greaterThan?W(H):ze(H)?(c=j,ve(H)):(n.consume(H),j)}function U(H){return H===S.eof?a(H):H===S.questionMark?(n.consume(H),Q):ze(H)?(c=U,ve(H)):(n.consume(H),U)}function Q(H){return H===S.greaterThan?W(H):U(H)}function Y(H){return fi(H)?(n.consume(H),F):a(H)}function F(H){return H===S.dash||Kn(H)?(n.consume(H),F):fe(H)}function fe(H){return ze(H)?(c=fe,ve(H)):pt(H)?(n.consume(H),fe):W(H)}function ie(H){return H===S.dash||Kn(H)?(n.consume(H),ie):H===S.slash||H===S.greaterThan||Ut(H)?X(H):a(H)}function X(H){return H===S.slash?(n.consume(H),W):H===S.colon||H===S.underscore||fi(H)?(n.consume(H),R):ze(H)?(c=X,ve(H)):pt(H)?(n.consume(H),X):W(H)}function R(H){return H===S.dash||H===S.dot||H===S.colon||H===S.underscore||Kn(H)?(n.consume(H),R):xe(H)}function xe(H){return H===S.equalsTo?(n.consume(H),de):ze(H)?(c=xe,ve(H)):pt(H)?(n.consume(H),xe):X(H)}function de(H){return H===S.eof||H===S.lessThan||H===S.equalsTo||H===S.greaterThan||H===S.graveAccent?a(H):H===S.quotationMark||H===S.apostrophe?(n.consume(H),u=H,ae):ze(H)?(c=de,ve(H)):pt(H)?(n.consume(H),de):(n.consume(H),ee)}function ae(H){return H===u?(n.consume(H),u=void 0,ue):H===S.eof?a(H):ze(H)?(c=ae,ve(H)):(n.consume(H),ae)}function ee(H){return H===S.eof||H===S.quotationMark||H===S.apostrophe||H===S.lessThan||H===S.equalsTo||H===S.graveAccent?a(H):H===S.slash||H===S.greaterThan||Ut(H)?X(H):(n.consume(H),ee)}function ue(H){return H===S.slash||H===S.greaterThan||Ut(H)?X(H):a(H)}function W(H){return H===S.greaterThan?(n.consume(H),n.exit(M.htmlTextData),n.exit(M.htmlText),r):a(H)}function ve(H){return I(c,"expected return state"),I(ze(H),"expected eol"),n.exit(M.htmlTextData),n.enter(M.lineEnding),n.consume(H),n.exit(M.lineEnding),le}function le(H){return I(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),pt(H)?Et(n,Ve,M.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)(H):Ve(H)}function Ve(H){return n.enter(M.htmlTextData),c(H)}}const py={name:"labelEnd",resolveAll:WL,resolveTo:eB,tokenize:tB},QL={tokenize:nB},KL={tokenize:iB},JL={tokenize:rB};function WL(n){let r=-1;const a=[];for(;++r<n.length;){const s=n[r][1];if(a.push(n[r]),s.type===M.labelImage||s.type===M.labelLink||s.type===M.labelEnd){const u=s.type===M.labelImage?4:2;s.type=M.data,r+=u}}return n.length!==a.length&&Fi(n,0,n.length,a),n}function eB(n,r){let a=n.length,s=0,u,d,c,h;for(;a--;)if(u=n[a][1],d){if(u.type===M.link||u.type===M.labelLink&&u._inactive)break;n[a][0]==="enter"&&u.type===M.labelLink&&(u._inactive=!0)}else if(c){if(n[a][0]==="enter"&&(u.type===M.labelImage||u.type===M.labelLink)&&!u._balanced&&(d=a,u.type!==M.labelLink)){s=2;break}}else u.type===M.labelEnd&&(c=a);I(d!==void 0,"`open` is supposed to be found"),I(c!==void 0,"`close` is supposed to be found");const p={type:n[d][1].type===M.labelLink?M.link:M.image,start:{...n[d][1].start},end:{...n[n.length-1][1].end}},b={type:M.label,start:{...n[d][1].start},end:{...n[c][1].end}},y={type:M.labelText,start:{...n[d+s+2][1].end},end:{...n[c-2][1].start}};return h=[["enter",p,r],["enter",b,r]],h=lr(h,n.slice(d+1,d+s+3)),h=lr(h,[["enter",y,r]]),I(r.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),h=lr(h,wp(r.parser.constructs.insideSpan.null,n.slice(d+s+4,c-3),r)),h=lr(h,[["exit",y,r],n[c-2],n[c-1],["exit",b,r]]),h=lr(h,n.slice(c+1)),h=lr(h,[["exit",p,r]]),Fi(n,d,n.length,h),n}function tB(n,r,a){const s=this;let u=s.events.length,d,c;for(;u--;)if((s.events[u][1].type===M.labelImage||s.events[u][1].type===M.labelLink)&&!s.events[u][1]._balanced){d=s.events[u][1];break}return h;function h(v){return I(v===S.rightSquareBracket,"expected `]`"),d?d._inactive?g(v):(c=s.parser.defined.includes(Ar(s.sliceSerialize({start:d.end,end:s.now()}))),n.enter(M.labelEnd),n.enter(M.labelMarker),n.consume(v),n.exit(M.labelMarker),n.exit(M.labelEnd),p):a(v)}function p(v){return v===S.leftParenthesis?n.attempt(QL,y,c?y:g)(v):v===S.leftSquareBracket?n.attempt(KL,y,c?b:g)(v):c?y(v):g(v)}function b(v){return n.attempt(JL,y,g)(v)}function y(v){return r(v)}function g(v){return d._balanced=!0,a(v)}}function nB(n,r,a){return s;function s(g){return I(g===S.leftParenthesis,"expected left paren"),n.enter(M.resource),n.enter(M.resourceMarker),n.consume(g),n.exit(M.resourceMarker),u}function u(g){return Ut(g)?Jc(n,d)(g):d(g)}function d(g){return g===S.rightParenthesis?y(g):_A(n,c,h,M.resourceDestination,M.resourceDestinationLiteral,M.resourceDestinationLiteralMarker,M.resourceDestinationRaw,M.resourceDestinationString,Ne.linkResourceDestinationBalanceMax)(g)}function c(g){return Ut(g)?Jc(n,p)(g):y(g)}function h(g){return a(g)}function p(g){return g===S.quotationMark||g===S.apostrophe||g===S.leftParenthesis?HA(n,b,a,M.resourceTitle,M.resourceTitleMarker,M.resourceTitleString)(g):y(g)}function b(g){return Ut(g)?Jc(n,y)(g):y(g)}function y(g){return g===S.rightParenthesis?(n.enter(M.resourceMarker),n.consume(g),n.exit(M.resourceMarker),n.exit(M.resource),r):a(g)}}function iB(n,r,a){const s=this;return u;function u(h){return I(h===S.leftSquareBracket,"expected left bracket"),OA.call(s,n,d,c,M.reference,M.referenceMarker,M.referenceString)(h)}function d(h){return s.parser.defined.includes(Ar(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?r(h):a(h)}function c(h){return a(h)}}function rB(n,r,a){return s;function s(d){return I(d===S.leftSquareBracket,"expected left bracket"),n.enter(M.reference),n.enter(M.referenceMarker),n.consume(d),n.exit(M.referenceMarker),u}function u(d){return d===S.rightSquareBracket?(n.enter(M.referenceMarker),n.consume(d),n.exit(M.referenceMarker),n.exit(M.reference),r):a(d)}}const aB={name:"labelStartImage",resolveAll:py.resolveAll,tokenize:oB};function oB(n,r,a){const s=this;return u;function u(h){return I(h===S.exclamationMark,"expected `!`"),n.enter(M.labelImage),n.enter(M.labelImageMarker),n.consume(h),n.exit(M.labelImageMarker),d}function d(h){return h===S.leftSquareBracket?(n.enter(M.labelMarker),n.consume(h),n.exit(M.labelMarker),n.exit(M.labelImage),c):a(h)}function c(h){return h===S.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?a(h):r(h)}}const sB={name:"labelStartLink",resolveAll:py.resolveAll,tokenize:lB};function lB(n,r,a){const s=this;return u;function u(c){return I(c===S.leftSquareBracket,"expected `[`"),n.enter(M.labelLink),n.enter(M.labelMarker),n.consume(c),n.exit(M.labelMarker),n.exit(M.labelLink),d}function d(c){return c===S.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?a(c):r(c)}}const k1={name:"lineEnding",tokenize:uB};function uB(n,r){return a;function a(s){return I(ze(s),"expected eol"),n.enter(M.lineEnding),n.consume(s),n.exit(M.lineEnding),Et(n,r,M.linePrefix)}}const Kh={name:"thematicBreak",tokenize:cB};function cB(n,r,a){let s=0,u;return d;function d(b){return n.enter(M.thematicBreak),c(b)}function c(b){return I(b===S.asterisk||b===S.dash||b===S.underscore,"expected `*`, `-`, or `_`"),u=b,h(b)}function h(b){return b===u?(n.enter(M.thematicBreakSequence),p(b)):s>=Ne.thematicBreakMarkerCountMin&&(b===S.eof||ze(b))?(n.exit(M.thematicBreak),r(b)):a(b)}function p(b){return b===u?(n.consume(b),s++,p):(n.exit(M.thematicBreakSequence),pt(b)?Et(n,h,M.whitespace)(b):h(b))}}const Mi={continuation:{tokenize:pB},exit:gB,name:"list",tokenize:hB},fB={partial:!0,tokenize:bB},dB={partial:!0,tokenize:mB};function hB(n,r,a){const s=this,u=s.events[s.events.length-1];let d=u&&u[1].type===M.linePrefix?u[2].sliceSerialize(u[1],!0).length:0,c=0;return h;function h(w){I(s.containerState,"expected state");const V=s.containerState.type||(w===S.asterisk||w===S.plusSign||w===S.dash?M.listUnordered:M.listOrdered);if(V===M.listUnordered?!s.containerState.marker||w===s.containerState.marker:Vb(w)){if(s.containerState.type||(s.containerState.type=V,n.enter(V,{_container:!0})),V===M.listUnordered)return n.enter(M.listItemPrefix),w===S.asterisk||w===S.dash?n.check(Kh,a,b)(w):b(w);if(!s.interrupt||w===S.digit1)return n.enter(M.listItemPrefix),n.enter(M.listItemValue),p(w)}return a(w)}function p(w){return I(s.containerState,"expected state"),Vb(w)&&++c<Ne.listItemValueSizeMax?(n.consume(w),p):(!s.interrupt||c<2)&&(s.containerState.marker?w===s.containerState.marker:w===S.rightParenthesis||w===S.dot)?(n.exit(M.listItemValue),b(w)):a(w)}function b(w){return I(s.containerState,"expected state"),I(w!==S.eof,"eof (`null`) is not a marker"),n.enter(M.listItemMarker),n.consume(w),n.exit(M.listItemMarker),s.containerState.marker=s.containerState.marker||w,n.check(hf,s.interrupt?a:y,n.attempt(fB,v,g))}function y(w){return I(s.containerState,"expected state"),s.containerState.initialBlankLine=!0,d++,v(w)}function g(w){return pt(w)?(n.enter(M.listItemPrefixWhitespace),n.consume(w),n.exit(M.listItemPrefixWhitespace),v):a(w)}function v(w){return I(s.containerState,"expected state"),s.containerState.size=d+s.sliceSerialize(n.exit(M.listItemPrefix),!0).length,r(w)}}function pB(n,r,a){const s=this;return I(s.containerState,"expected state"),s.containerState._closeFlow=void 0,n.check(hf,u,d);function u(h){return I(s.containerState,"expected state"),I(typeof s.containerState.size=="number","expected size"),s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Et(n,r,M.listItemIndent,s.containerState.size+1)(h)}function d(h){return I(s.containerState,"expected state"),s.containerState.furtherBlankLines||!pt(h)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,c(h)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,n.attempt(dB,r,c)(h))}function c(h){return I(s.containerState,"expected state"),s.containerState._closeFlow=!0,s.interrupt=void 0,I(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Et(n,n.attempt(Mi,r,a),M.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)(h)}}function mB(n,r,a){const s=this;return I(s.containerState,"expected state"),I(typeof s.containerState.size=="number","expected size"),Et(n,u,M.listItemIndent,s.containerState.size+1);function u(d){I(s.containerState,"expected state");const c=s.events[s.events.length-1];return c&&c[1].type===M.listItemIndent&&c[2].sliceSerialize(c[1],!0).length===s.containerState.size?r(d):a(d)}}function gB(n){I(this.containerState,"expected state"),I(typeof this.containerState.type=="string","expected type"),n.exit(this.containerState.type)}function bB(n,r,a){const s=this;return I(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Et(n,u,M.listItemPrefixWhitespace,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize+1);function u(d){const c=s.events[s.events.length-1];return!pt(d)&&c&&c[1].type===M.listItemPrefixWhitespace?r(d):a(d)}}const ZM={name:"setextUnderline",resolveTo:yB,tokenize:vB};function yB(n,r){let a=n.length,s,u,d;for(;a--;)if(n[a][0]==="enter"){if(n[a][1].type===M.content){s=a;break}n[a][1].type===M.paragraph&&(u=a)}else n[a][1].type===M.content&&n.splice(a,1),!d&&n[a][1].type===M.definition&&(d=a);I(u!==void 0,"expected a `text` index to be found"),I(s!==void 0,"expected a `text` index to be found"),I(n[s][2]===r,"enter context should be same"),I(n[n.length-1][2]===r,"enter context should be same");const c={type:M.setextHeading,start:{...n[s][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type=M.setextHeadingText,d?(n.splice(u,0,["enter",c,r]),n.splice(d+1,0,["exit",n[s][1],r]),n[s][1].end={...n[d][1].end}):n[s][1]=c,n.push(["exit",c,r]),n}function vB(n,r,a){const s=this;let u;return d;function d(b){let y=s.events.length,g;for(I(b===S.dash||b===S.equalsTo,"expected `=` or `-`");y--;)if(s.events[y][1].type!==M.lineEnding&&s.events[y][1].type!==M.linePrefix&&s.events[y][1].type!==M.content){g=s.events[y][1].type===M.paragraph;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||g)?(n.enter(M.setextHeadingLine),u=b,c(b)):a(b)}function c(b){return n.enter(M.setextHeadingLineSequence),h(b)}function h(b){return b===u?(n.consume(b),h):(n.exit(M.setextHeadingLineSequence),pt(b)?Et(n,p,M.lineSuffix)(b):p(b))}function p(b){return b===S.eof||ze(b)?(n.exit(M.setextHeadingLine),r(b)):a(b)}}const xB={tokenize:wB};function wB(n){const r=this,a=n.attempt(hf,s,n.attempt(this.parser.constructs.flowInitial,u,Et(n,n.attempt(this.parser.constructs.flow,u,n.attempt(TL,u)),M.linePrefix)));return a;function s(d){if(I(d===S.eof||ze(d),"expected eol or eof"),d===S.eof){n.consume(d);return}return n.enter(M.lineEndingBlank),n.consume(d),n.exit(M.lineEndingBlank),r.currentConstruct=void 0,a}function u(d){if(I(d===S.eof||ze(d),"expected eol or eof"),d===S.eof){n.consume(d);return}return n.enter(M.lineEnding),n.consume(d),n.exit(M.lineEnding),r.currentConstruct=void 0,a}}const SB={resolveAll:LA()},EB=zA("string"),VB=zA("text");function zA(n){return{resolveAll:LA(n==="text"?MB:void 0),tokenize:r};function r(a){const s=this,u=this.parser.constructs[n],d=a.attempt(u,c,h);return c;function c(y){return b(y)?d(y):h(y)}function h(y){if(y===S.eof){a.consume(y);return}return a.enter(M.data),a.consume(y),p}function p(y){return b(y)?(a.exit(M.data),d(y)):(a.consume(y),p)}function b(y){if(y===S.eof)return!0;const g=u[y];let v=-1;if(g)for(I(Array.isArray(g),"expected `disable.null` to be populated");++v<g.length;){const w=g[v];if(!w.previous||w.previous.call(s,s.previous))return!0}return!1}}}function LA(n){return r;function r(a,s){let u=-1,d;for(;++u<=a.length;)d===void 0?a[u]&&a[u][1].type===M.data&&(d=u,u++):(!a[u]||a[u][1].type!==M.data)&&(u!==d+2&&(a[d][1].end=a[u-1][1].end,a.splice(d+2,u-d-2),u=d+2),d=void 0);return n?n(a,s):a}}function MB(n,r){let a=0;for(;++a<=n.length;)if((a===n.length||n[a][1].type===M.lineEnding)&&n[a-1][1].type===M.data){const s=n[a-1][1],u=r.sliceStream(s);let d=u.length,c=-1,h=0,p;for(;d--;){const b=u[d];if(typeof b=="string"){for(c=b.length;b.charCodeAt(c-1)===S.space;)h++,c--;if(c)break;c=-1}else if(b===S.horizontalTab)p=!0,h++;else if(b!==S.virtualSpace){d++;break}}if(r._contentTypeTextTrailing&&a===n.length&&(h=0),h){const b={type:a===n.length||p||h<Ne.hardBreakPrefixSizeMin?M.lineSuffix:M.hardBreakTrailing,start:{_bufferIndex:d?c:s.start._bufferIndex+c,_index:s.start._index+d,line:s.end.line,column:s.end.column-h,offset:s.end.offset-h},end:{...s.end}};s.end={...b.start},s.start.offset===s.end.offset?Object.assign(s,b):(n.splice(a,0,["enter",b,r],["exit",b,r]),a+=2)}a++}return n}const TB={[S.asterisk]:Mi,[S.plusSign]:Mi,[S.dash]:Mi,[S.digit0]:Mi,[S.digit1]:Mi,[S.digit2]:Mi,[S.digit3]:Mi,[S.digit4]:Mi,[S.digit5]:Mi,[S.digit6]:Mi,[S.digit7]:Mi,[S.digit8]:Mi,[S.digit9]:Mi,[S.greaterThan]:AA},NB={[S.leftSquareBracket]:RL},AB={[S.horizontalTab]:A1,[S.virtualSpace]:A1,[S.space]:A1},kB={[S.numberSign]:LL,[S.asterisk]:Kh,[S.dash]:[ZM,Kh],[S.lessThan]:UL,[S.equalsTo]:ZM,[S.underscore]:Kh,[S.graveAccent]:LM,[S.tilde]:LM},CB={[S.ampersand]:CA,[S.backslash]:kA},RB={[S.carriageReturn]:k1,[S.lineFeed]:k1,[S.carriageReturnLineFeed]:k1,[S.exclamationMark]:aB,[S.ampersand]:CA,[S.asterisk]:Mb,[S.lessThan]:[lL,YL],[S.leftSquareBracket]:sB,[S.backslash]:[HL,kA],[S.rightSquareBracket]:py,[S.underscore]:Mb,[S.graveAccent]:wL},DB={null:[Mb,SB]},_B={null:[S.asterisk,S.underscore]},OB={null:[]},HB=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:_B,contentInitial:NB,disable:OB,document:TB,flow:kB,flowInitial:AB,insideSpan:DB,string:CB,text:RB},Symbol.toStringTag,{value:"Module"}));var Bh={exports:{}},C1,jM;function zB(){if(jM)return C1;jM=1;var n=1e3,r=n*60,a=r*60,s=a*24,u=s*7,d=s*365.25;C1=function(y,g){g=g||{};var v=typeof y;if(v==="string"&&y.length>0)return c(y);if(v==="number"&&isFinite(y))return g.long?p(y):h(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function c(y){if(y=String(y),!(y.length>100)){var g=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(g){var v=parseFloat(g[1]),w=(g[2]||"ms").toLowerCase();switch(w){case"years":case"year":case"yrs":case"yr":case"y":return v*d;case"weeks":case"week":case"w":return v*u;case"days":case"day":case"d":return v*s;case"hours":case"hour":case"hrs":case"hr":case"h":return v*a;case"minutes":case"minute":case"mins":case"min":case"m":return v*r;case"seconds":case"second":case"secs":case"sec":case"s":return v*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return v;default:return}}}}function h(y){var g=Math.abs(y);return g>=s?Math.round(y/s)+"d":g>=a?Math.round(y/a)+"h":g>=r?Math.round(y/r)+"m":g>=n?Math.round(y/n)+"s":y+"ms"}function p(y){var g=Math.abs(y);return g>=s?b(y,g,s,"day"):g>=a?b(y,g,a,"hour"):g>=r?b(y,g,r,"minute"):g>=n?b(y,g,n,"second"):y+" ms"}function b(y,g,v,w){var V=g>=v*1.5;return Math.round(y/v)+" "+w+(V?"s":"")}return C1}var R1,UM;function LB(){if(UM)return R1;UM=1;function n(r){s.debug=s,s.default=s,s.coerce=b,s.disable=h,s.enable=d,s.enabled=p,s.humanize=zB(),s.destroy=y,Object.keys(r).forEach(g=>{s[g]=r[g]}),s.names=[],s.skips=[],s.formatters={};function a(g){let v=0;for(let w=0;w<g.length;w++)v=(v<<5)-v+g.charCodeAt(w),v|=0;return s.colors[Math.abs(v)%s.colors.length]}s.selectColor=a;function s(g){let v,w=null,V,D;function C(...k){if(!C.enabled)return;const j=C,U=Number(new Date),Q=U-(v||U);j.diff=Q,j.prev=v,j.curr=U,v=U,k[0]=s.coerce(k[0]),typeof k[0]!="string"&&k.unshift("%O");let Y=0;k[0]=k[0].replace(/%([a-zA-Z%])/g,(fe,ie)=>{if(fe==="%%")return"%";Y++;const X=s.formatters[ie];if(typeof X=="function"){const R=k[Y];fe=X.call(j,R),k.splice(Y,1),Y--}return fe}),s.formatArgs.call(j,k),(j.log||s.log).apply(j,k)}return C.namespace=g,C.useColors=s.useColors(),C.color=s.selectColor(g),C.extend=u,C.destroy=s.destroy,Object.defineProperty(C,"enabled",{enumerable:!0,configurable:!1,get:()=>w!==null?w:(V!==s.namespaces&&(V=s.namespaces,D=s.enabled(g)),D),set:k=>{w=k}}),typeof s.init=="function"&&s.init(C),C}function u(g,v){const w=s(this.namespace+(typeof v>"u"?":":v)+g);return w.log=this.log,w}function d(g){s.save(g),s.namespaces=g,s.names=[],s.skips=[];const v=(typeof g=="string"?g:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const w of v)w[0]==="-"?s.skips.push(w.slice(1)):s.names.push(w)}function c(g,v){let w=0,V=0,D=-1,C=0;for(;w<g.length;)if(V<v.length&&(v[V]===g[w]||v[V]==="*"))v[V]==="*"?(D=V,C=w,V++):(w++,V++);else if(D!==-1)V=D+1,C++,w=C;else return!1;for(;V<v.length&&v[V]==="*";)V++;return V===v.length}function h(){const g=[...s.names,...s.skips.map(v=>"-"+v)].join(",");return s.enable(""),g}function p(g){for(const v of s.skips)if(c(g,v))return!1;for(const v of s.names)if(c(g,v))return!0;return!1}function b(g){return g instanceof Error?g.stack||g.message:g}function y(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return R1=n,R1}var IM;function BB(){return IM||(IM=1,(function(n,r){var a={};r.formatArgs=u,r.save=d,r.load=c,r.useColors=s,r.storage=h(),r.destroy=(()=>{let b=!1;return()=>{b||(b=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let b;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(b=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(b[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(b){if(b[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+b[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const y="color: "+this.color;b.splice(1,0,y,"color: inherit");let g=0,v=0;b[0].replace(/%[a-zA-Z%]/g,w=>{w!=="%%"&&(g++,w==="%c"&&(v=g))}),b.splice(v,0,y)}r.log=console.debug||console.log||(()=>{});function d(b){try{b?r.storage.setItem("debug",b):r.storage.removeItem("debug")}catch{}}function c(){let b;try{b=r.storage.getItem("debug")||r.storage.getItem("DEBUG")}catch{}return!b&&typeof process<"u"&&"env"in process&&(b=a.DEBUG),b}function h(){try{return localStorage}catch{}}n.exports=LB()(r);const{formatters:p}=n.exports;p.j=function(b){try{return JSON.stringify(b)}catch(y){return"[UnexpectedJSONParseError]: "+y.message}}})(Bh,Bh.exports)),Bh.exports}var ZB=BB();const jB=pp(ZB),As=jB("micromark");function UB(n,r,a){let s={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const u={},d=[];let c=[],h=[],p=!0;const b={attempt:X(fe),check:X(ie),consume:Q,enter:Y,exit:F,interrupt:X(ie,{interrupt:!0})},y={code:S.eof,containerState:{},defineSkip:k,events:[],now:C,parser:n,previous:S.eof,sliceSerialize:V,sliceStream:D,write:w};let g=r.tokenize.call(y,b),v;return r.resolveAll&&d.push(r),y;function w(ae){return c=lr(c,ae),j(),c[c.length-1]!==S.eof?[]:(R(r,0),y.events=wp(d,y.events,y),y.events)}function V(ae,ee){return PB(D(ae),ee)}function D(ae){return IB(c,ae)}function C(){const{_bufferIndex:ae,_index:ee,line:ue,column:W,offset:ve}=s;return{_bufferIndex:ae,_index:ee,line:ue,column:W,offset:ve}}function k(ae){u[ae.line]=ae.column,de(),As("position: define skip: `%j`",s)}function j(){let ae;for(;s._index<c.length;){const ee=c[s._index];if(typeof ee=="string")for(ae=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===ae&&s._bufferIndex<ee.length;)U(ee.charCodeAt(s._bufferIndex));else U(ee)}}function U(ae){I(p===!0,"expected character to be consumed"),p=void 0,As("main: passing `%s` to %s",ae,g&&g.name),v=ae,I(typeof g=="function","expected state"),g=g(ae)}function Q(ae){I(ae===v,"expected given code to equal expected code"),As("consume: `%s`",ae),I(p===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),I(ae===null?y.events.length===0||y.events[y.events.length-1][0]==="exit":y.events[y.events.length-1][0]==="enter","expected last token to be open"),ze(ae)?(s.line++,s.column=1,s.offset+=ae===S.carriageReturnLineFeed?2:1,de(),As("position: after eol: `%j`",s)):ae!==S.virtualSpace&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===c[s._index].length&&(s._bufferIndex=-1,s._index++)),y.previous=ae,p=!0}function Y(ae,ee){const ue=ee||{};return ue.type=ae,ue.start=C(),I(typeof ae=="string","expected string type"),I(ae.length>0,"expected non-empty string"),As("enter: `%s`",ae),y.events.push(["enter",ue,y]),h.push(ue),ue}function F(ae){I(typeof ae=="string","expected string type"),I(ae.length>0,"expected non-empty string");const ee=h.pop();return I(ee,"cannot close w/o open tokens"),ee.end=C(),I(ae===ee.type,"expected exit token to match current token"),I(!(ee.start._index===ee.end._index&&ee.start._bufferIndex===ee.end._bufferIndex),"expected non-empty token (`"+ae+"`)"),As("exit: `%s`",ee.type),y.events.push(["exit",ee,y]),ee}function fe(ae,ee){R(ae,ee.from)}function ie(ae,ee){ee.restore()}function X(ae,ee){return ue;function ue(W,ve,le){let Ve,H,z,pe;return Array.isArray(W)?Me(W):"tokenize"in W?Me([W]):O(W);function O(nt){return Gt;function Gt(Rt){const Ee=Rt!==null&&nt[Rt],An=Rt!==null&&nt.null,De=[...Array.isArray(Ee)?Ee:Ee?[Ee]:[],...Array.isArray(An)?An:An?[An]:[]];return Me(De)(Rt)}}function Me(nt){return Ve=nt,H=0,nt.length===0?(I(le,"expected `bogusState` to be given"),le):vt(nt[H])}function vt(nt){return Gt;function Gt(Rt){return pe=xe(),z=nt,nt.partial||(y.currentConstruct=nt),I(y.parser.constructs.disable.null,"expected `disable.null` to be populated"),nt.name&&y.parser.constructs.disable.null.includes(nt.name)?$e(Rt):nt.tokenize.call(ee?Object.assign(Object.create(y),ee):y,b,cn,$e)(Rt)}}function cn(nt){return I(nt===v,"expected code"),p=!0,ae(z,pe),ve}function $e(nt){return I(nt===v,"expected code"),p=!0,pe.restore(),++H<Ve.length?vt(Ve[H]):le}}}function R(ae,ee){ae.resolveAll&&!d.includes(ae)&&d.push(ae),ae.resolve&&Fi(y.events,ee,y.events.length-ee,ae.resolve(y.events.slice(ee),y)),ae.resolveTo&&(y.events=ae.resolveTo(y.events,y)),I(ae.partial||y.events.length===0||y.events[y.events.length-1][0]==="exit","expected last token to end")}function xe(){const ae=C(),ee=y.previous,ue=y.currentConstruct,W=y.events.length,ve=Array.from(h);return{from:W,restore:le};function le(){s=ae,y.previous=ee,y.currentConstruct=ue,y.events.length=W,h=ve,de(),As("position: restore: `%j`",s)}}function de(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}function IB(n,r){const a=r.start._index,s=r.start._bufferIndex,u=r.end._index,d=r.end._bufferIndex;let c;if(a===u)I(d>-1,"expected non-negative end buffer index"),I(s>-1,"expected non-negative start buffer index"),c=[n[a].slice(s,d)];else{if(c=n.slice(a,u),s>-1){const h=c[0];typeof h=="string"?c[0]=h.slice(s):(I(s===0,"expected `startBufferIndex` to be `0`"),c.shift())}d>0&&c.push(n[u].slice(0,d))}return c}function PB(n,r){let a=-1;const s=[];let u;for(;++a<n.length;){const d=n[a];let c;if(typeof d=="string")c=d;else switch(d){case S.carriageReturn:{c=oa.cr;break}case S.lineFeed:{c=oa.lf;break}case S.carriageReturnLineFeed:{c=oa.cr+oa.lf;break}case S.horizontalTab:{c=r?oa.space:oa.ht;break}case S.virtualSpace:{if(!r&&u)continue;c=oa.space;break}default:I(typeof d=="number","expected number"),c=String.fromCharCode(d)}u=d===S.horizontalTab,s.push(c)}return s.join("")}function FB(n){const s={constructs:TA([HB,...(n||{}).extensions||[]]),content:u(tL),defined:[],document:u(iL),flow:u(xB),lazy:{},string:u(EB),text:u(VB)};return s;function u(d){return c;function c(h){return UB(s,d,h)}}}function qB(n){for(;!DA(n););return n}const PM=/[\0\t\n\r]/g;function $B(){let n=1,r="",a=!0,s;return u;function u(d,c,h){const p=[];let b,y,g,v,w;for(d=r+(typeof d=="string"?d.toString():new TextDecoder(c||void 0).decode(d)),g=0,r="",a&&(d.charCodeAt(0)===S.byteOrderMarker&&g++,a=void 0);g<d.length;){if(PM.lastIndex=g,b=PM.exec(d),v=b&&b.index!==void 0?b.index:d.length,w=d.charCodeAt(v),!b){r=d.slice(g);break}if(w===S.lf&&g===v&&s)p.push(S.carriageReturnLineFeed),s=void 0;else switch(s&&(p.push(S.carriageReturn),s=void 0),g<v&&(p.push(d.slice(g,v)),n+=v-g),w){case S.nul:{p.push(S.replacementCharacter),n++;break}case S.ht:{for(y=Math.ceil(n/Ne.tabSize)*Ne.tabSize,p.push(S.horizontalTab);n++<y;)p.push(S.virtualSpace);break}case S.lf:{p.push(S.lineFeed),n=1;break}default:s=!0,n=1}g=v+1}return h&&(s&&p.push(S.carriageReturn),r&&p.push(r),p.push(S.eof)),p}}const GB=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function YB(n){return n.replace(GB,XB)}function XB(n,r,a){if(r)return r;if(a.charCodeAt(0)===S.numberSign){const u=a.charCodeAt(1),d=u===S.lowercaseX||u===S.uppercaseX;return NA(a.slice(d?2:1),d?Ne.numericBaseHexadecimal:Ne.numericBaseDecimal)}return hy(a)||n}const BA={}.hasOwnProperty;function QB(n,r,a){return r&&typeof r=="object"&&(a=r,r=void 0),KB(a)(qB(FB(a).document().write($B()(n,r,!0))))}function KB(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:d(dr),autolinkProtocol:X,autolinkEmail:X,atxHeading:d(tt),blockQuote:d(Rt),characterEscape:X,characterReference:X,codeFenced:d(Ee),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:d(Ee,c),codeText:d(An,c),codeTextData:X,data:X,codeFlowValue:X,definition:d(De),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:d(Oe),hardBreakEscape:d(it),hardBreakTrailing:d(it),htmlFlow:d(Qt,c),htmlFlowData:X,htmlText:d(Qt,c),htmlTextData:X,image:d(Ai),label:c,link:d(dr),listItem:d(kr),listItemValue:v,listOrdered:d(Re,g),listUnordered:d(Re),paragraph:d(pi),reference:O,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:d(tt),strong:d(qi),thematicBreak:d(fa)},exit:{atxHeading:p(),atxHeadingSequence:Y,autolink:p(),autolinkEmail:Gt,autolinkProtocol:nt,blockQuote:p(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:vt,characterReferenceMarkerNumeric:vt,characterReferenceValue:cn,characterReference:$e,codeFenced:p(C),codeFencedFence:D,codeFencedFenceInfo:w,codeFencedFenceMeta:V,codeFlowValue:R,codeIndented:p(k),codeText:p(ue),codeTextData:R,data:R,definition:p(),definitionDestinationString:Q,definitionLabelString:j,definitionTitleString:U,emphasis:p(),hardBreakEscape:p(de),hardBreakTrailing:p(de),htmlFlow:p(ae),htmlFlowData:R,htmlText:p(ee),htmlTextData:R,image:p(ve),label:Ve,labelText:le,lineEnding:xe,link:p(W),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:Me,resourceDestinationString:H,resourceTitleString:z,resource:pe,setextHeading:p(ie),setextHeadingLineSequence:fe,setextHeadingText:F,strong:p(),thematicBreak:p()}};ZA(r,(n||{}).mdastExtensions||[]);const a={};return s;function s(re){let oe={type:"root",children:[]};const ke={stack:[oe],tokenStack:[],config:r,enter:h,exit:b,buffer:c,resume:y,data:a},We=[];let mt=-1;for(;++mt<re.length;)if(re[mt][1].type===M.listOrdered||re[mt][1].type===M.listUnordered)if(re[mt][0]==="enter")We.push(mt);else{const rn=We.pop();I(typeof rn=="number","expected list to be open"),mt=u(re,rn,mt)}for(mt=-1;++mt<re.length;){const rn=r[re[mt][0]];BA.call(rn,re[mt][1].type)&&rn[re[mt][1].type].call(Object.assign({sliceSerialize:re[mt][2].sliceSerialize},ke),re[mt][1])}if(ke.tokenStack.length>0){const rn=ke.tokenStack[ke.tokenStack.length-1];(rn[1]||FM).call(ke,void 0,rn[0])}for(oe.position={start:Do(re.length>0?re[0][1].start:{line:1,column:1,offset:0}),end:Do(re.length>0?re[re.length-2][1].end:{line:1,column:1,offset:0})},mt=-1;++mt<r.transforms.length;)oe=r.transforms[mt](oe)||oe;return oe}function u(re,oe,ke){let We=oe-1,mt=-1,rn=!1,Hn,fn,Fn,mi;for(;++We<=ke;){const an=re[We];switch(an[1].type){case M.listUnordered:case M.listOrdered:case M.blockQuote:{an[0]==="enter"?mt++:mt--,mi=void 0;break}case M.lineEndingBlank:{an[0]==="enter"&&(Hn&&!mi&&!mt&&!Fn&&(Fn=We),mi=void 0);break}case M.linePrefix:case M.listItemValue:case M.listItemMarker:case M.listItemPrefix:case M.listItemPrefixWhitespace:break;default:mi=void 0}if(!mt&&an[0]==="enter"&&an[1].type===M.listItemPrefix||mt===-1&&an[0]==="exit"&&(an[1].type===M.listUnordered||an[1].type===M.listOrdered)){if(Hn){let zn=We;for(fn=void 0;zn--;){const N=re[zn];if(N[1].type===M.lineEnding||N[1].type===M.lineEndingBlank){if(N[0]==="exit")continue;fn&&(re[fn][1].type=M.lineEndingBlank,rn=!0),N[1].type=M.lineEnding,fn=zn}else if(!(N[1].type===M.linePrefix||N[1].type===M.blockQuotePrefix||N[1].type===M.blockQuotePrefixWhitespace||N[1].type===M.blockQuoteMarker||N[1].type===M.listItemIndent))break}Fn&&(!fn||Fn<fn)&&(Hn._spread=!0),Hn.end=Object.assign({},fn?re[fn][1].start:an[1].end),re.splice(fn||We,0,["exit",Hn,an[2]]),We++,ke++}if(an[1].type===M.listItemPrefix){const zn={type:"listItem",_spread:!1,start:Object.assign({},an[1].start),end:void 0};Hn=zn,re.splice(We,0,["enter",zn,an[2]]),We++,ke++,Fn=void 0,mi=!0}}}return re[oe][1]._spread=rn,ke}function d(re,oe){return ke;function ke(We){h.call(this,re(We),We),oe&&oe.call(this,We)}}function c(){this.stack.push({type:"fragment",children:[]})}function h(re,oe,ke){const We=this.stack[this.stack.length-1];I(We,"expected `parent`"),I("children"in We,"expected `parent`"),We.children.push(re),this.stack.push(re),this.tokenStack.push([oe,ke||void 0]),re.position={start:Do(oe.start),end:void 0}}function p(re){return oe;function oe(ke){re&&re.call(this,ke),b.call(this,ke)}}function b(re,oe){const ke=this.stack.pop();I(ke,"expected `node`");const We=this.tokenStack.pop();if(We)We[0].type!==re.type&&(oe?oe.call(this,re,We[0]):(We[1]||FM).call(this,re,We[0]));else throw new Error("Cannot close `"+re.type+"` ("+Kc({start:re.start,end:re.end})+"): it’s not open");I(ke.type!=="fragment","unexpected fragment `exit`ed"),I(ke.position,"expected `position` to be defined"),ke.position.end=Do(re.end)}function y(){return dy(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function v(re){if(this.data.expectingFirstListItemValue){const oe=this.stack[this.stack.length-2];I(oe,"expected nodes on stack"),I(oe.type==="list","expected list on stack"),oe.start=Number.parseInt(this.sliceSerialize(re),Ne.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function w(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="code","expected code on stack"),oe.lang=re}function V(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="code","expected code on stack"),oe.meta=re}function D(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="code","expected code on stack"),oe.value=re.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="code","expected code on stack"),oe.value=re.replace(/(\r?\n|\r)$/g,"")}function j(re){const oe=this.resume(),ke=this.stack[this.stack.length-1];I(ke,"expected node on stack"),I(ke.type==="definition","expected definition on stack"),ke.label=oe,ke.identifier=Ar(this.sliceSerialize(re)).toLowerCase()}function U(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="definition","expected definition on stack"),oe.title=re}function Q(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="definition","expected definition on stack"),oe.url=re}function Y(re){const oe=this.stack[this.stack.length-1];if(I(oe,"expected node on stack"),I(oe.type==="heading","expected heading on stack"),!oe.depth){const ke=this.sliceSerialize(re).length;I(ke===1||ke===2||ke===3||ke===4||ke===5||ke===6,"expected `depth` between `1` and `6`"),oe.depth=ke}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function fe(re){const oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="heading","expected heading on stack"),oe.depth=this.sliceSerialize(re).codePointAt(0)===S.equalsTo?1:2}function ie(){this.data.setextHeadingSlurpLineEnding=void 0}function X(re){const oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I("children"in oe,"expected parent on stack");const ke=oe.children;let We=ke[ke.length-1];(!We||We.type!=="text")&&(We=kn(),We.position={start:Do(re.start),end:void 0},ke.push(We)),this.stack.push(We)}function R(re){const oe=this.stack.pop();I(oe,"expected a `node` to be on the stack"),I("value"in oe,"expected a `literal` to be on the stack"),I(oe.position,"expected `node` to have an open position"),oe.value+=this.sliceSerialize(re),oe.position.end=Do(re.end)}function xe(re){const oe=this.stack[this.stack.length-1];if(I(oe,"expected `node`"),this.data.atHardBreak){I("children"in oe,"expected `parent`");const ke=oe.children[oe.children.length-1];I(ke.position,"expected tail to have a starting position"),ke.position.end=Do(re.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(oe.type)&&(X.call(this,re),R.call(this,re))}function de(){this.data.atHardBreak=!0}function ae(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="html","expected html on stack"),oe.value=re}function ee(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="html","expected html on stack"),oe.value=re}function ue(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="inlineCode","expected inline code on stack"),oe.value=re}function W(){const re=this.stack[this.stack.length-1];if(I(re,"expected node on stack"),I(re.type==="link","expected link on stack"),this.data.inReference){const oe=this.data.referenceType||"shortcut";re.type+="Reference",re.referenceType=oe,delete re.url,delete re.title}else delete re.identifier,delete re.label;this.data.referenceType=void 0}function ve(){const re=this.stack[this.stack.length-1];if(I(re,"expected node on stack"),I(re.type==="image","expected image on stack"),this.data.inReference){const oe=this.data.referenceType||"shortcut";re.type+="Reference",re.referenceType=oe,delete re.url,delete re.title}else delete re.identifier,delete re.label;this.data.referenceType=void 0}function le(re){const oe=this.sliceSerialize(re),ke=this.stack[this.stack.length-2];I(ke,"expected ancestor on stack"),I(ke.type==="image"||ke.type==="link","expected image or link on stack"),ke.label=YB(oe),ke.identifier=Ar(oe).toLowerCase()}function Ve(){const re=this.stack[this.stack.length-1];I(re,"expected node on stack"),I(re.type==="fragment","expected fragment on stack");const oe=this.resume(),ke=this.stack[this.stack.length-1];if(I(ke,"expected node on stack"),I(ke.type==="image"||ke.type==="link","expected image or link on stack"),this.data.inReference=!0,ke.type==="link"){const We=re.children;ke.children=We}else ke.alt=oe}function H(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="image"||oe.type==="link","expected image or link on stack"),oe.url=re}function z(){const re=this.resume(),oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="image"||oe.type==="link","expected image or link on stack"),oe.title=re}function pe(){this.data.inReference=void 0}function O(){this.data.referenceType="collapsed"}function Me(re){const oe=this.resume(),ke=this.stack[this.stack.length-1];I(ke,"expected node on stack"),I(ke.type==="image"||ke.type==="link","expected image reference or link reference on stack"),ke.label=oe,ke.identifier=Ar(this.sliceSerialize(re)).toLowerCase(),this.data.referenceType="full"}function vt(re){I(re.type==="characterReferenceMarkerNumeric"||re.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=re.type}function cn(re){const oe=this.sliceSerialize(re),ke=this.data.characterReferenceType;let We;if(ke)We=NA(oe,ke===M.characterReferenceMarkerNumeric?Ne.numericBaseDecimal:Ne.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{const rn=hy(oe);I(rn!==!1,"expected reference to decode"),We=rn}const mt=this.stack[this.stack.length-1];I(mt,"expected `node`"),I("value"in mt,"expected `node.value`"),mt.value+=We}function $e(re){const oe=this.stack.pop();I(oe,"expected `node`"),I(oe.position,"expected `node.position`"),oe.position.end=Do(re.end)}function nt(re){R.call(this,re);const oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="link","expected link on stack"),oe.url=this.sliceSerialize(re)}function Gt(re){R.call(this,re);const oe=this.stack[this.stack.length-1];I(oe,"expected node on stack"),I(oe.type==="link","expected link on stack"),oe.url="mailto:"+this.sliceSerialize(re)}function Rt(){return{type:"blockquote",children:[]}}function Ee(){return{type:"code",lang:null,meta:null,value:""}}function An(){return{type:"inlineCode",value:""}}function De(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Oe(){return{type:"emphasis",children:[]}}function tt(){return{type:"heading",depth:0,children:[]}}function it(){return{type:"break"}}function Qt(){return{type:"html",value:""}}function Ai(){return{type:"image",title:null,url:"",alt:null}}function dr(){return{type:"link",title:null,url:"",children:[]}}function Re(re){return{type:"list",ordered:re.type==="listOrdered",start:null,spread:re._spread,children:[]}}function kr(re){return{type:"listItem",spread:re._spread,checked:null,children:[]}}function pi(){return{type:"paragraph",children:[]}}function qi(){return{type:"strong",children:[]}}function kn(){return{type:"text",value:""}}function fa(){return{type:"thematicBreak"}}}function Do(n){return{line:n.line,column:n.column,offset:n.offset}}function ZA(n,r){let a=-1;for(;++a<r.length;){const s=r[a];Array.isArray(s)?ZA(n,s):JB(n,s)}}function JB(n,r){let a;for(a in r)if(BA.call(r,a))switch(a){case"canContainEols":{const s=r[a];s&&n[a].push(...s);break}case"transforms":{const s=r[a];s&&n[a].push(...s);break}case"enter":case"exit":{const s=r[a];s&&Object.assign(n[a],s);break}}}function FM(n,r){throw n?new Error("Cannot close `"+n.type+"` ("+Kc({start:n.start,end:n.end})+"): a different token (`"+r.type+"`, "+Kc({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Kc({start:r.start,end:r.end})+") is still open")}function WB(n){const r=this;r.parser=a;function a(s){return QB(s,{...r.data("settings"),...n,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function eZ(n,r){const a={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(r),!0)};return n.patch(r,a),n.applyData(r,a)}function tZ(n,r){const a={type:"element",tagName:"br",properties:{},children:[]};return n.patch(r,a),[n.applyData(r,a),{type:"text",value:`
|
|
302
|
+
`}]}function nZ(n,r){const a=r.value?r.value+`
|
|
303
|
+
`:"",s={},u=r.lang?r.lang.split(/\s+/):[];u.length>0&&(s.className=["language-"+u[0]]);let d={type:"element",tagName:"code",properties:s,children:[{type:"text",value:a}]};return r.meta&&(d.data={meta:r.meta}),n.patch(r,d),d=n.applyData(r,d),d={type:"element",tagName:"pre",properties:{},children:[d]},n.patch(r,d),d}function iZ(n,r){const a={type:"element",tagName:"del",properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}function rZ(n,r){const a={type:"element",tagName:"em",properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}function aZ(n,r){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",s=String(r.identifier).toUpperCase(),u=lu(s.toLowerCase()),d=n.footnoteOrder.indexOf(s);let c,h=n.footnoteCounts.get(s);h===void 0?(h=0,n.footnoteOrder.push(s),c=n.footnoteOrder.length):c=d+1,h+=1,n.footnoteCounts.set(s,h);const p={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+u,id:a+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};n.patch(r,p);const b={type:"element",tagName:"sup",properties:{},children:[p]};return n.patch(r,b),n.applyData(r,b)}function oZ(n,r){const a={type:"element",tagName:"h"+r.depth,properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}function sZ(n,r){if(n.options.allowDangerousHtml){const a={type:"raw",value:r.value};return n.patch(r,a),n.applyData(r,a)}}function jA(n,r){const a=r.referenceType;let s="]";if(a==="collapsed"?s+="[]":a==="full"&&(s+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+s}];const u=n.all(r),d=u[0];d&&d.type==="text"?d.value="["+d.value:u.unshift({type:"text",value:"["});const c=u[u.length-1];return c&&c.type==="text"?c.value+=s:u.push({type:"text",value:s}),u}function lZ(n,r){const a=String(r.identifier).toUpperCase(),s=n.definitionById.get(a);if(!s)return jA(n,r);const u={src:lu(s.url||""),alt:r.alt};s.title!==null&&s.title!==void 0&&(u.title=s.title);const d={type:"element",tagName:"img",properties:u,children:[]};return n.patch(r,d),n.applyData(r,d)}function uZ(n,r){const a={src:lu(r.url)};r.alt!==null&&r.alt!==void 0&&(a.alt=r.alt),r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return n.patch(r,s),n.applyData(r,s)}function cZ(n,r){const a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};n.patch(r,a);const s={type:"element",tagName:"code",properties:{},children:[a]};return n.patch(r,s),n.applyData(r,s)}function fZ(n,r){const a=String(r.identifier).toUpperCase(),s=n.definitionById.get(a);if(!s)return jA(n,r);const u={href:lu(s.url||"")};s.title!==null&&s.title!==void 0&&(u.title=s.title);const d={type:"element",tagName:"a",properties:u,children:n.all(r)};return n.patch(r,d),n.applyData(r,d)}function dZ(n,r){const a={href:lu(r.url)};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:n.all(r)};return n.patch(r,s),n.applyData(r,s)}function hZ(n,r,a){const s=n.all(r),u=a?pZ(a):UA(r),d={},c=[];if(typeof r.checked=="boolean"){const y=s[0];let g;y&&y.type==="element"&&y.tagName==="p"?g=y:(g={type:"element",tagName:"p",properties:{},children:[]},s.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),d.className=["task-list-item"]}let h=-1;for(;++h<s.length;){const y=s[h];(u||h!==0||y.type!=="element"||y.tagName!=="p")&&c.push({type:"text",value:`
|
|
304
|
+
`}),y.type==="element"&&y.tagName==="p"&&!u?c.push(...y.children):c.push(y)}const p=s[s.length-1];p&&(u||p.type!=="element"||p.tagName!=="p")&&c.push({type:"text",value:`
|
|
305
|
+
`});const b={type:"element",tagName:"li",properties:d,children:c};return n.patch(r,b),n.applyData(r,b)}function pZ(n){let r=!1;if(n.type==="list"){r=n.spread||!1;const a=n.children;let s=-1;for(;!r&&++s<a.length;)r=UA(a[s])}return r}function UA(n){const r=n.spread;return r??n.children.length>1}function mZ(n,r){const a={},s=n.all(r);let u=-1;for(typeof r.start=="number"&&r.start!==1&&(a.start=r.start);++u<s.length;){const c=s[u];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const d={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:n.wrap(s,!0)};return n.patch(r,d),n.applyData(r,d)}function gZ(n,r){const a={type:"element",tagName:"p",properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}function bZ(n,r){const a={type:"root",children:n.wrap(n.all(r))};return n.patch(r,a),n.applyData(r,a)}function yZ(n,r){const a={type:"element",tagName:"strong",properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}function vZ(n,r){const a=n.all(r),s=a.shift(),u=[];if(s){const c={type:"element",tagName:"thead",properties:{},children:n.wrap([s],!0)};n.patch(r.children[0],c),u.push(c)}if(a.length>0){const c={type:"element",tagName:"tbody",properties:{},children:n.wrap(a,!0)},h=ly(r.children[1]),p=vA(r.children[r.children.length-1]);h&&p&&(c.position={start:h,end:p}),u.push(c)}const d={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(r,d),n.applyData(r,d)}function xZ(n,r,a){const s=a?a.children:void 0,d=(s?s.indexOf(r):1)===0?"th":"td",c=a&&a.type==="table"?a.align:void 0,h=c?c.length:r.children.length;let p=-1;const b=[];for(;++p<h;){const g=r.children[p],v={},w=c?c[p]:void 0;w&&(v.align=w);let V={type:"element",tagName:d,properties:v,children:[]};g&&(V.children=n.all(g),n.patch(g,V),V=n.applyData(g,V)),b.push(V)}const y={type:"element",tagName:"tr",properties:{},children:n.wrap(b,!0)};return n.patch(r,y),n.applyData(r,y)}function wZ(n,r){const a={type:"element",tagName:"td",properties:{},children:n.all(r)};return n.patch(r,a),n.applyData(r,a)}const qM=9,$M=32;function SZ(n){const r=String(n),a=/\r?\n|\r/g;let s=a.exec(r),u=0;const d=[];for(;s;)d.push(GM(r.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=a.exec(r);return d.push(GM(r.slice(u),u>0,!1)),d.join("")}function GM(n,r,a){let s=0,u=n.length;if(r){let d=n.codePointAt(s);for(;d===qM||d===$M;)s++,d=n.codePointAt(s)}if(a){let d=n.codePointAt(u-1);for(;d===qM||d===$M;)u--,d=n.codePointAt(u-1)}return u>s?n.slice(s,u):""}function EZ(n,r){const a={type:"text",value:SZ(String(r.value))};return n.patch(r,a),n.applyData(r,a)}function VZ(n,r){const a={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(r,a),n.applyData(r,a)}const MZ={blockquote:eZ,break:tZ,code:nZ,delete:iZ,emphasis:rZ,footnoteReference:aZ,heading:oZ,html:sZ,imageReference:lZ,image:uZ,inlineCode:cZ,linkReference:fZ,link:dZ,listItem:hZ,list:mZ,paragraph:gZ,root:bZ,strong:yZ,table:vZ,tableCell:wZ,tableRow:xZ,text:EZ,thematicBreak:VZ,toml:Zh,yaml:Zh,definition:Zh,footnoteDefinition:Zh};function Zh(){}const IA=-1,Sp=0,Wc=1,fp=2,my=3,gy=4,by=5,yy=6,PA=7,FA=8,TZ=typeof self=="object"?self:globalThis,YM=(n,r)=>{switch(n){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+n)}return new TZ[n](r)},NZ=(n,r)=>{const a=(u,d)=>(n.set(d,u),u),s=u=>{if(n.has(u))return n.get(u);const[d,c]=r[u];switch(d){case Sp:case IA:return a(c,u);case Wc:{const h=a([],u);for(const p of c)h.push(s(p));return h}case fp:{const h=a({},u);for(const[p,b]of c)h[s(p)]=s(b);return h}case my:return a(new Date(c),u);case gy:{const{source:h,flags:p}=c;return a(new RegExp(h,p),u)}case by:{const h=a(new Map,u);for(const[p,b]of c)h.set(s(p),s(b));return h}case yy:{const h=a(new Set,u);for(const p of c)h.add(s(p));return h}case PA:{const{name:h,message:p}=c;return a(YM(h,p),u)}case FA:return a(BigInt(c),u);case"BigInt":return a(Object(BigInt(c)),u);case"ArrayBuffer":return a(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:h}=new Uint8Array(c);return a(new DataView(h),c)}}return a(YM(d,c),u)};return s},XM=n=>NZ(new Map,n)(0),Gl="",{toString:AZ}={},{keys:kZ}=Object,qc=n=>{const r=typeof n;if(r!=="object"||!n)return[Sp,r];const a=AZ.call(n).slice(8,-1);switch(a){case"Array":return[Wc,Gl];case"Object":return[fp,Gl];case"Date":return[my,Gl];case"RegExp":return[gy,Gl];case"Map":return[by,Gl];case"Set":return[yy,Gl];case"DataView":return[Wc,a]}return a.includes("Array")?[Wc,a]:a.includes("Error")?[PA,a]:[fp,a]},jh=([n,r])=>n===Sp&&(r==="function"||r==="symbol"),CZ=(n,r,a,s)=>{const u=(c,h)=>{const p=s.push(c)-1;return a.set(h,p),p},d=c=>{if(a.has(c))return a.get(c);let[h,p]=qc(c);switch(h){case Sp:{let y=c;switch(p){case"bigint":h=FA,y=c.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+p);y=null;break;case"undefined":return u([IA],c)}return u([h,y],c)}case Wc:{if(p){let v=c;return p==="DataView"?v=new Uint8Array(c.buffer):p==="ArrayBuffer"&&(v=new Uint8Array(c)),u([p,[...v]],c)}const y=[],g=u([h,y],c);for(const v of c)y.push(d(v));return g}case fp:{if(p)switch(p){case"BigInt":return u([p,c.toString()],c);case"Boolean":case"Number":case"String":return u([p,c.valueOf()],c)}if(r&&"toJSON"in c)return d(c.toJSON());const y=[],g=u([h,y],c);for(const v of kZ(c))(n||!jh(qc(c[v])))&&y.push([d(v),d(c[v])]);return g}case my:return u([h,c.toISOString()],c);case gy:{const{source:y,flags:g}=c;return u([h,{source:y,flags:g}],c)}case by:{const y=[],g=u([h,y],c);for(const[v,w]of c)(n||!(jh(qc(v))||jh(qc(w))))&&y.push([d(v),d(w)]);return g}case yy:{const y=[],g=u([h,y],c);for(const v of c)(n||!jh(qc(v)))&&y.push(d(v));return g}}const{message:b}=c;return u([h,{name:p,message:b}],c)};return d},QM=(n,{json:r,lossy:a}={})=>{const s=[];return CZ(!(r||a),!!r,new Map,s)(n),s},dp=typeof structuredClone=="function"?(n,r)=>r&&("json"in r||"lossy"in r)?XM(QM(n,r)):structuredClone(n):(n,r)=>XM(QM(n,r));function RZ(n,r){const a=[{type:"text",value:"↩"}];return r>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),a}function DZ(n,r){return"Back to reference "+(n+1)+(r>1?"-"+r:"")}function _Z(n){const r=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",a=n.options.footnoteBackContent||RZ,s=n.options.footnoteBackLabel||DZ,u=n.options.footnoteLabel||"Footnotes",d=n.options.footnoteLabelTagName||"h2",c=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let p=-1;for(;++p<n.footnoteOrder.length;){const b=n.footnoteById.get(n.footnoteOrder[p]);if(!b)continue;const y=n.all(b),g=String(b.identifier).toUpperCase(),v=lu(g.toLowerCase());let w=0;const V=[],D=n.footnoteCounts.get(g);for(;D!==void 0&&++w<=D;){V.length>0&&V.push({type:"text",value:" "});let j=typeof a=="string"?a:a(p,w);typeof j=="string"&&(j={type:"text",value:j}),V.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+v+(w>1?"-"+w:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(p,w),className:["data-footnote-backref"]},children:Array.isArray(j)?j:[j]})}const C=y[y.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const j=C.children[C.children.length-1];j&&j.type==="text"?j.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...V)}else y.push(...V);const k={type:"element",tagName:"li",properties:{id:r+"fn-"+v},children:n.wrap(y,!0)};n.patch(b,k),h.push(k)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:d,properties:{...dp(c),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
306
|
+
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
|
|
307
|
+
`}]}}const Ep=(function(n){if(n==null)return LZ;if(typeof n=="function")return Vp(n);if(typeof n=="object")return Array.isArray(n)?OZ(n):HZ(n);if(typeof n=="string")return zZ(n);throw new Error("Expected function, string, or object as test")});function OZ(n){const r=[];let a=-1;for(;++a<n.length;)r[a]=Ep(n[a]);return Vp(s);function s(...u){let d=-1;for(;++d<r.length;)if(r[d].apply(this,u))return!0;return!1}}function HZ(n){const r=n;return Vp(a);function a(s){const u=s;let d;for(d in n)if(u[d]!==r[d])return!1;return!0}}function zZ(n){return Vp(r);function r(a){return a&&a.type===n}}function Vp(n){return r;function r(a,s,u){return!!(BZ(a)&&n.call(this,a,typeof s=="number"?s:void 0,u||void 0))}}function LZ(){return!0}function BZ(n){return n!==null&&typeof n=="object"&&"type"in n}const qA=[],ZZ=!0,Tb=!1,jZ="skip";function $A(n,r,a,s){let u;typeof r=="function"&&typeof a!="function"?(s=a,a=r):u=r;const d=Ep(u),c=s?-1:1;h(n,void 0,[])();function h(p,b,y){const g=p&&typeof p=="object"?p:{};if(typeof g.type=="string"){const w=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(w?"<"+w+">":""))+")"})}return v;function v(){let w=qA,V,D,C;if((!r||d(p,b,y[y.length-1]||void 0))&&(w=UZ(a(p,y)),w[0]===Tb))return w;if("children"in p&&p.children){const k=p;if(k.children&&w[0]!==jZ)for(D=(s?k.children.length:-1)+c,C=y.concat(k);D>-1&&D<k.children.length;){const j=k.children[D];if(V=h(j,D,C)(),V[0]===Tb)return V;D=typeof V[1]=="number"?V[1]:D+c}}return w}}}function UZ(n){return Array.isArray(n)?n:typeof n=="number"?[ZZ,n]:n==null?qA:[n]}function vy(n,r,a,s){let u,d,c;typeof r=="function"&&typeof a!="function"?(d=void 0,c=r,u=a):(d=r,c=a,u=s),$A(n,d,h,u);function h(p,b){const y=b[b.length-1],g=y?y.children.indexOf(p):void 0;return c(p,g,y)}}const Nb={}.hasOwnProperty,IZ={};function PZ(n,r){const a=r||IZ,s=new Map,u=new Map,d=new Map,c={...MZ,...a.handlers},h={all:b,applyData:qZ,definitionById:s,footnoteById:u,footnoteCounts:d,footnoteOrder:[],handlers:c,one:p,options:a,patch:FZ,wrap:GZ};return vy(n,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const g=y.type==="definition"?s:u,v=String(y.identifier).toUpperCase();g.has(v)||g.set(v,y)}}),h;function p(y,g){const v=y.type,w=h.handlers[v];if(Nb.call(h.handlers,v)&&w)return w(h,y,g);if(h.options.passThrough&&h.options.passThrough.includes(v)){if("children"in y){const{children:D,...C}=y,k=dp(C);return k.children=h.all(y),k}return dp(y)}return(h.options.unknownHandler||$Z)(h,y,g)}function b(y){const g=[];if("children"in y){const v=y.children;let w=-1;for(;++w<v.length;){const V=h.one(v[w],y);if(V){if(w&&v[w-1].type==="break"&&(!Array.isArray(V)&&V.type==="text"&&(V.value=KM(V.value)),!Array.isArray(V)&&V.type==="element")){const D=V.children[0];D&&D.type==="text"&&(D.value=KM(D.value))}Array.isArray(V)?g.push(...V):g.push(V)}}}return g}}function FZ(n,r){n.position&&(r.position=Nz(n))}function qZ(n,r){let a=r;if(n&&n.data){const s=n.data.hName,u=n.data.hChildren,d=n.data.hProperties;if(typeof s=="string")if(a.type==="element")a.tagName=s;else{const c="children"in a?a.children:[a];a={type:"element",tagName:s,properties:{},children:c}}a.type==="element"&&d&&Object.assign(a.properties,dp(d)),"children"in a&&a.children&&u!==null&&u!==void 0&&(a.children=u)}return a}function $Z(n,r){const a=r.data||{},s="value"in r&&!(Nb.call(a,"hProperties")||Nb.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:n.all(r)};return n.patch(r,s),n.applyData(r,s)}function GZ(n,r){const a=[];let s=-1;for(r&&a.push({type:"text",value:`
|
|
308
|
+
`});++s<n.length;)s&&a.push({type:"text",value:`
|
|
309
|
+
`}),a.push(n[s]);return r&&n.length>0&&a.push({type:"text",value:`
|
|
310
|
+
`}),a}function KM(n){let r=0,a=n.charCodeAt(r);for(;a===9||a===32;)r++,a=n.charCodeAt(r);return n.slice(r)}function JM(n,r){const a=PZ(n,r),s=a.one(n,void 0),u=_Z(a),d=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(I("children"in d),d.children.push({type:"text",value:`
|
|
311
|
+
`},u)),d}function YZ(n,r){return n&&"run"in n?async function(a,s){const u=JM(a,{file:s,...r});await n.run(u,s)}:function(a,s){return JM(a,{file:s,...n||r})}}function WM(n){if(n)throw n}var D1,eT;function XZ(){if(eT)return D1;eT=1;var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=function(b){return typeof Array.isArray=="function"?Array.isArray(b):r.call(b)==="[object Array]"},d=function(b){if(!b||r.call(b)!=="[object Object]")return!1;var y=n.call(b,"constructor"),g=b.constructor&&b.constructor.prototype&&n.call(b.constructor.prototype,"isPrototypeOf");if(b.constructor&&!y&&!g)return!1;var v;for(v in b);return typeof v>"u"||n.call(b,v)},c=function(b,y){a&&y.name==="__proto__"?a(b,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):b[y.name]=y.newValue},h=function(b,y){if(y==="__proto__")if(n.call(b,y)){if(s)return s(b,y).value}else return;return b[y]};return D1=function p(){var b,y,g,v,w,V,D=arguments[0],C=1,k=arguments.length,j=!1;for(typeof D=="boolean"&&(j=D,D=arguments[1]||{},C=2),(D==null||typeof D!="object"&&typeof D!="function")&&(D={});C<k;++C)if(b=arguments[C],b!=null)for(y in b)g=h(D,y),v=h(b,y),D!==v&&(j&&v&&(d(v)||(w=u(v)))?(w?(w=!1,V=g&&u(g)?g:[]):V=g&&d(g)?g:{},c(D,{name:y,newValue:p(j,V,v)})):typeof v<"u"&&c(D,{name:y,newValue:v}));return D},D1}var QZ=XZ();const _1=pp(QZ);function Ab(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function KZ(){const n=[],r={run:a,use:s};return r;function a(...u){let d=-1;const c=u.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);h(null,...u);function h(p,...b){const y=n[++d];let g=-1;if(p){c(p);return}for(;++g<u.length;)(b[g]===null||b[g]===void 0)&&(b[g]=u[g]);u=b,y?JZ(y,h)(...b):c(null,...b)}}function s(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),r}}function JZ(n,r){let a;return s;function s(...c){const h=n.length>c.length;let p;h&&c.push(u);try{p=n.apply(this,c)}catch(b){const y=b;if(h&&a)throw y;return u(y)}h||(p&&p.then&&typeof p.then=="function"?p.then(d,u):p instanceof Error?u(p):d(p))}function u(c,...h){a||(a=!0,r(c,...h))}function d(c){u(null,c)}}const aa={basename:WZ,dirname:e5,extname:t5,join:n5,sep:"/"};function WZ(n,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');pf(n);let a=0,s=-1,u=n.length,d;if(r===void 0||r.length===0||r.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(d){a=u+1;break}}else s<0&&(d=!0,s=u+1);return s<0?"":n.slice(a,s)}if(r===n)return"";let c=-1,h=r.length-1;for(;u--;)if(n.codePointAt(u)===47){if(d){a=u+1;break}}else c<0&&(d=!0,c=u+1),h>-1&&(n.codePointAt(u)===r.codePointAt(h--)?h<0&&(s=u):(h=-1,s=c));return a===s?s=c:s<0&&(s=n.length),n.slice(a,s)}function e5(n){if(pf(n),n.length===0)return".";let r=-1,a=n.length,s;for(;--a;)if(n.codePointAt(a)===47){if(s){r=a;break}}else s||(s=!0);return r<0?n.codePointAt(0)===47?"/":".":r===1&&n.codePointAt(0)===47?"//":n.slice(0,r)}function t5(n){pf(n);let r=n.length,a=-1,s=0,u=-1,d=0,c;for(;r--;){const h=n.codePointAt(r);if(h===47){if(c){s=r+1;break}continue}a<0&&(c=!0,a=r+1),h===46?u<0?u=r:d!==1&&(d=1):u>-1&&(d=-1)}return u<0||a<0||d===0||d===1&&u===a-1&&u===s+1?"":n.slice(u,a)}function n5(...n){let r=-1,a;for(;++r<n.length;)pf(n[r]),n[r]&&(a=a===void 0?n[r]:a+"/"+n[r]);return a===void 0?".":i5(a)}function i5(n){pf(n);const r=n.codePointAt(0)===47;let a=r5(n,!r);return a.length===0&&!r&&(a="."),a.length>0&&n.codePointAt(n.length-1)===47&&(a+="/"),r?"/"+a:a}function r5(n,r){let a="",s=0,u=-1,d=0,c=-1,h,p;for(;++c<=n.length;){if(c<n.length)h=n.codePointAt(c);else{if(h===47)break;h=47}if(h===47){if(!(u===c-1||d===1))if(u!==c-1&&d===2){if(a.length<2||s!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(p=a.lastIndexOf("/"),p!==a.length-1){p<0?(a="",s=0):(a=a.slice(0,p),s=a.length-1-a.lastIndexOf("/")),u=c,d=0;continue}}else if(a.length>0){a="",s=0,u=c,d=0;continue}}r&&(a=a.length>0?a+"/..":"..",s=2)}else a.length>0?a+="/"+n.slice(u+1,c):a=n.slice(u+1,c),s=c-u-1;u=c,d=0}else h===46&&d>-1?d++:d=-1}return a}function pf(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const a5={cwd:o5};function o5(){return"/"}function kb(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function s5(n){if(typeof n=="string")n=new URL(n);else if(!kb(n)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(n.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return l5(n)}function l5(n){if(n.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const r=n.pathname;let a=-1;for(;++a<r.length;)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){const s=r.codePointAt(a+2);if(s===70||s===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(r)}const O1=["history","path","basename","stem","extname","dirname"];class GA{constructor(r){let a;r?kb(r)?a={path:r}:typeof r=="string"||u5(r)?a={value:r}:a=r:a={},this.cwd="cwd"in a?"":a5.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<O1.length;){const d=O1[s];d in a&&a[d]!==void 0&&a[d]!==null&&(this[d]=d==="history"?[...a[d]]:a[d])}let u;for(u in a)O1.includes(u)||(this[u]=a[u])}get basename(){return typeof this.path=="string"?aa.basename(this.path):void 0}set basename(r){z1(r,"basename"),H1(r,"basename"),this.path=aa.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?aa.dirname(this.path):void 0}set dirname(r){tT(this.basename,"dirname"),this.path=aa.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?aa.extname(this.path):void 0}set extname(r){if(H1(r,"extname"),tT(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=aa.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){kb(r)&&(r=s5(r)),z1(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?aa.basename(this.path,this.extname):void 0}set stem(r){z1(r,"stem"),H1(r,"stem"),this.path=aa.join(this.dirname||"",r+(this.extname||""))}fail(r,a,s){const u=this.message(r,a,s);throw u.fatal=!0,u}info(r,a,s){const u=this.message(r,a,s);return u.fatal=void 0,u}message(r,a,s){const u=new Wn(r,a,s);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function H1(n,r){if(n&&n.includes(aa.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+aa.sep+"`")}function z1(n,r){if(!n)throw new Error("`"+r+"` cannot be empty")}function tT(n,r){if(!n)throw new Error("Setting `"+r+"` requires `path` to be set too")}function u5(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const c5=(function(n){const s=this.constructor.prototype,u=s[n],d=function(){return u.apply(d,arguments)};return Object.setPrototypeOf(d,s),d}),f5={}.hasOwnProperty;class xy extends c5{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=KZ()}copy(){const r=new xy;let a=-1;for(;++a<this.attachers.length;){const s=this.attachers[a];r.use(...s)}return r.data(_1(!0,{},this.namespace)),r}data(r,a){return typeof r=="string"?arguments.length===2?(Z1("data",this.frozen),this.namespace[r]=a,this):f5.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Z1("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const u=a.call(r,...s);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const a=Uh(r),s=this.parser||this.Parser;return L1("parse",s),s(String(a),a)}process(r,a){const s=this;return this.freeze(),L1("process",this.parser||this.Parser),B1("process",this.compiler||this.Compiler),a?u(void 0,a):new Promise(u);function u(d,c){const h=Uh(r),p=s.parse(h);s.run(p,h,function(y,g,v){if(y||!g||!v)return b(y);const w=g,V=s.stringify(w,v);p5(V)?v.value=V:v.result=V,b(y,v)});function b(y,g){y||!g?c(y):d?d(g):(I(a,"`done` is defined if `resolve` is not"),a(void 0,g))}}}processSync(r){let a=!1,s;return this.freeze(),L1("processSync",this.parser||this.Parser),B1("processSync",this.compiler||this.Compiler),this.process(r,u),iT("processSync","process",a),I(s,"we either bailed on an error or have a tree"),s;function u(d,c){a=!0,WM(d),s=c}}run(r,a,s){nT(r),this.freeze();const u=this.transformers;return!s&&typeof a=="function"&&(s=a,a=void 0),s?d(void 0,s):new Promise(d);function d(c,h){I(typeof a!="function","`file` can’t be a `done` anymore, we checked");const p=Uh(a);u.run(r,p,b);function b(y,g,v){const w=g||r;y?h(y):c?c(w):(I(s,"`done` is defined if `resolve` is not"),s(void 0,w,v))}}}runSync(r,a){let s=!1,u;return this.run(r,a,d),iT("runSync","run",s),I(u,"we either bailed on an error or have a tree"),u;function d(c,h){WM(c),u=h,s=!0}}stringify(r,a){this.freeze();const s=Uh(a),u=this.compiler||this.Compiler;return B1("stringify",u),nT(r),u(r,s)}use(r,...a){const s=this.attachers,u=this.namespace;if(Z1("use",this.frozen),r!=null)if(typeof r=="function")p(r,a);else if(typeof r=="object")Array.isArray(r)?h(r):c(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function d(b){if(typeof b=="function")p(b,[]);else if(typeof b=="object")if(Array.isArray(b)){const[y,...g]=b;p(y,g)}else c(b);else throw new TypeError("Expected usable value, not `"+b+"`")}function c(b){if(!("plugins"in b)&&!("settings"in b))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(b.plugins),b.settings&&(u.settings=_1(!0,u.settings,b.settings))}function h(b){let y=-1;if(b!=null)if(Array.isArray(b))for(;++y<b.length;){const g=b[y];d(g)}else throw new TypeError("Expected a list of plugins, not `"+b+"`")}function p(b,y){let g=-1,v=-1;for(;++g<s.length;)if(s[g][0]===b){v=g;break}if(v===-1)s.push([b,...y]);else if(y.length>0){let[w,...V]=y;const D=s[v][1];Ab(D)&&Ab(w)&&(w=_1(!0,D,w)),s[v]=[b,w,...V]}}}}const d5=new xy().freeze();function L1(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function B1(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Z1(n,r){if(r)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nT(n){if(!Ab(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function iT(n,r,a){if(!a)throw new Error("`"+n+"` finished async. Use `"+r+"` instead")}function Uh(n){return h5(n)?n:new GA(n)}function h5(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function p5(n){return typeof n=="string"||m5(n)}function m5(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const g5="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",rT=[],aT={allowDangerousHtml:!0},b5=/^(https?|ircs?|mailto|xmpp)$/i,y5=[{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 v5(n){const r=x5(n),a=w5(n);return S5(r.runSync(r.parse(a),a),n)}function x5(n){const r=n.rehypePlugins||rT,a=n.remarkPlugins||rT,s=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...aT}:aT;return d5().use(WB).use(a).use(YZ,s).use(r)}function w5(n){const r=n.children||"",a=new GA;return typeof r=="string"?a.value=r:vb("Unexpected value `"+r+"` for `children` prop, expected `string`"),a}function S5(n,r){const a=r.allowedElements,s=r.allowElement,u=r.components,d=r.disallowedElements,c=r.skipHtml,h=r.unwrapDisallowed,p=r.urlTransform||E5;for(const y of y5)Object.hasOwn(r,y.from)&&vb("Unexpected `"+y.from+"` prop, "+(y.to?"use `"+y.to+"` instead":"remove it")+" (see <"+g5+"#"+y.id+"> for more info)");return a&&d&&vb("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),vy(n,b),Dz(n,{Fragment:cr.Fragment,components:u,ignoreInvalidStyle:!0,jsx:cr.jsx,jsxs:cr.jsxs,passKeys:!0,passNode:!0});function b(y,g,v){if(y.type==="raw"&&v&&typeof g=="number")return c?v.children.splice(g,1):v.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let w;for(w in N1)if(Object.hasOwn(N1,w)&&Object.hasOwn(y.properties,w)){const V=y.properties[w],D=N1[w];(D===null||D.includes(y.tagName))&&(y.properties[w]=p(String(V||""),w,y))}}if(y.type==="element"){let w=a?!a.includes(y.tagName):d?d.includes(y.tagName):!1;if(!w&&s&&typeof g=="number"&&(w=!s(y,g,v)),w&&v&&typeof g=="number")return h&&y.children?v.children.splice(g,1,...y.children):v.children.splice(g,1),g}}}function E5(n){const r=n.indexOf(":"),a=n.indexOf("?"),s=n.indexOf("#"),u=n.indexOf("/");return r===-1||u!==-1&&r>u||a!==-1&&r>a||s!==-1&&r>s||b5.test(n.slice(0,r))?n:""}function oT(n,r){const a=String(n);if(typeof r!="string")throw new TypeError("Expected character");let s=0,u=a.indexOf(r);for(;u!==-1;)s++,u=a.indexOf(r,u+r.length);return s}function V5(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function M5(n,r,a){const u=Ep((a||{}).ignore||[]),d=T5(r);let c=-1;for(;++c<d.length;)$A(n,"text",h);function h(b,y){let g=-1,v;for(;++g<y.length;){const w=y[g],V=v?v.children:void 0;if(u(w,V?V.indexOf(w):void 0,v))return;v=w}if(v)return p(b,y)}function p(b,y){const g=y[y.length-1],v=d[c][0],w=d[c][1];let V=0;const C=g.children.indexOf(b);let k=!1,j=[];v.lastIndex=0;let U=v.exec(b.value);for(;U;){const Q=U.index,Y={index:U.index,input:U.input,stack:[...y,b]};let F=w(...U,Y);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1?v.lastIndex=Q+1:(V!==Q&&j.push({type:"text",value:b.value.slice(V,Q)}),Array.isArray(F)?j.push(...F):F&&j.push(F),V=Q+U[0].length,k=!0),!v.global)break;U=v.exec(b.value)}return k?(V<b.value.length&&j.push({type:"text",value:b.value.slice(V)}),g.children.splice(C,1,...j)):j=[b],C+j.length}}function T5(n){const r=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!n[0]||Array.isArray(n[0])?n:[n];let s=-1;for(;++s<a.length;){const u=a[s];r.push([N5(u[0]),A5(u[1])])}return r}function N5(n){return typeof n=="string"?new RegExp(V5(n),"g"):n}function A5(n){return typeof n=="function"?n:function(){return n}}const j1="phrasing",U1=["autolink","link","image","label"];function k5(){return{transforms:[z5],enter:{literalAutolink:R5,literalAutolinkEmail:I1,literalAutolinkHttp:I1,literalAutolinkWww:I1},exit:{literalAutolink:H5,literalAutolinkEmail:O5,literalAutolinkHttp:D5,literalAutolinkWww:_5}}}function C5(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:j1,notInConstruct:U1},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:j1,notInConstruct:U1},{character:":",before:"[ps]",after:"\\/",inConstruct:j1,notInConstruct:U1}]}}function R5(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function I1(n){this.config.enter.autolinkProtocol.call(this,n)}function D5(n){this.config.exit.autolinkProtocol.call(this,n)}function _5(n){this.config.exit.data.call(this,n);const r=this.stack[this.stack.length-1];I(r.type==="link"),r.url="http://"+this.sliceSerialize(n)}function O5(n){this.config.exit.autolinkEmail.call(this,n)}function H5(n){this.exit(n)}function z5(n){M5(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,L5],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),B5]],{ignore:["link","linkReference"]})}function L5(n,r,a,s,u){let d="";if(!YA(u)||(/^w/i.test(r)&&(a=r+a,r="",d="http://"),!Z5(a)))return!1;const c=j5(a+s);if(!c[0])return!1;const h={type:"link",title:null,url:d+r+c[0],children:[{type:"text",value:r+c[0]}]};return c[1]?[h,{type:"text",value:c[1]}]:h}function B5(n,r,a,s){return!YA(s,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+a,children:[{type:"text",value:r+"@"+a}]}}function Z5(n){const r=n.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function j5(n){const r=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!r)return[n,void 0];n=n.slice(0,r.index);let a=r[0],s=a.indexOf(")");const u=oT(n,"(");let d=oT(n,")");for(;s!==-1&&u>d;)n+=a.slice(0,s+1),a=a.slice(s+1),s=a.indexOf(")"),d++;return[n,a]}function YA(n,r){const a=n.input.charCodeAt(n.index-1);return(n.index===0||Bs(a)||xp(a))&&(!r||a!==47)}XA.peek=X5;function U5(){this.buffer()}function I5(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function P5(){this.buffer()}function F5(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function q5(n){const r=this.resume(),a=this.stack[this.stack.length-1];I(a.type==="footnoteReference"),a.identifier=Ar(this.sliceSerialize(n)).toLowerCase(),a.label=r}function $5(n){this.exit(n)}function G5(n){const r=this.resume(),a=this.stack[this.stack.length-1];I(a.type==="footnoteDefinition"),a.identifier=Ar(this.sliceSerialize(n)).toLowerCase(),a.label=r}function Y5(n){this.exit(n)}function X5(){return"["}function XA(n,r,a,s){const u=a.createTracker(s);let d=u.move("[^");const c=a.enter("footnoteReference"),h=a.enter("reference");return d+=u.move(a.safe(a.associationId(n),{after:"]",before:d})),h(),c(),d+=u.move("]"),d}function Q5(){return{enter:{gfmFootnoteCallString:U5,gfmFootnoteCall:I5,gfmFootnoteDefinitionLabelString:P5,gfmFootnoteDefinition:F5},exit:{gfmFootnoteCallString:q5,gfmFootnoteCall:$5,gfmFootnoteDefinitionLabelString:G5,gfmFootnoteDefinition:Y5}}}function K5(n){let r=!1;return n&&n.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:a,footnoteReference:XA},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(s,u,d,c){const h=d.createTracker(c);let p=h.move("[^");const b=d.enter("footnoteDefinition"),y=d.enter("label");return p+=h.move(d.safe(d.associationId(s),{before:p,after:"]"})),y(),p+=h.move("]:"),s.children&&s.children.length>0&&(h.shift(4),p+=h.move((r?`
|
|
312
|
+
`:" ")+d.indentLines(d.containerFlow(s,h.current()),r?QA:J5))),b(),p}}function J5(n,r,a){return r===0?n:QA(n,r,a)}function QA(n,r,a){return(a?"":" ")+n}const W5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];KA.peek=r4;function e4(){return{canContainEols:["delete"],enter:{strikethrough:n4},exit:{strikethrough:i4}}}function t4(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:W5}],handlers:{delete:KA}}}function n4(n){this.enter({type:"delete",children:[]},n)}function i4(n){this.exit(n)}function KA(n,r,a,s){const u=a.createTracker(s),d=a.enter("strikethrough");let c=u.move("~~");return c+=a.containerPhrasing(n,{...u.current(),before:c,after:"~"}),c+=u.move("~~"),d(),c}function r4(){return"~"}function a4(n){return n.length}function o4(n,r){const a=r||{},s=(a.align||[]).concat(),u=a.stringLength||a4,d=[],c=[],h=[],p=[];let b=0,y=-1;for(;++y<n.length;){const D=[],C=[];let k=-1;for(n[y].length>b&&(b=n[y].length);++k<n[y].length;){const j=s4(n[y][k]);if(a.alignDelimiters!==!1){const U=u(j);C[k]=U,(p[k]===void 0||U>p[k])&&(p[k]=U)}D.push(j)}c[y]=D,h[y]=C}let g=-1;if(typeof s=="object"&&"length"in s)for(;++g<b;)d[g]=sT(s[g]);else{const D=sT(s);for(;++g<b;)d[g]=D}g=-1;const v=[],w=[];for(;++g<b;){const D=d[g];let C="",k="";D===99?(C=":",k=":"):D===108?C=":":D===114&&(k=":");let j=a.alignDelimiters===!1?1:Math.max(1,p[g]-C.length-k.length);const U=C+"-".repeat(j)+k;a.alignDelimiters!==!1&&(j=C.length+j+k.length,j>p[g]&&(p[g]=j),w[g]=j),v[g]=U}c.splice(1,0,v),h.splice(1,0,w),y=-1;const V=[];for(;++y<c.length;){const D=c[y],C=h[y];g=-1;const k=[];for(;++g<b;){const j=D[g]||"";let U="",Q="";if(a.alignDelimiters!==!1){const Y=p[g]-(C[g]||0),F=d[g];F===114?U=" ".repeat(Y):F===99?Y%2?(U=" ".repeat(Y/2+.5),Q=" ".repeat(Y/2-.5)):(U=" ".repeat(Y/2),Q=U):Q=" ".repeat(Y)}a.delimiterStart!==!1&&!g&&k.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&j==="")&&(a.delimiterStart!==!1||g)&&k.push(" "),a.alignDelimiters!==!1&&k.push(U),k.push(j),a.alignDelimiters!==!1&&k.push(Q),a.padding!==!1&&k.push(" "),(a.delimiterEnd!==!1||g!==b-1)&&k.push("|")}V.push(a.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return V.join(`
|
|
313
|
+
`)}function s4(n){return n==null?"":String(n)}function sT(n){const r=typeof n=="string"?n.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function l4(n,r,a,s){const u=a.enter("blockquote"),d=a.createTracker(s);d.move("> "),d.shift(2);const c=a.indentLines(a.containerFlow(n,d.current()),u4);return u(),c}function u4(n,r,a){return">"+(a?"":" ")+n}function c4(n,r){return lT(n,r.inConstruct,!0)&&!lT(n,r.notInConstruct,!1)}function lT(n,r,a){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return a;let s=-1;for(;++s<r.length;)if(n.includes(r[s]))return!0;return!1}function uT(n,r,a,s){let u=-1;for(;++u<a.unsafe.length;)if(a.unsafe[u].character===`
|
|
314
|
+
`&&c4(a.stack,a.unsafe[u]))return/[ \t]/.test(s.before)?"":" ";return`\\
|
|
315
|
+
`}function f4(n,r){const a=String(n);let s=a.indexOf(r),u=s,d=0,c=0;if(typeof r!="string")throw new TypeError("Expected substring");for(;s!==-1;)s===u?++d>c&&(c=d):d=1,u=s+r.length,s=a.indexOf(r,u);return c}function d4(n,r){return!!(r.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function h4(n){const r=n.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function p4(n,r,a,s){const u=h4(a),d=n.value||"",c=u==="`"?"GraveAccent":"Tilde";if(d4(n,a)){const g=a.enter("codeIndented"),v=a.indentLines(d,m4);return g(),v}const h=a.createTracker(s),p=u.repeat(Math.max(f4(d,u)+1,3)),b=a.enter("codeFenced");let y=h.move(p);if(n.lang){const g=a.enter(`codeFencedLang${c}`);y+=h.move(a.safe(n.lang,{before:y,after:" ",encode:["`"],...h.current()})),g()}if(n.lang&&n.meta){const g=a.enter(`codeFencedMeta${c}`);y+=h.move(" "),y+=h.move(a.safe(n.meta,{before:y,after:`
|
|
316
|
+
`,encode:["`"],...h.current()})),g()}return y+=h.move(`
|
|
317
|
+
`),d&&(y+=h.move(d+`
|
|
318
|
+
`)),y+=h.move(p),b(),y}function m4(n,r,a){return(a?"":" ")+n}function wy(n){const r=n.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function g4(n,r,a,s){const u=wy(a),d=u==='"'?"Quote":"Apostrophe",c=a.enter("definition");let h=a.enter("label");const p=a.createTracker(s);let b=p.move("[");return b+=p.move(a.safe(a.associationId(n),{before:b,after:"]",...p.current()})),b+=p.move("]: "),h(),!n.url||/[\0- \u007F]/.test(n.url)?(h=a.enter("destinationLiteral"),b+=p.move("<"),b+=p.move(a.safe(n.url,{before:b,after:">",...p.current()})),b+=p.move(">")):(h=a.enter("destinationRaw"),b+=p.move(a.safe(n.url,{before:b,after:n.title?" ":`
|
|
319
|
+
`,...p.current()}))),h(),n.title&&(h=a.enter(`title${d}`),b+=p.move(" "+u),b+=p.move(a.safe(n.title,{before:b,after:u,...p.current()})),b+=p.move(u),h()),c(),b}function b4(n){const r=n.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function of(n){return"&#x"+n.toString(16).toUpperCase()+";"}function hp(n,r,a){const s=nu(n),u=nu(r);return s===void 0?u===void 0?a==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:s===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}JA.peek=y4;function JA(n,r,a,s){const u=b4(a),d=a.enter("emphasis"),c=a.createTracker(s),h=c.move(u);let p=c.move(a.containerPhrasing(n,{after:u,before:h,...c.current()}));const b=p.charCodeAt(0),y=hp(s.before.charCodeAt(s.before.length-1),b,u);y.inside&&(p=of(b)+p.slice(1));const g=p.charCodeAt(p.length-1),v=hp(s.after.charCodeAt(0),g,u);v.inside&&(p=p.slice(0,-1)+of(g));const w=c.move(u);return d(),a.attentionEncodeSurroundingInfo={after:v.outside,before:y.outside},h+p+w}function y4(n,r,a){return a.options.emphasis||"*"}function v4(n,r){let a=!1;return vy(n,function(s){if("value"in s&&/\r?\n|\r/.test(s.value)||s.type==="break")return a=!0,Tb}),!!((!n.depth||n.depth<3)&&dy(n)&&(r.options.setext||a))}function x4(n,r,a,s){const u=Math.max(Math.min(6,n.depth||1),1),d=a.createTracker(s);if(v4(n,a)){const y=a.enter("headingSetext"),g=a.enter("phrasing"),v=a.containerPhrasing(n,{...d.current(),before:`
|
|
320
|
+
`,after:`
|
|
321
|
+
`});return g(),y(),v+`
|
|
322
|
+
`+(u===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
|
|
323
|
+
`))+1))}const c="#".repeat(u),h=a.enter("headingAtx"),p=a.enter("phrasing");d.move(c+" ");let b=a.containerPhrasing(n,{before:"# ",after:`
|
|
324
|
+
`,...d.current()});return/^[\t ]/.test(b)&&(b=of(b.charCodeAt(0))+b.slice(1)),b=b?c+" "+b:c,a.options.closeAtx&&(b+=" "+c),p(),h(),b}WA.peek=w4;function WA(n){return n.value||""}function w4(){return"<"}ek.peek=S4;function ek(n,r,a,s){const u=wy(a),d=u==='"'?"Quote":"Apostrophe",c=a.enter("image");let h=a.enter("label");const p=a.createTracker(s);let b=p.move("![");return b+=p.move(a.safe(n.alt,{before:b,after:"]",...p.current()})),b+=p.move("]("),h(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(h=a.enter("destinationLiteral"),b+=p.move("<"),b+=p.move(a.safe(n.url,{before:b,after:">",...p.current()})),b+=p.move(">")):(h=a.enter("destinationRaw"),b+=p.move(a.safe(n.url,{before:b,after:n.title?" ":")",...p.current()}))),h(),n.title&&(h=a.enter(`title${d}`),b+=p.move(" "+u),b+=p.move(a.safe(n.title,{before:b,after:u,...p.current()})),b+=p.move(u),h()),b+=p.move(")"),c(),b}function S4(){return"!"}tk.peek=E4;function tk(n,r,a,s){const u=n.referenceType,d=a.enter("imageReference");let c=a.enter("label");const h=a.createTracker(s);let p=h.move("![");const b=a.safe(n.alt,{before:p,after:"]",...h.current()});p+=h.move(b+"]["),c();const y=a.stack;a.stack=[],c=a.enter("reference");const g=a.safe(a.associationId(n),{before:p,after:"]",...h.current()});return c(),a.stack=y,d(),u==="full"||!b||b!==g?p+=h.move(g+"]"):u==="shortcut"?p=p.slice(0,-1):p+=h.move("]"),p}function E4(){return"!"}nk.peek=V4;function nk(n,r,a){let s=n.value||"",u="`",d=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(s);)u+="`";for(/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^`|`$/.test(s))&&(s=" "+s+" ");++d<a.unsafe.length;){const c=a.unsafe[d],h=a.compilePattern(c);let p;if(c.atBreak)for(;p=h.exec(s);){let b=p.index;s.charCodeAt(b)===10&&s.charCodeAt(b-1)===13&&b--,s=s.slice(0,b)+" "+s.slice(p.index+1)}}return u+s+u}function V4(){return"`"}function ik(n,r){const a=dy(n);return!!(!r.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(a===n.url||"mailto:"+a===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}rk.peek=M4;function rk(n,r,a,s){const u=wy(a),d=u==='"'?"Quote":"Apostrophe",c=a.createTracker(s);let h,p;if(ik(n,a)){const y=a.stack;a.stack=[],h=a.enter("autolink");let g=c.move("<");return g+=c.move(a.containerPhrasing(n,{before:g,after:">",...c.current()})),g+=c.move(">"),h(),a.stack=y,g}h=a.enter("link"),p=a.enter("label");let b=c.move("[");return b+=c.move(a.containerPhrasing(n,{before:b,after:"](",...c.current()})),b+=c.move("]("),p(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(p=a.enter("destinationLiteral"),b+=c.move("<"),b+=c.move(a.safe(n.url,{before:b,after:">",...c.current()})),b+=c.move(">")):(p=a.enter("destinationRaw"),b+=c.move(a.safe(n.url,{before:b,after:n.title?" ":")",...c.current()}))),p(),n.title&&(p=a.enter(`title${d}`),b+=c.move(" "+u),b+=c.move(a.safe(n.title,{before:b,after:u,...c.current()})),b+=c.move(u),p()),b+=c.move(")"),h(),b}function M4(n,r,a){return ik(n,a)?"<":"["}ak.peek=T4;function ak(n,r,a,s){const u=n.referenceType,d=a.enter("linkReference");let c=a.enter("label");const h=a.createTracker(s);let p=h.move("[");const b=a.containerPhrasing(n,{before:p,after:"]",...h.current()});p+=h.move(b+"]["),c();const y=a.stack;a.stack=[],c=a.enter("reference");const g=a.safe(a.associationId(n),{before:p,after:"]",...h.current()});return c(),a.stack=y,d(),u==="full"||!b||b!==g?p+=h.move(g+"]"):u==="shortcut"?p=p.slice(0,-1):p+=h.move("]"),p}function T4(){return"["}function Sy(n){const r=n.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function N4(n){const r=Sy(n),a=n.options.bulletOther;if(!a)return r==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+a+"`) to be different");return a}function A4(n){const r=n.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function ok(n){const r=n.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function k4(n,r,a,s){const u=a.enter("list"),d=a.bulletCurrent;let c=n.ordered?A4(a):Sy(a);const h=n.ordered?c==="."?")":".":N4(a);let p=r&&a.bulletLastUsed?c===a.bulletLastUsed:!1;if(!n.ordered){const y=n.children?n.children[0]:void 0;if((c==="*"||c==="-")&&y&&(!y.children||!y.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(p=!0),ok(a)===c&&y){let g=-1;for(;++g<n.children.length;){const v=n.children[g];if(v&&v.type==="listItem"&&v.children&&v.children[0]&&v.children[0].type==="thematicBreak"){p=!0;break}}}}p&&(c=h),a.bulletCurrent=c;const b=a.containerFlow(n,s);return a.bulletLastUsed=c,a.bulletCurrent=d,u(),b}function C4(n){const r=n.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function R4(n,r,a,s){const u=C4(a);let d=a.bulletCurrent||Sy(a);r&&r.type==="list"&&r.ordered&&(d=(typeof r.start=="number"&&r.start>-1?r.start:1)+(a.options.incrementListMarker===!1?0:r.children.indexOf(n))+d);let c=d.length+1;(u==="tab"||u==="mixed"&&(r&&r.type==="list"&&r.spread||n.spread))&&(c=Math.ceil(c/4)*4);const h=a.createTracker(s);h.move(d+" ".repeat(c-d.length)),h.shift(c);const p=a.enter("listItem"),b=a.indentLines(a.containerFlow(n,h.current()),y);return p(),b;function y(g,v,w){return v?(w?"":" ".repeat(c))+g:(w?d:d+" ".repeat(c-d.length))+g}}function D4(n,r,a,s){const u=a.enter("paragraph"),d=a.enter("phrasing"),c=a.containerPhrasing(n,s);return d(),u(),c}const _4=Ep(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function O4(n,r,a,s){return(n.children.some(function(c){return _4(c)})?a.containerPhrasing:a.containerFlow).call(a,n,s)}function H4(n){const r=n.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}sk.peek=z4;function sk(n,r,a,s){const u=H4(a),d=a.enter("strong"),c=a.createTracker(s),h=c.move(u+u);let p=c.move(a.containerPhrasing(n,{after:u,before:h,...c.current()}));const b=p.charCodeAt(0),y=hp(s.before.charCodeAt(s.before.length-1),b,u);y.inside&&(p=of(b)+p.slice(1));const g=p.charCodeAt(p.length-1),v=hp(s.after.charCodeAt(0),g,u);v.inside&&(p=p.slice(0,-1)+of(g));const w=c.move(u+u);return d(),a.attentionEncodeSurroundingInfo={after:v.outside,before:y.outside},h+p+w}function z4(n,r,a){return a.options.strong||"*"}function L4(n,r,a,s){return a.safe(n.value,s)}function B4(n){const r=n.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function Z4(n,r,a){const s=(ok(a)+(a.options.ruleSpaces?" ":"")).repeat(B4(a));return a.options.ruleSpaces?s.slice(0,-1):s}const lk={blockquote:l4,break:uT,code:p4,definition:g4,emphasis:JA,hardBreak:uT,heading:x4,html:WA,image:ek,imageReference:tk,inlineCode:nk,link:rk,linkReference:ak,list:k4,listItem:R4,paragraph:D4,root:O4,strong:sk,text:L4,thematicBreak:Z4};function j4(){return{enter:{table:U4,tableData:cT,tableHeader:cT,tableRow:P4},exit:{codeText:F4,table:I4,tableData:P1,tableHeader:P1,tableRow:P1}}}function U4(n){const r=n._align;I(r,"expected `_align` on table"),this.enter({type:"table",align:r.map(function(a){return a==="none"?null:a}),children:[]},n),this.data.inTable=!0}function I4(n){this.exit(n),this.data.inTable=void 0}function P4(n){this.enter({type:"tableRow",children:[]},n)}function P1(n){this.exit(n)}function cT(n){this.enter({type:"tableCell",children:[]},n)}function F4(n){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,q4));const a=this.stack[this.stack.length-1];I(a.type==="inlineCode"),a.value=r,this.exit(n)}function q4(n,r){return r==="|"?r:n}function $4(n){const r=n||{},a=r.tableCellPadding,s=r.tablePipeAlign,u=r.stringLength,d=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
325
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:c,tableCell:p,tableRow:h}};function c(w,V,D,C){return b(y(w,D,C),w.align)}function h(w,V,D,C){const k=g(w,D,C),j=b([k]);return j.slice(0,j.indexOf(`
|
|
326
|
+
`))}function p(w,V,D,C){const k=D.enter("tableCell"),j=D.enter("phrasing"),U=D.containerPhrasing(w,{...C,before:d,after:d});return j(),k(),U}function b(w,V){return o4(w,{align:V,alignDelimiters:s,padding:a,stringLength:u})}function y(w,V,D){const C=w.children;let k=-1;const j=[],U=V.enter("table");for(;++k<C.length;)j[k]=g(C[k],V,D);return U(),j}function g(w,V,D){const C=w.children;let k=-1;const j=[],U=V.enter("tableRow");for(;++k<C.length;)j[k]=p(C[k],w,V,D);return U(),j}function v(w,V,D){let C=lk.inlineCode(w,V,D);return D.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function G4(){return{exit:{taskListCheckValueChecked:fT,taskListCheckValueUnchecked:fT,paragraph:X4}}}function Y4(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Q4}}}function fT(n){const r=this.stack[this.stack.length-2];I(r.type==="listItem"),r.checked=n.type==="taskListCheckValueChecked"}function X4(n){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const a=this.stack[this.stack.length-1];I(a.type==="paragraph");const s=a.children[0];if(s&&s.type==="text"){const u=r.children;let d=-1,c;for(;++d<u.length;){const h=u[d];if(h.type==="paragraph"){c=h;break}}c===a&&(s.value=s.value.slice(1),s.value.length===0?a.children.shift():a.position&&s.position&&typeof s.position.start.offset=="number"&&(s.position.start.column++,s.position.start.offset++,a.position.start=Object.assign({},s.position.start)))}}this.exit(n)}function Q4(n,r,a,s){const u=n.children[0],d=typeof n.checked=="boolean"&&u&&u.type==="paragraph",c="["+(n.checked?"x":" ")+"] ",h=a.createTracker(s);d&&h.move(c);let p=lk.listItem(n,r,a,{...s,...h.current()});return d&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),p;function b(y){return y+c}}function K4(){return[k5(),Q5(),e4(),j4(),G4()]}function J4(n){return{extensions:[C5(),K5(n),t4(),$4(n),Y4()]}}const W4={tokenize:aj,partial:!0},uk={tokenize:oj,partial:!0},ck={tokenize:sj,partial:!0},fk={tokenize:lj,partial:!0},ej={tokenize:uj,partial:!0},dk={name:"wwwAutolink",tokenize:ij,previous:pk},hk={name:"protocolAutolink",tokenize:rj,previous:mk},Ia={name:"emailAutolink",tokenize:nj,previous:gk},ca={};function tj(){return{text:ca}}let ks=S.digit0;for(;ks<S.leftCurlyBrace;)ca[ks]=Ia,ks++,ks===S.colon?ks=S.uppercaseA:ks===S.leftSquareBracket&&(ks=S.lowercaseA);ca[S.plusSign]=Ia;ca[S.dash]=Ia;ca[S.dot]=Ia;ca[S.underscore]=Ia;ca[S.uppercaseH]=[Ia,hk];ca[S.lowercaseH]=[Ia,hk];ca[S.uppercaseW]=[Ia,dk];ca[S.lowercaseW]=[Ia,dk];function nj(n,r,a){const s=this;let u,d;return c;function c(g){return!Cb(g)||!gk.call(s,s.previous)||Ey(s.events)?a(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),h(g))}function h(g){return Cb(g)?(n.consume(g),h):g===S.atSign?(n.consume(g),p):a(g)}function p(g){return g===S.dot?n.check(ej,y,b)(g):g===S.dash||g===S.underscore||Kn(g)?(d=!0,n.consume(g),p):y(g)}function b(g){return n.consume(g),u=!0,p}function y(g){return d&&u&&fi(s.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),r(g)):a(g)}}function ij(n,r,a){const s=this;return u;function u(c){return c!==S.uppercaseW&&c!==S.lowercaseW||!pk.call(s,s.previous)||Ey(s.events)?a(c):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(W4,n.attempt(uk,n.attempt(ck,d),a),a)(c))}function d(c){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),r(c)}}function rj(n,r,a){const s=this;let u="",d=!1;return c;function c(g){return(g===S.uppercaseH||g===S.lowercaseH)&&mk.call(s,s.previous)&&!Ey(s.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),u+=String.fromCodePoint(g),n.consume(g),h):a(g)}function h(g){if(fi(g)&&u.length<5)return u+=String.fromCodePoint(g),n.consume(g),h;if(g===S.colon){const v=u.toLowerCase();if(v==="http"||v==="https")return n.consume(g),p}return a(g)}function p(g){return g===S.slash?(n.consume(g),d?b:(d=!0,p)):a(g)}function b(g){return g===S.eof||cp(g)||Ut(g)||Bs(g)||xp(g)?a(g):n.attempt(uk,n.attempt(ck,y),a)(g)}function y(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),r(g)}}function aj(n,r,a){let s=0;return u;function u(c){return(c===S.uppercaseW||c===S.lowercaseW)&&s<3?(s++,n.consume(c),u):c===S.dot&&s===3?(n.consume(c),d):a(c)}function d(c){return c===S.eof?a(c):r(c)}}function oj(n,r,a){let s,u,d;return c;function c(b){return b===S.dot||b===S.underscore?n.check(fk,p,h)(b):b===S.eof||Ut(b)||Bs(b)||b!==S.dash&&xp(b)?p(b):(d=!0,n.consume(b),c)}function h(b){return b===S.underscore?s=!0:(u=s,s=void 0),n.consume(b),c}function p(b){return u||s||!d?a(b):r(b)}}function sj(n,r){let a=0,s=0;return u;function u(c){return c===S.leftParenthesis?(a++,n.consume(c),u):c===S.rightParenthesis&&s<a?d(c):c===S.exclamationMark||c===S.quotationMark||c===S.ampersand||c===S.apostrophe||c===S.rightParenthesis||c===S.asterisk||c===S.comma||c===S.dot||c===S.colon||c===S.semicolon||c===S.lessThan||c===S.questionMark||c===S.rightSquareBracket||c===S.underscore||c===S.tilde?n.check(fk,r,d)(c):c===S.eof||Ut(c)||Bs(c)?r(c):(n.consume(c),u)}function d(c){return c===S.rightParenthesis&&s++,n.consume(c),u}}function lj(n,r,a){return s;function s(h){return h===S.exclamationMark||h===S.quotationMark||h===S.apostrophe||h===S.rightParenthesis||h===S.asterisk||h===S.comma||h===S.dot||h===S.colon||h===S.semicolon||h===S.questionMark||h===S.underscore||h===S.tilde?(n.consume(h),s):h===S.ampersand?(n.consume(h),d):h===S.rightSquareBracket?(n.consume(h),u):h===S.lessThan||h===S.eof||Ut(h)||Bs(h)?r(h):a(h)}function u(h){return h===S.eof||h===S.leftParenthesis||h===S.leftSquareBracket||Ut(h)||Bs(h)?r(h):s(h)}function d(h){return fi(h)?c(h):a(h)}function c(h){return h===S.semicolon?(n.consume(h),s):fi(h)?(n.consume(h),c):a(h)}}function uj(n,r,a){return s;function s(d){return n.consume(d),u}function u(d){return Kn(d)?a(d):r(d)}}function pk(n){return n===S.eof||n===S.leftParenthesis||n===S.asterisk||n===S.underscore||n===S.leftSquareBracket||n===S.rightSquareBracket||n===S.tilde||Ut(n)}function mk(n){return!fi(n)}function gk(n){return!(n===S.slash||Cb(n))}function Cb(n){return n===S.plusSign||n===S.dash||n===S.dot||n===S.underscore||Kn(n)}function Ey(n){let r=n.length,a=!1;for(;r--;){const s=n[r][1];if((s.type==="labelLink"||s.type==="labelImage")&&!s._balanced){a=!0;break}if(s._gfmAutolinkLiteralWalkedInto){a=!1;break}}return n.length>0&&!a&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const cj={tokenize:yj,partial:!0};function fj(){return{document:{[S.leftSquareBracket]:{name:"gfmFootnoteDefinition",tokenize:mj,continuation:{tokenize:gj},exit:bj}},text:{[S.leftSquareBracket]:{name:"gfmFootnoteCall",tokenize:pj},[S.rightSquareBracket]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:dj,resolveTo:hj}}}}function dj(n,r,a){const s=this;let u=s.events.length;const d=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let c;for(;u--;){const p=s.events[u][1];if(p.type===M.labelImage){c=p;break}if(p.type==="gfmFootnoteCall"||p.type===M.labelLink||p.type===M.label||p.type===M.image||p.type===M.link)break}return h;function h(p){if(I(p===S.rightSquareBracket,"expected `]`"),!c||!c._balanced)return a(p);const b=Ar(s.sliceSerialize({start:c.end,end:s.now()}));return b.codePointAt(0)!==S.caret||!d.includes(b.slice(1))?a(p):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(p),n.exit("gfmFootnoteCallLabelMarker"),r(p))}}function hj(n,r){let a=n.length,s;for(;a--;)if(n[a][1].type===M.labelImage&&n[a][0]==="enter"){s=n[a][1];break}I(s,"expected `labelStart` to resolve"),n[a+1][1].type=M.data,n[a+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[a+3][1].start),end:Object.assign({},n[n.length-1][1].end)},d={type:"gfmFootnoteCallMarker",start:Object.assign({},n[a+3][1].end),end:Object.assign({},n[a+3][1].end)};d.end.column++,d.end.offset++,d.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},d.end),end:Object.assign({},n[n.length-1][1].start)},h={type:M.chunkString,contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},p=[n[a+1],n[a+2],["enter",u,r],n[a+3],n[a+4],["enter",d,r],["exit",d,r],["enter",c,r],["enter",h,r],["exit",h,r],["exit",c,r],n[n.length-2],n[n.length-1],["exit",u,r]];return n.splice(a,n.length-a+1,...p),n}function pj(n,r,a){const s=this,u=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let d=0,c;return h;function h(g){return I(g===S.leftSquareBracket,"expected `[`"),n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),p}function p(g){return g!==S.caret?a(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",b)}function b(g){if(d>Ne.linkReferenceSizeMax||g===S.rightSquareBracket&&!c||g===S.eof||g===S.leftSquareBracket||Ut(g))return a(g);if(g===S.rightSquareBracket){n.exit("chunkString");const v=n.exit("gfmFootnoteCallString");return u.includes(Ar(s.sliceSerialize(v)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),r):a(g)}return Ut(g)||(c=!0),d++,n.consume(g),g===S.backslash?y:b}function y(g){return g===S.leftSquareBracket||g===S.backslash||g===S.rightSquareBracket?(n.consume(g),d++,b):b(g)}}function mj(n,r,a){const s=this,u=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]);let d,c=0,h;return p;function p(V){return I(V===S.leftSquareBracket,"expected `[`"),n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(V),n.exit("gfmFootnoteDefinitionLabelMarker"),b}function b(V){return V===S.caret?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(V),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):a(V)}function y(V){if(c>Ne.linkReferenceSizeMax||V===S.rightSquareBracket&&!h||V===S.eof||V===S.leftSquareBracket||Ut(V))return a(V);if(V===S.rightSquareBracket){n.exit("chunkString");const D=n.exit("gfmFootnoteDefinitionLabelString");return d=Ar(s.sliceSerialize(D)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(V),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),v}return Ut(V)||(h=!0),c++,n.consume(V),V===S.backslash?g:y}function g(V){return V===S.leftSquareBracket||V===S.backslash||V===S.rightSquareBracket?(n.consume(V),c++,y):y(V)}function v(V){return V===S.colon?(n.enter("definitionMarker"),n.consume(V),n.exit("definitionMarker"),u.includes(d)||u.push(d),Et(n,w,"gfmFootnoteDefinitionWhitespace")):a(V)}function w(V){return r(V)}}function gj(n,r,a){return n.check(hf,r,n.attempt(cj,r,a))}function bj(n){n.exit("gfmFootnoteDefinition")}function yj(n,r,a){const s=this;return Et(n,u,"gfmFootnoteDefinitionIndent",Ne.tabSize+1);function u(d){const c=s.events[s.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===Ne.tabSize?r(d):a(d)}}function vj(n){let a=(n||{}).singleTilde;const s={name:"strikethrough",tokenize:d,resolveAll:u};return a==null&&(a=!0),{text:{[S.tilde]:s},insideSpan:{null:[s]},attentionMarkers:{null:[S.tilde]}};function u(c,h){let p=-1;for(;++p<c.length;)if(c[p][0]==="enter"&&c[p][1].type==="strikethroughSequenceTemporary"&&c[p][1]._close){let b=p;for(;b--;)if(c[b][0]==="exit"&&c[b][1].type==="strikethroughSequenceTemporary"&&c[b][1]._open&&c[p][1].end.offset-c[p][1].start.offset===c[b][1].end.offset-c[b][1].start.offset){c[p][1].type="strikethroughSequence",c[b][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},c[b][1].start),end:Object.assign({},c[p][1].end)},g={type:"strikethroughText",start:Object.assign({},c[b][1].end),end:Object.assign({},c[p][1].start)},v=[["enter",y,h],["enter",c[b][1],h],["exit",c[b][1],h],["enter",g,h]],w=h.parser.constructs.insideSpan.null;w&&Fi(v,v.length,0,wp(w,c.slice(b+1,p),h)),Fi(v,v.length,0,[["exit",g,h],["enter",c[p][1],h],["exit",c[p][1],h],["exit",y,h]]),Fi(c,b-1,p-b+3,v),p=b+v.length-2;break}}for(p=-1;++p<c.length;)c[p][1].type==="strikethroughSequenceTemporary"&&(c[p][1].type=M.data);return c}function d(c,h,p){const b=this.previous,y=this.events;let g=0;return v;function v(V){return I(V===S.tilde,"expected `~`"),b===S.tilde&&y[y.length-1][1].type!==M.characterEscape?p(V):(c.enter("strikethroughSequenceTemporary"),w(V))}function w(V){const D=nu(b);if(V===S.tilde)return g>1?p(V):(c.consume(V),g++,w);if(g<2&&!a)return p(V);const C=c.exit("strikethroughSequenceTemporary"),k=nu(V);return C._open=!k||k===Ne.attentionSideAfter&&!!D,C._close=!D||D===Ne.attentionSideAfter&&!!k,h(V)}}}class xj{constructor(){this.map=[]}add(r,a,s){wj(this,r,a,s)}consume(r){if(this.map.sort(function(d,c){return d[0]-c[0]}),this.map.length===0)return;let a=this.map.length;const s=[];for(;a>0;)a-=1,s.push(r.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),r.length=this.map[a][0];s.push(r.slice()),r.length=0;let u=s.pop();for(;u;){for(const d of u)r.push(d);u=s.pop()}this.map.length=0}}function wj(n,r,a,s){let u=0;if(!(a===0&&s.length===0)){for(;u<n.map.length;){if(n.map[u][0]===r){n.map[u][1]+=a,n.map[u][2].push(...s);return}u+=1}n.map.push([r,a,s])}}function Sj(n,r){I(n[r][1].type==="table","expected table");let a=!1;const s=[];for(;r<n.length;){const u=n[r];if(a){if(u[0]==="enter")u[1].type==="tableContent"&&s.push(n[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(n[r-1][1].type==="tableDelimiterMarker"){const d=s.length-1;s[d]=s[d]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(a=!0);r+=1}return s}function Ej(){return{flow:{null:{name:"table",tokenize:Vj,resolveAll:Mj}}}}function Vj(n,r,a){const s=this;let u=0,d=0,c;return h;function h(R){let xe=s.events.length-1;for(;xe>-1;){const ee=s.events[xe][1].type;if(ee===M.lineEnding||ee===M.linePrefix)xe--;else break}const de=xe>-1?s.events[xe][1].type:null,ae=de==="tableHead"||de==="tableRow"?F:p;return ae===F&&s.parser.lazy[s.now().line]?a(R):ae(R)}function p(R){return n.enter("tableHead"),n.enter("tableRow"),b(R)}function b(R){return R===S.verticalBar||(c=!0,d+=1),y(R)}function y(R){return R===S.eof?a(R):ze(R)?d>1?(d=0,s.interrupt=!0,n.exit("tableRow"),n.enter(M.lineEnding),n.consume(R),n.exit(M.lineEnding),w):a(R):pt(R)?Et(n,y,M.whitespace)(R):(d+=1,c&&(c=!1,u+=1),R===S.verticalBar?(n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),c=!0,y):(n.enter(M.data),g(R)))}function g(R){return R===S.eof||R===S.verticalBar||Ut(R)?(n.exit(M.data),y(R)):(n.consume(R),R===S.backslash?v:g)}function v(R){return R===S.backslash||R===S.verticalBar?(n.consume(R),g):g(R)}function w(R){return s.interrupt=!1,s.parser.lazy[s.now().line]?a(R):(n.enter("tableDelimiterRow"),c=!1,pt(R)?(I(s.parser.constructs.disable.null,"expected `disabled.null`"),Et(n,V,M.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:Ne.tabSize)(R)):V(R))}function V(R){return R===S.dash||R===S.colon?C(R):R===S.verticalBar?(c=!0,n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),D):Y(R)}function D(R){return pt(R)?Et(n,C,M.whitespace)(R):C(R)}function C(R){return R===S.colon?(d+=1,c=!0,n.enter("tableDelimiterMarker"),n.consume(R),n.exit("tableDelimiterMarker"),k):R===S.dash?(d+=1,k(R)):R===S.eof||ze(R)?Q(R):Y(R)}function k(R){return R===S.dash?(n.enter("tableDelimiterFiller"),j(R)):Y(R)}function j(R){return R===S.dash?(n.consume(R),j):R===S.colon?(c=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(R),n.exit("tableDelimiterMarker"),U):(n.exit("tableDelimiterFiller"),U(R))}function U(R){return pt(R)?Et(n,Q,M.whitespace)(R):Q(R)}function Q(R){return R===S.verticalBar?V(R):R===S.eof||ze(R)?!c||u!==d?Y(R):(n.exit("tableDelimiterRow"),n.exit("tableHead"),r(R)):Y(R)}function Y(R){return a(R)}function F(R){return n.enter("tableRow"),fe(R)}function fe(R){return R===S.verticalBar?(n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),fe):R===S.eof||ze(R)?(n.exit("tableRow"),r(R)):pt(R)?Et(n,fe,M.whitespace)(R):(n.enter(M.data),ie(R))}function ie(R){return R===S.eof||R===S.verticalBar||Ut(R)?(n.exit(M.data),fe(R)):(n.consume(R),R===S.backslash?X:ie)}function X(R){return R===S.backslash||R===S.verticalBar?(n.consume(R),ie):ie(R)}}function Mj(n,r){let a=-1,s=!0,u=0,d=[0,0,0,0],c=[0,0,0,0],h=!1,p=0,b,y,g;const v=new xj;for(;++a<n.length;){const w=n[a],V=w[1];w[0]==="enter"?V.type==="tableHead"?(h=!1,p!==0&&(I(b,"there should be a table opening"),dT(v,r,p,b,y),y=void 0,p=0),b={type:"table",start:Object.assign({},V.start),end:Object.assign({},V.end)},v.add(a,0,[["enter",b,r]])):V.type==="tableRow"||V.type==="tableDelimiterRow"?(s=!0,g=void 0,d=[0,0,0,0],c=[0,a+1,0,0],h&&(h=!1,y={type:"tableBody",start:Object.assign({},V.start),end:Object.assign({},V.end)},v.add(a,0,[["enter",y,r]])),u=V.type==="tableDelimiterRow"?2:y?3:1):u&&(V.type===M.data||V.type==="tableDelimiterMarker"||V.type==="tableDelimiterFiller")?(s=!1,c[2]===0&&(d[1]!==0&&(c[0]=c[1],g=Ih(v,r,d,u,void 0,g),d=[0,0,0,0]),c[2]=a)):V.type==="tableCellDivider"&&(s?s=!1:(d[1]!==0&&(c[0]=c[1],g=Ih(v,r,d,u,void 0,g)),d=c,c=[d[1],a,0,0])):V.type==="tableHead"?(h=!0,p=a):V.type==="tableRow"||V.type==="tableDelimiterRow"?(p=a,d[1]!==0?(c[0]=c[1],g=Ih(v,r,d,u,a,g)):c[1]!==0&&(g=Ih(v,r,c,u,a,g)),u=0):u&&(V.type===M.data||V.type==="tableDelimiterMarker"||V.type==="tableDelimiterFiller")&&(c[3]=a)}for(p!==0&&(I(b,"expected table opening"),dT(v,r,p,b,y)),v.consume(r.events),a=-1;++a<r.events.length;){const w=r.events[a];w[0]==="enter"&&w[1].type==="table"&&(w[1]._align=Sj(r.events,a))}return n}function Ih(n,r,a,s,u,d){const c=s===1?"tableHeader":s===2?"tableDelimiter":"tableData",h="tableContent";a[0]!==0&&(I(d,"expected previous cell enter"),d.end=Object.assign({},Xl(r.events,a[0])),n.add(a[0],0,[["exit",d,r]]));const p=Xl(r.events,a[1]);if(d={type:c,start:Object.assign({},p),end:Object.assign({},p)},n.add(a[1],0,[["enter",d,r]]),a[2]!==0){const b=Xl(r.events,a[2]),y=Xl(r.events,a[3]),g={type:h,start:Object.assign({},b),end:Object.assign({},y)};if(n.add(a[2],0,[["enter",g,r]]),I(a[3]!==0),s!==2){const v=r.events[a[2]],w=r.events[a[3]];if(v[1].end=Object.assign({},w[1].end),v[1].type=M.chunkText,v[1].contentType=Ne.contentTypeText,a[3]>a[2]+1){const V=a[2]+1,D=a[3]-a[2]-1;n.add(V,D,[])}}n.add(a[3]+1,0,[["exit",g,r]])}return u!==void 0&&(d.end=Object.assign({},Xl(r.events,u)),n.add(u,0,[["exit",d,r]]),d=void 0),d}function dT(n,r,a,s,u){const d=[],c=Xl(r.events,a);u&&(u.end=Object.assign({},c),d.push(["exit",u,r])),s.end=Object.assign({},c),d.push(["exit",s,r]),n.add(a+1,0,d)}function Xl(n,r){const a=n[r],s=a[0]==="enter"?"start":"end";return a[1][s]}const Tj={name:"tasklistCheck",tokenize:Aj};function Nj(){return{text:{[S.leftSquareBracket]:Tj}}}function Aj(n,r,a){const s=this;return u;function u(p){return I(p===S.leftSquareBracket,"expected `[`"),s.previous!==S.eof||!s._gfmTasklistFirstContentOfListItem?a(p):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),d)}function d(p){return Ut(p)?(n.enter("taskListCheckValueUnchecked"),n.consume(p),n.exit("taskListCheckValueUnchecked"),c):p===S.uppercaseX||p===S.lowercaseX?(n.enter("taskListCheckValueChecked"),n.consume(p),n.exit("taskListCheckValueChecked"),c):a(p)}function c(p){return p===S.rightSquareBracket?(n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),h):a(p)}function h(p){return ze(p)?r(p):pt(p)?n.check({tokenize:kj},r,a)(p):a(p)}}function kj(n,r,a){return Et(n,s,M.whitespace);function s(u){return u===S.eof?a(u):r(u)}}function Cj(n){return TA([tj(),fj(),vj(n),Ej(),Nj()])}const Rj={};function Dj(n){const r=this,a=n||Rj,s=r.data(),u=s.micromarkExtensions||(s.micromarkExtensions=[]),d=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),c=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);u.push(Cj(a)),d.push(K4()),c.push(J4(a))}function Jh({children:n,className:r=""}){return A.jsxDEV("div",{className:`md ${r}`,children:A.jsxDEV(v5,{remarkPlugins:[Dj],children:n},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Markdown.tsx",lineNumber:9,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/Markdown.tsx",lineNumber:8,columnNumber:5},this)}function hT({issue:n,epic:r}){return A.jsxDEV("div",{className:"rounded-lg border border-edge bg-surface/50 p-4",children:[A.jsxDEV("div",{className:"mb-1.5 flex items-center gap-2 font-mono text-[12px]",children:[r&&A.jsxDEV("span",{className:"rounded-sm bg-violet-400/15 px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-violet-300 uppercase",children:"epic"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:12,columnNumber:11},this),A.jsxDEV("a",{href:n.url,target:"_blank",rel:"noreferrer",className:"font-semibold text-accent hover:underline",children:n.key},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:16,columnNumber:9},this),A.jsxDEV("span",{className:"text-faint",children:[n.type," · ",n.status]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:19,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:10,columnNumber:7},this),A.jsxDEV("div",{className:"font-sans text-[14px] font-medium text-fg",children:n.summary},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:23,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:9,columnNumber:5},this)}function _j({jira:n}){return n.available?n.issues.length===0?A.jsxDEV("p",{className:"font-sans text-[13px] text-faint italic",children:"No linked Jira issues found in the title, branch, or description."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:47,columnNumber:7},this):A.jsxDEV("div",{className:"space-y-3",children:[n.issues.map(r=>A.jsxDEV(hT,{issue:r},r.key,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:55,columnNumber:9},this)),n.epic&&A.jsxDEV(hT,{issue:n.epic,epic:!0},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:57,columnNumber:21},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:53,columnNumber:5},this):A.jsxDEV("div",{className:"rounded-lg border border-accent/30 bg-accent/[0.06] p-4",children:[A.jsxDEV("div",{className:"mb-1 flex items-center gap-2 font-sans text-[13px] font-semibold text-accent",children:[A.jsxDEV("span",{"aria-hidden":!0,children:"⚠"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:33,columnNumber:11},this)," Claude can't access Jira"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:32,columnNumber:9},this),n.reason&&A.jsxDEV("p",{className:"font-sans text-[12.5px] text-fg/70",children:[n.reason,"."]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:35,columnNumber:25},this),n.setup_hint&&A.jsxDEV("p",{className:"mt-1.5 font-sans text-[12.5px] leading-relaxed text-muted",children:n.setup_hint},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:37,columnNumber:11},this),n.keys.length>0&&A.jsxDEV("p",{className:"mt-1.5 font-mono text-[12px] text-faint",children:["Referenced: ",n.keys.join(", ")]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:40,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:31,columnNumber:7},this)}function Oj({ai:n}){var c;const[r,a]=he.useState(""),s=n.notes.find(h=>h.kind==="initial"),u=n.notes.filter(h=>h.kind==="investigation"),d=h=>{h.preventDefault(),!n.busy&&(n.onAsk(r),a(""))};return A.jsxDEV("section",{children:[A.jsxDEV("div",{className:"mb-3 flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-accent","aria-hidden":!0,children:"✦"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:77,columnNumber:9},this),A.jsxDEV("span",{className:"font-sans text-[11px] font-semibold tracking-[0.22em] text-muted uppercase",children:"Claude’s summary"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:80,columnNumber:9},this),A.jsxDEV("span",{className:"h-px flex-1 bg-edge"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:83,columnNumber:9},this),(s==null?void 0:s.id)&&A.jsxDEV("button",{onClick:()=>n.onDeleteNote(s.id),className:"font-sans text-[11px] text-faint transition hover:text-[var(--del-fg)]",children:"regenerate"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:85,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:76,columnNumber:7},this),n.busy?A.jsxDEV("div",{className:"text-[15px]",children:[A.jsxDEV(Jh,{children:((c=n.streaming)==null?void 0:c.text)||""},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:96,columnNumber:11},this),A.jsxDEV("span",{className:"ml-0.5 inline-block animate-pulse text-accent",children:"▍"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:97,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:95,columnNumber:9},this):s?A.jsxDEV(Jh,{className:"text-[15px] leading-[1.75]",children:s.body},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:100,columnNumber:9},this):A.jsxDEV("button",{onClick:()=>n.onAsk(""),className:"rounded-md bg-accent px-4 py-2 text-[13px] font-semibold text-bg transition hover:brightness-110",children:"✦ Summarize this PR"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:102,columnNumber:9},this),n.error&&A.jsxDEV(zs,{className:"mt-2",children:n.error},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:111,columnNumber:9},this),u.length>0&&A.jsxDEV("div",{className:"mt-4 space-y-3 border-l border-accent/30 pl-4",children:u.map(h=>A.jsxDEV("div",{children:[A.jsxDEV("div",{className:"font-sans text-[11px] font-medium tracking-wide text-accent/80",children:h.prompt},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:118,columnNumber:15},this),A.jsxDEV(Jh,{className:"mt-0.5 text-fg/80",children:h.body},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:121,columnNumber:15},this)]},h.id??h.body,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:117,columnNumber:13},this))},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:115,columnNumber:9},this),A.jsxDEV("form",{onSubmit:d,className:"mt-4 flex items-center gap-2",children:[A.jsxDEV("input",{ref:n.askRef,value:r,onChange:h=>a(h.target.value),disabled:n.busy,placeholder:"Ask about this PR… (a)",className:"flex-1 rounded-md border border-edge bg-bg px-3 py-1.5 font-sans text-[13px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none disabled:opacity-50"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:128,columnNumber:9},this),A.jsxDEV("button",{type:"submit",disabled:n.busy,className:"rounded-md border border-edge-strong px-3 py-1.5 text-[12.5px] font-medium text-muted transition enabled:hover:border-fg/30 enabled:hover:text-fg disabled:opacity-40",children:n.busy?"…":r.trim()?"Ask":"Summarize"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:136,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:127,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:75,columnNumber:5},this)}function pT({label:n,enabled:r=!0,emptyHint:a,defaultOpen:s=!1,children:u}){const[d,c]=he.useState(s);return A.jsxDEV("section",{children:[A.jsxDEV("button",{onClick:()=>c(h=>!h),disabled:!r,className:"flex items-center gap-2 font-sans text-[10px] font-semibold tracking-[0.2em] text-faint uppercase transition hover:text-muted disabled:opacity-60",children:[A.jsxDEV("span",{"aria-hidden":!0,className:`inline-block text-[14px] leading-none transition-transform ${d?"rotate-90":""}`,children:"▸"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:169,columnNumber:9},this),n,!r&&a&&A.jsxDEV("span",{className:"ml-1 normal-case tracking-normal italic",children:["— ",a]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:177,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:164,columnNumber:7},this),d&&r&&A.jsxDEV("div",{className:"mt-2",children:u},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:180,columnNumber:27},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:163,columnNumber:5},this)}function Hj({pr:n,meta:r,jira:a,ai:s,onBegin:u,chunkCount:d}){return A.jsxDEV("div",{className:"flex h-full min-h-0 flex-col",children:[A.jsxDEV("div",{className:"thin-scroll min-h-0 flex-1 overflow-auto",children:A.jsxDEV("div",{className:"shell space-y-7 py-7",children:[A.jsxDEV("header",{children:[A.jsxDEV("h1",{className:"text-[20px] leading-snug font-semibold text-fg",children:r.title},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:205,columnNumber:13},this),A.jsxDEV("div",{className:"mt-1 font-mono text-[12px] text-faint",children:[A.jsxDEV("a",{href:r.url,target:"_blank",rel:"noreferrer",className:"hover:text-accent",children:[n.owner,"/",n.repo,"#",n.number]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:207,columnNumber:15},this),A.jsxDEV("span",{className:"text-edge-strong",children:" · "},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:210,columnNumber:15},this),r.author," · ",r.base_ref," ← ",r.head_ref,r.is_draft&&A.jsxDEV("span",{className:"ml-2 text-accent",children:"draft"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:212,columnNumber:33},this),A.jsxDEV("span",{className:"text-edge-strong",children:" · "},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:213,columnNumber:15},this),d," chunks"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:206,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:204,columnNumber:11},this),A.jsxDEV(Oj,{ai:s},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:218,columnNumber:11},this),A.jsxDEV(pT,{label:"GH PR description",enabled:r.body.trim().length>0,emptyHint:"none",children:A.jsxDEV("div",{className:"rounded-lg border border-edge bg-surface/40 p-4 text-fg/85",children:A.jsxDEV(Jh,{children:r.body},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:226,columnNumber:15},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:225,columnNumber:13},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:220,columnNumber:11},this),A.jsxDEV(pT,{label:"Jira",defaultOpen:!0,children:A.jsxDEV(_j,{jira:a},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:231,columnNumber:13},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:230,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:203,columnNumber:9},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:202,columnNumber:7},this),A.jsxDEV("footer",{className:"shrink-0 border-t border-edge bg-surface",children:A.jsxDEV("div",{className:"shell flex items-center justify-between py-3",children:[A.jsxDEV("span",{className:"font-sans text-[12px] text-faint",children:["Review ",d," chunks one at a time."]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:238,columnNumber:11},this),A.jsxDEV("button",{onClick:u,className:"rounded-md bg-accent px-4 py-1.5 text-[12.5px] font-semibold text-bg transition hover:brightness-110",children:"Begin review →"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:241,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:237,columnNumber:9},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:236,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/OverviewView.tsx",lineNumber:201,columnNumber:5},this)}function Cs({children:n}){return A.jsxDEV("kbd",{className:"ml-1.5 rounded border border-edge-strong bg-bg px-1 py-px font-mono text-[10px] text-faint",children:n},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:6,columnNumber:5},this)}function zj({draft:n,onDraft:r,anchor:a,onClearAnchor:s,flagged:u,viewed:d,textareaRef:c,canPrev:h,canNext:p,onComment:b,onFlag:y,onAskAi:g,onMarkViewed:v,onMarkUnread:w,onNext:V,onPrev:D,isMac:C}){const k=C?"⌘":"Ctrl+",j=n.trim().length>0;return A.jsxDEV("footer",{className:"shrink-0 border-t border-edge bg-surface",children:A.jsxDEV("div",{className:"shell py-3",children:[A.jsxDEV("div",{className:"mb-1.5 flex items-center gap-2 text-[11px]",children:a?A.jsxDEV(A.Fragment,{children:[A.jsxDEV("span",{className:"rounded bg-accent/15 px-1.5 py-0.5 font-mono text-accent",children:["line ",a.line," · ",a.side]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:57,columnNumber:15},this),A.jsxDEV("button",{onClick:s,className:"text-faint transition hover:text-fg",children:"clear"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:60,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:56,columnNumber:13},this):A.jsxDEV("span",{className:"text-faint",children:"commenting on the whole chunk — click a line to anchor"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:68,columnNumber:13},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:54,columnNumber:9},this),A.jsxDEV("textarea",{ref:c,value:n,onChange:U=>r(U.target.value),onKeyDown:U=>{(U.metaKey||U.ctrlKey)&&U.key==="Enter"&&j&&b()},placeholder:a?`Comment on line ${a.line}… (${k}↵)`:`Comment on this chunk… (${k}↵)`,rows:2,className:"thin-scroll w-full resize-none rounded-md border border-edge bg-bg px-3 py-2 font-sans text-[13.5px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:71,columnNumber:9},this),A.jsxDEV("div",{className:"mt-2.5 flex items-center justify-between gap-3",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("button",{onClick:b,disabled:!j,className:"rounded-md bg-accent px-3.5 py-1.5 text-[12.5px] font-semibold text-bg transition enabled:hover:brightness-110 disabled:cursor-not-allowed disabled:opacity-35",children:["Comment",A.jsxDEV(Cs,{children:[k,"↵"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:92,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:86,columnNumber:13},this),A.jsxDEV("button",{onClick:y,className:`rounded-md border px-3 py-1.5 text-[12.5px] font-medium transition ${u?"border-accent/60 bg-accent/15 text-accent":"border-edge-strong text-muted hover:border-fg/30 hover:text-fg"}`,children:[u?"Flagged":"Flag",A.jsxDEV(Cs,{children:"f"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:103,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:94,columnNumber:13},this),A.jsxDEV("button",{onClick:g,title:"Streams from Claude — wired in slice 3",className:"rounded-md border border-edge-strong px-3 py-1.5 text-[12.5px] font-medium text-muted transition hover:border-fg/30 hover:text-fg",children:["✦ Ask Claude",A.jsxDEV(Cs,{children:"a"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:111,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:105,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:85,columnNumber:11},this),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("button",{onClick:D,disabled:!h,className:"rounded-md px-2.5 py-1.5 text-[12.5px] text-muted transition enabled:hover:text-fg disabled:opacity-30",children:["Prev",A.jsxDEV(Cs,{children:"←"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:122,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:116,columnNumber:13},this),A.jsxDEV("button",{onClick:V,disabled:!p,className:"rounded-md px-2.5 py-1.5 text-[12.5px] text-muted transition enabled:hover:text-fg disabled:opacity-30",children:["Next",A.jsxDEV(Cs,{children:"→"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:130,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:124,columnNumber:13},this),A.jsxDEV("span",{className:"mx-1 h-5 w-px bg-edge"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:132,columnNumber:13},this),d&&A.jsxDEV("button",{onClick:w,className:"rounded-md px-3 py-1.5 text-[12.5px] font-medium text-emerald-300/80 transition hover:text-emerald-200",children:["Mark unread",A.jsxDEV(Cs,{children:"esc"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:140,columnNumber:17},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:135,columnNumber:15},this),A.jsxDEV("button",{onClick:v,className:"rounded-md border border-edge-strong px-3 py-1.5 text-[12.5px] font-medium text-fg transition hover:border-fg/40",children:[d?"Viewed ✓":"Mark viewed",A.jsxDEV(Cs,{children:"↵"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:148,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:143,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:114,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:84,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:53,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/ResponseBar.tsx",lineNumber:52,columnNumber:5},this)}function Lj({keys:n,label:r}){return A.jsxDEV("div",{className:"flex items-center justify-between gap-6 py-1",children:[A.jsxDEV("span",{className:"text-[13px] text-fg/85",children:r},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:9,columnNumber:7},this),A.jsxDEV("span",{className:"flex shrink-0 items-center gap-1",children:n.map((a,s)=>A.jsxDEV("kbd",{className:"rounded border border-edge-strong bg-bg px-1.5 py-0.5 font-mono text-[11px] text-muted",children:a},s,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:12,columnNumber:11},this))},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:10,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:8,columnNumber:5},this)}function Bj({open:n,onClose:r,isMac:a}){if(!n)return null;const s=a?"⌘":"Ctrl",u=[{keys:["←","→"],label:"Previous / next chunk"},{keys:[`${s}←`,`${s}→`],label:"Previous / next unread (skip viewed)"},{keys:["j","k"],label:"Next / previous (alt)"}],d=[{keys:["↵"],label:"Mark viewed & advance"},{keys:["esc"],label:"Mark unread"},{keys:["f"],label:"Flag chunk"},{keys:["c"],label:"Focus comment box"},{keys:[`${s}↵`],label:"Save comment (in box)"},{keys:["?"],label:"Toggle this help"}];return A.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-[1px]",onClick:r,children:A.jsxDEV("div",{onClick:c=>c.stopPropagation(),className:"w-[460px] rounded-xl border border-edge bg-surface p-5 shadow-2xl",children:[A.jsxDEV("div",{className:"mb-3 flex items-center justify-between",children:[A.jsxDEV("h2",{className:"text-[13px] font-semibold tracking-wide text-fg",children:"Keyboard shortcuts"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:60,columnNumber:11},this),A.jsxDEV("button",{onClick:r,className:"rounded border border-edge-strong px-1.5 py-0.5 font-mono text-[11px] text-muted transition hover:text-fg",children:"esc"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:61,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:59,columnNumber:9},this),A.jsxDEV(mT,{title:"Navigate",rows:u},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:68,columnNumber:9},this),A.jsxDEV("div",{className:"mt-3",children:A.jsxDEV(mT,{title:"Review",rows:d},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:70,columnNumber:11},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:69,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:55,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:51,columnNumber:5},this)}function mT({title:n,rows:r}){return A.jsxDEV("div",{children:[A.jsxDEV("div",{className:"mb-1 font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:n},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:80,columnNumber:7},this),A.jsxDEV("div",{className:"divide-y divide-edge/50",children:r.map((a,s)=>A.jsxDEV(Lj,{...a},s,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:85,columnNumber:11},this))},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:83,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/HelpOverlay.tsx",lineNumber:79,columnNumber:5},this)}const F1={COMMENT:{label:"Comment",hint:"Leave feedback without an explicit verdict",tone:"text-fg"},APPROVE:{label:"Approve",hint:"Sign off on the changes",tone:"text-emerald-300"},REQUEST_CHANGES:{label:"Request changes",hint:"Block until the feedback is addressed",tone:"text-orange-300"}};function Zj(n,r){return he.useMemo(()=>{const a=new Map(n.map(u=>[u.id,u.file])),s=new Map;for(const u of r){const d=a.get(u.chunk_id)??"(unknown)";s.set(d,(s.get(d)??0)+1)}return[...s.entries()].sort((u,d)=>u[0].localeCompare(d[0]))},[n,r])}function jj({open:n,onClose:r,chunks:a,state:s,onSubmitted:u}){const[d,c]=he.useState("COMMENT"),[h,p]=he.useState(""),[b,y]=he.useState("edit"),[g,v]=he.useState(null),[w,V]=he.useState(null),[D,C]=he.useState(),k=Zj(a,s.comments),j=s.comments.length;if(!n)return null;const U=async()=>{y("sending"),v(null),V(null);try{const Y=await l6(d,h.trim());Y.ok?(C(Y.html_url),y("done"),u(Y.state)):Y.stale?(V(Y.stale),y("edit")):(v(Y.error??"Submission failed"),y("edit"))}catch(Y){v(Y instanceof Error?Y.message:String(Y)),y("edit")}},Q=b==="sending";return A.jsxDEV("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4 backdrop-blur-[1px]",onClick:Q?void 0:r,children:A.jsxDEV("div",{onClick:Y=>Y.stopPropagation(),className:"flex max-h-[85vh] w-[520px] flex-col rounded-xl border border-edge bg-surface shadow-2xl",children:[A.jsxDEV("div",{className:"flex items-center justify-between border-b border-edge px-5 py-3",children:[A.jsxDEV("h2",{className:"text-[13px] font-semibold tracking-wide text-fg",children:b==="done"?"Review submitted":"Submit review"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:99,columnNumber:11},this),A.jsxDEV("button",{onClick:r,disabled:Q,className:"rounded border border-edge-strong px-1.5 py-0.5 font-mono text-[11px] text-muted transition hover:text-fg disabled:opacity-40",children:"esc"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:102,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:98,columnNumber:9},this),b==="done"?A.jsxDEV("div",{className:"px-5 py-6 text-center",children:[A.jsxDEV("div",{className:"mb-2 text-[28px]","aria-hidden":!0,children:"✓"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:113,columnNumber:13},this),A.jsxDEV("p",{className:"font-sans text-[14px] text-fg",children:["Posted as ",A.jsxDEV("span",{className:"font-semibold",children:F1[d].label},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:117,columnNumber:25},this),j>0&&` with ${j} inline comment${j===1?"":"s"}`,"."]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:116,columnNumber:13},this),D&&A.jsxDEV("a",{href:D,target:"_blank",rel:"noreferrer",className:"mt-3 inline-block rounded-md bg-accent px-4 py-1.5 text-[12.5px] font-semibold text-bg transition hover:brightness-110",children:"View on GitHub →"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:121,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:112,columnNumber:11},this):A.jsxDEV("div",{className:"thin-scroll min-h-0 flex-1 overflow-auto px-5 py-4",children:[A.jsxDEV("div",{className:"space-y-1.5",children:i6.map(Y=>{const F=F1[Y],fe=d===Y;return A.jsxDEV("button",{onClick:()=>c(Y),className:`flex w-full items-center gap-3 rounded-md border px-3 py-2 text-left transition ${fe?"border-accent bg-accent/[0.07]":"border-edge hover:border-edge-strong"}`,children:[A.jsxDEV("span",{className:`grid h-3.5 w-3.5 shrink-0 place-items-center rounded-full border ${fe?"border-accent":"border-edge-strong"}`,children:fe&&A.jsxDEV("span",{className:"h-1.5 w-1.5 rounded-full bg-accent"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:151,columnNumber:30},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:146,columnNumber:21},this),A.jsxDEV("span",{className:"min-w-0",children:[A.jsxDEV("span",{className:`block text-[13px] font-medium ${F.tone}`,children:F.label},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:154,columnNumber:23},this),A.jsxDEV("span",{className:"block font-sans text-[11.5px] text-faint",children:F.hint},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:155,columnNumber:23},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:153,columnNumber:21},this)]},Y,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:139,columnNumber:19},this)})},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:134,columnNumber:13},this),A.jsxDEV("div",{className:"mt-4",children:[A.jsxDEV("label",{className:"mb-1 block font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:["Summary ",d==="COMMENT"&&A.jsxDEV("span",{className:"normal-case",children:"(recommended)"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:165,columnNumber:51},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:164,columnNumber:15},this),A.jsxDEV("textarea",{value:h,onChange:Y=>p(Y.target.value),rows:4,placeholder:"Overall review comment…",className:"w-full resize-y rounded-md border border-edge bg-bg px-3 py-2 font-sans text-[13px] text-fg placeholder:text-faint focus:border-accent/60 focus:outline-none"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:167,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:163,columnNumber:13},this),A.jsxDEV("div",{className:"mt-4",children:[A.jsxDEV("div",{className:"mb-1.5 font-sans text-[10px] font-semibold tracking-[0.18em] text-faint uppercase",children:["Inline comments · ",j]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:178,columnNumber:15},this),j===0?A.jsxDEV("p",{className:"font-sans text-[12.5px] text-faint italic",children:"No drafted comments — only the summary will be posted."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:182,columnNumber:17},this):A.jsxDEV("ul",{className:"space-y-0.5",children:k.map(([Y,F])=>A.jsxDEV("li",{className:"flex items-center justify-between gap-3 font-mono text-[12px]",children:[A.jsxDEV("span",{className:"truncate text-fg/80",children:Y},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:192,columnNumber:23},this),A.jsxDEV("span",{className:"shrink-0 text-faint",children:F},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:193,columnNumber:23},this)]},Y,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:188,columnNumber:21},this))},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:186,columnNumber:17},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:177,columnNumber:13},this),w&&A.jsxDEV("div",{className:"mt-4 rounded-md border border-orange-400/40 bg-orange-400/[0.08] px-3 py-2 font-sans text-[12.5px] text-orange-200",children:[A.jsxDEV("div",{className:"font-semibold",children:"The PR moved since you started."},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:202,columnNumber:17},this),A.jsxDEV("p",{className:"mt-0.5 text-orange-200/80",children:["Your ",w.inline_count," inline comment",w.inline_count===1?"":"s"," anchor to"," ",A.jsxDEV("code",{className:"font-mono",children:w.old.slice(0,7)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:205,columnNumber:19},this),", but HEAD is now"," ",A.jsxDEV("code",{className:"font-mono",children:w.new_head.slice(0,7)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:206,columnNumber:19},this),". Re-fetch the PR to re-anchor before submitting inline comments."]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:203,columnNumber:17},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:201,columnNumber:15},this),g&&A.jsxDEV(zs,{className:"mt-4 text-[12.5px] py-2",children:g},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:213,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:132,columnNumber:11},this),b!=="done"&&A.jsxDEV("div",{className:"flex items-center justify-between border-t border-edge px-5 py-3",children:[A.jsxDEV("span",{className:"font-sans text-[12px] text-faint",children:[j," comment",j===1?"":"s"," · ",a.length," chunks"]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:220,columnNumber:13},this),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("button",{onClick:r,disabled:Q,className:"rounded-md border border-edge-strong px-3 py-1.5 text-[12.5px] text-muted transition hover:text-fg disabled:opacity-40",children:"Cancel"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:224,columnNumber:15},this),A.jsxDEV("button",{onClick:()=>void U(),disabled:Q,className:"rounded-md bg-accent px-4 py-1.5 text-[12.5px] font-semibold text-bg transition hover:brightness-110 disabled:opacity-50",children:Q?"Submitting…":`Submit as ${F1[d].label}`},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:231,columnNumber:15},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:223,columnNumber:13},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:219,columnNumber:11},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:94,columnNumber:7},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/components/SubmitModal.tsx",lineNumber:90,columnNumber:5},this)}const Uj={enter:n=>({opacity:0,x:n*28}),center:{opacity:1,x:0},exit:n=>({opacity:0,x:n*-28})},q1=/mac|iphone|ipad/i.test(navigator.userAgent);function Ij(){const[n,r]=he.useState(null),[a,s]=he.useState(null),[u,d]=he.useState(!1),[c,h]=he.useState(null),[p,b]=he.useState(-1),[y,g]=he.useState(1),[v,w]=he.useState({}),[V,D]=he.useState(null),[C,k]=he.useState(!1),[j,U]=he.useState(!1),[Q,Y]=he.useState(!1),[F,fe]=he.useState(null),[ie,X]=he.useState(null),R=he.useRef(null),xe=he.useRef(null),de=he.useRef(null);he.useEffect(()=>{Promise.all([r6(),a6()]).then(([De,Oe])=>{if(r(De),s(Oe),d(!0),De){const tt=Number(new URLSearchParams(window.location.search).get("i"));Number.isInteger(tt)&&tt>=1&&tt<=De.chunks.length&&b(tt-1)}}).catch(De=>h(De instanceof Error?De.message:String(De)))},[]);const ae=(n==null?void 0:n.chunks.length)??0,ee=p>=0?n==null?void 0:n.chunks[p]:void 0,ue=p<0?hM:ee==null?void 0:ee.id;he.useEffect(()=>{D(null),X(null)},[ue]);const W=he.useCallback(async De=>{const Oe=await s6(De);s(Oe)},[]),ve=he.useCallback(De=>{if(!ae)return;const Oe=Math.max(-1,Math.min(ae-1,De));g(Oe>=p?1:-1),b(Oe)},[p,ae]),le=he.useCallback(De=>ve(p+De),[p,ve]),Ve=he.useCallback(De=>{if(!n||!a)return;const Oe=n.chunks;for(let tt=p+De;tt>=0&&tt<Oe.length;tt+=De)if(!a.viewed.includes(Oe[tt].id))return ve(tt)},[n,a,p,ve]),H=he.useCallback(()=>{ee&&(W({type:"set_viewed",chunk_id:ee.id,viewed:!0}),p<ae-1&&le(1))},[ee,W,le,p,ae]),z=he.useCallback(()=>{ee&&W({type:"toggle_flag",chunk_id:ee.id})},[ee,W]),pe=he.useCallback(()=>{ee&&W({type:"set_viewed",chunk_id:ee.id,viewed:!1})},[ee,W]),O=he.useCallback(()=>{if(!ee)return;const De=(v[ee.id]??"").trim();De&&(W({type:"add_comment",chunk_id:ee.id,side:(V==null?void 0:V.side)??null,line:(V==null?void 0:V.line)??null,body:De}),w(Oe=>({...Oe,[ee.id]:""})),D(null))},[V,ee,W,v]),Me=he.useCallback(De=>{var Oe;D(tt=>(tt==null?void 0:tt.side)===De.side&&(tt==null?void 0:tt.line)===De.line?null:De),(Oe=R.current)==null||Oe.focus()},[]),vt=he.useCallback(De=>{if(!ue||F)return;X(null);const Oe=De.trim()?"investigation":"initial";fe({chunkId:ue,kind:Oe,text:""}),de.current=u6({chunkId:ue,question:De},{onDelta:tt=>fe(it=>it&&{...it,text:it.text+tt}),onDone:tt=>{de.current=null,s(tt),fe(null)},onError:tt=>{de.current=null,X(tt),fe(null)}})},[ue,F]);he.useEffect(()=>{function De(Oe){var Qt,Ai,dr;const tt=(Qt=Oe.target)==null?void 0:Qt.tagName;if(tt==="TEXTAREA"||tt==="INPUT")return;const it=q1?Oe.metaKey:Oe.ctrlKey;if(j){Oe.key==="Escape"&&U(!1);return}if(Q){Oe.key==="Escape"&&Y(!1);return}if(Oe.key==="?"){Oe.preventDefault(),k(Re=>!Re);return}if(C){Oe.key==="Escape"&&k(!1);return}if(Oe.key==="ArrowRight")Oe.preventDefault(),it?Ve(1):le(1);else if(Oe.key==="ArrowLeft")Oe.preventDefault(),it?Ve(-1):le(-1);else if(Oe.key==="Enter"){if(tt==="BUTTON")return;Oe.preventDefault(),p<0?le(1):H()}else Oe.key==="Escape"?pe():Oe.key==="n"||Oe.key==="j"?le(1):Oe.key==="p"||Oe.key==="k"?le(-1):Oe.key==="f"?z():Oe.key==="c"?(Oe.preventDefault(),(Ai=R.current)==null||Ai.focus()):Oe.key==="a"&&(Oe.preventDefault(),(dr=xe.current)==null||dr.focus())}return window.addEventListener("keydown",De),()=>window.removeEventListener("keydown",De)},[le,Ve,z,H,pe,C,j,Q,p]);const cn=he.useMemo(()=>[...new Set(((a==null?void 0:a.comments)??[]).map(De=>De.chunk_id))],[a]);if(c)return A.jsxDEV("div",{className:"flex h-full items-center justify-center bg-bg font-mono text-[var(--del-fg)]",children:["Error: ",c]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:255,columnNumber:7},this);if(!n||!a)return u?A.jsxDEV(h6,{onOpened:(De,Oe)=>{r(De),s(Oe)}},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:263,columnNumber:9},this):A.jsxDEV("div",{className:"flex h-full flex-col items-center justify-center gap-5 bg-bg",children:[A.jsxDEV(ay,{className:"h-20 w-auto text-fg/80"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:273,columnNumber:9},this),A.jsxDEV("span",{className:"font-mono text-[12px] text-muted",children:["Loading",A.jsxDEV("span",{className:"animate-pulse",children:"…"},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:275,columnNumber:18},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:274,columnNumber:9},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:272,columnNumber:7},this);const $e=ee?a.comments.filter(De=>De.chunk_id===ee.id):[],nt=ee?a.flagged.includes(ee.id):!1,Gt=ee?a.viewed.includes(ee.id):!1,Rt=De=>a.notes.filter(Oe=>Oe.chunk_id===De).map(Oe=>({id:Oe.id,kind:Oe.kind,prompt:Oe.prompt,body:Oe.body,suggested_action:Oe.suggested_action})),An={notes:ee?[...(ee.ai_notes??[]).map(De=>({kind:De.kind,prompt:De.prompt,body:De.body,suggested_action:De.suggested_action})),...Rt(ee.id)]:Rt(hM),streaming:(F==null?void 0:F.chunkId)===ue?F:null,busy:(F==null?void 0:F.chunkId)===ue,error:ie,askRef:xe,onAsk:vt,onDeleteNote:De=>void W({type:"delete_note",id:De})};return A.jsxDEV("div",{className:"flex h-full flex-col bg-bg text-fg",children:[A.jsxDEV(p6,{pr:n.pr,meta:n.meta,chunks:n.chunks,index:p,viewed:a.viewed,flagged:a.flagged,commented:cn,commentCount:a.comments.length,submitted:!!a.submitted,onJump:ve,onOpenHelp:()=>k(!0),onOpenReviews:()=>Y(!0),onSubmit:()=>U(!0)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:322,columnNumber:7},this),A.jsxDEV("main",{className:"relative min-h-0 flex-1 overflow-hidden",children:A.jsxDEV(Y3,{initial:!1,custom:y,children:A.jsxDEV(n6.div,{custom:y,variants:Uj,initial:"enter",animate:"center",exit:"exit",transition:{duration:.18,ease:"easeOut"},className:"absolute inset-0",children:ee?A.jsxDEV(nz,{chunk:ee,flagged:nt,comments:$e,anchor:V,onSelectLine:Me,onDeleteComment:De=>void W({type:"delete_comment",id:De}),ai:An},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:351,columnNumber:15},this):A.jsxDEV(Hj,{pr:n.pr,meta:n.meta,jira:n.overview.jira,ai:An,onBegin:()=>ve(0),chunkCount:ae},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:363,columnNumber:15},this)},ue,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:340,columnNumber:11},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:339,columnNumber:9},this)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:338,columnNumber:7},this),ee&&A.jsxDEV(zj,{draft:v[ee.id]??"",onDraft:De=>w(Oe=>({...Oe,[ee.id]:De})),anchor:V,onClearAnchor:()=>D(null),flagged:nt,viewed:Gt,textareaRef:R,canPrev:p>-1,canNext:p<ae-1,onComment:O,onFlag:z,onAskAi:()=>{var De;return(De=xe.current)==null?void 0:De.focus()},onMarkViewed:H,onMarkUnread:pe,onNext:()=>le(1),onPrev:()=>le(-1),isMac:q1},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:377,columnNumber:9},this),A.jsxDEV(Bj,{open:C,onClose:()=>k(!1),isMac:q1},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:398,columnNumber:7},this),A.jsxDEV(d6,{open:Q,currentPr:n.pr,onClose:()=>Y(!1),onSwitched:(De,Oe)=>{var tt;(tt=de.current)==null||tt.call(de),de.current=null,r(De),s(Oe),b(-1),g(1),w({}),D(null),fe(null),X(null)},onCleared:()=>{var De;(De=de.current)==null||De.call(de),de.current=null,r(null),s(null),Y(!1),fe(null),X(null)}},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:403,columnNumber:7},this),A.jsxDEV(jj,{open:j,onClose:()=>U(!1),chunks:n.chunks,state:a,onSubmitted:s},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:429,columnNumber:7},this)]},void 0,!0,{fileName:"/private/tmp/assisted-review-fix/web/src/App.tsx",lineNumber:321,columnNumber:5},this)}t_.createRoot(document.getElementById("root")).render(A.jsxDEV(he.StrictMode,{children:A.jsxDEV(Ij,{},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/main.tsx",lineNumber:15,columnNumber:5},void 0)},void 0,!1,{fileName:"/private/tmp/assisted-review-fix/web/src/main.tsx",lineNumber:14,columnNumber:3},void 0));
|