@eventvisor/catalog 0.0.2 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/LICENSE +21 -0
  3. package/components.json +22 -0
  4. package/dist/assets/index-B8NMB5dQ.js +24 -0
  5. package/dist/assets/index-DdncAyM-.css +1 -0
  6. package/dist/catalog.json +297 -0
  7. package/dist/img/logo-text.png +0 -0
  8. package/dist/img/logo.png +0 -0
  9. package/dist/index.html +13 -0
  10. package/index.html +12 -0
  11. package/package.json +37 -16
  12. package/public/catalog.json +297 -0
  13. package/public/img/logo-text.png +0 -0
  14. package/public/img/logo.png +0 -0
  15. package/src/blocks/alert.tsx +30 -0
  16. package/src/blocks/content.tsx +43 -0
  17. package/src/blocks/last-modified.tsx +26 -0
  18. package/src/blocks/links.tsx +42 -0
  19. package/src/blocks/markdown.tsx +10 -0
  20. package/src/blocks/navbar.tsx +46 -0
  21. package/src/blocks/page-attributes-view.tsx +127 -0
  22. package/src/blocks/page-attributes.tsx +80 -0
  23. package/src/blocks/page-destinations-view.tsx +134 -0
  24. package/src/blocks/page-destinations.tsx +80 -0
  25. package/src/blocks/page-effects-view.tsx +139 -0
  26. package/src/blocks/page-effects.tsx +80 -0
  27. package/src/blocks/page-events-view.tsx +147 -0
  28. package/src/blocks/page-events.tsx +80 -0
  29. package/src/blocks/pretty-date.tsx +52 -0
  30. package/src/blocks/properties.tsx +170 -0
  31. package/src/blocks/root.tsx +116 -0
  32. package/src/blocks/search-input.tsx +32 -0
  33. package/src/blocks/tabs.tsx +47 -0
  34. package/src/blocks/tag.tsx +13 -0
  35. package/src/contexts/index.ts +4 -0
  36. package/src/hooks/index.ts +98 -0
  37. package/src/main.tsx +13 -0
  38. package/src/styles.css +126 -0
  39. package/src/utils/index.ts +171 -0
  40. package/tsconfig.json +30 -0
  41. package/tsconfig.node.json +11 -0
  42. package/vite.config.ts +15 -0
@@ -0,0 +1,24 @@
1
+ (function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&u(d)}).observe(document,{childList:!0,subtree:!0});function r(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=r(c);fetch(c.href,f)}})();function So(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Lc={exports:{}},vi={};var Mm;function tx(){if(Mm)return vi;Mm=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(u,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var h in c)h!=="key"&&(f[h]=c[h])}else f=c;return c=f.ref,{$$typeof:n,type:u,key:d,ref:c!==void 0?c:null,props:f}}return vi.Fragment=i,vi.jsx=r,vi.jsxs=r,vi}var km;function nx(){return km||(km=1,Lc.exports=tx()),Lc.exports}var x=nx(),Bc={exports:{}},bi={},Hc={exports:{}},qc={};var Um;function lx(){return Um||(Um=1,(function(n){function i(_,J){var ae=_.length;_.push(J);e:for(;0<ae;){var Te=ae-1>>>1,v=_[Te];if(0<c(v,J))_[Te]=J,_[ae]=v,ae=Te;else break e}}function r(_){return _.length===0?null:_[0]}function u(_){if(_.length===0)return null;var J=_[0],ae=_.pop();if(ae!==J){_[0]=ae;e:for(var Te=0,v=_.length,X=v>>>1;Te<X;){var F=2*(Te+1)-1,T=_[F],ee=F+1,be=_[ee];if(0>c(T,ae))ee<v&&0>c(be,T)?(_[Te]=be,_[ee]=ae,Te=ee):(_[Te]=T,_[F]=ae,Te=F);else if(ee<v&&0>c(be,ae))_[Te]=be,_[ee]=ae,Te=ee;else break e}}return J}function c(_,J){var ae=_.sortIndex-J.sortIndex;return ae!==0?ae:_.id-J.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,h=d.now();n.unstable_now=function(){return d.now()-h}}var g=[],m=[],y=1,b=null,N=3,E=!1,U=!1,D=!1,Y=!1,M=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,G=typeof setImmediate<"u"?setImmediate:null;function se(_){for(var J=r(m);J!==null;){if(J.callback===null)u(m);else if(J.startTime<=_)u(m),J.sortIndex=J.expirationTime,i(g,J);else break;J=r(m)}}function $(_){if(D=!1,se(_),!U)if(r(g)!==null)U=!0,H||(H=!0,P());else{var J=r(m);J!==null&&te($,J.startTime-_)}}var H=!1,ue=-1,ge=5,he=-1;function ye(){return Y?!0:!(n.unstable_now()-he<ge)}function le(){if(Y=!1,H){var _=n.unstable_now();he=_;var J=!0;try{e:{U=!1,D&&(D=!1,V(ue),ue=-1),E=!0;var ae=N;try{t:{for(se(_),b=r(g);b!==null&&!(b.expirationTime>_&&ye());){var Te=b.callback;if(typeof Te=="function"){b.callback=null,N=b.priorityLevel;var v=Te(b.expirationTime<=_);if(_=n.unstable_now(),typeof v=="function"){b.callback=v,se(_),J=!0;break t}b===r(g)&&u(g),se(_)}else u(g);b=r(g)}if(b!==null)J=!0;else{var X=r(m);X!==null&&te($,X.startTime-_),J=!1}}break e}finally{b=null,N=ae,E=!1}J=void 0}}finally{J?P():H=!1}}}var P;if(typeof G=="function")P=function(){G(le)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,I=ie.port2;ie.port1.onmessage=le,P=function(){I.postMessage(null)}}else P=function(){M(le,0)};function te(_,J){ue=M(function(){_(n.unstable_now())},J)}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(_){_.callback=null},n.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return N},n.unstable_next=function(_){switch(N){case 1:case 2:case 3:var J=3;break;default:J=N}var ae=N;N=J;try{return _()}finally{N=ae}},n.unstable_requestPaint=function(){Y=!0},n.unstable_runWithPriority=function(_,J){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var ae=N;N=_;try{return J()}finally{N=ae}},n.unstable_scheduleCallback=function(_,J,ae){var Te=n.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?Te+ae:Te):ae=Te,_){case 1:var v=-1;break;case 2:v=250;break;case 5:v=1073741823;break;case 4:v=1e4;break;default:v=5e3}return v=ae+v,_={id:y++,callback:J,priorityLevel:_,startTime:ae,expirationTime:v,sortIndex:-1},ae>Te?(_.sortIndex=ae,i(m,_),r(g)===null&&_===r(m)&&(D?(V(ue),ue=-1):D=!0,te($,ae-Te))):(_.sortIndex=v,i(g,_),U||E||(U=!0,H||(H=!0,P()))),_},n.unstable_shouldYield=ye,n.unstable_wrapCallback=function(_){var J=N;return function(){var ae=N;N=J;try{return _.apply(this,arguments)}finally{N=ae}}}})(qc)),qc}var Lm;function ax(){return Lm||(Lm=1,Hc.exports=lx()),Hc.exports}var Yc={exports:{}},xe={};var Bm;function ix(){if(Bm)return xe;Bm=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.iterator;function N(v){return v===null||typeof v!="object"?null:(v=b&&v[b]||v["@@iterator"],typeof v=="function"?v:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,D={};function Y(v,X,F){this.props=v,this.context=X,this.refs=D,this.updater=F||E}Y.prototype.isReactComponent={},Y.prototype.setState=function(v,X){if(typeof v!="object"&&typeof v!="function"&&v!=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,v,X,"setState")},Y.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function M(){}M.prototype=Y.prototype;function V(v,X,F){this.props=v,this.context=X,this.refs=D,this.updater=F||E}var G=V.prototype=new M;G.constructor=V,U(G,Y.prototype),G.isPureReactComponent=!0;var se=Array.isArray,$={H:null,A:null,T:null,S:null,V:null},H=Object.prototype.hasOwnProperty;function ue(v,X,F,T,ee,be){return F=be.ref,{$$typeof:n,type:v,key:X,ref:F!==void 0?F:null,props:be}}function ge(v,X){return ue(v.type,X,void 0,void 0,void 0,v.props)}function he(v){return typeof v=="object"&&v!==null&&v.$$typeof===n}function ye(v){var X={"=":"=0",":":"=2"};return"$"+v.replace(/[=:]/g,function(F){return X[F]})}var le=/\/+/g;function P(v,X){return typeof v=="object"&&v!==null&&v.key!=null?ye(""+v.key):X.toString(36)}function ie(){}function I(v){switch(v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(ie,ie):(v.status="pending",v.then(function(X){v.status==="pending"&&(v.status="fulfilled",v.value=X)},function(X){v.status==="pending"&&(v.status="rejected",v.reason=X)})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}}throw v}function te(v,X,F,T,ee){var be=typeof v;(be==="undefined"||be==="boolean")&&(v=null);var ne=!1;if(v===null)ne=!0;else switch(be){case"bigint":case"string":case"number":ne=!0;break;case"object":switch(v.$$typeof){case n:case i:ne=!0;break;case y:return ne=v._init,te(ne(v._payload),X,F,T,ee)}}if(ne)return ee=ee(v),ne=T===""?"."+P(v,0):T,se(ee)?(F="",ne!=null&&(F=ne.replace(le,"$&/")+"/"),te(ee,X,F,"",function(ht){return ht})):ee!=null&&(he(ee)&&(ee=ge(ee,F+(ee.key==null||v&&v.key===ee.key?"":(""+ee.key).replace(le,"$&/")+"/")+ne)),X.push(ee)),1;ne=0;var Pe=T===""?".":T+":";if(se(v))for(var je=0;je<v.length;je++)T=v[je],be=Pe+P(T,je),ne+=te(T,X,F,be,ee);else if(je=N(v),typeof je=="function")for(v=je.call(v),je=0;!(T=v.next()).done;)T=T.value,be=Pe+P(T,je++),ne+=te(T,X,F,be,ee);else if(be==="object"){if(typeof v.then=="function")return te(I(v),X,F,T,ee);throw X=String(v),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(v).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return ne}function _(v,X,F){if(v==null)return v;var T=[],ee=0;return te(v,T,"","",function(be){return X.call(F,be,ee++)}),T}function J(v){if(v._status===-1){var X=v._result;X=X(),X.then(function(F){(v._status===0||v._status===-1)&&(v._status=1,v._result=F)},function(F){(v._status===0||v._status===-1)&&(v._status=2,v._result=F)}),v._status===-1&&(v._status=0,v._result=X)}if(v._status===1)return v._result.default;throw v._result}var ae=typeof reportError=="function"?reportError:function(v){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof v=="object"&&v!==null&&typeof v.message=="string"?String(v.message):String(v),error:v});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",v);return}console.error(v)};function Te(){}return xe.Children={map:_,forEach:function(v,X,F){_(v,function(){X.apply(this,arguments)},F)},count:function(v){var X=0;return _(v,function(){X++}),X},toArray:function(v){return _(v,function(X){return X})||[]},only:function(v){if(!he(v))throw Error("React.Children.only expected to receive a single React element child.");return v}},xe.Component=Y,xe.Fragment=r,xe.Profiler=c,xe.PureComponent=V,xe.StrictMode=u,xe.Suspense=g,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,xe.__COMPILER_RUNTIME={__proto__:null,c:function(v){return $.H.useMemoCache(v)}},xe.cache=function(v){return function(){return v.apply(null,arguments)}},xe.cloneElement=function(v,X,F){if(v==null)throw Error("The argument must be a React element, but you passed "+v+".");var T=U({},v.props),ee=v.key,be=void 0;if(X!=null)for(ne in X.ref!==void 0&&(be=void 0),X.key!==void 0&&(ee=""+X.key),X)!H.call(X,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&X.ref===void 0||(T[ne]=X[ne]);var ne=arguments.length-2;if(ne===1)T.children=F;else if(1<ne){for(var Pe=Array(ne),je=0;je<ne;je++)Pe[je]=arguments[je+2];T.children=Pe}return ue(v.type,ee,void 0,void 0,be,T)},xe.createContext=function(v){return v={$$typeof:d,_currentValue:v,_currentValue2:v,_threadCount:0,Provider:null,Consumer:null},v.Provider=v,v.Consumer={$$typeof:f,_context:v},v},xe.createElement=function(v,X,F){var T,ee={},be=null;if(X!=null)for(T in X.key!==void 0&&(be=""+X.key),X)H.call(X,T)&&T!=="key"&&T!=="__self"&&T!=="__source"&&(ee[T]=X[T]);var ne=arguments.length-2;if(ne===1)ee.children=F;else if(1<ne){for(var Pe=Array(ne),je=0;je<ne;je++)Pe[je]=arguments[je+2];ee.children=Pe}if(v&&v.defaultProps)for(T in ne=v.defaultProps,ne)ee[T]===void 0&&(ee[T]=ne[T]);return ue(v,be,void 0,void 0,null,ee)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(v){return{$$typeof:h,render:v}},xe.isValidElement=he,xe.lazy=function(v){return{$$typeof:y,_payload:{_status:-1,_result:v},_init:J}},xe.memo=function(v,X){return{$$typeof:m,type:v,compare:X===void 0?null:X}},xe.startTransition=function(v){var X=$.T,F={};$.T=F;try{var T=v(),ee=$.S;ee!==null&&ee(F,T),typeof T=="object"&&T!==null&&typeof T.then=="function"&&T.then(Te,ae)}catch(be){ae(be)}finally{$.T=X}},xe.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},xe.use=function(v){return $.H.use(v)},xe.useActionState=function(v,X,F){return $.H.useActionState(v,X,F)},xe.useCallback=function(v,X){return $.H.useCallback(v,X)},xe.useContext=function(v){return $.H.useContext(v)},xe.useDebugValue=function(){},xe.useDeferredValue=function(v,X){return $.H.useDeferredValue(v,X)},xe.useEffect=function(v,X,F){var T=$.H;if(typeof F=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return T.useEffect(v,X)},xe.useId=function(){return $.H.useId()},xe.useImperativeHandle=function(v,X,F){return $.H.useImperativeHandle(v,X,F)},xe.useInsertionEffect=function(v,X){return $.H.useInsertionEffect(v,X)},xe.useLayoutEffect=function(v,X){return $.H.useLayoutEffect(v,X)},xe.useMemo=function(v,X){return $.H.useMemo(v,X)},xe.useOptimistic=function(v,X){return $.H.useOptimistic(v,X)},xe.useReducer=function(v,X,F){return $.H.useReducer(v,X,F)},xe.useRef=function(v){return $.H.useRef(v)},xe.useState=function(v){return $.H.useState(v)},xe.useSyncExternalStore=function(v,X,F){return $.H.useSyncExternalStore(v,X,F)},xe.useTransition=function(){return $.H.useTransition()},xe.version="19.1.1",xe}var Hm;function Eo(){return Hm||(Hm=1,Yc.exports=ix()),Yc.exports}var Vc={exports:{}},ft={};var qm;function rx(){if(qm)return ft;qm=1;var n=Eo();function i(g){var m="https://react.dev/errors/"+g;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var u={d:{f:r,r:function(){throw Error(i(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,m,y){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:b==null?null:""+b,children:g,containerInfo:m,implementation:y}}var d=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,ft.createPortal=function(g,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(g,m,null,y)},ft.flushSync=function(g){var m=d.T,y=u.p;try{if(d.T=null,u.p=2,g)return g()}finally{d.T=m,u.p=y,u.d.f()}},ft.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,u.d.C(g,m))},ft.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},ft.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var y=m.as,b=h(y,m.crossOrigin),N=typeof m.integrity=="string"?m.integrity:void 0,E=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?u.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:b,integrity:N,fetchPriority:E}):y==="script"&&u.d.X(g,{crossOrigin:b,integrity:N,fetchPriority:E,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ft.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=h(m.as,m.crossOrigin);u.d.M(g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&u.d.M(g)},ft.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,b=h(y,m.crossOrigin);u.d.L(g,y,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ft.preloadModule=function(g,m){if(typeof g=="string")if(m){var y=h(m.as,m.crossOrigin);u.d.m(g,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else u.d.m(g)},ft.requestFormReset=function(g){u.d.r(g)},ft.unstable_batchedUpdates=function(g,m){return g(m)},ft.useFormState=function(g,m,y){return d.H.useFormState(g,m,y)},ft.useFormStatus=function(){return d.H.useHostTransitionStatus()},ft.version="19.1.1",ft}var Ym;function ux(){if(Ym)return Vc.exports;Ym=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Vc.exports=rx(),Vc.exports}var Vm;function sx(){if(Vm)return bi;Vm=1;var n=ax(),i=Eo(),r=ux();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function d(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 h(e){if(f(e)!==e)throw Error(u(188))}function g(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var l=e,a=t;;){var s=l.return;if(s===null)break;var o=s.alternate;if(o===null){if(a=s.return,a!==null){l=a;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===l)return h(s),e;if(o===a)return h(s),t;o=o.sibling}throw Error(u(188))}if(l.return!==a.return)l=s,a=o;else{for(var p=!1,S=s.child;S;){if(S===l){p=!0,l=s,a=o;break}if(S===a){p=!0,a=s,l=o;break}S=S.sibling}if(!p){for(S=o.child;S;){if(S===l){p=!0,l=o,a=s;break}if(S===a){p=!0,a=o,l=s;break}S=S.sibling}if(!p)throw Error(u(189))}}if(l.alternate!==a)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),V=Symbol.for("react.consumer"),G=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),ye=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function P(e){return e===null||typeof e!="object"?null:(e=le&&e[le]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Symbol.for("react.client.reference");function I(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U:return"Fragment";case Y:return"Profiler";case D:return"StrictMode";case $:return"Suspense";case H:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case E:return"Portal";case G:return(e.displayName||"Context")+".Provider";case V:return(e._context.displayName||"Context")+".Consumer";case se:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ue:return t=e.displayName||null,t!==null?t:I(e.type)||"Memo";case ge:t=e._payload,e=e._init;try{return I(e(t))}catch{}}return null}var te=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},Te=[],v=-1;function X(e){return{current:e}}function F(e){0>v||(e.current=Te[v],Te[v]=null,v--)}function T(e,t){v++,Te[v]=e.current,e.current=t}var ee=X(null),be=X(null),ne=X(null),Pe=X(null);function je(e,t){switch(T(ne,t),T(be,e),T(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?sm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=sm(t),e=cm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(ee),T(ee,e)}function ht(){F(ee),F(be),F(ne)}function en(e){e.memoizedState!==null&&T(Pe,e);var t=ee.current,l=cm(t,e.type);t!==l&&(T(be,e),T(ee,l))}function hn(e){be.current===e&&(F(ee),F(be)),Pe.current===e&&(F(Pe),mi._currentValue=ae)}var va=Object.prototype.hasOwnProperty,ba=n.unstable_scheduleCallback,Sa=n.unstable_cancelCallback,Li=n.unstable_shouldYield,Bi=n.unstable_requestPaint,Nt=n.unstable_now,Eu=n.unstable_getCurrentPriorityLevel,Ea=n.unstable_ImmediatePriority,Ta=n.unstable_UserBlockingPriority,Al=n.unstable_NormalPriority,Tu=n.unstable_LowPriority,Hi=n.unstable_IdlePriority,Nu=n.log,Au=n.unstable_setDisableYieldValue,L=null,Z=null;function ce(e){if(typeof Nu=="function"&&Au(e),Z&&typeof Z.setStrictMode=="function")try{Z.setStrictMode(L,e)}catch{}}var de=Math.clz32?Math.clz32:mn,Oe=Math.log,At=Math.LN2;function mn(e){return e>>>=0,e===0?32:31-(Oe(e)/At|0)|0}var pt=256,tn=4194304;function wt(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:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function et(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var s=0,o=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var S=a&134217727;return S!==0?(a=S&~o,a!==0?s=wt(a):(p&=S,p!==0?s=wt(p):l||(l=S&~e,l!==0&&(s=wt(l))))):(S=a&~o,S!==0?s=wt(S):p!==0?s=wt(p):l||(l=a&~e,l!==0&&(s=wt(l)))),s===0?0:t!==0&&t!==s&&(t&o)===0&&(o=s&-s,l=t&-t,o>=l||o===32&&(l&4194048)!==0)?t:s}function Ut(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ft(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qo(){var e=pt;return pt<<=1,(pt&4194048)===0&&(pt=256),e}function Go(){var e=tn;return tn<<=1,(tn&62914560)===0&&(tn=4194304),e}function wu(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Na(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xg(e,t,l,a,s,o){var p=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var S=e.entanglements,A=e.expirationTimes,C=e.hiddenUpdates;for(l=p&~l;0<l;){var B=31-de(l),Q=1<<B;S[B]=0,A[B]=-1;var z=C[B];if(z!==null)for(C[B]=null,B=0;B<z.length;B++){var O=z[B];O!==null&&(O.lane&=-536870913)}l&=~Q}a!==0&&Zo(e,a,0),o!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=o&~(p&~t))}function Zo(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-de(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function Ko(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-de(l),s=1<<a;s&t|e[a]&t&&(e[a]|=t),l&=~s}}function ju(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 Ru(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Jo(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Rm(e.type))}function Qg(e,t){var l=J.p;try{return J.p=e,t()}finally{J.p=l}}var _n=Math.random().toString(36).slice(2),ct="__reactFiber$"+_n,gt="__reactProps$"+_n,wl="__reactContainer$"+_n,Cu="__reactEvents$"+_n,Gg="__reactListeners$"+_n,Zg="__reactHandles$"+_n,Fo="__reactResources$"+_n,Aa="__reactMarker$"+_n;function zu(e){delete e[ct],delete e[gt],delete e[Cu],delete e[Gg],delete e[Zg]}function jl(e){var t=e[ct];if(t)return t;for(var l=e.parentNode;l;){if(t=l[wl]||l[ct]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=hm(e);e!==null;){if(l=e[ct])return l;e=hm(e)}return t}e=l,l=e.parentNode}return null}function Rl(e){if(e=e[ct]||e[wl]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function wa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Cl(e){var t=e[Fo];return t||(t=e[Fo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[Aa]=!0}var $o=new Set,Po={};function il(e,t){zl(e,t),zl(e+"Capture",t)}function zl(e,t){for(Po[e]=t,e=0;e<t.length;e++)$o.add(t[e])}var Kg=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]*$"),Io={},Wo={};function Jg(e){return va.call(Wo,e)?!0:va.call(Io,e)?!1:Kg.test(e)?Wo[e]=!0:(Io[e]=!0,!1)}function qi(e,t,l){if(Jg(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function Yi(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function pn(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}var Ou,ef;function Ol(e){if(Ou===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Ou=t&&t[1]||"",ef=-1<l.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Ou+e+ef}var Du=!1;function _u(e,t){if(!e||Du)return"";Du=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(O){var z=O}Reflect.construct(e,[],Q)}else{try{Q.call()}catch(O){z=O}e.call(Q.prototype)}}else{try{throw Error()}catch(O){z=O}(Q=e())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(O){if(O&&z&&typeof O.stack=="string")return[O.stack,z.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=a.DetermineComponentFrameRoot(),p=o[0],S=o[1];if(p&&S){var A=p.split(`
4
+ `),C=S.split(`
5
+ `);for(s=a=0;a<A.length&&!A[a].includes("DetermineComponentFrameRoot");)a++;for(;s<C.length&&!C[s].includes("DetermineComponentFrameRoot");)s++;if(a===A.length||s===C.length)for(a=A.length-1,s=C.length-1;1<=a&&0<=s&&A[a]!==C[s];)s--;for(;1<=a&&0<=s;a--,s--)if(A[a]!==C[s]){if(a!==1||s!==1)do if(a--,s--,0>s||A[a]!==C[s]){var B=`
6
+ `+A[a].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),B}while(1<=a&&0<=s);break}}}finally{Du=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Ol(l):""}function Fg(e){switch(e.tag){case 26:case 27:case 5:return Ol(e.type);case 16:return Ol("Lazy");case 13:return Ol("Suspense");case 19:return Ol("SuspenseList");case 0:case 15:return _u(e.type,!1);case 11:return _u(e.type.render,!1);case 1:return _u(e.type,!0);case 31:return Ol("Activity");default:return""}}function tf(e){try{var t="";do t+=Fg(e),e=e.return;while(e);return t}catch(l){return`
7
+ Error generating stack: `+l.message+`
8
+ `+l.stack}}function Lt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $g(e){var t=nf(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,o=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(p){a=""+p,o.call(this,p)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(p){a=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vi(e){e._valueTracker||(e._valueTracker=$g(e))}function lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=nf(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Xi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Pg=/[\n"\\]/g;function Bt(e){return e.replace(Pg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mu(e,t,l,a,s,o,p,S){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Lt(t)):e.value!==""+Lt(t)&&(e.value=""+Lt(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?ku(e,p,Lt(t)):l!=null?ku(e,p,Lt(l)):a!=null&&e.removeAttribute("value"),s==null&&o!=null&&(e.defaultChecked=!!o),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Lt(S):e.removeAttribute("name")}function af(e,t,l,a,s,o,p,S){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.type=o),t!=null||l!=null){if(!(o!=="submit"&&o!=="reset"||t!=null))return;l=l!=null?""+Lt(l):"",t=t!=null?""+Lt(t):l,S||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=S?e.checked:!!a,e.defaultChecked=!!a,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p)}function ku(e,t,l){t==="number"&&Xi(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Dl(e,t,l,a){if(e=e.options,t){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=!0;for(l=0;l<e.length;l++)s=t.hasOwnProperty("$"+e[l].value),e[l].selected!==s&&(e[l].selected=s),s&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Lt(l),t=null,s=0;s<e.length;s++){if(e[s].value===l){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function rf(e,t,l){if(t!=null&&(t=""+Lt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Lt(l):""}function uf(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(u(92));if(te(a)){if(1<a.length)throw Error(u(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Lt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function _l(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Ig=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function sf(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||Ig.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function cf(e,t,l){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var s in t)a=t[s],t.hasOwnProperty(s)&&l[s]!==a&&sf(e,s,a)}else for(var o in t)t.hasOwnProperty(o)&&sf(e,o,t[o])}function Uu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wg=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"]]),ey=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Qi(e){return ey.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Lu=null;function Bu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ml=null,kl=null;function of(e){var t=Rl(e);if(t&&(e=t.stateNode)){var l=e[gt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mu(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Bt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var s=a[gt]||null;if(!s)throw Error(u(90));Mu(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&lf(a)}break e;case"textarea":rf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Dl(e,!!l.multiple,t,!1)}}}var Hu=!1;function ff(e,t,l){if(Hu)return e(t,l);Hu=!0;try{var a=e(t);return a}finally{if(Hu=!1,(Ml!==null||kl!==null)&&(Cr(),Ml&&(t=Ml,e=kl,kl=Ml=null,of(t),e)))for(t=0;t<e.length;t++)of(e[t])}}function ja(e,t){var l=e.stateNode;if(l===null)return null;var a=l[gt]||null;if(a===null)return null;l=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(u(231,t,typeof l));return l}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qu=!1;if(gn)try{var Ra={};Object.defineProperty(Ra,"passive",{get:function(){qu=!0}}),window.addEventListener("test",Ra,Ra),window.removeEventListener("test",Ra,Ra)}catch{qu=!1}var Mn=null,Yu=null,Gi=null;function df(){if(Gi)return Gi;var e,t=Yu,l=t.length,a,s="value"in Mn?Mn.value:Mn.textContent,o=s.length;for(e=0;e<l&&t[e]===s[e];e++);var p=l-e;for(a=1;a<=p&&t[l-a]===s[o-a];a++);return Gi=s.slice(e,1<a?1-a:void 0)}function Zi(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 Ki(){return!0}function hf(){return!1}function yt(e){function t(l,a,s,o,p){this._reactName=l,this._targetInst=s,this.type=a,this.nativeEvent=o,this.target=p,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(l=e[S],this[S]=l?l(o):o[S]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ki:hf,this.isPropagationStopped=hf,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ki)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ki)},persist:function(){},isPersistent:Ki}),t}var rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ji=yt(rl),Ca=y({},rl,{view:0,detail:0}),ty=yt(Ca),Vu,Xu,za,Fi=y({},Ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gu,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!==za&&(za&&e.type==="mousemove"?(Vu=e.screenX-za.screenX,Xu=e.screenY-za.screenY):Xu=Vu=0,za=e),Vu)},movementY:function(e){return"movementY"in e?e.movementY:Xu}}),mf=yt(Fi),ny=y({},Fi,{dataTransfer:0}),ly=yt(ny),ay=y({},Ca,{relatedTarget:0}),Qu=yt(ay),iy=y({},rl,{animationName:0,elapsedTime:0,pseudoElement:0}),ry=yt(iy),uy=y({},rl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sy=yt(uy),cy=y({},rl,{data:0}),pf=yt(cy),oy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fy={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"},dy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=dy[e])?!!t[e]:!1}function Gu(){return hy}var my=y({},Ca,{key:function(e){if(e.key){var t=oy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Zi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gu,charCode:function(e){return e.type==="keypress"?Zi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Zi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),py=yt(my),gy=y({},Fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gf=yt(gy),yy=y({},Ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gu}),xy=yt(yy),vy=y({},rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),by=yt(vy),Sy=y({},Fi,{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}),Ey=yt(Sy),Ty=y({},rl,{newState:0,oldState:0}),Ny=yt(Ty),Ay=[9,13,27,32],Zu=gn&&"CompositionEvent"in window,Oa=null;gn&&"documentMode"in document&&(Oa=document.documentMode);var wy=gn&&"TextEvent"in window&&!Oa,yf=gn&&(!Zu||Oa&&8<Oa&&11>=Oa),xf=" ",vf=!1;function bf(e,t){switch(e){case"keyup":return Ay.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ul=!1;function jy(e,t){switch(e){case"compositionend":return Sf(t);case"keypress":return t.which!==32?null:(vf=!0,xf);case"textInput":return e=t.data,e===xf&&vf?null:e;default:return null}}function Ry(e,t){if(Ul)return e==="compositionend"||!Zu&&bf(e,t)?(e=df(),Gi=Yu=Mn=null,Ul=!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 yf&&t.locale!=="ko"?null:t.data;default:return null}}var Cy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ef(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cy[e.type]:t==="textarea"}function Tf(e,t,l,a){Ml?kl?kl.push(a):kl=[a]:Ml=a,t=kr(t,"onChange"),0<t.length&&(l=new Ji("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Da=null,_a=null;function zy(e){lm(e,0)}function $i(e){var t=wa(e);if(lf(t))return e}function Nf(e,t){if(e==="change")return t}var Af=!1;if(gn){var Ku;if(gn){var Ju="oninput"in document;if(!Ju){var wf=document.createElement("div");wf.setAttribute("oninput","return;"),Ju=typeof wf.oninput=="function"}Ku=Ju}else Ku=!1;Af=Ku&&(!document.documentMode||9<document.documentMode)}function jf(){Da&&(Da.detachEvent("onpropertychange",Rf),_a=Da=null)}function Rf(e){if(e.propertyName==="value"&&$i(_a)){var t=[];Tf(t,_a,e,Bu(e)),ff(zy,t)}}function Oy(e,t,l){e==="focusin"?(jf(),Da=t,_a=l,Da.attachEvent("onpropertychange",Rf)):e==="focusout"&&jf()}function Dy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $i(_a)}function _y(e,t){if(e==="click")return $i(t)}function My(e,t){if(e==="input"||e==="change")return $i(t)}function ky(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:ky;function Ma(e,t){if(jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var s=l[a];if(!va.call(t,s)||!jt(e[s],t[s]))return!1}return!0}function Cf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zf(e,t){var l=Cf(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Cf(l)}}function Of(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Of(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Df(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Xi(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Xi(e.document)}return t}function Fu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Uy=gn&&"documentMode"in document&&11>=document.documentMode,Ll=null,$u=null,ka=null,Pu=!1;function _f(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Pu||Ll==null||Ll!==Xi(a)||(a=Ll,"selectionStart"in a&&Fu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ka&&Ma(ka,a)||(ka=a,a=kr($u,"onSelect"),0<a.length&&(t=new Ji("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Ll)))}function ul(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Bl={animationend:ul("Animation","AnimationEnd"),animationiteration:ul("Animation","AnimationIteration"),animationstart:ul("Animation","AnimationStart"),transitionrun:ul("Transition","TransitionRun"),transitionstart:ul("Transition","TransitionStart"),transitioncancel:ul("Transition","TransitionCancel"),transitionend:ul("Transition","TransitionEnd")},Iu={},Mf={};gn&&(Mf=document.createElement("div").style,"AnimationEvent"in window||(delete Bl.animationend.animation,delete Bl.animationiteration.animation,delete Bl.animationstart.animation),"TransitionEvent"in window||delete Bl.transitionend.transition);function sl(e){if(Iu[e])return Iu[e];if(!Bl[e])return e;var t=Bl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Mf)return Iu[e]=t[l];return e}var kf=sl("animationend"),Uf=sl("animationiteration"),Lf=sl("animationstart"),Ly=sl("transitionrun"),By=sl("transitionstart"),Hy=sl("transitioncancel"),Bf=sl("transitionend"),Hf=new Map,Wu="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(" ");Wu.push("scrollEnd");function $t(e,t){Hf.set(e,t),il(t,[e])}var qf=new WeakMap;function Ht(e,t){if(typeof e=="object"&&e!==null){var l=qf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:tf(t)},qf.set(e,t),t)}return{value:e,source:t,stack:tf(t)}}var qt=[],Hl=0,es=0;function Pi(){for(var e=Hl,t=es=Hl=0;t<e;){var l=qt[t];qt[t++]=null;var a=qt[t];qt[t++]=null;var s=qt[t];qt[t++]=null;var o=qt[t];if(qt[t++]=null,a!==null&&s!==null){var p=a.pending;p===null?s.next=s:(s.next=p.next,p.next=s),a.pending=s}o!==0&&Yf(l,s,o)}}function Ii(e,t,l,a){qt[Hl++]=e,qt[Hl++]=t,qt[Hl++]=l,qt[Hl++]=a,es|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function ts(e,t,l,a){return Ii(e,t,l,a),Wi(e)}function ql(e,t){return Ii(e,null,null,t),Wi(e)}function Yf(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var s=!1,o=e.return;o!==null;)o.childLanes|=l,a=o.alternate,a!==null&&(a.childLanes|=l),o.tag===22&&(e=o.stateNode,e===null||e._visibility&1||(s=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,s&&t!==null&&(s=31-de(l),e=o.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=l|536870912),o):null}function Wi(e){if(50<ri)throw ri=0,uc=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Yl={};function qy(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rt(e,t,l,a){return new qy(e,t,l,a)}function ns(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yn(e,t){var l=e.alternate;return l===null?(l=Rt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Vf(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function er(e,t,l,a,s,o){var p=0;if(a=e,typeof e=="function")ns(e)&&(p=1);else if(typeof e=="string")p=V0(e,l,ee.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case he:return e=Rt(31,l,t,s),e.elementType=he,e.lanes=o,e;case U:return cl(l.children,s,o,t);case D:p=8,s|=24;break;case Y:return e=Rt(12,l,t,s|2),e.elementType=Y,e.lanes=o,e;case $:return e=Rt(13,l,t,s),e.elementType=$,e.lanes=o,e;case H:return e=Rt(19,l,t,s),e.elementType=H,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:case G:p=10;break e;case V:p=9;break e;case se:p=11;break e;case ue:p=14;break e;case ge:p=16,a=null;break e}p=29,l=Error(u(130,e===null?"null":typeof e,"")),a=null}return t=Rt(p,l,t,s),t.elementType=e,t.type=a,t.lanes=o,t}function cl(e,t,l,a){return e=Rt(7,e,a,t),e.lanes=l,e}function ls(e,t,l){return e=Rt(6,e,null,t),e.lanes=l,e}function as(e,t,l){return t=Rt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Vl=[],Xl=0,tr=null,nr=0,Yt=[],Vt=0,ol=null,xn=1,vn="";function fl(e,t){Vl[Xl++]=nr,Vl[Xl++]=tr,tr=e,nr=t}function Xf(e,t,l){Yt[Vt++]=xn,Yt[Vt++]=vn,Yt[Vt++]=ol,ol=e;var a=xn;e=vn;var s=32-de(a)-1;a&=~(1<<s),l+=1;var o=32-de(t)+s;if(30<o){var p=s-s%5;o=(a&(1<<p)-1).toString(32),a>>=p,s-=p,xn=1<<32-de(t)+s|l<<s|a,vn=o+e}else xn=1<<o|l<<s|a,vn=e}function is(e){e.return!==null&&(fl(e,1),Xf(e,1,0))}function rs(e){for(;e===tr;)tr=Vl[--Xl],Vl[Xl]=null,nr=Vl[--Xl],Vl[Xl]=null;for(;e===ol;)ol=Yt[--Vt],Yt[Vt]=null,vn=Yt[--Vt],Yt[Vt]=null,xn=Yt[--Vt],Yt[Vt]=null}var mt=null,Qe=null,Ce=!1,dl=null,nn=!1,us=Error(u(519));function hl(e){var t=Error(u(418,""));throw Ba(Ht(t,e)),us}function Qf(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[ct]=e,t[gt]=a,l){case"dialog":Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":case"embed":Ae("load",t);break;case"video":case"audio":for(l=0;l<si.length;l++)Ae(si[l],t);break;case"source":Ae("error",t);break;case"img":case"image":case"link":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"input":Ae("invalid",t),af(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Vi(t);break;case"select":Ae("invalid",t);break;case"textarea":Ae("invalid",t),uf(t,a.value,a.defaultValue,a.children),Vi(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||um(t.textContent,l)?(a.popover!=null&&(Ae("beforetoggle",t),Ae("toggle",t)),a.onScroll!=null&&Ae("scroll",t),a.onScrollEnd!=null&&Ae("scrollend",t),a.onClick!=null&&(t.onclick=Ur),t=!0):t=!1,t||hl(e)}function Gf(e){for(mt=e.return;mt;)switch(mt.tag){case 5:case 13:nn=!1;return;case 27:case 3:nn=!0;return;default:mt=mt.return}}function Ua(e){if(e!==mt)return!1;if(!Ce)return Gf(e),Ce=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Tc(e.type,e.memoizedProps)),l=!l),l&&Qe&&hl(e),Gf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(t===0){Qe=It(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}Qe=null}}else t===27?(t=Qe,$n(e.type)?(e=jc,jc=null,Qe=e):Qe=t):Qe=mt?It(e.stateNode.nextSibling):null;return!0}function La(){Qe=mt=null,Ce=!1}function Zf(){var e=dl;return e!==null&&(bt===null?bt=e:bt.push.apply(bt,e),dl=null),e}function Ba(e){dl===null?dl=[e]:dl.push(e)}var ss=X(null),ml=null,bn=null;function kn(e,t,l){T(ss,t._currentValue),t._currentValue=l}function Sn(e){e._currentValue=ss.current,F(ss)}function cs(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function os(e,t,l,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var o=s.dependencies;if(o!==null){var p=s.child;o=o.firstContext;e:for(;o!==null;){var S=o;o=s;for(var A=0;A<t.length;A++)if(S.context===t[A]){o.lanes|=l,S=o.alternate,S!==null&&(S.lanes|=l),cs(o.return,l,e),a||(p=null);break e}o=S.next}}else if(s.tag===18){if(p=s.return,p===null)throw Error(u(341));p.lanes|=l,o=p.alternate,o!==null&&(o.lanes|=l),cs(p,l,e),p=null}else p=s.child;if(p!==null)p.return=s;else for(p=s;p!==null;){if(p===e){p=null;break}if(s=p.sibling,s!==null){s.return=p.return,p=s;break}p=p.return}s=p}}function Ha(e,t,l,a){e=null;for(var s=t,o=!1;s!==null;){if(!o){if((s.flags&524288)!==0)o=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var p=s.alternate;if(p===null)throw Error(u(387));if(p=p.memoizedProps,p!==null){var S=s.type;jt(s.pendingProps.value,p.value)||(e!==null?e.push(S):e=[S])}}else if(s===Pe.current){if(p=s.alternate,p===null)throw Error(u(387));p.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(mi):e=[mi])}s=s.return}e!==null&&os(t,e,l,a),t.flags|=262144}function lr(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function pl(e){ml=e,bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ot(e){return Kf(ml,e)}function ar(e,t){return ml===null&&pl(e),Kf(e,t)}function Kf(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},bn===null){if(e===null)throw Error(u(308));bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else bn=bn.next=t;return l}var Yy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Vy=n.unstable_scheduleCallback,Xy=n.unstable_NormalPriority,Ie={$$typeof:G,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function fs(){return{controller:new Yy,data:new Map,refCount:0}}function qa(e){e.refCount--,e.refCount===0&&Vy(Xy,function(){e.controller.abort()})}var Ya=null,ds=0,Ql=0,Gl=null;function Qy(e,t){if(Ya===null){var l=Ya=[];ds=0,Ql=mc(),Gl={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ds++,t.then(Jf,Jf),t}function Jf(){if(--ds===0&&Ya!==null){Gl!==null&&(Gl.status="fulfilled");var e=Ya;Ya=null,Ql=0,Gl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Gy(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(s){l.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<l.length;s++)(0,l[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<l.length;s++)(0,l[s])(void 0)}),a}var Ff=_.S;_.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Qy(e,t),Ff!==null&&Ff(e,t)};var gl=X(null);function hs(){var e=gl.current;return e!==null?e:Be.pooledCache}function ir(e,t){t===null?T(gl,gl.current):T(gl,t.pool)}function $f(){var e=hs();return e===null?null:{parent:Ie._currentValue,pool:e}}var Va=Error(u(460)),Pf=Error(u(474)),rr=Error(u(542)),ms={then:function(){}};function If(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ur(){}function Wf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(ur,ur),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,td(e),e;default:if(typeof t.status=="string")t.then(ur,ur);else{if(e=Be,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=a}},function(a){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,td(e),e}throw Xa=t,Va}}var Xa=null;function ed(){if(Xa===null)throw Error(u(459));var e=Xa;return Xa=null,e}function td(e){if(e===Va||e===rr)throw Error(u(483))}var Un=!1;function ps(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gs(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 Ln(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Bn(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(De&2)!==0){var s=a.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=Wi(e),Yf(e,null,l),t}return Ii(e,a,t,l),Wi(e)}function Qa(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ko(e,l)}}function ys(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var s=null,o=null;if(l=l.firstBaseUpdate,l!==null){do{var p={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};o===null?s=o=p:o=o.next=p,l=l.next}while(l!==null);o===null?s=o=t:o=o.next=t}else s=o=t;l={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var xs=!1;function Ga(){if(xs){var e=Gl;if(e!==null)throw e}}function Za(e,t,l,a){xs=!1;var s=e.updateQueue;Un=!1;var o=s.firstBaseUpdate,p=s.lastBaseUpdate,S=s.shared.pending;if(S!==null){s.shared.pending=null;var A=S,C=A.next;A.next=null,p===null?o=C:p.next=C,p=A;var B=e.alternate;B!==null&&(B=B.updateQueue,S=B.lastBaseUpdate,S!==p&&(S===null?B.firstBaseUpdate=C:S.next=C,B.lastBaseUpdate=A))}if(o!==null){var Q=s.baseState;p=0,B=C=A=null,S=o;do{var z=S.lane&-536870913,O=z!==S.lane;if(O?(we&z)===z:(a&z)===z){z!==0&&z===Ql&&(xs=!0),B!==null&&(B=B.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var me=e,oe=S;z=t;var Ue=l;switch(oe.tag){case 1:if(me=oe.payload,typeof me=="function"){Q=me.call(Ue,Q,z);break e}Q=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=oe.payload,z=typeof me=="function"?me.call(Ue,Q,z):me,z==null)break e;Q=y({},Q,z);break e;case 2:Un=!0}}z=S.callback,z!==null&&(e.flags|=64,O&&(e.flags|=8192),O=s.callbacks,O===null?s.callbacks=[z]:O.push(z))}else O={lane:z,tag:S.tag,payload:S.payload,callback:S.callback,next:null},B===null?(C=B=O,A=Q):B=B.next=O,p|=z;if(S=S.next,S===null){if(S=s.shared.pending,S===null)break;O=S,S=O.next,O.next=null,s.lastBaseUpdate=O,s.shared.pending=null}}while(!0);B===null&&(A=Q),s.baseState=A,s.firstBaseUpdate=C,s.lastBaseUpdate=B,o===null&&(s.shared.lanes=0),Zn|=p,e.lanes=p,e.memoizedState=Q}}function nd(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function ld(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)nd(l[e],t)}var Zl=X(null),sr=X(0);function ad(e,t){e=Rn,T(sr,e),T(Zl,t),Rn=e|t.baseLanes}function vs(){T(sr,Rn),T(Zl,Zl.current)}function bs(){Rn=sr.current,F(Zl),F(sr)}var Hn=0,Se=null,Me=null,Je=null,cr=!1,Kl=!1,yl=!1,or=0,Ka=0,Jl=null,Zy=0;function Ze(){throw Error(u(321))}function Ss(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!jt(e[l],t[l]))return!1;return!0}function Es(e,t,l,a,s,o){return Hn=o,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=e===null||e.memoizedState===null?Yd:Vd,yl=!1,o=l(a,s),yl=!1,Kl&&(o=rd(t,l,a,s)),id(e),o}function id(e){_.H=gr;var t=Me!==null&&Me.next!==null;if(Hn=0,Je=Me=Se=null,cr=!1,Ka=0,Jl=null,t)throw Error(u(300));e===null||nt||(e=e.dependencies,e!==null&&lr(e)&&(nt=!0))}function rd(e,t,l,a){Se=e;var s=0;do{if(Kl&&(Jl=null),Ka=0,Kl=!1,25<=s)throw Error(u(301));if(s+=1,Je=Me=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}_.H=Wy,o=t(l,a)}while(Kl);return o}function Ky(){var e=_.H,t=e.useState()[0];return t=typeof t.then=="function"?Ja(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(Se.flags|=1024),t}function Ts(){var e=or!==0;return or=0,e}function Ns(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function As(e){if(cr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}cr=!1}Hn=0,Je=Me=Se=null,Kl=!1,Ka=or=0,Jl=null}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?Se.memoizedState=Je=e:Je=Je.next=e,Je}function Fe(){if(Me===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Je===null?Se.memoizedState:Je.next;if(t!==null)Je=t,Me=e;else{if(e===null)throw Se.alternate===null?Error(u(467)):Error(u(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Je===null?Se.memoizedState=Je=e:Je=Je.next=e}return Je}function ws(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ja(e){var t=Ka;return Ka+=1,Jl===null&&(Jl=[]),e=Wf(Jl,e,t),t=Se,(Je===null?t.memoizedState:Je.next)===null&&(t=t.alternate,_.H=t===null||t.memoizedState===null?Yd:Vd),e}function fr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ja(e);if(e.$$typeof===G)return ot(e)}throw Error(u(438,String(e)))}function js(e){var t=null,l=Se.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=Se.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=ws(),Se.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=ye;return t.index++,l}function En(e,t){return typeof t=="function"?t(e):t}function dr(e){var t=Fe();return Rs(t,Me,e)}function Rs(e,t,l){var a=e.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=l;var s=e.baseQueue,o=a.pending;if(o!==null){if(s!==null){var p=s.next;s.next=o.next,o.next=p}t.baseQueue=s=o,a.pending=null}if(o=e.baseState,s===null)e.memoizedState=o;else{t=s.next;var S=p=null,A=null,C=t,B=!1;do{var Q=C.lane&-536870913;if(Q!==C.lane?(we&Q)===Q:(Hn&Q)===Q){var z=C.revertLane;if(z===0)A!==null&&(A=A.next={lane:0,revertLane:0,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),Q===Ql&&(B=!0);else if((Hn&z)===z){C=C.next,z===Ql&&(B=!0);continue}else Q={lane:0,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},A===null?(S=A=Q,p=o):A=A.next=Q,Se.lanes|=z,Zn|=z;Q=C.action,yl&&l(o,Q),o=C.hasEagerState?C.eagerState:l(o,Q)}else z={lane:Q,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},A===null?(S=A=z,p=o):A=A.next=z,Se.lanes|=Q,Zn|=Q;C=C.next}while(C!==null&&C!==t);if(A===null?p=o:A.next=S,!jt(o,e.memoizedState)&&(nt=!0,B&&(l=Gl,l!==null)))throw l;e.memoizedState=o,e.baseState=p,e.baseQueue=A,a.lastRenderedState=o}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Cs(e){var t=Fe(),l=t.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=e;var a=l.dispatch,s=l.pending,o=t.memoizedState;if(s!==null){l.pending=null;var p=s=s.next;do o=e(o,p.action),p=p.next;while(p!==s);jt(o,t.memoizedState)||(nt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),l.lastRenderedState=o}return[o,a]}function ud(e,t,l){var a=Se,s=Fe(),o=Ce;if(o){if(l===void 0)throw Error(u(407));l=l()}else l=t();var p=!jt((Me||s).memoizedState,l);p&&(s.memoizedState=l,nt=!0),s=s.queue;var S=od.bind(null,a,s,e);if(Fa(2048,8,S,[e]),s.getSnapshot!==t||p||Je!==null&&Je.memoizedState.tag&1){if(a.flags|=2048,Fl(9,hr(),cd.bind(null,a,s,l,t),null),Be===null)throw Error(u(349));o||(Hn&124)!==0||sd(a,t,l)}return l}function sd(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Se.updateQueue,t===null?(t=ws(),Se.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function cd(e,t,l,a){t.value=l,t.getSnapshot=a,fd(t)&&dd(e)}function od(e,t,l){return l(function(){fd(t)&&dd(e)})}function fd(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!jt(e,l)}catch{return!0}}function dd(e){var t=ql(e,2);t!==null&&_t(t,e,2)}function zs(e){var t=xt();if(typeof e=="function"){var l=e;if(e=l(),yl){ce(!0);try{l()}finally{ce(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:e},t}function hd(e,t,l,a){return e.baseState=l,Rs(e,Me,typeof a=="function"?a:En)}function Jy(e,t,l,a,s){if(pr(e))throw Error(u(485));if(e=t.action,e!==null){var o={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){o.listeners.push(p)}};_.T!==null?l(!0):o.isTransition=!1,a(o),l=t.pending,l===null?(o.next=t.pending=o,md(t,o)):(o.next=l.next,t.pending=l.next=o)}}function md(e,t){var l=t.action,a=t.payload,s=e.state;if(t.isTransition){var o=_.T,p={};_.T=p;try{var S=l(s,a),A=_.S;A!==null&&A(p,S),pd(e,t,S)}catch(C){Os(e,t,C)}finally{_.T=o}}else try{o=l(s,a),pd(e,t,o)}catch(C){Os(e,t,C)}}function pd(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){gd(e,t,a)},function(a){return Os(e,t,a)}):gd(e,t,l)}function gd(e,t,l){t.status="fulfilled",t.value=l,yd(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,md(e,l)))}function Os(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,yd(t),t=t.next;while(t!==a)}e.action=null}function yd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xd(e,t){return t}function vd(e,t){if(Ce){var l=Be.formState;if(l!==null){e:{var a=Se;if(Ce){if(Qe){t:{for(var s=Qe,o=nn;s.nodeType!==8;){if(!o){s=null;break t}if(s=It(s.nextSibling),s===null){s=null;break t}}o=s.data,s=o==="F!"||o==="F"?s:null}if(s){Qe=It(s.nextSibling),a=s.data==="F!";break e}}hl(a)}a=!1}a&&(t=l[0])}}return l=xt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xd,lastRenderedState:t},l.queue=a,l=Bd.bind(null,Se,a),a.dispatch=l,a=zs(!1),o=Us.bind(null,Se,!1,a.queue),a=xt(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,l=Jy.bind(null,Se,s,o,l),s.dispatch=l,a.memoizedState=e,[t,l,!1]}function bd(e){var t=Fe();return Sd(t,Me,e)}function Sd(e,t,l){if(t=Rs(e,t,xd)[0],e=dr(En)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ja(t)}catch(p){throw p===Va?rr:p}else a=t;t=Fe();var s=t.queue,o=s.dispatch;return l!==t.memoizedState&&(Se.flags|=2048,Fl(9,hr(),Fy.bind(null,s,l),null)),[a,o,e]}function Fy(e,t){e.action=t}function Ed(e){var t=Fe(),l=Me;if(l!==null)return Sd(t,l,e);Fe(),t=t.memoizedState,l=Fe();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Fl(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=Se.updateQueue,t===null&&(t=ws(),Se.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function hr(){return{destroy:void 0,resource:void 0}}function Td(){return Fe().memoizedState}function mr(e,t,l,a){var s=xt();a=a===void 0?null:a,Se.flags|=e,s.memoizedState=Fl(1|t,hr(),l,a)}function Fa(e,t,l,a){var s=Fe();a=a===void 0?null:a;var o=s.memoizedState.inst;Me!==null&&a!==null&&Ss(a,Me.memoizedState.deps)?s.memoizedState=Fl(t,o,l,a):(Se.flags|=e,s.memoizedState=Fl(1|t,o,l,a))}function Nd(e,t){mr(8390656,8,e,t)}function Ad(e,t){Fa(2048,8,e,t)}function wd(e,t){return Fa(4,2,e,t)}function jd(e,t){return Fa(4,4,e,t)}function Rd(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Cd(e,t,l){l=l!=null?l.concat([e]):null,Fa(4,4,Rd.bind(null,t,e),l)}function Ds(){}function zd(e,t){var l=Fe();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Ss(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Od(e,t){var l=Fe();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Ss(t,a[1]))return a[0];if(a=e(),yl){ce(!0);try{e()}finally{ce(!1)}}return l.memoizedState=[a,t],a}function _s(e,t,l){return l===void 0||(Hn&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=Mh(),Se.lanes|=e,Zn|=e,l)}function Dd(e,t,l,a){return jt(l,t)?l:Zl.current!==null?(e=_s(e,l,a),jt(e,t)||(nt=!0),e):(Hn&42)===0?(nt=!0,e.memoizedState=l):(e=Mh(),Se.lanes|=e,Zn|=e,t)}function _d(e,t,l,a,s){var o=J.p;J.p=o!==0&&8>o?o:8;var p=_.T,S={};_.T=S,Us(e,!1,t,l);try{var A=s(),C=_.S;if(C!==null&&C(S,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var B=Gy(A,a);$a(e,t,B,Dt(e))}else $a(e,t,a,Dt(e))}catch(Q){$a(e,t,{then:function(){},status:"rejected",reason:Q},Dt())}finally{J.p=o,_.T=p}}function $y(){}function Ms(e,t,l,a){if(e.tag!==5)throw Error(u(476));var s=Md(e).queue;_d(e,s,t,ae,l===null?$y:function(){return kd(e),l(a)})}function Md(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function kd(e){var t=Md(e).next.queue;$a(e,t,{},Dt())}function ks(){return ot(mi)}function Ud(){return Fe().memoizedState}function Ld(){return Fe().memoizedState}function Py(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Dt();e=Ln(l);var a=Bn(t,e,l);a!==null&&(_t(a,t,l),Qa(a,t,l)),t={cache:fs()},e.payload=t;return}t=t.return}}function Iy(e,t,l){var a=Dt();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},pr(e)?Hd(t,l):(l=ts(e,t,l,a),l!==null&&(_t(l,e,a),qd(l,t,a)))}function Bd(e,t,l){var a=Dt();$a(e,t,l,a)}function $a(e,t,l,a){var s={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(pr(e))Hd(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var p=t.lastRenderedState,S=o(p,l);if(s.hasEagerState=!0,s.eagerState=S,jt(S,p))return Ii(e,t,s,0),Be===null&&Pi(),!1}catch{}if(l=ts(e,t,s,a),l!==null)return _t(l,e,a),qd(l,t,a),!0}return!1}function Us(e,t,l,a){if(a={lane:2,revertLane:mc(),action:a,hasEagerState:!1,eagerState:null,next:null},pr(e)){if(t)throw Error(u(479))}else t=ts(e,l,a,2),t!==null&&_t(t,e,2)}function pr(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function Hd(e,t){Kl=cr=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function qd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ko(e,l)}}var gr={readContext:ot,use:fr,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useLayoutEffect:Ze,useInsertionEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useSyncExternalStore:Ze,useId:Ze,useHostTransitionStatus:Ze,useFormState:Ze,useActionState:Ze,useOptimistic:Ze,useMemoCache:Ze,useCacheRefresh:Ze},Yd={readContext:ot,use:fr,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:Nd,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,mr(4194308,4,Rd.bind(null,t,e),l)},useLayoutEffect:function(e,t){return mr(4194308,4,e,t)},useInsertionEffect:function(e,t){mr(4,2,e,t)},useMemo:function(e,t){var l=xt();t=t===void 0?null:t;var a=e();if(yl){ce(!0);try{e()}finally{ce(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=xt();if(l!==void 0){var s=l(t);if(yl){ce(!0);try{l(t)}finally{ce(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=Iy.bind(null,Se,e),[a.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:function(e){e=zs(e);var t=e.queue,l=Bd.bind(null,Se,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Ds,useDeferredValue:function(e,t){var l=xt();return _s(l,e,t)},useTransition:function(){var e=zs(!1);return e=_d.bind(null,Se,e.queue,!0,!1),xt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=Se,s=xt();if(Ce){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Be===null)throw Error(u(349));(we&124)!==0||sd(a,t,l)}s.memoizedState=l;var o={value:l,getSnapshot:t};return s.queue=o,Nd(od.bind(null,a,o,e),[e]),a.flags|=2048,Fl(9,hr(),cd.bind(null,a,o,l,t),null),l},useId:function(){var e=xt(),t=Be.identifierPrefix;if(Ce){var l=vn,a=xn;l=(a&~(1<<32-de(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=or++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=Zy++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ks,useFormState:vd,useActionState:vd,useOptimistic:function(e){var t=xt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Us.bind(null,Se,!0,l),l.dispatch=t,[e,t]},useMemoCache:js,useCacheRefresh:function(){return xt().memoizedState=Py.bind(null,Se)}},Vd={readContext:ot,use:fr,useCallback:zd,useContext:ot,useEffect:Ad,useImperativeHandle:Cd,useInsertionEffect:wd,useLayoutEffect:jd,useMemo:Od,useReducer:dr,useRef:Td,useState:function(){return dr(En)},useDebugValue:Ds,useDeferredValue:function(e,t){var l=Fe();return Dd(l,Me.memoizedState,e,t)},useTransition:function(){var e=dr(En)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:Ja(e),t]},useSyncExternalStore:ud,useId:Ud,useHostTransitionStatus:ks,useFormState:bd,useActionState:bd,useOptimistic:function(e,t){var l=Fe();return hd(l,Me,e,t)},useMemoCache:js,useCacheRefresh:Ld},Wy={readContext:ot,use:fr,useCallback:zd,useContext:ot,useEffect:Ad,useImperativeHandle:Cd,useInsertionEffect:wd,useLayoutEffect:jd,useMemo:Od,useReducer:Cs,useRef:Td,useState:function(){return Cs(En)},useDebugValue:Ds,useDeferredValue:function(e,t){var l=Fe();return Me===null?_s(l,e,t):Dd(l,Me.memoizedState,e,t)},useTransition:function(){var e=Cs(En)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:Ja(e),t]},useSyncExternalStore:ud,useId:Ud,useHostTransitionStatus:ks,useFormState:Ed,useActionState:Ed,useOptimistic:function(e,t){var l=Fe();return Me!==null?hd(l,Me,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:js,useCacheRefresh:Ld},$l=null,Pa=0;function yr(e){var t=Pa;return Pa+=1,$l===null&&($l=[]),Wf($l,e,t)}function Ia(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xr(e,t){throw t.$$typeof===b?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Xd(e){var t=e._init;return t(e._payload)}function Qd(e){function t(j,w){if(e){var R=j.deletions;R===null?(j.deletions=[w],j.flags|=16):R.push(w)}}function l(j,w){if(!e)return null;for(;w!==null;)t(j,w),w=w.sibling;return null}function a(j){for(var w=new Map;j!==null;)j.key!==null?w.set(j.key,j):w.set(j.index,j),j=j.sibling;return w}function s(j,w){return j=yn(j,w),j.index=0,j.sibling=null,j}function o(j,w,R){return j.index=R,e?(R=j.alternate,R!==null?(R=R.index,R<w?(j.flags|=67108866,w):R):(j.flags|=67108866,w)):(j.flags|=1048576,w)}function p(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function S(j,w,R,q){return w===null||w.tag!==6?(w=ls(R,j.mode,q),w.return=j,w):(w=s(w,R),w.return=j,w)}function A(j,w,R,q){var W=R.type;return W===U?B(j,w,R.props.children,q,R.key):w!==null&&(w.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ge&&Xd(W)===w.type)?(w=s(w,R.props),Ia(w,R),w.return=j,w):(w=er(R.type,R.key,R.props,null,j.mode,q),Ia(w,R),w.return=j,w)}function C(j,w,R,q){return w===null||w.tag!==4||w.stateNode.containerInfo!==R.containerInfo||w.stateNode.implementation!==R.implementation?(w=as(R,j.mode,q),w.return=j,w):(w=s(w,R.children||[]),w.return=j,w)}function B(j,w,R,q,W){return w===null||w.tag!==7?(w=cl(R,j.mode,q,W),w.return=j,w):(w=s(w,R),w.return=j,w)}function Q(j,w,R){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return w=ls(""+w,j.mode,R),w.return=j,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case N:return R=er(w.type,w.key,w.props,null,j.mode,R),Ia(R,w),R.return=j,R;case E:return w=as(w,j.mode,R),w.return=j,w;case ge:var q=w._init;return w=q(w._payload),Q(j,w,R)}if(te(w)||P(w))return w=cl(w,j.mode,R,null),w.return=j,w;if(typeof w.then=="function")return Q(j,yr(w),R);if(w.$$typeof===G)return Q(j,ar(j,w),R);xr(j,w)}return null}function z(j,w,R,q){var W=w!==null?w.key:null;if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return W!==null?null:S(j,w,""+R,q);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case N:return R.key===W?A(j,w,R,q):null;case E:return R.key===W?C(j,w,R,q):null;case ge:return W=R._init,R=W(R._payload),z(j,w,R,q)}if(te(R)||P(R))return W!==null?null:B(j,w,R,q,null);if(typeof R.then=="function")return z(j,w,yr(R),q);if(R.$$typeof===G)return z(j,w,ar(j,R),q);xr(j,R)}return null}function O(j,w,R,q,W){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return j=j.get(R)||null,S(w,j,""+q,W);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case N:return j=j.get(q.key===null?R:q.key)||null,A(w,j,q,W);case E:return j=j.get(q.key===null?R:q.key)||null,C(w,j,q,W);case ge:var Ee=q._init;return q=Ee(q._payload),O(j,w,R,q,W)}if(te(q)||P(q))return j=j.get(R)||null,B(w,j,q,W,null);if(typeof q.then=="function")return O(j,w,R,yr(q),W);if(q.$$typeof===G)return O(j,w,R,ar(w,q),W);xr(w,q)}return null}function me(j,w,R,q){for(var W=null,Ee=null,re=w,fe=w=0,at=null;re!==null&&fe<R.length;fe++){re.index>fe?(at=re,re=null):at=re.sibling;var Re=z(j,re,R[fe],q);if(Re===null){re===null&&(re=at);break}e&&re&&Re.alternate===null&&t(j,re),w=o(Re,w,fe),Ee===null?W=Re:Ee.sibling=Re,Ee=Re,re=at}if(fe===R.length)return l(j,re),Ce&&fl(j,fe),W;if(re===null){for(;fe<R.length;fe++)re=Q(j,R[fe],q),re!==null&&(w=o(re,w,fe),Ee===null?W=re:Ee.sibling=re,Ee=re);return Ce&&fl(j,fe),W}for(re=a(re);fe<R.length;fe++)at=O(re,j,fe,R[fe],q),at!==null&&(e&&at.alternate!==null&&re.delete(at.key===null?fe:at.key),w=o(at,w,fe),Ee===null?W=at:Ee.sibling=at,Ee=at);return e&&re.forEach(function(tl){return t(j,tl)}),Ce&&fl(j,fe),W}function oe(j,w,R,q){if(R==null)throw Error(u(151));for(var W=null,Ee=null,re=w,fe=w=0,at=null,Re=R.next();re!==null&&!Re.done;fe++,Re=R.next()){re.index>fe?(at=re,re=null):at=re.sibling;var tl=z(j,re,Re.value,q);if(tl===null){re===null&&(re=at);break}e&&re&&tl.alternate===null&&t(j,re),w=o(tl,w,fe),Ee===null?W=tl:Ee.sibling=tl,Ee=tl,re=at}if(Re.done)return l(j,re),Ce&&fl(j,fe),W;if(re===null){for(;!Re.done;fe++,Re=R.next())Re=Q(j,Re.value,q),Re!==null&&(w=o(Re,w,fe),Ee===null?W=Re:Ee.sibling=Re,Ee=Re);return Ce&&fl(j,fe),W}for(re=a(re);!Re.done;fe++,Re=R.next())Re=O(re,j,fe,Re.value,q),Re!==null&&(e&&Re.alternate!==null&&re.delete(Re.key===null?fe:Re.key),w=o(Re,w,fe),Ee===null?W=Re:Ee.sibling=Re,Ee=Re);return e&&re.forEach(function(ex){return t(j,ex)}),Ce&&fl(j,fe),W}function Ue(j,w,R,q){if(typeof R=="object"&&R!==null&&R.type===U&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case N:e:{for(var W=R.key;w!==null;){if(w.key===W){if(W=R.type,W===U){if(w.tag===7){l(j,w.sibling),q=s(w,R.props.children),q.return=j,j=q;break e}}else if(w.elementType===W||typeof W=="object"&&W!==null&&W.$$typeof===ge&&Xd(W)===w.type){l(j,w.sibling),q=s(w,R.props),Ia(q,R),q.return=j,j=q;break e}l(j,w);break}else t(j,w);w=w.sibling}R.type===U?(q=cl(R.props.children,j.mode,q,R.key),q.return=j,j=q):(q=er(R.type,R.key,R.props,null,j.mode,q),Ia(q,R),q.return=j,j=q)}return p(j);case E:e:{for(W=R.key;w!==null;){if(w.key===W)if(w.tag===4&&w.stateNode.containerInfo===R.containerInfo&&w.stateNode.implementation===R.implementation){l(j,w.sibling),q=s(w,R.children||[]),q.return=j,j=q;break e}else{l(j,w);break}else t(j,w);w=w.sibling}q=as(R,j.mode,q),q.return=j,j=q}return p(j);case ge:return W=R._init,R=W(R._payload),Ue(j,w,R,q)}if(te(R))return me(j,w,R,q);if(P(R)){if(W=P(R),typeof W!="function")throw Error(u(150));return R=W.call(R),oe(j,w,R,q)}if(typeof R.then=="function")return Ue(j,w,yr(R),q);if(R.$$typeof===G)return Ue(j,w,ar(j,R),q);xr(j,R)}return typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint"?(R=""+R,w!==null&&w.tag===6?(l(j,w.sibling),q=s(w,R),q.return=j,j=q):(l(j,w),q=ls(R,j.mode,q),q.return=j,j=q),p(j)):l(j,w)}return function(j,w,R,q){try{Pa=0;var W=Ue(j,w,R,q);return $l=null,W}catch(re){if(re===Va||re===rr)throw re;var Ee=Rt(29,re,null,j.mode);return Ee.lanes=q,Ee.return=j,Ee}}}var Pl=Qd(!0),Gd=Qd(!1),Xt=X(null),ln=null;function qn(e){var t=e.alternate;T(We,We.current&1),T(Xt,e),ln===null&&(t===null||Zl.current!==null||t.memoizedState!==null)&&(ln=e)}function Zd(e){if(e.tag===22){if(T(We,We.current),T(Xt,e),ln===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(ln=e)}}else Yn()}function Yn(){T(We,We.current),T(Xt,Xt.current)}function Tn(e){F(Xt),ln===e&&(ln=null),F(We)}var We=X(0);function vr(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||wc(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){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 Ls(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:y({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Bs={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Dt(),s=Ln(a);s.payload=t,l!=null&&(s.callback=l),t=Bn(e,s,a),t!==null&&(_t(t,e,a),Qa(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Dt(),s=Ln(a);s.tag=1,s.payload=t,l!=null&&(s.callback=l),t=Bn(e,s,a),t!==null&&(_t(t,e,a),Qa(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Dt(),a=Ln(l);a.tag=2,t!=null&&(a.callback=t),t=Bn(e,a,l),t!==null&&(_t(t,e,l),Qa(t,e,l))}};function Kd(e,t,l,a,s,o,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,o,p):t.prototype&&t.prototype.isPureReactComponent?!Ma(l,a)||!Ma(s,o):!0}function Jd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&Bs.enqueueReplaceState(t,t.state,null)}function xl(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=y({},l));for(var s in e)l[s]===void 0&&(l[s]=e[s])}return l}var br=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)};function Fd(e){br(e)}function $d(e){console.error(e)}function Pd(e){br(e)}function Sr(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Id(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Hs(e,t,l){return l=Ln(l),l.tag=3,l.payload={element:null},l.callback=function(){Sr(e,t)},l}function Wd(e){return e=Ln(e),e.tag=3,e}function eh(e,t,l,a){var s=l.type.getDerivedStateFromError;if(typeof s=="function"){var o=a.value;e.payload=function(){return s(o)},e.callback=function(){Id(t,l,a)}}var p=l.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){Id(t,l,a),typeof s!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var S=a.stack;this.componentDidCatch(a.value,{componentStack:S!==null?S:""})})}function e0(e,t,l,a,s){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&Ha(t,l,s,!0),l=Xt.current,l!==null){switch(l.tag){case 13:return ln===null?cc():l.alternate===null&&Ge===0&&(Ge=3),l.flags&=-257,l.flags|=65536,l.lanes=s,a===ms?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),fc(e,a,s)),!1;case 22:return l.flags|=65536,a===ms?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),fc(e,a,s)),!1}throw Error(u(435,l.tag))}return fc(e,a,s),cc(),!1}if(Ce)return t=Xt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==us&&(e=Error(u(422),{cause:a}),Ba(Ht(e,l)))):(a!==us&&(t=Error(u(423),{cause:a}),Ba(Ht(t,l))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Ht(a,l),s=Hs(e.stateNode,a,s),ys(e,s),Ge!==4&&(Ge=2)),!1;var o=Error(u(520),{cause:a});if(o=Ht(o,l),ii===null?ii=[o]:ii.push(o),Ge!==4&&(Ge=2),t===null)return!0;a=Ht(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=s&-s,l.lanes|=e,e=Hs(l.stateNode,a,e),ys(l,e),!1;case 1:if(t=l.type,o=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Kn===null||!Kn.has(o))))return l.flags|=65536,s&=-s,l.lanes|=s,s=Wd(s),eh(s,e,l,a),ys(l,s),!1}l=l.return}while(l!==null);return!1}var th=Error(u(461)),nt=!1;function rt(e,t,l,a){t.child=e===null?Gd(t,null,l,a):Pl(t,e.child,l,a)}function nh(e,t,l,a,s){l=l.render;var o=t.ref;if("ref"in a){var p={};for(var S in a)S!=="ref"&&(p[S]=a[S])}else p=a;return pl(t),a=Es(e,t,l,p,o,s),S=Ts(),e!==null&&!nt?(Ns(e,t,s),Nn(e,t,s)):(Ce&&S&&is(t),t.flags|=1,rt(e,t,a,s),t.child)}function lh(e,t,l,a,s){if(e===null){var o=l.type;return typeof o=="function"&&!ns(o)&&o.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=o,ah(e,t,o,a,s)):(e=er(l.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!Ks(e,s)){var p=o.memoizedProps;if(l=l.compare,l=l!==null?l:Ma,l(p,a)&&e.ref===t.ref)return Nn(e,t,s)}return t.flags|=1,e=yn(o,a),e.ref=t.ref,e.return=t,t.child=e}function ah(e,t,l,a,s){if(e!==null){var o=e.memoizedProps;if(Ma(o,a)&&e.ref===t.ref)if(nt=!1,t.pendingProps=a=o,Ks(e,s))(e.flags&131072)!==0&&(nt=!0);else return t.lanes=e.lanes,Nn(e,t,s)}return qs(e,t,l,a,s)}function ih(e,t,l){var a=t.pendingProps,s=a.children,o=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=o!==null?o.baseLanes|l:l,e!==null){for(s=t.child=e.child,o=0;s!==null;)o=o|s.lanes|s.childLanes,s=s.sibling;t.childLanes=o&~a}else t.childLanes=0,t.child=null;return rh(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ir(t,o!==null?o.cachePool:null),o!==null?ad(t,o):vs(),Zd(t);else return t.lanes=t.childLanes=536870912,rh(e,t,o!==null?o.baseLanes|l:l,l)}else o!==null?(ir(t,o.cachePool),ad(t,o),Yn(),t.memoizedState=null):(e!==null&&ir(t,null),vs(),Yn());return rt(e,t,s,l),t.child}function rh(e,t,l,a){var s=hs();return s=s===null?null:{parent:Ie._currentValue,pool:s},t.memoizedState={baseLanes:l,cachePool:s},e!==null&&ir(t,null),vs(),Zd(t),e!==null&&Ha(e,t,a,!0),null}function Er(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(u(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function qs(e,t,l,a,s){return pl(t),l=Es(e,t,l,a,void 0,s),a=Ts(),e!==null&&!nt?(Ns(e,t,s),Nn(e,t,s)):(Ce&&a&&is(t),t.flags|=1,rt(e,t,l,s),t.child)}function uh(e,t,l,a,s,o){return pl(t),t.updateQueue=null,l=rd(t,a,l,s),id(e),a=Ts(),e!==null&&!nt?(Ns(e,t,o),Nn(e,t,o)):(Ce&&a&&is(t),t.flags|=1,rt(e,t,l,o),t.child)}function sh(e,t,l,a,s){if(pl(t),t.stateNode===null){var o=Yl,p=l.contextType;typeof p=="object"&&p!==null&&(o=ot(p)),o=new l(a,o),t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Bs,t.stateNode=o,o._reactInternals=t,o=t.stateNode,o.props=a,o.state=t.memoizedState,o.refs={},ps(t),p=l.contextType,o.context=typeof p=="object"&&p!==null?ot(p):Yl,o.state=t.memoizedState,p=l.getDerivedStateFromProps,typeof p=="function"&&(Ls(t,l,p,a),o.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(p=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),p!==o.state&&Bs.enqueueReplaceState(o,o.state,null),Za(t,a,o,s),Ga(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){o=t.stateNode;var S=t.memoizedProps,A=xl(l,S);o.props=A;var C=o.context,B=l.contextType;p=Yl,typeof B=="object"&&B!==null&&(p=ot(B));var Q=l.getDerivedStateFromProps;B=typeof Q=="function"||typeof o.getSnapshotBeforeUpdate=="function",S=t.pendingProps!==S,B||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(S||C!==p)&&Jd(t,o,a,p),Un=!1;var z=t.memoizedState;o.state=z,Za(t,a,o,s),Ga(),C=t.memoizedState,S||z!==C||Un?(typeof Q=="function"&&(Ls(t,l,Q,a),C=t.memoizedState),(A=Un||Kd(t,l,A,a,z,C,p))?(B||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=C),o.props=a,o.state=C,o.context=p,a=A):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{o=t.stateNode,gs(e,t),p=t.memoizedProps,B=xl(l,p),o.props=B,Q=t.pendingProps,z=o.context,C=l.contextType,A=Yl,typeof C=="object"&&C!==null&&(A=ot(C)),S=l.getDerivedStateFromProps,(C=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(p!==Q||z!==A)&&Jd(t,o,a,A),Un=!1,z=t.memoizedState,o.state=z,Za(t,a,o,s),Ga();var O=t.memoizedState;p!==Q||z!==O||Un||e!==null&&e.dependencies!==null&&lr(e.dependencies)?(typeof S=="function"&&(Ls(t,l,S,a),O=t.memoizedState),(B=Un||Kd(t,l,B,a,z,O,A)||e!==null&&e.dependencies!==null&&lr(e.dependencies))?(C||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,O,A),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,O,A)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||p===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=O),o.props=a,o.state=O,o.context=A,a=B):(typeof o.componentDidUpdate!="function"||p===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),a=!1)}return o=a,Er(e,t),a=(t.flags&128)!==0,o||a?(o=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:o.render(),t.flags|=1,e!==null&&a?(t.child=Pl(t,e.child,null,s),t.child=Pl(t,null,l,s)):rt(e,t,l,s),t.memoizedState=o.state,e=t.child):e=Nn(e,t,s),e}function ch(e,t,l,a){return La(),t.flags|=256,rt(e,t,l,a),t.child}var Ys={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vs(e){return{baseLanes:e,cachePool:$f()}}function Xs(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Qt),e}function oh(e,t,l){var a=t.pendingProps,s=!1,o=(t.flags&128)!==0,p;if((p=o)||(p=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),p&&(s=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ce){if(s?qn(t):Yn(),Ce){var S=Qe,A;if(A=S){e:{for(A=S,S=nn;A.nodeType!==8;){if(!S){S=null;break e}if(A=It(A.nextSibling),A===null){S=null;break e}}S=A}S!==null?(t.memoizedState={dehydrated:S,treeContext:ol!==null?{id:xn,overflow:vn}:null,retryLane:536870912,hydrationErrors:null},A=Rt(18,null,null,0),A.stateNode=S,A.return=t,t.child=A,mt=t,Qe=null,A=!0):A=!1}A||hl(t)}if(S=t.memoizedState,S!==null&&(S=S.dehydrated,S!==null))return wc(S)?t.lanes=32:t.lanes=536870912,null;Tn(t)}return S=a.children,a=a.fallback,s?(Yn(),s=t.mode,S=Tr({mode:"hidden",children:S},s),a=cl(a,s,l,null),S.return=t,a.return=t,S.sibling=a,t.child=S,s=t.child,s.memoizedState=Vs(l),s.childLanes=Xs(e,p,l),t.memoizedState=Ys,a):(qn(t),Qs(t,S))}if(A=e.memoizedState,A!==null&&(S=A.dehydrated,S!==null)){if(o)t.flags&256?(qn(t),t.flags&=-257,t=Gs(e,t,l)):t.memoizedState!==null?(Yn(),t.child=e.child,t.flags|=128,t=null):(Yn(),s=a.fallback,S=t.mode,a=Tr({mode:"visible",children:a.children},S),s=cl(s,S,l,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,Pl(t,e.child,null,l),a=t.child,a.memoizedState=Vs(l),a.childLanes=Xs(e,p,l),t.memoizedState=Ys,t=s);else if(qn(t),wc(S)){if(p=S.nextSibling&&S.nextSibling.dataset,p)var C=p.dgst;p=C,a=Error(u(419)),a.stack="",a.digest=p,Ba({value:a,source:null,stack:null}),t=Gs(e,t,l)}else if(nt||Ha(e,t,l,!1),p=(l&e.childLanes)!==0,nt||p){if(p=Be,p!==null&&(a=l&-l,a=(a&42)!==0?1:ju(a),a=(a&(p.suspendedLanes|l))!==0?0:a,a!==0&&a!==A.retryLane))throw A.retryLane=a,ql(e,a),_t(p,e,a),th;S.data==="$?"||cc(),t=Gs(e,t,l)}else S.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=A.treeContext,Qe=It(S.nextSibling),mt=t,Ce=!0,dl=null,nn=!1,e!==null&&(Yt[Vt++]=xn,Yt[Vt++]=vn,Yt[Vt++]=ol,xn=e.id,vn=e.overflow,ol=t),t=Qs(t,a.children),t.flags|=4096);return t}return s?(Yn(),s=a.fallback,S=t.mode,A=e.child,C=A.sibling,a=yn(A,{mode:"hidden",children:a.children}),a.subtreeFlags=A.subtreeFlags&65011712,C!==null?s=yn(C,s):(s=cl(s,S,l,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,S=e.child.memoizedState,S===null?S=Vs(l):(A=S.cachePool,A!==null?(C=Ie._currentValue,A=A.parent!==C?{parent:C,pool:C}:A):A=$f(),S={baseLanes:S.baseLanes|l,cachePool:A}),s.memoizedState=S,s.childLanes=Xs(e,p,l),t.memoizedState=Ys,a):(qn(t),l=e.child,e=l.sibling,l=yn(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=l,t.memoizedState=null,l)}function Qs(e,t){return t=Tr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Tr(e,t){return e=Rt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Gs(e,t,l){return Pl(t,e.child,null,l),e=Qs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function fh(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),cs(e.return,t,l)}function Zs(e,t,l,a,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=l,o.tailMode=s)}function dh(e,t,l){var a=t.pendingProps,s=a.revealOrder,o=a.tail;if(rt(e,t,a.children,l),a=We.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fh(e,l,t);else if(e.tag===19)fh(e,l,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}a&=1}switch(T(We,a),s){case"forwards":for(l=t.child,s=null;l!==null;)e=l.alternate,e!==null&&vr(e)===null&&(s=l),l=l.sibling;l=s,l===null?(s=t.child,t.child=null):(s=l.sibling,l.sibling=null),Zs(t,!1,s,l,o);break;case"backwards":for(l=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&vr(e)===null){t.child=s;break}e=s.sibling,s.sibling=l,l=s,s=e}Zs(t,!0,l,null,o);break;case"together":Zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Nn(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Zn|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Ha(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,l=yn(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=yn(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Ks(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&lr(e)))}function t0(e,t,l){switch(t.tag){case 3:je(t,t.stateNode.containerInfo),kn(t,Ie,e.memoizedState.cache),La();break;case 27:case 5:en(t);break;case 4:je(t,t.stateNode.containerInfo);break;case 10:kn(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(qn(t),t.flags|=128,null):(l&t.child.childLanes)!==0?oh(e,t,l):(qn(t),e=Nn(e,t,l),e!==null?e.sibling:null);qn(t);break;case 19:var s=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(Ha(e,t,l,!1),a=(l&t.childLanes)!==0),s){if(a)return dh(e,t,l);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),T(We,We.current),a)break;return null;case 22:case 23:return t.lanes=0,ih(e,t,l);case 24:kn(t,Ie,e.memoizedState.cache)}return Nn(e,t,l)}function hh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)nt=!0;else{if(!Ks(e,l)&&(t.flags&128)===0)return nt=!1,t0(e,t,l);nt=(e.flags&131072)!==0}else nt=!1,Ce&&(t.flags&1048576)!==0&&Xf(t,nr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,s=a._init;if(a=s(a._payload),t.type=a,typeof a=="function")ns(a)?(e=xl(a,e),t.tag=1,t=sh(null,t,a,e,l)):(t.tag=0,t=qs(null,t,a,e,l));else{if(a!=null){if(s=a.$$typeof,s===se){t.tag=11,t=nh(null,t,a,e,l);break e}else if(s===ue){t.tag=14,t=lh(null,t,a,e,l);break e}}throw t=I(a)||a,Error(u(306,t,""))}}return t;case 0:return qs(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,s=xl(a,t.pendingProps),sh(e,t,a,s,l);case 3:e:{if(je(t,t.stateNode.containerInfo),e===null)throw Error(u(387));a=t.pendingProps;var o=t.memoizedState;s=o.element,gs(e,t),Za(t,a,null,l);var p=t.memoizedState;if(a=p.cache,kn(t,Ie,a),a!==o.cache&&os(t,[Ie],l,!0),Ga(),a=p.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=ch(e,t,a,l);break e}else if(a!==s){s=Ht(Error(u(424)),t),Ba(s),t=ch(e,t,a,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Qe=It(e.firstChild),mt=t,Ce=!0,dl=null,nn=!0,l=Gd(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(La(),a===s){t=Nn(e,t,l);break e}rt(e,t,a,l)}t=t.child}return t;case 26:return Er(e,t),e===null?(l=ym(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ce||(l=t.type,e=t.pendingProps,a=Lr(ne.current).createElement(l),a[ct]=t,a[gt]=e,st(a,l,e),tt(a),t.stateNode=a):t.memoizedState=ym(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return en(t),e===null&&Ce&&(a=t.stateNode=mm(t.type,t.pendingProps,ne.current),mt=t,nn=!0,s=Qe,$n(t.type)?(jc=s,Qe=It(a.firstChild)):Qe=s),rt(e,t,t.pendingProps.children,l),Er(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ce&&((s=a=Qe)&&(a=C0(a,t.type,t.pendingProps,nn),a!==null?(t.stateNode=a,mt=t,Qe=It(a.firstChild),nn=!1,s=!0):s=!1),s||hl(t)),en(t),s=t.type,o=t.pendingProps,p=e!==null?e.memoizedProps:null,a=o.children,Tc(s,o)?a=null:p!==null&&Tc(s,p)&&(t.flags|=32),t.memoizedState!==null&&(s=Es(e,t,Ky,null,null,l),mi._currentValue=s),Er(e,t),rt(e,t,a,l),t.child;case 6:return e===null&&Ce&&((e=l=Qe)&&(l=z0(l,t.pendingProps,nn),l!==null?(t.stateNode=l,mt=t,Qe=null,e=!0):e=!1),e||hl(t)),null;case 13:return oh(e,t,l);case 4:return je(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Pl(t,null,a,l):rt(e,t,a,l),t.child;case 11:return nh(e,t,t.type,t.pendingProps,l);case 7:return rt(e,t,t.pendingProps,l),t.child;case 8:return rt(e,t,t.pendingProps.children,l),t.child;case 12:return rt(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,kn(t,t.type,a.value),rt(e,t,a.children,l),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,pl(t),s=ot(s),a=a(s),t.flags|=1,rt(e,t,a,l),t.child;case 14:return lh(e,t,t.type,t.pendingProps,l);case 15:return ah(e,t,t.type,t.pendingProps,l);case 19:return dh(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=Tr(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=yn(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return ih(e,t,l);case 24:return pl(t),a=ot(Ie),e===null?(s=hs(),s===null&&(s=Be,o=fs(),s.pooledCache=o,o.refCount++,o!==null&&(s.pooledCacheLanes|=l),s=o),t.memoizedState={parent:a,cache:s},ps(t),kn(t,Ie,s)):((e.lanes&l)!==0&&(gs(e,t),Za(t,null,null,l),Ga()),s=e.memoizedState,o=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),kn(t,Ie,a)):(a=o.cache,kn(t,Ie,a),a!==s.cache&&os(t,[Ie],l,!0))),rt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function An(e){e.flags|=4}function mh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Em(t)){if(t=Xt.current,t!==null&&((we&4194048)===we?ln!==null:(we&62914560)!==we&&(we&536870912)===0||t!==ln))throw Xa=ms,Pf;e.flags|=8192}}function Nr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Go():536870912,e.lanes|=t,ta|=t)}function Wa(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var s=e.child;s!==null;)l|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function n0(e,t,l){var a=t.pendingProps;switch(rs(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return Ve(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Sn(Ie),ht(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ua(t)?An(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zf())),Ve(t),null;case 26:return l=t.memoizedState,e===null?(An(t),l!==null?(Ve(t),mh(t,l)):(Ve(t),t.flags&=-16777217)):l?l!==e.memoizedState?(An(t),Ve(t),mh(t,l)):(Ve(t),t.flags&=-16777217):(e.memoizedProps!==a&&An(t),Ve(t),t.flags&=-16777217),null;case 27:hn(t),l=ne.current;var s=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&An(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return Ve(t),null}e=ee.current,Ua(t)?Qf(t):(e=mm(s,a,l),t.stateNode=e,An(t))}return Ve(t),null;case 5:if(hn(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&An(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return Ve(t),null}if(e=ee.current,Ua(t))Qf(t);else{switch(s=Lr(ne.current),e){case 1:e=s.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=s.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=s.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?s.createElement(l,{is:a.is}):s.createElement(l)}}e[ct]=t,e[gt]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=e;e:switch(st(e,l,a),l){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&An(t)}}return Ve(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&An(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=ne.current,Ua(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,s=mt,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}e[ct]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||um(e.nodeValue,l)),e||hl(t)}else e=Lr(e).createTextNode(a),e[ct]=t,t.stateNode=e}return Ve(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ua(t),a!==null&&a.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[ct]=t}else La(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),s=!1}else s=Zf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Tn(t),t):(Tn(t),null)}if(Tn(t),(t.flags&128)!==0)return t.lanes=l,t;if(l=a!==null,e=e!==null&&e.memoizedState!==null,l){a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool);var o=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048)}return l!==e&&l&&(t.child.flags|=8192),Nr(t,t.updateQueue),Ve(t),null;case 4:return ht(),e===null&&xc(t.stateNode.containerInfo),Ve(t),null;case 10:return Sn(t.type),Ve(t),null;case 19:if(F(We),s=t.memoizedState,s===null)return Ve(t),null;if(a=(t.flags&128)!==0,o=s.rendering,o===null)if(a)Wa(s,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=vr(e),o!==null){for(t.flags|=128,Wa(s,!1),e=o.updateQueue,t.updateQueue=e,Nr(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Vf(l,e),l=l.sibling;return T(We,We.current&1|2),t.child}e=e.sibling}s.tail!==null&&Nt()>jr&&(t.flags|=128,a=!0,Wa(s,!1),t.lanes=4194304)}else{if(!a)if(e=vr(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Nr(t,e),Wa(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Ce)return Ve(t),null}else 2*Nt()-s.renderingStartTime>jr&&l!==536870912&&(t.flags|=128,a=!0,Wa(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(e=s.last,e!==null?e.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Nt(),t.sibling=null,e=We.current,T(We,a?e&1|2:e&1),t):(Ve(t),null);case 22:case 23:return Tn(t),bs(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),l=t.updateQueue,l!==null&&Nr(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&F(gl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Sn(Ie),Ve(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function l0(e,t){switch(rs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sn(Ie),ht(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return hn(t),null;case 13:if(Tn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));La()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(We),null;case 4:return ht(),null;case 10:return Sn(t.type),null;case 22:case 23:return Tn(t),bs(),e!==null&&F(gl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sn(Ie),null;case 25:return null;default:return null}}function ph(e,t){switch(rs(t),t.tag){case 3:Sn(Ie),ht();break;case 26:case 27:case 5:hn(t);break;case 4:ht();break;case 13:Tn(t);break;case 19:F(We);break;case 10:Sn(t.type);break;case 22:case 23:Tn(t),bs(),e!==null&&F(gl);break;case 24:Sn(Ie)}}function ei(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var s=a.next;l=s;do{if((l.tag&e)===e){a=void 0;var o=l.create,p=l.inst;a=o(),p.destroy=a}l=l.next}while(l!==s)}}catch(S){Le(t,t.return,S)}}function Vn(e,t,l){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var o=s.next;a=o;do{if((a.tag&e)===e){var p=a.inst,S=p.destroy;if(S!==void 0){p.destroy=void 0,s=t;var A=l,C=S;try{C()}catch(B){Le(s,A,B)}}}a=a.next}while(a!==o)}}catch(B){Le(t,t.return,B)}}function gh(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{ld(t,l)}catch(a){Le(e,e.return,a)}}}function yh(e,t,l){l.props=xl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Le(e,t,a)}}function ti(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(s){Le(e,t,s)}}function an(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(s){Le(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(s){Le(e,t,s)}else l.current=null}function xh(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(s){Le(e,e.return,s)}}function Js(e,t,l){try{var a=e.stateNode;N0(a,e.type,l,t),a[gt]=t}catch(s){Le(e,e.return,s)}}function vh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$n(e.type)||e.tag===4}function Fs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vh(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&&$n(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $s(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Ur));else if(a!==4&&(a===27&&$n(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for($s(e,t,l),e=e.sibling;e!==null;)$s(e,t,l),e=e.sibling}function Ar(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&$n(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ar(e,t,l),e=e.sibling;e!==null;)Ar(e,t,l),e=e.sibling}function bh(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);st(t,a,l),t[ct]=e,t[gt]=l}catch(o){Le(e,e.return,o)}}var wn=!1,Ke=!1,Ps=!1,Sh=typeof WeakSet=="function"?WeakSet:Set,lt=null;function a0(e,t){if(e=e.containerInfo,Sc=Xr,e=Df(e),Fu(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var s=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{l.nodeType,o.nodeType}catch{l=null;break e}var p=0,S=-1,A=-1,C=0,B=0,Q=e,z=null;t:for(;;){for(var O;Q!==l||s!==0&&Q.nodeType!==3||(S=p+s),Q!==o||a!==0&&Q.nodeType!==3||(A=p+a),Q.nodeType===3&&(p+=Q.nodeValue.length),(O=Q.firstChild)!==null;)z=Q,Q=O;for(;;){if(Q===e)break t;if(z===l&&++C===s&&(S=p),z===o&&++B===a&&(A=p),(O=Q.nextSibling)!==null)break;Q=z,z=Q.parentNode}Q=O}l=S===-1||A===-1?null:{start:S,end:A}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ec={focusedElem:e,selectionRange:l},Xr=!1,lt=t;lt!==null;)if(t=lt,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,lt=e;else for(;lt!==null;){switch(t=lt,o=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&o!==null){e=void 0,l=t,s=o.memoizedProps,o=o.memoizedState,a=l.stateNode;try{var me=xl(l.type,s,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(me,o),a.__reactInternalSnapshotBeforeUpdate=e}catch(oe){Le(l,l.return,oe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Ac(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ac(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,lt=e;break}lt=t.return}}function Eh(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Xn(e,l),a&4&&ei(5,l);break;case 1:if(Xn(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(p){Le(l,l.return,p)}else{var s=xl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){Le(l,l.return,p)}}a&64&&gh(l),a&512&&ti(l,l.return);break;case 3:if(Xn(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{ld(e,t)}catch(p){Le(l,l.return,p)}}break;case 27:t===null&&a&4&&bh(l);case 26:case 5:Xn(e,l),t===null&&a&4&&xh(l),a&512&&ti(l,l.return);break;case 12:Xn(e,l);break;case 13:Xn(e,l),a&4&&Ah(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=h0.bind(null,l),O0(e,l))));break;case 22:if(a=l.memoizedState!==null||wn,!a){t=t!==null&&t.memoizedState!==null||Ke,s=wn;var o=Ke;wn=a,(Ke=t)&&!o?Qn(e,l,(l.subtreeFlags&8772)!==0):Xn(e,l),wn=s,Ke=o}break;case 30:break;default:Xn(e,l)}}function Th(e){var t=e.alternate;t!==null&&(e.alternate=null,Th(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&zu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ye=null,vt=!1;function jn(e,t,l){for(l=l.child;l!==null;)Nh(e,t,l),l=l.sibling}function Nh(e,t,l){if(Z&&typeof Z.onCommitFiberUnmount=="function")try{Z.onCommitFiberUnmount(L,l)}catch{}switch(l.tag){case 26:Ke||an(l,t),jn(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ke||an(l,t);var a=Ye,s=vt;$n(l.type)&&(Ye=l.stateNode,vt=!1),jn(e,t,l),oi(l.stateNode),Ye=a,vt=s;break;case 5:Ke||an(l,t);case 6:if(a=Ye,s=vt,Ye=null,jn(e,t,l),Ye=a,vt=s,Ye!==null)if(vt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(l.stateNode)}catch(o){Le(l,t,o)}else try{Ye.removeChild(l.stateNode)}catch(o){Le(l,t,o)}break;case 18:Ye!==null&&(vt?(e=Ye,dm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),xi(e)):dm(Ye,l.stateNode));break;case 4:a=Ye,s=vt,Ye=l.stateNode.containerInfo,vt=!0,jn(e,t,l),Ye=a,vt=s;break;case 0:case 11:case 14:case 15:Ke||Vn(2,l,t),Ke||Vn(4,l,t),jn(e,t,l);break;case 1:Ke||(an(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&yh(l,t,a)),jn(e,t,l);break;case 21:jn(e,t,l);break;case 22:Ke=(a=Ke)||l.memoizedState!==null,jn(e,t,l),Ke=a;break;default:jn(e,t,l)}}function Ah(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xi(e)}catch(l){Le(t,t.return,l)}}function i0(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Sh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Sh),t;default:throw Error(u(435,e.tag))}}function Is(e,t){var l=i0(e);t.forEach(function(a){var s=m0.bind(null,e,a);l.has(a)||(l.add(a),a.then(s,s))})}function Ct(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var s=l[a],o=e,p=t,S=p;e:for(;S!==null;){switch(S.tag){case 27:if($n(S.type)){Ye=S.stateNode,vt=!1;break e}break;case 5:Ye=S.stateNode,vt=!1;break e;case 3:case 4:Ye=S.stateNode.containerInfo,vt=!0;break e}S=S.return}if(Ye===null)throw Error(u(160));Nh(o,p,s),Ye=null,vt=!1,o=s.alternate,o!==null&&(o.return=null),s.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)wh(t,e),t=t.sibling}var Pt=null;function wh(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ct(t,e),zt(e),a&4&&(Vn(3,e,e.return),ei(3,e),Vn(5,e,e.return));break;case 1:Ct(t,e),zt(e),a&512&&(Ke||l===null||an(l,l.return)),a&64&&wn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var s=Pt;if(Ct(t,e),zt(e),a&512&&(Ke||l===null||an(l,l.return)),a&4){var o=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,s=s.ownerDocument||s;t:switch(a){case"title":o=s.getElementsByTagName("title")[0],(!o||o[Aa]||o[ct]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=s.createElement(a),s.head.insertBefore(o,s.querySelector("head > title"))),st(o,a,l),o[ct]=e,tt(o),a=o;break e;case"link":var p=bm("link","href",s).get(a+(l.href||""));if(p){for(var S=0;S<p.length;S++)if(o=p[S],o.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&o.getAttribute("rel")===(l.rel==null?null:l.rel)&&o.getAttribute("title")===(l.title==null?null:l.title)&&o.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){p.splice(S,1);break t}}o=s.createElement(a),st(o,a,l),s.head.appendChild(o);break;case"meta":if(p=bm("meta","content",s).get(a+(l.content||""))){for(S=0;S<p.length;S++)if(o=p[S],o.getAttribute("content")===(l.content==null?null:""+l.content)&&o.getAttribute("name")===(l.name==null?null:l.name)&&o.getAttribute("property")===(l.property==null?null:l.property)&&o.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&o.getAttribute("charset")===(l.charSet==null?null:l.charSet)){p.splice(S,1);break t}}o=s.createElement(a),st(o,a,l),s.head.appendChild(o);break;default:throw Error(u(468,a))}o[ct]=e,tt(o),a=o}e.stateNode=a}else Sm(s,e.type,e.stateNode);else e.stateNode=vm(s,a,e.memoizedProps);else o!==a?(o===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):o.count--,a===null?Sm(s,e.type,e.stateNode):vm(s,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Js(e,e.memoizedProps,l.memoizedProps)}break;case 27:Ct(t,e),zt(e),a&512&&(Ke||l===null||an(l,l.return)),l!==null&&a&4&&Js(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Ct(t,e),zt(e),a&512&&(Ke||l===null||an(l,l.return)),e.flags&32){s=e.stateNode;try{_l(s,"")}catch(O){Le(e,e.return,O)}}a&4&&e.stateNode!=null&&(s=e.memoizedProps,Js(e,s,l!==null?l.memoizedProps:s)),a&1024&&(Ps=!0);break;case 6:if(Ct(t,e),zt(e),a&4){if(e.stateNode===null)throw Error(u(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(O){Le(e,e.return,O)}}break;case 3:if(qr=null,s=Pt,Pt=Br(t.containerInfo),Ct(t,e),Pt=s,zt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{xi(t.containerInfo)}catch(O){Le(e,e.return,O)}Ps&&(Ps=!1,jh(e));break;case 4:a=Pt,Pt=Br(e.stateNode.containerInfo),Ct(t,e),zt(e),Pt=a;break;case 12:Ct(t,e),zt(e);break;case 13:Ct(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ac=Nt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Is(e,a)));break;case 22:s=e.memoizedState!==null;var A=l!==null&&l.memoizedState!==null,C=wn,B=Ke;if(wn=C||s,Ke=B||A,Ct(t,e),Ke=B,wn=C,zt(e),a&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(l===null||A||wn||Ke||vl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){A=l=t;try{if(o=A.stateNode,s)p=o.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{S=A.stateNode;var Q=A.memoizedProps.style,z=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;S.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(O){Le(A,A.return,O)}}}else if(t.tag===6){if(l===null){A=t;try{A.stateNode.nodeValue=s?"":A.memoizedProps}catch(O){Le(A,A.return,O)}}}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;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Is(e,l))));break;case 19:Ct(t,e),zt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Is(e,a)));break;case 30:break;case 21:break;default:Ct(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(vh(a)){l=a;break}a=a.return}if(l==null)throw Error(u(160));switch(l.tag){case 27:var s=l.stateNode,o=Fs(e);Ar(e,o,s);break;case 5:var p=l.stateNode;l.flags&32&&(_l(p,""),l.flags&=-33);var S=Fs(e);Ar(e,S,p);break;case 3:case 4:var A=l.stateNode.containerInfo,C=Fs(e);$s(e,C,A);break;default:throw Error(u(161))}}catch(B){Le(e,e.return,B)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function jh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;jh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Xn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Eh(e,t.alternate,t),t=t.sibling}function vl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Vn(4,t,t.return),vl(t);break;case 1:an(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&yh(t,t.return,l),vl(t);break;case 27:oi(t.stateNode);case 26:case 5:an(t,t.return),vl(t);break;case 22:t.memoizedState===null&&vl(t);break;case 30:vl(t);break;default:vl(t)}e=e.sibling}}function Qn(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,s=e,o=t,p=o.flags;switch(o.tag){case 0:case 11:case 15:Qn(s,o,l),ei(4,o);break;case 1:if(Qn(s,o,l),a=o,s=a.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(C){Le(a,a.return,C)}if(a=o,s=a.updateQueue,s!==null){var S=a.stateNode;try{var A=s.shared.hiddenCallbacks;if(A!==null)for(s.shared.hiddenCallbacks=null,s=0;s<A.length;s++)nd(A[s],S)}catch(C){Le(a,a.return,C)}}l&&p&64&&gh(o),ti(o,o.return);break;case 27:bh(o);case 26:case 5:Qn(s,o,l),l&&a===null&&p&4&&xh(o),ti(o,o.return);break;case 12:Qn(s,o,l);break;case 13:Qn(s,o,l),l&&p&4&&Ah(s,o);break;case 22:o.memoizedState===null&&Qn(s,o,l),ti(o,o.return);break;case 30:break;default:Qn(s,o,l)}t=t.sibling}}function Ws(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&qa(l))}function ec(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&qa(e))}function rn(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Rh(e,t,l,a),t=t.sibling}function Rh(e,t,l,a){var s=t.flags;switch(t.tag){case 0:case 11:case 15:rn(e,t,l,a),s&2048&&ei(9,t);break;case 1:rn(e,t,l,a);break;case 3:rn(e,t,l,a),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&qa(e)));break;case 12:if(s&2048){rn(e,t,l,a),e=t.stateNode;try{var o=t.memoizedProps,p=o.id,S=o.onPostCommit;typeof S=="function"&&S(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){Le(t,t.return,A)}}else rn(e,t,l,a);break;case 13:rn(e,t,l,a);break;case 23:break;case 22:o=t.stateNode,p=t.alternate,t.memoizedState!==null?o._visibility&2?rn(e,t,l,a):ni(e,t):o._visibility&2?rn(e,t,l,a):(o._visibility|=2,Il(e,t,l,a,(t.subtreeFlags&10256)!==0)),s&2048&&Ws(p,t);break;case 24:rn(e,t,l,a),s&2048&&ec(t.alternate,t);break;default:rn(e,t,l,a)}}function Il(e,t,l,a,s){for(s=s&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var o=e,p=t,S=l,A=a,C=p.flags;switch(p.tag){case 0:case 11:case 15:Il(o,p,S,A,s),ei(8,p);break;case 23:break;case 22:var B=p.stateNode;p.memoizedState!==null?B._visibility&2?Il(o,p,S,A,s):ni(o,p):(B._visibility|=2,Il(o,p,S,A,s)),s&&C&2048&&Ws(p.alternate,p);break;case 24:Il(o,p,S,A,s),s&&C&2048&&ec(p.alternate,p);break;default:Il(o,p,S,A,s)}t=t.sibling}}function ni(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,s=a.flags;switch(a.tag){case 22:ni(l,a),s&2048&&Ws(a.alternate,a);break;case 24:ni(l,a),s&2048&&ec(a.alternate,a);break;default:ni(l,a)}t=t.sibling}}var li=8192;function Wl(e){if(e.subtreeFlags&li)for(e=e.child;e!==null;)Ch(e),e=e.sibling}function Ch(e){switch(e.tag){case 26:Wl(e),e.flags&li&&e.memoizedState!==null&&Q0(Pt,e.memoizedState,e.memoizedProps);break;case 5:Wl(e);break;case 3:case 4:var t=Pt;Pt=Br(e.stateNode.containerInfo),Wl(e),Pt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=li,li=16777216,Wl(e),li=t):Wl(e));break;default:Wl(e)}}function zh(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 ai(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];lt=a,Dh(a,e)}zh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Oh(e),e=e.sibling}function Oh(e){switch(e.tag){case 0:case 11:case 15:ai(e),e.flags&2048&&Vn(9,e,e.return);break;case 3:ai(e);break;case 12:ai(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,wr(e)):ai(e);break;default:ai(e)}}function wr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];lt=a,Dh(a,e)}zh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Vn(8,t,t.return),wr(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,wr(t));break;default:wr(t)}e=e.sibling}}function Dh(e,t){for(;lt!==null;){var l=lt;switch(l.tag){case 0:case 11:case 15:Vn(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:qa(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,lt=a;else e:for(l=e;lt!==null;){a=lt;var s=a.sibling,o=a.return;if(Th(a),a===l){lt=null;break e}if(s!==null){s.return=o,lt=s;break e}lt=o}}}var r0={getCacheForType:function(e){var t=ot(Ie),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},u0=typeof WeakMap=="function"?WeakMap:Map,De=0,Be=null,Ne=null,we=0,_e=0,Ot=null,Gn=!1,ea=!1,tc=!1,Rn=0,Ge=0,Zn=0,bl=0,nc=0,Qt=0,ta=0,ii=null,bt=null,lc=!1,ac=0,jr=1/0,Rr=null,Kn=null,ut=0,Jn=null,na=null,la=0,ic=0,rc=null,_h=null,ri=0,uc=null;function Dt(){if((De&2)!==0&&we!==0)return we&-we;if(_.T!==null){var e=Ql;return e!==0?e:mc()}return Jo()}function Mh(){Qt===0&&(Qt=(we&536870912)===0||Ce?Qo():536870912);var e=Xt.current;return e!==null&&(e.flags|=32),Qt}function _t(e,t,l){(e===Be&&(_e===2||_e===9)||e.cancelPendingCommit!==null)&&(aa(e,0),Fn(e,we,Qt,!1)),Na(e,l),((De&2)===0||e!==Be)&&(e===Be&&((De&2)===0&&(bl|=l),Ge===4&&Fn(e,we,Qt,!1)),un(e))}function kh(e,t,l){if((De&6)!==0)throw Error(u(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Ut(e,t),s=a?o0(e,t):oc(e,t,!0),o=a;do{if(s===0){ea&&!a&&Fn(e,t,0,!1);break}else{if(l=e.current.alternate,o&&!s0(l)){s=oc(e,t,!1),o=!1;continue}if(s===2){if(o=t,e.errorRecoveryDisabledLanes&o)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var S=e;s=ii;var A=S.current.memoizedState.isDehydrated;if(A&&(aa(S,p).flags|=256),p=oc(S,p,!1),p!==2){if(tc&&!A){S.errorRecoveryDisabledLanes|=o,bl|=o,s=4;break e}o=bt,bt=s,o!==null&&(bt===null?bt=o:bt.push.apply(bt,o))}s=p}if(o=!1,s!==2)continue}}if(s===1){aa(e,0),Fn(e,t,0,!0);break}e:{switch(a=e,o=s,o){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:Fn(a,t,Qt,!Gn);break e;case 2:bt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=ac+300-Nt(),10<s)){if(Fn(a,t,Qt,!Gn),et(a,0,!0)!==0)break e;a.timeoutHandle=om(Uh.bind(null,a,l,bt,Rr,lc,t,Qt,bl,ta,Gn,o,2,-0,0),s);break e}Uh(a,l,bt,Rr,lc,t,Qt,bl,ta,Gn,o,0,-0,0)}}break}while(!0);un(e)}function Uh(e,t,l,a,s,o,p,S,A,C,B,Q,z,O){if(e.timeoutHandle=-1,Q=t.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(hi={stylesheets:null,count:0,unsuspend:X0},Ch(t),Q=G0(),Q!==null)){e.cancelPendingCommit=Q(Xh.bind(null,e,t,o,l,a,s,p,S,A,B,1,z,O)),Fn(e,o,p,!C);return}Xh(e,t,o,l,a,s,p,S,A)}function s0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var s=l[a],o=s.getSnapshot;s=s.value;try{if(!jt(o(),s))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Fn(e,t,l,a){t&=~nc,t&=~bl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var o=31-de(s),p=1<<o;a[o]=-1,s&=~p}l!==0&&Zo(e,l,t)}function Cr(){return(De&6)===0?(ui(0),!1):!0}function sc(){if(Ne!==null){if(_e===0)var e=Ne.return;else e=Ne,bn=ml=null,As(e),$l=null,Pa=0,e=Ne;for(;e!==null;)ph(e.alternate,e),e=e.return;Ne=null}}function aa(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,w0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),sc(),Be=e,Ne=l=yn(e.current,null),we=t,_e=0,Ot=null,Gn=!1,ea=Ut(e,t),tc=!1,ta=Qt=nc=bl=Zn=Ge=0,bt=ii=null,lc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var s=31-de(a),o=1<<s;t|=e[s],a&=~o}return Rn=t,Pi(),l}function Lh(e,t){Se=null,_.H=gr,t===Va||t===rr?(t=ed(),_e=3):t===Pf?(t=ed(),_e=4):_e=t===th?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ot=t,Ne===null&&(Ge=1,Sr(e,Ht(t,e.current)))}function Bh(){var e=_.H;return _.H=gr,e===null?gr:e}function Hh(){var e=_.A;return _.A=r0,e}function cc(){Ge=4,Gn||(we&4194048)!==we&&Xt.current!==null||(ea=!0),(Zn&134217727)===0&&(bl&134217727)===0||Be===null||Fn(Be,we,Qt,!1)}function oc(e,t,l){var a=De;De|=2;var s=Bh(),o=Hh();(Be!==e||we!==t)&&(Rr=null,aa(e,t)),t=!1;var p=Ge;e:do try{if(_e!==0&&Ne!==null){var S=Ne,A=Ot;switch(_e){case 8:sc(),p=6;break e;case 3:case 2:case 9:case 6:Xt.current===null&&(t=!0);var C=_e;if(_e=0,Ot=null,ia(e,S,A,C),l&&ea){p=0;break e}break;default:C=_e,_e=0,Ot=null,ia(e,S,A,C)}}c0(),p=Ge;break}catch(B){Lh(e,B)}while(!0);return t&&e.shellSuspendCounter++,bn=ml=null,De=a,_.H=s,_.A=o,Ne===null&&(Be=null,we=0,Pi()),p}function c0(){for(;Ne!==null;)qh(Ne)}function o0(e,t){var l=De;De|=2;var a=Bh(),s=Hh();Be!==e||we!==t?(Rr=null,jr=Nt()+500,aa(e,t)):ea=Ut(e,t);e:do try{if(_e!==0&&Ne!==null){t=Ne;var o=Ot;t:switch(_e){case 1:_e=0,Ot=null,ia(e,t,o,1);break;case 2:case 9:if(If(o)){_e=0,Ot=null,Yh(t);break}t=function(){_e!==2&&_e!==9||Be!==e||(_e=7),un(e)},o.then(t,t);break e;case 3:_e=7;break e;case 4:_e=5;break e;case 7:If(o)?(_e=0,Ot=null,Yh(t)):(_e=0,Ot=null,ia(e,t,o,7));break;case 5:var p=null;switch(Ne.tag){case 26:p=Ne.memoizedState;case 5:case 27:var S=Ne;if(!p||Em(p)){_e=0,Ot=null;var A=S.sibling;if(A!==null)Ne=A;else{var C=S.return;C!==null?(Ne=C,zr(C)):Ne=null}break t}}_e=0,Ot=null,ia(e,t,o,5);break;case 6:_e=0,Ot=null,ia(e,t,o,6);break;case 8:sc(),Ge=6;break e;default:throw Error(u(462))}}f0();break}catch(B){Lh(e,B)}while(!0);return bn=ml=null,_.H=a,_.A=s,De=l,Ne!==null?0:(Be=null,we=0,Pi(),Ge)}function f0(){for(;Ne!==null&&!Li();)qh(Ne)}function qh(e){var t=hh(e.alternate,e,Rn);e.memoizedProps=e.pendingProps,t===null?zr(e):Ne=t}function Yh(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=uh(l,t,t.pendingProps,t.type,void 0,we);break;case 11:t=uh(l,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:As(t);default:ph(l,t),t=Ne=Vf(t,Rn),t=hh(l,t,Rn)}e.memoizedProps=e.pendingProps,t===null?zr(e):Ne=t}function ia(e,t,l,a){bn=ml=null,As(t),$l=null,Pa=0;var s=t.return;try{if(e0(e,s,t,l,we)){Ge=1,Sr(e,Ht(l,e.current)),Ne=null;return}}catch(o){if(s!==null)throw Ne=s,o;Ge=1,Sr(e,Ht(l,e.current)),Ne=null;return}t.flags&32768?(Ce||a===1?e=!0:ea||(we&536870912)!==0?e=!1:(Gn=e=!0,(a===2||a===9||a===3||a===6)&&(a=Xt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Vh(t,e)):zr(t)}function zr(e){var t=e;do{if((t.flags&32768)!==0){Vh(t,Gn);return}e=t.return;var l=n0(t.alternate,t,Rn);if(l!==null){Ne=l;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Ge===0&&(Ge=5)}function Vh(e,t){do{var l=l0(e.alternate,e);if(l!==null){l.flags&=32767,Ne=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Ne=e;return}Ne=e=l}while(e!==null);Ge=6,Ne=null}function Xh(e,t,l,a,s,o,p,S,A){e.cancelPendingCommit=null;do Or();while(ut!==0);if((De&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(o=t.lanes|t.childLanes,o|=es,Xg(e,l,o,p,S,A),e===Be&&(Ne=Be=null,we=0),na=t,Jn=e,la=l,ic=o,rc=s,_h=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,p0(Al,function(){return Jh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=_.T,_.T=null,s=J.p,J.p=2,p=De,De|=4;try{a0(e,t,l)}finally{De=p,J.p=s,_.T=a}}ut=1,Qh(),Gh(),Zh()}}function Qh(){if(ut===1){ut=0;var e=Jn,t=na,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=_.T,_.T=null;var a=J.p;J.p=2;var s=De;De|=4;try{wh(t,e);var o=Ec,p=Df(e.containerInfo),S=o.focusedElem,A=o.selectionRange;if(p!==S&&S&&S.ownerDocument&&Of(S.ownerDocument.documentElement,S)){if(A!==null&&Fu(S)){var C=A.start,B=A.end;if(B===void 0&&(B=C),"selectionStart"in S)S.selectionStart=C,S.selectionEnd=Math.min(B,S.value.length);else{var Q=S.ownerDocument||document,z=Q&&Q.defaultView||window;if(z.getSelection){var O=z.getSelection(),me=S.textContent.length,oe=Math.min(A.start,me),Ue=A.end===void 0?oe:Math.min(A.end,me);!O.extend&&oe>Ue&&(p=Ue,Ue=oe,oe=p);var j=zf(S,oe),w=zf(S,Ue);if(j&&w&&(O.rangeCount!==1||O.anchorNode!==j.node||O.anchorOffset!==j.offset||O.focusNode!==w.node||O.focusOffset!==w.offset)){var R=Q.createRange();R.setStart(j.node,j.offset),O.removeAllRanges(),oe>Ue?(O.addRange(R),O.extend(w.node,w.offset)):(R.setEnd(w.node,w.offset),O.addRange(R))}}}}for(Q=[],O=S;O=O.parentNode;)O.nodeType===1&&Q.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Q.length;S++){var q=Q[S];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}Xr=!!Sc,Ec=Sc=null}finally{De=s,J.p=a,_.T=l}}e.current=t,ut=2}}function Gh(){if(ut===2){ut=0;var e=Jn,t=na,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=_.T,_.T=null;var a=J.p;J.p=2;var s=De;De|=4;try{Eh(e,t.alternate,t)}finally{De=s,J.p=a,_.T=l}}ut=3}}function Zh(){if(ut===4||ut===3){ut=0,Bi();var e=Jn,t=na,l=la,a=_h;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ut=5:(ut=0,na=Jn=null,Kh(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(Kn=null),Ru(l),t=t.stateNode,Z&&typeof Z.onCommitFiberRoot=="function")try{Z.onCommitFiberRoot(L,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=_.T,s=J.p,J.p=2,_.T=null;try{for(var o=e.onRecoverableError,p=0;p<a.length;p++){var S=a[p];o(S.value,{componentStack:S.stack})}}finally{_.T=t,J.p=s}}(la&3)!==0&&Or(),un(e),s=e.pendingLanes,(l&4194090)!==0&&(s&42)!==0?e===uc?ri++:(ri=0,uc=e):ri=0,ui(0)}}function Kh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,qa(t)))}function Or(e){return Qh(),Gh(),Zh(),Jh()}function Jh(){if(ut!==5)return!1;var e=Jn,t=ic;ic=0;var l=Ru(la),a=_.T,s=J.p;try{J.p=32>l?32:l,_.T=null,l=rc,rc=null;var o=Jn,p=la;if(ut=0,na=Jn=null,la=0,(De&6)!==0)throw Error(u(331));var S=De;if(De|=4,Oh(o.current),Rh(o,o.current,p,l),De=S,ui(0,!1),Z&&typeof Z.onPostCommitFiberRoot=="function")try{Z.onPostCommitFiberRoot(L,o)}catch{}return!0}finally{J.p=s,_.T=a,Kh(e,t)}}function Fh(e,t,l){t=Ht(l,t),t=Hs(e.stateNode,t,2),e=Bn(e,t,2),e!==null&&(Na(e,2),un(e))}function Le(e,t,l){if(e.tag===3)Fh(e,e,l);else for(;t!==null;){if(t.tag===3){Fh(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Kn===null||!Kn.has(a))){e=Ht(l,e),l=Wd(2),a=Bn(t,l,2),a!==null&&(eh(l,a,t,e),Na(a,2),un(a));break}}t=t.return}}function fc(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new u0;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(l)||(tc=!0,s.add(l),e=d0.bind(null,e,t,l),t.then(e,e))}function d0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Be===e&&(we&l)===l&&(Ge===4||Ge===3&&(we&62914560)===we&&300>Nt()-ac?(De&2)===0&&aa(e,0):nc|=l,ta===we&&(ta=0)),un(e)}function $h(e,t){t===0&&(t=Go()),e=ql(e,t),e!==null&&(Na(e,t),un(e))}function h0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),$h(e,l)}function m0(e,t){var l=0;switch(e.tag){case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),$h(e,l)}function p0(e,t){return ba(e,t)}var Dr=null,ra=null,dc=!1,_r=!1,hc=!1,Sl=0;function un(e){e!==ra&&e.next===null&&(ra===null?Dr=ra=e:ra=ra.next=e),_r=!0,dc||(dc=!0,y0())}function ui(e,t){if(!hc&&_r){hc=!0;do for(var l=!1,a=Dr;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var o=0;else{var p=a.suspendedLanes,S=a.pingedLanes;o=(1<<31-de(42|e)+1)-1,o&=s&~(p&~S),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(l=!0,em(a,o))}else o=we,o=et(a,a===Be?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(o&3)===0||Ut(a,o)||(l=!0,em(a,o));a=a.next}while(l);hc=!1}}function g0(){Ph()}function Ph(){_r=dc=!1;var e=0;Sl!==0&&(A0()&&(e=Sl),Sl=0);for(var t=Nt(),l=null,a=Dr;a!==null;){var s=a.next,o=Ih(a,t);o===0?(a.next=null,l===null?Dr=s:l.next=s,s===null&&(ra=l)):(l=a,(e!==0||(o&3)!==0)&&(_r=!0)),a=s}ui(e)}function Ih(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var p=31-de(o),S=1<<p,A=s[p];A===-1?((S&l)===0||(S&a)!==0)&&(s[p]=Ft(S,t)):A<=t&&(e.expiredLanes|=S),o&=~S}if(t=Be,l=we,l=et(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(_e===2||_e===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Sa(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Ut(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Sa(a),Ru(l)){case 2:case 8:l=Ta;break;case 32:l=Al;break;case 268435456:l=Hi;break;default:l=Al}return a=Wh.bind(null,e),l=ba(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Sa(a),e.callbackPriority=2,e.callbackNode=null,2}function Wh(e,t){if(ut!==0&&ut!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Or()&&e.callbackNode!==l)return null;var a=we;return a=et(e,e===Be?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(kh(e,a,t),Ih(e,Nt()),e.callbackNode!=null&&e.callbackNode===l?Wh.bind(null,e):null)}function em(e,t){if(Or())return null;kh(e,t,!0)}function y0(){j0(function(){(De&6)!==0?ba(Ea,g0):Ph()})}function mc(){return Sl===0&&(Sl=Qo()),Sl}function tm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Qi(""+e)}function nm(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function x0(e,t,l,a,s){if(t==="submit"&&l&&l.stateNode===s){var o=tm((s[gt]||null).action),p=a.submitter;p&&(t=(t=p[gt]||null)?tm(t.formAction):p.getAttribute("formAction"),t!==null&&(o=t,p=null));var S=new Ji("action","action",null,a,s);e.push({event:S,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Sl!==0){var A=p?nm(s,p):new FormData(s);Ms(l,{pending:!0,data:A,method:s.method,action:o},null,A)}}else typeof o=="function"&&(S.preventDefault(),A=p?nm(s,p):new FormData(s),Ms(l,{pending:!0,data:A,method:s.method,action:o},o,A))},currentTarget:s}]})}}for(var pc=0;pc<Wu.length;pc++){var gc=Wu[pc],v0=gc.toLowerCase(),b0=gc[0].toUpperCase()+gc.slice(1);$t(v0,"on"+b0)}$t(kf,"onAnimationEnd"),$t(Uf,"onAnimationIteration"),$t(Lf,"onAnimationStart"),$t("dblclick","onDoubleClick"),$t("focusin","onFocus"),$t("focusout","onBlur"),$t(Ly,"onTransitionRun"),$t(By,"onTransitionStart"),$t(Hy,"onTransitionCancel"),$t(Bf,"onTransitionEnd"),zl("onMouseEnter",["mouseout","mouseover"]),zl("onMouseLeave",["mouseout","mouseover"]),zl("onPointerEnter",["pointerout","pointerover"]),zl("onPointerLeave",["pointerout","pointerover"]),il("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),il("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),il("onBeforeInput",["compositionend","keypress","textInput","paste"]),il("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),il("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var si="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(" "),S0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(si));function lm(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],s=a.event;a=a.listeners;e:{var o=void 0;if(t)for(var p=a.length-1;0<=p;p--){var S=a[p],A=S.instance,C=S.currentTarget;if(S=S.listener,A!==o&&s.isPropagationStopped())break e;o=S,s.currentTarget=C;try{o(s)}catch(B){br(B)}s.currentTarget=null,o=A}else for(p=0;p<a.length;p++){if(S=a[p],A=S.instance,C=S.currentTarget,S=S.listener,A!==o&&s.isPropagationStopped())break e;o=S,s.currentTarget=C;try{o(s)}catch(B){br(B)}s.currentTarget=null,o=A}}}}function Ae(e,t){var l=t[Cu];l===void 0&&(l=t[Cu]=new Set);var a=e+"__bubble";l.has(a)||(am(t,e,2,!1),l.add(a))}function yc(e,t,l){var a=0;t&&(a|=4),am(l,e,a,t)}var Mr="_reactListening"+Math.random().toString(36).slice(2);function xc(e){if(!e[Mr]){e[Mr]=!0,$o.forEach(function(l){l!=="selectionchange"&&(S0.has(l)||yc(l,!1,e),yc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Mr]||(t[Mr]=!0,yc("selectionchange",!1,t))}}function am(e,t,l,a){switch(Rm(t)){case 2:var s=J0;break;case 8:s=F0;break;default:s=Dc}l=s.bind(null,t,l,e),s=void 0,!qu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,l,{capture:!0,passive:s}):e.addEventListener(t,l,!0):s!==void 0?e.addEventListener(t,l,{passive:s}):e.addEventListener(t,l,!1)}function vc(e,t,l,a,s){var o=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var p=a.tag;if(p===3||p===4){var S=a.stateNode.containerInfo;if(S===s)break;if(p===4)for(p=a.return;p!==null;){var A=p.tag;if((A===3||A===4)&&p.stateNode.containerInfo===s)return;p=p.return}for(;S!==null;){if(p=jl(S),p===null)return;if(A=p.tag,A===5||A===6||A===26||A===27){a=o=p;continue e}S=S.parentNode}}a=a.return}ff(function(){var C=o,B=Bu(l),Q=[];e:{var z=Hf.get(e);if(z!==void 0){var O=Ji,me=e;switch(e){case"keypress":if(Zi(l)===0)break e;case"keydown":case"keyup":O=py;break;case"focusin":me="focus",O=Qu;break;case"focusout":me="blur",O=Qu;break;case"beforeblur":case"afterblur":O=Qu;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=mf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=ly;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=xy;break;case kf:case Uf:case Lf:O=ry;break;case Bf:O=by;break;case"scroll":case"scrollend":O=ty;break;case"wheel":O=Ey;break;case"copy":case"cut":case"paste":O=sy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=gf;break;case"toggle":case"beforetoggle":O=Ny}var oe=(t&4)!==0,Ue=!oe&&(e==="scroll"||e==="scrollend"),j=oe?z!==null?z+"Capture":null:z;oe=[];for(var w=C,R;w!==null;){var q=w;if(R=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||R===null||j===null||(q=ja(w,j),q!=null&&oe.push(ci(w,q,R))),Ue)break;w=w.return}0<oe.length&&(z=new O(z,me,null,l,B),Q.push({event:z,listeners:oe}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",z&&l!==Lu&&(me=l.relatedTarget||l.fromElement)&&(jl(me)||me[wl]))break e;if((O||z)&&(z=B.window===B?B:(z=B.ownerDocument)?z.defaultView||z.parentWindow:window,O?(me=l.relatedTarget||l.toElement,O=C,me=me?jl(me):null,me!==null&&(Ue=f(me),oe=me.tag,me!==Ue||oe!==5&&oe!==27&&oe!==6)&&(me=null)):(O=null,me=C),O!==me)){if(oe=mf,q="onMouseLeave",j="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(oe=gf,q="onPointerLeave",j="onPointerEnter",w="pointer"),Ue=O==null?z:wa(O),R=me==null?z:wa(me),z=new oe(q,w+"leave",O,l,B),z.target=Ue,z.relatedTarget=R,q=null,jl(B)===C&&(oe=new oe(j,w+"enter",me,l,B),oe.target=R,oe.relatedTarget=Ue,q=oe),Ue=q,O&&me)t:{for(oe=O,j=me,w=0,R=oe;R;R=ua(R))w++;for(R=0,q=j;q;q=ua(q))R++;for(;0<w-R;)oe=ua(oe),w--;for(;0<R-w;)j=ua(j),R--;for(;w--;){if(oe===j||j!==null&&oe===j.alternate)break t;oe=ua(oe),j=ua(j)}oe=null}else oe=null;O!==null&&im(Q,z,O,oe,!1),me!==null&&Ue!==null&&im(Q,Ue,me,oe,!0)}}e:{if(z=C?wa(C):window,O=z.nodeName&&z.nodeName.toLowerCase(),O==="select"||O==="input"&&z.type==="file")var W=Nf;else if(Ef(z))if(Af)W=My;else{W=Dy;var Ee=Oy}else O=z.nodeName,!O||O.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?C&&Uu(C.elementType)&&(W=Nf):W=_y;if(W&&(W=W(e,C))){Tf(Q,W,l,B);break e}Ee&&Ee(e,z,C),e==="focusout"&&C&&z.type==="number"&&C.memoizedProps.value!=null&&ku(z,"number",z.value)}switch(Ee=C?wa(C):window,e){case"focusin":(Ef(Ee)||Ee.contentEditable==="true")&&(Ll=Ee,$u=C,ka=null);break;case"focusout":ka=$u=Ll=null;break;case"mousedown":Pu=!0;break;case"contextmenu":case"mouseup":case"dragend":Pu=!1,_f(Q,l,B);break;case"selectionchange":if(Uy)break;case"keydown":case"keyup":_f(Q,l,B)}var re;if(Zu)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else Ul?bf(e,l)&&(fe="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(fe="onCompositionStart");fe&&(yf&&l.locale!=="ko"&&(Ul||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&Ul&&(re=df()):(Mn=B,Yu="value"in Mn?Mn.value:Mn.textContent,Ul=!0)),Ee=kr(C,fe),0<Ee.length&&(fe=new pf(fe,e,null,l,B),Q.push({event:fe,listeners:Ee}),re?fe.data=re:(re=Sf(l),re!==null&&(fe.data=re)))),(re=wy?jy(e,l):Ry(e,l))&&(fe=kr(C,"onBeforeInput"),0<fe.length&&(Ee=new pf("onBeforeInput","beforeinput",null,l,B),Q.push({event:Ee,listeners:fe}),Ee.data=re)),x0(Q,e,C,l,B)}lm(Q,t)})}function ci(e,t,l){return{instance:e,listener:t,currentTarget:l}}function kr(e,t){for(var l=t+"Capture",a=[];e!==null;){var s=e,o=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||o===null||(s=ja(e,l),s!=null&&a.unshift(ci(e,s,o)),s=ja(e,t),s!=null&&a.push(ci(e,s,o))),e.tag===3)return a;e=e.return}return[]}function ua(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function im(e,t,l,a,s){for(var o=t._reactName,p=[];l!==null&&l!==a;){var S=l,A=S.alternate,C=S.stateNode;if(S=S.tag,A!==null&&A===a)break;S!==5&&S!==26&&S!==27||C===null||(A=C,s?(C=ja(l,o),C!=null&&p.unshift(ci(l,C,A))):s||(C=ja(l,o),C!=null&&p.push(ci(l,C,A)))),l=l.return}p.length!==0&&e.push({event:t,listeners:p})}var E0=/\r\n?/g,T0=/\u0000|\uFFFD/g;function rm(e){return(typeof e=="string"?e:""+e).replace(E0,`
9
+ `).replace(T0,"")}function um(e,t){return t=rm(t),rm(e)===t}function Ur(){}function ke(e,t,l,a,s,o){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||_l(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&_l(e,""+a);break;case"className":Yi(e,"class",a);break;case"tabIndex":Yi(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Yi(e,l,a);break;case"style":cf(e,a,o);break;case"data":if(t!=="object"){Yi(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Qi(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(l==="formAction"?(t!=="input"&&ke(e,t,"name",s.name,s,null),ke(e,t,"formEncType",s.formEncType,s,null),ke(e,t,"formMethod",s.formMethod,s,null),ke(e,t,"formTarget",s.formTarget,s,null)):(ke(e,t,"encType",s.encType,s,null),ke(e,t,"method",s.method,s,null),ke(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Qi(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Ur);break;case"onScroll":a!=null&&Ae("scroll",e);break;case"onScrollEnd":a!=null&&Ae("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(l=a.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Qi(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":Ae("beforetoggle",e),Ae("toggle",e),qi(e,"popover",a);break;case"xlinkActuate":pn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":pn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":pn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":pn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":pn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":pn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":pn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":pn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":pn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":qi(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Wg.get(l)||l,qi(e,l,a))}}function bc(e,t,l,a,s,o){switch(l){case"style":cf(e,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(l=a.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof a=="string"?_l(e,a):(typeof a=="number"||typeof a=="bigint")&&_l(e,""+a);break;case"onScroll":a!=null&&Ae("scroll",e);break;case"onScrollEnd":a!=null&&Ae("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Ur);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Po.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(s=l.endsWith("Capture"),t=l.slice(2,s?l.length-7:void 0),o=e[gt]||null,o=o!=null?o[l]:null,typeof o=="function"&&e.removeEventListener(t,o,s),typeof a=="function")){typeof o!="function"&&o!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,s);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):qi(e,l,a)}}}function st(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",e),Ae("load",e);var a=!1,s=!1,o;for(o in l)if(l.hasOwnProperty(o)){var p=l[o];if(p!=null)switch(o){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:ke(e,t,o,p,l,null)}}s&&ke(e,t,"srcSet",l.srcSet,l,null),a&&ke(e,t,"src",l.src,l,null);return;case"input":Ae("invalid",e);var S=o=p=s=null,A=null,C=null;for(a in l)if(l.hasOwnProperty(a)){var B=l[a];if(B!=null)switch(a){case"name":s=B;break;case"type":p=B;break;case"checked":A=B;break;case"defaultChecked":C=B;break;case"value":o=B;break;case"defaultValue":S=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(u(137,t));break;default:ke(e,t,a,B,l,null)}}af(e,o,S,A,C,p,s,!1),Vi(e);return;case"select":Ae("invalid",e),a=p=o=null;for(s in l)if(l.hasOwnProperty(s)&&(S=l[s],S!=null))switch(s){case"value":o=S;break;case"defaultValue":p=S;break;case"multiple":a=S;default:ke(e,t,s,S,l,null)}t=o,l=p,e.multiple=!!a,t!=null?Dl(e,!!a,t,!1):l!=null&&Dl(e,!!a,l,!0);return;case"textarea":Ae("invalid",e),o=s=a=null;for(p in l)if(l.hasOwnProperty(p)&&(S=l[p],S!=null))switch(p){case"value":a=S;break;case"defaultValue":s=S;break;case"children":o=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(u(91));break;default:ke(e,t,p,S,l,null)}uf(e,a,s,o),Vi(e);return;case"option":for(A in l)l.hasOwnProperty(A)&&(a=l[A],a!=null)&&(A==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":ke(e,t,A,a,l,null));return;case"dialog":Ae("beforetoggle",e),Ae("toggle",e),Ae("cancel",e),Ae("close",e);break;case"iframe":case"object":Ae("load",e);break;case"video":case"audio":for(a=0;a<si.length;a++)Ae(si[a],e);break;case"image":Ae("error",e),Ae("load",e);break;case"details":Ae("toggle",e);break;case"embed":case"source":case"link":Ae("error",e),Ae("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(C in l)if(l.hasOwnProperty(C)&&(a=l[C],a!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:ke(e,t,C,a,l,null)}return;default:if(Uu(t)){for(B in l)l.hasOwnProperty(B)&&(a=l[B],a!==void 0&&bc(e,t,B,a,l,void 0));return}}for(S in l)l.hasOwnProperty(S)&&(a=l[S],a!=null&&ke(e,t,S,a,l,null))}function N0(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,o=null,p=null,S=null,A=null,C=null,B=null;for(O in l){var Q=l[O];if(l.hasOwnProperty(O)&&Q!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":A=Q;default:a.hasOwnProperty(O)||ke(e,t,O,null,a,Q)}}for(var z in a){var O=a[z];if(Q=l[z],a.hasOwnProperty(z)&&(O!=null||Q!=null))switch(z){case"type":o=O;break;case"name":s=O;break;case"checked":C=O;break;case"defaultChecked":B=O;break;case"value":p=O;break;case"defaultValue":S=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(u(137,t));break;default:O!==Q&&ke(e,t,z,O,a,Q)}}Mu(e,p,S,A,C,B,o,s);return;case"select":O=p=S=z=null;for(o in l)if(A=l[o],l.hasOwnProperty(o)&&A!=null)switch(o){case"value":break;case"multiple":O=A;default:a.hasOwnProperty(o)||ke(e,t,o,null,a,A)}for(s in a)if(o=a[s],A=l[s],a.hasOwnProperty(s)&&(o!=null||A!=null))switch(s){case"value":z=o;break;case"defaultValue":S=o;break;case"multiple":p=o;default:o!==A&&ke(e,t,s,o,a,A)}t=S,l=p,a=O,z!=null?Dl(e,!!l,z,!1):!!a!=!!l&&(t!=null?Dl(e,!!l,t,!0):Dl(e,!!l,l?[]:"",!1));return;case"textarea":O=z=null;for(S in l)if(s=l[S],l.hasOwnProperty(S)&&s!=null&&!a.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:ke(e,t,S,null,a,s)}for(p in a)if(s=a[p],o=l[p],a.hasOwnProperty(p)&&(s!=null||o!=null))switch(p){case"value":z=s;break;case"defaultValue":O=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==o&&ke(e,t,p,s,a,o)}rf(e,z,O);return;case"option":for(var me in l)z=l[me],l.hasOwnProperty(me)&&z!=null&&!a.hasOwnProperty(me)&&(me==="selected"?e.selected=!1:ke(e,t,me,null,a,z));for(A in a)z=a[A],O=l[A],a.hasOwnProperty(A)&&z!==O&&(z!=null||O!=null)&&(A==="selected"?e.selected=z&&typeof z!="function"&&typeof z!="symbol":ke(e,t,A,z,a,O));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 oe in l)z=l[oe],l.hasOwnProperty(oe)&&z!=null&&!a.hasOwnProperty(oe)&&ke(e,t,oe,null,a,z);for(C in a)if(z=a[C],O=l[C],a.hasOwnProperty(C)&&z!==O&&(z!=null||O!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(u(137,t));break;default:ke(e,t,C,z,a,O)}return;default:if(Uu(t)){for(var Ue in l)z=l[Ue],l.hasOwnProperty(Ue)&&z!==void 0&&!a.hasOwnProperty(Ue)&&bc(e,t,Ue,void 0,a,z);for(B in a)z=a[B],O=l[B],!a.hasOwnProperty(B)||z===O||z===void 0&&O===void 0||bc(e,t,B,z,a,O);return}}for(var j in l)z=l[j],l.hasOwnProperty(j)&&z!=null&&!a.hasOwnProperty(j)&&ke(e,t,j,null,a,z);for(Q in a)z=a[Q],O=l[Q],!a.hasOwnProperty(Q)||z===O||z==null&&O==null||ke(e,t,Q,z,a,O)}var Sc=null,Ec=null;function Lr(e){return e.nodeType===9?e:e.ownerDocument}function sm(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Tc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Nc=null;function A0(){var e=window.event;return e&&e.type==="popstate"?e===Nc?!1:(Nc=e,!0):(Nc=null,!1)}var om=typeof setTimeout=="function"?setTimeout:void 0,w0=typeof clearTimeout=="function"?clearTimeout:void 0,fm=typeof Promise=="function"?Promise:void 0,j0=typeof queueMicrotask=="function"?queueMicrotask:typeof fm<"u"?function(e){return fm.resolve(null).then(e).catch(R0)}:om;function R0(e){setTimeout(function(){throw e})}function $n(e){return e==="head"}function dm(e,t){var l=t,a=0,s=0;do{var o=l.nextSibling;if(e.removeChild(l),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(0<a&&8>a){l=a;var p=e.ownerDocument;if(l&1&&oi(p.documentElement),l&2&&oi(p.body),l&4)for(l=p.head,oi(l),p=l.firstChild;p;){var S=p.nextSibling,A=p.nodeName;p[Aa]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&p.rel.toLowerCase()==="stylesheet"||l.removeChild(p),p=S}}if(s===0){e.removeChild(o),xi(t);return}s--}else l==="$"||l==="$?"||l==="$!"?s++:a=l.charCodeAt(0)-48;else a=0;l=o}while(l);xi(t)}function Ac(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ac(l),zu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function C0(e,t,l,a){for(;e.nodeType===1;){var s=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Aa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var o=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=It(e.nextSibling),e===null)break}return null}function z0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=It(e.nextSibling),e===null))return null;return e}function wc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function O0(e,t){var l=e.ownerDocument;if(e.data!=="$?"||l.readyState==="complete")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function It(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var jc=null;function hm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(t===0)return e;t--}else l==="/$"&&t++}e=e.previousSibling}return null}function mm(e,t,l){switch(t=Lr(l),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function oi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);zu(e)}var Gt=new Map,pm=new Set;function Br(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Cn=J.d;J.d={f:D0,r:_0,D:M0,C:k0,L:U0,m:L0,X:H0,S:B0,M:q0};function D0(){var e=Cn.f(),t=Cr();return e||t}function _0(e){var t=Rl(e);t!==null&&t.tag===5&&t.type==="form"?kd(t):Cn.r(e)}var sa=typeof document>"u"?null:document;function gm(e,t,l){var a=sa;if(a&&typeof t=="string"&&t){var s=Bt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),pm.has(s)||(pm.add(s),e={rel:e,crossOrigin:l,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),st(t,"link",e),tt(t),a.head.appendChild(t)))}}function M0(e){Cn.D(e),gm("dns-prefetch",e,null)}function k0(e,t){Cn.C(e,t),gm("preconnect",e,t)}function U0(e,t,l){Cn.L(e,t,l);var a=sa;if(a&&e&&t){var s='link[rel="preload"][as="'+Bt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+Bt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+Bt(l.imageSizes)+'"]')):s+='[href="'+Bt(e)+'"]';var o=s;switch(t){case"style":o=ca(e);break;case"script":o=oa(e)}Gt.has(o)||(e=y({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Gt.set(o,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(fi(o))||t==="script"&&a.querySelector(di(o))||(t=a.createElement("link"),st(t,"link",e),tt(t),a.head.appendChild(t)))}}function L0(e,t){Cn.m(e,t);var l=sa;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Bt(a)+'"][href="'+Bt(e)+'"]',o=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=oa(e)}if(!Gt.has(o)&&(e=y({rel:"modulepreload",href:e},t),Gt.set(o,e),l.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(di(o)))return}a=l.createElement("link"),st(a,"link",e),tt(a),l.head.appendChild(a)}}}function B0(e,t,l){Cn.S(e,t,l);var a=sa;if(a&&e){var s=Cl(a).hoistableStyles,o=ca(e);t=t||"default";var p=s.get(o);if(!p){var S={loading:0,preload:null};if(p=a.querySelector(fi(o)))S.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Gt.get(o))&&Rc(e,l);var A=p=a.createElement("link");tt(A),st(A,"link",e),A._p=new Promise(function(C,B){A.onload=C,A.onerror=B}),A.addEventListener("load",function(){S.loading|=1}),A.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Hr(p,t,a)}p={type:"stylesheet",instance:p,count:1,state:S},s.set(o,p)}}}function H0(e,t){Cn.X(e,t);var l=sa;if(l&&e){var a=Cl(l).hoistableScripts,s=oa(e),o=a.get(s);o||(o=l.querySelector(di(s)),o||(e=y({src:e,async:!0},t),(t=Gt.get(s))&&Cc(e,t),o=l.createElement("script"),tt(o),st(o,"link",e),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}}function q0(e,t){Cn.M(e,t);var l=sa;if(l&&e){var a=Cl(l).hoistableScripts,s=oa(e),o=a.get(s);o||(o=l.querySelector(di(s)),o||(e=y({src:e,async:!0,type:"module"},t),(t=Gt.get(s))&&Cc(e,t),o=l.createElement("script"),tt(o),st(o,"link",e),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(s,o))}}function ym(e,t,l,a){var s=(s=ne.current)?Br(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=ca(l.href),l=Cl(s).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ca(l.href);var o=Cl(s).hoistableStyles,p=o.get(e);if(p||(s=s.ownerDocument||s,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,p),(o=s.querySelector(fi(e)))&&!o._p&&(p.instance=o,p.state.loading=5),Gt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Gt.set(e,l),o||Y0(s,e,l,p.state))),t&&a===null)throw Error(u(528,""));return p}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=oa(l),l=Cl(s).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function ca(e){return'href="'+Bt(e)+'"'}function fi(e){return'link[rel="stylesheet"]['+e+"]"}function xm(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function Y0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),st(t,"link",l),tt(t),e.head.appendChild(t))}function oa(e){return'[src="'+Bt(e)+'"]'}function di(e){return"script[async]"+e}function vm(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Bt(l.href)+'"]');if(a)return t.instance=a,tt(a),a;var s=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),tt(a),st(a,"style",s),Hr(a,l.precedence,e),t.instance=a;case"stylesheet":s=ca(l.href);var o=e.querySelector(fi(s));if(o)return t.state.loading|=4,t.instance=o,tt(o),o;a=xm(l),(s=Gt.get(s))&&Rc(a,s),o=(e.ownerDocument||e).createElement("link"),tt(o);var p=o;return p._p=new Promise(function(S,A){p.onload=S,p.onerror=A}),st(o,"link",a),t.state.loading|=4,Hr(o,l.precedence,e),t.instance=o;case"script":return o=oa(l.src),(s=e.querySelector(di(o)))?(t.instance=s,tt(s),s):(a=l,(s=Gt.get(o))&&(a=y({},l),Cc(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),tt(s),st(s,"link",a),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Hr(a,l.precedence,e));return t.instance}function Hr(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,o=s,p=0;p<a.length;p++){var S=a[p];if(S.dataset.precedence===t)o=S;else if(o!==s)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Rc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Cc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var qr=null;function bm(e,t,l){if(qr===null){var a=new Map,s=qr=new Map;s.set(l,a)}else s=qr,a=s.get(l),a||(a=new Map,s.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),s=0;s<l.length;s++){var o=l[s];if(!(o[Aa]||o[ct]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var p=o.getAttribute(t)||"";p=e+p;var S=a.get(p);S?S.push(o):a.set(p,[o])}}return a}function Sm(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function V0(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Em(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var hi=null;function X0(){}function Q0(e,t,l){if(hi===null)throw Error(u(475));var a=hi;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var s=ca(l.href),o=e.querySelector(fi(s));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=Yr.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=o,tt(o);return}o=e.ownerDocument||e,l=xm(l),(s=Gt.get(s))&&Rc(l,s),o=o.createElement("link"),tt(o);var p=o;p._p=new Promise(function(S,A){p.onload=S,p.onerror=A}),st(o,"link",l),t.instance=o}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=Yr.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function G0(){if(hi===null)throw Error(u(475));var e=hi;return e.stylesheets&&e.count===0&&zc(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&zc(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function Yr(){if(this.count--,this.count===0){if(this.stylesheets)zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Vr=null;function zc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Vr=new Map,t.forEach(Z0,e),Vr=null,Yr.call(e))}function Z0(e,t){if(!(t.state.loading&4)){var l=Vr.get(e);if(l)var a=l.get(null);else{l=new Map,Vr.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<s.length;o++){var p=s[o];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(l.set(p.dataset.precedence,p),a=p)}a&&l.set(null,a)}s=t.instance,p=s.getAttribute("data-precedence"),o=l.get(p)||a,o===a&&l.set(null,s),l.set(p,s),this.count++,a=Yr.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),o?o.parentNode.insertBefore(s,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var mi={$$typeof:G,Provider:null,Consumer:null,_currentValue:ae,_currentValue2:ae,_threadCount:0};function K0(e,t,l,a,s,o,p,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wu(0),this.hiddenUpdates=wu(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=o,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Tm(e,t,l,a,s,o,p,S,A,C,B,Q){return e=new K0(e,t,l,p,S,A,C,Q),t=1,o===!0&&(t|=24),o=Rt(3,null,null,t),e.current=o,o.stateNode=e,t=fs(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:a,isDehydrated:l,cache:t},ps(o),e}function Nm(e){return e?(e=Yl,e):Yl}function Am(e,t,l,a,s,o){s=Nm(s),a.context===null?a.context=s:a.pendingContext=s,a=Ln(t),a.payload={element:l},o=o===void 0?null:o,o!==null&&(a.callback=o),l=Bn(e,a,t),l!==null&&(_t(l,e,t),Qa(l,e,t))}function wm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Oc(e,t){wm(e,t),(e=e.alternate)&&wm(e,t)}function jm(e){if(e.tag===13){var t=ql(e,67108864);t!==null&&_t(t,e,67108864),Oc(e,67108864)}}var Xr=!0;function J0(e,t,l,a){var s=_.T;_.T=null;var o=J.p;try{J.p=2,Dc(e,t,l,a)}finally{J.p=o,_.T=s}}function F0(e,t,l,a){var s=_.T;_.T=null;var o=J.p;try{J.p=8,Dc(e,t,l,a)}finally{J.p=o,_.T=s}}function Dc(e,t,l,a){if(Xr){var s=_c(a);if(s===null)vc(e,t,a,Qr,l),Cm(e,a);else if(P0(s,e,t,l,a))a.stopPropagation();else if(Cm(e,a),t&4&&-1<$0.indexOf(e)){for(;s!==null;){var o=Rl(s);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var p=wt(o.pendingLanes);if(p!==0){var S=o;for(S.pendingLanes|=2,S.entangledLanes|=2;p;){var A=1<<31-de(p);S.entanglements[1]|=A,p&=~A}un(o),(De&6)===0&&(jr=Nt()+500,ui(0))}}break;case 13:S=ql(o,2),S!==null&&_t(S,o,2),Cr(),Oc(o,2)}if(o=_c(a),o===null&&vc(e,t,a,Qr,l),o===s)break;s=o}s!==null&&a.stopPropagation()}else vc(e,t,a,null,l)}}function _c(e){return e=Bu(e),Mc(e)}var Qr=null;function Mc(e){if(Qr=null,e=jl(e),e!==null){var t=f(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=d(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Qr=e,null}function Rm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Eu()){case Ea:return 2;case Ta:return 8;case Al:case Tu:return 32;case Hi:return 268435456;default:return 32}default:return 32}}var kc=!1,Pn=null,In=null,Wn=null,pi=new Map,gi=new Map,el=[],$0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Cm(e,t){switch(e){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gi.delete(t.pointerId)}}function yi(e,t,l,a,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:o,targetContainers:[s]},t!==null&&(t=Rl(t),t!==null&&jm(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function P0(e,t,l,a,s){switch(t){case"focusin":return Pn=yi(Pn,e,t,l,a,s),!0;case"dragenter":return In=yi(In,e,t,l,a,s),!0;case"mouseover":return Wn=yi(Wn,e,t,l,a,s),!0;case"pointerover":var o=s.pointerId;return pi.set(o,yi(pi.get(o)||null,e,t,l,a,s)),!0;case"gotpointercapture":return o=s.pointerId,gi.set(o,yi(gi.get(o)||null,e,t,l,a,s)),!0}return!1}function zm(e){var t=jl(e.target);if(t!==null){var l=f(t);if(l!==null){if(t=l.tag,t===13){if(t=d(l),t!==null){e.blockedOn=t,Qg(e.priority,function(){if(l.tag===13){var a=Dt();a=ju(a);var s=ql(l,a);s!==null&&_t(s,l,a),Oc(l,a)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=_c(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);Lu=a,l.target.dispatchEvent(a),Lu=null}else return t=Rl(l),t!==null&&jm(t),e.blockedOn=l,!1;t.shift()}return!0}function Om(e,t,l){Gr(e)&&l.delete(t)}function I0(){kc=!1,Pn!==null&&Gr(Pn)&&(Pn=null),In!==null&&Gr(In)&&(In=null),Wn!==null&&Gr(Wn)&&(Wn=null),pi.forEach(Om),gi.forEach(Om)}function Zr(e,t){e.blockedOn===t&&(e.blockedOn=null,kc||(kc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,I0)))}var Kr=null;function Dm(e){Kr!==e&&(Kr=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Kr===e&&(Kr=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(Mc(a||l)===null)continue;break}var o=Rl(l);o!==null&&(e.splice(t,3),t-=3,Ms(o,{pending:!0,data:s,method:l.method,action:a},a,s))}}))}function xi(e){function t(A){return Zr(A,e)}Pn!==null&&Zr(Pn,e),In!==null&&Zr(In,e),Wn!==null&&Zr(Wn,e),pi.forEach(t),gi.forEach(t);for(var l=0;l<el.length;l++){var a=el[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<el.length&&(l=el[0],l.blockedOn===null);)zm(l),l.blockedOn===null&&el.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var s=l[a],o=l[a+1],p=s[gt]||null;if(typeof o=="function")p||Dm(l);else if(p){var S=null;if(o&&o.hasAttribute("formAction")){if(s=o,p=o[gt]||null)S=p.formAction;else if(Mc(s)!==null)continue}else S=p.action;typeof S=="function"?l[a+1]=S:(l.splice(a,3),a-=3),Dm(l)}}}function Uc(e){this._internalRoot=e}Jr.prototype.render=Uc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var l=t.current,a=Dt();Am(l,a,e,t,null,null)},Jr.prototype.unmount=Uc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Am(e.current,2,null,e,null,null),Cr(),t[wl]=null}};function Jr(e){this._internalRoot=e}Jr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jo();e={blockedOn:null,target:e,priority:t};for(var l=0;l<el.length&&t!==0&&t<el[l].priority;l++);el.splice(l,0,e),l===0&&zm(e)}};var _m=i.version;if(_m!=="19.1.1")throw Error(u(527,_m,"19.1.1"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=g(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var W0={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fr.isDisabled&&Fr.supportsFiber)try{L=Fr.inject(W0),Z=Fr}catch{}}return bi.createRoot=function(e,t){if(!c(e))throw Error(u(299));var l=!1,a="",s=Fd,o=$d,p=Pd,S=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(S=t.unstable_transitionCallbacks)),t=Tm(e,1,!1,null,null,l,a,s,o,p,S,null),e[wl]=t.current,xc(e),new Uc(t)},bi.hydrateRoot=function(e,t,l){if(!c(e))throw Error(u(299));var a=!1,s="",o=Fd,p=$d,S=Pd,A=null,C=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(o=l.onUncaughtError),l.onCaughtError!==void 0&&(p=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(A=l.unstable_transitionCallbacks),l.formState!==void 0&&(C=l.formState)),t=Tm(e,1,!0,t,l??null,a,s,o,p,S,A,C),t.context=Nm(null),l=t.current,a=Dt(),a=ju(a),s=Ln(a),s.callback=null,Bn(l,s,a),l=a,t.current.lanes=l,Na(t,l),un(t),e[wl]=t.current,xc(e),new Jr(t)},bi.version="19.1.1",bi}var Xm;function cx(){if(Xm)return Bc.exports;Xm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Bc.exports=sx(),Bc.exports}var ox=cx(),k=Eo();const pa=So(k);var Qm="popstate";function fx(n={}){function i(c,f){let{pathname:d="/",search:h="",hash:g=""}=El(c.location.hash.substring(1));return!d.startsWith("/")&&!d.startsWith(".")&&(d="/"+d),ro("",{pathname:d,search:h,hash:g},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function r(c,f){let d=c.document.querySelector("base"),h="";if(d&&d.getAttribute("href")){let g=c.location.href,m=g.indexOf("#");h=m===-1?g:g.slice(0,m)}return h+"#"+(typeof f=="string"?f:Ci(f))}function u(c,f){Kt(c.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(f)})`)}return hx(i,r,u,n)}function Xe(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function Kt(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function dx(){return Math.random().toString(36).substring(2,10)}function Gm(n,i){return{usr:n.state,key:n.key,idx:i}}function ro(n,i,r=null,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?El(i):i,state:r,key:i&&i.key||u||dx()}}function Ci({pathname:n="/",search:i="",hash:r=""}){return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function El(n){let i={};if(n){let r=n.indexOf("#");r>=0&&(i.hash=n.substring(r),n=n.substring(0,r));let u=n.indexOf("?");u>=0&&(i.search=n.substring(u),n=n.substring(0,u)),n&&(i.pathname=n)}return i}function hx(n,i,r,u={}){let{window:c=document.defaultView,v5Compat:f=!1}=u,d=c.history,h="POP",g=null,m=y();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function y(){return(d.state||{idx:null}).idx}function b(){h="POP";let Y=y(),M=Y==null?null:Y-m;m=Y,g&&g({action:h,location:D.location,delta:M})}function N(Y,M){h="PUSH";let V=ro(D.location,Y,M);r&&r(V,Y),m=y()+1;let G=Gm(V,m),se=D.createHref(V);try{d.pushState(G,"",se)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;c.location.assign(se)}f&&g&&g({action:h,location:D.location,delta:1})}function E(Y,M){h="REPLACE";let V=ro(D.location,Y,M);r&&r(V,Y),m=y();let G=Gm(V,m),se=D.createHref(V);d.replaceState(G,"",se),f&&g&&g({action:h,location:D.location,delta:0})}function U(Y){return mx(Y)}let D={get action(){return h},get location(){return n(c,d)},listen(Y){if(g)throw new Error("A history only accepts one active listener");return c.addEventListener(Qm,b),g=Y,()=>{c.removeEventListener(Qm,b),g=null}},createHref(Y){return i(c,Y)},createURL:U,encodeLocation(Y){let M=U(Y);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:N,replace:E,go(Y){return d.go(Y)}};return D}function mx(n,i=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Xe(r,"No window.location.(origin|href) available to create URL");let u=typeof n=="string"?n:Ci(n);return u=u.replace(/ $/,"%20"),!i&&u.startsWith("//")&&(u=r+u),new URL(u,r)}function Lp(n,i,r="/"){return px(n,i,r,!1)}function px(n,i,r,u){let c=typeof i=="string"?El(i):i,f=On(c.pathname||"/",r);if(f==null)return null;let d=Bp(n);gx(d);let h=null;for(let g=0;h==null&&g<d.length;++g){let m=jx(f);h=Ax(d[g],m,u)}return h}function Bp(n,i=[],r=[],u="",c=!1){let f=(d,h,g=c,m)=>{let y={relativePath:m===void 0?d.path||"":m,caseSensitive:d.caseSensitive===!0,childrenIndex:h,route:d};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(u)&&g)return;Xe(y.relativePath.startsWith(u),`Absolute route path "${y.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(u.length)}let b=zn([u,y.relativePath]),N=r.concat(y);d.children&&d.children.length>0&&(Xe(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Bp(d.children,i,N,b,g)),!(d.path==null&&!d.index)&&i.push({path:b,score:Tx(b,d.index),routesMeta:N})};return n.forEach((d,h)=>{if(d.path===""||!d.path?.includes("?"))f(d,h);else for(let g of Hp(d.path))f(d,h,!0,g)}),i}function Hp(n){let i=n.split("/");if(i.length===0)return[];let[r,...u]=i,c=r.endsWith("?"),f=r.replace(/\?$/,"");if(u.length===0)return c?[f,""]:[f];let d=Hp(u.join("/")),h=[];return h.push(...d.map(g=>g===""?f:[f,g].join("/"))),c&&h.push(...d),h.map(g=>n.startsWith("/")&&g===""?"/":g)}function gx(n){n.sort((i,r)=>i.score!==r.score?r.score-i.score:Nx(i.routesMeta.map(u=>u.childrenIndex),r.routesMeta.map(u=>u.childrenIndex)))}var yx=/^:[\w-]+$/,xx=3,vx=2,bx=1,Sx=10,Ex=-2,Zm=n=>n==="*";function Tx(n,i){let r=n.split("/"),u=r.length;return r.some(Zm)&&(u+=Ex),i&&(u+=vx),r.filter(c=>!Zm(c)).reduce((c,f)=>c+(yx.test(f)?xx:f===""?bx:Sx),u)}function Nx(n,i){return n.length===i.length&&n.slice(0,-1).every((u,c)=>u===i[c])?n[n.length-1]-i[i.length-1]:0}function Ax(n,i,r=!1){let{routesMeta:u}=n,c={},f="/",d=[];for(let h=0;h<u.length;++h){let g=u[h],m=h===u.length-1,y=f==="/"?i:i.slice(f.length)||"/",b=lu({path:g.relativePath,caseSensitive:g.caseSensitive,end:m},y),N=g.route;if(!b&&m&&r&&!u[u.length-1].route.index&&(b=lu({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},y)),!b)return null;Object.assign(c,b.params),d.push({params:c,pathname:zn([f,b.pathname]),pathnameBase:Ox(zn([f,b.pathnameBase])),route:N}),b.pathnameBase!=="/"&&(f=zn([f,b.pathnameBase]))}return d}function lu(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[r,u]=wx(n.path,n.caseSensitive,n.end),c=i.match(r);if(!c)return null;let f=c[0],d=f.replace(/(.)\/+$/,"$1"),h=c.slice(1);return{params:u.reduce((m,{paramName:y,isOptional:b},N)=>{if(y==="*"){let U=h[N]||"";d=f.slice(0,f.length-U.length).replace(/(.)\/+$/,"$1")}const E=h[N];return b&&!E?m[y]=void 0:m[y]=(E||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:d,pattern:n}}function wx(n,i=!1,r=!0){Kt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let u=[],c="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,h,g)=>(u.push({paramName:h,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(u.push({paramName:"*"}),c+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?c+="\\/*$":n!==""&&n!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,i?void 0:"i"),u]}function jx(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Kt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),n}}function On(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let r=i.endsWith("/")?i.length-1:i.length,u=n.charAt(r);return u&&u!=="/"?null:n.slice(r)||"/"}var Rx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Cx(n,i="/"){let{pathname:r,search:u="",hash:c=""}=typeof n=="string"?El(n):n,f;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?f=Km(r.substring(1),"/"):f=Km(r,i)):f=i,{pathname:f,search:Dx(u),hash:_x(c)}}function Km(n,i){let r=i.replace(/\/+$/,"").split("/");return n.split("/").forEach(c=>{c===".."?r.length>1&&r.pop():c!=="."&&r.push(c)}),r.length>1?r.join("/"):"/"}function Xc(n,i,r,u){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function zx(n){return n.filter((i,r)=>r===0||i.route.path&&i.route.path.length>0)}function qp(n){let i=zx(n);return i.map((r,u)=>u===i.length-1?r.pathname:r.pathnameBase)}function Yp(n,i,r,u=!1){let c;typeof n=="string"?c=El(n):(c={...n},Xe(!c.pathname||!c.pathname.includes("?"),Xc("?","pathname","search",c)),Xe(!c.pathname||!c.pathname.includes("#"),Xc("#","pathname","hash",c)),Xe(!c.search||!c.search.includes("#"),Xc("#","search","hash",c)));let f=n===""||c.pathname==="",d=f?"/":c.pathname,h;if(d==null)h=r;else{let b=i.length-1;if(!u&&d.startsWith("..")){let N=d.split("/");for(;N[0]==="..";)N.shift(),b-=1;c.pathname=N.join("/")}h=b>=0?i[b]:"/"}let g=Cx(c,h),m=d&&d!=="/"&&d.endsWith("/"),y=(f||d===".")&&r.endsWith("/");return!g.pathname.endsWith("/")&&(m||y)&&(g.pathname+="/"),g}var zn=n=>n.join("/").replace(/\/\/+/g,"/"),Ox=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Dx=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,_x=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Mx=class{constructor(n,i,r,u=!1){this.status=n,this.statusText=i||"",this.internal=u,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function kx(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function Ux(n){return n.map(i=>i.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Vp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Xp(n,i){let r=n;if(typeof r!="string"||!Rx.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let u=r,c=!1;if(Vp)try{let f=new URL(window.location.href),d=r.startsWith("//")?new URL(f.protocol+r):new URL(r),h=On(d.pathname,i);d.origin===f.origin&&h!=null?r=h+d.search+d.hash:c=!0}catch{Kt(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:u,isExternal:c,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Qp=["POST","PUT","PATCH","DELETE"];new Set(Qp);var Lx=["GET",...Qp];new Set(Lx);var ga=k.createContext(null);ga.displayName="DataRouter";var ru=k.createContext(null);ru.displayName="DataRouterState";var Bx=k.createContext(!1),Gp=k.createContext({isTransitioning:!1});Gp.displayName="ViewTransition";var Hx=k.createContext(new Map);Hx.displayName="Fetchers";var qx=k.createContext(null);qx.displayName="Await";var Jt=k.createContext(null);Jt.displayName="Navigation";var Oi=k.createContext(null);Oi.displayName="Location";var Wt=k.createContext({outlet:null,matches:[],isDataRoute:!1});Wt.displayName="Route";var To=k.createContext(null);To.displayName="RouteError";var Zp="REACT_ROUTER_ERROR",Yx="REDIRECT",Vx="ROUTE_ERROR_RESPONSE";function Xx(n){if(n.startsWith(`${Zp}:${Yx}:{`))try{let i=JSON.parse(n.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function Qx(n){if(n.startsWith(`${Zp}:${Vx}:{`))try{let i=JSON.parse(n.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new Mx(i.status,i.statusText,i.data)}catch{}}function Gx(n,{relative:i}={}){Xe(Di(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:u}=k.useContext(Jt),{hash:c,pathname:f,search:d}=_i(n,{relative:i}),h=f;return r!=="/"&&(h=f==="/"?r:zn([r,f])),u.createHref({pathname:h,search:d,hash:c})}function Di(){return k.useContext(Oi)!=null}function Dn(){return Xe(Di(),"useLocation() may be used only in the context of a <Router> component."),k.useContext(Oi).location}var Kp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Jp(n){k.useContext(Jt).static||k.useLayoutEffect(n)}function No(){let{isDataRoute:n}=k.useContext(Wt);return n?iv():Zx()}function Zx(){Xe(Di(),"useNavigate() may be used only in the context of a <Router> component.");let n=k.useContext(ga),{basename:i,navigator:r}=k.useContext(Jt),{matches:u}=k.useContext(Wt),{pathname:c}=Dn(),f=JSON.stringify(qp(u)),d=k.useRef(!1);return Jp(()=>{d.current=!0}),k.useCallback((g,m={})=>{if(Kt(d.current,Kp),!d.current)return;if(typeof g=="number"){r.go(g);return}let y=Yp(g,JSON.parse(f),c,m.relative==="path");n==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:zn([i,y.pathname])),(m.replace?r.replace:r.push)(y,m.state,m)},[i,r,f,c,n])}var Fp=k.createContext(null);function uu(){return k.useContext(Fp)}function Kx(n){let i=k.useContext(Wt).outlet;return k.useMemo(()=>i&&k.createElement(Fp.Provider,{value:n},i),[i,n])}function su(){let{matches:n}=k.useContext(Wt),i=n[n.length-1];return i?i.params:{}}function _i(n,{relative:i}={}){let{matches:r}=k.useContext(Wt),{pathname:u}=Dn(),c=JSON.stringify(qp(r));return k.useMemo(()=>Yp(n,JSON.parse(c),u,i==="path"),[n,c,u,i])}function Jx(n,i){return $p(n,i)}function $p(n,i,r,u,c){Xe(Di(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=k.useContext(Jt),{matches:d}=k.useContext(Wt),h=d[d.length-1],g=h?h.params:{},m=h?h.pathname:"/",y=h?h.pathnameBase:"/",b=h&&h.route;{let V=b&&b.path||"";Ip(m,!b||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${V}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
+
11
+ Please change the parent <Route path="${V}"> to <Route path="${V==="/"?"*":`${V}/*`}">.`)}let N=Dn(),E;if(i){let V=typeof i=="string"?El(i):i;Xe(y==="/"||V.pathname?.startsWith(y),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${V.pathname}" was given in the \`location\` prop.`),E=V}else E=N;let U=E.pathname||"/",D=U;if(y!=="/"){let V=y.replace(/^\//,"").split("/");D="/"+U.replace(/^\//,"").split("/").slice(V.length).join("/")}let Y=Lp(n,{pathname:D});Kt(b||Y!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Kt(Y==null||Y[Y.length-1].route.element!==void 0||Y[Y.length-1].route.Component!==void 0||Y[Y.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let M=Wx(Y&&Y.map(V=>Object.assign({},V,{params:Object.assign({},g,V.params),pathname:zn([y,f.encodeLocation?f.encodeLocation(V.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?y:zn([y,f.encodeLocation?f.encodeLocation(V.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:V.pathnameBase])})),d,r,u,c);return i&&M?k.createElement(Oi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...E},navigationType:"POP"}},M):M}function Fx(){let n=av(),i=kx(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),r=n instanceof Error?n.stack:null,u="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:u},f={padding:"2px 4px",backgroundColor:u},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:f},"ErrorBoundary")," or"," ",k.createElement("code",{style:f},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},i),r?k.createElement("pre",{style:c},r):null,d)}var $x=k.createElement(Fx,null),Pp=class extends k.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const r=Qx(n.digest);r&&(n=r)}let i=n!==void 0?k.createElement(Wt.Provider,{value:this.props.routeContext},k.createElement(To.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?k.createElement(Px,{error:n},i):i}};Pp.contextType=Bx;var Qc=new WeakMap;function Px({children:n,error:i}){let{basename:r}=k.useContext(Jt);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let u=Xx(i.digest);if(u){let c=Qc.get(i);if(c)throw c;let f=Xp(u.location,r);if(Vp&&!Qc.get(i))if(f.isExternal||u.reloadDocument)window.location.href=f.absoluteURL||f.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:u.replace}));throw Qc.set(i,d),d}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f.absoluteURL||f.to}`})}}return n}function Ix({routeContext:n,match:i,children:r}){let u=k.useContext(ga);return u&&u.static&&u.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=i.route.id),k.createElement(Wt.Provider,{value:n},r)}function Wx(n,i=[],r=null,u=null,c=null){if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(i.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let f=n,d=r?.errors;if(d!=null){let y=f.findIndex(b=>b.route.id&&d?.[b.route.id]!==void 0);Xe(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,y+1))}let h=!1,g=-1;if(r)for(let y=0;y<f.length;y++){let b=f[y];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(g=y),b.route.id){let{loaderData:N,errors:E}=r,U=b.route.loader&&!N.hasOwnProperty(b.route.id)&&(!E||E[b.route.id]===void 0);if(b.route.lazy||U){h=!0,g>=0?f=f.slice(0,g+1):f=[f[0]];break}}}let m=r&&u?(y,b)=>{u(y,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Ux(r.matches),errorInfo:b})}:void 0;return f.reduceRight((y,b,N)=>{let E,U=!1,D=null,Y=null;r&&(E=d&&b.route.id?d[b.route.id]:void 0,D=b.route.errorElement||$x,h&&(g<0&&N===0?(Ip("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),U=!0,Y=null):g===N&&(U=!0,Y=b.route.hydrateFallbackElement||null)));let M=i.concat(f.slice(0,N+1)),V=()=>{let G;return E?G=D:U?G=Y:b.route.Component?G=k.createElement(b.route.Component,null):b.route.element?G=b.route.element:G=y,k.createElement(Ix,{match:b,routeContext:{outlet:y,matches:M,isDataRoute:r!=null},children:G})};return r&&(b.route.ErrorBoundary||b.route.errorElement||N===0)?k.createElement(Pp,{location:r.location,revalidation:r.revalidation,component:D,error:E,children:V(),routeContext:{outlet:null,matches:M,isDataRoute:!0},onError:m}):V()},null)}function Ao(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ev(n){let i=k.useContext(ga);return Xe(i,Ao(n)),i}function tv(n){let i=k.useContext(ru);return Xe(i,Ao(n)),i}function nv(n){let i=k.useContext(Wt);return Xe(i,Ao(n)),i}function wo(n){let i=nv(n),r=i.matches[i.matches.length-1];return Xe(r.route.id,`${n} can only be used on routes that contain a unique "id"`),r.route.id}function lv(){return wo("useRouteId")}function av(){let n=k.useContext(To),i=tv("useRouteError"),r=wo("useRouteError");return n!==void 0?n:i.errors?.[r]}function iv(){let{router:n}=ev("useNavigate"),i=wo("useNavigate"),r=k.useRef(!1);return Jp(()=>{r.current=!0}),k.useCallback(async(c,f={})=>{Kt(r.current,Kp),r.current&&(typeof c=="number"?await n.navigate(c):await n.navigate(c,{fromRouteId:i,...f}))},[n,i])}var Jm={};function Ip(n,i,r){!i&&!Jm[n]&&(Jm[n]=!0,Kt(!1,r))}k.memo(rv);function rv({routes:n,future:i,state:r,onError:u}){return $p(n,void 0,r,u,i)}function cu(n){return Kx(n.context)}function it(n){Xe(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function uv({basename:n="/",children:i=null,location:r,navigationType:u="POP",navigator:c,static:f=!1,unstable_useTransitions:d}){Xe(!Di(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),g=k.useMemo(()=>({basename:h,navigator:c,static:f,unstable_useTransitions:d,future:{}}),[h,c,f,d]);typeof r=="string"&&(r=El(r));let{pathname:m="/",search:y="",hash:b="",state:N=null,key:E="default"}=r,U=k.useMemo(()=>{let D=On(m,h);return D==null?null:{location:{pathname:D,search:y,hash:b,state:N,key:E},navigationType:u}},[h,m,y,b,N,E,u]);return Kt(U!=null,`<Router basename="${h}"> is not able to match the URL "${m}${y}${b}" because it does not start with the basename, so the <Router> won't render anything.`),U==null?null:k.createElement(Jt.Provider,{value:g},k.createElement(Oi.Provider,{children:i,value:U}))}function sv({children:n,location:i}){return Jx(uo(n),i)}function uo(n,i=[]){let r=[];return k.Children.forEach(n,(u,c)=>{if(!k.isValidElement(u))return;let f=[...i,c];if(u.type===k.Fragment){r.push.apply(r,uo(u.props.children,f));return}Xe(u.type===it,`[${typeof u.type=="string"?u.type:u.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Xe(!u.props.index||!u.props.children,"An index route cannot have child routes.");let d={id:u.props.id||f.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,middleware:u.props.middleware,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(d.children=uo(u.props.children,f)),r.push(d)}),r}var eu="get",tu="application/x-www-form-urlencoded";function ou(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function cv(n){return ou(n)&&n.tagName.toLowerCase()==="button"}function ov(n){return ou(n)&&n.tagName.toLowerCase()==="form"}function fv(n){return ou(n)&&n.tagName.toLowerCase()==="input"}function dv(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function hv(n,i){return n.button===0&&(!i||i==="_self")&&!dv(n)}function so(n=""){return new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((i,r)=>{let u=n[r];return i.concat(Array.isArray(u)?u.map(c=>[r,c]):[[r,u]])},[]))}function mv(n,i){let r=so(n);return i&&i.forEach((u,c)=>{r.has(c)||i.getAll(c).forEach(f=>{r.append(c,f)})}),r}var $r=null;function pv(){if($r===null)try{new FormData(document.createElement("form"),0),$r=!1}catch{$r=!0}return $r}var gv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Gc(n){return n!=null&&!gv.has(n)?(Kt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${tu}"`),null):n}function yv(n,i){let r,u,c,f,d;if(ov(n)){let h=n.getAttribute("action");u=h?On(h,i):null,r=n.getAttribute("method")||eu,c=Gc(n.getAttribute("enctype"))||tu,f=new FormData(n)}else if(cv(n)||fv(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||h.getAttribute("action");if(u=g?On(g,i):null,r=n.getAttribute("formmethod")||h.getAttribute("method")||eu,c=Gc(n.getAttribute("formenctype"))||Gc(h.getAttribute("enctype"))||tu,f=new FormData(h,n),!pv()){let{name:m,type:y,value:b}=n;if(y==="image"){let N=m?`${m}.`:"";f.append(`${N}x`,"0"),f.append(`${N}y`,"0")}else m&&f.append(m,b)}}else{if(ou(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=eu,u=null,c=tu,d=n}return f&&c==="text/plain"&&(d=f,f=void 0),{action:u,method:r.toLowerCase(),encType:c,formData:f,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function jo(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function xv(n,i,r,u){let c=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return r?c.pathname.endsWith("/")?c.pathname=`${c.pathname}_.${u}`:c.pathname=`${c.pathname}.${u}`:c.pathname==="/"?c.pathname=`_root.${u}`:i&&On(c.pathname,i)==="/"?c.pathname=`${i.replace(/\/$/,"")}/_root.${u}`:c.pathname=`${c.pathname.replace(/\/$/,"")}.${u}`,c}async function vv(n,i){if(n.id in i)return i[n.id];try{let r=await import(n.module);return i[n.id]=r,r}catch(r){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function bv(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function Sv(n,i,r){let u=await Promise.all(n.map(async c=>{let f=i.routes[c.route.id];if(f){let d=await vv(f,r);return d.links?d.links():[]}return[]}));return Av(u.flat(1).filter(bv).filter(c=>c.rel==="stylesheet"||c.rel==="preload").map(c=>c.rel==="stylesheet"?{...c,rel:"prefetch",as:"style"}:{...c,rel:"prefetch"}))}function Fm(n,i,r,u,c,f){let d=(g,m)=>r[m]?g.route.id!==r[m].route.id:!0,h=(g,m)=>r[m].pathname!==g.pathname||r[m].route.path?.endsWith("*")&&r[m].params["*"]!==g.params["*"];return f==="assets"?i.filter((g,m)=>d(g,m)||h(g,m)):f==="data"?i.filter((g,m)=>{let y=u.routes[g.route.id];if(!y||!y.hasLoader)return!1;if(d(g,m)||h(g,m))return!0;if(g.route.shouldRevalidate){let b=g.route.shouldRevalidate({currentUrl:new URL(c.pathname+c.search+c.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function Ev(n,i,{includeHydrateFallback:r}={}){return Tv(n.map(u=>{let c=i.routes[u.route.id];if(!c)return[];let f=[c.module];return c.clientActionModule&&(f=f.concat(c.clientActionModule)),c.clientLoaderModule&&(f=f.concat(c.clientLoaderModule)),r&&c.hydrateFallbackModule&&(f=f.concat(c.hydrateFallbackModule)),c.imports&&(f=f.concat(c.imports)),f}).flat(1))}function Tv(n){return[...new Set(n)]}function Nv(n){let i={},r=Object.keys(n).sort();for(let u of r)i[u]=n[u];return i}function Av(n,i){let r=new Set;return new Set(i),n.reduce((u,c)=>{let f=JSON.stringify(Nv(c));return r.has(f)||(r.add(f),u.push({key:f,link:c})),u},[])}function Wp(){let n=k.useContext(ga);return jo(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function wv(){let n=k.useContext(ru);return jo(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Ro=k.createContext(void 0);Ro.displayName="FrameworkContext";function eg(){let n=k.useContext(Ro);return jo(n,"You must render this element inside a <HydratedRouter> element"),n}function jv(n,i){let r=k.useContext(Ro),[u,c]=k.useState(!1),[f,d]=k.useState(!1),{onFocus:h,onBlur:g,onMouseEnter:m,onMouseLeave:y,onTouchStart:b}=i,N=k.useRef(null);k.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let D=M=>{M.forEach(V=>{d(V.isIntersecting)})},Y=new IntersectionObserver(D,{threshold:.5});return N.current&&Y.observe(N.current),()=>{Y.disconnect()}}},[n]),k.useEffect(()=>{if(u){let D=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(D)}}},[u]);let E=()=>{c(!0)},U=()=>{c(!1),d(!1)};return r?n!=="intent"?[f,N,{}]:[f,N,{onFocus:Si(h,E),onBlur:Si(g,U),onMouseEnter:Si(m,E),onMouseLeave:Si(y,U),onTouchStart:Si(b,E)}]:[!1,N,{}]}function Si(n,i){return r=>{n&&n(r),r.defaultPrevented||i(r)}}function Rv({page:n,...i}){let{router:r}=Wp(),u=k.useMemo(()=>Lp(r.routes,n,r.basename),[r.routes,n,r.basename]);return u?k.createElement(zv,{page:n,matches:u,...i}):null}function Cv(n){let{manifest:i,routeModules:r}=eg(),[u,c]=k.useState([]);return k.useEffect(()=>{let f=!1;return Sv(n,i,r).then(d=>{f||c(d)}),()=>{f=!0}},[n,i,r]),u}function zv({page:n,matches:i,...r}){let u=Dn(),{future:c,manifest:f,routeModules:d}=eg(),{basename:h}=Wp(),{loaderData:g,matches:m}=wv(),y=k.useMemo(()=>Fm(n,i,m,f,u,"data"),[n,i,m,f,u]),b=k.useMemo(()=>Fm(n,i,m,f,u,"assets"),[n,i,m,f,u]),N=k.useMemo(()=>{if(n===u.pathname+u.search+u.hash)return[];let D=new Set,Y=!1;if(i.forEach(V=>{let G=f.routes[V.route.id];!G||!G.hasLoader||(!y.some(se=>se.route.id===V.route.id)&&V.route.id in g&&d[V.route.id]?.shouldRevalidate||G.hasClientLoader?Y=!0:D.add(V.route.id))}),D.size===0)return[];let M=xv(n,h,c.unstable_trailingSlashAwareDataRequests,"data");return Y&&D.size>0&&M.searchParams.set("_routes",i.filter(V=>D.has(V.route.id)).map(V=>V.route.id).join(",")),[M.pathname+M.search]},[h,c.unstable_trailingSlashAwareDataRequests,g,u,f,y,i,n,d]),E=k.useMemo(()=>Ev(b,f),[b,f]),U=Cv(b);return k.createElement(k.Fragment,null,N.map(D=>k.createElement("link",{key:D,rel:"prefetch",as:"fetch",href:D,...r})),E.map(D=>k.createElement("link",{key:D,rel:"modulepreload",href:D,...r})),U.map(({key:D,link:Y})=>k.createElement("link",{key:D,nonce:r.nonce,...Y,crossOrigin:Y.crossOrigin??r.crossOrigin})))}function Ov(...n){return i=>{n.forEach(r=>{typeof r=="function"?r(i):r!=null&&(r.current=i)})}}var Dv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Dv&&(window.__reactRouterVersion="7.13.0")}catch{}function $m({basename:n,children:i,unstable_useTransitions:r,window:u}){let c=k.useRef();c.current==null&&(c.current=fx({window:u,v5Compat:!0}));let f=c.current,[d,h]=k.useState({action:f.action,location:f.location}),g=k.useCallback(m=>{r===!1?h(m):k.startTransition(()=>h(m))},[r]);return k.useLayoutEffect(()=>f.listen(g),[f,g]),k.createElement(uv,{basename:n,children:i,location:d.location,navigationType:d.action,navigator:f,unstable_useTransitions:r})}var tg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tl=k.forwardRef(function({onClick:i,discover:r="render",prefetch:u="none",relative:c,reloadDocument:f,replace:d,state:h,target:g,to:m,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:N,...E},U){let{basename:D,unstable_useTransitions:Y}=k.useContext(Jt),M=typeof m=="string"&&tg.test(m),V=Xp(m,D);m=V.to;let G=Gx(m,{relative:c}),[se,$,H]=jv(u,E),ue=kv(m,{replace:d,state:h,target:g,preventScrollReset:y,relative:c,viewTransition:b,unstable_defaultShouldRevalidate:N,unstable_useTransitions:Y});function ge(ye){i&&i(ye),ye.defaultPrevented||ue(ye)}let he=k.createElement("a",{...E,...H,href:V.absoluteURL||G,onClick:V.isExternal||f?i:ge,ref:Ov(U,$),target:g,"data-discover":!M&&r==="render"?"true":void 0});return se&&!M?k.createElement(k.Fragment,null,he,k.createElement(Rv,{page:G})):he});Tl.displayName="Link";var ng=k.forwardRef(function({"aria-current":i="page",caseSensitive:r=!1,className:u="",end:c=!1,style:f,to:d,viewTransition:h,children:g,...m},y){let b=_i(d,{relative:m.relative}),N=Dn(),E=k.useContext(ru),{navigator:U,basename:D}=k.useContext(Jt),Y=E!=null&&Yv(b)&&h===!0,M=U.encodeLocation?U.encodeLocation(b).pathname:b.pathname,V=N.pathname,G=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;r||(V=V.toLowerCase(),G=G?G.toLowerCase():null,M=M.toLowerCase()),G&&D&&(G=On(G,D)||G);const se=M!=="/"&&M.endsWith("/")?M.length-1:M.length;let $=V===M||!c&&V.startsWith(M)&&V.charAt(se)==="/",H=G!=null&&(G===M||!c&&G.startsWith(M)&&G.charAt(M.length)==="/"),ue={isActive:$,isPending:H,isTransitioning:Y},ge=$?i:void 0,he;typeof u=="function"?he=u(ue):he=[u,$?"active":null,H?"pending":null,Y?"transitioning":null].filter(Boolean).join(" ");let ye=typeof f=="function"?f(ue):f;return k.createElement(Tl,{...m,"aria-current":ge,className:he,ref:y,style:ye,to:d,viewTransition:h},typeof g=="function"?g(ue):g)});ng.displayName="NavLink";var _v=k.forwardRef(({discover:n="render",fetcherKey:i,navigate:r,reloadDocument:u,replace:c,state:f,method:d=eu,action:h,onSubmit:g,relative:m,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:N,...E},U)=>{let{unstable_useTransitions:D}=k.useContext(Jt),Y=Hv(),M=qv(h,{relative:m}),V=d.toLowerCase()==="get"?"get":"post",G=typeof h=="string"&&tg.test(h),se=$=>{if(g&&g($),$.defaultPrevented)return;$.preventDefault();let H=$.nativeEvent.submitter,ue=H?.getAttribute("formmethod")||d,ge=()=>Y(H||$.currentTarget,{fetcherKey:i,method:ue,navigate:r,replace:c,state:f,relative:m,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:N});D&&r!==!1?k.startTransition(()=>ge()):ge()};return k.createElement("form",{ref:U,method:V,action:M,onSubmit:u?g:se,...E,"data-discover":!G&&n==="render"?"true":void 0})});_v.displayName="Form";function Mv(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lg(n){let i=k.useContext(ga);return Xe(i,Mv(n)),i}function kv(n,{target:i,replace:r,state:u,preventScrollReset:c,relative:f,viewTransition:d,unstable_defaultShouldRevalidate:h,unstable_useTransitions:g}={}){let m=No(),y=Dn(),b=_i(n,{relative:f});return k.useCallback(N=>{if(hv(N,i)){N.preventDefault();let E=r!==void 0?r:Ci(y)===Ci(b),U=()=>m(n,{replace:E,state:u,preventScrollReset:c,relative:f,viewTransition:d,unstable_defaultShouldRevalidate:h});g?k.startTransition(()=>U()):U()}},[y,m,b,r,u,i,n,c,f,d,h,g])}function Uv(n){Kt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let i=k.useRef(so(n)),r=k.useRef(!1),u=Dn(),c=k.useMemo(()=>mv(u.search,r.current?null:i.current),[u.search]),f=No(),d=k.useCallback((h,g)=>{const m=so(typeof h=="function"?h(new URLSearchParams(c)):h);r.current=!0,f("?"+m,g)},[f,c]);return[c,d]}var Lv=0,Bv=()=>`__${String(++Lv)}__`;function Hv(){let{router:n}=lg("useSubmit"),{basename:i}=k.useContext(Jt),r=lv(),u=n.fetch,c=n.navigate;return k.useCallback(async(f,d={})=>{let{action:h,method:g,encType:m,formData:y,body:b}=yv(f,i);if(d.navigate===!1){let N=d.fetcherKey||Bv();await u(N,r,d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:y,body:b,formMethod:d.method||g,formEncType:d.encType||m,flushSync:d.flushSync})}else await c(d.action||h,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:y,body:b,formMethod:d.method||g,formEncType:d.encType||m,replace:d.replace,state:d.state,fromRouteId:r,flushSync:d.flushSync,viewTransition:d.viewTransition})},[u,c,i,r])}function qv(n,{relative:i}={}){let{basename:r}=k.useContext(Jt),u=k.useContext(Wt);Xe(u,"useFormAction must be used inside a RouteContext");let[c]=u.matches.slice(-1),f={..._i(n||".",{relative:i})},d=Dn();if(n==null){f.search=d.search;let h=new URLSearchParams(f.search),g=h.getAll("index");if(g.some(y=>y==="")){h.delete("index"),g.filter(b=>b).forEach(b=>h.append("index",b));let y=h.toString();f.search=y?`?${y}`:""}}return(!n||n===".")&&c.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(f.pathname=f.pathname==="/"?r:zn([r,f.pathname])),Ci(f)}function Yv(n,{relative:i}={}){let r=k.useContext(Gp);Xe(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=lg("useViewTransitionState"),c=_i(n,{relative:i});if(!r.isTransitioning)return!1;let f=On(r.currentLocation.pathname,u)||r.currentLocation.pathname,d=On(r.nextLocation.pathname,u)||r.nextLocation.pathname;return lu(c.pathname,d)!=null||lu(c.pathname,f)!=null}const Pm=()=>{const n=Dn(),i=[{title:"Events",to:"/events"},{title:"Attributes",to:"/attributes"},{title:"Destinations",to:"/destinations"},{title:"Effects",to:"/effects"}];return x.jsx("div",{className:"bg-zinc-900 p-4.5",children:x.jsx("div",{className:"max-w-3xl mx-auto",children:x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsx("div",{className:"flex items-center justify-start pl-4",children:x.jsxs("a",{href:"/",children:[x.jsx("img",{src:"/img/logo.png",className:"w-8 inline-block",alt:""}),x.jsx("img",{src:"/img/logo-text.png",className:"h-4 pl-3 inline-block opacity-95",alt:""})]})}),x.jsx("ul",{className:"flex gap-0 text-white text-sm justify-end pr-4",children:i.map(r=>x.jsx("li",{children:x.jsx(Tl,{to:r.to,className:`${n.pathname.startsWith(r.to)?"text-white bg-zinc-800 px-3 py-3 rounded-md":"text-zinc-400 px-3 py-2 rounded-md hover:text-white"}`,children:r.title})},r.title))})]})})})};function ag(n){var i,r,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(i=0;i<c;i++)n[i]&&(r=ag(n[i]))&&(u&&(u+=" "),u+=r)}else for(r in n)n[r]&&(u&&(u+=" "),u+=r);return u}function Vv(){for(var n,i,r=0,u="",c=arguments.length;r<c;r++)(n=arguments[r])&&(i=ag(n))&&(u&&(u+=" "),u+=i);return u}function Xv({title:n,titleId:i,...r},u){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:u,"aria-labelledby":i},r),n?k.createElement("title",{id:i},n):null,k.createElement("path",{fillRule:"evenodd",d:"M4.25 5.5a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-4a.75.75 0 0 1 1.5 0v4A2.25 2.25 0 0 1 12.75 17h-8.5A2.25 2.25 0 0 1 2 14.75v-8.5A2.25 2.25 0 0 1 4.25 4h5a.75.75 0 0 1 0 1.5h-5Z",clipRule:"evenodd"}),k.createElement("path",{fillRule:"evenodd",d:"M6.194 12.753a.75.75 0 0 0 1.06.053L16.5 4.44v2.81a.75.75 0 0 0 1.5 0v-4.5a.75.75 0 0 0-.75-.75h-4.5a.75.75 0 0 0 0 1.5h2.553l-9.056 8.194a.75.75 0 0 0-.053 1.06Z",clipRule:"evenodd"}))}const Qv=k.forwardRef(Xv);function Gv({title:n,titleId:i,...r},u){return k.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:u,"aria-labelledby":i},r),n?k.createElement("title",{id:i},n):null,k.createElement("path",{fillRule:"evenodd",d:"M4.5 2A2.5 2.5 0 0 0 2 4.5v3.879a2.5 2.5 0 0 0 .732 1.767l7.5 7.5a2.5 2.5 0 0 0 3.536 0l3.878-3.878a2.5 2.5 0 0 0 0-3.536l-7.5-7.5A2.5 2.5 0 0 0 8.38 2H4.5ZM5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))}const fu=k.forwardRef(Gv),ig=k.createContext(void 0);function Co(){return pa.useContext(ig)}function Zv(n){const i=Co();return i?i.entities[n]:[]}function Kv(n,i){const r=Co();if(!r)return;const u=r.links?.[n];if(u)return u.replace("{{name}}",i)}function du(n){const i=Zv(n);return pa.useMemo(()=>{const u=[];for(const[c,f]of Object.entries(i))u.push({name:c,...f});return u},[i])}function hu(n,i){const r=Co();if(r)return r.entities[n][i]}const Zc="q";function Mi(){const[n,i]=Uv(),r=String(n.get(Zc)||""),u=pa.useCallback(c=>{const f=new URLSearchParams(n.toString());c?f.set(Zc,String(c)):f.delete(Zc),i(f)},[]);return{searchQuery:r,setSearchQuery:u}}const fn=({children:n,border:i=!0,title:r,entityType:u,entityName:c})=>{const f=Kv(u??"",c??"");return x.jsxs("div",{className:"max-w-3xl",children:[x.jsx("div",{children:x.jsxs("h1",{className:Vv("mb-0 m-4 pt-4 text-3xl font-black text-zinc-700 pb-4 relative",i&&"border-b border-zinc-200"),children:[r,f&&x.jsxs("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-zinc-500 hover:text-zinc-700 hover:bg-zinc-300 font-medium inline-block absolute right-0 top-4 bg-zinc-200 py-2 px-3 rounded-md",children:[x.jsx(Qv,{className:"w-4 h-4 inline-block"})," Edit"]})]})}),n]})};function Jv(n){const{name:i,className:r,children:u}=n;return x.jsx(Tl,{to:`/events/${i}`,className:r,children:u})}function Fv(n){const{name:i,className:r,children:u}=n;return x.jsx(Tl,{to:`/attributes/${i}`,className:r,children:u})}function $v(n){const{name:i,className:r,children:u}=n;return x.jsx(Tl,{to:`/destinations/${i}`,className:r,children:u})}function Pv(n){const{name:i,className:r,children:u}=n;return x.jsx(Tl,{to:`/effects/${i}`,className:r,children:u})}function dn(n){return n.type==="success"?x.jsx("p",{className:"mx-6 block rounded border-2 border-green-300 bg-green-200 p-3 text-sm text-gray-600",children:n.children}):n.type==="info"?x.jsx("p",{className:"mx-6 block rounded border-2 border-blue-300 bg-blue-200 p-3 text-sm text-gray-600",children:n.children}):x.jsx("p",{className:"mx-6 block rounded border-2 border-orange-300 bg-orange-200 p-3 text-sm text-gray-600",children:n.children})}function Iv(n){const{showTime:i}=n,r=new Date(n.date),u=r.getDate(),c=new Intl.DateTimeFormat("en-US",{month:"short"}).format(r),f=r.getFullYear(),h=`${u}${(g=>{switch(g%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(u)} ${c} ${f}`;if(i){const g=r.getHours(),m=r.getMinutes(),y=g>=12?"PM":"AM",N=`${g%12||12}:${m.toString().padStart(2,"0")}${y}`;return x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"font-normal text-gray-500",children:h})," ",x.jsx("span",{className:"font-normal text-gray-500",children:"at"})," ",x.jsx("span",{className:"font-normal text-gray-500",children:N})]})}return h}function Wv(n){return x.jsx(x.Fragment,{children:Iv(n)})}function mu(n){const{lastModified:i}=n;return i?x.jsxs("p",{className:"inline-flex rounded-full px-2 text-xs leading-5 text-gray-500",children:["Last modified by",x.jsx("span",{className:"pl-1 pr-1 font-semibold text-gray-600",children:i.author})," on",x.jsx("span",{className:"pl-1 font-semibold text-gray-600",children:x.jsx(Wv,{date:i.timestamp})})]}):x.jsxs("p",{className:"inline-flex rounded-full px-2 text-xs leading-5 text-gray-500",children:["Last modified",x.jsx("span",{className:"pl-1 font-semibold text-gray-600",children:"n/a"})]})}function ll(n){return x.jsx("span",{className:"mr-1 rounded-full border-zinc-400 bg-zinc-300 px-2 py-1 text-xs text-gray-600",children:n.tag})}function pu(){const{searchQuery:n,setSearchQuery:i}=Mi();return x.jsxs("div",{className:"relative px-4 pt-3.5",children:[x.jsx("div",{className:"pointer-events-none absolute",children:x.jsx("svg",{className:"absolute ml-3 mt-5 h-6 w-6 text-zinc-400",viewBox:"0 0 20 20",fill:"currentColor",children:x.jsx("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),x.jsx("input",{type:"text",value:n,onChange:r=>i(r.target.value),placeholder:"Type to search...",autoComplete:"off",className:"mb-4 mt-2 p-2 w-full rounded-full border border-zinc-300 indent-8 text-xl text-zinc-500 placeholder:text-zinc-400"})]})}function gu(n){const i={keyword:"",tags:[],archived:void 0},r=n.split(" ");for(const u of r)if(u.startsWith("tag:")){const c=u.replace("tag:","");c.length>0&&i.tags.push(c)}else if(u.startsWith("archived:")){const c=u.replace("archived:","");c==="true"?i.archived=!0:c==="false"&&(i.archived=!1)}else u.length>0&&(i.keyword=u);return i}function e1(n,i){const r=gu(n);return i.filter(c=>{let f=!0;if(r.keyword.length>0&&c.name.toLowerCase().indexOf(r.keyword.toLowerCase())===-1&&(f=!1),r.tags.length>0)for(const d of r.tags)c.tags.every(h=>h.toLowerCase()!==d.toLowerCase())&&(f=!1);return typeof r.archived=="boolean"&&(r.archived&&c.archived!==r.archived&&(f=!1),!r.archived&&c.archived===!0&&(f=!1)),f}).sort((c,f)=>c.name.localeCompare(f.name))}function t1(n,i){const r=gu(n);return i.filter(c=>{let f=!0;return r.keyword.length>0&&c.name.toLowerCase().indexOf(r.keyword.toLowerCase())===-1&&(f=!1),typeof r.archived=="boolean"&&(r.archived&&c.archived!==r.archived&&(f=!1),!r.archived&&c.archived===!0&&(f=!1)),f}).sort((c,f)=>c.name.localeCompare(f.name))}function n1(n,i){const r=gu(n);return i.filter(c=>{let f=!0;return r.keyword.length>0&&c.name.toLowerCase().indexOf(r.keyword.toLowerCase())===-1&&(f=!1),typeof r.archived=="boolean"&&(r.archived&&c.archived!==r.archived&&(f=!1),!r.archived&&c.archived===!0&&(f=!1)),f}).sort((c,f)=>c.name.localeCompare(f.name))}function l1(n,i){const r=gu(n);return i.filter(c=>{let f=!0;return r.keyword.length>0&&c.name.toLowerCase().indexOf(r.keyword.toLowerCase())===-1&&(f=!1),typeof r.archived=="boolean"&&(r.archived&&c.archived!==r.archived&&(f=!1),!r.archived&&c.archived===!0&&(f=!1)),f}).sort((c,f)=>c.name.localeCompare(f.name))}const a1=()=>{const n=du("events"),{searchQuery:i}=Mi(),r=e1(i,n);return x.jsxs(fn,{title:"Events",children:[x.jsx(pu,{}),r.length===0&&x.jsx(dn,{type:"warning",children:"No results found"}),r.length>0&&x.jsx("div",{children:x.jsx("ul",{className:"diving-gray-200 divide-y",children:r.map(u=>x.jsx("li",{children:x.jsx(Jv,{name:u.name,className:"block hover:bg-gray-50",children:x.jsxs("div",{className:"px-6 py-4",children:[x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("p",{className:"text-md relative font-bold text-zinc-600",children:[u.name," ",u.archived&&x.jsx("span",{className:"ml-1 rounded-full bg-red-100 px-2 py-1 text-xs font-medium text-red-800",children:"archived"})]}),x.jsx("div",{className:"ml-2 flex flex-shrink-0 text-xs text-gray-500",children:x.jsxs("div",{children:[x.jsx(fu,{className:"inline-block h-6 w-6 pr-1 text-xs text-gray-400"}),u.tags.map(c=>x.jsx(ll,{tag:c},c))]})})]}),x.jsxs("div",{className:"mt-2 flex justify-between",children:[x.jsx("div",{className:"flex",children:x.jsx("p",{className:"line-clamp-3 max-w-md items-center text-sm text-gray-500",children:u.description&&u.description.trim().length>0?u.description:"n/a"})}),x.jsx("div",{className:"items-top mt-2 flex text-xs text-gray-500 sm:mt-0",children:x.jsx(mu,{lastModified:u.lastModified})})]})]})})},u.name))})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-500",children:["A total of ",x.jsx("span",{className:"font-bold",children:r.length})," results found."]})]})};function yu(n){const{tabs:i}=n;return x.jsx("div",{className:"border-b border-gray-200",children:x.jsx("div",{className:"flex",children:i.map(r=>x.jsx(ng,{to:r.to,end:!!r.end,className:({isActive:u})=>["w-1/4","border-b-2","pt-2","pb-4","px-1","text-center","text-sm","font-medium",u?"border-slate-500 text-slate-600":"border-transparent text-slate-500 hover:border-slate-300 hover:text-slate-700"].join(" "),children:r.title},r.title))})})}function i1(n,i){const r={};return(n[n.length-1]===""?[...n,""]:n).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const r1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s1={};function Im(n,i){return(s1.jsx?u1:r1).test(n)}const c1=/[ \t\n\f\r]/g;function o1(n){return typeof n=="object"?n.type==="text"?Wm(n.value):!1:Wm(n)}function Wm(n){return n.replace(c1,"")===""}class ki{constructor(i,r,u){this.normal=r,this.property=i,u&&(this.space=u)}}ki.prototype.normal={};ki.prototype.property={};ki.prototype.space=void 0;function rg(n,i){const r={},u={};for(const c of n)Object.assign(r,c.property),Object.assign(u,c.normal);return new ki(r,u,i)}function co(n){return n.toLowerCase()}class Tt{constructor(i,r){this.attribute=r,this.property=i}}Tt.prototype.attribute="";Tt.prototype.booleanish=!1;Tt.prototype.boolean=!1;Tt.prototype.commaOrSpaceSeparated=!1;Tt.prototype.commaSeparated=!1;Tt.prototype.defined=!1;Tt.prototype.mustUseProperty=!1;Tt.prototype.number=!1;Tt.prototype.overloadedBoolean=!1;Tt.prototype.property="";Tt.prototype.spaceSeparated=!1;Tt.prototype.space=void 0;let f1=0;const ve=Nl(),$e=Nl(),oo=Nl(),K=Nl(),He=Nl(),ha=Nl(),Mt=Nl();function Nl(){return 2**++f1}const fo=Object.freeze(Object.defineProperty({__proto__:null,boolean:ve,booleanish:$e,commaOrSpaceSeparated:Mt,commaSeparated:ha,number:K,overloadedBoolean:oo,spaceSeparated:He},Symbol.toStringTag,{value:"Module"})),Kc=Object.keys(fo);class zo extends Tt{constructor(i,r,u,c){let f=-1;if(super(i,r),ep(this,"space",c),typeof u=="number")for(;++f<Kc.length;){const d=Kc[f];ep(this,Kc[f],(u&fo[d])===fo[d])}}}zo.prototype.defined=!0;function ep(n,i,r){r&&(n[i]=r)}function ya(n){const i={},r={};for(const[u,c]of Object.entries(n.properties)){const f=new zo(u,n.transform(n.attributes||{},u),c,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(f.mustUseProperty=!0),i[u]=f,r[co(u)]=u,r[co(f.attribute)]=u}return new ki(i,r,n.space)}const ug=ya({properties:{ariaActiveDescendant:null,ariaAtomic:$e,ariaAutoComplete:null,ariaBusy:$e,ariaChecked:$e,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:$e,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:$e,ariaFlowTo:He,ariaGrabbed:$e,ariaHasPopup:null,ariaHidden:$e,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:K,ariaLive:null,ariaModal:$e,ariaMultiLine:$e,ariaMultiSelectable:$e,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:$e,ariaReadOnly:$e,ariaRelevant:null,ariaRequired:$e,ariaRoleDescription:He,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:$e,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(n,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function sg(n,i){return i in n?n[i]:i}function cg(n,i){return sg(n,i.toLowerCase())}const d1=ya({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ha,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:ve,allowPaymentRequest:ve,allowUserMedia:ve,alt:null,as:null,async:ve,autoCapitalize:null,autoComplete:He,autoFocus:ve,autoPlay:ve,blocking:He,capture:null,charSet:null,checked:ve,cite:null,className:He,cols:K,colSpan:null,content:null,contentEditable:$e,controls:ve,controlsList:He,coords:K|ha,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ve,defer:ve,dir:null,dirName:null,disabled:ve,download:oo,draggable:$e,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ve,formTarget:null,headers:He,height:K,hidden:oo,high:K,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inert:ve,inputMode:null,integrity:null,is:null,isMap:ve,itemId:null,itemProp:He,itemRef:He,itemScope:ve,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ve,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:ve,muted:ve,name:null,nonce:null,noModule:ve,noValidate:ve,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:ve,optimum:K,pattern:null,ping:He,placeholder:null,playsInline:ve,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ve,referrerPolicy:null,rel:He,required:ve,reversed:ve,rows:K,rowSpan:K,sandbox:He,scope:null,scoped:ve,seamless:ve,selected:ve,shadowRootClonable:ve,shadowRootDelegatesFocus:ve,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:$e,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:ve,useMap:null,value:$e,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ve,declare:ve,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:ve,noHref:ve,noShade:ve,noWrap:ve,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:$e,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ve,disableRemotePlayback:ve,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:cg}),h1=ya({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Mt,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:He,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:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:ve,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,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:ha,g2:ha,glyphName:ha,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:Mt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,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:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Mt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Mt,rev:Mt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Mt,requiredFeatures:Mt,requiredFonts:Mt,requiredFormats:Mt,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:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:Mt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Mt,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Mt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:sg}),og=ya({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,i){return"xlink:"+i.slice(5).toLowerCase()}}),fg=ya({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:cg}),dg=ya({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,i){return"xml:"+i.slice(3).toLowerCase()}}),m1={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"},p1=/[A-Z]/g,tp=/-[a-z]/g,g1=/^data[-\w.:]+$/i;function y1(n,i){const r=co(i);let u=i,c=Tt;if(r in n.normal)return n.property[n.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&g1.test(i)){if(i.charAt(4)==="-"){const f=i.slice(5).replace(tp,v1);u="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=i.slice(4);if(!tp.test(f)){let d=f.replace(p1,x1);d.charAt(0)!=="-"&&(d="-"+d),i="data"+d}}c=zo}return new c(u,i)}function x1(n){return"-"+n.toLowerCase()}function v1(n){return n.charAt(1).toUpperCase()}const b1=rg([ug,d1,og,fg,dg],"html"),Oo=rg([ug,h1,og,fg,dg],"svg");function S1(n){return n.join(" ").trim()}var fa={},Jc,np;function E1(){if(np)return Jc;np=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,r=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,c=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,h=/^\s+|\s+$/g,g=`
12
+ `,m="/",y="*",b="",N="comment",E="declaration";Jc=function(D,Y){if(typeof D!="string")throw new TypeError("First argument must be a string");if(!D)return[];Y=Y||{};var M=1,V=1;function G(ie){var I=ie.match(i);I&&(M+=I.length);var te=ie.lastIndexOf(g);V=~te?ie.length-te:V+ie.length}function se(){var ie={line:M,column:V};return function(I){return I.position=new $(ie),ge(),I}}function $(ie){this.start=ie,this.end={line:M,column:V},this.source=Y.source}$.prototype.content=D;function H(ie){var I=new Error(Y.source+":"+M+":"+V+": "+ie);if(I.reason=ie,I.filename=Y.source,I.line=M,I.column=V,I.source=D,!Y.silent)throw I}function ue(ie){var I=ie.exec(D);if(I){var te=I[0];return G(te),D=D.slice(te.length),I}}function ge(){ue(r)}function he(ie){var I;for(ie=ie||[];I=ye();)I!==!1&&ie.push(I);return ie}function ye(){var ie=se();if(!(m!=D.charAt(0)||y!=D.charAt(1))){for(var I=2;b!=D.charAt(I)&&(y!=D.charAt(I)||m!=D.charAt(I+1));)++I;if(I+=2,b===D.charAt(I-1))return H("End of comment missing");var te=D.slice(2,I-2);return V+=2,G(te),D=D.slice(I),V+=2,ie({type:N,comment:te})}}function le(){var ie=se(),I=ue(u);if(I){if(ye(),!ue(c))return H("property missing ':'");var te=ue(f),_=ie({type:E,property:U(I[0].replace(n,b)),value:te?U(te[0].replace(n,b)):b});return ue(d),_}}function P(){var ie=[];he(ie);for(var I;I=le();)I!==!1&&(ie.push(I),he(ie));return ie}return ge(),P()};function U(D){return D?D.replace(h,b):b}return Jc}var lp;function T1(){if(lp)return fa;lp=1;var n=fa&&fa.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(fa,"__esModule",{value:!0}),fa.default=r;var i=n(E1());function r(u,c){var f=null;if(!u||typeof u!="string")return f;var d=(0,i.default)(u),h=typeof c=="function";return d.forEach(function(g){if(g.type==="declaration"){var m=g.property,y=g.value;h?c(m,y,g):y&&(f=f||{},f[m]=y)}}),f}return fa}var Ei={},ap;function N1(){if(ap)return Ei;ap=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,r=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,c=/^-(ms)-/,f=function(m){return!m||r.test(m)||n.test(m)},d=function(m,y){return y.toUpperCase()},h=function(m,y){return"".concat(y,"-")},g=function(m,y){return y===void 0&&(y={}),f(m)?m:(m=m.toLowerCase(),y.reactCompat?m=m.replace(c,h):m=m.replace(u,h),m.replace(i,d))};return Ei.camelCase=g,Ei}var Ti,ip;function A1(){if(ip)return Ti;ip=1;var n=Ti&&Ti.__importDefault||function(c){return c&&c.__esModule?c:{default:c}},i=n(T1()),r=N1();function u(c,f){var d={};return!c||typeof c!="string"||(0,i.default)(c,function(h,g){h&&g&&(d[(0,r.camelCase)(h,f)]=g)}),d}return u.default=u,Ti=u,Ti}var w1=A1();const j1=So(w1),hg=mg("end"),Do=mg("start");function mg(n){return i;function i(r){const u=r&&r.position&&r.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function R1(n){const i=Do(n),r=hg(n);if(i&&r)return{start:i,end:r}}function wi(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?rp(n.position):"start"in n||"end"in n?rp(n):"line"in n||"column"in n?ho(n):""}function ho(n){return up(n&&n.line)+":"+up(n&&n.column)}function rp(n){return ho(n&&n.start)+"-"+ho(n&&n.end)}function up(n){return n&&typeof n=="number"?n:1}class dt extends Error{constructor(i,r,u){super(),typeof r=="string"&&(u=r,r=void 0);let c="",f={},d=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof i=="string"?c=i:!f.cause&&i&&(d=!0,c=i.message,f.cause=i),!f.ruleId&&!f.source&&typeof u=="string"){const g=u.indexOf(":");g===-1?f.ruleId=u:(f.source=u.slice(0,g),f.ruleId=u.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const h=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=c,this.line=h?h.line:void 0,this.name=wi(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}dt.prototype.file="";dt.prototype.name="";dt.prototype.reason="";dt.prototype.message="";dt.prototype.stack="";dt.prototype.column=void 0;dt.prototype.line=void 0;dt.prototype.ancestors=void 0;dt.prototype.cause=void 0;dt.prototype.fatal=void 0;dt.prototype.place=void 0;dt.prototype.ruleId=void 0;dt.prototype.source=void 0;const _o={}.hasOwnProperty,C1=new Map,z1=/[A-Z]/g,O1=new Set(["table","tbody","thead","tfoot","tr"]),D1=new Set(["td","th"]),pg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function _1(n,i){if(!i||i.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=i.filePath||void 0;let u;if(i.development){if(typeof i.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=Y1(r,i.jsxDEV)}else{if(typeof i.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof i.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=q1(r,i.jsx,i.jsxs)}const c={Fragment:i.Fragment,ancestors:[],components:i.components||{},create:u,elementAttributeNameCase:i.elementAttributeNameCase||"react",evaluater:i.createEvaluater?i.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:i.ignoreInvalidStyle||!1,passKeys:i.passKeys!==!1,passNode:i.passNode||!1,schema:i.space==="svg"?Oo:b1,stylePropertyNameCase:i.stylePropertyNameCase||"dom",tableCellAlignToStyle:i.tableCellAlignToStyle!==!1},f=gg(c,n,void 0);return f&&typeof f!="string"?f:c.create(n,c.Fragment,{children:f||void 0},void 0)}function gg(n,i,r){if(i.type==="element")return M1(n,i,r);if(i.type==="mdxFlowExpression"||i.type==="mdxTextExpression")return k1(n,i);if(i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement")return L1(n,i,r);if(i.type==="mdxjsEsm")return U1(n,i);if(i.type==="root")return B1(n,i,r);if(i.type==="text")return H1(n,i)}function M1(n,i,r){const u=n.schema;let c=u;i.tagName.toLowerCase()==="svg"&&u.space==="html"&&(c=Oo,n.schema=c),n.ancestors.push(i);const f=xg(n,i.tagName,!1),d=V1(n,i);let h=ko(n,i);return O1.has(i.tagName)&&(h=h.filter(function(g){return typeof g=="string"?!o1(g):!0})),yg(n,d,f,i),Mo(d,h),n.ancestors.pop(),n.schema=u,n.create(i,f,d,r)}function k1(n,i){if(i.data&&i.data.estree&&n.evaluater){const u=i.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}zi(n,i.position)}function U1(n,i){if(i.data&&i.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(i.data.estree);zi(n,i.position)}function L1(n,i,r){const u=n.schema;let c=u;i.name==="svg"&&u.space==="html"&&(c=Oo,n.schema=c),n.ancestors.push(i);const f=i.name===null?n.Fragment:xg(n,i.name,!0),d=X1(n,i),h=ko(n,i);return yg(n,d,f,i),Mo(d,h),n.ancestors.pop(),n.schema=u,n.create(i,f,d,r)}function B1(n,i,r){const u={};return Mo(u,ko(n,i)),n.create(i,n.Fragment,u,r)}function H1(n,i){return i.value}function yg(n,i,r,u){typeof r!="string"&&r!==n.Fragment&&n.passNode&&(i.node=u)}function Mo(n,i){if(i.length>0){const r=i.length>1?i:i[0];r&&(n.children=r)}}function q1(n,i,r){return u;function u(c,f,d,h){const m=Array.isArray(d.children)?r:i;return h?m(f,d,h):m(f,d)}}function Y1(n,i){return r;function r(u,c,f,d){const h=Array.isArray(f.children),g=Do(u);return i(c,f,d,h,{columnNumber:g?g.column-1:void 0,fileName:n,lineNumber:g?g.line:void 0},void 0)}}function V1(n,i){const r={};let u,c;for(c in i.properties)if(c!=="children"&&_o.call(i.properties,c)){const f=Q1(n,c,i.properties[c]);if(f){const[d,h]=f;n.tableCellAlignToStyle&&d==="align"&&typeof h=="string"&&D1.has(i.tagName)?u=h:r[d]=h}}if(u){const f=r.style||(r.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return r}function X1(n,i){const r={};for(const u of i.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const f=u.data.estree.body[0];f.type;const d=f.expression;d.type;const h=d.properties[0];h.type,Object.assign(r,n.evaluater.evaluateExpression(h.argument))}else zi(n,i.position);else{const c=u.name;let f;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const h=u.value.data.estree.body[0];h.type,f=n.evaluater.evaluateExpression(h.expression)}else zi(n,i.position);else f=u.value===null?!0:u.value;r[c]=f}return r}function ko(n,i){const r=[];let u=-1;const c=n.passKeys?new Map:C1;for(;++u<i.children.length;){const f=i.children[u];let d;if(n.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const m=c.get(g)||0;d=g+"-"+m,c.set(g,m+1)}}const h=gg(n,f,d);h!==void 0&&r.push(h)}return r}function Q1(n,i,r){const u=y1(n.schema,i);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=u.commaSeparated?i1(r):S1(r)),u.property==="style"){let c=typeof r=="object"?r:G1(n,String(r));return n.stylePropertyNameCase==="css"&&(c=Z1(c)),["style",c]}return[n.elementAttributeNameCase==="react"&&u.space?m1[u.property]||u.property:u.attribute,r]}}function G1(n,i){try{return j1(i,{reactCompat:!0})}catch(r){if(n.ignoreInvalidStyle)return{};const u=r,c=new dt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw c.file=n.filePath||void 0,c.url=pg+"#cannot-parse-style-attribute",c}}function xg(n,i,r){let u;if(!r)u={type:"Literal",value:i};else if(i.includes(".")){const c=i.split(".");let f=-1,d;for(;++f<c.length;){const h=Im(c[f])?{type:"Identifier",name:c[f]}:{type:"Literal",value:c[f]};d=d?{type:"MemberExpression",object:d,property:h,computed:!!(f&&h.type==="Literal"),optional:!1}:h}u=d}else u=Im(i)&&!/^[a-z]/.test(i)?{type:"Identifier",name:i}:{type:"Literal",value:i};if(u.type==="Literal"){const c=u.value;return _o.call(n.components,c)?n.components[c]:c}if(n.evaluater)return n.evaluater.evaluateExpression(u);zi(n)}function zi(n,i){const r=new dt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:i,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=n.filePath||void 0,r.url=pg+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Z1(n){const i={};let r;for(r in n)_o.call(n,r)&&(i[K1(r)]=n[r]);return i}function K1(n){let i=n.replace(z1,J1);return i.slice(0,3)==="ms-"&&(i="-"+i),i}function J1(n){return"-"+n.toLowerCase()}const Fc={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"]},F1={};function $1(n,i){const r=F1,u=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,c=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return vg(n,u,c)}function vg(n,i,r){if(P1(n)){if("value"in n)return n.type==="html"&&!r?"":n.value;if(i&&"alt"in n&&n.alt)return n.alt;if("children"in n)return sp(n.children,i,r)}return Array.isArray(n)?sp(n,i,r):""}function sp(n,i,r){const u=[];let c=-1;for(;++c<n.length;)u[c]=vg(n[c],i,r);return u.join("")}function P1(n){return!!(n&&typeof n=="object")}const cp=document.createElement("i");function Uo(n){const i="&"+n+";";cp.innerHTML=i;const r=cp.textContent;return r.charCodeAt(r.length-1)===59&&n!=="semi"||r===i?!1:r}function on(n,i,r,u){const c=n.length;let f=0,d;if(i<0?i=-i>c?0:c+i:i=i>c?c:i,r=r>0?r:0,u.length<1e4)d=Array.from(u),d.unshift(i,r),n.splice(...d);else for(r&&n.splice(i,r);f<u.length;)d=u.slice(f,f+1e4),d.unshift(i,0),n.splice(...d),f+=1e4,i+=1e4}function Zt(n,i){return n.length>0?(on(n,n.length,0,i),n):i}const op={}.hasOwnProperty;function I1(n){const i={};let r=-1;for(;++r<n.length;)W1(i,n[r]);return i}function W1(n,i){let r;for(r in i){const c=(op.call(n,r)?n[r]:void 0)||(n[r]={}),f=i[r];let d;if(f)for(d in f){op.call(c,d)||(c[d]=[]);const h=f[d];eb(c[d],Array.isArray(h)?h:h?[h]:[])}}}function eb(n,i){let r=-1;const u=[];for(;++r<i.length;)(i[r].add==="after"?n:u).push(i[r]);on(n,0,0,u)}function bg(n,i){const r=Number.parseInt(n,i);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ma(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const cn=al(/[A-Za-z]/),kt=al(/[\dA-Za-z]/),tb=al(/[#-'*+\--9=?A-Z^-~]/);function mo(n){return n!==null&&(n<32||n===127)}const po=al(/\d/),nb=al(/[\dA-Fa-f]/),lb=al(/[!-/:-@[-`{-~]/);function pe(n){return n!==null&&n<-2}function Et(n){return n!==null&&(n<0||n===32)}function ze(n){return n===-2||n===-1||n===32}const ab=al(new RegExp("\\p{P}|\\p{S}","u")),ib=al(/\s/);function al(n){return i;function i(r){return r!==null&&r>-1&&n.test(String.fromCharCode(r))}}function xa(n){const i=[];let r=-1,u=0,c=0;for(;++r<n.length;){const f=n.charCodeAt(r);let d="";if(f===37&&kt(n.charCodeAt(r+1))&&kt(n.charCodeAt(r+2)))c=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const h=n.charCodeAt(r+1);f<56320&&h>56319&&h<57344?(d=String.fromCharCode(f,h),c=1):d="�"}else d=String.fromCharCode(f);d&&(i.push(n.slice(u,r),encodeURIComponent(d)),u=r+c+1,d=""),c&&(r+=c,c=0)}return i.join("")+n.slice(u)}function qe(n,i,r,u){const c=u?u-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(g){return ze(g)?(n.enter(r),h(g)):i(g)}function h(g){return ze(g)&&f++<c?(n.consume(g),h):(n.exit(r),i(g))}}const rb={tokenize:ub};function ub(n){const i=n.attempt(this.parser.constructs.contentInitial,u,c);let r;return i;function u(h){if(h===null){n.consume(h);return}return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),qe(n,i,"linePrefix")}function c(h){return n.enter("paragraph"),f(h)}function f(h){const g=n.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,d(h)}function d(h){if(h===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(h);return}return pe(h)?(n.consume(h),n.exit("chunkText"),f):(n.consume(h),d)}}const sb={tokenize:cb},fp={tokenize:ob};function cb(n){const i=this,r=[];let u=0,c,f,d;return h;function h(G){if(u<r.length){const se=r[u];return i.containerState=se[1],n.attempt(se[0].continuation,g,m)(G)}return m(G)}function g(G){if(u++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,c&&V();const se=i.events.length;let $=se,H;for(;$--;)if(i.events[$][0]==="exit"&&i.events[$][1].type==="chunkFlow"){H=i.events[$][1].end;break}M(u);let ue=se;for(;ue<i.events.length;)i.events[ue][1].end={...H},ue++;return on(i.events,$+1,0,i.events.slice(se)),i.events.length=ue,m(G)}return h(G)}function m(G){if(u===r.length){if(!c)return N(G);if(c.currentConstruct&&c.currentConstruct.concrete)return U(G);i.interrupt=!!(c.currentConstruct&&!c._gfmTableDynamicInterruptHack)}return i.containerState={},n.check(fp,y,b)(G)}function y(G){return c&&V(),M(u),N(G)}function b(G){return i.parser.lazy[i.now().line]=u!==r.length,d=i.now().offset,U(G)}function N(G){return i.containerState={},n.attempt(fp,E,U)(G)}function E(G){return u++,r.push([i.currentConstruct,i.containerState]),N(G)}function U(G){if(G===null){c&&V(),M(0),n.consume(G);return}return c=c||i.parser.flow(i.now()),n.enter("chunkFlow",{_tokenizer:c,contentType:"flow",previous:f}),D(G)}function D(G){if(G===null){Y(n.exit("chunkFlow"),!0),M(0),n.consume(G);return}return pe(G)?(n.consume(G),Y(n.exit("chunkFlow")),u=0,i.interrupt=void 0,h):(n.consume(G),D)}function Y(G,se){const $=i.sliceStream(G);if(se&&$.push(null),G.previous=f,f&&(f.next=G),f=G,c.defineSkip(G.start),c.write($),i.parser.lazy[G.start.line]){let H=c.events.length;for(;H--;)if(c.events[H][1].start.offset<d&&(!c.events[H][1].end||c.events[H][1].end.offset>d))return;const ue=i.events.length;let ge=ue,he,ye;for(;ge--;)if(i.events[ge][0]==="exit"&&i.events[ge][1].type==="chunkFlow"){if(he){ye=i.events[ge][1].end;break}he=!0}for(M(u),H=ue;H<i.events.length;)i.events[H][1].end={...ye},H++;on(i.events,ge+1,0,i.events.slice(ue)),i.events.length=H}}function M(G){let se=r.length;for(;se-- >G;){const $=r[se];i.containerState=$[1],$[0].exit.call(i,n)}r.length=G}function V(){c.write([null]),f=void 0,c=void 0,i.containerState._closeFlow=void 0}}function ob(n,i,r){return qe(n,n.attempt(this.parser.constructs.document,i,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function dp(n){if(n===null||Et(n)||ib(n))return 1;if(ab(n))return 2}function Lo(n,i,r){const u=[];let c=-1;for(;++c<n.length;){const f=n[c].resolveAll;f&&!u.includes(f)&&(i=f(i,r),u.push(f))}return i}const go={name:"attention",resolveAll:fb,tokenize:db};function fb(n,i){let r=-1,u,c,f,d,h,g,m,y;for(;++r<n.length;)if(n[r][0]==="enter"&&n[r][1].type==="attentionSequence"&&n[r][1]._close){for(u=r;u--;)if(n[u][0]==="exit"&&n[u][1].type==="attentionSequence"&&n[u][1]._open&&i.sliceSerialize(n[u][1]).charCodeAt(0)===i.sliceSerialize(n[r][1]).charCodeAt(0)){if((n[u][1]._close||n[r][1]._open)&&(n[r][1].end.offset-n[r][1].start.offset)%3&&!((n[u][1].end.offset-n[u][1].start.offset+n[r][1].end.offset-n[r][1].start.offset)%3))continue;g=n[u][1].end.offset-n[u][1].start.offset>1&&n[r][1].end.offset-n[r][1].start.offset>1?2:1;const b={...n[u][1].end},N={...n[r][1].start};hp(b,-g),hp(N,g),d={type:g>1?"strongSequence":"emphasisSequence",start:b,end:{...n[u][1].end}},h={type:g>1?"strongSequence":"emphasisSequence",start:{...n[r][1].start},end:N},f={type:g>1?"strongText":"emphasisText",start:{...n[u][1].end},end:{...n[r][1].start}},c={type:g>1?"strong":"emphasis",start:{...d.start},end:{...h.end}},n[u][1].end={...d.start},n[r][1].start={...h.end},m=[],n[u][1].end.offset-n[u][1].start.offset&&(m=Zt(m,[["enter",n[u][1],i],["exit",n[u][1],i]])),m=Zt(m,[["enter",c,i],["enter",d,i],["exit",d,i],["enter",f,i]]),m=Zt(m,Lo(i.parser.constructs.insideSpan.null,n.slice(u+1,r),i)),m=Zt(m,[["exit",f,i],["enter",h,i],["exit",h,i],["exit",c,i]]),n[r][1].end.offset-n[r][1].start.offset?(y=2,m=Zt(m,[["enter",n[r][1],i],["exit",n[r][1],i]])):y=0,on(n,u-1,r-u+3,m),r=u+m.length-y-2;break}}for(r=-1;++r<n.length;)n[r][1].type==="attentionSequence"&&(n[r][1].type="data");return n}function db(n,i){const r=this.parser.constructs.attentionMarkers.null,u=this.previous,c=dp(u);let f;return d;function d(g){return f=g,n.enter("attentionSequence"),h(g)}function h(g){if(g===f)return n.consume(g),h;const m=n.exit("attentionSequence"),y=dp(g),b=!y||y===2&&c||r.includes(g),N=!c||c===2&&y||r.includes(u);return m._open=!!(f===42?b:b&&(c||!N)),m._close=!!(f===42?N:N&&(y||!b)),i(g)}}function hp(n,i){n.column+=i,n.offset+=i,n._bufferIndex+=i}const hb={name:"autolink",tokenize:mb};function mb(n,i,r){let u=0;return c;function c(E){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),f}function f(E){return cn(E)?(n.consume(E),d):E===64?r(E):m(E)}function d(E){return E===43||E===45||E===46||kt(E)?(u=1,h(E)):m(E)}function h(E){return E===58?(n.consume(E),u=0,g):(E===43||E===45||E===46||kt(E))&&u++<32?(n.consume(E),h):(u=0,m(E))}function g(E){return E===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.exit("autolink"),i):E===null||E===32||E===60||mo(E)?r(E):(n.consume(E),g)}function m(E){return E===64?(n.consume(E),y):tb(E)?(n.consume(E),m):r(E)}function y(E){return kt(E)?b(E):r(E)}function b(E){return E===46?(n.consume(E),u=0,y):E===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(E),n.exit("autolinkMarker"),n.exit("autolink"),i):N(E)}function N(E){if((E===45||kt(E))&&u++<63){const U=E===45?N:b;return n.consume(E),U}return r(E)}}const xu={partial:!0,tokenize:pb};function pb(n,i,r){return u;function u(f){return ze(f)?qe(n,c,"linePrefix")(f):c(f)}function c(f){return f===null||pe(f)?i(f):r(f)}}const Sg={continuation:{tokenize:yb},exit:xb,name:"blockQuote",tokenize:gb};function gb(n,i,r){const u=this;return c;function c(d){if(d===62){const h=u.containerState;return h.open||(n.enter("blockQuote",{_container:!0}),h.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(d),n.exit("blockQuoteMarker"),f}return r(d)}function f(d){return ze(d)?(n.enter("blockQuotePrefixWhitespace"),n.consume(d),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),i):(n.exit("blockQuotePrefix"),i(d))}}function yb(n,i,r){const u=this;return c;function c(d){return ze(d)?qe(n,f,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):f(d)}function f(d){return n.attempt(Sg,i,r)(d)}}function xb(n){n.exit("blockQuote")}const Eg={name:"characterEscape",tokenize:vb};function vb(n,i,r){return u;function u(f){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(f),n.exit("escapeMarker"),c}function c(f){return lb(f)?(n.enter("characterEscapeValue"),n.consume(f),n.exit("characterEscapeValue"),n.exit("characterEscape"),i):r(f)}}const Tg={name:"characterReference",tokenize:bb};function bb(n,i,r){const u=this;let c=0,f,d;return h;function h(b){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(b),n.exit("characterReferenceMarker"),g}function g(b){return b===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(b),n.exit("characterReferenceMarkerNumeric"),m):(n.enter("characterReferenceValue"),f=31,d=kt,y(b))}function m(b){return b===88||b===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(b),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),f=6,d=nb,y):(n.enter("characterReferenceValue"),f=7,d=po,y(b))}function y(b){if(b===59&&c){const N=n.exit("characterReferenceValue");return d===kt&&!Uo(u.sliceSerialize(N))?r(b):(n.enter("characterReferenceMarker"),n.consume(b),n.exit("characterReferenceMarker"),n.exit("characterReference"),i)}return d(b)&&c++<f?(n.consume(b),y):r(b)}}const mp={partial:!0,tokenize:Eb},pp={concrete:!0,name:"codeFenced",tokenize:Sb};function Sb(n,i,r){const u=this,c={partial:!0,tokenize:$};let f=0,d=0,h;return g;function g(H){return m(H)}function m(H){const ue=u.events[u.events.length-1];return f=ue&&ue[1].type==="linePrefix"?ue[2].sliceSerialize(ue[1],!0).length:0,h=H,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),y(H)}function y(H){return H===h?(d++,n.consume(H),y):d<3?r(H):(n.exit("codeFencedFenceSequence"),ze(H)?qe(n,b,"whitespace")(H):b(H))}function b(H){return H===null||pe(H)?(n.exit("codeFencedFence"),u.interrupt?i(H):n.check(mp,D,se)(H)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),N(H))}function N(H){return H===null||pe(H)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),b(H)):ze(H)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),qe(n,E,"whitespace")(H)):H===96&&H===h?r(H):(n.consume(H),N)}function E(H){return H===null||pe(H)?b(H):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),U(H))}function U(H){return H===null||pe(H)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),b(H)):H===96&&H===h?r(H):(n.consume(H),U)}function D(H){return n.attempt(c,se,Y)(H)}function Y(H){return n.enter("lineEnding"),n.consume(H),n.exit("lineEnding"),M}function M(H){return f>0&&ze(H)?qe(n,V,"linePrefix",f+1)(H):V(H)}function V(H){return H===null||pe(H)?n.check(mp,D,se)(H):(n.enter("codeFlowValue"),G(H))}function G(H){return H===null||pe(H)?(n.exit("codeFlowValue"),V(H)):(n.consume(H),G)}function se(H){return n.exit("codeFenced"),i(H)}function $(H,ue,ge){let he=0;return ye;function ye(te){return H.enter("lineEnding"),H.consume(te),H.exit("lineEnding"),le}function le(te){return H.enter("codeFencedFence"),ze(te)?qe(H,P,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(te):P(te)}function P(te){return te===h?(H.enter("codeFencedFenceSequence"),ie(te)):ge(te)}function ie(te){return te===h?(he++,H.consume(te),ie):he>=d?(H.exit("codeFencedFenceSequence"),ze(te)?qe(H,I,"whitespace")(te):I(te)):ge(te)}function I(te){return te===null||pe(te)?(H.exit("codeFencedFence"),ue(te)):ge(te)}}}function Eb(n,i,r){const u=this;return c;function c(d){return d===null?r(d):(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),f)}function f(d){return u.parser.lazy[u.now().line]?r(d):i(d)}}const $c={name:"codeIndented",tokenize:Nb},Tb={partial:!0,tokenize:Ab};function Nb(n,i,r){const u=this;return c;function c(m){return n.enter("codeIndented"),qe(n,f,"linePrefix",5)(m)}function f(m){const y=u.events[u.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?d(m):r(m)}function d(m){return m===null?g(m):pe(m)?n.attempt(Tb,d,g)(m):(n.enter("codeFlowValue"),h(m))}function h(m){return m===null||pe(m)?(n.exit("codeFlowValue"),d(m)):(n.consume(m),h)}function g(m){return n.exit("codeIndented"),i(m)}}function Ab(n,i,r){const u=this;return c;function c(d){return u.parser.lazy[u.now().line]?r(d):pe(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),c):qe(n,f,"linePrefix",5)(d)}function f(d){const h=u.events[u.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?i(d):pe(d)?c(d):r(d)}}const wb={name:"codeText",previous:Rb,resolve:jb,tokenize:Cb};function jb(n){let i=n.length-4,r=3,u,c;if((n[r][1].type==="lineEnding"||n[r][1].type==="space")&&(n[i][1].type==="lineEnding"||n[i][1].type==="space")){for(u=r;++u<i;)if(n[u][1].type==="codeTextData"){n[r][1].type="codeTextPadding",n[i][1].type="codeTextPadding",r+=2,i-=2;break}}for(u=r-1,i++;++u<=i;)c===void 0?u!==i&&n[u][1].type!=="lineEnding"&&(c=u):(u===i||n[u][1].type==="lineEnding")&&(n[c][1].type="codeTextData",u!==c+2&&(n[c][1].end=n[u-1][1].end,n.splice(c+2,u-c-2),i-=u-c-2,u=c+2),c=void 0);return n}function Rb(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Cb(n,i,r){let u=0,c,f;return d;function d(b){return n.enter("codeText"),n.enter("codeTextSequence"),h(b)}function h(b){return b===96?(n.consume(b),u++,h):(n.exit("codeTextSequence"),g(b))}function g(b){return b===null?r(b):b===32?(n.enter("space"),n.consume(b),n.exit("space"),g):b===96?(f=n.enter("codeTextSequence"),c=0,y(b)):pe(b)?(n.enter("lineEnding"),n.consume(b),n.exit("lineEnding"),g):(n.enter("codeTextData"),m(b))}function m(b){return b===null||b===32||b===96||pe(b)?(n.exit("codeTextData"),g(b)):(n.consume(b),m)}function y(b){return b===96?(n.consume(b),c++,y):c===u?(n.exit("codeTextSequence"),n.exit("codeText"),i(b)):(f.type="codeTextData",m(b))}}class zb{constructor(i){this.left=i?[...i]:[],this.right=[]}get(i){if(i<0||i>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+i+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return i<this.left.length?this.left[i]:this.right[this.right.length-i+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(i,r){const u=r??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(i,u):i>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-i+this.left.length).reverse():this.left.slice(i).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(i,r,u){const c=r||0;this.setCursor(Math.trunc(i));const f=this.right.splice(this.right.length-c,Number.POSITIVE_INFINITY);return u&&Ni(this.left,u),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(i){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(i)}pushMany(i){this.setCursor(Number.POSITIVE_INFINITY),Ni(this.left,i)}unshift(i){this.setCursor(0),this.right.push(i)}unshiftMany(i){this.setCursor(0),Ni(this.right,i.reverse())}setCursor(i){if(!(i===this.left.length||i>this.left.length&&this.right.length===0||i<0&&this.left.length===0))if(i<this.left.length){const r=this.left.splice(i,Number.POSITIVE_INFINITY);Ni(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-i,Number.POSITIVE_INFINITY);Ni(this.left,r.reverse())}}}function Ni(n,i){let r=0;if(i.length<1e4)n.push(...i);else for(;r<i.length;)n.push(...i.slice(r,r+1e4)),r+=1e4}function Ng(n){const i={};let r=-1,u,c,f,d,h,g,m;const y=new zb(n);for(;++r<y.length;){for(;r in i;)r=i[r];if(u=y.get(r),r&&u[1].type==="chunkFlow"&&y.get(r-1)[1].type==="listItemPrefix"&&(g=u[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(u[0]==="enter")u[1].contentType&&(Object.assign(i,Ob(y,r)),r=i[r],m=!0);else if(u[1]._container){for(f=r,c=void 0;f--;)if(d=y.get(f),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank")d[0]==="enter"&&(c&&(y.get(c)[1].type="lineEndingBlank"),d[1].type="lineEnding",c=f);else if(!(d[1].type==="linePrefix"||d[1].type==="listItemIndent"))break;c&&(u[1].end={...y.get(c)[1].start},h=y.slice(c,r),h.unshift(u),y.splice(c,r-c+1,h))}}return on(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!m}function Ob(n,i){const r=n.get(i)[1],u=n.get(i)[2];let c=i-1;const f=[];let d=r._tokenizer;d||(d=u.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const h=d.events,g=[],m={};let y,b,N=-1,E=r,U=0,D=0;const Y=[D];for(;E;){for(;n.get(++c)[1]!==E;);f.push(c),E._tokenizer||(y=u.sliceStream(E),E.next||y.push(null),b&&d.defineSkip(E.start),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(y),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),b=E,E=E.next}for(E=r;++N<h.length;)h[N][0]==="exit"&&h[N-1][0]==="enter"&&h[N][1].type===h[N-1][1].type&&h[N][1].start.line!==h[N][1].end.line&&(D=N+1,Y.push(D),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(d.events=[],E?(E._tokenizer=void 0,E.previous=void 0):Y.pop(),N=Y.length;N--;){const M=h.slice(Y[N],Y[N+1]),V=f.pop();g.push([V,V+M.length-1]),n.splice(V,2,M)}for(g.reverse(),N=-1;++N<g.length;)m[U+g[N][0]]=U+g[N][1],U+=g[N][1]-g[N][0]-1;return m}const Db={resolve:Mb,tokenize:kb},_b={partial:!0,tokenize:Ub};function Mb(n){return Ng(n),n}function kb(n,i){let r;return u;function u(h){return n.enter("content"),r=n.enter("chunkContent",{contentType:"content"}),c(h)}function c(h){return h===null?f(h):pe(h)?n.check(_b,d,f)(h):(n.consume(h),c)}function f(h){return n.exit("chunkContent"),n.exit("content"),i(h)}function d(h){return n.consume(h),n.exit("chunkContent"),r.next=n.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,c}}function Ub(n,i,r){const u=this;return c;function c(d){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),qe(n,f,"linePrefix")}function f(d){if(d===null||pe(d))return r(d);const h=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?i(d):n.interrupt(u.parser.constructs.flow,r,i)(d)}}function Ag(n,i,r,u,c,f,d,h,g){const m=g||Number.POSITIVE_INFINITY;let y=0;return b;function b(M){return M===60?(n.enter(u),n.enter(c),n.enter(f),n.consume(M),n.exit(f),N):M===null||M===32||M===41||mo(M)?r(M):(n.enter(u),n.enter(d),n.enter(h),n.enter("chunkString",{contentType:"string"}),D(M))}function N(M){return M===62?(n.enter(f),n.consume(M),n.exit(f),n.exit(c),n.exit(u),i):(n.enter(h),n.enter("chunkString",{contentType:"string"}),E(M))}function E(M){return M===62?(n.exit("chunkString"),n.exit(h),N(M)):M===null||M===60||pe(M)?r(M):(n.consume(M),M===92?U:E)}function U(M){return M===60||M===62||M===92?(n.consume(M),E):E(M)}function D(M){return!y&&(M===null||M===41||Et(M))?(n.exit("chunkString"),n.exit(h),n.exit(d),n.exit(u),i(M)):y<m&&M===40?(n.consume(M),y++,D):M===41?(n.consume(M),y--,D):M===null||M===32||M===40||mo(M)?r(M):(n.consume(M),M===92?Y:D)}function Y(M){return M===40||M===41||M===92?(n.consume(M),D):D(M)}}function wg(n,i,r,u,c,f){const d=this;let h=0,g;return m;function m(E){return n.enter(u),n.enter(c),n.consume(E),n.exit(c),n.enter(f),y}function y(E){return h>999||E===null||E===91||E===93&&!g||E===94&&!h&&"_hiddenFootnoteSupport"in d.parser.constructs?r(E):E===93?(n.exit(f),n.enter(c),n.consume(E),n.exit(c),n.exit(u),i):pe(E)?(n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),y):(n.enter("chunkString",{contentType:"string"}),b(E))}function b(E){return E===null||E===91||E===93||pe(E)||h++>999?(n.exit("chunkString"),y(E)):(n.consume(E),g||(g=!ze(E)),E===92?N:b)}function N(E){return E===91||E===92||E===93?(n.consume(E),h++,b):b(E)}}function jg(n,i,r,u,c,f){let d;return h;function h(N){return N===34||N===39||N===40?(n.enter(u),n.enter(c),n.consume(N),n.exit(c),d=N===40?41:N,g):r(N)}function g(N){return N===d?(n.enter(c),n.consume(N),n.exit(c),n.exit(u),i):(n.enter(f),m(N))}function m(N){return N===d?(n.exit(f),g(d)):N===null?r(N):pe(N)?(n.enter("lineEnding"),n.consume(N),n.exit("lineEnding"),qe(n,m,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),y(N))}function y(N){return N===d||N===null||pe(N)?(n.exit("chunkString"),m(N)):(n.consume(N),N===92?b:y)}function b(N){return N===d||N===92?(n.consume(N),y):y(N)}}function ji(n,i){let r;return u;function u(c){return pe(c)?(n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),r=!0,u):ze(c)?qe(n,u,r?"linePrefix":"lineSuffix")(c):i(c)}}const Lb={name:"definition",tokenize:Hb},Bb={partial:!0,tokenize:qb};function Hb(n,i,r){const u=this;let c;return f;function f(E){return n.enter("definition"),d(E)}function d(E){return wg.call(u,n,h,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function h(E){return c=ma(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),E===58?(n.enter("definitionMarker"),n.consume(E),n.exit("definitionMarker"),g):r(E)}function g(E){return Et(E)?ji(n,m)(E):m(E)}function m(E){return Ag(n,y,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function y(E){return n.attempt(Bb,b,b)(E)}function b(E){return ze(E)?qe(n,N,"whitespace")(E):N(E)}function N(E){return E===null||pe(E)?(n.exit("definition"),u.parser.defined.push(c),i(E)):r(E)}}function qb(n,i,r){return u;function u(h){return Et(h)?ji(n,c)(h):r(h)}function c(h){return jg(n,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function f(h){return ze(h)?qe(n,d,"whitespace")(h):d(h)}function d(h){return h===null||pe(h)?i(h):r(h)}}const Yb={name:"hardBreakEscape",tokenize:Vb};function Vb(n,i,r){return u;function u(f){return n.enter("hardBreakEscape"),n.consume(f),c}function c(f){return pe(f)?(n.exit("hardBreakEscape"),i(f)):r(f)}}const Xb={name:"headingAtx",resolve:Qb,tokenize:Gb};function Qb(n,i){let r=n.length-2,u=3,c,f;return n[u][1].type==="whitespace"&&(u+=2),r-2>u&&n[r][1].type==="whitespace"&&(r-=2),n[r][1].type==="atxHeadingSequence"&&(u===r-1||r-4>u&&n[r-2][1].type==="whitespace")&&(r-=u+1===r?2:4),r>u&&(c={type:"atxHeadingText",start:n[u][1].start,end:n[r][1].end},f={type:"chunkText",start:n[u][1].start,end:n[r][1].end,contentType:"text"},on(n,u,r-u+1,[["enter",c,i],["enter",f,i],["exit",f,i],["exit",c,i]])),n}function Gb(n,i,r){let u=0;return c;function c(y){return n.enter("atxHeading"),f(y)}function f(y){return n.enter("atxHeadingSequence"),d(y)}function d(y){return y===35&&u++<6?(n.consume(y),d):y===null||Et(y)?(n.exit("atxHeadingSequence"),h(y)):r(y)}function h(y){return y===35?(n.enter("atxHeadingSequence"),g(y)):y===null||pe(y)?(n.exit("atxHeading"),i(y)):ze(y)?qe(n,h,"whitespace")(y):(n.enter("atxHeadingText"),m(y))}function g(y){return y===35?(n.consume(y),g):(n.exit("atxHeadingSequence"),h(y))}function m(y){return y===null||y===35||Et(y)?(n.exit("atxHeadingText"),h(y)):(n.consume(y),m)}}const Zb=["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"],gp=["pre","script","style","textarea"],Kb={concrete:!0,name:"htmlFlow",resolveTo:$b,tokenize:Pb},Jb={partial:!0,tokenize:Wb},Fb={partial:!0,tokenize:Ib};function $b(n){let i=n.length;for(;i--&&!(n[i][0]==="enter"&&n[i][1].type==="htmlFlow"););return i>1&&n[i-2][1].type==="linePrefix"&&(n[i][1].start=n[i-2][1].start,n[i+1][1].start=n[i-2][1].start,n.splice(i-2,2)),n}function Pb(n,i,r){const u=this;let c,f,d,h,g;return m;function m(T){return y(T)}function y(T){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(T),b}function b(T){return T===33?(n.consume(T),N):T===47?(n.consume(T),f=!0,D):T===63?(n.consume(T),c=3,u.interrupt?i:v):cn(T)?(n.consume(T),d=String.fromCharCode(T),Y):r(T)}function N(T){return T===45?(n.consume(T),c=2,E):T===91?(n.consume(T),c=5,h=0,U):cn(T)?(n.consume(T),c=4,u.interrupt?i:v):r(T)}function E(T){return T===45?(n.consume(T),u.interrupt?i:v):r(T)}function U(T){const ee="CDATA[";return T===ee.charCodeAt(h++)?(n.consume(T),h===ee.length?u.interrupt?i:P:U):r(T)}function D(T){return cn(T)?(n.consume(T),d=String.fromCharCode(T),Y):r(T)}function Y(T){if(T===null||T===47||T===62||Et(T)){const ee=T===47,be=d.toLowerCase();return!ee&&!f&&gp.includes(be)?(c=1,u.interrupt?i(T):P(T)):Zb.includes(d.toLowerCase())?(c=6,ee?(n.consume(T),M):u.interrupt?i(T):P(T)):(c=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(T):f?V(T):G(T))}return T===45||kt(T)?(n.consume(T),d+=String.fromCharCode(T),Y):r(T)}function M(T){return T===62?(n.consume(T),u.interrupt?i:P):r(T)}function V(T){return ze(T)?(n.consume(T),V):ye(T)}function G(T){return T===47?(n.consume(T),ye):T===58||T===95||cn(T)?(n.consume(T),se):ze(T)?(n.consume(T),G):ye(T)}function se(T){return T===45||T===46||T===58||T===95||kt(T)?(n.consume(T),se):$(T)}function $(T){return T===61?(n.consume(T),H):ze(T)?(n.consume(T),$):G(T)}function H(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(n.consume(T),g=T,ue):ze(T)?(n.consume(T),H):ge(T)}function ue(T){return T===g?(n.consume(T),g=null,he):T===null||pe(T)?r(T):(n.consume(T),ue)}function ge(T){return T===null||T===34||T===39||T===47||T===60||T===61||T===62||T===96||Et(T)?$(T):(n.consume(T),ge)}function he(T){return T===47||T===62||ze(T)?G(T):r(T)}function ye(T){return T===62?(n.consume(T),le):r(T)}function le(T){return T===null||pe(T)?P(T):ze(T)?(n.consume(T),le):r(T)}function P(T){return T===45&&c===2?(n.consume(T),_):T===60&&c===1?(n.consume(T),J):T===62&&c===4?(n.consume(T),X):T===63&&c===3?(n.consume(T),v):T===93&&c===5?(n.consume(T),Te):pe(T)&&(c===6||c===7)?(n.exit("htmlFlowData"),n.check(Jb,F,ie)(T)):T===null||pe(T)?(n.exit("htmlFlowData"),ie(T)):(n.consume(T),P)}function ie(T){return n.check(Fb,I,F)(T)}function I(T){return n.enter("lineEnding"),n.consume(T),n.exit("lineEnding"),te}function te(T){return T===null||pe(T)?ie(T):(n.enter("htmlFlowData"),P(T))}function _(T){return T===45?(n.consume(T),v):P(T)}function J(T){return T===47?(n.consume(T),d="",ae):P(T)}function ae(T){if(T===62){const ee=d.toLowerCase();return gp.includes(ee)?(n.consume(T),X):P(T)}return cn(T)&&d.length<8?(n.consume(T),d+=String.fromCharCode(T),ae):P(T)}function Te(T){return T===93?(n.consume(T),v):P(T)}function v(T){return T===62?(n.consume(T),X):T===45&&c===2?(n.consume(T),v):P(T)}function X(T){return T===null||pe(T)?(n.exit("htmlFlowData"),F(T)):(n.consume(T),X)}function F(T){return n.exit("htmlFlow"),i(T)}}function Ib(n,i,r){const u=this;return c;function c(d){return pe(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),f):r(d)}function f(d){return u.parser.lazy[u.now().line]?r(d):i(d)}}function Wb(n,i,r){return u;function u(c){return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),n.attempt(xu,i,r)}}const eS={name:"htmlText",tokenize:tS};function tS(n,i,r){const u=this;let c,f,d;return h;function h(v){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(v),g}function g(v){return v===33?(n.consume(v),m):v===47?(n.consume(v),$):v===63?(n.consume(v),G):cn(v)?(n.consume(v),ge):r(v)}function m(v){return v===45?(n.consume(v),y):v===91?(n.consume(v),f=0,U):cn(v)?(n.consume(v),V):r(v)}function y(v){return v===45?(n.consume(v),E):r(v)}function b(v){return v===null?r(v):v===45?(n.consume(v),N):pe(v)?(d=b,J(v)):(n.consume(v),b)}function N(v){return v===45?(n.consume(v),E):b(v)}function E(v){return v===62?_(v):v===45?N(v):b(v)}function U(v){const X="CDATA[";return v===X.charCodeAt(f++)?(n.consume(v),f===X.length?D:U):r(v)}function D(v){return v===null?r(v):v===93?(n.consume(v),Y):pe(v)?(d=D,J(v)):(n.consume(v),D)}function Y(v){return v===93?(n.consume(v),M):D(v)}function M(v){return v===62?_(v):v===93?(n.consume(v),M):D(v)}function V(v){return v===null||v===62?_(v):pe(v)?(d=V,J(v)):(n.consume(v),V)}function G(v){return v===null?r(v):v===63?(n.consume(v),se):pe(v)?(d=G,J(v)):(n.consume(v),G)}function se(v){return v===62?_(v):G(v)}function $(v){return cn(v)?(n.consume(v),H):r(v)}function H(v){return v===45||kt(v)?(n.consume(v),H):ue(v)}function ue(v){return pe(v)?(d=ue,J(v)):ze(v)?(n.consume(v),ue):_(v)}function ge(v){return v===45||kt(v)?(n.consume(v),ge):v===47||v===62||Et(v)?he(v):r(v)}function he(v){return v===47?(n.consume(v),_):v===58||v===95||cn(v)?(n.consume(v),ye):pe(v)?(d=he,J(v)):ze(v)?(n.consume(v),he):_(v)}function ye(v){return v===45||v===46||v===58||v===95||kt(v)?(n.consume(v),ye):le(v)}function le(v){return v===61?(n.consume(v),P):pe(v)?(d=le,J(v)):ze(v)?(n.consume(v),le):he(v)}function P(v){return v===null||v===60||v===61||v===62||v===96?r(v):v===34||v===39?(n.consume(v),c=v,ie):pe(v)?(d=P,J(v)):ze(v)?(n.consume(v),P):(n.consume(v),I)}function ie(v){return v===c?(n.consume(v),c=void 0,te):v===null?r(v):pe(v)?(d=ie,J(v)):(n.consume(v),ie)}function I(v){return v===null||v===34||v===39||v===60||v===61||v===96?r(v):v===47||v===62||Et(v)?he(v):(n.consume(v),I)}function te(v){return v===47||v===62||Et(v)?he(v):r(v)}function _(v){return v===62?(n.consume(v),n.exit("htmlTextData"),n.exit("htmlText"),i):r(v)}function J(v){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),ae}function ae(v){return ze(v)?qe(n,Te,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):Te(v)}function Te(v){return n.enter("htmlTextData"),d(v)}}const Bo={name:"labelEnd",resolveAll:iS,resolveTo:rS,tokenize:uS},nS={tokenize:sS},lS={tokenize:cS},aS={tokenize:oS};function iS(n){let i=-1;const r=[];for(;++i<n.length;){const u=n[i][1];if(r.push(n[i]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const c=u.type==="labelImage"?4:2;u.type="data",i+=c}}return n.length!==r.length&&on(n,0,n.length,r),n}function rS(n,i){let r=n.length,u=0,c,f,d,h;for(;r--;)if(c=n[r][1],f){if(c.type==="link"||c.type==="labelLink"&&c._inactive)break;n[r][0]==="enter"&&c.type==="labelLink"&&(c._inactive=!0)}else if(d){if(n[r][0]==="enter"&&(c.type==="labelImage"||c.type==="labelLink")&&!c._balanced&&(f=r,c.type!=="labelLink")){u=2;break}}else c.type==="labelEnd"&&(d=r);const g={type:n[f][1].type==="labelLink"?"link":"image",start:{...n[f][1].start},end:{...n[n.length-1][1].end}},m={type:"label",start:{...n[f][1].start},end:{...n[d][1].end}},y={type:"labelText",start:{...n[f+u+2][1].end},end:{...n[d-2][1].start}};return h=[["enter",g,i],["enter",m,i]],h=Zt(h,n.slice(f+1,f+u+3)),h=Zt(h,[["enter",y,i]]),h=Zt(h,Lo(i.parser.constructs.insideSpan.null,n.slice(f+u+4,d-3),i)),h=Zt(h,[["exit",y,i],n[d-2],n[d-1],["exit",m,i]]),h=Zt(h,n.slice(d+1)),h=Zt(h,[["exit",g,i]]),on(n,f,n.length,h),n}function uS(n,i,r){const u=this;let c=u.events.length,f,d;for(;c--;)if((u.events[c][1].type==="labelImage"||u.events[c][1].type==="labelLink")&&!u.events[c][1]._balanced){f=u.events[c][1];break}return h;function h(N){return f?f._inactive?b(N):(d=u.parser.defined.includes(ma(u.sliceSerialize({start:f.end,end:u.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(N),n.exit("labelMarker"),n.exit("labelEnd"),g):r(N)}function g(N){return N===40?n.attempt(nS,y,d?y:b)(N):N===91?n.attempt(lS,y,d?m:b)(N):d?y(N):b(N)}function m(N){return n.attempt(aS,y,b)(N)}function y(N){return i(N)}function b(N){return f._balanced=!0,r(N)}}function sS(n,i,r){return u;function u(b){return n.enter("resource"),n.enter("resourceMarker"),n.consume(b),n.exit("resourceMarker"),c}function c(b){return Et(b)?ji(n,f)(b):f(b)}function f(b){return b===41?y(b):Ag(n,d,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function d(b){return Et(b)?ji(n,g)(b):y(b)}function h(b){return r(b)}function g(b){return b===34||b===39||b===40?jg(n,m,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):y(b)}function m(b){return Et(b)?ji(n,y)(b):y(b)}function y(b){return b===41?(n.enter("resourceMarker"),n.consume(b),n.exit("resourceMarker"),n.exit("resource"),i):r(b)}}function cS(n,i,r){const u=this;return c;function c(h){return wg.call(u,n,f,d,"reference","referenceMarker","referenceString")(h)}function f(h){return u.parser.defined.includes(ma(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?i(h):r(h)}function d(h){return r(h)}}function oS(n,i,r){return u;function u(f){return n.enter("reference"),n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),c}function c(f){return f===93?(n.enter("referenceMarker"),n.consume(f),n.exit("referenceMarker"),n.exit("reference"),i):r(f)}}const fS={name:"labelStartImage",resolveAll:Bo.resolveAll,tokenize:dS};function dS(n,i,r){const u=this;return c;function c(h){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(h),n.exit("labelImageMarker"),f}function f(h){return h===91?(n.enter("labelMarker"),n.consume(h),n.exit("labelMarker"),n.exit("labelImage"),d):r(h)}function d(h){return h===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(h):i(h)}}const hS={name:"labelStartLink",resolveAll:Bo.resolveAll,tokenize:mS};function mS(n,i,r){const u=this;return c;function c(d){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(d):i(d)}}const Pc={name:"lineEnding",tokenize:pS};function pS(n,i){return r;function r(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),qe(n,i,"linePrefix")}}const nu={name:"thematicBreak",tokenize:gS};function gS(n,i,r){let u=0,c;return f;function f(m){return n.enter("thematicBreak"),d(m)}function d(m){return c=m,h(m)}function h(m){return m===c?(n.enter("thematicBreakSequence"),g(m)):u>=3&&(m===null||pe(m))?(n.exit("thematicBreak"),i(m)):r(m)}function g(m){return m===c?(n.consume(m),u++,g):(n.exit("thematicBreakSequence"),ze(m)?qe(n,h,"whitespace")(m):h(m))}}const St={continuation:{tokenize:bS},exit:ES,name:"list",tokenize:vS},yS={partial:!0,tokenize:TS},xS={partial:!0,tokenize:SS};function vS(n,i,r){const u=this,c=u.events[u.events.length-1];let f=c&&c[1].type==="linePrefix"?c[2].sliceSerialize(c[1],!0).length:0,d=0;return h;function h(E){const U=u.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(U==="listUnordered"?!u.containerState.marker||E===u.containerState.marker:po(E)){if(u.containerState.type||(u.containerState.type=U,n.enter(U,{_container:!0})),U==="listUnordered")return n.enter("listItemPrefix"),E===42||E===45?n.check(nu,r,m)(E):m(E);if(!u.interrupt||E===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),g(E)}return r(E)}function g(E){return po(E)&&++d<10?(n.consume(E),g):(!u.interrupt||d<2)&&(u.containerState.marker?E===u.containerState.marker:E===41||E===46)?(n.exit("listItemValue"),m(E)):r(E)}function m(E){return n.enter("listItemMarker"),n.consume(E),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||E,n.check(xu,u.interrupt?r:y,n.attempt(yS,N,b))}function y(E){return u.containerState.initialBlankLine=!0,f++,N(E)}function b(E){return ze(E)?(n.enter("listItemPrefixWhitespace"),n.consume(E),n.exit("listItemPrefixWhitespace"),N):r(E)}function N(E){return u.containerState.size=f+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,i(E)}}function bS(n,i,r){const u=this;return u.containerState._closeFlow=void 0,n.check(xu,c,f);function c(h){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,qe(n,i,"listItemIndent",u.containerState.size+1)(h)}function f(h){return u.containerState.furtherBlankLines||!ze(h)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,d(h)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(xS,i,d)(h))}function d(h){return u.containerState._closeFlow=!0,u.interrupt=void 0,qe(n,n.attempt(St,i,r),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function SS(n,i,r){const u=this;return qe(n,c,"listItemIndent",u.containerState.size+1);function c(f){const d=u.events[u.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===u.containerState.size?i(f):r(f)}}function ES(n){n.exit(this.containerState.type)}function TS(n,i,r){const u=this;return qe(n,c,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function c(f){const d=u.events[u.events.length-1];return!ze(f)&&d&&d[1].type==="listItemPrefixWhitespace"?i(f):r(f)}}const yp={name:"setextUnderline",resolveTo:NS,tokenize:AS};function NS(n,i){let r=n.length,u,c,f;for(;r--;)if(n[r][0]==="enter"){if(n[r][1].type==="content"){u=r;break}n[r][1].type==="paragraph"&&(c=r)}else n[r][1].type==="content"&&n.splice(r,1),!f&&n[r][1].type==="definition"&&(f=r);const d={type:"setextHeading",start:{...n[u][1].start},end:{...n[n.length-1][1].end}};return n[c][1].type="setextHeadingText",f?(n.splice(c,0,["enter",d,i]),n.splice(f+1,0,["exit",n[u][1],i]),n[u][1].end={...n[f][1].end}):n[u][1]=d,n.push(["exit",d,i]),n}function AS(n,i,r){const u=this;let c;return f;function f(m){let y=u.events.length,b;for(;y--;)if(u.events[y][1].type!=="lineEnding"&&u.events[y][1].type!=="linePrefix"&&u.events[y][1].type!=="content"){b=u.events[y][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||b)?(n.enter("setextHeadingLine"),c=m,d(m)):r(m)}function d(m){return n.enter("setextHeadingLineSequence"),h(m)}function h(m){return m===c?(n.consume(m),h):(n.exit("setextHeadingLineSequence"),ze(m)?qe(n,g,"lineSuffix")(m):g(m))}function g(m){return m===null||pe(m)?(n.exit("setextHeadingLine"),i(m)):r(m)}}const wS={tokenize:jS};function jS(n){const i=this,r=n.attempt(xu,u,n.attempt(this.parser.constructs.flowInitial,c,qe(n,n.attempt(this.parser.constructs.flow,c,n.attempt(Db,c)),"linePrefix")));return r;function u(f){if(f===null){n.consume(f);return}return n.enter("lineEndingBlank"),n.consume(f),n.exit("lineEndingBlank"),i.currentConstruct=void 0,r}function c(f){if(f===null){n.consume(f);return}return n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),i.currentConstruct=void 0,r}}const RS={resolveAll:Cg()},CS=Rg("string"),zS=Rg("text");function Rg(n){return{resolveAll:Cg(n==="text"?OS:void 0),tokenize:i};function i(r){const u=this,c=this.parser.constructs[n],f=r.attempt(c,d,h);return d;function d(y){return m(y)?f(y):h(y)}function h(y){if(y===null){r.consume(y);return}return r.enter("data"),r.consume(y),g}function g(y){return m(y)?(r.exit("data"),f(y)):(r.consume(y),g)}function m(y){if(y===null)return!0;const b=c[y];let N=-1;if(b)for(;++N<b.length;){const E=b[N];if(!E.previous||E.previous.call(u,u.previous))return!0}return!1}}}function Cg(n){return i;function i(r,u){let c=-1,f;for(;++c<=r.length;)f===void 0?r[c]&&r[c][1].type==="data"&&(f=c,c++):(!r[c]||r[c][1].type!=="data")&&(c!==f+2&&(r[f][1].end=r[c-1][1].end,r.splice(f+2,c-f-2),c=f+2),f=void 0);return n?n(r,u):r}}function OS(n,i){let r=0;for(;++r<=n.length;)if((r===n.length||n[r][1].type==="lineEnding")&&n[r-1][1].type==="data"){const u=n[r-1][1],c=i.sliceStream(u);let f=c.length,d=-1,h=0,g;for(;f--;){const m=c[f];if(typeof m=="string"){for(d=m.length;m.charCodeAt(d-1)===32;)h++,d--;if(d)break;d=-1}else if(m===-2)g=!0,h++;else if(m!==-1){f++;break}}if(i._contentTypeTextTrailing&&r===n.length&&(h=0),h){const m={type:r===n.length||g||h<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?d:u.start._bufferIndex+d,_index:u.start._index+f,line:u.end.line,column:u.end.column-h,offset:u.end.offset-h},end:{...u.end}};u.end={...m.start},u.start.offset===u.end.offset?Object.assign(u,m):(n.splice(r,0,["enter",m,i],["exit",m,i]),r+=2)}r++}return n}const DS={42:St,43:St,45:St,48:St,49:St,50:St,51:St,52:St,53:St,54:St,55:St,56:St,57:St,62:Sg},_S={91:Lb},MS={[-2]:$c,[-1]:$c,32:$c},kS={35:Xb,42:nu,45:[yp,nu],60:Kb,61:yp,95:nu,96:pp,126:pp},US={38:Tg,92:Eg},LS={[-5]:Pc,[-4]:Pc,[-3]:Pc,33:fS,38:Tg,42:go,60:[hb,eS],91:hS,92:[Yb,Eg],93:Bo,95:go,96:wb},BS={null:[go,RS]},HS={null:[42,95]},qS={null:[]},YS=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:HS,contentInitial:_S,disable:qS,document:DS,flow:kS,flowInitial:MS,insideSpan:BS,string:US,text:LS},Symbol.toStringTag,{value:"Module"}));function VS(n,i,r){let u={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const c={},f=[];let d=[],h=[];const g={attempt:ue($),check:ue(H),consume:V,enter:G,exit:se,interrupt:ue(H,{interrupt:!0})},m={code:null,containerState:{},defineSkip:D,events:[],now:U,parser:n,previous:null,sliceSerialize:N,sliceStream:E,write:b};let y=i.tokenize.call(m,g);return i.resolveAll&&f.push(i),m;function b(le){return d=Zt(d,le),Y(),d[d.length-1]!==null?[]:(ge(i,0),m.events=Lo(f,m.events,m),m.events)}function N(le,P){return QS(E(le),P)}function E(le){return XS(d,le)}function U(){const{_bufferIndex:le,_index:P,line:ie,column:I,offset:te}=u;return{_bufferIndex:le,_index:P,line:ie,column:I,offset:te}}function D(le){c[le.line]=le.column,ye()}function Y(){let le;for(;u._index<d.length;){const P=d[u._index];if(typeof P=="string")for(le=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===le&&u._bufferIndex<P.length;)M(P.charCodeAt(u._bufferIndex));else M(P)}}function M(le){y=y(le)}function V(le){pe(le)?(u.line++,u.column=1,u.offset+=le===-3?2:1,ye()):le!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===d[u._index].length&&(u._bufferIndex=-1,u._index++)),m.previous=le}function G(le,P){const ie=P||{};return ie.type=le,ie.start=U(),m.events.push(["enter",ie,m]),h.push(ie),ie}function se(le){const P=h.pop();return P.end=U(),m.events.push(["exit",P,m]),P}function $(le,P){ge(le,P.from)}function H(le,P){P.restore()}function ue(le,P){return ie;function ie(I,te,_){let J,ae,Te,v;return Array.isArray(I)?F(I):"tokenize"in I?F([I]):X(I);function X(ne){return Pe;function Pe(je){const ht=je!==null&&ne[je],en=je!==null&&ne.null,hn=[...Array.isArray(ht)?ht:ht?[ht]:[],...Array.isArray(en)?en:en?[en]:[]];return F(hn)(je)}}function F(ne){return J=ne,ae=0,ne.length===0?_:T(ne[ae])}function T(ne){return Pe;function Pe(je){return v=he(),Te=ne,ne.partial||(m.currentConstruct=ne),ne.name&&m.parser.constructs.disable.null.includes(ne.name)?be():ne.tokenize.call(P?Object.assign(Object.create(m),P):m,g,ee,be)(je)}}function ee(ne){return le(Te,v),te}function be(ne){return v.restore(),++ae<J.length?T(J[ae]):_}}}function ge(le,P){le.resolveAll&&!f.includes(le)&&f.push(le),le.resolve&&on(m.events,P,m.events.length-P,le.resolve(m.events.slice(P),m)),le.resolveTo&&(m.events=le.resolveTo(m.events,m))}function he(){const le=U(),P=m.previous,ie=m.currentConstruct,I=m.events.length,te=Array.from(h);return{from:I,restore:_};function _(){u=le,m.previous=P,m.currentConstruct=ie,m.events.length=I,h=te,ye()}}function ye(){u.line in c&&u.column<2&&(u.column=c[u.line],u.offset+=c[u.line]-1)}}function XS(n,i){const r=i.start._index,u=i.start._bufferIndex,c=i.end._index,f=i.end._bufferIndex;let d;if(r===c)d=[n[r].slice(u,f)];else{if(d=n.slice(r,c),u>-1){const h=d[0];typeof h=="string"?d[0]=h.slice(u):d.shift()}f>0&&d.push(n[c].slice(0,f))}return d}function QS(n,i){let r=-1;const u=[];let c;for(;++r<n.length;){const f=n[r];let d;if(typeof f=="string")d=f;else switch(f){case-5:{d="\r";break}case-4:{d=`
13
+ `;break}case-3:{d=`\r
14
+ `;break}case-2:{d=i?" ":" ";break}case-1:{if(!i&&c)continue;d=" ";break}default:d=String.fromCharCode(f)}c=f===-2,u.push(d)}return u.join("")}function GS(n){const u={constructs:I1([YS,...(n||{}).extensions||[]]),content:c(rb),defined:[],document:c(sb),flow:c(wS),lazy:{},string:c(CS),text:c(zS)};return u;function c(f){return d;function d(h){return VS(u,f,h)}}}function ZS(n){for(;!Ng(n););return n}const xp=/[\0\t\n\r]/g;function KS(){let n=1,i="",r=!0,u;return c;function c(f,d,h){const g=[];let m,y,b,N,E;for(f=i+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),b=0,i="",r&&(f.charCodeAt(0)===65279&&b++,r=void 0);b<f.length;){if(xp.lastIndex=b,m=xp.exec(f),N=m&&m.index!==void 0?m.index:f.length,E=f.charCodeAt(N),!m){i=f.slice(b);break}if(E===10&&b===N&&u)g.push(-3),u=void 0;else switch(u&&(g.push(-5),u=void 0),b<N&&(g.push(f.slice(b,N)),n+=N-b),E){case 0:{g.push(65533),n++;break}case 9:{for(y=Math.ceil(n/4)*4,g.push(-2);n++<y;)g.push(-1);break}case 10:{g.push(-4),n=1;break}default:u=!0,n=1}b=N+1}return h&&(u&&g.push(-5),i&&g.push(i),g.push(null)),g}}const JS=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function FS(n){return n.replace(JS,$S)}function $S(n,i,r){if(i)return i;if(r.charCodeAt(0)===35){const c=r.charCodeAt(1),f=c===120||c===88;return bg(r.slice(f?2:1),f?16:10)}return Uo(r)||n}const zg={}.hasOwnProperty;function PS(n,i,r){return typeof i!="string"&&(r=i,i=void 0),IS(r)(ZS(GS(r).document().write(KS()(n,i,!0))))}function IS(n){const i={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Ea),autolinkProtocol:he,autolinkEmail:he,atxHeading:f(Li),blockQuote:f(en),characterEscape:he,characterReference:he,codeFenced:f(hn),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(hn,d),codeText:f(va,d),codeTextData:he,data:he,codeFlowValue:he,definition:f(ba),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Sa),hardBreakEscape:f(Bi),hardBreakTrailing:f(Bi),htmlFlow:f(Nt,d),htmlFlowData:he,htmlText:f(Nt,d),htmlTextData:he,image:f(Eu),label:d,link:f(Ea),listItem:f(Al),listItemValue:N,listOrdered:f(Ta,b),listUnordered:f(Ta),paragraph:f(Tu),reference:T,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Li),strong:f(Hi),thematicBreak:f(Au)},exit:{atxHeading:g(),atxHeadingSequence:$,autolink:g(),autolinkEmail:ht,autolinkProtocol:je,blockQuote:g(),characterEscapeValue:ye,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:ne,characterReference:Pe,codeFenced:g(Y),codeFencedFence:D,codeFencedFenceInfo:E,codeFencedFenceMeta:U,codeFlowValue:ye,codeIndented:g(M),codeText:g(te),codeTextData:ye,data:ye,definition:g(),definitionDestinationString:se,definitionLabelString:V,definitionTitleString:G,emphasis:g(),hardBreakEscape:g(P),hardBreakTrailing:g(P),htmlFlow:g(ie),htmlFlowData:ye,htmlText:g(I),htmlTextData:ye,image:g(J),label:Te,labelText:ae,lineEnding:le,link:g(_),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:ee,resourceDestinationString:v,resourceTitleString:X,resource:F,setextHeading:g(ge),setextHeadingLineSequence:ue,setextHeadingText:H,strong:g(),thematicBreak:g()}};Og(i,(n||{}).mdastExtensions||[]);const r={};return u;function u(L){let Z={type:"root",children:[]};const ce={stack:[Z],tokenStack:[],config:i,enter:h,exit:m,buffer:d,resume:y,data:r},de=[];let Oe=-1;for(;++Oe<L.length;)if(L[Oe][1].type==="listOrdered"||L[Oe][1].type==="listUnordered")if(L[Oe][0]==="enter")de.push(Oe);else{const At=de.pop();Oe=c(L,At,Oe)}for(Oe=-1;++Oe<L.length;){const At=i[L[Oe][0]];zg.call(At,L[Oe][1].type)&&At[L[Oe][1].type].call(Object.assign({sliceSerialize:L[Oe][2].sliceSerialize},ce),L[Oe][1])}if(ce.tokenStack.length>0){const At=ce.tokenStack[ce.tokenStack.length-1];(At[1]||vp).call(ce,void 0,At[0])}for(Z.position={start:nl(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:nl(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},Oe=-1;++Oe<i.transforms.length;)Z=i.transforms[Oe](Z)||Z;return Z}function c(L,Z,ce){let de=Z-1,Oe=-1,At=!1,mn,pt,tn,wt;for(;++de<=ce;){const et=L[de];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?Oe++:Oe--,wt=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&(mn&&!wt&&!Oe&&!tn&&(tn=de),wt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:wt=void 0}if(!Oe&&et[0]==="enter"&&et[1].type==="listItemPrefix"||Oe===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if(mn){let Ut=de;for(pt=void 0;Ut--;){const Ft=L[Ut];if(Ft[1].type==="lineEnding"||Ft[1].type==="lineEndingBlank"){if(Ft[0]==="exit")continue;pt&&(L[pt][1].type="lineEndingBlank",At=!0),Ft[1].type="lineEnding",pt=Ut}else if(!(Ft[1].type==="linePrefix"||Ft[1].type==="blockQuotePrefix"||Ft[1].type==="blockQuotePrefixWhitespace"||Ft[1].type==="blockQuoteMarker"||Ft[1].type==="listItemIndent"))break}tn&&(!pt||tn<pt)&&(mn._spread=!0),mn.end=Object.assign({},pt?L[pt][1].start:et[1].end),L.splice(pt||de,0,["exit",mn,et[2]]),de++,ce++}if(et[1].type==="listItemPrefix"){const Ut={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};mn=Ut,L.splice(de,0,["enter",Ut,et[2]]),de++,ce++,tn=void 0,wt=!0}}}return L[Z][1]._spread=At,ce}function f(L,Z){return ce;function ce(de){h.call(this,L(de),de),Z&&Z.call(this,de)}}function d(){this.stack.push({type:"fragment",children:[]})}function h(L,Z,ce){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([Z,ce||void 0]),L.position={start:nl(Z.start),end:void 0}}function g(L){return Z;function Z(ce){L&&L.call(this,ce),m.call(this,ce)}}function m(L,Z){const ce=this.stack.pop(),de=this.tokenStack.pop();if(de)de[0].type!==L.type&&(Z?Z.call(this,L,de[0]):(de[1]||vp).call(this,L,de[0]));else throw new Error("Cannot close `"+L.type+"` ("+wi({start:L.start,end:L.end})+"): it’s not open");ce.position.end=nl(L.end)}function y(){return $1(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function N(L){if(this.data.expectingFirstListItemValue){const Z=this.stack[this.stack.length-2];Z.start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0}}function E(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.lang=L}function U(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.meta=L}function D(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function Y(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function M(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.value=L.replace(/(\r?\n|\r)$/g,"")}function V(L){const Z=this.resume(),ce=this.stack[this.stack.length-1];ce.label=Z,ce.identifier=ma(this.sliceSerialize(L)).toLowerCase()}function G(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.title=L}function se(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.url=L}function $(L){const Z=this.stack[this.stack.length-1];if(!Z.depth){const ce=this.sliceSerialize(L).length;Z.depth=ce}}function H(){this.data.setextHeadingSlurpLineEnding=!0}function ue(L){const Z=this.stack[this.stack.length-1];Z.depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function ge(){this.data.setextHeadingSlurpLineEnding=void 0}function he(L){const ce=this.stack[this.stack.length-1].children;let de=ce[ce.length-1];(!de||de.type!=="text")&&(de=Nu(),de.position={start:nl(L.start),end:void 0},ce.push(de)),this.stack.push(de)}function ye(L){const Z=this.stack.pop();Z.value+=this.sliceSerialize(L),Z.position.end=nl(L.end)}function le(L){const Z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ce=Z.children[Z.children.length-1];ce.position.end=nl(L.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&i.canContainEols.includes(Z.type)&&(he.call(this,L),ye.call(this,L))}function P(){this.data.atHardBreak=!0}function ie(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.value=L}function I(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.value=L}function te(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.value=L}function _(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const Z=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=Z,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function J(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const Z=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=Z,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function ae(L){const Z=this.sliceSerialize(L),ce=this.stack[this.stack.length-2];ce.label=FS(Z),ce.identifier=ma(Z).toLowerCase()}function Te(){const L=this.stack[this.stack.length-1],Z=this.resume(),ce=this.stack[this.stack.length-1];if(this.data.inReference=!0,ce.type==="link"){const de=L.children;ce.children=de}else ce.alt=Z}function v(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.url=L}function X(){const L=this.resume(),Z=this.stack[this.stack.length-1];Z.title=L}function F(){this.data.inReference=void 0}function T(){this.data.referenceType="collapsed"}function ee(L){const Z=this.resume(),ce=this.stack[this.stack.length-1];ce.label=Z,ce.identifier=ma(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function be(L){this.data.characterReferenceType=L.type}function ne(L){const Z=this.sliceSerialize(L),ce=this.data.characterReferenceType;let de;ce?(de=bg(Z,ce==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):de=Uo(Z);const Oe=this.stack[this.stack.length-1];Oe.value+=de}function Pe(L){const Z=this.stack.pop();Z.position.end=nl(L.end)}function je(L){ye.call(this,L);const Z=this.stack[this.stack.length-1];Z.url=this.sliceSerialize(L)}function ht(L){ye.call(this,L);const Z=this.stack[this.stack.length-1];Z.url="mailto:"+this.sliceSerialize(L)}function en(){return{type:"blockquote",children:[]}}function hn(){return{type:"code",lang:null,meta:null,value:""}}function va(){return{type:"inlineCode",value:""}}function ba(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Sa(){return{type:"emphasis",children:[]}}function Li(){return{type:"heading",depth:0,children:[]}}function Bi(){return{type:"break"}}function Nt(){return{type:"html",value:""}}function Eu(){return{type:"image",title:null,url:"",alt:null}}function Ea(){return{type:"link",title:null,url:"",children:[]}}function Ta(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function Al(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function Tu(){return{type:"paragraph",children:[]}}function Hi(){return{type:"strong",children:[]}}function Nu(){return{type:"text",value:""}}function Au(){return{type:"thematicBreak"}}}function nl(n){return{line:n.line,column:n.column,offset:n.offset}}function Og(n,i){let r=-1;for(;++r<i.length;){const u=i[r];Array.isArray(u)?Og(n,u):WS(n,u)}}function WS(n,i){let r;for(r in i)if(zg.call(i,r))switch(r){case"canContainEols":{const u=i[r];u&&n[r].push(...u);break}case"transforms":{const u=i[r];u&&n[r].push(...u);break}case"enter":case"exit":{const u=i[r];u&&Object.assign(n[r],u);break}}}function vp(n,i){throw n?new Error("Cannot close `"+n.type+"` ("+wi({start:n.start,end:n.end})+"): a different token (`"+i.type+"`, "+wi({start:i.start,end:i.end})+") is open"):new Error("Cannot close document, a token (`"+i.type+"`, "+wi({start:i.start,end:i.end})+") is still open")}function eE(n){const i=this;i.parser=r;function r(u){return PS(u,{...i.data("settings"),...n,extensions:i.data("micromarkExtensions")||[],mdastExtensions:i.data("fromMarkdownExtensions")||[]})}}function tE(n,i){const r={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(i),!0)};return n.patch(i,r),n.applyData(i,r)}function nE(n,i){const r={type:"element",tagName:"br",properties:{},children:[]};return n.patch(i,r),[n.applyData(i,r),{type:"text",value:`
15
+ `}]}function lE(n,i){const r=i.value?i.value+`
16
+ `:"",u={},c=i.lang?i.lang.split(/\s+/):[];c.length>0&&(u.className=["language-"+c[0]]);let f={type:"element",tagName:"code",properties:u,children:[{type:"text",value:r}]};return i.meta&&(f.data={meta:i.meta}),n.patch(i,f),f=n.applyData(i,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(i,f),f}function aE(n,i){const r={type:"element",tagName:"del",properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}function iE(n,i){const r={type:"element",tagName:"em",properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}function rE(n,i){const r=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",u=String(i.identifier).toUpperCase(),c=xa(u.toLowerCase()),f=n.footnoteOrder.indexOf(u);let d,h=n.footnoteCounts.get(u);h===void 0?(h=0,n.footnoteOrder.push(u),d=n.footnoteOrder.length):d=f+1,h+=1,n.footnoteCounts.set(u,h);const g={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+c,id:r+"fnref-"+c+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};n.patch(i,g);const m={type:"element",tagName:"sup",properties:{},children:[g]};return n.patch(i,m),n.applyData(i,m)}function uE(n,i){const r={type:"element",tagName:"h"+i.depth,properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}function sE(n,i){if(n.options.allowDangerousHtml){const r={type:"raw",value:i.value};return n.patch(i,r),n.applyData(i,r)}}function Dg(n,i){const r=i.referenceType;let u="]";if(r==="collapsed"?u+="[]":r==="full"&&(u+="["+(i.label||i.identifier)+"]"),i.type==="imageReference")return[{type:"text",value:"!["+i.alt+u}];const c=n.all(i),f=c[0];f&&f.type==="text"?f.value="["+f.value:c.unshift({type:"text",value:"["});const d=c[c.length-1];return d&&d.type==="text"?d.value+=u:c.push({type:"text",value:u}),c}function cE(n,i){const r=String(i.identifier).toUpperCase(),u=n.definitionById.get(r);if(!u)return Dg(n,i);const c={src:xa(u.url||""),alt:i.alt};u.title!==null&&u.title!==void 0&&(c.title=u.title);const f={type:"element",tagName:"img",properties:c,children:[]};return n.patch(i,f),n.applyData(i,f)}function oE(n,i){const r={src:xa(i.url)};i.alt!==null&&i.alt!==void 0&&(r.alt=i.alt),i.title!==null&&i.title!==void 0&&(r.title=i.title);const u={type:"element",tagName:"img",properties:r,children:[]};return n.patch(i,u),n.applyData(i,u)}function fE(n,i){const r={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};n.patch(i,r);const u={type:"element",tagName:"code",properties:{},children:[r]};return n.patch(i,u),n.applyData(i,u)}function dE(n,i){const r=String(i.identifier).toUpperCase(),u=n.definitionById.get(r);if(!u)return Dg(n,i);const c={href:xa(u.url||"")};u.title!==null&&u.title!==void 0&&(c.title=u.title);const f={type:"element",tagName:"a",properties:c,children:n.all(i)};return n.patch(i,f),n.applyData(i,f)}function hE(n,i){const r={href:xa(i.url)};i.title!==null&&i.title!==void 0&&(r.title=i.title);const u={type:"element",tagName:"a",properties:r,children:n.all(i)};return n.patch(i,u),n.applyData(i,u)}function mE(n,i,r){const u=n.all(i),c=r?pE(r):_g(i),f={},d=[];if(typeof i.checked=="boolean"){const y=u[0];let b;y&&y.type==="element"&&y.tagName==="p"?b=y:(b={type:"element",tagName:"p",properties:{},children:[]},u.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let h=-1;for(;++h<u.length;){const y=u[h];(c||h!==0||y.type!=="element"||y.tagName!=="p")&&d.push({type:"text",value:`
17
+ `}),y.type==="element"&&y.tagName==="p"&&!c?d.push(...y.children):d.push(y)}const g=u[u.length-1];g&&(c||g.type!=="element"||g.tagName!=="p")&&d.push({type:"text",value:`
18
+ `});const m={type:"element",tagName:"li",properties:f,children:d};return n.patch(i,m),n.applyData(i,m)}function pE(n){let i=!1;if(n.type==="list"){i=n.spread||!1;const r=n.children;let u=-1;for(;!i&&++u<r.length;)i=_g(r[u])}return i}function _g(n){const i=n.spread;return i??n.children.length>1}function gE(n,i){const r={},u=n.all(i);let c=-1;for(typeof i.start=="number"&&i.start!==1&&(r.start=i.start);++c<u.length;){const d=u[c];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const f={type:"element",tagName:i.ordered?"ol":"ul",properties:r,children:n.wrap(u,!0)};return n.patch(i,f),n.applyData(i,f)}function yE(n,i){const r={type:"element",tagName:"p",properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}function xE(n,i){const r={type:"root",children:n.wrap(n.all(i))};return n.patch(i,r),n.applyData(i,r)}function vE(n,i){const r={type:"element",tagName:"strong",properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}function bE(n,i){const r=n.all(i),u=r.shift(),c=[];if(u){const d={type:"element",tagName:"thead",properties:{},children:n.wrap([u],!0)};n.patch(i.children[0],d),c.push(d)}if(r.length>0){const d={type:"element",tagName:"tbody",properties:{},children:n.wrap(r,!0)},h=Do(i.children[1]),g=hg(i.children[i.children.length-1]);h&&g&&(d.position={start:h,end:g}),c.push(d)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(c,!0)};return n.patch(i,f),n.applyData(i,f)}function SE(n,i,r){const u=r?r.children:void 0,f=(u?u.indexOf(i):1)===0?"th":"td",d=r&&r.type==="table"?r.align:void 0,h=d?d.length:i.children.length;let g=-1;const m=[];for(;++g<h;){const b=i.children[g],N={},E=d?d[g]:void 0;E&&(N.align=E);let U={type:"element",tagName:f,properties:N,children:[]};b&&(U.children=n.all(b),n.patch(b,U),U=n.applyData(b,U)),m.push(U)}const y={type:"element",tagName:"tr",properties:{},children:n.wrap(m,!0)};return n.patch(i,y),n.applyData(i,y)}function EE(n,i){const r={type:"element",tagName:"td",properties:{},children:n.all(i)};return n.patch(i,r),n.applyData(i,r)}const bp=9,Sp=32;function TE(n){const i=String(n),r=/\r?\n|\r/g;let u=r.exec(i),c=0;const f=[];for(;u;)f.push(Ep(i.slice(c,u.index),c>0,!0),u[0]),c=u.index+u[0].length,u=r.exec(i);return f.push(Ep(i.slice(c),c>0,!1)),f.join("")}function Ep(n,i,r){let u=0,c=n.length;if(i){let f=n.codePointAt(u);for(;f===bp||f===Sp;)u++,f=n.codePointAt(u)}if(r){let f=n.codePointAt(c-1);for(;f===bp||f===Sp;)c--,f=n.codePointAt(c-1)}return c>u?n.slice(u,c):""}function NE(n,i){const r={type:"text",value:TE(String(i.value))};return n.patch(i,r),n.applyData(i,r)}function AE(n,i){const r={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(i,r),n.applyData(i,r)}const wE={blockquote:tE,break:nE,code:lE,delete:aE,emphasis:iE,footnoteReference:rE,heading:uE,html:sE,imageReference:cE,image:oE,inlineCode:fE,linkReference:dE,link:hE,listItem:mE,list:gE,paragraph:yE,root:xE,strong:vE,table:bE,tableCell:EE,tableRow:SE,text:NE,thematicBreak:AE,toml:Pr,yaml:Pr,definition:Pr,footnoteDefinition:Pr};function Pr(){}const Mg=-1,vu=0,Ri=1,au=2,Ho=3,qo=4,Yo=5,Vo=6,kg=7,Ug=8,Tp=typeof self=="object"?self:globalThis,jE=(n,i)=>{const r=(c,f)=>(n.set(f,c),c),u=c=>{if(n.has(c))return n.get(c);const[f,d]=i[c];switch(f){case vu:case Mg:return r(d,c);case Ri:{const h=r([],c);for(const g of d)h.push(u(g));return h}case au:{const h=r({},c);for(const[g,m]of d)h[u(g)]=u(m);return h}case Ho:return r(new Date(d),c);case qo:{const{source:h,flags:g}=d;return r(new RegExp(h,g),c)}case Yo:{const h=r(new Map,c);for(const[g,m]of d)h.set(u(g),u(m));return h}case Vo:{const h=r(new Set,c);for(const g of d)h.add(u(g));return h}case kg:{const{name:h,message:g}=d;return r(new Tp[h](g),c)}case Ug:return r(BigInt(d),c);case"BigInt":return r(Object(BigInt(d)),c);case"ArrayBuffer":return r(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:h}=new Uint8Array(d);return r(new DataView(h),d)}}return r(new Tp[f](d),c)};return u},Np=n=>jE(new Map,n)(0),da="",{toString:RE}={},{keys:CE}=Object,Ai=n=>{const i=typeof n;if(i!=="object"||!n)return[vu,i];const r=RE.call(n).slice(8,-1);switch(r){case"Array":return[Ri,da];case"Object":return[au,da];case"Date":return[Ho,da];case"RegExp":return[qo,da];case"Map":return[Yo,da];case"Set":return[Vo,da];case"DataView":return[Ri,r]}return r.includes("Array")?[Ri,r]:r.includes("Error")?[kg,r]:[au,r]},Ir=([n,i])=>n===vu&&(i==="function"||i==="symbol"),zE=(n,i,r,u)=>{const c=(d,h)=>{const g=u.push(d)-1;return r.set(h,g),g},f=d=>{if(r.has(d))return r.get(d);let[h,g]=Ai(d);switch(h){case vu:{let y=d;switch(g){case"bigint":h=Ug,y=d.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return c([Mg],d)}return c([h,y],d)}case Ri:{if(g){let N=d;return g==="DataView"?N=new Uint8Array(d.buffer):g==="ArrayBuffer"&&(N=new Uint8Array(d)),c([g,[...N]],d)}const y=[],b=c([h,y],d);for(const N of d)y.push(f(N));return b}case au:{if(g)switch(g){case"BigInt":return c([g,d.toString()],d);case"Boolean":case"Number":case"String":return c([g,d.valueOf()],d)}if(i&&"toJSON"in d)return f(d.toJSON());const y=[],b=c([h,y],d);for(const N of CE(d))(n||!Ir(Ai(d[N])))&&y.push([f(N),f(d[N])]);return b}case Ho:return c([h,d.toISOString()],d);case qo:{const{source:y,flags:b}=d;return c([h,{source:y,flags:b}],d)}case Yo:{const y=[],b=c([h,y],d);for(const[N,E]of d)(n||!(Ir(Ai(N))||Ir(Ai(E))))&&y.push([f(N),f(E)]);return b}case Vo:{const y=[],b=c([h,y],d);for(const N of d)(n||!Ir(Ai(N)))&&y.push(f(N));return b}}const{message:m}=d;return c([h,{name:g,message:m}],d)};return f},Ap=(n,{json:i,lossy:r}={})=>{const u=[];return zE(!(i||r),!!i,new Map,u)(n),u},iu=typeof structuredClone=="function"?(n,i)=>i&&("json"in i||"lossy"in i)?Np(Ap(n,i)):structuredClone(n):(n,i)=>Np(Ap(n,i));function OE(n,i){const r=[{type:"text",value:"↩"}];return i>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(i)}]}),r}function DE(n,i){return"Back to reference "+(n+1)+(i>1?"-"+i:"")}function _E(n){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",r=n.options.footnoteBackContent||OE,u=n.options.footnoteBackLabel||DE,c=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",d=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let g=-1;for(;++g<n.footnoteOrder.length;){const m=n.footnoteById.get(n.footnoteOrder[g]);if(!m)continue;const y=n.all(m),b=String(m.identifier).toUpperCase(),N=xa(b.toLowerCase());let E=0;const U=[],D=n.footnoteCounts.get(b);for(;D!==void 0&&++E<=D;){U.length>0&&U.push({type:"text",value:" "});let V=typeof r=="string"?r:r(g,E);typeof V=="string"&&(V={type:"text",value:V}),U.push({type:"element",tagName:"a",properties:{href:"#"+i+"fnref-"+N+(E>1?"-"+E:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(g,E),className:["data-footnote-backref"]},children:Array.isArray(V)?V:[V]})}const Y=y[y.length-1];if(Y&&Y.type==="element"&&Y.tagName==="p"){const V=Y.children[Y.children.length-1];V&&V.type==="text"?V.value+=" ":Y.children.push({type:"text",value:" "}),Y.children.push(...U)}else y.push(...U);const M={type:"element",tagName:"li",properties:{id:i+"fn-"+N},children:n.wrap(y,!0)};n.patch(m,M),h.push(M)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...iu(d),id:"footnote-label"},children:[{type:"text",value:c}]},{type:"text",value:`
19
+ `},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
20
+ `}]}}const Lg=(function(n){if(n==null)return LE;if(typeof n=="function")return bu(n);if(typeof n=="object")return Array.isArray(n)?ME(n):kE(n);if(typeof n=="string")return UE(n);throw new Error("Expected function, string, or object as test")});function ME(n){const i=[];let r=-1;for(;++r<n.length;)i[r]=Lg(n[r]);return bu(u);function u(...c){let f=-1;for(;++f<i.length;)if(i[f].apply(this,c))return!0;return!1}}function kE(n){const i=n;return bu(r);function r(u){const c=u;let f;for(f in n)if(c[f]!==i[f])return!1;return!0}}function UE(n){return bu(i);function i(r){return r&&r.type===n}}function bu(n){return i;function i(r,u,c){return!!(BE(r)&&n.call(this,r,typeof u=="number"?u:void 0,c||void 0))}}function LE(){return!0}function BE(n){return n!==null&&typeof n=="object"&&"type"in n}const Bg=[],HE=!0,wp=!1,qE="skip";function YE(n,i,r,u){let c;typeof i=="function"&&typeof r!="function"?(u=r,r=i):c=i;const f=Lg(c),d=u?-1:1;h(n,void 0,[])();function h(g,m,y){const b=g&&typeof g=="object"?g:{};if(typeof b.type=="string"){const E=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(N,"name",{value:"node ("+(g.type+(E?"<"+E+">":""))+")"})}return N;function N(){let E=Bg,U,D,Y;if((!i||f(g,m,y[y.length-1]||void 0))&&(E=VE(r(g,y)),E[0]===wp))return E;if("children"in g&&g.children){const M=g;if(M.children&&E[0]!==qE)for(D=(u?M.children.length:-1)+d,Y=y.concat(M);D>-1&&D<M.children.length;){const V=M.children[D];if(U=h(V,D,Y)(),U[0]===wp)return U;D=typeof U[1]=="number"?U[1]:D+d}}return E}}}function VE(n){return Array.isArray(n)?n:typeof n=="number"?[HE,n]:n==null?Bg:[n]}function Hg(n,i,r,u){let c,f,d;typeof i=="function"&&typeof r!="function"?(f=void 0,d=i,c=r):(f=i,d=r,c=u),YE(n,f,h,c);function h(g,m){const y=m[m.length-1],b=y?y.children.indexOf(g):void 0;return d(g,b,y)}}const yo={}.hasOwnProperty,XE={};function QE(n,i){const r=i||XE,u=new Map,c=new Map,f=new Map,d={...wE,...r.handlers},h={all:m,applyData:ZE,definitionById:u,footnoteById:c,footnoteCounts:f,footnoteOrder:[],handlers:d,one:g,options:r,patch:GE,wrap:JE};return Hg(n,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const b=y.type==="definition"?u:c,N=String(y.identifier).toUpperCase();b.has(N)||b.set(N,y)}}),h;function g(y,b){const N=y.type,E=h.handlers[N];if(yo.call(h.handlers,N)&&E)return E(h,y,b);if(h.options.passThrough&&h.options.passThrough.includes(N)){if("children"in y){const{children:D,...Y}=y,M=iu(Y);return M.children=h.all(y),M}return iu(y)}return(h.options.unknownHandler||KE)(h,y,b)}function m(y){const b=[];if("children"in y){const N=y.children;let E=-1;for(;++E<N.length;){const U=h.one(N[E],y);if(U){if(E&&N[E-1].type==="break"&&(!Array.isArray(U)&&U.type==="text"&&(U.value=jp(U.value)),!Array.isArray(U)&&U.type==="element")){const D=U.children[0];D&&D.type==="text"&&(D.value=jp(D.value))}Array.isArray(U)?b.push(...U):b.push(U)}}}return b}}function GE(n,i){n.position&&(i.position=R1(n))}function ZE(n,i){let r=i;if(n&&n.data){const u=n.data.hName,c=n.data.hChildren,f=n.data.hProperties;if(typeof u=="string")if(r.type==="element")r.tagName=u;else{const d="children"in r?r.children:[r];r={type:"element",tagName:u,properties:{},children:d}}r.type==="element"&&f&&Object.assign(r.properties,iu(f)),"children"in r&&r.children&&c!==null&&c!==void 0&&(r.children=c)}return r}function KE(n,i){const r=i.data||{},u="value"in i&&!(yo.call(r,"hProperties")||yo.call(r,"hChildren"))?{type:"text",value:i.value}:{type:"element",tagName:"div",properties:{},children:n.all(i)};return n.patch(i,u),n.applyData(i,u)}function JE(n,i){const r=[];let u=-1;for(i&&r.push({type:"text",value:`
21
+ `});++u<n.length;)u&&r.push({type:"text",value:`
22
+ `}),r.push(n[u]);return i&&n.length>0&&r.push({type:"text",value:`
23
+ `}),r}function jp(n){let i=0,r=n.charCodeAt(i);for(;r===9||r===32;)i++,r=n.charCodeAt(i);return n.slice(i)}function Rp(n,i){const r=QE(n,i),u=r.one(n,void 0),c=_E(r),f=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return c&&f.children.push({type:"text",value:`
24
+ `},c),f}function FE(n,i){return n&&"run"in n?async function(r,u){const c=Rp(r,{file:u,...i});await n.run(c,u)}:function(r,u){return Rp(r,{file:u,...n||i})}}function Cp(n){if(n)throw n}var Ic,zp;function $E(){if(zp)return Ic;zp=1;var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=function(m){return typeof Array.isArray=="function"?Array.isArray(m):i.call(m)==="[object Array]"},f=function(m){if(!m||i.call(m)!=="[object Object]")return!1;var y=n.call(m,"constructor"),b=m.constructor&&m.constructor.prototype&&n.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!y&&!b)return!1;var N;for(N in m);return typeof N>"u"||n.call(m,N)},d=function(m,y){r&&y.name==="__proto__"?r(m,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):m[y.name]=y.newValue},h=function(m,y){if(y==="__proto__")if(n.call(m,y)){if(u)return u(m,y).value}else return;return m[y]};return Ic=function g(){var m,y,b,N,E,U,D=arguments[0],Y=1,M=arguments.length,V=!1;for(typeof D=="boolean"&&(V=D,D=arguments[1]||{},Y=2),(D==null||typeof D!="object"&&typeof D!="function")&&(D={});Y<M;++Y)if(m=arguments[Y],m!=null)for(y in m)b=h(D,y),N=h(m,y),D!==N&&(V&&N&&(f(N)||(E=c(N)))?(E?(E=!1,U=b&&c(b)?b:[]):U=b&&f(b)?b:{},d(D,{name:y,newValue:g(V,U,N)})):typeof N<"u"&&d(D,{name:y,newValue:N}));return D},Ic}var PE=$E();const Wc=So(PE);function xo(n){if(typeof n!="object"||n===null)return!1;const i=Object.getPrototypeOf(n);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function IE(){const n=[],i={run:r,use:u};return i;function r(...c){let f=-1;const d=c.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);h(null,...c);function h(g,...m){const y=n[++f];let b=-1;if(g){d(g);return}for(;++b<c.length;)(m[b]===null||m[b]===void 0)&&(m[b]=c[b]);c=m,y?WE(y,h)(...m):d(null,...m)}}function u(c){if(typeof c!="function")throw new TypeError("Expected `middelware` to be a function, not "+c);return n.push(c),i}}function WE(n,i){let r;return u;function u(...d){const h=n.length>d.length;let g;h&&d.push(c);try{g=n.apply(this,d)}catch(m){const y=m;if(h&&r)throw y;return c(y)}h||(g&&g.then&&typeof g.then=="function"?g.then(f,c):g instanceof Error?c(g):f(g))}function c(d,...h){r||(r=!0,i(d,...h))}function f(d){c(null,d)}}const sn={basename:e2,dirname:t2,extname:n2,join:l2,sep:"/"};function e2(n,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');Ui(n);let r=0,u=-1,c=n.length,f;if(i===void 0||i.length===0||i.length>n.length){for(;c--;)if(n.codePointAt(c)===47){if(f){r=c+1;break}}else u<0&&(f=!0,u=c+1);return u<0?"":n.slice(r,u)}if(i===n)return"";let d=-1,h=i.length-1;for(;c--;)if(n.codePointAt(c)===47){if(f){r=c+1;break}}else d<0&&(f=!0,d=c+1),h>-1&&(n.codePointAt(c)===i.codePointAt(h--)?h<0&&(u=c):(h=-1,u=d));return r===u?u=d:u<0&&(u=n.length),n.slice(r,u)}function t2(n){if(Ui(n),n.length===0)return".";let i=-1,r=n.length,u;for(;--r;)if(n.codePointAt(r)===47){if(u){i=r;break}}else u||(u=!0);return i<0?n.codePointAt(0)===47?"/":".":i===1&&n.codePointAt(0)===47?"//":n.slice(0,i)}function n2(n){Ui(n);let i=n.length,r=-1,u=0,c=-1,f=0,d;for(;i--;){const h=n.codePointAt(i);if(h===47){if(d){u=i+1;break}continue}r<0&&(d=!0,r=i+1),h===46?c<0?c=i:f!==1&&(f=1):c>-1&&(f=-1)}return c<0||r<0||f===0||f===1&&c===r-1&&c===u+1?"":n.slice(c,r)}function l2(...n){let i=-1,r;for(;++i<n.length;)Ui(n[i]),n[i]&&(r=r===void 0?n[i]:r+"/"+n[i]);return r===void 0?".":a2(r)}function a2(n){Ui(n);const i=n.codePointAt(0)===47;let r=i2(n,!i);return r.length===0&&!i&&(r="."),r.length>0&&n.codePointAt(n.length-1)===47&&(r+="/"),i?"/"+r:r}function i2(n,i){let r="",u=0,c=-1,f=0,d=-1,h,g;for(;++d<=n.length;){if(d<n.length)h=n.codePointAt(d);else{if(h===47)break;h=47}if(h===47){if(!(c===d-1||f===1))if(c!==d-1&&f===2){if(r.length<2||u!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",u=0):(r=r.slice(0,g),u=r.length-1-r.lastIndexOf("/")),c=d,f=0;continue}}else if(r.length>0){r="",u=0,c=d,f=0;continue}}i&&(r=r.length>0?r+"/..":"..",u=2)}else r.length>0?r+="/"+n.slice(c+1,d):r=n.slice(c+1,d),u=d-c-1;c=d,f=0}else h===46&&f>-1?f++:f=-1}return r}function Ui(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const r2={cwd:u2};function u2(){return"/"}function vo(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function s2(n){if(typeof n=="string")n=new URL(n);else if(!vo(n)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(n.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return c2(n)}function c2(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const i=n.pathname;let r=-1;for(;++r<i.length;)if(i.codePointAt(r)===37&&i.codePointAt(r+1)===50){const u=i.codePointAt(r+2);if(u===70||u===102){const c=new TypeError("File URL path must not include encoded / characters");throw c.code="ERR_INVALID_FILE_URL_PATH",c}}return decodeURIComponent(i)}const eo=["history","path","basename","stem","extname","dirname"];class qg{constructor(i){let r;i?vo(i)?r={path:i}:typeof i=="string"||o2(i)?r={value:i}:r=i:r={},this.cwd="cwd"in r?"":r2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<eo.length;){const f=eo[u];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let c;for(c in r)eo.includes(c)||(this[c]=r[c])}get basename(){return typeof this.path=="string"?sn.basename(this.path):void 0}set basename(i){no(i,"basename"),to(i,"basename"),this.path=sn.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?sn.dirname(this.path):void 0}set dirname(i){Op(this.basename,"dirname"),this.path=sn.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?sn.extname(this.path):void 0}set extname(i){if(to(i,"extname"),Op(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sn.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){vo(i)&&(i=s2(i)),no(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?sn.basename(this.path,this.extname):void 0}set stem(i){no(i,"stem"),to(i,"stem"),this.path=sn.join(this.dirname||"",i+(this.extname||""))}fail(i,r,u){const c=this.message(i,r,u);throw c.fatal=!0,c}info(i,r,u){const c=this.message(i,r,u);return c.fatal=void 0,c}message(i,r,u){const c=new dt(i,r,u);return this.path&&(c.name=this.path+":"+c.name,c.file=this.path),c.fatal=!1,this.messages.push(c),c}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function to(n,i){if(n&&n.includes(sn.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+sn.sep+"`")}function no(n,i){if(!n)throw new Error("`"+i+"` cannot be empty")}function Op(n,i){if(!n)throw new Error("Setting `"+i+"` requires `path` to be set too")}function o2(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const f2=(function(n){const u=this.constructor.prototype,c=u[n],f=function(){return c.apply(f,arguments)};return Object.setPrototypeOf(f,u),f}),d2={}.hasOwnProperty;class Xo extends f2{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=IE()}copy(){const i=new Xo;let r=-1;for(;++r<this.attachers.length;){const u=this.attachers[r];i.use(...u)}return i.data(Wc(!0,{},this.namespace)),i}data(i,r){return typeof i=="string"?arguments.length===2?(io("data",this.frozen),this.namespace[i]=r,this):d2.call(this.namespace,i)&&this.namespace[i]||void 0:i?(io("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const c=r.call(i,...u);typeof c=="function"&&this.transformers.use(c)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const r=Wr(i),u=this.parser||this.Parser;return lo("parse",u),u(String(r),r)}process(i,r){const u=this;return this.freeze(),lo("process",this.parser||this.Parser),ao("process",this.compiler||this.Compiler),r?c(void 0,r):new Promise(c);function c(f,d){const h=Wr(i),g=u.parse(h);u.run(g,h,function(y,b,N){if(y||!b||!N)return m(y);const E=b,U=u.stringify(E,N);p2(U)?N.value=U:N.result=U,m(y,N)});function m(y,b){y||!b?d(y):f?f(b):r(void 0,b)}}}processSync(i){let r=!1,u;return this.freeze(),lo("processSync",this.parser||this.Parser),ao("processSync",this.compiler||this.Compiler),this.process(i,c),_p("processSync","process",r),u;function c(f,d){r=!0,Cp(f),u=d}}run(i,r,u){Dp(i),this.freeze();const c=this.transformers;return!u&&typeof r=="function"&&(u=r,r=void 0),u?f(void 0,u):new Promise(f);function f(d,h){const g=Wr(r);c.run(i,g,m);function m(y,b,N){const E=b||i;y?h(y):d?d(E):u(void 0,E,N)}}}runSync(i,r){let u=!1,c;return this.run(i,r,f),_p("runSync","run",u),c;function f(d,h){Cp(d),c=h,u=!0}}stringify(i,r){this.freeze();const u=Wr(r),c=this.compiler||this.Compiler;return ao("stringify",c),Dp(i),c(i,u)}use(i,...r){const u=this.attachers,c=this.namespace;if(io("use",this.frozen),i!=null)if(typeof i=="function")g(i,r);else if(typeof i=="object")Array.isArray(i)?h(i):d(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function f(m){if(typeof m=="function")g(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[y,...b]=m;g(y,b)}else d(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function d(m){if(!("plugins"in m)&&!("settings"in m))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(m.plugins),m.settings&&(c.settings=Wc(!0,c.settings,m.settings))}function h(m){let y=-1;if(m!=null)if(Array.isArray(m))for(;++y<m.length;){const b=m[y];f(b)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function g(m,y){let b=-1,N=-1;for(;++b<u.length;)if(u[b][0]===m){N=b;break}if(N===-1)u.push([m,...y]);else if(y.length>0){let[E,...U]=y;const D=u[N][1];xo(D)&&xo(E)&&(E=Wc(!0,D,E)),u[N]=[m,E,...U]}}}}const h2=new Xo().freeze();function lo(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function ao(n,i){if(typeof i!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function io(n,i){if(i)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Dp(n){if(!xo(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function _p(n,i,r){if(!r)throw new Error("`"+n+"` finished async. Use `"+i+"` instead")}function Wr(n){return m2(n)?n:new qg(n)}function m2(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function p2(n){return typeof n=="string"||g2(n)}function g2(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const y2="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Mp=[],kp={allowDangerousHtml:!0},x2=/^(https?|ircs?|mailto|xmpp)$/i,v2=[{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 b2(n){const i=S2(n),r=E2(n);return T2(i.runSync(i.parse(r),r),n)}function S2(n){const i=n.rehypePlugins||Mp,r=n.remarkPlugins||Mp,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...kp}:kp;return h2().use(eE).use(r).use(FE,u).use(i)}function E2(n){const i=n.children||"",r=new qg;return typeof i=="string"&&(r.value=i),r}function T2(n,i){const r=i.allowedElements,u=i.allowElement,c=i.components,f=i.disallowedElements,d=i.skipHtml,h=i.unwrapDisallowed,g=i.urlTransform||N2;for(const y of v2)Object.hasOwn(i,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+y2+y.id,void 0);return Hg(n,m),_1(n,{Fragment:x.Fragment,components:c,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function m(y,b,N){if(y.type==="raw"&&N&&typeof b=="number")return d?N.children.splice(b,1):N.children[b]={type:"text",value:y.value},b;if(y.type==="element"){let E;for(E in Fc)if(Object.hasOwn(Fc,E)&&Object.hasOwn(y.properties,E)){const U=y.properties[E],D=Fc[E];(D===null||D.includes(y.tagName))&&(y.properties[E]=g(String(U||""),E,y))}}if(y.type==="element"){let E=r?!r.includes(y.tagName):f?f.includes(y.tagName):!1;if(!E&&u&&typeof b=="number"&&(E=!u(y,b,N)),E&&N&&typeof b=="number")return h&&y.children?N.children.splice(b,1,...y.children):N.children.splice(b,1),b}}}function N2(n){const i=n.indexOf(":"),r=n.indexOf("?"),u=n.indexOf("#"),c=n.indexOf("/");return i===-1||c!==-1&&i>c||r!==-1&&i>r||u!==-1&&i>u||x2.test(n.slice(0,i))?n:""}const Su=n=>x.jsx("div",{className:`prose prose-sm text-gray-700 ${n.className||""}`,children:x.jsx(b2,{children:n.children})});function bo(n,i=""){let r=[];if(!n||typeof n!="object")return r;if(n.type==="object"&&n.properties&&typeof n.properties=="object"){const u=Object.keys(n.properties);for(const c of u){const f=n.properties[c],d=(n.required||[]).includes(c),h=i?`${i}.${c}`:c;if(f.type==="object"&&f.properties&&typeof f.properties=="object")r.push({path:h,type:"object",required:d,description:f.description,default:f.default}),r=r.concat(bo(f,h));else if(f.type==="array"&&f.items){let g="";f.items.type?g=f.items.type:f.items.$ref?g=f.items.$ref:f.items&&(g="object"),r.push({path:h,type:`array of ${g}`,required:d,description:f.description,default:f.default}),f.items&&f.items.type==="object"&&f.items.properties&&(r=r.concat(bo(f.items,`${h}[]`)))}else r.push({path:h,type:f.type||"any",required:d,description:f.description,default:f.default})}}return r}const A2=({schema:n})=>{const i=bo(n);return!n||!n.properties||Object.keys(n.properties).length===0?x.jsx("div",{className:"flex items-center justify-center p-8 bg-gray-50 rounded-xl border-2 border-dashed border-gray-200",children:x.jsxs("div",{className:"text-center",children:[x.jsx("div",{className:"text-gray-400 text-4xl mb-2",children:"📋"}),x.jsx("p",{className:"text-gray-500 text-sm font-medium",children:"No properties defined"})]})}):x.jsxs("div",{className:"bg-white rounded-lg border border-gray-200 shadow-sm overflow-hidden",children:[x.jsx("div",{className:"bg-gray-50 px-4 py-2 border-b border-gray-200",children:x.jsx("h3",{className:"text-sm font-semibold text-gray-700",children:"Properties"})}),x.jsx("div",{className:"overflow-x-auto",children:x.jsxs("table",{className:"w-full",children:[x.jsx("thead",{className:"bg-gray-50 border-b border-gray-200",children:x.jsxs("tr",{children:[x.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold text-gray-700 uppercase tracking-wider",children:"Path"}),x.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold text-gray-700 uppercase tracking-wider",children:"Type"}),x.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold text-gray-700 uppercase tracking-wider",children:"Required"}),x.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold text-gray-700 uppercase tracking-wider",children:"Description"}),x.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold text-gray-700 uppercase tracking-wider",children:"Default"})]})}),x.jsx("tbody",{className:"divide-y divide-gray-200",children:i.map(r=>x.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[x.jsx("td",{className:"px-4 py-2",children:x.jsx("code",{className:"text-xs font-mono text-gray-800",children:r.path})}),x.jsx("td",{className:"px-4 py-2",children:x.jsx("span",{className:"text-xs text-gray-700",children:r.type})}),x.jsx("td",{className:"px-4 py-2",children:r.required?x.jsx("span",{className:"text-xs text-green-700 font-medium",children:"Yes"}):x.jsx("span",{className:"text-xs text-gray-400",children:"No"})}),x.jsx("td",{className:"px-4 py-2",children:x.jsx("div",{className:"text-xs text-gray-600",children:r.description?x.jsx("span",{children:r.description}):x.jsx("span",{className:"text-gray-300 italic",children:"n/a"})})}),x.jsx("td",{className:"px-4 py-2",children:x.jsx("div",{className:"text-xs text-gray-600",children:r.default!==void 0?x.jsx("code",{className:"bg-gray-100 px-1 py-0.5 rounded text-xs",children:typeof r.default=="string"?`"${r.default}"`:String(r.default)}):x.jsx("span",{className:"text-gray-300 italic",children:"n/a"})})})]},r.path))})]})})]})};function Yg({schema:n}){return x.jsx(A2,{schema:n})}function w2(){const{entity:n,name:i}=uu();return x.jsx("div",{className:"border-gray-200 py-6",children:x.jsxs("dl",{className:"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2",children:[x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Name"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:i})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Tags"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.tags.map(r=>x.jsx(ll,{tag:r},r))})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Archived"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.archived===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Deprecated"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.deprecated===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Description"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.description.trim().length>0?x.jsx(Su,{children:n.description}):"n/a"})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Type"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.type})]}),x.jsx("div",{className:"col-span-2",children:x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx(Yg,{schema:n})})}),n.conditions&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Conditions"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.conditions,null,2)})})})]}),n.sample&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Sample"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.sample,null,2)})})})]}),n.transforms&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Transforms"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.transforms,null,2)})})})]}),n.destinations&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Destination overrides"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.destinations,null,2)})})})]})]})})}const j2=()=>{const{name:n=""}=su(),i=hu("events",n),r=[{title:"Overview",to:`/events/${encodeURIComponent(n)}`}];return x.jsxs(fn,{title:`Event: ${n}`,border:!1,entityType:"event",entityName:n,children:[!i&&x.jsx(dn,{type:"warning",children:"Event not found"}),i&&x.jsxs(x.Fragment,{children:[x.jsx(yu,{tabs:r}),x.jsx("div",{className:"p-8",children:x.jsx(cu,{context:{entity:i,name:n}})})]})]})},R2=()=>{const n=du("attributes"),{searchQuery:i}=Mi(),r=t1(i,n);return x.jsxs(fn,{title:"Attributes",children:[x.jsx(pu,{}),r.length===0&&x.jsx(dn,{type:"warning",children:"No results found"}),r.length>0&&x.jsx("div",{children:x.jsx("ul",{className:"diving-gray-200 divide-y",children:r.map(u=>x.jsx("li",{children:x.jsx(Fv,{name:u.name,className:"block hover:bg-gray-50",children:x.jsxs("div",{className:"px-6 py-4",children:[x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("p",{className:"text-md relative font-bold text-zinc-600",children:[u.name," ",u.archived&&x.jsx("span",{className:"ml-1 rounded-full bg-red-100 px-2 py-1 text-xs font-medium text-red-800",children:"archived"})]}),x.jsx("div",{className:"ml-2 flex flex-shrink-0 text-xs text-gray-500",children:x.jsxs("div",{children:[x.jsx(fu,{className:"inline-block h-6 w-6 pr-1 text-xs text-gray-400"}),u.tags.map(c=>x.jsx(ll,{tag:c},c))]})})]}),x.jsxs("div",{className:"mt-2 flex justify-between",children:[x.jsx("div",{className:"flex",children:x.jsx("p",{className:"line-clamp-3 max-w-md items-center text-sm text-gray-500",children:u.description&&u.description.trim().length>0?u.description:"n/a"})}),x.jsx("div",{className:"items-top mt-2 flex text-xs text-gray-500 sm:mt-0",children:x.jsx(mu,{lastModified:u.lastModified})})]})]})})},u.name))})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-500",children:["A total of ",x.jsx("span",{className:"font-bold",children:r.length})," results found."]})]})};function C2(){const{entity:n,name:i}=uu();return x.jsx("div",{className:"border-gray-200 py-6",children:x.jsxs("dl",{className:"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2",children:[x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Name"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:i})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Tags"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.tags.map(r=>x.jsx(ll,{tag:r},r))})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Archived"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.archived===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Deprecated"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.deprecated===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Description"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.description.trim().length>0?x.jsx(Su,{children:n.description}):"n/a"})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Type"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.type})]}),n.properties&&x.jsx("div",{className:"col-span-2",children:x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx(Yg,{schema:n})})}),n.transforms&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Transforms"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.transforms,null,2)})})})]}),n.persist&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Persist"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.persist,null,2)})})})]})]})})}const z2=()=>{const{name:n=""}=su(),i=hu("attributes",n),r=[{title:"Overview",to:`/attributes/${encodeURIComponent(n)}`}];return x.jsxs(fn,{title:`Attribute: ${n}`,border:!1,entityType:"attribute",entityName:n,children:[!i&&x.jsx(dn,{type:"warning",children:"Attribute not found"}),i&&x.jsxs(x.Fragment,{children:[x.jsx(yu,{tabs:r}),x.jsx("div",{className:"p-8",children:x.jsx(cu,{context:{entity:i,name:n}})})]})]})},O2=()=>{const n=du("destinations"),{searchQuery:i}=Mi(),r=n1(i,n);return x.jsxs(fn,{title:"Destinations",children:[x.jsx(pu,{}),r.length===0&&x.jsx(dn,{type:"warning",children:"No results found"}),r.length>0&&x.jsx("div",{children:x.jsx("ul",{className:"diving-gray-200 divide-y",children:r.map(u=>x.jsx("li",{children:x.jsx($v,{name:u.name,className:"block hover:bg-gray-50",children:x.jsxs("div",{className:"px-6 py-4",children:[x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("p",{className:"text-md relative font-bold text-zinc-600",children:[u.name," ",u.archived&&x.jsx("span",{className:"ml-1 rounded-full bg-red-100 px-2 py-1 text-xs font-medium text-red-800",children:"archived"})]}),x.jsx("div",{className:"ml-2 flex flex-shrink-0 text-xs text-gray-500",children:x.jsxs("div",{children:[x.jsx(fu,{className:"inline-block h-6 w-6 pr-1 text-xs text-gray-400"}),u.tags.map(c=>x.jsx(ll,{tag:c},c))]})})]}),x.jsxs("div",{className:"mt-2 flex justify-between",children:[x.jsx("div",{className:"flex",children:x.jsx("p",{className:"line-clamp-3 max-w-md items-center text-sm text-gray-500",children:u.description&&u.description.trim().length>0?u.description:"n/a"})}),x.jsx("div",{className:"items-top mt-2 flex text-xs text-gray-500 sm:mt-0",children:x.jsx(mu,{lastModified:u.lastModified})})]})]})})},u.name))})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-500",children:["A total of ",x.jsx("span",{className:"font-bold",children:r.length})," results found."]})]})};function D2(){const{entity:n,name:i}=uu();return x.jsx("div",{className:"border-gray-200 py-6",children:x.jsxs("dl",{className:"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2",children:[x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Name"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:i})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Tags"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.tags.map(r=>x.jsx(ll,{tag:r},r))})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Archived"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.archived===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Deprecated"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.deprecated===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Transport"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.transport})]}),x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Description"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.description.trim().length>0?x.jsx(Su,{children:n.description}):"n/a"})]}),n.conditions&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Conditions"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.conditions,null,2)})})})]}),n.sample&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Sample"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.sample,null,2)})})})]}),n.transforms&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Transforms"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.transforms,null,2)})})})]})]})})}const _2=()=>{const{name:n=""}=su(),i=hu("destinations",n),r=[{title:"Overview",to:`/destinations/${encodeURIComponent(n)}`}];return x.jsxs(fn,{title:`Destination: ${n}`,border:!1,entityType:"destination",entityName:n,children:[!i&&x.jsx(dn,{type:"warning",children:"Destination not found"}),i&&x.jsxs(x.Fragment,{children:[x.jsx(yu,{tabs:r}),x.jsx("div",{className:"p-8",children:x.jsx(cu,{context:{entity:i,name:n}})})]})]})},M2=()=>{const n=du("effects"),{searchQuery:i}=Mi(),r=l1(i,n);return x.jsxs(fn,{title:"Effects",children:[x.jsx(pu,{}),r.length===0&&x.jsx(dn,{type:"warning",children:"No results found"}),r.length>0&&x.jsx("div",{children:x.jsx("ul",{className:"diving-gray-200 divide-y",children:r.map(u=>x.jsx("li",{children:x.jsx(Pv,{name:u.name,className:"block hover:bg-gray-50",children:x.jsxs("div",{className:"px-6 py-4",children:[x.jsxs("div",{className:"flex items-center justify-between",children:[x.jsxs("p",{className:"text-md relative font-bold text-zinc-600",children:[u.name," ",u.archived&&x.jsx("span",{className:"ml-1 rounded-full bg-red-100 px-2 py-1 text-xs font-medium text-red-800",children:"archived"})]}),x.jsx("div",{className:"ml-2 flex flex-shrink-0 text-xs text-gray-500",children:x.jsxs("div",{children:[x.jsx(fu,{className:"inline-block h-6 w-6 pr-1 text-xs text-gray-400"}),u.tags.map(c=>x.jsx(ll,{tag:c},c))]})})]}),x.jsxs("div",{className:"mt-2 flex justify-between",children:[x.jsx("div",{className:"flex",children:x.jsx("p",{className:"line-clamp-3 max-w-md items-center text-sm text-gray-500",children:u.description&&u.description.trim().length>0?u.description:"n/a"})}),x.jsx("div",{className:"items-top mt-2 flex text-xs text-gray-500 sm:mt-0",children:x.jsx(mu,{lastModified:u.lastModified})})]})]})})},u.name))})}),x.jsxs("p",{className:"mt-6 text-center text-sm text-gray-500",children:["A total of ",x.jsx("span",{className:"font-bold",children:r.length})," results found."]})]})};function k2(){const{entity:n,name:i}=uu();return x.jsx("div",{className:"border-gray-200 py-6",children:x.jsxs("dl",{className:"grid grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2",children:[x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Name"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:i})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Tags"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.tags.map(r=>x.jsx(ll,{tag:r},r))})]}),x.jsxs("div",{children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Archived"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.archived===!0?x.jsx("span",{children:"Yes"}):x.jsx("span",{children:"No"})})]}),x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Description"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:n.description.trim().length>0?x.jsx(Su,{children:n.description}):"n/a"})]}),n.on&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"On"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.on,null,2)})})})]}),n.state&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"State"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.state,null,2)})})})]}),n.conditions&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Conditions"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.conditions,null,2)})})})]}),n.steps&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Steps"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.steps,null,2)})})})]}),n.persist&&x.jsxs("div",{className:"col-span-2",children:[x.jsx("dt",{className:"text-sm font-medium text-gray-500",children:"Persist"}),x.jsx("dd",{className:"mt-1 text-sm text-gray-900",children:x.jsx("pre",{children:x.jsx("code",{children:JSON.stringify(n.persist,null,2)})})})]})]})})}const U2=()=>{const{name:n=""}=su(),i=hu("effects",n),r=[{title:"Overview",to:`/effects/${encodeURIComponent(n)}`}];return x.jsxs(fn,{title:`Effect: ${n}`,border:!1,entityType:"effect",entityName:n,children:[!i&&x.jsx(dn,{type:"warning",children:"Effect not found"}),i&&x.jsxs(x.Fragment,{children:[x.jsx(yu,{tabs:r}),x.jsx("div",{className:"p-8",children:x.jsx(cu,{context:{entity:i,name:n}})})]})]})},L2=()=>{const n=No();return pa.useEffect(()=>{n("/events")},[]),x.jsx(fn,{title:"Home",children:x.jsx("div",{className:"mt-6",children:x.jsx(dn,{type:"warning",children:"Loading..."})})})};function Up({children:n}){return x.jsx("div",{className:"max-w-3xl pb-4 mx-auto mt-10 bg-white min-h-60 rounded-md shadow",children:n})}const B2=()=>{const[n,i]=pa.useState(null);return pa.useEffect(()=>{fetch("/catalog.json").then(r=>r.json()).then(r=>i(r))},[]),n?x.jsxs($m,{children:[x.jsx(Pm,{}),x.jsx(Up,{children:x.jsx(ig.Provider,{value:n,children:x.jsxs(sv,{children:[x.jsx(it,{path:"/",element:x.jsx(L2,{})}),x.jsxs(it,{path:"attributes",children:[x.jsx(it,{index:!0,element:x.jsx(R2,{})}),x.jsx(it,{path:":name",element:x.jsx(z2,{}),children:x.jsx(it,{index:!0,element:x.jsx(C2,{})})})]}),x.jsxs(it,{path:"events",children:[x.jsx(it,{index:!0,element:x.jsx(a1,{})}),x.jsx(it,{path:":name",element:x.jsx(j2,{}),children:x.jsx(it,{index:!0,element:x.jsx(w2,{})})})]}),x.jsxs(it,{path:"destinations",children:[x.jsx(it,{index:!0,element:x.jsx(O2,{})}),x.jsx(it,{path:":name",element:x.jsx(_2,{}),children:x.jsx(it,{index:!0,element:x.jsx(D2,{})})})]}),x.jsxs(it,{path:"effects",children:[x.jsx(it,{index:!0,element:x.jsx(M2,{})}),x.jsx(it,{path:":name",element:x.jsx(U2,{}),children:x.jsx(it,{index:!0,element:x.jsx(k2,{})})})]})]})})}),x.jsxs("div",{className:"text-xs text-zinc-500 mt-10 text-center pb-10",children:["Built with"," ",x.jsx("a",{target:"_blank",href:"https://eventvisor.org",children:"Eventvisor"})]})]}):x.jsxs($m,{children:[x.jsx(Pm,{}),x.jsx(Up,{children:x.jsx(fn,{title:"Home",children:x.jsx("div",{className:"mt-6",children:x.jsx(dn,{type:"warning",children:"Loading..."})})})})]})},Vg=document.getElementById("root");if(!Vg)throw new Error("Root element not found");ox.createRoot(Vg).render(x.jsx(B2,{}));