difit 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,187 +0,0 @@
1
- (function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))s(x);new MutationObserver(x=>{for(const b of x)if(b.type==="childList")for(const M of b.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&s(M)}).observe(document,{childList:!0,subtree:!0});function d(x){const b={};return x.integrity&&(b.integrity=x.integrity),x.referrerPolicy&&(b.referrerPolicy=x.referrerPolicy),x.crossOrigin==="use-credentials"?b.credentials="include":x.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function s(x){if(x.ep)return;x.ep=!0;const b=d(x);fetch(x.href,b)}})();function Rd(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var uc={exports:{}},An={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var od;function Ey(){if(od)return An;od=1;var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function d(s,x,b){var M=null;if(b!==void 0&&(M=""+b),x.key!==void 0&&(M=""+x.key),"key"in x){b={};for(var B in x)B!=="key"&&(b[B]=x[B])}else b=x;return x=b.ref,{$$typeof:r,type:s,key:M,ref:x!==void 0?x:null,props:b}}return An.Fragment=o,An.jsx=d,An.jsxs=d,An}var fd;function Ay(){return fd||(fd=1,uc.exports=Ey()),uc.exports}var y=Ay(),ic={exports:{}},ie={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var dd;function _y(){if(dd)return ie;dd=1;var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),M=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),j=Symbol.iterator;function Y(g){return g===null||typeof g!="object"?null:(g=j&&g[j]||g["@@iterator"],typeof g=="function"?g:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,w={};function m(g,q,F){this.props=g,this.context=q,this.refs=w,this.updater=F||V}m.prototype.isReactComponent={},m.prototype.setState=function(g,q){if(typeof g!="object"&&typeof g!="function"&&g!=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,g,q,"setState")},m.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function R(){}R.prototype=m.prototype;function C(g,q,F){this.props=g,this.context=q,this.refs=w,this.updater=F||V}var z=C.prototype=new R;z.constructor=C,T(z,m.prototype),z.isPureReactComponent=!0;var Z=Array.isArray,K={H:null,A:null,T:null,S:null,V:null},le=Object.prototype.hasOwnProperty;function ne(g,q,F,X,W,de){return F=de.ref,{$$typeof:r,type:g,key:q,ref:F!==void 0?F:null,props:de}}function fe(g,q){return ne(g.type,q,void 0,void 0,void 0,g.props)}function me(g){return typeof g=="object"&&g!==null&&g.$$typeof===r}function _e(g){var q={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(F){return q[F]})}var De=/\/+/g;function pe(g,q){return typeof g=="object"&&g!==null&&g.key!=null?_e(""+g.key):q.toString(36)}function yt(){}function Ne(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(yt,yt):(g.status="pending",g.then(function(q){g.status==="pending"&&(g.status="fulfilled",g.value=q)},function(q){g.status==="pending"&&(g.status="rejected",g.reason=q)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function be(g,q,F,X,W){var de=typeof g;(de==="undefined"||de==="boolean")&&(g=null);var ee=!1;if(g===null)ee=!0;else switch(de){case"bigint":case"string":case"number":ee=!0;break;case"object":switch(g.$$typeof){case r:case o:ee=!0;break;case v:return ee=g._init,be(ee(g._payload),q,F,X,W)}}if(ee)return W=W(g),ee=X===""?"."+pe(g,0):X,Z(W)?(F="",ee!=null&&(F=ee.replace(De,"$&/")+"/"),be(W,q,F,"",function(ht){return ht})):W!=null&&(me(W)&&(W=fe(W,F+(W.key==null||g&&g.key===W.key?"":(""+W.key).replace(De,"$&/")+"/")+ee)),q.push(W)),1;ee=0;var Ge=X===""?".":X+":";if(Z(g))for(var we=0;we<g.length;we++)X=g[we],de=Ge+pe(X,we),ee+=be(X,q,F,de,W);else if(we=Y(g),typeof we=="function")for(g=we.call(g),we=0;!(X=g.next()).done;)X=X.value,de=Ge+pe(X,we++),ee+=be(X,q,F,de,W);else if(de==="object"){if(typeof g.then=="function")return be(Ne(g),q,F,X,W);throw q=String(g),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return ee}function E(g,q,F){if(g==null)return g;var X=[],W=0;return be(g,X,"","",function(de){return q.call(F,de,W++)}),X}function G(g){if(g._status===-1){var q=g._result;q=q(),q.then(function(F){(g._status===0||g._status===-1)&&(g._status=1,g._result=F)},function(F){(g._status===0||g._status===-1)&&(g._status=2,g._result=F)}),g._status===-1&&(g._status=0,g._result=q)}if(g._status===1)return g._result.default;throw g._result}var Q=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)};function ue(){}return ie.Children={map:E,forEach:function(g,q,F){E(g,function(){q.apply(this,arguments)},F)},count:function(g){var q=0;return E(g,function(){q++}),q},toArray:function(g){return E(g,function(q){return q})||[]},only:function(g){if(!me(g))throw Error("React.Children.only expected to receive a single React element child.");return g}},ie.Component=m,ie.Fragment=d,ie.Profiler=x,ie.PureComponent=C,ie.StrictMode=s,ie.Suspense=A,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,ie.__COMPILER_RUNTIME={__proto__:null,c:function(g){return K.H.useMemoCache(g)}},ie.cache=function(g){return function(){return g.apply(null,arguments)}},ie.cloneElement=function(g,q,F){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var X=T({},g.props),W=g.key,de=void 0;if(q!=null)for(ee in q.ref!==void 0&&(de=void 0),q.key!==void 0&&(W=""+q.key),q)!le.call(q,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&q.ref===void 0||(X[ee]=q[ee]);var ee=arguments.length-2;if(ee===1)X.children=F;else if(1<ee){for(var Ge=Array(ee),we=0;we<ee;we++)Ge[we]=arguments[we+2];X.children=Ge}return ne(g.type,W,void 0,void 0,de,X)},ie.createContext=function(g){return g={$$typeof:M,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:b,_context:g},g},ie.createElement=function(g,q,F){var X,W={},de=null;if(q!=null)for(X in q.key!==void 0&&(de=""+q.key),q)le.call(q,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(W[X]=q[X]);var ee=arguments.length-2;if(ee===1)W.children=F;else if(1<ee){for(var Ge=Array(ee),we=0;we<ee;we++)Ge[we]=arguments[we+2];W.children=Ge}if(g&&g.defaultProps)for(X in ee=g.defaultProps,ee)W[X]===void 0&&(W[X]=ee[X]);return ne(g,de,void 0,void 0,null,W)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(g){return{$$typeof:B,render:g}},ie.isValidElement=me,ie.lazy=function(g){return{$$typeof:v,_payload:{_status:-1,_result:g},_init:G}},ie.memo=function(g,q){return{$$typeof:p,type:g,compare:q===void 0?null:q}},ie.startTransition=function(g){var q=K.T,F={};K.T=F;try{var X=g(),W=K.S;W!==null&&W(F,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(ue,Q)}catch(de){Q(de)}finally{K.T=q}},ie.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},ie.use=function(g){return K.H.use(g)},ie.useActionState=function(g,q,F){return K.H.useActionState(g,q,F)},ie.useCallback=function(g,q){return K.H.useCallback(g,q)},ie.useContext=function(g){return K.H.useContext(g)},ie.useDebugValue=function(){},ie.useDeferredValue=function(g,q){return K.H.useDeferredValue(g,q)},ie.useEffect=function(g,q,F){var X=K.H;if(typeof F=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(g,q)},ie.useId=function(){return K.H.useId()},ie.useImperativeHandle=function(g,q,F){return K.H.useImperativeHandle(g,q,F)},ie.useInsertionEffect=function(g,q){return K.H.useInsertionEffect(g,q)},ie.useLayoutEffect=function(g,q){return K.H.useLayoutEffect(g,q)},ie.useMemo=function(g,q){return K.H.useMemo(g,q)},ie.useOptimistic=function(g,q){return K.H.useOptimistic(g,q)},ie.useReducer=function(g,q,F){return K.H.useReducer(g,q,F)},ie.useRef=function(g){return K.H.useRef(g)},ie.useState=function(g){return K.H.useState(g)},ie.useSyncExternalStore=function(g,q,F){return K.H.useSyncExternalStore(g,q,F)},ie.useTransition=function(){return K.H.useTransition()},ie.version="19.1.0",ie}var gd;function gc(){return gd||(gd=1,ic.exports=_y()),ic.exports}var ae=gc();const pc=Rd(ae);var rc={exports:{}},_n={},cc={exports:{}},sc={};/**
18
- * @license React
19
- * scheduler.production.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var pd;function Ty(){return pd||(pd=1,function(r){function o(E,G){var Q=E.length;E.push(G);e:for(;0<Q;){var ue=Q-1>>>1,g=E[ue];if(0<x(g,G))E[ue]=G,E[Q]=g,Q=ue;else break e}}function d(E){return E.length===0?null:E[0]}function s(E){if(E.length===0)return null;var G=E[0],Q=E.pop();if(Q!==G){E[0]=Q;e:for(var ue=0,g=E.length,q=g>>>1;ue<q;){var F=2*(ue+1)-1,X=E[F],W=F+1,de=E[W];if(0>x(X,Q))W<g&&0>x(de,X)?(E[ue]=de,E[W]=Q,ue=W):(E[ue]=X,E[F]=Q,ue=F);else if(W<g&&0>x(de,Q))E[ue]=de,E[W]=Q,ue=W;else break e}}return G}function x(E,G){var Q=E.sortIndex-G.sortIndex;return Q!==0?Q:E.id-G.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;r.unstable_now=function(){return b.now()}}else{var M=Date,B=M.now();r.unstable_now=function(){return M.now()-B}}var A=[],p=[],v=1,j=null,Y=3,V=!1,T=!1,w=!1,m=!1,R=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function Z(E){for(var G=d(p);G!==null;){if(G.callback===null)s(p);else if(G.startTime<=E)s(p),G.sortIndex=G.expirationTime,o(A,G);else break;G=d(p)}}function K(E){if(w=!1,Z(E),!T)if(d(A)!==null)T=!0,le||(le=!0,pe());else{var G=d(p);G!==null&&be(K,G.startTime-E)}}var le=!1,ne=-1,fe=5,me=-1;function _e(){return m?!0:!(r.unstable_now()-me<fe)}function De(){if(m=!1,le){var E=r.unstable_now();me=E;var G=!0;try{e:{T=!1,w&&(w=!1,C(ne),ne=-1),V=!0;var Q=Y;try{t:{for(Z(E),j=d(A);j!==null&&!(j.expirationTime>E&&_e());){var ue=j.callback;if(typeof ue=="function"){j.callback=null,Y=j.priorityLevel;var g=ue(j.expirationTime<=E);if(E=r.unstable_now(),typeof g=="function"){j.callback=g,Z(E),G=!0;break t}j===d(A)&&s(A),Z(E)}else s(A);j=d(A)}if(j!==null)G=!0;else{var q=d(p);q!==null&&be(K,q.startTime-E),G=!1}}break e}finally{j=null,Y=Q,V=!1}G=void 0}}finally{G?pe():le=!1}}}var pe;if(typeof z=="function")pe=function(){z(De)};else if(typeof MessageChannel<"u"){var yt=new MessageChannel,Ne=yt.port2;yt.port1.onmessage=De,pe=function(){Ne.postMessage(null)}}else pe=function(){R(De,0)};function be(E,G){ne=R(function(){E(r.unstable_now())},G)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(E){E.callback=null},r.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fe=0<E?Math.floor(1e3/E):5},r.unstable_getCurrentPriorityLevel=function(){return Y},r.unstable_next=function(E){switch(Y){case 1:case 2:case 3:var G=3;break;default:G=Y}var Q=Y;Y=G;try{return E()}finally{Y=Q}},r.unstable_requestPaint=function(){m=!0},r.unstable_runWithPriority=function(E,G){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var Q=Y;Y=E;try{return G()}finally{Y=Q}},r.unstable_scheduleCallback=function(E,G,Q){var ue=r.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ue+Q:ue):Q=ue,E){case 1:var g=-1;break;case 2:g=250;break;case 5:g=1073741823;break;case 4:g=1e4;break;default:g=5e3}return g=Q+g,E={id:v++,callback:G,priorityLevel:E,startTime:Q,expirationTime:g,sortIndex:-1},Q>ue?(E.sortIndex=Q,o(p,E),d(A)===null&&E===d(p)&&(w?(C(ne),ne=-1):w=!0,be(K,Q-ue))):(E.sortIndex=g,o(A,E),T||V||(T=!0,le||(le=!0,pe()))),E},r.unstable_shouldYield=_e,r.unstable_wrapCallback=function(E){var G=Y;return function(){var Q=Y;Y=G;try{return E.apply(this,arguments)}finally{Y=Q}}}}(sc)),sc}var yd;function Ny(){return yd||(yd=1,cc.exports=Ty()),cc.exports}var oc={exports:{}},We={};/**
26
- * @license React
27
- * react-dom.production.js
28
- *
29
- * Copyright (c) Meta Platforms, Inc. and affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var hd;function wy(){if(hd)return We;hd=1;var r=gc();function o(A){var p="https://react.dev/errors/"+A;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+A+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var s={d:{f:d,r:function(){throw Error(o(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},x=Symbol.for("react.portal");function b(A,p,v){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:x,key:j==null?null:""+j,children:A,containerInfo:p,implementation:v}}var M=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function B(A,p){if(A==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return We.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,We.createPortal=function(A,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(o(299));return b(A,p,null,v)},We.flushSync=function(A){var p=M.T,v=s.p;try{if(M.T=null,s.p=2,A)return A()}finally{M.T=p,s.p=v,s.d.f()}},We.preconnect=function(A,p){typeof A=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,s.d.C(A,p))},We.prefetchDNS=function(A){typeof A=="string"&&s.d.D(A)},We.preinit=function(A,p){if(typeof A=="string"&&p&&typeof p.as=="string"){var v=p.as,j=B(v,p.crossOrigin),Y=typeof p.integrity=="string"?p.integrity:void 0,V=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?s.d.S(A,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:j,integrity:Y,fetchPriority:V}):v==="script"&&s.d.X(A,{crossOrigin:j,integrity:Y,fetchPriority:V,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},We.preinitModule=function(A,p){if(typeof A=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=B(p.as,p.crossOrigin);s.d.M(A,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&s.d.M(A)},We.preload=function(A,p){if(typeof A=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,j=B(v,p.crossOrigin);s.d.L(A,v,{crossOrigin:j,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},We.preloadModule=function(A,p){if(typeof A=="string")if(p){var v=B(p.as,p.crossOrigin);s.d.m(A,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else s.d.m(A)},We.requestFormReset=function(A){s.d.r(A)},We.unstable_batchedUpdates=function(A,p){return A(p)},We.useFormState=function(A,p,v){return M.H.useFormState(A,p,v)},We.useFormStatus=function(){return M.H.useHostTransitionStatus()},We.version="19.1.0",We}var bd;function Oy(){if(bd)return oc.exports;bd=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(o){console.error(o)}}return r(),oc.exports=wy(),oc.exports}/**
34
- * @license React
35
- * react-dom-client.production.js
36
- *
37
- * Copyright (c) Meta Platforms, Inc. and affiliates.
38
- *
39
- * This source code is licensed under the MIT license found in the
40
- * LICENSE file in the root directory of this source tree.
41
- */var md;function Dy(){if(md)return _n;md=1;var r=Ny(),o=gc(),d=Oy();function s(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 x(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function b(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 M(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 B(e){if(b(e)!==e)throw Error(s(188))}function A(e){var t=e.alternate;if(!t){if(t=b(e),t===null)throw Error(s(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return B(n),e;if(u===a)return B(n),t;u=u.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=u;else{for(var i=!1,c=n.child;c;){if(c===l){i=!0,l=n,a=u;break}if(c===a){i=!0,a=n,l=u;break}c=c.sibling}if(!i){for(c=u.child;c;){if(c===l){i=!0,l=u,a=n;break}if(c===a){i=!0,a=u,l=n;break}c=c.sibling}if(!i)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?e:t}function p(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=p(e),t!==null)return t;e=e.sibling}return null}var v=Object.assign,j=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),C=Symbol.for("react.consumer"),z=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),_e=Symbol.for("react.memo_cache_sentinel"),De=Symbol.iterator;function pe(e){return e===null||typeof e!="object"?null:(e=De&&e[De]||e["@@iterator"],typeof e=="function"?e:null)}var yt=Symbol.for("react.client.reference");function Ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===yt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case m:return"Profiler";case w:return"StrictMode";case K:return"Suspense";case le:return"SuspenseList";case me:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case V:return"Portal";case z:return(e.displayName||"Context")+".Provider";case C:return(e._context.displayName||"Context")+".Consumer";case Z:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ne:return t=e.displayName||null,t!==null?t:Ne(e.type)||"Memo";case fe:t=e._payload,e=e._init;try{return Ne(e(t))}catch{}}return null}var be=Array.isArray,E=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ue=[],g=-1;function q(e){return{current:e}}function F(e){0>g||(e.current=ue[g],ue[g]=null,g--)}function X(e,t){g++,ue[g]=e.current,e.current=t}var W=q(null),de=q(null),ee=q(null),Ge=q(null);function we(e,t){switch(X(ee,t),X(de,e),X(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Bf(t),e=Hf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(W),X(W,e)}function ht(){F(W),F(de),F(ee)}function Xu(e){e.memoizedState!==null&&X(Ge,e);var t=W.current,l=Hf(t,e.type);t!==l&&(X(de,e),X(W,l))}function Tn(e){de.current===e&&(F(W),F(de)),Ge.current===e&&(F(Ge),mn._currentValue=Q)}var Qu=Object.prototype.hasOwnProperty,Vu=r.unstable_scheduleCallback,Fu=r.unstable_cancelCallback,eg=r.unstable_shouldYield,tg=r.unstable_requestPaint,Dt=r.unstable_now,lg=r.unstable_getCurrentPriorityLevel,hc=r.unstable_ImmediatePriority,bc=r.unstable_UserBlockingPriority,Nn=r.unstable_NormalPriority,ag=r.unstable_LowPriority,mc=r.unstable_IdlePriority,ng=r.log,ug=r.unstable_setDisableYieldValue,Ta=null,nt=null;function It(e){if(typeof ng=="function"&&ug(e),nt&&typeof nt.setStrictMode=="function")try{nt.setStrictMode(Ta,e)}catch{}}var ut=Math.clz32?Math.clz32:cg,ig=Math.log,rg=Math.LN2;function cg(e){return e>>>=0,e===0?32:31-(ig(e)/rg|0)|0}var wn=256,On=4194304;function El(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 Dn(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var c=a&134217727;return c!==0?(a=c&~u,a!==0?n=El(a):(i&=c,i!==0?n=El(i):l||(l=c&~e,l!==0&&(n=El(l))))):(c=a&~u,c!==0?n=El(c):i!==0?n=El(i):l||(l=a&~e,l!==0&&(n=El(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Na(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function sg(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 vc(){var e=wn;return wn<<=1,(wn&4194048)===0&&(wn=256),e}function xc(){var e=On;return On<<=1,(On&62914560)===0&&(On=4194304),e}function Ku(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function wa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function og(e,t,l,a,n,u){var i=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 c=e.entanglements,f=e.expirationTimes,N=e.hiddenUpdates;for(l=i&~l;0<l;){var k=31-ut(l),H=1<<k;c[k]=0,f[k]=-1;var O=N[k];if(O!==null)for(N[k]=null,k=0;k<O.length;k++){var D=O[k];D!==null&&(D.lane&=-536870913)}l&=~H}a!==0&&Sc(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(i&~t))}function Sc(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ut(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function Ec(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-ut(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function $u(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 Ju(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ac(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:nd(e.type))}function fg(e,t){var l=G.p;try{return G.p=e,t()}finally{G.p=l}}var Pt=Math.random().toString(36).slice(2),$e="__reactFiber$"+Pt,Pe="__reactProps$"+Pt,ql="__reactContainer$"+Pt,Wu="__reactEvents$"+Pt,dg="__reactListeners$"+Pt,gg="__reactHandles$"+Pt,_c="__reactResources$"+Pt,Oa="__reactMarker$"+Pt;function Iu(e){delete e[$e],delete e[Pe],delete e[Wu],delete e[dg],delete e[gg]}function Gl(e){var t=e[$e];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ql]||l[$e]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Zf(e);e!==null;){if(l=e[$e])return l;e=Zf(e)}return t}e=l,l=e.parentNode}return null}function Yl(e){if(e=e[$e]||e[ql]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Da(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function Zl(e){var t=e[_c];return t||(t=e[_c]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ye(e){e[Oa]=!0}var Tc=new Set,Nc={};function Al(e,t){Xl(e,t),Xl(e+"Capture",t)}function Xl(e,t){for(Nc[e]=t,e=0;e<t.length;e++)Tc.add(t[e])}var pg=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]*$"),wc={},Oc={};function yg(e){return Qu.call(Oc,e)?!0:Qu.call(wc,e)?!1:pg.test(e)?Oc[e]=!0:(wc[e]=!0,!1)}function zn(e,t,l){if(yg(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 Rn(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 Ut(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 Pu,Dc;function Ql(e){if(Pu===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Pu=t&&t[1]||"",Dc=-1<l.stack.indexOf(`
42
- at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+Pu+e+Dc}var ei=!1;function ti(e,t){if(!e||ei)return"";ei=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(D){var O=D}Reflect.construct(e,[],H)}else{try{H.call()}catch(D){O=D}e.call(H.prototype)}}else{try{throw Error()}catch(D){O=D}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(D){if(D&&O&&typeof D.stack=="string")return[D.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),i=u[0],c=u[1];if(i&&c){var f=i.split(`
44
- `),N=c.split(`
45
- `);for(n=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;n<N.length&&!N[n].includes("DetermineComponentFrameRoot");)n++;if(a===f.length||n===N.length)for(a=f.length-1,n=N.length-1;1<=a&&0<=n&&f[a]!==N[n];)n--;for(;1<=a&&0<=n;a--,n--)if(f[a]!==N[n]){if(a!==1||n!==1)do if(a--,n--,0>n||f[a]!==N[n]){var k=`
46
- `+f[a].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=a&&0<=n);break}}}finally{ei=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Ql(l):""}function hg(e){switch(e.tag){case 26:case 27:case 5:return Ql(e.type);case 16:return Ql("Lazy");case 13:return Ql("Suspense");case 19:return Ql("SuspenseList");case 0:case 15:return ti(e.type,!1);case 11:return ti(e.type.render,!1);case 1:return ti(e.type,!0);case 31:return Ql("Activity");default:return""}}function zc(e){try{var t="";do t+=hg(e),e=e.return;while(e);return t}catch(l){return`
47
- Error generating stack: `+l.message+`
48
- `+l.stack}}function bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bg(e){var t=Rc(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 n=l.get,u=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){a=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mn(e){e._valueTracker||(e._valueTracker=bg(e))}function Mc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=Rc(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function jn(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 mg=/[\n"\\]/g;function mt(e){return e.replace(mg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function li(e,t,l,a,n,u,i,c){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+bt(t)):e.value!==""+bt(t)&&(e.value=""+bt(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?ai(e,i,bt(t)):l!=null?ai(e,i,bt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.name=""+bt(c):e.removeAttribute("name")}function jc(e,t,l,a,n,u,i,c){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null))return;l=l!=null?""+bt(l):"",t=t!=null?""+bt(t):l,c||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=c?e.checked:!!a,e.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i)}function ai(e,t,l){t==="number"&&jn(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Vl(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+bt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Cc(e,t,l){if(t!=null&&(t=""+bt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+bt(l):""}function kc(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(s(92));if(be(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=bt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function Fl(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var vg=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 Uc(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||vg.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Lc(e,t,l){if(t!=null&&typeof t!="object")throw Error(s(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 n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&Uc(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Uc(e,u,t[u])}function ni(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 xg=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"]]),Sg=/^[\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 Cn(e){return Sg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ui=null;function ii(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kl=null,$l=null;function Bc(e){var t=Yl(e);if(t&&(e=t.stateNode)){var l=e[Pe]||null;e:switch(e=t.stateNode,t.type){case"input":if(li(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="'+mt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[Pe]||null;if(!n)throw Error(s(90));li(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&Mc(a)}break e;case"textarea":Cc(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Vl(e,!!l.multiple,t,!1)}}}var ri=!1;function Hc(e,t,l){if(ri)return e(t,l);ri=!0;try{var a=e(t);return a}finally{if(ri=!1,(Kl!==null||$l!==null)&&(vu(),Kl&&(t=Kl,e=$l,$l=Kl=null,Bc(t),e)))for(t=0;t<e.length;t++)Bc(e[t])}}function za(e,t){var l=e.stateNode;if(l===null)return null;var a=l[Pe]||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(s(231,t,typeof l));return l}var Lt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ci=!1;if(Lt)try{var Ra={};Object.defineProperty(Ra,"passive",{get:function(){ci=!0}}),window.addEventListener("test",Ra,Ra),window.removeEventListener("test",Ra,Ra)}catch{ci=!1}var el=null,si=null,kn=null;function qc(){if(kn)return kn;var e,t=si,l=t.length,a,n="value"in el?el.value:el.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var i=l-e;for(a=1;a<=i&&t[l-a]===n[u-a];a++);return kn=n.slice(e,1<a?1-a:void 0)}function Un(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 Ln(){return!0}function Gc(){return!1}function et(e){function t(l,a,n,u,i){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(l=e[c],this[c]=l?l(u):u[c]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Ln:Gc,this.isPropagationStopped=Gc,this}return v(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=Ln)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ln)},persist:function(){},isPersistent:Ln}),t}var _l={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bn=et(_l),Ma=v({},_l,{view:0,detail:0}),Eg=et(Ma),oi,fi,ja,Hn=v({},Ma,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gi,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!==ja&&(ja&&e.type==="mousemove"?(oi=e.screenX-ja.screenX,fi=e.screenY-ja.screenY):fi=oi=0,ja=e),oi)},movementY:function(e){return"movementY"in e?e.movementY:fi}}),Yc=et(Hn),Ag=v({},Hn,{dataTransfer:0}),_g=et(Ag),Tg=v({},Ma,{relatedTarget:0}),di=et(Tg),Ng=v({},_l,{animationName:0,elapsedTime:0,pseudoElement:0}),wg=et(Ng),Og=v({},_l,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dg=et(Og),zg=v({},_l,{data:0}),Zc=et(zg),Rg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mg={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"},jg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=jg[e])?!!t[e]:!1}function gi(){return Cg}var kg=v({},Ma,{key:function(e){if(e.key){var t=Rg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Un(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Mg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gi,charCode:function(e){return e.type==="keypress"?Un(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Un(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ug=et(kg),Lg=v({},Hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xc=et(Lg),Bg=v({},Ma,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gi}),Hg=et(Bg),qg=v({},_l,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gg=et(qg),Yg=v({},Hn,{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}),Zg=et(Yg),Xg=v({},_l,{newState:0,oldState:0}),Qg=et(Xg),Vg=[9,13,27,32],pi=Lt&&"CompositionEvent"in window,Ca=null;Lt&&"documentMode"in document&&(Ca=document.documentMode);var Fg=Lt&&"TextEvent"in window&&!Ca,Qc=Lt&&(!pi||Ca&&8<Ca&&11>=Ca),Vc=" ",Fc=!1;function Kc(e,t){switch(e){case"keyup":return Vg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $c(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jl=!1;function Kg(e,t){switch(e){case"compositionend":return $c(t);case"keypress":return t.which!==32?null:(Fc=!0,Vc);case"textInput":return e=t.data,e===Vc&&Fc?null:e;default:return null}}function $g(e,t){if(Jl)return e==="compositionend"||!pi&&Kc(e,t)?(e=qc(),kn=si=el=null,Jl=!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 Qc&&t.locale!=="ko"?null:t.data;default:return null}}var Jg={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 Jc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jg[e.type]:t==="textarea"}function Wc(e,t,l,a){Kl?$l?$l.push(a):$l=[a]:Kl=a,t=Tu(t,"onChange"),0<t.length&&(l=new Bn("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var ka=null,Ua=null;function Wg(e){jf(e,0)}function qn(e){var t=Da(e);if(Mc(t))return e}function Ic(e,t){if(e==="change")return t}var Pc=!1;if(Lt){var yi;if(Lt){var hi="oninput"in document;if(!hi){var es=document.createElement("div");es.setAttribute("oninput","return;"),hi=typeof es.oninput=="function"}yi=hi}else yi=!1;Pc=yi&&(!document.documentMode||9<document.documentMode)}function ts(){ka&&(ka.detachEvent("onpropertychange",ls),Ua=ka=null)}function ls(e){if(e.propertyName==="value"&&qn(Ua)){var t=[];Wc(t,Ua,e,ii(e)),Hc(Wg,t)}}function Ig(e,t,l){e==="focusin"?(ts(),ka=t,Ua=l,ka.attachEvent("onpropertychange",ls)):e==="focusout"&&ts()}function Pg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qn(Ua)}function ep(e,t){if(e==="click")return qn(t)}function tp(e,t){if(e==="input"||e==="change")return qn(t)}function lp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var it=typeof Object.is=="function"?Object.is:lp;function La(e,t){if(it(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 n=l[a];if(!Qu.call(t,n)||!it(e[n],t[n]))return!1}return!0}function as(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ns(e,t){var l=as(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=as(l)}}function us(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?us(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function is(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=jn(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=jn(e.document)}return t}function bi(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 ap=Lt&&"documentMode"in document&&11>=document.documentMode,Wl=null,mi=null,Ba=null,vi=!1;function rs(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;vi||Wl==null||Wl!==jn(a)||(a=Wl,"selectionStart"in a&&bi(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}),Ba&&La(Ba,a)||(Ba=a,a=Tu(mi,"onSelect"),0<a.length&&(t=new Bn("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Wl)))}function Tl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Il={animationend:Tl("Animation","AnimationEnd"),animationiteration:Tl("Animation","AnimationIteration"),animationstart:Tl("Animation","AnimationStart"),transitionrun:Tl("Transition","TransitionRun"),transitionstart:Tl("Transition","TransitionStart"),transitioncancel:Tl("Transition","TransitionCancel"),transitionend:Tl("Transition","TransitionEnd")},xi={},cs={};Lt&&(cs=document.createElement("div").style,"AnimationEvent"in window||(delete Il.animationend.animation,delete Il.animationiteration.animation,delete Il.animationstart.animation),"TransitionEvent"in window||delete Il.transitionend.transition);function Nl(e){if(xi[e])return xi[e];if(!Il[e])return e;var t=Il[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in cs)return xi[e]=t[l];return e}var ss=Nl("animationend"),os=Nl("animationiteration"),fs=Nl("animationstart"),np=Nl("transitionrun"),up=Nl("transitionstart"),ip=Nl("transitioncancel"),ds=Nl("transitionend"),gs=new Map,Si="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(" ");Si.push("scrollEnd");function Nt(e,t){gs.set(e,t),Al(t,[e])}var ps=new WeakMap;function vt(e,t){if(typeof e=="object"&&e!==null){var l=ps.get(e);return l!==void 0?l:(t={value:e,source:t,stack:zc(t)},ps.set(e,t),t)}return{value:e,source:t,stack:zc(t)}}var xt=[],Pl=0,Ei=0;function Gn(){for(var e=Pl,t=Ei=Pl=0;t<e;){var l=xt[t];xt[t++]=null;var a=xt[t];xt[t++]=null;var n=xt[t];xt[t++]=null;var u=xt[t];if(xt[t++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&ys(l,n,u)}}function Yn(e,t,l,a){xt[Pl++]=e,xt[Pl++]=t,xt[Pl++]=l,xt[Pl++]=a,Ei|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Ai(e,t,l,a){return Yn(e,t,l,a),Zn(e)}function ea(e,t){return Yn(e,null,null,t),Zn(e)}function ys(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-ut(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function Zn(e){if(50<on)throw on=0,Dr=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ta={};function rp(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 rp(e,t,l,a)}function _i(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bt(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 hs(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 Xn(e,t,l,a,n,u){var i=0;if(a=e,typeof e=="function")_i(e)&&(i=1);else if(typeof e=="string")i=sy(e,l,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case me:return e=rt(31,l,t,n),e.elementType=me,e.lanes=u,e;case T:return wl(l.children,n,u,t);case w:i=8,n|=24;break;case m:return e=rt(12,l,t,n|2),e.elementType=m,e.lanes=u,e;case K:return e=rt(13,l,t,n),e.elementType=K,e.lanes=u,e;case le:return e=rt(19,l,t,n),e.elementType=le,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:case z:i=10;break e;case C:i=9;break e;case Z:i=11;break e;case ne:i=14;break e;case fe:i=16,a=null;break e}i=29,l=Error(s(130,e===null?"null":typeof e,"")),a=null}return t=rt(i,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function wl(e,t,l,a){return e=rt(7,e,a,t),e.lanes=l,e}function Ti(e,t,l){return e=rt(6,e,null,t),e.lanes=l,e}function Ni(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 la=[],aa=0,Qn=null,Vn=0,St=[],Et=0,Ol=null,Ht=1,qt="";function Dl(e,t){la[aa++]=Vn,la[aa++]=Qn,Qn=e,Vn=t}function bs(e,t,l){St[Et++]=Ht,St[Et++]=qt,St[Et++]=Ol,Ol=e;var a=Ht;e=qt;var n=32-ut(a)-1;a&=~(1<<n),l+=1;var u=32-ut(t)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Ht=1<<32-ut(t)+n|l<<n|a,qt=u+e}else Ht=1<<u|l<<n|a,qt=e}function wi(e){e.return!==null&&(Dl(e,1),bs(e,1,0))}function Oi(e){for(;e===Qn;)Qn=la[--aa],la[aa]=null,Vn=la[--aa],la[aa]=null;for(;e===Ol;)Ol=St[--Et],St[Et]=null,qt=St[--Et],St[Et]=null,Ht=St[--Et],St[Et]=null}var Ie=null,Me=null,he=!1,zl=null,zt=!1,Di=Error(s(519));function Rl(e){var t=Error(s(418,""));throw Ga(vt(t,e)),Di}function ms(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[$e]=e,t[Pe]=a,l){case"dialog":oe("cancel",t),oe("close",t);break;case"iframe":case"object":case"embed":oe("load",t);break;case"video":case"audio":for(l=0;l<dn.length;l++)oe(dn[l],t);break;case"source":oe("error",t);break;case"img":case"image":case"link":oe("error",t),oe("load",t);break;case"details":oe("toggle",t);break;case"input":oe("invalid",t),jc(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Mn(t);break;case"select":oe("invalid",t);break;case"textarea":oe("invalid",t),kc(t,a.value,a.defaultValue,a.children),Mn(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Lf(t.textContent,l)?(a.popover!=null&&(oe("beforetoggle",t),oe("toggle",t)),a.onScroll!=null&&oe("scroll",t),a.onScrollEnd!=null&&oe("scrollend",t),a.onClick!=null&&(t.onclick=Nu),t=!0):t=!1,t||Rl(e)}function vs(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 13:zt=!1;return;case 27:case 3:zt=!0;return;default:Ie=Ie.return}}function Ha(e){if(e!==Ie)return!1;if(!he)return vs(e),he=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Qr(e.type,e.memoizedProps)),l=!l),l&&Me&&Rl(e),vs(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(t===0){Me=Ot(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}Me=null}}else t===27?(t=Me,hl(e.type)?(e=$r,$r=null,Me=e):Me=t):Me=Ie?Ot(e.stateNode.nextSibling):null;return!0}function qa(){Me=Ie=null,he=!1}function xs(){var e=zl;return e!==null&&(at===null?at=e:at.push.apply(at,e),zl=null),e}function Ga(e){zl===null?zl=[e]:zl.push(e)}var zi=q(null),Ml=null,Gt=null;function tl(e,t,l){X(zi,t._currentValue),t._currentValue=l}function Yt(e){e._currentValue=zi.current,F(zi)}function Ri(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 Mi(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;e:for(;u!==null;){var c=u;u=n;for(var f=0;f<t.length;f++)if(c.context===t[f]){u.lanes|=l,c=u.alternate,c!==null&&(c.lanes|=l),Ri(u.return,l,e),a||(i=null);break e}u=c.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(s(341));i.lanes|=l,u=i.alternate,u!==null&&(u.lanes|=l),Ri(i,l,e),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===e){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Ya(e,t,l,a){e=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(s(387));if(i=i.memoizedProps,i!==null){var c=n.type;it(n.pendingProps.value,i.value)||(e!==null?e.push(c):e=[c])}}else if(n===Ge.current){if(i=n.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(mn):e=[mn])}n=n.return}e!==null&&Mi(t,e,l,a),t.flags|=262144}function Fn(e){for(e=e.firstContext;e!==null;){if(!it(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function jl(e){Ml=e,Gt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Je(e){return Ss(Ml,e)}function Kn(e,t){return Ml===null&&jl(e),Ss(e,t)}function Ss(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Gt===null){if(e===null)throw Error(s(308));Gt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Gt=Gt.next=t;return l}var cp=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()})}},sp=r.unstable_scheduleCallback,op=r.unstable_NormalPriority,He={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ji(){return{controller:new cp,data:new Map,refCount:0}}function Za(e){e.refCount--,e.refCount===0&&sp(op,function(){e.controller.abort()})}var Xa=null,Ci=0,na=0,ua=null;function fp(e,t){if(Xa===null){var l=Xa=[];Ci=0,na=Ur(),ua={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Ci++,t.then(Es,Es),t}function Es(){if(--Ci===0&&Xa!==null){ua!==null&&(ua.status="fulfilled");var e=Xa;Xa=null,na=0,ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function dp(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var As=E.S;E.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&fp(e,t),As!==null&&As(e,t)};var Cl=q(null);function ki(){var e=Cl.current;return e!==null?e:Oe.pooledCache}function $n(e,t){t===null?X(Cl,Cl.current):X(Cl,t.pool)}function _s(){var e=ki();return e===null?null:{parent:He._currentValue,pool:e}}var Qa=Error(s(460)),Ts=Error(s(474)),Jn=Error(s(542)),Ui={then:function(){}};function Ns(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Wn(){}function ws(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Wn,Wn),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ds(e),e;default:if(typeof t.status=="string")t.then(Wn,Wn);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ds(e),e}throw Va=t,Qa}}var Va=null;function Os(){if(Va===null)throw Error(s(459));var e=Va;return Va=null,e}function Ds(e){if(e===Qa||e===Jn)throw Error(s(483))}var ll=!1;function Li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Bi(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 al(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function nl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ve&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Zn(e),ys(e,null,l),t}return Yn(e,a,t,l),Zn(e)}function Fa(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,Ec(e,l)}}function Hi(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var i={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,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 qi=!1;function Ka(){if(qi){var e=ua;if(e!==null)throw e}}function $a(e,t,l,a){qi=!1;var n=e.updateQueue;ll=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var f=c,N=f.next;f.next=null,i===null?u=N:i.next=N,i=f;var k=e.alternate;k!==null&&(k=k.updateQueue,c=k.lastBaseUpdate,c!==i&&(c===null?k.firstBaseUpdate=N:c.next=N,k.lastBaseUpdate=f))}if(u!==null){var H=n.baseState;i=0,k=N=f=null,c=u;do{var O=c.lane&-536870913,D=O!==c.lane;if(D?(ge&O)===O:(a&O)===O){O!==0&&O===na&&(qi=!0),k!==null&&(k=k.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var te=e,I=c;O=t;var Ae=l;switch(I.tag){case 1:if(te=I.payload,typeof te=="function"){H=te.call(Ae,H,O);break e}H=te;break e;case 3:te.flags=te.flags&-65537|128;case 0:if(te=I.payload,O=typeof te=="function"?te.call(Ae,H,O):te,O==null)break e;H=v({},H,O);break e;case 2:ll=!0}}O=c.callback,O!==null&&(e.flags|=64,D&&(e.flags|=8192),D=n.callbacks,D===null?n.callbacks=[O]:D.push(O))}else D={lane:O,tag:c.tag,payload:c.payload,callback:c.callback,next:null},k===null?(N=k=D,f=H):k=k.next=D,i|=O;if(c=c.next,c===null){if(c=n.shared.pending,c===null)break;D=c,c=D.next,D.next=null,n.lastBaseUpdate=D,n.shared.pending=null}}while(!0);k===null&&(f=H),n.baseState=f,n.firstBaseUpdate=N,n.lastBaseUpdate=k,u===null&&(n.shared.lanes=0),dl|=i,e.lanes=i,e.memoizedState=H}}function zs(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Rs(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)zs(l[e],t)}var ia=q(null),In=q(0);function Ms(e,t){e=$t,X(In,e),X(ia,t),$t=e|t.baseLanes}function Gi(){X(In,$t),X(ia,ia.current)}function Yi(){$t=In.current,F(ia),F(In)}var ul=0,re=null,Se=null,Ue=null,Pn=!1,ra=!1,kl=!1,eu=0,Ja=0,ca=null,gp=0;function Ce(){throw Error(s(321))}function Zi(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!it(e[l],t[l]))return!1;return!0}function Xi(e,t,l,a,n,u){return ul=u,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?ho:bo,kl=!1,u=l(a,n),kl=!1,ra&&(u=Cs(t,l,a,n)),js(e),u}function js(e){E.H=iu;var t=Se!==null&&Se.next!==null;if(ul=0,Ue=Se=re=null,Pn=!1,Ja=0,ca=null,t)throw Error(s(300));e===null||Ze||(e=e.dependencies,e!==null&&Fn(e)&&(Ze=!0))}function Cs(e,t,l,a){re=e;var n=0;do{if(ra&&(ca=null),Ja=0,ra=!1,25<=n)throw Error(s(301));if(n+=1,Ue=Se=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}E.H=xp,u=t(l,a)}while(ra);return u}function pp(){var e=E.H,t=e.useState()[0];return t=typeof t.then=="function"?Wa(t):t,e=e.useState()[0],(Se!==null?Se.memoizedState:null)!==e&&(re.flags|=1024),t}function Qi(){var e=eu!==0;return eu=0,e}function Vi(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Fi(e){if(Pn){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Pn=!1}ul=0,Ue=Se=re=null,ra=!1,Ja=eu=0,ca=null}function tt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ue===null?re.memoizedState=Ue=e:Ue=Ue.next=e,Ue}function Le(){if(Se===null){var e=re.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=Ue===null?re.memoizedState:Ue.next;if(t!==null)Ue=t,Se=e;else{if(e===null)throw re.alternate===null?Error(s(467)):Error(s(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Ue===null?re.memoizedState=Ue=e:Ue=Ue.next=e}return Ue}function Ki(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Wa(e){var t=Ja;return Ja+=1,ca===null&&(ca=[]),e=ws(ca,e,t),t=re,(Ue===null?t.memoizedState:Ue.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?ho:bo),e}function tu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Wa(e);if(e.$$typeof===z)return Je(e)}throw Error(s(438,String(e)))}function $i(e){var t=null,l=re.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=re.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Ki(),re.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]=_e;return t.index++,l}function Zt(e,t){return typeof t=="function"?t(e):t}function lu(e){var t=Le();return Ji(t,Se,e)}function Ji(e,t,l){var a=e.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var c=i=null,f=null,N=t,k=!1;do{var H=N.lane&-536870913;if(H!==N.lane?(ge&H)===H:(ul&H)===H){var O=N.revertLane;if(O===0)f!==null&&(f=f.next={lane:0,revertLane:0,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),H===na&&(k=!0);else if((ul&O)===O){N=N.next,O===na&&(k=!0);continue}else H={lane:0,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},f===null?(c=f=H,i=u):f=f.next=H,re.lanes|=O,dl|=O;H=N.action,kl&&l(u,H),u=N.hasEagerState?N.eagerState:l(u,H)}else O={lane:H,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},f===null?(c=f=O,i=u):f=f.next=O,re.lanes|=H,dl|=H;N=N.next}while(N!==null&&N!==t);if(f===null?i=u:f.next=c,!it(u,e.memoizedState)&&(Ze=!0,k&&(l=ua,l!==null)))throw l;e.memoizedState=u,e.baseState=i,e.baseQueue=f,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Wi(e){var t=Le(),l=t.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var i=n=n.next;do u=e(u,i.action),i=i.next;while(i!==n);it(u,t.memoizedState)||(Ze=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function ks(e,t,l){var a=re,n=Le(),u=he;if(u){if(l===void 0)throw Error(s(407));l=l()}else l=t();var i=!it((Se||n).memoizedState,l);i&&(n.memoizedState=l,Ze=!0),n=n.queue;var c=Bs.bind(null,a,n,e);if(Ia(2048,8,c,[e]),n.getSnapshot!==t||i||Ue!==null&&Ue.memoizedState.tag&1){if(a.flags|=2048,sa(9,au(),Ls.bind(null,a,n,l,t),null),Oe===null)throw Error(s(349));u||(ul&124)!==0||Us(a,t,l)}return l}function Us(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=re.updateQueue,t===null?(t=Ki(),re.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Ls(e,t,l,a){t.value=l,t.getSnapshot=a,Hs(t)&&qs(e)}function Bs(e,t,l){return l(function(){Hs(t)&&qs(e)})}function Hs(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!it(e,l)}catch{return!0}}function qs(e){var t=ea(e,2);t!==null&&dt(t,e,2)}function Ii(e){var t=tt();if(typeof e=="function"){var l=e;if(e=l(),kl){It(!0);try{l()}finally{It(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:e},t}function Gs(e,t,l,a){return e.baseState=l,Ji(e,Se,typeof a=="function"?a:Zt)}function yp(e,t,l,a,n){if(uu(e))throw Error(s(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};E.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Ys(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Ys(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=E.T,i={};E.T=i;try{var c=l(n,a),f=E.S;f!==null&&f(i,c),Zs(e,t,c)}catch(N){Pi(e,t,N)}finally{E.T=u}}else try{u=l(n,a),Zs(e,t,u)}catch(N){Pi(e,t,N)}}function Zs(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Xs(e,t,a)},function(a){return Pi(e,t,a)}):Xs(e,t,l)}function Xs(e,t,l){t.status="fulfilled",t.value=l,Qs(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Ys(e,l)))}function Pi(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Qs(t),t=t.next;while(t!==a)}e.action=null}function Qs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Vs(e,t){return t}function Fs(e,t){if(he){var l=Oe.formState;if(l!==null){e:{var a=re;if(he){if(Me){t:{for(var n=Me,u=zt;n.nodeType!==8;){if(!u){n=null;break t}if(n=Ot(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Me=Ot(n.nextSibling),a=n.data==="F!";break e}}Rl(a)}a=!1}a&&(t=l[0])}}return l=tt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vs,lastRenderedState:t},l.queue=a,l=go.bind(null,re,a),a.dispatch=l,a=Ii(!1),u=nr.bind(null,re,!1,a.queue),a=tt(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=yp.bind(null,re,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Ks(e){var t=Le();return $s(t,Se,e)}function $s(e,t,l){if(t=Ji(e,t,Vs)[0],e=lu(Zt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Wa(t)}catch(i){throw i===Qa?Jn:i}else a=t;t=Le();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(re.flags|=2048,sa(9,au(),hp.bind(null,n,l),null)),[a,u,e]}function hp(e,t){e.action=t}function Js(e){var t=Le(),l=Se;if(l!==null)return $s(t,l,e);Le(),t=t.memoizedState,l=Le();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function sa(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=re.updateQueue,t===null&&(t=Ki(),re.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 au(){return{destroy:void 0,resource:void 0}}function Ws(){return Le().memoizedState}function nu(e,t,l,a){var n=tt();a=a===void 0?null:a,re.flags|=e,n.memoizedState=sa(1|t,au(),l,a)}function Ia(e,t,l,a){var n=Le();a=a===void 0?null:a;var u=n.memoizedState.inst;Se!==null&&a!==null&&Zi(a,Se.memoizedState.deps)?n.memoizedState=sa(t,u,l,a):(re.flags|=e,n.memoizedState=sa(1|t,u,l,a))}function Is(e,t){nu(8390656,8,e,t)}function Ps(e,t){Ia(2048,8,e,t)}function eo(e,t){return Ia(4,2,e,t)}function to(e,t){return Ia(4,4,e,t)}function lo(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 ao(e,t,l){l=l!=null?l.concat([e]):null,Ia(4,4,lo.bind(null,t,e),l)}function er(){}function no(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Zi(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function uo(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Zi(t,a[1]))return a[0];if(a=e(),kl){It(!0);try{e()}finally{It(!1)}}return l.memoizedState=[a,t],a}function tr(e,t,l){return l===void 0||(ul&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=of(),re.lanes|=e,dl|=e,l)}function io(e,t,l,a){return it(l,t)?l:ia.current!==null?(e=tr(e,l,a),it(e,t)||(Ze=!0),e):(ul&42)===0?(Ze=!0,e.memoizedState=l):(e=of(),re.lanes|=e,dl|=e,t)}function ro(e,t,l,a,n){var u=G.p;G.p=u!==0&&8>u?u:8;var i=E.T,c={};E.T=c,nr(e,!1,t,l);try{var f=n(),N=E.S;if(N!==null&&N(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var k=dp(f,a);Pa(e,t,k,ft(e))}else Pa(e,t,a,ft(e))}catch(H){Pa(e,t,{then:function(){},status:"rejected",reason:H},ft())}finally{G.p=u,E.T=i}}function bp(){}function lr(e,t,l,a){if(e.tag!==5)throw Error(s(476));var n=co(e).queue;ro(e,n,t,Q,l===null?bp:function(){return so(e),l(a)})}function co(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:Q},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function so(e){var t=co(e).next.queue;Pa(e,t,{},ft())}function ar(){return Je(mn)}function oo(){return Le().memoizedState}function fo(){return Le().memoizedState}function mp(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=ft();e=al(l);var a=nl(t,e,l);a!==null&&(dt(a,t,l),Fa(a,t,l)),t={cache:ji()},e.payload=t;return}t=t.return}}function vp(e,t,l){var a=ft();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},uu(e)?po(t,l):(l=Ai(e,t,l,a),l!==null&&(dt(l,e,a),yo(l,t,a)))}function go(e,t,l){var a=ft();Pa(e,t,l,a)}function Pa(e,t,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(uu(e))po(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,c=u(i,l);if(n.hasEagerState=!0,n.eagerState=c,it(c,i))return Yn(e,t,n,0),Oe===null&&Gn(),!1}catch{}finally{}if(l=Ai(e,t,n,a),l!==null)return dt(l,e,a),yo(l,t,a),!0}return!1}function nr(e,t,l,a){if(a={lane:2,revertLane:Ur(),action:a,hasEagerState:!1,eagerState:null,next:null},uu(e)){if(t)throw Error(s(479))}else t=Ai(e,l,a,2),t!==null&&dt(t,e,2)}function uu(e){var t=e.alternate;return e===re||t!==null&&t===re}function po(e,t){ra=Pn=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function yo(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ec(e,l)}}var iu={readContext:Je,use:tu,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useLayoutEffect:Ce,useInsertionEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useSyncExternalStore:Ce,useId:Ce,useHostTransitionStatus:Ce,useFormState:Ce,useActionState:Ce,useOptimistic:Ce,useMemoCache:Ce,useCacheRefresh:Ce},ho={readContext:Je,use:tu,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:Is,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,nu(4194308,4,lo.bind(null,t,e),l)},useLayoutEffect:function(e,t){return nu(4194308,4,e,t)},useInsertionEffect:function(e,t){nu(4,2,e,t)},useMemo:function(e,t){var l=tt();t=t===void 0?null:t;var a=e();if(kl){It(!0);try{e()}finally{It(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=tt();if(l!==void 0){var n=l(t);if(kl){It(!0);try{l(t)}finally{It(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=vp.bind(null,re,e),[a.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ii(e);var t=e.queue,l=go.bind(null,re,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:er,useDeferredValue:function(e,t){var l=tt();return tr(l,e,t)},useTransition:function(){var e=Ii(!1);return e=ro.bind(null,re,e.queue,!0,!1),tt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=re,n=tt();if(he){if(l===void 0)throw Error(s(407));l=l()}else{if(l=t(),Oe===null)throw Error(s(349));(ge&124)!==0||Us(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Is(Bs.bind(null,a,u,e),[e]),a.flags|=2048,sa(9,au(),Ls.bind(null,a,u,l,t),null),l},useId:function(){var e=tt(),t=Oe.identifierPrefix;if(he){var l=qt,a=Ht;l=(a&~(1<<32-ut(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=eu++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=gp++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ar,useFormState:Fs,useActionState:Fs,useOptimistic:function(e){var t=tt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=nr.bind(null,re,!0,l),l.dispatch=t,[e,t]},useMemoCache:$i,useCacheRefresh:function(){return tt().memoizedState=mp.bind(null,re)}},bo={readContext:Je,use:tu,useCallback:no,useContext:Je,useEffect:Ps,useImperativeHandle:ao,useInsertionEffect:eo,useLayoutEffect:to,useMemo:uo,useReducer:lu,useRef:Ws,useState:function(){return lu(Zt)},useDebugValue:er,useDeferredValue:function(e,t){var l=Le();return io(l,Se.memoizedState,e,t)},useTransition:function(){var e=lu(Zt)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Wa(e),t]},useSyncExternalStore:ks,useId:oo,useHostTransitionStatus:ar,useFormState:Ks,useActionState:Ks,useOptimistic:function(e,t){var l=Le();return Gs(l,Se,e,t)},useMemoCache:$i,useCacheRefresh:fo},xp={readContext:Je,use:tu,useCallback:no,useContext:Je,useEffect:Ps,useImperativeHandle:ao,useInsertionEffect:eo,useLayoutEffect:to,useMemo:uo,useReducer:Wi,useRef:Ws,useState:function(){return Wi(Zt)},useDebugValue:er,useDeferredValue:function(e,t){var l=Le();return Se===null?tr(l,e,t):io(l,Se.memoizedState,e,t)},useTransition:function(){var e=Wi(Zt)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Wa(e),t]},useSyncExternalStore:ks,useId:oo,useHostTransitionStatus:ar,useFormState:Js,useActionState:Js,useOptimistic:function(e,t){var l=Le();return Se!==null?Gs(l,Se,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:$i,useCacheRefresh:fo},oa=null,en=0;function ru(e){var t=en;return en+=1,oa===null&&(oa=[]),ws(oa,e,t)}function tn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function cu(e,t){throw t.$$typeof===j?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function mo(e){var t=e._init;return t(e._payload)}function vo(e){function t(S,h){if(e){var _=S.deletions;_===null?(S.deletions=[h],S.flags|=16):_.push(h)}}function l(S,h){if(!e)return null;for(;h!==null;)t(S,h),h=h.sibling;return null}function a(S){for(var h=new Map;S!==null;)S.key!==null?h.set(S.key,S):h.set(S.index,S),S=S.sibling;return h}function n(S,h){return S=Bt(S,h),S.index=0,S.sibling=null,S}function u(S,h,_){return S.index=_,e?(_=S.alternate,_!==null?(_=_.index,_<h?(S.flags|=67108866,h):_):(S.flags|=67108866,h)):(S.flags|=1048576,h)}function i(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function c(S,h,_,L){return h===null||h.tag!==6?(h=Ti(_,S.mode,L),h.return=S,h):(h=n(h,_),h.return=S,h)}function f(S,h,_,L){var $=_.type;return $===T?k(S,h,_.props.children,L,_.key):h!==null&&(h.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===fe&&mo($)===h.type)?(h=n(h,_.props),tn(h,_),h.return=S,h):(h=Xn(_.type,_.key,_.props,null,S.mode,L),tn(h,_),h.return=S,h)}function N(S,h,_,L){return h===null||h.tag!==4||h.stateNode.containerInfo!==_.containerInfo||h.stateNode.implementation!==_.implementation?(h=Ni(_,S.mode,L),h.return=S,h):(h=n(h,_.children||[]),h.return=S,h)}function k(S,h,_,L,$){return h===null||h.tag!==7?(h=wl(_,S.mode,L,$),h.return=S,h):(h=n(h,_),h.return=S,h)}function H(S,h,_){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=Ti(""+h,S.mode,_),h.return=S,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Y:return _=Xn(h.type,h.key,h.props,null,S.mode,_),tn(_,h),_.return=S,_;case V:return h=Ni(h,S.mode,_),h.return=S,h;case fe:var L=h._init;return h=L(h._payload),H(S,h,_)}if(be(h)||pe(h))return h=wl(h,S.mode,_,null),h.return=S,h;if(typeof h.then=="function")return H(S,ru(h),_);if(h.$$typeof===z)return H(S,Kn(S,h),_);cu(S,h)}return null}function O(S,h,_,L){var $=h!==null?h.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return $!==null?null:c(S,h,""+_,L);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:return _.key===$?f(S,h,_,L):null;case V:return _.key===$?N(S,h,_,L):null;case fe:return $=_._init,_=$(_._payload),O(S,h,_,L)}if(be(_)||pe(_))return $!==null?null:k(S,h,_,L,null);if(typeof _.then=="function")return O(S,h,ru(_),L);if(_.$$typeof===z)return O(S,h,Kn(S,_),L);cu(S,_)}return null}function D(S,h,_,L,$){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return S=S.get(_)||null,c(h,S,""+L,$);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Y:return S=S.get(L.key===null?_:L.key)||null,f(h,S,L,$);case V:return S=S.get(L.key===null?_:L.key)||null,N(h,S,L,$);case fe:var ce=L._init;return L=ce(L._payload),D(S,h,_,L,$)}if(be(L)||pe(L))return S=S.get(_)||null,k(h,S,L,$,null);if(typeof L.then=="function")return D(S,h,_,ru(L),$);if(L.$$typeof===z)return D(S,h,_,Kn(h,L),$);cu(h,L)}return null}function te(S,h,_,L){for(var $=null,ce=null,J=h,P=h=0,Qe=null;J!==null&&P<_.length;P++){J.index>P?(Qe=J,J=null):Qe=J.sibling;var ye=O(S,J,_[P],L);if(ye===null){J===null&&(J=Qe);break}e&&J&&ye.alternate===null&&t(S,J),h=u(ye,h,P),ce===null?$=ye:ce.sibling=ye,ce=ye,J=Qe}if(P===_.length)return l(S,J),he&&Dl(S,P),$;if(J===null){for(;P<_.length;P++)J=H(S,_[P],L),J!==null&&(h=u(J,h,P),ce===null?$=J:ce.sibling=J,ce=J);return he&&Dl(S,P),$}for(J=a(J);P<_.length;P++)Qe=D(J,S,P,_[P],L),Qe!==null&&(e&&Qe.alternate!==null&&J.delete(Qe.key===null?P:Qe.key),h=u(Qe,h,P),ce===null?$=Qe:ce.sibling=Qe,ce=Qe);return e&&J.forEach(function(Sl){return t(S,Sl)}),he&&Dl(S,P),$}function I(S,h,_,L){if(_==null)throw Error(s(151));for(var $=null,ce=null,J=h,P=h=0,Qe=null,ye=_.next();J!==null&&!ye.done;P++,ye=_.next()){J.index>P?(Qe=J,J=null):Qe=J.sibling;var Sl=O(S,J,ye.value,L);if(Sl===null){J===null&&(J=Qe);break}e&&J&&Sl.alternate===null&&t(S,J),h=u(Sl,h,P),ce===null?$=Sl:ce.sibling=Sl,ce=Sl,J=Qe}if(ye.done)return l(S,J),he&&Dl(S,P),$;if(J===null){for(;!ye.done;P++,ye=_.next())ye=H(S,ye.value,L),ye!==null&&(h=u(ye,h,P),ce===null?$=ye:ce.sibling=ye,ce=ye);return he&&Dl(S,P),$}for(J=a(J);!ye.done;P++,ye=_.next())ye=D(J,S,P,ye.value,L),ye!==null&&(e&&ye.alternate!==null&&J.delete(ye.key===null?P:ye.key),h=u(ye,h,P),ce===null?$=ye:ce.sibling=ye,ce=ye);return e&&J.forEach(function(Sy){return t(S,Sy)}),he&&Dl(S,P),$}function Ae(S,h,_,L){if(typeof _=="object"&&_!==null&&_.type===T&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:e:{for(var $=_.key;h!==null;){if(h.key===$){if($=_.type,$===T){if(h.tag===7){l(S,h.sibling),L=n(h,_.props.children),L.return=S,S=L;break e}}else if(h.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===fe&&mo($)===h.type){l(S,h.sibling),L=n(h,_.props),tn(L,_),L.return=S,S=L;break e}l(S,h);break}else t(S,h);h=h.sibling}_.type===T?(L=wl(_.props.children,S.mode,L,_.key),L.return=S,S=L):(L=Xn(_.type,_.key,_.props,null,S.mode,L),tn(L,_),L.return=S,S=L)}return i(S);case V:e:{for($=_.key;h!==null;){if(h.key===$)if(h.tag===4&&h.stateNode.containerInfo===_.containerInfo&&h.stateNode.implementation===_.implementation){l(S,h.sibling),L=n(h,_.children||[]),L.return=S,S=L;break e}else{l(S,h);break}else t(S,h);h=h.sibling}L=Ni(_,S.mode,L),L.return=S,S=L}return i(S);case fe:return $=_._init,_=$(_._payload),Ae(S,h,_,L)}if(be(_))return te(S,h,_,L);if(pe(_)){if($=pe(_),typeof $!="function")throw Error(s(150));return _=$.call(_),I(S,h,_,L)}if(typeof _.then=="function")return Ae(S,h,ru(_),L);if(_.$$typeof===z)return Ae(S,h,Kn(S,_),L);cu(S,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,h!==null&&h.tag===6?(l(S,h.sibling),L=n(h,_),L.return=S,S=L):(l(S,h),L=Ti(_,S.mode,L),L.return=S,S=L),i(S)):l(S,h)}return function(S,h,_,L){try{en=0;var $=Ae(S,h,_,L);return oa=null,$}catch(J){if(J===Qa||J===Jn)throw J;var ce=rt(29,J,null,S.mode);return ce.lanes=L,ce.return=S,ce}finally{}}}var fa=vo(!0),xo=vo(!1),At=q(null),Rt=null;function il(e){var t=e.alternate;X(qe,qe.current&1),X(At,e),Rt===null&&(t===null||ia.current!==null||t.memoizedState!==null)&&(Rt=e)}function So(e){if(e.tag===22){if(X(qe,qe.current),X(At,e),Rt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Rt=e)}}else rl()}function rl(){X(qe,qe.current),X(At,At.current)}function Xt(e){F(At),Rt===e&&(Rt=null),F(qe)}var qe=q(0);function su(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==="$?"||Kr(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 ur(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:v({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var ir={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=ft(),n=al(a);n.payload=t,l!=null&&(n.callback=l),t=nl(e,n,a),t!==null&&(dt(t,e,a),Fa(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=ft(),n=al(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=nl(e,n,a),t!==null&&(dt(t,e,a),Fa(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=ft(),a=al(l);a.tag=2,t!=null&&(a.callback=t),t=nl(e,a,l),t!==null&&(dt(t,e,l),Fa(t,e,l))}};function Eo(e,t,l,a,n,u,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,i):t.prototype&&t.prototype.isPureReactComponent?!La(l,a)||!La(n,u):!0}function Ao(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&&ir.enqueueReplaceState(t,t.state,null)}function Ul(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=v({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}var ou=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 _o(e){ou(e)}function To(e){console.error(e)}function No(e){ou(e)}function fu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function wo(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function rr(e,t,l){return l=al(l),l.tag=3,l.payload={element:null},l.callback=function(){fu(e,t)},l}function Oo(e){return e=al(e),e.tag=3,e}function Do(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){wo(t,l,a)}}var i=l.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){wo(t,l,a),typeof n!="function"&&(gl===null?gl=new Set([this]):gl.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function Sp(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&Ya(t,l,n,!0),l=At.current,l!==null){switch(l.tag){case 13:return Rt===null?Rr():l.alternate===null&&je===0&&(je=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Ui?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),jr(e,a,n)),!1;case 22:return l.flags|=65536,a===Ui?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)),jr(e,a,n)),!1}throw Error(s(435,l.tag))}return jr(e,a,n),Rr(),!1}if(he)return t=At.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Di&&(e=Error(s(422),{cause:a}),Ga(vt(e,l)))):(a!==Di&&(t=Error(s(423),{cause:a}),Ga(vt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=vt(a,l),n=rr(e.stateNode,a,n),Hi(e,n),je!==4&&(je=2)),!1;var u=Error(s(520),{cause:a});if(u=vt(u,l),sn===null?sn=[u]:sn.push(u),je!==4&&(je=2),t===null)return!0;a=vt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=rr(l.stateNode,a,e),Hi(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(gl===null||!gl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Oo(n),Do(n,e,l,a),Hi(l,n),!1}l=l.return}while(l!==null);return!1}var zo=Error(s(461)),Ze=!1;function Ve(e,t,l,a){t.child=e===null?xo(t,null,l,a):fa(t,e.child,l,a)}function Ro(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return jl(t),a=Xi(e,t,l,i,u,n),c=Qi(),e!==null&&!Ze?(Vi(e,t,n),Qt(e,t,n)):(he&&c&&wi(t),t.flags|=1,Ve(e,t,a,n),t.child)}function Mo(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!_i(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,jo(e,t,u,a,n)):(e=Xn(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!yr(e,n)){var i=u.memoizedProps;if(l=l.compare,l=l!==null?l:La,l(i,a)&&e.ref===t.ref)return Qt(e,t,n)}return t.flags|=1,e=Bt(u,a),e.ref=t.ref,e.return=t,t.child=e}function jo(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(La(u,a)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=a=u,yr(e,n))(e.flags&131072)!==0&&(Ze=!0);else return t.lanes=e.lanes,Qt(e,t,n)}return cr(e,t,l,a,n)}function Co(e,t,l){var a=t.pendingProps,n=a.children,u=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=u!==null?u.baseLanes|l:l,e!==null){for(n=t.child=e.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;t.childLanes=u&~a}else t.childLanes=0,t.child=null;return ko(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&$n(t,u!==null?u.cachePool:null),u!==null?Ms(t,u):Gi(),So(t);else return t.lanes=t.childLanes=536870912,ko(e,t,u!==null?u.baseLanes|l:l,l)}else u!==null?($n(t,u.cachePool),Ms(t,u),rl(),t.memoizedState=null):(e!==null&&$n(t,null),Gi(),rl());return Ve(e,t,n,l),t.child}function ko(e,t,l,a){var n=ki();return n=n===null?null:{parent:He._currentValue,pool:n},t.memoizedState={baseLanes:l,cachePool:n},e!==null&&$n(t,null),Gi(),So(t),e!==null&&Ya(e,t,a,!0),null}function du(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(s(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function cr(e,t,l,a,n){return jl(t),l=Xi(e,t,l,a,void 0,n),a=Qi(),e!==null&&!Ze?(Vi(e,t,n),Qt(e,t,n)):(he&&a&&wi(t),t.flags|=1,Ve(e,t,l,n),t.child)}function Uo(e,t,l,a,n,u){return jl(t),t.updateQueue=null,l=Cs(t,a,l,n),js(e),a=Qi(),e!==null&&!Ze?(Vi(e,t,u),Qt(e,t,u)):(he&&a&&wi(t),t.flags|=1,Ve(e,t,l,u),t.child)}function Lo(e,t,l,a,n){if(jl(t),t.stateNode===null){var u=ta,i=l.contextType;typeof i=="object"&&i!==null&&(u=Je(i)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=ir,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Li(t),i=l.contextType,u.context=typeof i=="object"&&i!==null?Je(i):ta,u.state=t.memoizedState,i=l.getDerivedStateFromProps,typeof i=="function"&&(ur(t,l,i,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&ir.enqueueReplaceState(u,u.state,null),$a(t,a,u,n),Ka(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var c=t.memoizedProps,f=Ul(l,c);u.props=f;var N=u.context,k=l.contextType;i=ta,typeof k=="object"&&k!==null&&(i=Je(k));var H=l.getDerivedStateFromProps;k=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c||N!==i)&&Ao(t,u,a,i),ll=!1;var O=t.memoizedState;u.state=O,$a(t,a,u,n),Ka(),N=t.memoizedState,c||O!==N||ll?(typeof H=="function"&&(ur(t,l,H,a),N=t.memoizedState),(f=ll||Eo(t,l,f,a,O,N,i))?(k||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=N),u.props=a,u.state=N,u.context=i,a=f):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Bi(e,t),i=t.memoizedProps,k=Ul(l,i),u.props=k,H=t.pendingProps,O=u.context,N=l.contextType,f=ta,typeof N=="object"&&N!==null&&(f=Je(N)),c=l.getDerivedStateFromProps,(N=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==H||O!==f)&&Ao(t,u,a,f),ll=!1,O=t.memoizedState,u.state=O,$a(t,a,u,n),Ka();var D=t.memoizedState;i!==H||O!==D||ll||e!==null&&e.dependencies!==null&&Fn(e.dependencies)?(typeof c=="function"&&(ur(t,l,c,a),D=t.memoizedState),(k=ll||Eo(t,l,k,a,O,D,f)||e!==null&&e.dependencies!==null&&Fn(e.dependencies))?(N||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,D,f),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,D,f)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=D),u.props=a,u.state=D,u.context=f,a=k):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,du(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=fa(t,e.child,null,n),t.child=fa(t,null,l,n)):Ve(e,t,l,n),t.memoizedState=u.state,e=t.child):e=Qt(e,t,n),e}function Bo(e,t,l,a){return qa(),t.flags|=256,Ve(e,t,l,a),t.child}var sr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function or(e){return{baseLanes:e,cachePool:_s()}}function fr(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=_t),e}function Ho(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,i;if((i=u)||(i=e!==null&&e.memoizedState===null?!1:(qe.current&2)!==0),i&&(n=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(he){if(n?il(t):rl(),he){var c=Me,f;if(f=c){e:{for(f=c,c=zt;f.nodeType!==8;){if(!c){c=null;break e}if(f=Ot(f.nextSibling),f===null){c=null;break e}}c=f}c!==null?(t.memoizedState={dehydrated:c,treeContext:Ol!==null?{id:Ht,overflow:qt}:null,retryLane:536870912,hydrationErrors:null},f=rt(18,null,null,0),f.stateNode=c,f.return=t,t.child=f,Ie=t,Me=null,f=!0):f=!1}f||Rl(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Kr(c)?t.lanes=32:t.lanes=536870912,null;Xt(t)}return c=a.children,a=a.fallback,n?(rl(),n=t.mode,c=gu({mode:"hidden",children:c},n),a=wl(a,n,l,null),c.return=t,a.return=t,c.sibling=a,t.child=c,n=t.child,n.memoizedState=or(l),n.childLanes=fr(e,i,l),t.memoizedState=sr,a):(il(t),dr(t,c))}if(f=e.memoizedState,f!==null&&(c=f.dehydrated,c!==null)){if(u)t.flags&256?(il(t),t.flags&=-257,t=gr(e,t,l)):t.memoizedState!==null?(rl(),t.child=e.child,t.flags|=128,t=null):(rl(),n=a.fallback,c=t.mode,a=gu({mode:"visible",children:a.children},c),n=wl(n,c,l,null),n.flags|=2,a.return=t,n.return=t,a.sibling=n,t.child=a,fa(t,e.child,null,l),a=t.child,a.memoizedState=or(l),a.childLanes=fr(e,i,l),t.memoizedState=sr,t=n);else if(il(t),Kr(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var N=i.dgst;i=N,a=Error(s(419)),a.stack="",a.digest=i,Ga({value:a,source:null,stack:null}),t=gr(e,t,l)}else if(Ze||Ya(e,t,l,!1),i=(l&e.childLanes)!==0,Ze||i){if(i=Oe,i!==null&&(a=l&-l,a=(a&42)!==0?1:$u(a),a=(a&(i.suspendedLanes|l))!==0?0:a,a!==0&&a!==f.retryLane))throw f.retryLane=a,ea(e,a),dt(i,e,a),zo;c.data==="$?"||Rr(),t=gr(e,t,l)}else c.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=f.treeContext,Me=Ot(c.nextSibling),Ie=t,he=!0,zl=null,zt=!1,e!==null&&(St[Et++]=Ht,St[Et++]=qt,St[Et++]=Ol,Ht=e.id,qt=e.overflow,Ol=t),t=dr(t,a.children),t.flags|=4096);return t}return n?(rl(),n=a.fallback,c=t.mode,f=e.child,N=f.sibling,a=Bt(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,N!==null?n=Bt(N,n):(n=wl(n,c,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,a=n,n=t.child,c=e.child.memoizedState,c===null?c=or(l):(f=c.cachePool,f!==null?(N=He._currentValue,f=f.parent!==N?{parent:N,pool:N}:f):f=_s(),c={baseLanes:c.baseLanes|l,cachePool:f}),n.memoizedState=c,n.childLanes=fr(e,i,l),t.memoizedState=sr,a):(il(t),l=e.child,e=l.sibling,l=Bt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=l,t.memoizedState=null,l)}function dr(e,t){return t=gu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function gu(e,t){return e=rt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function gr(e,t,l){return fa(t,e.child,null,l),e=dr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function qo(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Ri(e.return,t,l)}function pr(e,t,l,a,n){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=l,u.tailMode=n)}function Go(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;if(Ve(e,t,a.children,l),a=qe.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&&qo(e,l,t);else if(e.tag===19)qo(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(X(qe,a),n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&su(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),pr(t,!1,n,l,u);break;case"backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&su(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}pr(t,!0,l,null,u);break;case"together":pr(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qt(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),dl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Ya(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,l=Bt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Bt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function yr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Fn(e)))}function Ep(e,t,l){switch(t.tag){case 3:we(t,t.stateNode.containerInfo),tl(t,He,e.memoizedState.cache),qa();break;case 27:case 5:Xu(t);break;case 4:we(t,t.stateNode.containerInfo);break;case 10:tl(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(il(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Ho(e,t,l):(il(t),e=Qt(e,t,l),e!==null?e.sibling:null);il(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(Ya(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Go(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),X(qe,qe.current),a)break;return null;case 22:case 23:return t.lanes=0,Co(e,t,l);case 24:tl(t,He,e.memoizedState.cache)}return Qt(e,t,l)}function Yo(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ze=!0;else{if(!yr(e,l)&&(t.flags&128)===0)return Ze=!1,Ep(e,t,l);Ze=(e.flags&131072)!==0}else Ze=!1,he&&(t.flags&1048576)!==0&&bs(t,Vn,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,n=a._init;if(a=n(a._payload),t.type=a,typeof a=="function")_i(a)?(e=Ul(a,e),t.tag=1,t=Lo(null,t,a,e,l)):(t.tag=0,t=cr(null,t,a,e,l));else{if(a!=null){if(n=a.$$typeof,n===Z){t.tag=11,t=Ro(null,t,a,e,l);break e}else if(n===ne){t.tag=14,t=Mo(null,t,a,e,l);break e}}throw t=Ne(a)||a,Error(s(306,t,""))}}return t;case 0:return cr(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Ul(a,t.pendingProps),Lo(e,t,a,n,l);case 3:e:{if(we(t,t.stateNode.containerInfo),e===null)throw Error(s(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Bi(e,t),$a(t,a,null,l);var i=t.memoizedState;if(a=i.cache,tl(t,He,a),a!==u.cache&&Mi(t,[He],l,!0),Ka(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Bo(e,t,a,l);break e}else if(a!==n){n=vt(Error(s(424)),t),Ga(n),t=Bo(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Me=Ot(e.firstChild),Ie=t,he=!0,zl=null,zt=!0,l=xo(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(qa(),a===n){t=Qt(e,t,l);break e}Ve(e,t,a,l)}t=t.child}return t;case 26:return du(e,t),e===null?(l=Ff(t.type,null,t.pendingProps,null))?t.memoizedState=l:he||(l=t.type,e=t.pendingProps,a=wu(ee.current).createElement(l),a[$e]=t,a[Pe]=e,Ke(a,l,e),Ye(a),t.stateNode=a):t.memoizedState=Ff(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Xu(t),e===null&&he&&(a=t.stateNode=Xf(t.type,t.pendingProps,ee.current),Ie=t,zt=!0,n=Me,hl(t.type)?($r=n,Me=Ot(a.firstChild)):Me=n),Ve(e,t,t.pendingProps.children,l),du(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&he&&((n=a=Me)&&(a=Jp(a,t.type,t.pendingProps,zt),a!==null?(t.stateNode=a,Ie=t,Me=Ot(a.firstChild),zt=!1,n=!0):n=!1),n||Rl(t)),Xu(t),n=t.type,u=t.pendingProps,i=e!==null?e.memoizedProps:null,a=u.children,Qr(n,u)?a=null:i!==null&&Qr(n,i)&&(t.flags|=32),t.memoizedState!==null&&(n=Xi(e,t,pp,null,null,l),mn._currentValue=n),du(e,t),Ve(e,t,a,l),t.child;case 6:return e===null&&he&&((e=l=Me)&&(l=Wp(l,t.pendingProps,zt),l!==null?(t.stateNode=l,Ie=t,Me=null,e=!0):e=!1),e||Rl(t)),null;case 13:return Ho(e,t,l);case 4:return we(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=fa(t,null,a,l):Ve(e,t,a,l),t.child;case 11:return Ro(e,t,t.type,t.pendingProps,l);case 7:return Ve(e,t,t.pendingProps,l),t.child;case 8:return Ve(e,t,t.pendingProps.children,l),t.child;case 12:return Ve(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,tl(t,t.type,a.value),Ve(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,jl(t),n=Je(n),a=a(n),t.flags|=1,Ve(e,t,a,l),t.child;case 14:return Mo(e,t,t.type,t.pendingProps,l);case 15:return jo(e,t,t.type,t.pendingProps,l);case 19:return Go(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=gu(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=Bt(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return Co(e,t,l);case 24:return jl(t),a=Je(He),e===null?(n=ki(),n===null&&(n=Oe,u=ji(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},Li(t),tl(t,He,n)):((e.lanes&l)!==0&&(Bi(e,t),$a(t,null,null,l),Ka()),n=e.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),tl(t,He,a)):(a=u.cache,tl(t,He,a),a!==n.cache&&Mi(t,[He],l,!0))),Ve(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Vt(e){e.flags|=4}function Zo(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!If(t)){if(t=At.current,t!==null&&((ge&4194048)===ge?Rt!==null:(ge&62914560)!==ge&&(ge&536870912)===0||t!==Rt))throw Va=Ui,Ts;e.flags|=8192}}function pu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xc():536870912,e.lanes|=t,ya|=t)}function ln(e,t){if(!he)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 Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Ap(e,t,l){var a=t.pendingProps;switch(Oi(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return Re(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Yt(He),ht(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ha(t)?Vt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,xs())),Re(t),null;case 26:return l=t.memoizedState,e===null?(Vt(t),l!==null?(Re(t),Zo(t,l)):(Re(t),t.flags&=-16777217)):l?l!==e.memoizedState?(Vt(t),Re(t),Zo(t,l)):(Re(t),t.flags&=-16777217):(e.memoizedProps!==a&&Vt(t),Re(t),t.flags&=-16777217),null;case 27:Tn(t),l=ee.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return Re(t),null}e=W.current,Ha(t)?ms(t):(e=Xf(n,a,l),t.stateNode=e,Vt(t))}return Re(t),null;case 5:if(Tn(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Vt(t);else{if(!a){if(t.stateNode===null)throw Error(s(166));return Re(t),null}if(e=W.current,Ha(t))ms(t);else{switch(n=wu(ee.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}e[$e]=t,e[Pe]=a;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=e;e:switch(Ke(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&&Vt(t)}}return Re(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Vt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(s(166));if(e=ee.current,Ha(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=Ie,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[$e]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Lf(e.nodeValue,l)),e||Rl(t)}else e=wu(e).createTextNode(a),e[$e]=t,t.stateNode=e}return Re(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ha(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(s(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[$e]=t}else qa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Re(t),n=!1}else n=xs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Xt(t),t):(Xt(t),null)}if(Xt(t),(t.flags&128)!==0)return t.lanes=l,t;if(l=a!==null,e=e!==null&&e.memoizedState!==null,l){a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return l!==e&&l&&(t.child.flags|=8192),pu(t,t.updateQueue),Re(t),null;case 4:return ht(),e===null&&qr(t.stateNode.containerInfo),Re(t),null;case 10:return Yt(t.type),Re(t),null;case 19:if(F(qe),n=t.memoizedState,n===null)return Re(t),null;if(a=(t.flags&128)!==0,u=n.rendering,u===null)if(a)ln(n,!1);else{if(je!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=su(e),u!==null){for(t.flags|=128,ln(n,!1),e=u.updateQueue,t.updateQueue=e,pu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)hs(l,e),l=l.sibling;return X(qe,qe.current&1|2),t.child}e=e.sibling}n.tail!==null&&Dt()>bu&&(t.flags|=128,a=!0,ln(n,!1),t.lanes=4194304)}else{if(!a)if(e=su(u),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,pu(t,e),ln(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!he)return Re(t),null}else 2*Dt()-n.renderingStartTime>bu&&l!==536870912&&(t.flags|=128,a=!0,ln(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(e=n.last,e!==null?e.sibling=u:t.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Dt(),t.sibling=null,e=qe.current,X(qe,a?e&1|2:e&1),t):(Re(t),null);case 22:case 23:return Xt(t),Yi(),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&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),l=t.updateQueue,l!==null&&pu(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(Cl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Yt(He),Re(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function _p(e,t){switch(Oi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yt(He),ht(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Tn(t),null;case 13:if(Xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));qa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(qe),null;case 4:return ht(),null;case 10:return Yt(t.type),null;case 22:case 23:return Xt(t),Yi(),e!==null&&F(Cl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Yt(He),null;case 25:return null;default:return null}}function Xo(e,t){switch(Oi(t),t.tag){case 3:Yt(He),ht();break;case 26:case 27:case 5:Tn(t);break;case 4:ht();break;case 13:Xt(t);break;case 19:F(qe);break;case 10:Yt(t.type);break;case 22:case 23:Xt(t),Yi(),e!==null&&F(Cl);break;case 24:Yt(He)}}function an(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,i=l.inst;a=u(),i.destroy=a}l=l.next}while(l!==n)}}catch(c){Te(t,t.return,c)}}function cl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,n=t;var f=l,N=c;try{N()}catch(k){Te(n,f,k)}}}a=a.next}while(a!==u)}}catch(k){Te(t,t.return,k)}}function Qo(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Rs(t,l)}catch(a){Te(e,e.return,a)}}}function Vo(e,t,l){l.props=Ul(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Te(e,t,a)}}function nn(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(n){Te(e,t,n)}}function Mt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Te(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Te(e,t,n)}else l.current=null}function Fo(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(n){Te(e,e.return,n)}}function hr(e,t,l){try{var a=e.stateNode;Qp(a,e.type,l,t),a[Pe]=t}catch(n){Te(e,e.return,n)}}function Ko(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&hl(e.type)||e.tag===4}function br(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ko(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&&hl(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 mr(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=Nu));else if(a!==4&&(a===27&&hl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(mr(e,t,l),e=e.sibling;e!==null;)mr(e,t,l),e=e.sibling}function yu(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&&hl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(yu(e,t,l),e=e.sibling;e!==null;)yu(e,t,l),e=e.sibling}function $o(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Ke(t,a,l),t[$e]=e,t[Pe]=l}catch(u){Te(e,e.return,u)}}var Ft=!1,ke=!1,vr=!1,Jo=typeof WeakSet=="function"?WeakSet:Set,Xe=null;function Tp(e,t){if(e=e.containerInfo,Zr=ju,e=is(e),bi(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 n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var i=0,c=-1,f=-1,N=0,k=0,H=e,O=null;t:for(;;){for(var D;H!==l||n!==0&&H.nodeType!==3||(c=i+n),H!==u||a!==0&&H.nodeType!==3||(f=i+a),H.nodeType===3&&(i+=H.nodeValue.length),(D=H.firstChild)!==null;)O=H,H=D;for(;;){if(H===e)break t;if(O===l&&++N===n&&(c=i),O===u&&++k===a&&(f=i),(D=H.nextSibling)!==null)break;H=O,O=H.parentNode}H=D}l=c===-1||f===-1?null:{start:c,end:f}}else l=null}l=l||{start:0,end:0}}else l=null;for(Xr={focusedElem:e,selectionRange:l},ju=!1,Xe=t;Xe!==null;)if(t=Xe,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Xe=e;else for(;Xe!==null;){switch(t=Xe,u=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var te=Ul(l.type,n,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(te,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(I){Te(l,l.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Fr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Fr(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(s(163))}if(e=t.sibling,e!==null){e.return=t.return,Xe=e;break}Xe=t.return}}function Wo(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:sl(e,l),a&4&&an(5,l);break;case 1:if(sl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(i){Te(l,l.return,i)}else{var n=Ul(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Te(l,l.return,i)}}a&64&&Qo(l),a&512&&nn(l,l.return);break;case 3:if(sl(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{Rs(e,t)}catch(i){Te(l,l.return,i)}}break;case 27:t===null&&a&4&&$o(l);case 26:case 5:sl(e,l),t===null&&a&4&&Fo(l),a&512&&nn(l,l.return);break;case 12:sl(e,l);break;case 13:sl(e,l),a&4&&ef(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Cp.bind(null,l),Ip(e,l))));break;case 22:if(a=l.memoizedState!==null||Ft,!a){t=t!==null&&t.memoizedState!==null||ke,n=Ft;var u=ke;Ft=a,(ke=t)&&!u?ol(e,l,(l.subtreeFlags&8772)!==0):sl(e,l),Ft=n,ke=u}break;case 30:break;default:sl(e,l)}}function Io(e){var t=e.alternate;t!==null&&(e.alternate=null,Io(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Iu(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 ze=null,lt=!1;function Kt(e,t,l){for(l=l.child;l!==null;)Po(e,t,l),l=l.sibling}function Po(e,t,l){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(Ta,l)}catch{}switch(l.tag){case 26:ke||Mt(l,t),Kt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ke||Mt(l,t);var a=ze,n=lt;hl(l.type)&&(ze=l.stateNode,lt=!1),Kt(e,t,l),pn(l.stateNode),ze=a,lt=n;break;case 5:ke||Mt(l,t);case 6:if(a=ze,n=lt,ze=null,Kt(e,t,l),ze=a,lt=n,ze!==null)if(lt)try{(ze.nodeType===9?ze.body:ze.nodeName==="HTML"?ze.ownerDocument.body:ze).removeChild(l.stateNode)}catch(u){Te(l,t,u)}else try{ze.removeChild(l.stateNode)}catch(u){Te(l,t,u)}break;case 18:ze!==null&&(lt?(e=ze,Yf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),En(e)):Yf(ze,l.stateNode));break;case 4:a=ze,n=lt,ze=l.stateNode.containerInfo,lt=!0,Kt(e,t,l),ze=a,lt=n;break;case 0:case 11:case 14:case 15:ke||cl(2,l,t),ke||cl(4,l,t),Kt(e,t,l);break;case 1:ke||(Mt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Vo(l,t,a)),Kt(e,t,l);break;case 21:Kt(e,t,l);break;case 22:ke=(a=ke)||l.memoizedState!==null,Kt(e,t,l),ke=a;break;default:Kt(e,t,l)}}function ef(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{En(e)}catch(l){Te(t,t.return,l)}}function Np(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Jo),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Jo),t;default:throw Error(s(435,e.tag))}}function xr(e,t){var l=Np(e);t.forEach(function(a){var n=kp.bind(null,e,a);l.has(a)||(l.add(a),a.then(n,n))})}function ct(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,i=t,c=i;e:for(;c!==null;){switch(c.tag){case 27:if(hl(c.type)){ze=c.stateNode,lt=!1;break e}break;case 5:ze=c.stateNode,lt=!1;break e;case 3:case 4:ze=c.stateNode.containerInfo,lt=!0;break e}c=c.return}if(ze===null)throw Error(s(160));Po(u,i,n),ze=null,lt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)tf(t,e),t=t.sibling}var wt=null;function tf(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ct(t,e),st(e),a&4&&(cl(3,e,e.return),an(3,e),cl(5,e,e.return));break;case 1:ct(t,e),st(e),a&512&&(ke||l===null||Mt(l,l.return)),a&64&&Ft&&(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 n=wt;if(ct(t,e),st(e),a&512&&(ke||l===null||Mt(l,l.return)),a&4){var u=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,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Oa]||u[$e]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Ke(u,a,l),u[$e]=e,Ye(u),a=u;break e;case"link":var i=Jf("link","href",n).get(a+(l.href||""));if(i){for(var c=0;c<i.length;c++)if(u=i[c],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){i.splice(c,1);break t}}u=n.createElement(a),Ke(u,a,l),n.head.appendChild(u);break;case"meta":if(i=Jf("meta","content",n).get(a+(l.content||""))){for(c=0;c<i.length;c++)if(u=i[c],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){i.splice(c,1);break t}}u=n.createElement(a),Ke(u,a,l),n.head.appendChild(u);break;default:throw Error(s(468,a))}u[$e]=e,Ye(u),a=u}e.stateNode=a}else Wf(n,e.type,e.stateNode);else e.stateNode=$f(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Wf(n,e.type,e.stateNode):$f(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&hr(e,e.memoizedProps,l.memoizedProps)}break;case 27:ct(t,e),st(e),a&512&&(ke||l===null||Mt(l,l.return)),l!==null&&a&4&&hr(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ct(t,e),st(e),a&512&&(ke||l===null||Mt(l,l.return)),e.flags&32){n=e.stateNode;try{Fl(n,"")}catch(D){Te(e,e.return,D)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,hr(e,n,l!==null?l.memoizedProps:n)),a&1024&&(vr=!0);break;case 6:if(ct(t,e),st(e),a&4){if(e.stateNode===null)throw Error(s(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(D){Te(e,e.return,D)}}break;case 3:if(zu=null,n=wt,wt=Ou(t.containerInfo),ct(t,e),wt=n,st(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{En(t.containerInfo)}catch(D){Te(e,e.return,D)}vr&&(vr=!1,lf(e));break;case 4:a=wt,wt=Ou(e.stateNode.containerInfo),ct(t,e),st(e),wt=a;break;case 12:ct(t,e),st(e);break;case 13:ct(t,e),st(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Nr=Dt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xr(e,a)));break;case 22:n=e.memoizedState!==null;var f=l!==null&&l.memoizedState!==null,N=Ft,k=ke;if(Ft=N||n,ke=k||f,ct(t,e),ke=k,Ft=N,st(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||f||Ft||ke||Ll(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){f=l=t;try{if(u=f.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=f.stateNode;var H=f.memoizedProps.style,O=H!=null&&H.hasOwnProperty("display")?H.display:null;c.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(D){Te(f,f.return,D)}}}else if(t.tag===6){if(l===null){f=t;try{f.stateNode.nodeValue=n?"":f.memoizedProps}catch(D){Te(f,f.return,D)}}}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,xr(e,l))));break;case 19:ct(t,e),st(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xr(e,a)));break;case 30:break;case 21:break;default:ct(t,e),st(e)}}function st(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Ko(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,u=br(e);yu(e,u,n);break;case 5:var i=l.stateNode;l.flags&32&&(Fl(i,""),l.flags&=-33);var c=br(e);yu(e,c,i);break;case 3:case 4:var f=l.stateNode.containerInfo,N=br(e);mr(e,N,f);break;default:throw Error(s(161))}}catch(k){Te(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function lf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;lf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function sl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wo(e,t.alternate,t),t=t.sibling}function Ll(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cl(4,t,t.return),Ll(t);break;case 1:Mt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Vo(t,t.return,l),Ll(t);break;case 27:pn(t.stateNode);case 26:case 5:Mt(t,t.return),Ll(t);break;case 22:t.memoizedState===null&&Ll(t);break;case 30:Ll(t);break;default:Ll(t)}e=e.sibling}}function ol(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,i=u.flags;switch(u.tag){case 0:case 11:case 15:ol(n,u,l),an(4,u);break;case 1:if(ol(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(N){Te(a,a.return,N)}if(a=u,n=a.updateQueue,n!==null){var c=a.stateNode;try{var f=n.shared.hiddenCallbacks;if(f!==null)for(n.shared.hiddenCallbacks=null,n=0;n<f.length;n++)zs(f[n],c)}catch(N){Te(a,a.return,N)}}l&&i&64&&Qo(u),nn(u,u.return);break;case 27:$o(u);case 26:case 5:ol(n,u,l),l&&a===null&&i&4&&Fo(u),nn(u,u.return);break;case 12:ol(n,u,l);break;case 13:ol(n,u,l),l&&i&4&&ef(n,u);break;case 22:u.memoizedState===null&&ol(n,u,l),nn(u,u.return);break;case 30:break;default:ol(n,u,l)}t=t.sibling}}function Sr(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&&Za(l))}function Er(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Za(e))}function jt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)af(e,t,l,a),t=t.sibling}function af(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:jt(e,t,l,a),n&2048&&an(9,t);break;case 1:jt(e,t,l,a);break;case 3:jt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Za(e)));break;case 12:if(n&2048){jt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,i=u.id,c=u.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(f){Te(t,t.return,f)}}else jt(e,t,l,a);break;case 13:jt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,i=t.alternate,t.memoizedState!==null?u._visibility&2?jt(e,t,l,a):un(e,t):u._visibility&2?jt(e,t,l,a):(u._visibility|=2,da(e,t,l,a,(t.subtreeFlags&10256)!==0)),n&2048&&Sr(i,t);break;case 24:jt(e,t,l,a),n&2048&&Er(t.alternate,t);break;default:jt(e,t,l,a)}}function da(e,t,l,a,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=e,i=t,c=l,f=a,N=i.flags;switch(i.tag){case 0:case 11:case 15:da(u,i,c,f,n),an(8,i);break;case 23:break;case 22:var k=i.stateNode;i.memoizedState!==null?k._visibility&2?da(u,i,c,f,n):un(u,i):(k._visibility|=2,da(u,i,c,f,n)),n&&N&2048&&Sr(i.alternate,i);break;case 24:da(u,i,c,f,n),n&&N&2048&&Er(i.alternate,i);break;default:da(u,i,c,f,n)}t=t.sibling}}function un(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:un(l,a),n&2048&&Sr(a.alternate,a);break;case 24:un(l,a),n&2048&&Er(a.alternate,a);break;default:un(l,a)}t=t.sibling}}var rn=8192;function ga(e){if(e.subtreeFlags&rn)for(e=e.child;e!==null;)nf(e),e=e.sibling}function nf(e){switch(e.tag){case 26:ga(e),e.flags&rn&&e.memoizedState!==null&&fy(wt,e.memoizedState,e.memoizedProps);break;case 5:ga(e);break;case 3:case 4:var t=wt;wt=Ou(e.stateNode.containerInfo),ga(e),wt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=rn,rn=16777216,ga(e),rn=t):ga(e));break;default:ga(e)}}function uf(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 cn(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];Xe=a,cf(a,e)}uf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rf(e),e=e.sibling}function rf(e){switch(e.tag){case 0:case 11:case 15:cn(e),e.flags&2048&&cl(9,e,e.return);break;case 3:cn(e);break;case 12:cn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,hu(e)):cn(e);break;default:cn(e)}}function hu(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];Xe=a,cf(a,e)}uf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:cl(8,t,t.return),hu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,hu(t));break;default:hu(t)}e=e.sibling}}function cf(e,t){for(;Xe!==null;){var l=Xe;switch(l.tag){case 0:case 11:case 15:cl(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:Za(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Xe=a;else e:for(l=e;Xe!==null;){a=Xe;var n=a.sibling,u=a.return;if(Io(a),a===l){Xe=null;break e}if(n!==null){n.return=u,Xe=n;break e}Xe=u}}}var wp={getCacheForType:function(e){var t=Je(He),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},Op=typeof WeakMap=="function"?WeakMap:Map,ve=0,Oe=null,se=null,ge=0,xe=0,ot=null,fl=!1,pa=!1,Ar=!1,$t=0,je=0,dl=0,Bl=0,_r=0,_t=0,ya=0,sn=null,at=null,Tr=!1,Nr=0,bu=1/0,mu=null,gl=null,Fe=0,pl=null,ha=null,ba=0,wr=0,Or=null,sf=null,on=0,Dr=null;function ft(){if((ve&2)!==0&&ge!==0)return ge&-ge;if(E.T!==null){var e=na;return e!==0?e:Ur()}return Ac()}function of(){_t===0&&(_t=(ge&536870912)===0||he?vc():536870912);var e=At.current;return e!==null&&(e.flags|=32),_t}function dt(e,t,l){(e===Oe&&(xe===2||xe===9)||e.cancelPendingCommit!==null)&&(ma(e,0),yl(e,ge,_t,!1)),wa(e,l),((ve&2)===0||e!==Oe)&&(e===Oe&&((ve&2)===0&&(Bl|=l),je===4&&yl(e,ge,_t,!1)),Ct(e))}function ff(e,t,l){if((ve&6)!==0)throw Error(s(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Na(e,t),n=a?Rp(e,t):Mr(e,t,!0),u=a;do{if(n===0){pa&&!a&&yl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!Dp(l)){n=Mr(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var c=e;n=sn;var f=c.current.memoizedState.isDehydrated;if(f&&(ma(c,i).flags|=256),i=Mr(c,i,!1),i!==2){if(Ar&&!f){c.errorRecoveryDisabledLanes|=u,Bl|=u,n=4;break e}u=at,at=n,u!==null&&(at===null?at=u:at.push.apply(at,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){ma(e,0),yl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:yl(a,t,_t,!fl);break e;case 2:at=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(n=Nr+300-Dt(),10<n)){if(yl(a,t,_t,!fl),Dn(a,0,!0)!==0)break e;a.timeoutHandle=qf(df.bind(null,a,l,at,mu,Tr,t,_t,Bl,ya,fl,u,2,-0,0),n);break e}df(a,l,at,mu,Tr,t,_t,Bl,ya,fl,u,0,-0,0)}}break}while(!0);Ct(e)}function df(e,t,l,a,n,u,i,c,f,N,k,H,O,D){if(e.timeoutHandle=-1,H=t.subtreeFlags,(H&8192||(H&16785408)===16785408)&&(bn={stylesheets:null,count:0,unsuspend:oy},nf(t),H=dy(),H!==null)){e.cancelPendingCommit=H(vf.bind(null,e,t,u,l,a,n,i,c,f,k,1,O,D)),yl(e,u,i,!N);return}vf(e,t,u,l,a,n,i,c,f)}function Dp(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 n=l[a],u=n.getSnapshot;n=n.value;try{if(!it(u(),n))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 yl(e,t,l,a){t&=~_r,t&=~Bl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-ut(n),i=1<<u;a[u]=-1,n&=~i}l!==0&&Sc(e,l,t)}function vu(){return(ve&6)===0?(fn(0),!1):!0}function zr(){if(se!==null){if(xe===0)var e=se.return;else e=se,Gt=Ml=null,Fi(e),oa=null,en=0,e=se;for(;e!==null;)Xo(e.alternate,e),e=e.return;se=null}}function ma(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Fp(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),zr(),Oe=e,se=l=Bt(e.current,null),ge=t,xe=0,ot=null,fl=!1,pa=Na(e,t),Ar=!1,ya=_t=_r=Bl=dl=je=0,at=sn=null,Tr=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ut(a),u=1<<n;t|=e[n],a&=~u}return $t=t,Gn(),l}function gf(e,t){re=null,E.H=iu,t===Qa||t===Jn?(t=Os(),xe=3):t===Ts?(t=Os(),xe=4):xe=t===zo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,ot=t,se===null&&(je=1,fu(e,vt(t,e.current)))}function pf(){var e=E.H;return E.H=iu,e===null?iu:e}function yf(){var e=E.A;return E.A=wp,e}function Rr(){je=4,fl||(ge&4194048)!==ge&&At.current!==null||(pa=!0),(dl&134217727)===0&&(Bl&134217727)===0||Oe===null||yl(Oe,ge,_t,!1)}function Mr(e,t,l){var a=ve;ve|=2;var n=pf(),u=yf();(Oe!==e||ge!==t)&&(mu=null,ma(e,t)),t=!1;var i=je;e:do try{if(xe!==0&&se!==null){var c=se,f=ot;switch(xe){case 8:zr(),i=6;break e;case 3:case 2:case 9:case 6:At.current===null&&(t=!0);var N=xe;if(xe=0,ot=null,va(e,c,f,N),l&&pa){i=0;break e}break;default:N=xe,xe=0,ot=null,va(e,c,f,N)}}zp(),i=je;break}catch(k){gf(e,k)}while(!0);return t&&e.shellSuspendCounter++,Gt=Ml=null,ve=a,E.H=n,E.A=u,se===null&&(Oe=null,ge=0,Gn()),i}function zp(){for(;se!==null;)hf(se)}function Rp(e,t){var l=ve;ve|=2;var a=pf(),n=yf();Oe!==e||ge!==t?(mu=null,bu=Dt()+500,ma(e,t)):pa=Na(e,t);e:do try{if(xe!==0&&se!==null){t=se;var u=ot;t:switch(xe){case 1:xe=0,ot=null,va(e,t,u,1);break;case 2:case 9:if(Ns(u)){xe=0,ot=null,bf(t);break}t=function(){xe!==2&&xe!==9||Oe!==e||(xe=7),Ct(e)},u.then(t,t);break e;case 3:xe=7;break e;case 4:xe=5;break e;case 7:Ns(u)?(xe=0,ot=null,bf(t)):(xe=0,ot=null,va(e,t,u,7));break;case 5:var i=null;switch(se.tag){case 26:i=se.memoizedState;case 5:case 27:var c=se;if(!i||If(i)){xe=0,ot=null;var f=c.sibling;if(f!==null)se=f;else{var N=c.return;N!==null?(se=N,xu(N)):se=null}break t}}xe=0,ot=null,va(e,t,u,5);break;case 6:xe=0,ot=null,va(e,t,u,6);break;case 8:zr(),je=6;break e;default:throw Error(s(462))}}Mp();break}catch(k){gf(e,k)}while(!0);return Gt=Ml=null,E.H=a,E.A=n,ve=l,se!==null?0:(Oe=null,ge=0,Gn(),je)}function Mp(){for(;se!==null&&!eg();)hf(se)}function hf(e){var t=Yo(e.alternate,e,$t);e.memoizedProps=e.pendingProps,t===null?xu(e):se=t}function bf(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Uo(l,t,t.pendingProps,t.type,void 0,ge);break;case 11:t=Uo(l,t,t.pendingProps,t.type.render,t.ref,ge);break;case 5:Fi(t);default:Xo(l,t),t=se=hs(t,$t),t=Yo(l,t,$t)}e.memoizedProps=e.pendingProps,t===null?xu(e):se=t}function va(e,t,l,a){Gt=Ml=null,Fi(t),oa=null,en=0;var n=t.return;try{if(Sp(e,n,t,l,ge)){je=1,fu(e,vt(l,e.current)),se=null;return}}catch(u){if(n!==null)throw se=n,u;je=1,fu(e,vt(l,e.current)),se=null;return}t.flags&32768?(he||a===1?e=!0:pa||(ge&536870912)!==0?e=!1:(fl=e=!0,(a===2||a===9||a===3||a===6)&&(a=At.current,a!==null&&a.tag===13&&(a.flags|=16384))),mf(t,e)):xu(t)}function xu(e){var t=e;do{if((t.flags&32768)!==0){mf(t,fl);return}e=t.return;var l=Ap(t.alternate,t,$t);if(l!==null){se=l;return}if(t=t.sibling,t!==null){se=t;return}se=t=e}while(t!==null);je===0&&(je=5)}function mf(e,t){do{var l=_p(e.alternate,e);if(l!==null){l.flags&=32767,se=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){se=e;return}se=e=l}while(e!==null);je=6,se=null}function vf(e,t,l,a,n,u,i,c,f){e.cancelPendingCommit=null;do Su();while(Fe!==0);if((ve&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=Ei,og(e,l,u,i,c,f),e===Oe&&(se=Oe=null,ge=0),ha=t,pl=e,ba=l,wr=u,Or=n,sf=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Up(Nn,function(){return _f(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=E.T,E.T=null,n=G.p,G.p=2,i=ve,ve|=4;try{Tp(e,t,l)}finally{ve=i,G.p=n,E.T=a}}Fe=1,xf(),Sf(),Ef()}}function xf(){if(Fe===1){Fe=0;var e=pl,t=ha,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=E.T,E.T=null;var a=G.p;G.p=2;var n=ve;ve|=4;try{tf(t,e);var u=Xr,i=is(e.containerInfo),c=u.focusedElem,f=u.selectionRange;if(i!==c&&c&&c.ownerDocument&&us(c.ownerDocument.documentElement,c)){if(f!==null&&bi(c)){var N=f.start,k=f.end;if(k===void 0&&(k=N),"selectionStart"in c)c.selectionStart=N,c.selectionEnd=Math.min(k,c.value.length);else{var H=c.ownerDocument||document,O=H&&H.defaultView||window;if(O.getSelection){var D=O.getSelection(),te=c.textContent.length,I=Math.min(f.start,te),Ae=f.end===void 0?I:Math.min(f.end,te);!D.extend&&I>Ae&&(i=Ae,Ae=I,I=i);var S=ns(c,I),h=ns(c,Ae);if(S&&h&&(D.rangeCount!==1||D.anchorNode!==S.node||D.anchorOffset!==S.offset||D.focusNode!==h.node||D.focusOffset!==h.offset)){var _=H.createRange();_.setStart(S.node,S.offset),D.removeAllRanges(),I>Ae?(D.addRange(_),D.extend(h.node,h.offset)):(_.setEnd(h.node,h.offset),D.addRange(_))}}}}for(H=[],D=c;D=D.parentNode;)D.nodeType===1&&H.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<H.length;c++){var L=H[c];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}ju=!!Zr,Xr=Zr=null}finally{ve=n,G.p=a,E.T=l}}e.current=t,Fe=2}}function Sf(){if(Fe===2){Fe=0;var e=pl,t=ha,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=E.T,E.T=null;var a=G.p;G.p=2;var n=ve;ve|=4;try{Wo(e,t.alternate,t)}finally{ve=n,G.p=a,E.T=l}}Fe=3}}function Ef(){if(Fe===4||Fe===3){Fe=0,tg();var e=pl,t=ha,l=ba,a=sf;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Fe=5:(Fe=0,ha=pl=null,Af(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(gl=null),Ju(l),t=t.stateNode,nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(Ta,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=E.T,n=G.p,G.p=2,E.T=null;try{for(var u=e.onRecoverableError,i=0;i<a.length;i++){var c=a[i];u(c.value,{componentStack:c.stack})}}finally{E.T=t,G.p=n}}(ba&3)!==0&&Su(),Ct(e),n=e.pendingLanes,(l&4194090)!==0&&(n&42)!==0?e===Dr?on++:(on=0,Dr=e):on=0,fn(0)}}function Af(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Za(t)))}function Su(e){return xf(),Sf(),Ef(),_f()}function _f(){if(Fe!==5)return!1;var e=pl,t=wr;wr=0;var l=Ju(ba),a=E.T,n=G.p;try{G.p=32>l?32:l,E.T=null,l=Or,Or=null;var u=pl,i=ba;if(Fe=0,ha=pl=null,ba=0,(ve&6)!==0)throw Error(s(331));var c=ve;if(ve|=4,rf(u.current),af(u,u.current,i,l),ve=c,fn(0,!1),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(Ta,u)}catch{}return!0}finally{G.p=n,E.T=a,Af(e,t)}}function Tf(e,t,l){t=vt(l,t),t=rr(e.stateNode,t,2),e=nl(e,t,2),e!==null&&(wa(e,2),Ct(e))}function Te(e,t,l){if(e.tag===3)Tf(e,e,l);else for(;t!==null;){if(t.tag===3){Tf(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(gl===null||!gl.has(a))){e=vt(l,e),l=Oo(2),a=nl(t,l,2),a!==null&&(Do(l,a,t,e),wa(a,2),Ct(a));break}}t=t.return}}function jr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Op;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Ar=!0,n.add(l),e=jp.bind(null,e,t,l),t.then(e,e))}function jp(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Oe===e&&(ge&l)===l&&(je===4||je===3&&(ge&62914560)===ge&&300>Dt()-Nr?(ve&2)===0&&ma(e,0):_r|=l,ya===ge&&(ya=0)),Ct(e)}function Nf(e,t){t===0&&(t=xc()),e=ea(e,t),e!==null&&(wa(e,t),Ct(e))}function Cp(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Nf(e,l)}function kp(e,t){var l=0;switch(e.tag){case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(t),Nf(e,l)}function Up(e,t){return Vu(e,t)}var Eu=null,xa=null,Cr=!1,Au=!1,kr=!1,Hl=0;function Ct(e){e!==xa&&e.next===null&&(xa===null?Eu=xa=e:xa=xa.next=e),Au=!0,Cr||(Cr=!0,Bp())}function fn(e,t){if(!kr&&Au){kr=!0;do for(var l=!1,a=Eu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,c=a.pingedLanes;u=(1<<31-ut(42|e)+1)-1,u&=n&~(i&~c),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,zf(a,u))}else u=ge,u=Dn(a,a===Oe?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Na(a,u)||(l=!0,zf(a,u));a=a.next}while(l);kr=!1}}function Lp(){wf()}function wf(){Au=Cr=!1;var e=0;Hl!==0&&(Vp()&&(e=Hl),Hl=0);for(var t=Dt(),l=null,a=Eu;a!==null;){var n=a.next,u=Of(a,t);u===0?(a.next=null,l===null?Eu=n:l.next=n,n===null&&(xa=l)):(l=a,(e!==0||(u&3)!==0)&&(Au=!0)),a=n}fn(e)}function Of(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var i=31-ut(u),c=1<<i,f=n[i];f===-1?((c&l)===0||(c&a)!==0)&&(n[i]=sg(c,t)):f<=t&&(e.expiredLanes|=c),u&=~c}if(t=Oe,l=ge,l=Dn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(xe===2||xe===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Fu(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Na(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Fu(a),Ju(l)){case 2:case 8:l=bc;break;case 32:l=Nn;break;case 268435456:l=mc;break;default:l=Nn}return a=Df.bind(null,e),l=Vu(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Fu(a),e.callbackPriority=2,e.callbackNode=null,2}function Df(e,t){if(Fe!==0&&Fe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Su()&&e.callbackNode!==l)return null;var a=ge;return a=Dn(e,e===Oe?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(ff(e,a,t),Of(e,Dt()),e.callbackNode!=null&&e.callbackNode===l?Df.bind(null,e):null)}function zf(e,t){if(Su())return null;ff(e,t,!0)}function Bp(){Kp(function(){(ve&6)!==0?Vu(hc,Lp):wf()})}function Ur(){return Hl===0&&(Hl=vc()),Hl}function Rf(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Cn(""+e)}function Mf(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 Hp(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=Rf((n[Pe]||null).action),i=a.submitter;i&&(t=(t=i[Pe]||null)?Rf(t.formAction):i.getAttribute("formAction"),t!==null&&(u=t,i=null));var c=new Bn("action","action",null,a,n);e.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Hl!==0){var f=i?Mf(n,i):new FormData(n);lr(l,{pending:!0,data:f,method:n.method,action:u},null,f)}}else typeof u=="function"&&(c.preventDefault(),f=i?Mf(n,i):new FormData(n),lr(l,{pending:!0,data:f,method:n.method,action:u},u,f))},currentTarget:n}]})}}for(var Lr=0;Lr<Si.length;Lr++){var Br=Si[Lr],qp=Br.toLowerCase(),Gp=Br[0].toUpperCase()+Br.slice(1);Nt(qp,"on"+Gp)}Nt(ss,"onAnimationEnd"),Nt(os,"onAnimationIteration"),Nt(fs,"onAnimationStart"),Nt("dblclick","onDoubleClick"),Nt("focusin","onFocus"),Nt("focusout","onBlur"),Nt(np,"onTransitionRun"),Nt(up,"onTransitionStart"),Nt(ip,"onTransitionCancel"),Nt(ds,"onTransitionEnd"),Xl("onMouseEnter",["mouseout","mouseover"]),Xl("onMouseLeave",["mouseout","mouseover"]),Xl("onPointerEnter",["pointerout","pointerover"]),Xl("onPointerLeave",["pointerout","pointerover"]),Al("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Al("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Al("onBeforeInput",["compositionend","keypress","textInput","paste"]),Al("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Al("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Al("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dn="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(" "),Yp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dn));function jf(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var i=a.length-1;0<=i;i--){var c=a[i],f=c.instance,N=c.currentTarget;if(c=c.listener,f!==u&&n.isPropagationStopped())break e;u=c,n.currentTarget=N;try{u(n)}catch(k){ou(k)}n.currentTarget=null,u=f}else for(i=0;i<a.length;i++){if(c=a[i],f=c.instance,N=c.currentTarget,c=c.listener,f!==u&&n.isPropagationStopped())break e;u=c,n.currentTarget=N;try{u(n)}catch(k){ou(k)}n.currentTarget=null,u=f}}}}function oe(e,t){var l=t[Wu];l===void 0&&(l=t[Wu]=new Set);var a=e+"__bubble";l.has(a)||(Cf(t,e,2,!1),l.add(a))}function Hr(e,t,l){var a=0;t&&(a|=4),Cf(l,e,a,t)}var _u="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[_u]){e[_u]=!0,Tc.forEach(function(l){l!=="selectionchange"&&(Yp.has(l)||Hr(l,!1,e),Hr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_u]||(t[_u]=!0,Hr("selectionchange",!1,t))}}function Cf(e,t,l,a){switch(nd(t)){case 2:var n=yy;break;case 8:n=hy;break;default:n=ec}l=n.bind(null,t,l,e),n=void 0,!ci||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function Gr(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===n)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;c!==null;){if(i=Gl(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=u=i;continue e}c=c.parentNode}}a=a.return}Hc(function(){var N=u,k=ii(l),H=[];e:{var O=gs.get(e);if(O!==void 0){var D=Bn,te=e;switch(e){case"keypress":if(Un(l)===0)break e;case"keydown":case"keyup":D=Ug;break;case"focusin":te="focus",D=di;break;case"focusout":te="blur",D=di;break;case"beforeblur":case"afterblur":D=di;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":D=Yc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=_g;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Hg;break;case ss:case os:case fs:D=wg;break;case ds:D=Gg;break;case"scroll":case"scrollend":D=Eg;break;case"wheel":D=Zg;break;case"copy":case"cut":case"paste":D=Dg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Xc;break;case"toggle":case"beforetoggle":D=Qg}var I=(t&4)!==0,Ae=!I&&(e==="scroll"||e==="scrollend"),S=I?O!==null?O+"Capture":null:O;I=[];for(var h=N,_;h!==null;){var L=h;if(_=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||_===null||S===null||(L=za(h,S),L!=null&&I.push(gn(h,L,_))),Ae)break;h=h.return}0<I.length&&(O=new D(O,te,null,l,k),H.push({event:O,listeners:I}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",O&&l!==ui&&(te=l.relatedTarget||l.fromElement)&&(Gl(te)||te[ql]))break e;if((D||O)&&(O=k.window===k?k:(O=k.ownerDocument)?O.defaultView||O.parentWindow:window,D?(te=l.relatedTarget||l.toElement,D=N,te=te?Gl(te):null,te!==null&&(Ae=b(te),I=te.tag,te!==Ae||I!==5&&I!==27&&I!==6)&&(te=null)):(D=null,te=N),D!==te)){if(I=Yc,L="onMouseLeave",S="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(I=Xc,L="onPointerLeave",S="onPointerEnter",h="pointer"),Ae=D==null?O:Da(D),_=te==null?O:Da(te),O=new I(L,h+"leave",D,l,k),O.target=Ae,O.relatedTarget=_,L=null,Gl(k)===N&&(I=new I(S,h+"enter",te,l,k),I.target=_,I.relatedTarget=Ae,L=I),Ae=L,D&&te)t:{for(I=D,S=te,h=0,_=I;_;_=Sa(_))h++;for(_=0,L=S;L;L=Sa(L))_++;for(;0<h-_;)I=Sa(I),h--;for(;0<_-h;)S=Sa(S),_--;for(;h--;){if(I===S||S!==null&&I===S.alternate)break t;I=Sa(I),S=Sa(S)}I=null}else I=null;D!==null&&kf(H,O,D,I,!1),te!==null&&Ae!==null&&kf(H,Ae,te,I,!0)}}e:{if(O=N?Da(N):window,D=O.nodeName&&O.nodeName.toLowerCase(),D==="select"||D==="input"&&O.type==="file")var $=Ic;else if(Jc(O))if(Pc)$=tp;else{$=Pg;var ce=Ig}else D=O.nodeName,!D||D.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?N&&ni(N.elementType)&&($=Ic):$=ep;if($&&($=$(e,N))){Wc(H,$,l,k);break e}ce&&ce(e,O,N),e==="focusout"&&N&&O.type==="number"&&N.memoizedProps.value!=null&&ai(O,"number",O.value)}switch(ce=N?Da(N):window,e){case"focusin":(Jc(ce)||ce.contentEditable==="true")&&(Wl=ce,mi=N,Ba=null);break;case"focusout":Ba=mi=Wl=null;break;case"mousedown":vi=!0;break;case"contextmenu":case"mouseup":case"dragend":vi=!1,rs(H,l,k);break;case"selectionchange":if(ap)break;case"keydown":case"keyup":rs(H,l,k)}var J;if(pi)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Jl?Kc(e,l)&&(P="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(P="onCompositionStart");P&&(Qc&&l.locale!=="ko"&&(Jl||P!=="onCompositionStart"?P==="onCompositionEnd"&&Jl&&(J=qc()):(el=k,si="value"in el?el.value:el.textContent,Jl=!0)),ce=Tu(N,P),0<ce.length&&(P=new Zc(P,e,null,l,k),H.push({event:P,listeners:ce}),J?P.data=J:(J=$c(l),J!==null&&(P.data=J)))),(J=Fg?Kg(e,l):$g(e,l))&&(P=Tu(N,"onBeforeInput"),0<P.length&&(ce=new Zc("onBeforeInput","beforeinput",null,l,k),H.push({event:ce,listeners:P}),ce.data=J)),Hp(H,e,N,l,k)}jf(H,t)})}function gn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Tu(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=za(e,l),n!=null&&a.unshift(gn(e,n,u)),n=za(e,t),n!=null&&a.push(gn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function Sa(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kf(e,t,l,a,n){for(var u=t._reactName,i=[];l!==null&&l!==a;){var c=l,f=c.alternate,N=c.stateNode;if(c=c.tag,f!==null&&f===a)break;c!==5&&c!==26&&c!==27||N===null||(f=N,n?(N=za(l,u),N!=null&&i.unshift(gn(l,N,f))):n||(N=za(l,u),N!=null&&i.push(gn(l,N,f)))),l=l.return}i.length!==0&&e.push({event:t,listeners:i})}var Zp=/\r\n?/g,Xp=/\u0000|\uFFFD/g;function Uf(e){return(typeof e=="string"?e:""+e).replace(Zp,`
49
- `).replace(Xp,"")}function Lf(e,t){return t=Uf(t),Uf(e)===t}function Nu(){}function Ee(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Fl(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Fl(e,""+a);break;case"className":Rn(e,"class",a);break;case"tabIndex":Rn(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Rn(e,l,a);break;case"style":Lc(e,a,u);break;case"data":if(t!=="object"){Rn(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=Cn(""+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 u=="function"&&(l==="formAction"?(t!=="input"&&Ee(e,t,"name",n.name,n,null),Ee(e,t,"formEncType",n.formEncType,n,null),Ee(e,t,"formMethod",n.formMethod,n,null),Ee(e,t,"formTarget",n.formTarget,n,null)):(Ee(e,t,"encType",n.encType,n,null),Ee(e,t,"method",n.method,n,null),Ee(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Cn(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Nu);break;case"onScroll":a!=null&&oe("scroll",e);break;case"onScrollEnd":a!=null&&oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(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=Cn(""+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":oe("beforetoggle",e),oe("toggle",e),zn(e,"popover",a);break;case"xlinkActuate":Ut(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ut(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ut(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ut(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ut(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ut(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ut(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":zn(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=xg.get(l)||l,zn(e,l,a))}}function Yr(e,t,l,a,n,u){switch(l){case"style":Lc(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));e.innerHTML=l}}break;case"children":typeof a=="string"?Fl(e,a):(typeof a=="number"||typeof a=="bigint")&&Fl(e,""+a);break;case"onScroll":a!=null&&oe("scroll",e);break;case"onScrollEnd":a!=null&&oe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Nu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nc.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),u=e[Pe]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):zn(e,l,a)}}}function Ke(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":oe("error",e),oe("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var i=l[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Ee(e,t,u,i,l,null)}}n&&Ee(e,t,"srcSet",l.srcSet,l,null),a&&Ee(e,t,"src",l.src,l,null);return;case"input":oe("invalid",e);var c=u=i=n=null,f=null,N=null;for(a in l)if(l.hasOwnProperty(a)){var k=l[a];if(k!=null)switch(a){case"name":n=k;break;case"type":i=k;break;case"checked":f=k;break;case"defaultChecked":N=k;break;case"value":u=k;break;case"defaultValue":c=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(s(137,t));break;default:Ee(e,t,a,k,l,null)}}jc(e,u,c,f,N,i,n,!1),Mn(e);return;case"select":oe("invalid",e),a=i=u=null;for(n in l)if(l.hasOwnProperty(n)&&(c=l[n],c!=null))switch(n){case"value":u=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:Ee(e,t,n,c,l,null)}t=u,l=i,e.multiple=!!a,t!=null?Vl(e,!!a,t,!1):l!=null&&Vl(e,!!a,l,!0);return;case"textarea":oe("invalid",e),u=n=a=null;for(i in l)if(l.hasOwnProperty(i)&&(c=l[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":n=c;break;case"children":u=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(s(91));break;default:Ee(e,t,i,c,l,null)}kc(e,a,n,u),Mn(e);return;case"option":for(f in l)if(l.hasOwnProperty(f)&&(a=l[f],a!=null))switch(f){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ee(e,t,f,a,l,null)}return;case"dialog":oe("beforetoggle",e),oe("toggle",e),oe("cancel",e),oe("close",e);break;case"iframe":case"object":oe("load",e);break;case"video":case"audio":for(a=0;a<dn.length;a++)oe(dn[a],e);break;case"image":oe("error",e),oe("load",e);break;case"details":oe("toggle",e);break;case"embed":case"source":case"link":oe("error",e),oe("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(N in l)if(l.hasOwnProperty(N)&&(a=l[N],a!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Ee(e,t,N,a,l,null)}return;default:if(ni(t)){for(k in l)l.hasOwnProperty(k)&&(a=l[k],a!==void 0&&Yr(e,t,k,a,l,void 0));return}}for(c in l)l.hasOwnProperty(c)&&(a=l[c],a!=null&&Ee(e,t,c,a,l,null))}function Qp(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 n=null,u=null,i=null,c=null,f=null,N=null,k=null;for(D in l){var H=l[D];if(l.hasOwnProperty(D)&&H!=null)switch(D){case"checked":break;case"value":break;case"defaultValue":f=H;default:a.hasOwnProperty(D)||Ee(e,t,D,null,a,H)}}for(var O in a){var D=a[O];if(H=l[O],a.hasOwnProperty(O)&&(D!=null||H!=null))switch(O){case"type":u=D;break;case"name":n=D;break;case"checked":N=D;break;case"defaultChecked":k=D;break;case"value":i=D;break;case"defaultValue":c=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,t));break;default:D!==H&&Ee(e,t,O,D,a,H)}}li(e,i,c,f,N,k,u,n);return;case"select":D=i=c=O=null;for(u in l)if(f=l[u],l.hasOwnProperty(u)&&f!=null)switch(u){case"value":break;case"multiple":D=f;default:a.hasOwnProperty(u)||Ee(e,t,u,null,a,f)}for(n in a)if(u=a[n],f=l[n],a.hasOwnProperty(n)&&(u!=null||f!=null))switch(n){case"value":O=u;break;case"defaultValue":c=u;break;case"multiple":i=u;default:u!==f&&Ee(e,t,n,u,a,f)}t=c,l=i,a=D,O!=null?Vl(e,!!l,O,!1):!!a!=!!l&&(t!=null?Vl(e,!!l,t,!0):Vl(e,!!l,l?[]:"",!1));return;case"textarea":D=O=null;for(c in l)if(n=l[c],l.hasOwnProperty(c)&&n!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Ee(e,t,c,null,a,n)}for(i in a)if(n=a[i],u=l[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":O=n;break;case"defaultValue":D=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&Ee(e,t,i,n,a,u)}Cc(e,O,D);return;case"option":for(var te in l)if(O=l[te],l.hasOwnProperty(te)&&O!=null&&!a.hasOwnProperty(te))switch(te){case"selected":e.selected=!1;break;default:Ee(e,t,te,null,a,O)}for(f in a)if(O=a[f],D=l[f],a.hasOwnProperty(f)&&O!==D&&(O!=null||D!=null))switch(f){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Ee(e,t,f,O,a,D)}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 I in l)O=l[I],l.hasOwnProperty(I)&&O!=null&&!a.hasOwnProperty(I)&&Ee(e,t,I,null,a,O);for(N in a)if(O=a[N],D=l[N],a.hasOwnProperty(N)&&O!==D&&(O!=null||D!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:Ee(e,t,N,O,a,D)}return;default:if(ni(t)){for(var Ae in l)O=l[Ae],l.hasOwnProperty(Ae)&&O!==void 0&&!a.hasOwnProperty(Ae)&&Yr(e,t,Ae,void 0,a,O);for(k in a)O=a[k],D=l[k],!a.hasOwnProperty(k)||O===D||O===void 0&&D===void 0||Yr(e,t,k,O,a,D);return}}for(var S in l)O=l[S],l.hasOwnProperty(S)&&O!=null&&!a.hasOwnProperty(S)&&Ee(e,t,S,null,a,O);for(H in a)O=a[H],D=l[H],!a.hasOwnProperty(H)||O===D||O==null&&D==null||Ee(e,t,H,O,a,D)}var Zr=null,Xr=null;function wu(e){return e.nodeType===9?e:e.ownerDocument}function Bf(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 Hf(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 Qr(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 Vr=null;function Vp(){var e=window.event;return e&&e.type==="popstate"?e===Vr?!1:(Vr=e,!0):(Vr=null,!1)}var qf=typeof setTimeout=="function"?setTimeout:void 0,Fp=typeof clearTimeout=="function"?clearTimeout:void 0,Gf=typeof Promise=="function"?Promise:void 0,Kp=typeof queueMicrotask=="function"?queueMicrotask:typeof Gf<"u"?function(e){return Gf.resolve(null).then(e).catch($p)}:qf;function $p(e){setTimeout(function(){throw e})}function hl(e){return e==="head"}function Yf(e,t){var l=t,a=0,n=0;do{var u=l.nextSibling;if(e.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(0<a&&8>a){l=a;var i=e.ownerDocument;if(l&1&&pn(i.documentElement),l&2&&pn(i.body),l&4)for(l=i.head,pn(l),i=l.firstChild;i;){var c=i.nextSibling,f=i.nodeName;i[Oa]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=c}}if(n===0){e.removeChild(u),En(t);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=u}while(l);En(t)}function Fr(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":Fr(l),Iu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Jp(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Oa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Ot(e.nextSibling),e===null)break}return null}function Wp(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Ot(e.nextSibling),e===null))return null;return e}function Kr(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Ip(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 Ot(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 $r=null;function Zf(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 Xf(e,t,l){switch(t=wu(l),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function pn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Iu(e)}var Tt=new Map,Qf=new Set;function Ou(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Jt=G.d;G.d={f:Pp,r:ey,D:ty,C:ly,L:ay,m:ny,X:iy,S:uy,M:ry};function Pp(){var e=Jt.f(),t=vu();return e||t}function ey(e){var t=Yl(e);t!==null&&t.tag===5&&t.type==="form"?so(t):Jt.r(e)}var Ea=typeof document>"u"?null:document;function Vf(e,t,l){var a=Ea;if(a&&typeof t=="string"&&t){var n=mt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Qf.has(n)||(Qf.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Ke(t,"link",e),Ye(t),a.head.appendChild(t)))}}function ty(e){Jt.D(e),Vf("dns-prefetch",e,null)}function ly(e,t){Jt.C(e,t),Vf("preconnect",e,t)}function ay(e,t,l){Jt.L(e,t,l);var a=Ea;if(a&&e&&t){var n='link[rel="preload"][as="'+mt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+mt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+mt(l.imageSizes)+'"]')):n+='[href="'+mt(e)+'"]';var u=n;switch(t){case"style":u=Aa(e);break;case"script":u=_a(e)}Tt.has(u)||(e=v({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Tt.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(yn(u))||t==="script"&&a.querySelector(hn(u))||(t=a.createElement("link"),Ke(t,"link",e),Ye(t),a.head.appendChild(t)))}}function ny(e,t){Jt.m(e,t);var l=Ea;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+mt(a)+'"][href="'+mt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=_a(e)}if(!Tt.has(u)&&(e=v({rel:"modulepreload",href:e},t),Tt.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(hn(u)))return}a=l.createElement("link"),Ke(a,"link",e),Ye(a),l.head.appendChild(a)}}}function uy(e,t,l){Jt.S(e,t,l);var a=Ea;if(a&&e){var n=Zl(a).hoistableStyles,u=Aa(e);t=t||"default";var i=n.get(u);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(yn(u)))c.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Tt.get(u))&&Jr(e,l);var f=i=a.createElement("link");Ye(f),Ke(f,"link",e),f._p=new Promise(function(N,k){f.onload=N,f.onerror=k}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Du(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},n.set(u,i)}}}function iy(e,t){Jt.X(e,t);var l=Ea;if(l&&e){var a=Zl(l).hoistableScripts,n=_a(e),u=a.get(n);u||(u=l.querySelector(hn(n)),u||(e=v({src:e,async:!0},t),(t=Tt.get(n))&&Wr(e,t),u=l.createElement("script"),Ye(u),Ke(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function ry(e,t){Jt.M(e,t);var l=Ea;if(l&&e){var a=Zl(l).hoistableScripts,n=_a(e),u=a.get(n);u||(u=l.querySelector(hn(n)),u||(e=v({src:e,async:!0,type:"module"},t),(t=Tt.get(n))&&Wr(e,t),u=l.createElement("script"),Ye(u),Ke(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Ff(e,t,l,a){var n=(n=ee.current)?Ou(n):null;if(!n)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Aa(l.href),l=Zl(n).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=Aa(l.href);var u=Zl(n).hoistableStyles,i=u.get(e);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,i),(u=n.querySelector(yn(e)))&&!u._p&&(i.instance=u,i.state.loading=5),Tt.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},Tt.set(e,l),u||cy(n,e,l,i.state))),t&&a===null)throw Error(s(528,""));return i}if(t&&a!==null)throw Error(s(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=_a(l),l=Zl(n).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(s(444,e))}}function Aa(e){return'href="'+mt(e)+'"'}function yn(e){return'link[rel="stylesheet"]['+e+"]"}function Kf(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function cy(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}),Ke(t,"link",l),Ye(t),e.head.appendChild(t))}function _a(e){return'[src="'+mt(e)+'"]'}function hn(e){return"script[async]"+e}function $f(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+mt(l.href)+'"]');if(a)return t.instance=a,Ye(a),a;var n=v({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ye(a),Ke(a,"style",n),Du(a,l.precedence,e),t.instance=a;case"stylesheet":n=Aa(l.href);var u=e.querySelector(yn(n));if(u)return t.state.loading|=4,t.instance=u,Ye(u),u;a=Kf(l),(n=Tt.get(n))&&Jr(a,n),u=(e.ownerDocument||e).createElement("link"),Ye(u);var i=u;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Ke(u,"link",a),t.state.loading|=4,Du(u,l.precedence,e),t.instance=u;case"script":return u=_a(l.src),(n=e.querySelector(hn(u)))?(t.instance=n,Ye(n),n):(a=l,(n=Tt.get(u))&&(a=v({},l),Wr(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ye(n),Ke(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Du(a,l.precedence,e));return t.instance}function Du(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)u=c;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Jr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Wr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var zu=null;function Jf(e,t,l){if(zu===null){var a=new Map,n=zu=new Map;n.set(l,a)}else n=zu,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var u=l[n];if(!(u[Oa]||u[$e]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(t)||"";i=e+i;var c=a.get(i);c?c.push(u):a.set(i,[u])}}return a}function Wf(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function sy(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;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!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 If(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var bn=null;function oy(){}function fy(e,t,l){if(bn===null)throw Error(s(475));var a=bn;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Aa(l.href),u=e.querySelector(yn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=Ru.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=u,Ye(u);return}u=e.ownerDocument||e,l=Kf(l),(n=Tt.get(n))&&Jr(l,n),u=u.createElement("link"),Ye(u);var i=u;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),Ke(u,"link",l),t.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=Ru.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function dy(){if(bn===null)throw Error(s(475));var e=bn;return e.stylesheets&&e.count===0&&Ir(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&Ir(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 Ru(){if(this.count--,this.count===0){if(this.stylesheets)Ir(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Mu=null;function Ir(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mu=new Map,t.forEach(gy,e),Mu=null,Ru.call(e))}function gy(e,t){if(!(t.state.loading&4)){var l=Mu.get(e);if(l)var a=l.get(null);else{l=new Map,Mu.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(l.set(i.dataset.precedence,i),a=i)}a&&l.set(null,a)}n=t.instance,i=n.getAttribute("data-precedence"),u=l.get(i)||a,u===a&&l.set(null,n),l.set(i,n),this.count++,a=Ru.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var mn={$$typeof:z,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function py(e,t,l,a,n,u,i,c){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=Ku(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ku(0),this.hiddenUpdates=Ku(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function Pf(e,t,l,a,n,u,i,c,f,N,k,H){return e=new py(e,t,l,i,c,f,N,H),t=1,u===!0&&(t|=24),u=rt(3,null,null,t),e.current=u,u.stateNode=e,t=ji(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},Li(u),e}function ed(e){return e?(e=ta,e):ta}function td(e,t,l,a,n,u){n=ed(n),a.context===null?a.context=n:a.pendingContext=n,a=al(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=nl(e,a,t),l!==null&&(dt(l,e,t),Fa(l,e,t))}function ld(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Pr(e,t){ld(e,t),(e=e.alternate)&&ld(e,t)}function ad(e){if(e.tag===13){var t=ea(e,67108864);t!==null&&dt(t,e,67108864),Pr(e,67108864)}}var ju=!0;function yy(e,t,l,a){var n=E.T;E.T=null;var u=G.p;try{G.p=2,ec(e,t,l,a)}finally{G.p=u,E.T=n}}function hy(e,t,l,a){var n=E.T;E.T=null;var u=G.p;try{G.p=8,ec(e,t,l,a)}finally{G.p=u,E.T=n}}function ec(e,t,l,a){if(ju){var n=tc(a);if(n===null)Gr(e,t,a,Cu,l),ud(e,a);else if(my(n,e,t,l,a))a.stopPropagation();else if(ud(e,a),t&4&&-1<by.indexOf(e)){for(;n!==null;){var u=Yl(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=El(u.pendingLanes);if(i!==0){var c=u;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-ut(i);c.entanglements[1]|=f,i&=~f}Ct(u),(ve&6)===0&&(bu=Dt()+500,fn(0))}}break;case 13:c=ea(u,2),c!==null&&dt(c,u,2),vu(),Pr(u,2)}if(u=tc(a),u===null&&Gr(e,t,a,Cu,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else Gr(e,t,a,null,l)}}function tc(e){return e=ii(e),lc(e)}var Cu=null;function lc(e){if(Cu=null,e=Gl(e),e!==null){var t=b(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=M(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 Cu=e,null}function nd(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(lg()){case hc:return 2;case bc:return 8;case Nn:case ag:return 32;case mc:return 268435456;default:return 32}default:return 32}}var ac=!1,bl=null,ml=null,vl=null,vn=new Map,xn=new Map,xl=[],by="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 ud(e,t){switch(e){case"focusin":case"focusout":bl=null;break;case"dragenter":case"dragleave":ml=null;break;case"mouseover":case"mouseout":vl=null;break;case"pointerover":case"pointerout":vn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xn.delete(t.pointerId)}}function Sn(e,t,l,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=Yl(t),t!==null&&ad(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function my(e,t,l,a,n){switch(t){case"focusin":return bl=Sn(bl,e,t,l,a,n),!0;case"dragenter":return ml=Sn(ml,e,t,l,a,n),!0;case"mouseover":return vl=Sn(vl,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return vn.set(u,Sn(vn.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,xn.set(u,Sn(xn.get(u)||null,e,t,l,a,n)),!0}return!1}function id(e){var t=Gl(e.target);if(t!==null){var l=b(t);if(l!==null){if(t=l.tag,t===13){if(t=M(l),t!==null){e.blockedOn=t,fg(e.priority,function(){if(l.tag===13){var a=ft();a=$u(a);var n=ea(l,a);n!==null&&dt(n,l,a),Pr(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 ku(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=tc(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);ui=a,l.target.dispatchEvent(a),ui=null}else return t=Yl(l),t!==null&&ad(t),e.blockedOn=l,!1;t.shift()}return!0}function rd(e,t,l){ku(e)&&l.delete(t)}function vy(){ac=!1,bl!==null&&ku(bl)&&(bl=null),ml!==null&&ku(ml)&&(ml=null),vl!==null&&ku(vl)&&(vl=null),vn.forEach(rd),xn.forEach(rd)}function Uu(e,t){e.blockedOn===t&&(e.blockedOn=null,ac||(ac=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,vy)))}var Lu=null;function cd(e){Lu!==e&&(Lu=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Lu===e&&(Lu=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(lc(a||l)===null)continue;break}var u=Yl(l);u!==null&&(e.splice(t,3),t-=3,lr(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function En(e){function t(f){return Uu(f,e)}bl!==null&&Uu(bl,e),ml!==null&&Uu(ml,e),vl!==null&&Uu(vl,e),vn.forEach(t),xn.forEach(t);for(var l=0;l<xl.length;l++){var a=xl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<xl.length&&(l=xl[0],l.blockedOn===null);)id(l),l.blockedOn===null&&xl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],i=n[Pe]||null;if(typeof u=="function")i||cd(l);else if(i){var c=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[Pe]||null)c=i.formAction;else if(lc(n)!==null)continue}else c=i.action;typeof c=="function"?l[a+1]=c:(l.splice(a,3),a-=3),cd(l)}}}function nc(e){this._internalRoot=e}Bu.prototype.render=nc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var l=t.current,a=ft();td(l,a,e,t,null,null)},Bu.prototype.unmount=nc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;td(e.current,2,null,e,null,null),vu(),t[ql]=null}};function Bu(e){this._internalRoot=e}Bu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ac();e={blockedOn:null,target:e,priority:t};for(var l=0;l<xl.length&&t!==0&&t<xl[l].priority;l++);xl.splice(l,0,e),l===0&&id(e)}};var sd=o.version;if(sd!=="19.1.0")throw Error(s(527,sd,"19.1.0"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=A(t),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var xy={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:E,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Hu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hu.isDisabled&&Hu.supportsFiber)try{Ta=Hu.inject(xy),nt=Hu}catch{}}return _n.createRoot=function(e,t){if(!x(e))throw Error(s(299));var l=!1,a="",n=_o,u=To,i=No,c=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(c=t.unstable_transitionCallbacks)),t=Pf(e,1,!1,null,null,l,a,n,u,i,c,null),e[ql]=t.current,qr(e),new nc(t)},_n.hydrateRoot=function(e,t,l){if(!x(e))throw Error(s(299));var a=!1,n="",u=_o,i=To,c=No,f=null,N=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(i=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(f=l.unstable_transitionCallbacks),l.formState!==void 0&&(N=l.formState)),t=Pf(e,1,!0,t,l??null,a,n,u,i,c,f,N),t.context=ed(null),l=t.current,a=ft(),a=$u(a),n=al(a),n.callback=null,nl(l,n,a),l=a,t.current.lanes=l,wa(t,l),Ct(t),e[ql]=t.current,qr(e),new Bu(t)},_n.version="19.1.0",_n}var vd;function zy(){if(vd)return rc.exports;vd=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(o){console.error(o)}}return r(),rc.exports=Dy(),rc.exports}var Ry=zy();const My=Rd(Ry);/**
50
- * @license lucide-react v0.525.0 - ISC
51
- *
52
- * This source code is licensed under the ISC license.
53
- * See the LICENSE file in the root directory of this source tree.
54
- */const jy=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Cy=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,d,s)=>s?s.toUpperCase():d.toLowerCase()),xd=r=>{const o=Cy(r);return o.charAt(0).toUpperCase()+o.slice(1)},Md=(...r)=>r.filter((o,d,s)=>!!o&&o.trim()!==""&&s.indexOf(o)===d).join(" ").trim(),ky=r=>{for(const o in r)if(o.startsWith("aria-")||o==="role"||o==="title")return!0};/**
55
- * @license lucide-react v0.525.0 - ISC
56
- *
57
- * This source code is licensed under the ISC license.
58
- * See the LICENSE file in the root directory of this source tree.
59
- */var Uy={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
60
- * @license lucide-react v0.525.0 - ISC
61
- *
62
- * This source code is licensed under the ISC license.
63
- * See the LICENSE file in the root directory of this source tree.
64
- */const Ly=ae.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:d=2,absoluteStrokeWidth:s,className:x="",children:b,iconNode:M,...B},A)=>ae.createElement("svg",{ref:A,...Uy,width:o,height:o,stroke:r,strokeWidth:s?Number(d)*24/Number(o):d,className:Md("lucide",x),...!b&&!ky(B)&&{"aria-hidden":"true"},...B},[...M.map(([p,v])=>ae.createElement(p,v)),...Array.isArray(b)?b:[b]]));/**
65
- * @license lucide-react v0.525.0 - ISC
66
- *
67
- * This source code is licensed under the ISC license.
68
- * See the LICENSE file in the root directory of this source tree.
69
- */const Be=(r,o)=>{const d=ae.forwardRef(({className:s,...x},b)=>ae.createElement(Ly,{ref:b,iconNode:o,className:Md(`lucide-${jy(xd(r))}`,`lucide-${r}`,s),...x}));return d.displayName=xd(r),d};/**
70
- * @license lucide-react v0.525.0 - ISC
71
- *
72
- * This source code is licensed under the ISC license.
73
- * See the LICENSE file in the root directory of this source tree.
74
- */const By=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Hy=Be("align-left",By);/**
75
- * @license lucide-react v0.525.0 - ISC
76
- *
77
- * This source code is licensed under the ISC license.
78
- * See the LICENSE file in the root directory of this source tree.
79
- */const qy=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],fc=Be("check",qy);/**
80
- * @license lucide-react v0.525.0 - ISC
81
- *
82
- * This source code is licensed under the ISC license.
83
- * See the LICENSE file in the root directory of this source tree.
84
- */const Gy=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],jd=Be("chevron-down",Gy);/**
85
- * @license lucide-react v0.525.0 - ISC
86
- *
87
- * This source code is licensed under the ISC license.
88
- * See the LICENSE file in the root directory of this source tree.
89
- */const Yy=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Cd=Be("chevron-right",Yy);/**
90
- * @license lucide-react v0.525.0 - ISC
91
- *
92
- * This source code is licensed under the ISC license.
93
- * See the LICENSE file in the root directory of this source tree.
94
- */const Zy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],Xy=Be("columns-2",Zy);/**
95
- * @license lucide-react v0.525.0 - ISC
96
- *
97
- * This source code is licensed under the ISC license.
98
- * See the LICENSE file in the root directory of this source tree.
99
- */const Qy=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],kd=Be("copy",Qy);/**
100
- * @license lucide-react v0.525.0 - ISC
101
- *
102
- * This source code is licensed under the ISC license.
103
- * See the LICENSE file in the root directory of this source tree.
104
- */const Vy=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],Ud=Be("file-pen",Vy);/**
105
- * @license lucide-react v0.525.0 - ISC
106
- *
107
- * This source code is licensed under the ISC license.
108
- * See the LICENSE file in the root directory of this source tree.
109
- */const Fy=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],Ld=Be("file-plus",Fy);/**
110
- * @license lucide-react v0.525.0 - ISC
111
- *
112
- * This source code is licensed under the ISC license.
113
- * See the LICENSE file in the root directory of this source tree.
114
- */const Ky=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Bd=Be("file-text",Ky);/**
115
- * @license lucide-react v0.525.0 - ISC
116
- *
117
- * This source code is licensed under the ISC license.
118
- * See the LICENSE file in the root directory of this source tree.
119
- */const $y=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]],Hd=Be("file-x",$y);/**
120
- * @license lucide-react v0.525.0 - ISC
121
- *
122
- * This source code is licensed under the ISC license.
123
- * See the LICENSE file in the root directory of this source tree.
124
- */const Jy=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Wy=Be("folder-open",Jy);/**
125
- * @license lucide-react v0.525.0 - ISC
126
- *
127
- * This source code is licensed under the ISC license.
128
- * See the LICENSE file in the root directory of this source tree.
129
- */const Iy=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Py=Be("folder",Iy);/**
130
- * @license lucide-react v0.525.0 - ISC
131
- *
132
- * This source code is licensed under the ISC license.
133
- * See the LICENSE file in the root directory of this source tree.
134
- */const eh=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],th=Be("message-circle",eh);/**
135
- * @license lucide-react v0.525.0 - ISC
136
- *
137
- * This source code is licensed under the ISC license.
138
- * See the LICENSE file in the root directory of this source tree.
139
- */const lh=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ah=Be("pen",lh);/**
140
- * @license lucide-react v0.525.0 - ISC
141
- *
142
- * This source code is licensed under the ISC license.
143
- * See the LICENSE file in the root directory of this source tree.
144
- */const nh=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],uh=Be("save",nh);/**
145
- * @license lucide-react v0.525.0 - ISC
146
- *
147
- * This source code is licensed under the ISC license.
148
- * See the LICENSE file in the root directory of this source tree.
149
- */const ih=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],qd=Be("search",ih);/**
150
- * @license lucide-react v0.525.0 - ISC
151
- *
152
- * This source code is licensed under the ISC license.
153
- * See the LICENSE file in the root directory of this source tree.
154
- */const rh=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Gd=Be("settings",rh);/**
155
- * @license lucide-react v0.525.0 - ISC
156
- *
157
- * This source code is licensed under the ISC license.
158
- * See the LICENSE file in the root directory of this source tree.
159
- */const ch=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],sh=Be("square",ch);/**
160
- * @license lucide-react v0.525.0 - ISC
161
- *
162
- * This source code is licensed under the ISC license.
163
- * See the LICENSE file in the root directory of this source tree.
164
- */const oh=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],fh=Be("trash-2",oh);/**
165
- * @license lucide-react v0.525.0 - ISC
166
- *
167
- * This source code is licensed under the ISC license.
168
- * See the LICENSE file in the root directory of this source tree.
169
- */const dh=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Yd=Be("x",dh);function Zd({checked:r,onChange:o,label:d,className:s="",title:x}){const b=M=>{M.stopPropagation(),o(!r)};return y.jsxs("div",{className:`flex items-center gap-2 text-xs text-github-text-primary cursor-pointer ${s}`,title:x,onClick:b,children:[y.jsx("div",{className:`w-4 h-4 rounded border flex items-center justify-center transition-all duration-200 cursor-pointer ${r?"bg-github-accent border-github-accent":"bg-github-bg-tertiary border-github-text-muted hover:border-github-accent/50"}`,children:r&&y.jsx(fc,{size:10,className:"text-white"})}),d&&y.jsx("span",{className:"select-none",children:d})]})}function Xd({onSubmit:r,onCancel:o}){const[d,s]=ae.useState(""),[x,b]=ae.useState(!1),M=async A=>{if(A.preventDefault(),!!d.trim()){b(!0);try{await r(d.trim()),s("")}catch(p){console.error("Failed to submit comment:",p)}finally{b(!1)}}},B=A=>{A.key==="Enter"&&(A.metaKey||A.ctrlKey)?M(A):A.key==="Escape"&&o()};return y.jsxs("form",{className:"m-2 mx-3 p-3 bg-github-bg-tertiary border border-github-border rounded-md",onSubmit:M,children:[y.jsxs("div",{className:"flex items-center justify-between mb-2",children:[y.jsx("span",{className:"text-sm font-medium text-github-text-primary",children:"Add a comment"}),y.jsx("span",{className:"text-xs text-github-text-muted",children:"Cmd+Enter to submit • Escape to cancel"})]}),y.jsx("textarea",{className:"w-full min-h-[60px] mb-2 resize-y bg-github-bg-secondary border border-github-border rounded px-3 py-2 text-github-text-primary text-sm leading-6 focus:outline-none focus:border-blue-600 focus:ring-2 focus:ring-blue-600/30 focus:min-h-[80px] disabled:opacity-50",value:d,onChange:A=>s(A.target.value),onKeyDown:B,placeholder:"Leave a comment...",rows:3,autoFocus:!0,disabled:x}),y.jsxs("div",{className:"flex gap-2 justify-end",children:[y.jsx("button",{type:"button",onClick:o,className:"text-xs px-3 py-1.5 bg-github-bg-tertiary text-github-text-primary border border-github-border rounded hover:opacity-80 transition-all disabled:opacity-50",disabled:x,children:"Cancel"}),y.jsx("button",{type:"submit",className:"text-xs px-3 py-1.5 bg-blue-600 text-white rounded hover:opacity-80 transition-all disabled:opacity-50",disabled:!d.trim()||x,children:x?"Adding...":"Add Comment"})]})]})}function Qd({comment:r,onGeneratePrompt:o,onRemoveComment:d,onUpdateComment:s}){const[x,b]=ae.useState(!1),[M,B]=ae.useState(!1),[A,p]=ae.useState(r.body),v=async()=>{try{const T=o(r);await navigator.clipboard.writeText(T),b(!0),setTimeout(()=>b(!1),2e3)}catch(T){console.error("Failed to copy prompt:",T)}},j=()=>{B(!0),p(r.body)},Y=()=>{B(!1),p(r.body)},V=()=>{A.trim()!==r.body&&s(r.id,A.trim()),B(!1)};return y.jsxs("div",{className:"m-2 mx-4 p-3 bg-github-bg-tertiary border border-yellow-600/50 rounded-md border-l-4 border-l-yellow-400 shadow-sm",children:[y.jsxs("div",{className:"flex items-center justify-between mb-2 gap-3",children:[y.jsx("div",{className:"flex items-center gap-2 text-xs text-github-text-secondary flex-1 min-w-0",children:y.jsxs("span",{className:"font-mono px-1 py-0.5 rounded overflow-hidden text-ellipsis whitespace-nowrap",style:{backgroundColor:"var(--color-yellow-path-bg)",color:"var(--color-yellow-path-text)"},children:[r.file,":",r.line]})}),y.jsxs("div",{className:"flex items-center gap-2",children:[!M&&y.jsxs(y.Fragment,{children:[y.jsx("button",{onClick:v,className:"text-xs px-2 py-1 rounded transition-all whitespace-nowrap",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",border:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:T=>{T.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",T.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:T=>{T.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",T.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},title:"Copy prompt for Claude Code",children:x?"Copied!":"Copy Prompt"}),y.jsx("button",{onClick:j,className:"text-xs p-1.5 bg-github-bg-tertiary text-github-text-secondary border border-github-border rounded hover:text-github-text-primary hover:bg-github-bg-primary transition-all",title:"Edit comment",children:y.jsx(ah,{size:12})}),y.jsx("button",{onClick:()=>{window.confirm("Are you sure you want to delete this comment?")&&d(r.id)},className:"text-xs p-1.5 bg-github-bg-tertiary text-github-danger border border-github-border rounded hover:bg-red-500/10 hover:border-github-danger transition-all",title:"Delete comment",children:y.jsx(fh,{size:12})})]}),M&&y.jsxs(y.Fragment,{children:[y.jsx("button",{onClick:V,className:"text-xs p-1.5 bg-github-accent text-white border border-github-accent rounded hover:opacity-80 transition-all",title:"Save changes",children:y.jsx(uh,{size:12})}),y.jsx("button",{onClick:Y,className:"text-xs p-1.5 bg-github-bg-tertiary text-github-text-secondary border border-github-border rounded hover:text-github-text-primary hover:bg-github-bg-primary transition-all",title:"Cancel editing",children:y.jsx(Yd,{size:12})})]})]})]}),M?y.jsx("textarea",{value:A,onChange:T=>p(T.target.value),className:"w-full text-github-text-primary text-sm leading-6 bg-github-bg-secondary border border-github-border rounded px-2 py-1 resize-none focus:outline-none focus:border-blue-600 focus:ring-1 focus:ring-blue-600/30",rows:Math.max(2,A.split(`
170
- `).length),placeholder:"Edit your comment...",autoFocus:!0}):y.jsx("div",{className:"text-github-text-primary text-sm leading-6 whitespace-pre-wrap",children:r.body})]})}function Vd(r){var o,d,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r)){var x=r.length;for(o=0;o<x;o++)r[o]&&(d=Vd(r[o]))&&(s&&(s+=" "),s+=d)}else for(d in r)r[d]&&(s&&(s+=" "),s+=d);return s}function Fd(){for(var r,o,d=0,s="",x=arguments.length;d<x;d++)(r=arguments[d])&&(o=Vd(r))&&(s&&(s+=" "),s+=o);return s}var gh=Object.create,Yu=Object.defineProperty,ph=Object.defineProperties,yh=Object.getOwnPropertyDescriptor,hh=Object.getOwnPropertyDescriptors,Kd=Object.getOwnPropertyNames,Gu=Object.getOwnPropertySymbols,bh=Object.getPrototypeOf,yc=Object.prototype.hasOwnProperty,$d=Object.prototype.propertyIsEnumerable,Sd=(r,o,d)=>o in r?Yu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:d}):r[o]=d,kt=(r,o)=>{for(var d in o||(o={}))yc.call(o,d)&&Sd(r,d,o[d]);if(Gu)for(var d of Gu(o))$d.call(o,d)&&Sd(r,d,o[d]);return r},Zu=(r,o)=>ph(r,hh(o)),Jd=(r,o)=>{var d={};for(var s in r)yc.call(r,s)&&o.indexOf(s)<0&&(d[s]=r[s]);if(r!=null&&Gu)for(var s of Gu(r))o.indexOf(s)<0&&$d.call(r,s)&&(d[s]=r[s]);return d},mh=(r,o)=>function(){return o||(0,r[Kd(r)[0]])((o={exports:{}}).exports,o),o.exports},vh=(r,o)=>{for(var d in o)Yu(r,d,{get:o[d],enumerable:!0})},xh=(r,o,d,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let x of Kd(o))!yc.call(r,x)&&x!==d&&Yu(r,x,{get:()=>o[x],enumerable:!(s=yh(o,x))||s.enumerable});return r},Sh=(r,o,d)=>(d=r!=null?gh(bh(r)):{},xh(!r||!r.__esModule?Yu(d,"default",{value:r,enumerable:!0}):d,r)),Eh=mh({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(r,o){var d=function(){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,x=0,b={},M={util:{encode:function T(w){return w instanceof B?new B(w.type,T(w.content),w.alias):Array.isArray(w)?w.map(T):w.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(T){return Object.prototype.toString.call(T).slice(8,-1)},objId:function(T){return T.__id||Object.defineProperty(T,"__id",{value:++x}),T.__id},clone:function T(w,m){m=m||{};var R,C;switch(M.util.type(w)){case"Object":if(C=M.util.objId(w),m[C])return m[C];R={},m[C]=R;for(var z in w)w.hasOwnProperty(z)&&(R[z]=T(w[z],m));return R;case"Array":return C=M.util.objId(w),m[C]?m[C]:(R=[],m[C]=R,w.forEach(function(Z,K){R[K]=T(Z,m)}),R);default:return w}},getLanguage:function(T){for(;T;){var w=s.exec(T.className);if(w)return w[1].toLowerCase();T=T.parentElement}return"none"},setLanguage:function(T,w){T.className=T.className.replace(RegExp(s,"gi"),""),T.classList.add("language-"+w)},isActive:function(T,w,m){for(var R="no-"+w;T;){var C=T.classList;if(C.contains(w))return!0;if(C.contains(R))return!1;T=T.parentElement}return!!m}},languages:{plain:b,plaintext:b,text:b,txt:b,extend:function(T,w){var m=M.util.clone(M.languages[T]);for(var R in w)m[R]=w[R];return m},insertBefore:function(T,w,m,R){R=R||M.languages;var C=R[T],z={};for(var Z in C)if(C.hasOwnProperty(Z)){if(Z==w)for(var K in m)m.hasOwnProperty(K)&&(z[K]=m[K]);m.hasOwnProperty(Z)||(z[Z]=C[Z])}var le=R[T];return R[T]=z,M.languages.DFS(M.languages,function(ne,fe){fe===le&&ne!=T&&(this[ne]=z)}),z},DFS:function T(w,m,R,C){C=C||{};var z=M.util.objId;for(var Z in w)if(w.hasOwnProperty(Z)){m.call(w,Z,w[Z],R||Z);var K=w[Z],le=M.util.type(K);le==="Object"&&!C[z(K)]?(C[z(K)]=!0,T(K,m,null,C)):le==="Array"&&!C[z(K)]&&(C[z(K)]=!0,T(K,m,Z,C))}}},plugins:{},highlight:function(T,w,m){var R={code:T,grammar:w,language:m};if(M.hooks.run("before-tokenize",R),!R.grammar)throw new Error('The language "'+R.language+'" has no grammar.');return R.tokens=M.tokenize(R.code,R.grammar),M.hooks.run("after-tokenize",R),B.stringify(M.util.encode(R.tokens),R.language)},tokenize:function(T,w){var m=w.rest;if(m){for(var R in m)w[R]=m[R];delete w.rest}var C=new v;return j(C,C.head,T),p(T,C,w,C.head,0),V(C)},hooks:{all:{},add:function(T,w){var m=M.hooks.all;m[T]=m[T]||[],m[T].push(w)},run:function(T,w){var m=M.hooks.all[T];if(!(!m||!m.length))for(var R=0,C;C=m[R++];)C(w)}},Token:B};function B(T,w,m,R){this.type=T,this.content=w,this.alias=m,this.length=(R||"").length|0}B.stringify=function T(w,m){if(typeof w=="string")return w;if(Array.isArray(w)){var R="";return w.forEach(function(le){R+=T(le,m)}),R}var C={type:w.type,content:T(w.content,m),tag:"span",classes:["token",w.type],attributes:{},language:m},z=w.alias;z&&(Array.isArray(z)?Array.prototype.push.apply(C.classes,z):C.classes.push(z)),M.hooks.run("wrap",C);var Z="";for(var K in C.attributes)Z+=" "+K+'="'+(C.attributes[K]||"").replace(/"/g,"&quot;")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+Z+">"+C.content+"</"+C.tag+">"};function A(T,w,m,R){T.lastIndex=w;var C=T.exec(m);if(C&&R&&C[1]){var z=C[1].length;C.index+=z,C[0]=C[0].slice(z)}return C}function p(T,w,m,R,C,z){for(var Z in m)if(!(!m.hasOwnProperty(Z)||!m[Z])){var K=m[Z];K=Array.isArray(K)?K:[K];for(var le=0;le<K.length;++le){if(z&&z.cause==Z+","+le)return;var ne=K[le],fe=ne.inside,me=!!ne.lookbehind,_e=!!ne.greedy,De=ne.alias;if(_e&&!ne.pattern.global){var pe=ne.pattern.toString().match(/[imsuy]*$/)[0];ne.pattern=RegExp(ne.pattern.source,pe+"g")}for(var yt=ne.pattern||ne,Ne=R.next,be=C;Ne!==w.tail&&!(z&&be>=z.reach);be+=Ne.value.length,Ne=Ne.next){var E=Ne.value;if(w.length>T.length)return;if(!(E instanceof B)){var G=1,Q;if(_e){if(Q=A(yt,be,T,me),!Q||Q.index>=T.length)break;var F=Q.index,ue=Q.index+Q[0].length,g=be;for(g+=Ne.value.length;F>=g;)Ne=Ne.next,g+=Ne.value.length;if(g-=Ne.value.length,be=g,Ne.value instanceof B)continue;for(var q=Ne;q!==w.tail&&(g<ue||typeof q.value=="string");q=q.next)G++,g+=q.value.length;G--,E=T.slice(be,g),Q.index-=be}else if(Q=A(yt,0,E,me),!Q)continue;var F=Q.index,X=Q[0],W=E.slice(0,F),de=E.slice(F+X.length),ee=be+E.length;z&&ee>z.reach&&(z.reach=ee);var Ge=Ne.prev;W&&(Ge=j(w,Ge,W),be+=W.length),Y(w,Ge,G);var we=new B(Z,fe?M.tokenize(X,fe):X,De,X);if(Ne=j(w,Ge,we),de&&j(w,Ne,de),G>1){var ht={cause:Z+","+le,reach:ee};p(T,w,m,Ne.prev,be,ht),z&&ht.reach>z.reach&&(z.reach=ht.reach)}}}}}}function v(){var T={value:null,prev:null,next:null},w={value:null,prev:T,next:null};T.next=w,this.head=T,this.tail=w,this.length=0}function j(T,w,m){var R=w.next,C={value:m,prev:w,next:R};return w.next=C,R.prev=C,T.length++,C}function Y(T,w,m){for(var R=w.next,C=0;C<m&&R!==T.tail;C++)R=R.next;w.next=R,R.prev=w,T.length-=C}function V(T){for(var w=[],m=T.head.next;m!==T.tail;)w.push(m.value),m=m.next;return w}return M}();o.exports=d,d.default=d}}),U=Sh(Eh());U.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},U.languages.markup.tag.inside["attr-value"].inside.entity=U.languages.markup.entity,U.languages.markup.doctype.inside["internal-subset"].inside=U.languages.markup,U.hooks.add("wrap",function(r){r.type==="entity"&&(r.attributes.title=r.content.replace(/&amp;/,"&"))}),Object.defineProperty(U.languages.markup.tag,"addInlined",{value:function(r,s){var d={},d=(d["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:U.languages[s]},d.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:d}}),s=(d["language-"+s]={pattern:/[\s\S]+/,inside:U.languages[s]},{});s[r]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return r}),"i"),lookbehind:!0,greedy:!0,inside:d},U.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(U.languages.markup.tag,"addAttribute",{value:function(r,o){U.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+r+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:U.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),U.languages.html=U.languages.markup,U.languages.mathml=U.languages.markup,U.languages.svg=U.languages.markup,U.languages.xml=U.languages.extend("markup",{}),U.languages.ssml=U.languages.xml,U.languages.atom=U.languages.xml,U.languages.rss=U.languages.xml,function(r){var o={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},d=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,s="(?:[^\\\\-]|"+d.source+")",s=RegExp(s+"-"+s),x={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};r.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:d,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":o,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:d}},"special-escape":o,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":x}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:d,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":x}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(U),U.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},U.languages.javascript=U.languages.extend("clike",{"class-name":[U.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),U.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,U.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:U.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:U.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:U.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:U.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:U.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),U.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:U.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),U.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),U.languages.markup&&(U.languages.markup.tag.addInlined("script","javascript"),U.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),U.languages.js=U.languages.javascript,U.languages.actionscript=U.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),U.languages.actionscript["class-name"].alias="function",delete U.languages.actionscript.parameter,delete U.languages.actionscript["literal-property"],U.languages.markup&&U.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:U.languages.markup}}),function(r){var o=/#(?!\{).+/,d={pattern:/#\{[^}]+\}/,alias:"variable"};r.languages.coffeescript=r.languages.extend("javascript",{comment:o,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:d}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),r.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:o,interpolation:d}}}),r.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:r.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:d}}]}),r.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete r.languages.coffeescript["template-string"],r.languages.coffee=r.languages.coffeescript}(U),function(r){var o=r.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(o,"addSupport",{value:function(d,s){(d=typeof d=="string"?[d]:d).forEach(function(x){var b=function(j){j.inside||(j.inside={}),j.inside.rest=s},M="doc-comment";if(B=r.languages[x]){var B,A=B[M];if((A=A||(B=r.languages.insertBefore(x,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[M])instanceof RegExp&&(A=B[M]={pattern:A}),Array.isArray(A))for(var p=0,v=A.length;p<v;p++)A[p]instanceof RegExp&&(A[p]={pattern:A[p]}),b(A[p]);else b(A)}})}}),o.addSupport(["java","javascript","php"],o)}(U),function(r){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,o=(r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css,r.languages.markup);o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(U),function(r){var o=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,o=(r.languages.css.selector={pattern:r.languages.css.selector.pattern,lookbehind:!0,inside:o={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+o.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[o,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},r.languages.css.atrule.inside["selector-function-argument"].inside=o,r.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),d={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};r.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o,number:d,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:d})}(U),function(r){var o=/[*&][^\s[\]{},]+/,d=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+d.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+d.source+")?)",x=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function M(B,A){A=(A||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<value>>/g,function(){return B});return RegExp(p,A)}r.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return s}).replace(/<<key>>/g,function(){return"(?:"+x+"|"+b+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:M(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:M(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:M(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:M(b),lookbehind:!0,greedy:!0},number:{pattern:M(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:d,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},r.languages.yml=r.languages.yaml}(U),function(r){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function d(p){return p=p.replace(/<inner>/g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+p+")")}var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,x=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,M=(r.languages.markdown=r.languages.extend("markup",{}),r.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:r.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+x+b+"(?:"+x+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+x+b+")(?:"+x+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:r.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+x+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+x+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:r.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:d(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:d(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:d(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:d(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(p){["url","bold","italic","strike","code-snippet"].forEach(function(v){p!==v&&(r.languages.markdown[p].inside.content.inside[v]=r.languages.markdown[v])})}),r.hooks.add("after-tokenize",function(p){p.language!=="markdown"&&p.language!=="md"||function v(j){if(j&&typeof j!="string")for(var Y=0,V=j.length;Y<V;Y++){var T,w=j[Y];w.type!=="code"?v(w.content):(T=w.content[1],w=w.content[3],T&&w&&T.type==="code-language"&&w.type==="code-block"&&typeof T.content=="string"&&(T=T.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),T="language-"+(T=(/[a-z][\w-]*/i.exec(T)||[""])[0].toLowerCase()),w.alias?typeof w.alias=="string"?w.alias=[w.alias,T]:w.alias.push(T):w.alias=[T]))}}(p.tokens)}),r.hooks.add("wrap",function(p){if(p.type==="code-block"){for(var v="",j=0,Y=p.classes.length;j<Y;j++){var V=p.classes[j],V=/language-(.+)/.exec(V);if(V){v=V[1];break}}var T,w=r.languages[v];w?p.content=r.highlight(function(m){return m=m.replace(M,""),m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(R,C){var z;return(C=C.toLowerCase())[0]==="#"?(z=C[1]==="x"?parseInt(C.slice(2),16):Number(C.slice(1)),A(z)):B[C]||R})}(p.content),w,v):v&&v!=="none"&&r.plugins.autoloader&&(T="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),p.attributes.id=T,r.plugins.autoloader.loadLanguages(v,function(){var m=document.getElementById(T);m&&(m.innerHTML=r.highlight(m.textContent,r.languages[v],v))}))}}),RegExp(r.languages.markup.tag.pattern.source,"gi")),B={amp:"&",lt:"<",gt:">",quot:'"'},A=String.fromCodePoint||String.fromCharCode;r.languages.md=r.languages.markdown}(U),U.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:U.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},U.hooks.add("after-tokenize",function(r){if(r.language==="graphql")for(var o=r.tokens.filter(function(T){return typeof T!="string"&&T.type!=="comment"&&T.type!=="scalar"}),d=0;d<o.length;){var s=o[d++];if(s.type==="keyword"&&s.content==="mutation"){var x=[];if(j(["definition-mutation","punctuation"])&&v(1).content==="("){d+=2;var b=Y(/^\($/,/^\)$/);if(b===-1)continue;for(;d<b;d++){var M=v(0);M.type==="variable"&&(V(M,"variable-input"),x.push(M.content))}d=b+1}if(j(["punctuation","property-query"])&&v(0).content==="{"&&(d++,V(v(0),"property-mutation"),0<x.length)){var B=Y(/^\{$/,/^\}$/);if(B!==-1)for(var A=d;A<B;A++){var p=o[A];p.type==="variable"&&0<=x.indexOf(p.content)&&V(p,"variable-input")}}}}function v(T){return o[d+T]}function j(T,w){w=w||0;for(var m=0;m<T.length;m++){var R=v(m+w);if(!R||R.type!==T[m])return}return 1}function Y(T,w){for(var m=1,R=d;R<o.length;R++){var C=o[R],z=C.content;if(C.type==="punctuation"&&typeof z=="string"){if(T.test(z))m++;else if(w.test(z)&&--m===0)return R}}return-1}function V(T,w){var m=T.alias;m?Array.isArray(m)||(T.alias=m=[m]):T.alias=m=[],m.push(w)}}),U.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(r){var o=r.languages.javascript["template-string"],d=o.pattern.source,s=o.inside.interpolation,x=s.inside["interpolation-punctuation"],b=s.pattern.source;function M(j,Y){if(r.languages[j])return{pattern:RegExp("((?:"+Y+")\\s*)"+d),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:j}}}}function B(j,Y,V){return j={code:j,grammar:Y,language:V},r.hooks.run("before-tokenize",j),j.tokens=r.tokenize(j.code,j.grammar),r.hooks.run("after-tokenize",j),j.tokens}function A(j,Y,V){var m=r.tokenize(j,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),T=0,w={},m=B(m.map(function(C){if(typeof C=="string")return C;for(var z,Z,C=C.content;j.indexOf((Z=T++,z="___"+V.toUpperCase()+"_"+Z+"___"))!==-1;);return w[z]=C,z}).join(""),Y,V),R=Object.keys(w);return T=0,function C(z){for(var Z=0;Z<z.length;Z++){if(T>=R.length)return;var K,le,ne,fe,me,_e,De,pe=z[Z];typeof pe=="string"||typeof pe.content=="string"?(K=R[T],(De=(_e=typeof pe=="string"?pe:pe.content).indexOf(K))!==-1&&(++T,le=_e.substring(0,De),me=w[K],ne=void 0,(fe={})["interpolation-punctuation"]=x,(fe=r.tokenize(me,fe)).length===3&&((ne=[1,1]).push.apply(ne,B(fe[1],r.languages.javascript,"javascript")),fe.splice.apply(fe,ne)),ne=new r.Token("interpolation",fe,s.alias,me),fe=_e.substring(De+K.length),me=[],le&&me.push(le),me.push(ne),fe&&(C(_e=[fe]),me.push.apply(me,_e)),typeof pe=="string"?(z.splice.apply(z,[Z,1].concat(me)),Z+=me.length-1):pe.content=me)):(De=pe.content,Array.isArray(De)?C(De):C([De]))}}(m),new r.Token(V,m,"language-"+V,j)}r.languages.javascript["template-string"]=[M("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),M("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),M("svg",/\bsvg/.source),M("markdown",/\b(?:markdown|md)/.source),M("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),M("sql",/\bsql/.source),o].filter(Boolean);var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function v(j){return typeof j=="string"?j:Array.isArray(j)?j.map(v).join(""):v(j.content)}r.hooks.add("after-tokenize",function(j){j.language in p&&function Y(V){for(var T=0,w=V.length;T<w;T++){var m,R,C,z=V[T];typeof z!="string"&&(m=z.content,Array.isArray(m)?z.type==="template-string"?(z=m[1],m.length===3&&typeof z!="string"&&z.type==="embedded-code"&&(R=v(z),z=z.alias,z=Array.isArray(z)?z[0]:z,C=r.languages[z])&&(m[1]=A(R,C,z))):Y(m):typeof m!="string"&&Y([m]))}}(j.tokens)})}(U),function(r){r.languages.typescript=r.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),r.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var o=r.languages.extend("typescript",{});delete o["class-name"],r.languages.typescript["class-name"].inside=o,r.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),r.languages.ts=r.languages.typescript}(U),function(r){var o=r.languages.javascript,d=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+d+"\\s+)?)";r.languages.jsdoc=r.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),r.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:o,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return d})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+d),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:r.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),r.languages.javadoclike.addSupport("javascript",r.languages.jsdoc)}(U),function(r){r.languages.flow=r.languages.extend("javascript",{}),r.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),r.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete r.languages.flow.parameter,r.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(r.languages.flow.keyword)||(r.languages.flow.keyword=[r.languages.flow.keyword]),r.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(U),U.languages.n4js=U.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),U.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),U.languages.n4jsd=U.languages.n4js,function(r){function o(M,B){return RegExp(M.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),B)}r.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+r.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),r.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+r.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),r.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),r.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:r.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:r.languages.javascript}}),r.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),r.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),r.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var d=["function","function-variable","method","method-variable","property-access"],s=0;s<d.length;s++){var b=d[s],x=r.languages.javascript[b],b=(x=r.util.type(x)==="RegExp"?r.languages.javascript[b]={pattern:x}:x).inside||{};(x.inside=b)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(U),function(r){var o=r.util.clone(r.languages.javascript),d=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,x=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(A,p){return A=A.replace(/<S>/g,function(){return d}).replace(/<BRACES>/g,function(){return s}).replace(/<SPREAD>/g,function(){return x}),RegExp(A,p)}x=b(x).source,r.languages.jsx=r.languages.extend("markup",o),r.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=o.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:b(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);function M(A){for(var p=[],v=0;v<A.length;v++){var j=A[v],Y=!1;typeof j!="string"&&(j.type==="tag"&&j.content[0]&&j.content[0].type==="tag"?j.content[0].content[0].content==="</"?0<p.length&&p[p.length-1].tagName===B(j.content[0].content[1])&&p.pop():j.content[j.content.length-1].content!=="/>"&&p.push({tagName:B(j.content[0].content[1]),openedBraces:0}):0<p.length&&j.type==="punctuation"&&j.content==="{"?p[p.length-1].openedBraces++:0<p.length&&0<p[p.length-1].openedBraces&&j.type==="punctuation"&&j.content==="}"?p[p.length-1].openedBraces--:Y=!0),(Y||typeof j=="string")&&0<p.length&&p[p.length-1].openedBraces===0&&(Y=B(j),v<A.length-1&&(typeof A[v+1]=="string"||A[v+1].type==="plain-text")&&(Y+=B(A[v+1]),A.splice(v+1,1)),0<v&&(typeof A[v-1]=="string"||A[v-1].type==="plain-text")&&(Y=B(A[v-1])+Y,A.splice(v-1,1),v--),A[v]=new r.Token("plain-text",Y,null,Y)),j.content&&typeof j.content!="string"&&M(j.content)}}var B=function(A){return A?typeof A=="string"?A:typeof A.content=="string"?A.content:A.content.map(B).join(""):""};r.hooks.add("after-tokenize",function(A){A.language!=="jsx"&&A.language!=="tsx"||M(A.tokens)})}(U),function(r){var o=r.util.clone(r.languages.typescript),o=(r.languages.tsx=r.languages.extend("jsx",o),delete r.languages.tsx.parameter,delete r.languages.tsx["literal-property"],r.languages.tsx.tag);o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(U),U.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},U.languages.swift["string-literal"].forEach(function(r){r.inside.interpolation.inside=U.languages.swift}),function(r){r.languages.kotlin=r.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete r.languages.kotlin["class-name"];var o={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:r.languages.kotlin}};r.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:o},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:o},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete r.languages.kotlin.string,r.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),r.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),r.languages.kt=r.languages.kotlin,r.languages.kts=r.languages.kotlin}(U),U.languages.c=U.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),U.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),U.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},U.languages.c.string],char:U.languages.c.char,comment:U.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:U.languages.c}}}}),U.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete U.languages.c.boolean,U.languages.objectivec=U.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete U.languages.objectivec["class-name"],U.languages.objc=U.languages.objectivec,U.languages.reason=U.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),U.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete U.languages.reason.function,function(r){for(var o=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,d=0;d<2;d++)o=o.replace(/<self>/g,function(){return o});o=o.replace(/<self>/g,function(){return/[^\s\S]/.source}),r.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+o),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},r.languages.rust["closure-params"].inside.rest=r.languages.rust,r.languages.rust.attribute.inside.string=r.languages.rust.string}(U),U.languages.go=U.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),U.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete U.languages.go["class-name"],function(r){var o=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,d=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return o.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return o.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:o,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return d})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(U),U.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},U.languages.python["string-interpolation"].inside.interpolation.inside.rest=U.languages.python,U.languages.py=U.languages.python,U.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},U.languages.webmanifest=U.languages.json;var pt={};vh(pt,{dracula:()=>_h,duotoneDark:()=>Nh,duotoneLight:()=>Oh,github:()=>zh,gruvboxMaterialDark:()=>ub,gruvboxMaterialLight:()=>rb,jettwaveDark:()=>Wh,jettwaveLight:()=>Ph,nightOwl:()=>Mh,nightOwlLight:()=>Ch,oceanicNext:()=>Uh,okaidia:()=>Bh,oneDark:()=>tb,oneLight:()=>ab,palenight:()=>qh,shadesOfPurple:()=>Yh,synthwave84:()=>Xh,ultramin:()=>Vh,vsDark:()=>Wd,vsLight:()=>$h});var Ah={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},_h=Ah,Th={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Nh=Th,wh={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Oh=wh,Dh={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},zh=Dh,Rh={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Mh=Rh,jh={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Ch=jh,gt={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},kh={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:gt.keyword}},{types:["attr-value"],style:{color:gt.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:gt.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:gt.primitive}},{types:["boolean"],style:{color:gt.boolean}},{types:["tag"],style:{color:gt.tag}},{types:["string"],style:{color:gt.string}},{types:["punctuation"],style:{color:gt.string}},{types:["selector","char","builtin","inserted"],style:{color:gt.char}},{types:["function"],style:{color:gt.function}},{types:["operator","entity","url","variable"],style:{color:gt.variable}},{types:["keyword"],style:{color:gt.keyword}},{types:["atrule","class-name"],style:{color:gt.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Uh=kh,Lh={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},Bh=Lh,Hh={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},qh=Hh,Gh={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},Yh=Gh,Zh={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Xh=Zh,Qh={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},Vh=Qh,Fh={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Wd=Fh,Kh={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},$h=Kh,Jh={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Wh=Jh,Ih={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Ph=Ih,eb={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},tb=eb,lb={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},ab=lb,nb={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ub=nb,ib={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},rb=ib,cb=r=>ae.useCallback(o=>{var d=o,{className:s,style:x,line:b}=d,M=Jd(d,["className","style","line"]);const B=Zu(kt({},M),{className:Fd("token-line",s)});return typeof r=="object"&&"plain"in r&&(B.style=r.plain),typeof x=="object"&&(B.style=kt(kt({},B.style||{}),x)),B},[r]),sb=r=>{const o=ae.useCallback(({types:d,empty:s})=>{if(r!=null){{if(d.length===1&&d[0]==="plain")return s!=null?{display:"inline-block"}:void 0;if(d.length===1&&s!=null)return r[d[0]]}return Object.assign(s!=null?{display:"inline-block"}:{},...d.map(x=>r[x]))}},[r]);return ae.useCallback(d=>{var s=d,{token:x,className:b,style:M}=s,B=Jd(s,["token","className","style"]);const A=Zu(kt({},B),{className:Fd("token",...x.types,b),children:x.content,style:o(x)});return M!=null&&(A.style=kt(kt({},A.style||{}),M)),A},[o])},ob=/\r\n|\r|\n/,Ed=r=>{r.length===0?r.push({types:["plain"],content:`
171
- `,empty:!0}):r.length===1&&r[0].content===""&&(r[0].content=`
172
- `,r[0].empty=!0)},Ad=(r,o)=>{const d=r.length;return d>0&&r[d-1]===o?r:r.concat(o)},fb=r=>{const o=[[]],d=[r],s=[0],x=[r.length];let b=0,M=0,B=[];const A=[B];for(;M>-1;){for(;(b=s[M]++)<x[M];){let p,v=o[M];const Y=d[M][b];if(typeof Y=="string"?(v=M>0?v:["plain"],p=Y):(v=Ad(v,Y.type),Y.alias&&(v=Ad(v,Y.alias)),p=Y.content),typeof p!="string"){M++,o.push(v),d.push(p),s.push(0),x.push(p.length);continue}const V=p.split(ob),T=V.length;B.push({types:v,content:V[0]});for(let w=1;w<T;w++)Ed(B),A.push(B=[]),B.push({types:v,content:V[w]})}M--,o.pop(),d.pop(),s.pop(),x.pop()}return Ed(B),A},_d=fb,db=({prism:r,code:o,grammar:d,language:s})=>ae.useMemo(()=>{if(d==null)return _d([o]);const x={code:o,grammar:d,language:s,tokens:[]};return r.hooks.run("before-tokenize",x),x.tokens=r.tokenize(o,d),r.hooks.run("after-tokenize",x),_d(x.tokens)},[o,d,s,r]),gb=(r,o)=>{const{plain:d}=r,s=r.styles.reduce((x,b)=>{const{languages:M,style:B}=b;return M&&!M.includes(o)||b.types.forEach(A=>{const p=kt(kt({},x[A]),B);x[A]=p}),x},{});return s.root=d,s.plain=Zu(kt({},d),{backgroundColor:void 0}),s},pb=gb,yb=({children:r,language:o,code:d,theme:s,prism:x})=>{const b=o.toLowerCase(),M=pb(s,b),B=cb(M),A=sb(M),p=x.languages[b],v=db({prism:x,language:b,code:d,grammar:p});return r({tokens:v,className:`prism-code language-${b}`,style:M!=null?M.root:{},getLineProps:B,getTokenProps:A})},hb=r=>ae.createElement(yb,Zu(kt({},r),{prism:r.prism||U,theme:r.theme||Wd,code:r.code,language:r.language}));/*! Bundled license information:
173
-
174
- prismjs/prism.js:
175
- (**
176
- * Prism: Lightweight, robust, elegant syntax highlighting
177
- *
178
- * @license MIT <https://opensource.org/licenses/MIT>
179
- * @author Lea Verou <https://lea.verou.me>
180
- * @namespace
181
- * @public
182
- *)
183
- */const bb="modulepreload",mb=function(r){return"/"+r},Td={},Wt=function(o,d,s){let x=Promise.resolve();if(d&&d.length>0){let A=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(j=>({status:"fulfilled",value:j}),j=>({status:"rejected",reason:j}))))};document.getElementsByTagName("link");const M=document.querySelector("meta[property=csp-nonce]"),B=M?.nonce||M?.getAttribute("nonce");x=A(d.map(p=>{if(p=mb(p),p in Td)return;Td[p]=!0;const v=p.endsWith(".css"),j=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${j}`))return;const Y=document.createElement("link");if(Y.rel=v?"stylesheet":bb,v||(Y.as="script"),Y.crossOrigin="",Y.href=p,B&&Y.setAttribute("nonce",B),document.head.appendChild(Y),v)return new Promise((V,T)=>{Y.addEventListener("load",V),Y.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${p}`)))})}))}function b(M){const B=new Event("vite:preloadError",{cancelable:!0});if(B.payload=M,window.dispatchEvent(B),!B.defaultPrevented)throw M}return x.then(M=>{for(const B of M||[])B.status==="rejected"&&b(B.reason);return o().catch(b)})},qu={};function Id(r){if(!qu[r]){const d={bash:()=>Wt(()=>import("./prism-bash-DTkDXsAh.js"),[]),sh:()=>Wt(()=>import("./prism-bash-DTkDXsAh.js"),[]),shell:()=>Wt(()=>import("./prism-bash-DTkDXsAh.js"),[]),php:async()=>(await Wt(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),Wt(()=>import("./prism-php-Duzkne60.js").then(s=>s.p),[])),sql:()=>Wt(()=>import("./prism-sql-AgAyy5H_.js"),[]),ruby:()=>Wt(()=>import("./prism-ruby-BEvvSO-t.js").then(s=>s.p),[]),java:()=>Wt(()=>import("./prism-java-Be0vSAlS.js").then(s=>s.p),[]),scala:async()=>(await Id("java"),Wt(()=>import("./prism-scala-BjNo2HkN.js"),[]))}[r];if(!d)return console.warn(`No loader available for language: ${r}`),Promise.reject(new Error(`Unsupported language: ${r}`));qu[r]=d().then(()=>{}).catch(s=>{throw delete qu[r],console.warn(`Failed to load language: ${r}`,s),s})}return qu[r]}typeof global<"u"?global.Prism=U:typeof window<"u"&&(window.Prism=U);const Nd=["markup","html","xml","svg","javascript","js","typescript","ts","jsx","tsx","css","c","cpp","swift","kotlin","objectivec","reason","rust","go","graphql","yaml","yml","json","markdown","md","python","py"];function vb(r,o){const[d,s]=ae.useState(()=>Nd.includes(o)||!!U.languages[o]);return ae.useEffect(()=>{if(!d){if(Nd.includes(o)){s(!0);return}Id(o).then(()=>{s(!0)}).catch(()=>{s(!1)})}},[o,d]),{ready:d,actualLang:d?o:"text"}}const wd=[{id:"github",label:"GitHub Light"},{id:"vsLight",label:"VS Light"},{id:"oneLight",label:"One Light"},{id:"gruvboxMaterialLight",label:"Gruvbox Material Light"},{id:"nightOwlLight",label:"Night Owl Light"}],Od=[{id:"vsDark",label:"VS Dark"},{id:"oneDark",label:"One Dark"},{id:"gruvboxMaterialDark",label:"Gruvbox Material Dark"},{id:"nightOwl",label:"Night Owl"},{id:"dracula",label:"Dracula"},{id:"okaidia",label:"Okaidia"}];function xb(r){return{...r,styles:r.styles.map(o=>({...o,style:{...o.style,background:void 0,backgroundColor:void 0}}))}}function Sb(r){let o;switch(r){case"github":o=pt.github;break;case"vsLight":o=pt.vsLight;break;case"oneLight":o=pt.oneLight;break;case"gruvboxMaterialLight":o=pt.gruvboxMaterialLight;break;case"nightOwlLight":o=pt.nightOwlLight;break;case"vsDark":o=pt.vsDark;break;case"oneDark":o=pt.oneDark;break;case"gruvboxMaterialDark":o=pt.gruvboxMaterialDark;break;case"nightOwl":o=pt.nightOwl;break;case"dracula":o=pt.dracula;break;case"okaidia":o=pt.okaidia;break;default:o=pt.vsDark}return xb(o)}function Eb(r){const o=r.split("/").pop()?.toLowerCase()||"",d=r.split(".").pop()?.toLowerCase(),s={dockerfile:"docker",makefile:"makefile",".gitignore":"git",".env":"bash",".bashrc":"bash",".zshrc":"bash",".bash_profile":"bash",".profile":"bash"};return s[o]?s[o]:{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",json:"json",css:"css",scss:"css",html:"html",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",yml:"yaml",yaml:"yaml",md:"markdown",py:"python",rb:"ruby",go:"go",rs:"rust",java:"java",cpp:"cpp",c:"c",php:"php",sql:"sql",xml:"xml",swift:"swift",kt:"kotlin",scala:"scala",r:"r",lua:"lua",perl:"perl",dockerfile:"docker",makefile:"makefile",gitignore:"git",env:"bash",conf:"nginx",ini:"ini",toml:"toml"}[d||""]||"text"}let Pd="";function Ab(r){Pd=r}function dc({code:r,language:o,className:d,syntaxTheme:s="vsDark"}){const x=o||Eb(Pd),{actualLang:b}=vb(r,x),M=Sb(s);return y.jsx(hb,{code:r,language:b,theme:M,prism:U,children:({style:B,tokens:A,getLineProps:p,getTokenProps:v})=>y.jsx("span",{className:d,style:{...B,background:"transparent",backgroundColor:"transparent"},children:A.map((j,Y)=>y.jsx("span",{...p({line:j}),children:j.map((V,T)=>y.jsx("span",{...v({token:V})},T))},Y))})})}function _b({chunk:r,comments:o,onAddComment:d,onGeneratePrompt:s,onRemoveComment:x,onUpdateComment:b,syntaxTheme:M}){const[B,A]=ae.useState(null),p=m=>{A(B===m?null:m)},v=()=>{A(null)},j=async m=>{B!==null&&(await d(B,m),A(null))},Y=m=>o.filter(R=>R.line===m),V=m=>m.oldLine?.type==="delete"&&m.newLine?.type==="add"?m.newLineNumber?"right":"left":m.oldLine?.type==="delete"?"left":m.newLine?.type==="add"?"right":"full",w=(m=>{const R=[];let C=r.oldStart,z=r.newStart,Z=0;for(;Z<m.length;){const K=m[Z];if(!K){Z++;continue}if(K.type==="normal")R.push({oldLine:K,newLine:{...K},oldLineNumber:C,newLineNumber:z}),C++,z++,Z++;else if(K.type==="delete"){let le=Z+1;for(;le<m.length&&m[le]?.type==="delete";)le++;const ne=m.slice(Z,le),fe=[];for(;le<m.length&&m[le]?.type==="add";){const _e=m[le];_e&&fe.push(_e),le++}const me=Math.max(ne.length,fe.length);for(let _e=0;_e<me;_e++){const De=ne[_e],pe=fe[_e];R.push({oldLine:De,newLine:pe,oldLineNumber:De?C+_e:void 0,newLineNumber:pe?z+_e:void 0})}C+=ne.length,z+=fe.length,Z=le}else K.type==="add"&&(R.push({newLine:K,newLineNumber:z}),z++,Z++)}return R})(r.lines);return y.jsx("div",{className:"bg-github-bg-primary border border-github-border rounded-md overflow-hidden",children:y.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:y.jsx("tbody",{children:w.map((m,R)=>{const C=m.newLineNumber?Y(m.newLineNumber):m.oldLineNumber?Y(m.oldLineNumber):[];return y.jsxs(pc.Fragment,{children:[y.jsxs("tr",{className:"group",children:[y.jsx("td",{className:"w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:m.oldLineNumber||""}),y.jsx("td",{className:`w-1/2 p-0 align-top border-r border-github-border relative ${m.oldLine?.type==="delete"?"bg-diff-deletion-bg cursor-pointer":m.oldLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"}`,onClick:()=>m.oldLine?.type==="delete"&&m.oldLineNumber&&p(m.oldLineNumber),title:m.oldLine?.type==="delete"&&m.oldLineNumber?"Click to add comment":"",children:m.oldLine&&y.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:y.jsx(dc,{code:m.oldLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:M})})}),y.jsx("td",{className:"w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:m.newLineNumber||""}),y.jsx("td",{className:`w-1/2 p-0 align-top relative ${m.newLine?.type==="add"?"bg-diff-addition-bg cursor-pointer":m.newLine?.type==="normal"?"bg-transparent cursor-pointer":"bg-github-bg-secondary"}`,onClick:()=>(m.newLine?.type==="add"||m.newLine?.type==="normal")&&m.newLineNumber&&p(m.newLineNumber),title:(m.newLine?.type==="add"||m.newLine?.type==="normal")&&m.newLineNumber?"Click to add comment":"",children:m.newLine&&y.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:y.jsx(dc,{code:m.newLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:M})})})]}),C.length>0&&y.jsx("tr",{className:"bg-github-bg-secondary",children:y.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:C.map(z=>{const Z=V(m);return y.jsx("div",{className:`flex ${Z==="left"?"justify-start":Z==="right"?"justify-end":"justify-center"}`,children:y.jsx("div",{className:`${Z==="full"?"w-full":"w-1/2"}`,children:y.jsx(Qd,{comment:z,onGeneratePrompt:s,onRemoveComment:x,onUpdateComment:b})})},z.id)})})}),B&&(B===m.oldLineNumber&&m.oldLine?.type==="delete"||B===m.newLineNumber&&(m.newLine?.type==="add"||m.newLine?.type==="normal"))&&y.jsx("tr",{className:"bg-github-bg-secondary",children:y.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:y.jsx("div",{className:`flex ${V(m)==="left"?"justify-start":V(m)==="right"?"justify-end":"justify-center"}`,children:y.jsx("div",{className:`${V(m)==="full"?"w-full":"w-1/2"}`,children:y.jsx(Xd,{onSubmit:j,onCancel:v})})})})})]},R)})})})})}function Tb({chunk:r,comments:o,onAddComment:d,onGeneratePrompt:s,onRemoveComment:x,onUpdateComment:b,mode:M="inline",syntaxTheme:B}){const[A,p]=ae.useState(null),[v,j]=ae.useState(null),Y=z=>{switch(z.type){case"add":return"bg-diff-addition-bg";case"delete":return"bg-diff-deletion-bg";default:return"bg-transparent"}},V=z=>{switch(z.type){case"add":return"+";case"delete":return"-";default:return" "}},T=(z,Z)=>{A===z?(p(null),j(null)):(p(z),j(Z))},w=()=>{p(null),j(null)},m=async z=>{A!==null&&(await d(A,z,v||void 0),p(null),j(null))},R=z=>o.filter(Z=>Z.line===z),C=z=>{if(M==="inline")return"full";switch(z.type){case"delete":return"left";case"add":return"right";default:return"full"}};return M==="side-by-side"?y.jsx(_b,{chunk:r,comments:o,onAddComment:d,onGeneratePrompt:s,onRemoveComment:x,onUpdateComment:b,syntaxTheme:B}):y.jsx("div",{className:"bg-github-bg-primary",children:y.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:y.jsx("tbody",{children:r.lines.map((z,Z)=>{const K=R(z.newLineNumber||z.oldLineNumber||0);return y.jsxs(pc.Fragment,{children:[y.jsxs("tr",{className:`cursor-pointer group ${Y(z)}`,onClick:()=>T(z.newLineNumber||z.oldLineNumber||0,z.content),title:"Click to add comment",children:[y.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:z.oldLineNumber||""}),y.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:z.newLineNumber||""}),y.jsx("td",{className:"p-0 w-full relative align-top",children:y.jsxs("div",{className:"flex items-center relative min-h-[20px]",children:[y.jsx("span",{className:`w-5 text-center text-github-text-muted flex-shrink-0 bg-github-bg-secondary border-r border-github-border ${z.type==="add"?"text-github-accent bg-diff-addition-bg":z.type==="delete"?"text-github-danger bg-diff-deletion-bg":""}`,children:V(z)}),y.jsx(dc,{code:z.content,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:B})]})})]}),K.map(le=>{const ne=C(z);return y.jsx("tr",{className:"bg-github-bg-secondary",children:y.jsx("td",{colSpan:3,className:"p-0 border-t border-github-border",children:y.jsx("div",{className:`flex ${ne==="left"?"justify-start":ne==="right"?"justify-end":"justify-center"}`,children:y.jsx("div",{className:`${ne==="full"?"w-full":"w-1/2"}`,children:y.jsx(Qd,{comment:le,onGeneratePrompt:s,onRemoveComment:x,onUpdateComment:b})})})})},le.id)}),A===(z.newLineNumber||z.oldLineNumber)&&y.jsx("tr",{className:"bg-[var(--bg-secondary)]",children:y.jsx("td",{colSpan:3,className:"p-0 border-t border-[var(--border-muted)]",children:y.jsx("div",{className:`flex ${C(z)==="left"?"justify-start":C(z)==="right"?"justify-end":"justify-center"}`,children:y.jsx("div",{className:`${C(z)==="full"?"w-full":"w-1/2"}`,children:y.jsx(Xd,{onSubmit:m,onCancel:w})})})})})]},Z)})})})})}function Nb({file:r,comments:o,diffMode:d,reviewedFiles:s,onToggleReviewed:x,onAddComment:b,onGeneratePrompt:M,onRemoveComment:B,onUpdateComment:A,syntaxTheme:p}){const v=s.has(r.path),[j,Y]=ae.useState(!1);Ab(r.path);const V=w=>{switch(w){case"added":return y.jsx(Ld,{size:16,className:"text-github-accent"});case"deleted":return y.jsx(Hd,{size:16,className:"text-github-danger"});case"renamed":return y.jsx(Ud,{size:16,className:"text-github-warning"});default:return y.jsx(Bd,{size:16,className:"text-github-text-secondary"})}},T=async(w,m,R)=>{try{await b(r.path,w,m,R)}catch(C){console.error("Failed to add comment:",C)}};return y.jsxs("div",{className:"bg-github-bg-primary",children:[y.jsxs("div",{className:"bg-github-bg-secondary border-t-2 border-t-github-accent border-b border-github-border px-5 py-4 flex items-center justify-between flex-wrap gap-3 sticky top-0 z-10",children:[y.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[y.jsx("button",{onClick:()=>x(r.path),className:"text-github-text-muted hover:text-github-text-primary transition-colors cursor-pointer",title:v?"Expand file":"Collapse file",children:v?y.jsx(Cd,{size:16}):y.jsx(jd,{size:16})}),V(r.status),y.jsx("h2",{className:"text-sm font-mono text-github-text-primary m-0 overflow-hidden text-ellipsis whitespace-nowrap",children:r.path}),y.jsx("button",{className:`bg-transparent border-none cursor-pointer px-1.5 py-1 rounded text-sm transition-all hover:bg-github-bg-tertiary ${j?"text-github-accent":"text-github-text-secondary hover:text-github-text-primary"}`,onClick:()=>{navigator.clipboard.writeText(r.path).then(()=>{console.log("File path copied to clipboard:",r.path),Y(!0),setTimeout(()=>Y(!1),2e3)}).catch(w=>{console.error("Failed to copy file path:",w)})},title:"Copy file path",children:j?y.jsx(fc,{size:14}):y.jsx(kd,{size:14})}),r.oldPath&&r.oldPath!==r.path&&y.jsxs("span",{className:"text-xs text-github-text-muted italic",children:["(renamed from ",r.oldPath,")"]})]}),y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[y.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-accent bg-green-100/10",children:["+",r.additions]}),y.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-danger bg-red-100/10",children:["-",r.deletions]})]}),y.jsxs("button",{onClick:()=>x(r.path),className:`flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all duration-200 ${s.has(r.path)?"bg-github-accent text-white":"dark:bg-slate-600 dark:text-white dark:border-slate-500 dark:hover:bg-slate-500 dark:hover:border-slate-400 bg-github-bg-secondary text-github-text-primary border border-github-border hover:bg-github-bg-tertiary hover:border-github-text-muted"}`,title:s.has(r.path)?"Mark as not reviewed":"Mark as reviewed",children:[s.has(r.path)?y.jsx(fc,{size:14}):y.jsx(sh,{size:14}),"Viewed"]})]})]}),!v&&y.jsx("div",{className:"overflow-y-auto",children:r.chunks.map((w,m)=>y.jsxs("div",{className:"border-b border-github-border",children:[y.jsx("div",{className:"bg-github-bg-tertiary px-3 py-2 border-b border-github-border",children:y.jsx("code",{className:"text-github-text-secondary text-xs font-mono",children:w.header})}),y.jsx(Tb,{chunk:w,comments:o,onAddComment:T,onGeneratePrompt:M,onRemoveComment:B,onUpdateComment:A,mode:d,syntaxTheme:p})]},m))})]})}function wb(r){const o={name:"",path:"",isDirectory:!0,children:[]};r.forEach(s=>{const x=s.path.split("/");let b=o;for(let M=0;M<x.length;M++){const B=x[M];if(!B)continue;const A=M===x.length-1,p=x.slice(0,M+1).join("/");b.children||(b.children=[]);let v=b.children.find(j=>j.name===B);v||(v={name:B,path:p,isDirectory:!A,children:A?void 0:[],file:A?s:void 0},b.children.push(v)),b=v}});const d=s=>{if(!s.isDirectory||!s.children)return s;if(s.children=s.children.map(d),s.children.length===1&&s.children[0]?.isDirectory&&s.children[0]?.children){const x=s.children[0];if(x)return{...s,name:s.name?`${s.name}/${x.name}`:x.name,path:x.path,children:x.children}}return s};return d(o)}function Ob({files:r,onScrollToFile:o,comments:d,reviewedFiles:s,onToggleReviewed:x}){const b=wb(r),M=R=>{if(!R.isDirectory||!R.children)return[];const C=[];return R.path&&C.push(R.path),R.children.forEach(z=>{C.push(...M(z))}),C},[B,A]=ae.useState(()=>new Set(M(b))),[p,v]=ae.useState(""),j=R=>d.filter(C=>C.file===R).length,Y=R=>{if(!p.trim())return R;if(R.isDirectory&&R.children){const C=R.children.map(z=>Y(z)).filter(z=>z!==null);return C.length>0?{...R,children:C}:null}else if(R.file)return R.file.path.toLowerCase().includes(p.toLowerCase())?R:null;return null},V=Y(b)||{...b,children:[]},T=R=>{switch(R){case"added":return y.jsx(Ld,{size:16,className:"text-github-accent"});case"deleted":return y.jsx(Hd,{size:16,className:"text-github-danger"});case"renamed":return y.jsx(Ud,{size:16,className:"text-github-warning"});default:return y.jsx(Bd,{size:16,className:"text-github-text-secondary"})}},w=R=>{A(C=>{const z=new Set(C);return z.has(R)?z.delete(R):z.add(R),z})},m=(R,C=0)=>{if(R.isDirectory&&R.children){const z=B.has(R.path);return y.jsxs("div",{children:[R.name&&y.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer",style:{paddingLeft:`${C*16+16}px`},onClick:()=>w(R.path),children:[z?y.jsx(jd,{size:16}):y.jsx(Cd,{size:16}),z?y.jsx(Wy,{size:16,className:"text-github-text-secondary"}):y.jsx(Py,{size:16,className:"text-github-text-secondary"}),y.jsx("span",{className:"text-sm text-github-text-primary font-medium flex-1 overflow-hidden text-ellipsis whitespace-nowrap",title:R.name,children:R.name})]}),(z||!R.name)&&R.children.map(Z=>m(Z,C+1))]},R.path)}else if(R.file){const z=j(R.file.path),Z=s.has(R.file.path);return y.jsxs("div",{className:`flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer transition-colors ${Z?"opacity-70":""}`,style:{paddingLeft:`${C*16+16}px`},onClick:()=>o(R.file.path),children:[y.jsx(Zd,{checked:Z,onChange:()=>{x(R.file.path)},title:Z?"Mark as not reviewed":"Mark as reviewed",className:"z-10"}),T(R.file.status),y.jsx("span",{className:`text-sm text-github-text-primary flex-1 overflow-hidden text-ellipsis whitespace-nowrap ${Z?"line-through text-github-text-muted":""}`,title:R.file.path,children:R.name}),z>0&&y.jsxs("span",{className:"bg-github-warning/20 text-github-warning text-xs px-1.5 py-0.5 rounded-full font-medium ml-auto flex items-center gap-1",children:[y.jsx(th,{size:12}),z]})]},R.file.path)}return null};return y.jsxs("div",{className:"h-full flex flex-col",children:[y.jsxs("div",{className:"px-4 py-3 border-b border-github-border bg-github-bg-tertiary",children:[y.jsxs("h3",{className:"text-sm font-semibold text-github-text-primary m-0 mb-3",children:["Files changed (",r.length,")"]}),y.jsxs("div",{className:"relative",children:[y.jsx(qd,{size:16,className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-github-text-muted"}),y.jsx("input",{type:"text",placeholder:"Filter files...",value:p,onChange:R=>v(R.target.value),className:"w-full pl-9 pr-3 py-2 text-sm bg-github-bg-primary border border-github-border rounded-md focus:outline-none focus:border-github-accent text-github-text-primary placeholder-github-text-muted"})]})]}),y.jsx("div",{className:"flex-1 overflow-y-auto",children:V.children&&V.children.map(R=>m(R))})]})}const Db={fontSize:14,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif',theme:"dark",syntaxTheme:"vsDark"},zb=[{name:"System Font",value:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif'},{name:"Menlo",value:'Menlo, Monaco, "Courier New", monospace'},{name:"SF Mono",value:'SF Mono, Consolas, "Liberation Mono", monospace'},{name:"Fira Code",value:'"Fira Code", "Courier New", monospace'},{name:"JetBrains Mono",value:'"JetBrains Mono", "Courier New", monospace'}];function Rb({isOpen:r,onClose:o,settings:d,onSettingsChange:s}){const[x,b]=ae.useState(d);ae.useEffect(()=>{b(d)},[d]),ae.useEffect(()=>{s(x)},[x,s]);const M=()=>x.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":x.theme,B=()=>M()==="light"?wd:Od,A=v=>{const j={...x,theme:v},V=(v==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":v)==="light"?wd:Od;if(!V.some(w=>w.id===x.syntaxTheme)&&V.length>0){const w=V[0];w&&(j.syntaxTheme=w.id)}b(j)},p=()=>{b(Db)};return r?y.jsx("div",{className:"fixed inset-0 flex items-center justify-center z-50 pointer-events-none",children:y.jsxs("div",{className:"bg-github-bg-secondary border border-github-border rounded-lg w-full max-w-md mx-4 pointer-events-auto",children:[y.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-github-border",children:[y.jsxs("h2",{className:"text-lg font-semibold text-github-text-primary flex items-center gap-2",children:[y.jsx(Gd,{size:20}),"Appearance Settings"]}),y.jsx("button",{onClick:o,className:"text-github-text-secondary hover:text-github-text-primary p-1",children:y.jsx(Yd,{size:18})})]}),y.jsxs("div",{className:"p-4 space-y-6",children:[y.jsxs("div",{children:[y.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Font Size"}),y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx("input",{type:"range",min:"10",max:"20",step:"1",value:x.fontSize,onChange:v=>b({...x,fontSize:parseInt(v.target.value)}),className:"flex-1 accent-github-accent"}),y.jsxs("span",{className:"text-sm text-github-text-secondary w-8 text-right",children:[x.fontSize,"px"]})]})]}),y.jsxs("div",{children:[y.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Font Family"}),y.jsx("select",{value:x.fontFamily,onChange:v=>b({...x,fontFamily:v.target.value}),className:"w-full p-2 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary text-sm",children:zb.map(v=>y.jsx("option",{value:v.value,children:v.name},v.value))})]}),y.jsxs("div",{children:[y.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Theme"}),y.jsx("div",{className:"flex gap-2",children:["light","dark","auto"].map(v=>y.jsx("button",{onClick:()=>A(v),className:`px-3 py-2 text-sm rounded border transition-colors ${x.theme===v?"bg-github-accent text-white border-github-accent":"bg-github-bg-tertiary text-github-text-secondary border-github-border hover:text-github-text-primary"}`,children:v.charAt(0).toUpperCase()+v.slice(1)},v))})]}),y.jsxs("div",{children:[y.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Syntax Highlighting Theme"}),y.jsx("select",{value:x.syntaxTheme,onChange:v=>b({...x,syntaxTheme:v.target.value}),className:"w-full p-2 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary text-sm",children:B().map(v=>y.jsx("option",{value:v.id,children:v.label},v.id))})]})]}),y.jsxs("div",{className:"flex items-center justify-between p-4 border-t border-github-border",children:[y.jsx("button",{onClick:p,className:"px-3 py-2 text-sm text-github-text-secondary hover:text-github-text-primary",children:"Reset to Default"}),y.jsx("button",{onClick:o,className:"px-4 py-2 text-sm bg-github-accent text-white rounded hover:bg-green-600",children:"Close"})]})]})}):null}const Dd={fontSize:14,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif',theme:"dark",syntaxTheme:"vsDark"},zd="reviewit-appearance-settings";function Mb(){const[r,o]=ae.useState(Dd);ae.useEffect(()=>{try{const x=localStorage.getItem(zd);if(x){const b=JSON.parse(x);o({...Dd,...b})}}catch(x){console.warn("Failed to load appearance settings from localStorage:",x)}},[]),ae.useEffect(()=>{const x=document.documentElement;if(x.style.setProperty("--app-font-size",`${r.fontSize}px`),x.style.setProperty("--app-font-family",r.fontFamily),r.theme==="auto"){const b=window.matchMedia("(prefers-color-scheme: dark)");d(b.matches?"dark":"light");const M=B=>{d(B.matches?"dark":"light")};return b.addEventListener("change",M),()=>b.removeEventListener("change",M)}else{d(r.theme);return}},[r]);const d=x=>{const b=document.documentElement;x==="light"?(b.style.setProperty("--color-github-bg-primary","#ffffff"),b.style.setProperty("--color-github-bg-secondary","#f6f8fa"),b.style.setProperty("--color-github-bg-tertiary","#f1f3f4"),b.style.setProperty("--color-github-border","#d1d9e0"),b.style.setProperty("--color-github-text-primary","#24292f"),b.style.setProperty("--color-github-text-secondary","#656d76"),b.style.setProperty("--color-github-text-muted","#8c959f"),b.style.setProperty("--color-github-accent","#1f883d"),b.style.setProperty("--color-github-danger","#cf222e"),b.style.setProperty("--color-github-warning","#bf8700"),b.style.setProperty("--color-diff-addition-bg","#d1f4cd"),b.style.setProperty("--color-diff-addition-border","#1f883d"),b.style.setProperty("--color-diff-deletion-bg","#ffd8d3"),b.style.setProperty("--color-diff-deletion-border","#cf222e"),b.style.setProperty("--color-diff-neutral-bg","#f1f3f4"),b.style.setProperty("--color-comment-bg","#fff8e1"),b.style.setProperty("--color-comment-border","#ffd54f"),b.style.setProperty("--color-comment-text","#5d4037"),b.style.setProperty("--color-yellow-btn-bg","#fef3c7"),b.style.setProperty("--color-yellow-btn-border","#f59e0b"),b.style.setProperty("--color-yellow-btn-text","#92400e"),b.style.setProperty("--color-yellow-btn-hover-bg","#fde68a"),b.style.setProperty("--color-yellow-btn-hover-border","#d97706"),b.style.setProperty("--color-yellow-path-bg","#fde68a"),b.style.setProperty("--color-yellow-path-text","#92400e")):(b.style.setProperty("--color-github-bg-primary","#0d1117"),b.style.setProperty("--color-github-bg-secondary","#161b22"),b.style.setProperty("--color-github-bg-tertiary","#21262d"),b.style.setProperty("--color-github-border","#30363d"),b.style.setProperty("--color-github-text-primary","#f0f6fc"),b.style.setProperty("--color-github-text-secondary","#8b949e"),b.style.setProperty("--color-github-text-muted","#6e7681"),b.style.setProperty("--color-github-accent","#238636"),b.style.setProperty("--color-github-danger","#da3633"),b.style.setProperty("--color-github-warning","#d29922"),b.style.setProperty("--color-diff-addition-bg","#0d4429"),b.style.setProperty("--color-diff-addition-border","#1b7c3d"),b.style.setProperty("--color-diff-deletion-bg","#67060c"),b.style.setProperty("--color-diff-deletion-border","#da3633"),b.style.setProperty("--color-diff-neutral-bg","#21262d"),b.style.setProperty("--color-comment-bg","#1c2128"),b.style.setProperty("--color-comment-border","#373e47"),b.style.setProperty("--color-comment-text","#e6edf3"),b.style.setProperty("--color-yellow-btn-bg","rgba(180, 83, 9, 0.2)"),b.style.setProperty("--color-yellow-btn-border","rgba(217, 119, 6, 0.5)"),b.style.setProperty("--color-yellow-btn-text","#fbbf24"),b.style.setProperty("--color-yellow-btn-hover-bg","rgba(180, 83, 9, 0.3)"),b.style.setProperty("--color-yellow-btn-hover-border","#d97706"),b.style.setProperty("--color-yellow-path-bg","rgba(180, 83, 9, 0.3)"),b.style.setProperty("--color-yellow-path-text","#fbbf24")),document.body.style.backgroundColor="var(--color-github-bg-primary)",document.body.style.color="var(--color-github-text-primary)"};return{settings:r,updateSettings:x=>{o(x);try{localStorage.setItem(zd,JSON.stringify(x))}catch(b){console.warn("Failed to save appearance settings to localStorage:",b)}}}}function jb(r){const[o,d]=ae.useState([]),s=r?`reviewit-comments-${r}`:"reviewit-comments";return ae.useEffect(()=>{const v=localStorage.getItem(s);if(v)try{d(JSON.parse(v))}catch(j){console.error("Failed to parse saved comments:",j)}},[s]),ae.useEffect(()=>{localStorage.setItem(s,JSON.stringify(o))},[o,s]),{comments:o,addComment:(v,j,Y,V)=>{console.log("Adding comment with codeContent:",V);const T={id:`${v}:${j}:${Date.now()}`,file:v,line:j,body:Y,timestamp:new Date().toISOString(),codeContent:V};return d(w=>[...w,T]),T},removeComment:v=>{d(j=>j.filter(Y=>Y.id!==v))},updateComment:(v,j)=>{d(Y=>Y.map(V=>V.id===v?{...V,body:j}:V))},clearAllComments:()=>{d([]),localStorage.removeItem(s)},generatePrompt:v=>`${v.file}:${v.line}
184
- ${v.body}`,generateAllCommentsPrompt:()=>o.length===0?"No comments available.":o.map(j=>`${j.file}:${j.line}
185
- ${j.body}`).join(`
186
- =====
187
- `)}}function Cb(){const[r,o]=ae.useState(null),[d,s]=ae.useState(new Set),[x,b]=ae.useState("side-by-side"),[M,B]=ae.useState(!0),[A,p]=ae.useState(!0),[v,j]=ae.useState(null),[Y,V]=ae.useState(!1),[T,w]=ae.useState(320),[m,R]=ae.useState(!1),{settings:C,updateSettings:z}=Mb(),{comments:Z,addComment:K,removeComment:le,updateComment:ne,generatePrompt:fe,generateAllCommentsPrompt:me}=jb(r?.commit),_e=E=>{E.preventDefault();const G=E.clientX,Q=T,ue=q=>{const F=Math.max(200,Math.min(600,Q+(q.clientX-G)));w(F)},g=()=>{document.removeEventListener("mousemove",ue),document.removeEventListener("mouseup",g)};document.addEventListener("mousemove",ue),document.addEventListener("mouseup",g)};ae.useEffect(()=>{pe()},[M]),ae.useEffect(()=>{const E=()=>{if(Z.length>0){const G=JSON.stringify({comments:Z});navigator.sendBeacon("/api/comments",G)}};return window.addEventListener("beforeunload",E),()=>{window.removeEventListener("beforeunload",E),E()}},[Z]),ae.useEffect(()=>{const E=new EventSource("/api/heartbeat");return E.onopen=()=>{console.log("Connected to server heartbeat")},E.onerror=()=>{console.log("Server connection lost"),E.close()},()=>{E.close()}},[]);const De=E=>{const G=["pnpm-lock.yaml","package-lock.json","yarn.lock","Cargo.lock","Gemfile.lock","composer.lock","Pipfile.lock","poetry.lock","go.sum","mix.lock"],Q=E.split("/").pop()||"";return G.includes(Q)},pe=async()=>{try{const E=await fetch(`/api/diff?ignoreWhitespace=${M}`);if(!E.ok)throw new Error("Failed to fetch diff data");const G=await E.json();o(G),G.mode&&b(G.mode);const Q=G.files.filter(ue=>De(ue.path)).map(ue=>ue.path);Q.length>0&&s(ue=>new Set([...ue,...Q]))}catch(E){j(E instanceof Error?E.message:"Unknown error")}finally{p(!1)}},yt=(E,G,Q,ue)=>(K(E,G,Q,ue),Promise.resolve()),Ne=async()=>{try{const E=me();await navigator.clipboard.writeText(E),V(!0),setTimeout(()=>V(!1),2e3)}catch(E){console.error("Failed to copy all comments prompt:",E)}},be=E=>{s(G=>{const Q=new Set(G);return Q.has(E)?Q.delete(E):(Q.add(E),setTimeout(()=>{const g=document.getElementById(`file-${E.replace(/[^a-zA-Z0-9]/g,"-")}`);g&&g.scrollIntoView({behavior:"instant",block:"start"})},100)),Q})};return A?y.jsx("div",{className:"flex items-center justify-center h-screen bg-github-bg-primary",children:y.jsx("div",{className:"text-github-text-secondary text-base",children:"Loading diff..."})}):v?y.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[y.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"Error"}),y.jsx("p",{className:"text-github-text-secondary text-base",children:v})]}):r?y.jsxs("div",{className:"h-screen flex flex-col",children:[y.jsxs("header",{className:"bg-github-bg-secondary border-b border-github-border flex items-center",children:[y.jsxs("div",{className:"px-4 py-3 border-r border-github-border flex items-center justify-between",style:{width:`${T}px`,minWidth:"200px",maxWidth:"600px"},children:[y.jsxs("h1",{className:"text-lg font-semibold text-github-text-primary m-0 flex items-center gap-2",children:[y.jsx(qd,{size:18}),"ReviewIt"]}),y.jsx("button",{onClick:()=>R(!0),className:"p-2 text-github-text-secondary hover:text-github-text-primary hover:bg-github-bg-tertiary rounded transition-colors",title:"Appearance Settings",children:y.jsx(Gd,{size:18})})]}),y.jsx("div",{className:"w-1"}),y.jsxs("div",{className:"flex-1 px-4 py-3 flex items-center justify-between gap-4",children:[y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsxs("div",{className:"flex bg-github-bg-tertiary border border-github-border rounded-md p-1",children:[y.jsxs("button",{onClick:()=>b("side-by-side"),className:`px-3 py-1.5 text-xs font-medium rounded transition-all duration-200 flex items-center gap-1.5 cursor-pointer ${x==="side-by-side"?"bg-github-bg-primary text-github-text-primary shadow-sm":"text-github-text-secondary hover:text-github-text-primary"}`,children:[y.jsx(Xy,{size:14}),"Side by Side"]}),y.jsxs("button",{onClick:()=>b("inline"),className:`px-3 py-1.5 text-xs font-medium rounded transition-all duration-200 flex items-center gap-1.5 cursor-pointer ${x==="inline"?"bg-github-bg-primary text-github-text-primary shadow-sm":"text-github-text-secondary hover:text-github-text-primary"}`,children:[y.jsx(Hy,{size:14}),"Inline"]})]}),y.jsx(Zd,{checked:M,onChange:B,label:"Ignore Whitespace",title:M?"Show whitespace changes":"Ignore whitespace changes"})]}),y.jsxs("div",{className:"flex items-center gap-4 text-sm text-github-text-secondary",children:[Z.length>0&&y.jsxs("button",{onClick:Ne,className:"text-xs px-3 py-1.5 rounded transition-all whitespace-nowrap flex items-center gap-1.5",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",border:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:E=>{E.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",E.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:E=>{E.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",E.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},title:`Copy all ${Z.length} comments to Claude Code`,children:[y.jsx(kd,{size:12}),Y?"Copied All!":`Copy All Prompt (${Z.length})`]}),y.jsxs("span",{children:["Reviewing:"," ",y.jsx("code",{className:"bg-github-bg-tertiary px-1.5 py-0.5 rounded text-xs text-github-text-primary",children:r.commit.includes("...")?y.jsxs(y.Fragment,{children:[y.jsxs("span",{className:"text-github-text-secondary font-medium",children:[r.commit.split("...")[0],"..."]}),y.jsx("span",{className:"font-medium",children:r.commit.split("...")[1]})]}):r.commit})]}),y.jsxs("span",{children:[r.files.length," file",r.files.length!==1?"s":""," changed"]})]})]})]}),y.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[y.jsx("aside",{className:"bg-github-bg-secondary border-r border-github-border overflow-y-auto",style:{width:`${T}px`,minWidth:"200px",maxWidth:"600px"},children:y.jsx(Ob,{files:r.files,onScrollToFile:E=>{const G=document.getElementById(`file-${E.replace(/[^a-zA-Z0-9]/g,"-")}`);G&&G.scrollIntoView({behavior:"smooth",block:"start"})},comments:Z,reviewedFiles:d,onToggleReviewed:be})}),y.jsx("div",{className:"w-1 bg-github-border hover:bg-github-text-muted cursor-col-resize transition-colors",onMouseDown:_e,title:"Drag to resize file list"}),y.jsx("main",{className:"flex-1 overflow-y-auto",children:r.files.map(E=>y.jsx("div",{id:`file-${E.path.replace(/[^a-zA-Z0-9]/g,"-")}`,className:"mb-6",children:y.jsx(Nb,{file:E,comments:Z.filter(G=>G.file===E.path),diffMode:x,reviewedFiles:d,onToggleReviewed:be,onAddComment:yt,onGeneratePrompt:fe,onRemoveComment:le,onUpdateComment:ne,syntaxTheme:C.syntaxTheme})},E.path))})]}),y.jsx(Rb,{isOpen:m,onClose:()=>R(!1),settings:C,onSettingsChange:z})]}):y.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[y.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"No data"}),y.jsx("p",{className:"text-github-text-secondary text-base",children:"No diff data available"})]})}My.createRoot(document.getElementById("root")).render(y.jsx(pc.StrictMode,{children:y.jsx(Cb,{})}));export{Rd as g};