difit 2.0.10 → 2.0.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.
- package/README.ja.md +177 -0
- package/README.ko.md +177 -0
- package/README.md +45 -43
- package/README.zh.md +177 -0
- package/dist/cli/utils.js +16 -1
- package/dist/client/assets/index-B6vRltPu.css +1 -0
- package/dist/client/assets/index-CjocZrF8.js +200 -0
- package/dist/client/assets/{prism-csharp-68c6WkNx.js → prism-csharp-Dc46Fjt0.js} +1 -1
- package/dist/client/assets/{prism-java-C8EIlB8E.js → prism-java-CqBdPW_L.js} +1 -1
- package/dist/client/assets/{prism-php-DHZyM8JV.js → prism-php-BLhwjsTl.js} +1 -1
- package/dist/client/assets/{prism-ruby-MnFNFfyf.js → prism-ruby-ExhPumJe.js} +1 -1
- package/dist/client/assets/{prism-solidity-CIeB0O-m.js → prism-solidity-BCgmGzF-.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -2
- package/dist/client/assets/index-DMBW6MaM.css +0 -1
- package/dist/client/assets/index-EuLpHPLj.js +0 -200
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))c(x);new MutationObserver(x=>{for(const v of x)if(v.type==="childList")for(const O of v.addedNodes)O.tagName==="LINK"&&O.rel==="modulepreload"&&c(O)}).observe(document,{childList:!0,subtree:!0});function g(x){const v={};return x.integrity&&(v.integrity=x.integrity),x.referrerPolicy&&(v.referrerPolicy=x.referrerPolicy),x.crossOrigin==="use-credentials"?v.credentials="include":x.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function c(x){if(x.ep)return;x.ep=!0;const v=g(x);fetch(x.href,v)}})();function Md(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var ss={exports:{}},Tn={};/**
|
|
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 dd;function wy(){if(dd)return Tn;dd=1;var i=Symbol.for("react.transitional.element"),f=Symbol.for("react.fragment");function g(c,x,v){var O=null;if(v!==void 0&&(O=""+v),x.key!==void 0&&(O=""+x.key),"key"in x){v={};for(var D in x)D!=="key"&&(v[D]=x[D])}else v=x;return x=v.ref,{$$typeof:i,type:c,key:O,ref:x!==void 0?x:null,props:v}}return Tn.Fragment=f,Tn.jsx=g,Tn.jsxs=g,Tn}var gd;function Cy(){return gd||(gd=1,ss.exports=wy()),ss.exports}var o=Cy(),cs={exports:{}},pe={};/**
|
|
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 pd;function Oy(){if(pd)return pe;pd=1;var i=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),O=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),w=Symbol.iterator;function Y(y){return y===null||typeof y!="object"?null:(y=w&&y[w]||y["@@iterator"],typeof y=="function"?y:null)}var Z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,N={};function R(y,q,J){this.props=y,this.context=q,this.refs=N,this.updater=J||Z}R.prototype.isReactComponent={},R.prototype.setState=function(y,q){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,q,"setState")},R.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function E(){}E.prototype=R.prototype;function z(y,q,J){this.props=y,this.context=q,this.refs=N,this.updater=J||Z}var H=z.prototype=new E;H.constructor=z,m(H,R.prototype),H.isPureReactComponent=!0;var P=Array.isArray,F={H:null,A:null,T:null,S:null,V:null},de=Object.prototype.hasOwnProperty;function oe(y,q,J,Q,te,be){return J=be.ref,{$$typeof:i,type:y,key:q,ref:J!==void 0?J:null,props:be}}function K(y,q){return oe(y.type,q,void 0,void 0,void 0,y.props)}function M(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function fe(y){var q={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(J){return q[J]})}var ae=/\/+/g;function $(y,q){return typeof y=="object"&&y!==null&&y.key!=null?fe(""+y.key):q.toString(36)}function ne(){}function ue(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(ne,ne):(y.status="pending",y.then(function(q){y.status==="pending"&&(y.status="fulfilled",y.value=q)},function(q){y.status==="pending"&&(y.status="rejected",y.reason=q)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function se(y,q,J,Q,te){var be=typeof y;(be==="undefined"||be==="boolean")&&(y=null);var X=!1;if(y===null)X=!0;else switch(be){case"bigint":case"string":case"number":X=!0;break;case"object":switch(y.$$typeof){case i:case f:X=!0;break;case h:return X=y._init,se(X(y._payload),q,J,Q,te)}}if(X)return te=te(y),X=Q===""?"."+$(y,0):Q,P(te)?(J="",X!=null&&(J=X.replace(ae,"$&/")+"/"),se(te,q,J,"",function(De){return De})):te!=null&&(M(te)&&(te=K(te,J+(te.key==null||y&&y.key===te.key?"":(""+te.key).replace(ae,"$&/")+"/")+X)),q.push(te)),1;X=0;var me=Q===""?".":Q+":";if(P(y))for(var ye=0;ye<y.length;ye++)Q=y[ye],be=me+$(Q,ye),X+=se(Q,q,J,be,te);else if(ye=Y(y),typeof ye=="function")for(y=ye.call(y),ye=0;!(Q=y.next()).done;)Q=Q.value,be=me+$(Q,ye++),X+=se(Q,q,J,be,te);else if(be==="object"){if(typeof y.then=="function")return se(ue(y),q,J,Q,te);throw q=String(y),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return X}function k(y,q,J){if(y==null)return y;var Q=[],te=0;return se(y,Q,"","",function(be){return q.call(J,be,te++)}),Q}function V(y){if(y._status===-1){var q=y._result;q=q(),q.then(function(J){(y._status===0||y._status===-1)&&(y._status=1,y._result=J)},function(J){(y._status===0||y._status===-1)&&(y._status=2,y._result=J)}),y._status===-1&&(y._status=0,y._result=q)}if(y._status===1)return y._result.default;throw y._result}var I=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)};function ge(){}return pe.Children={map:k,forEach:function(y,q,J){k(y,function(){q.apply(this,arguments)},J)},count:function(y){var q=0;return k(y,function(){q++}),q},toArray:function(y){return k(y,function(q){return q})||[]},only:function(y){if(!M(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},pe.Component=R,pe.Fragment=g,pe.Profiler=x,pe.PureComponent=z,pe.StrictMode=c,pe.Suspense=S,pe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,pe.__COMPILER_RUNTIME={__proto__:null,c:function(y){return F.H.useMemoCache(y)}},pe.cache=function(y){return function(){return y.apply(null,arguments)}},pe.cloneElement=function(y,q,J){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var Q=m({},y.props),te=y.key,be=void 0;if(q!=null)for(X in q.ref!==void 0&&(be=void 0),q.key!==void 0&&(te=""+q.key),q)!de.call(q,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&q.ref===void 0||(Q[X]=q[X]);var X=arguments.length-2;if(X===1)Q.children=J;else if(1<X){for(var me=Array(X),ye=0;ye<X;ye++)me[ye]=arguments[ye+2];Q.children=me}return oe(y.type,te,void 0,void 0,be,Q)},pe.createContext=function(y){return y={$$typeof:O,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:v,_context:y},y},pe.createElement=function(y,q,J){var Q,te={},be=null;if(q!=null)for(Q in q.key!==void 0&&(be=""+q.key),q)de.call(q,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(te[Q]=q[Q]);var X=arguments.length-2;if(X===1)te.children=J;else if(1<X){for(var me=Array(X),ye=0;ye<X;ye++)me[ye]=arguments[ye+2];te.children=me}if(y&&y.defaultProps)for(Q in X=y.defaultProps,X)te[Q]===void 0&&(te[Q]=X[Q]);return oe(y,be,void 0,void 0,null,te)},pe.createRef=function(){return{current:null}},pe.forwardRef=function(y){return{$$typeof:D,render:y}},pe.isValidElement=M,pe.lazy=function(y){return{$$typeof:h,_payload:{_status:-1,_result:y},_init:V}},pe.memo=function(y,q){return{$$typeof:d,type:y,compare:q===void 0?null:q}},pe.startTransition=function(y){var q=F.T,J={};F.T=J;try{var Q=y(),te=F.S;te!==null&&te(J,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(ge,I)}catch(be){I(be)}finally{F.T=q}},pe.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},pe.use=function(y){return F.H.use(y)},pe.useActionState=function(y,q,J){return F.H.useActionState(y,q,J)},pe.useCallback=function(y,q){return F.H.useCallback(y,q)},pe.useContext=function(y){return F.H.useContext(y)},pe.useDebugValue=function(){},pe.useDeferredValue=function(y,q){return F.H.useDeferredValue(y,q)},pe.useEffect=function(y,q,J){var Q=F.H;if(typeof J=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Q.useEffect(y,q)},pe.useId=function(){return F.H.useId()},pe.useImperativeHandle=function(y,q,J){return F.H.useImperativeHandle(y,q,J)},pe.useInsertionEffect=function(y,q){return F.H.useInsertionEffect(y,q)},pe.useLayoutEffect=function(y,q){return F.H.useLayoutEffect(y,q)},pe.useMemo=function(y,q){return F.H.useMemo(y,q)},pe.useOptimistic=function(y,q){return F.H.useOptimistic(y,q)},pe.useReducer=function(y,q,J){return F.H.useReducer(y,q,J)},pe.useRef=function(y){return F.H.useRef(y)},pe.useState=function(y){return F.H.useState(y)},pe.useSyncExternalStore=function(y,q,J){return F.H.useSyncExternalStore(y,q,J)},pe.useTransition=function(){return F.H.useTransition()},pe.version="19.1.0",pe}var yd;function ys(){return yd||(yd=1,cs.exports=Oy()),cs.exports}var W=ys();const On=Md(W);var os={exports:{}},wn={},fs={exports:{}},ds={};/**
|
|
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 hd;function zy(){return hd||(hd=1,function(i){function f(k,V){var I=k.length;k.push(V);e:for(;0<I;){var ge=I-1>>>1,y=k[ge];if(0<x(y,V))k[ge]=V,k[I]=y,I=ge;else break e}}function g(k){return k.length===0?null:k[0]}function c(k){if(k.length===0)return null;var V=k[0],I=k.pop();if(I!==V){k[0]=I;e:for(var ge=0,y=k.length,q=y>>>1;ge<q;){var J=2*(ge+1)-1,Q=k[J],te=J+1,be=k[te];if(0>x(Q,I))te<y&&0>x(be,Q)?(k[ge]=be,k[te]=I,ge=te):(k[ge]=Q,k[J]=I,ge=J);else if(te<y&&0>x(be,I))k[ge]=be,k[te]=I,ge=te;else break e}}return V}function x(k,V){var I=k.sortIndex-V.sortIndex;return I!==0?I:k.id-V.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;i.unstable_now=function(){return v.now()}}else{var O=Date,D=O.now();i.unstable_now=function(){return O.now()-D}}var S=[],d=[],h=1,w=null,Y=3,Z=!1,m=!1,N=!1,R=!1,E=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function P(k){for(var V=g(d);V!==null;){if(V.callback===null)c(d);else if(V.startTime<=k)c(d),V.sortIndex=V.expirationTime,f(S,V);else break;V=g(d)}}function F(k){if(N=!1,P(k),!m)if(g(S)!==null)m=!0,de||(de=!0,$());else{var V=g(d);V!==null&&se(F,V.startTime-k)}}var de=!1,oe=-1,K=5,M=-1;function fe(){return R?!0:!(i.unstable_now()-M<K)}function ae(){if(R=!1,de){var k=i.unstable_now();M=k;var V=!0;try{e:{m=!1,N&&(N=!1,z(oe),oe=-1),Z=!0;var I=Y;try{t:{for(P(k),w=g(S);w!==null&&!(w.expirationTime>k&&fe());){var ge=w.callback;if(typeof ge=="function"){w.callback=null,Y=w.priorityLevel;var y=ge(w.expirationTime<=k);if(k=i.unstable_now(),typeof y=="function"){w.callback=y,P(k),V=!0;break t}w===g(S)&&c(S),P(k)}else c(S);w=g(S)}if(w!==null)V=!0;else{var q=g(d);q!==null&&se(F,q.startTime-k),V=!1}}break e}finally{w=null,Y=I,Z=!1}V=void 0}}finally{V?$():de=!1}}}var $;if(typeof H=="function")$=function(){H(ae)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,ue=ne.port2;ne.port1.onmessage=ae,$=function(){ue.postMessage(null)}}else $=function(){E(ae,0)};function se(k,V){oe=E(function(){k(i.unstable_now())},V)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(k){k.callback=null},i.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<k?Math.floor(1e3/k):5},i.unstable_getCurrentPriorityLevel=function(){return Y},i.unstable_next=function(k){switch(Y){case 1:case 2:case 3:var V=3;break;default:V=Y}var I=Y;Y=V;try{return k()}finally{Y=I}},i.unstable_requestPaint=function(){R=!0},i.unstable_runWithPriority=function(k,V){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var I=Y;Y=k;try{return V()}finally{Y=I}},i.unstable_scheduleCallback=function(k,V,I){var ge=i.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?ge+I:ge):I=ge,k){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=I+y,k={id:h++,callback:V,priorityLevel:k,startTime:I,expirationTime:y,sortIndex:-1},I>ge?(k.sortIndex=I,f(d,k),g(S)===null&&k===g(d)&&(N?(z(oe),oe=-1):N=!0,se(F,I-ge))):(k.sortIndex=y,f(S,k),m||Z||(m=!0,de||(de=!0,$()))),k},i.unstable_shouldYield=fe,i.unstable_wrapCallback=function(k){var V=Y;return function(){var I=Y;Y=V;try{return k.apply(this,arguments)}finally{Y=I}}}}(ds)),ds}var bd;function jy(){return bd||(bd=1,fs.exports=zy()),fs.exports}var gs={exports:{}},Pe={};/**
|
|
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 md;function Dy(){if(md)return Pe;md=1;var i=ys();function f(S){var d="https://react.dev/errors/"+S;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)d+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+S+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(){}var c={d:{f:g,r:function(){throw Error(f(522))},D:g,C:g,L:g,m:g,X:g,S:g,M:g},p:0,findDOMNode:null},x=Symbol.for("react.portal");function v(S,d,h){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:x,key:w==null?null:""+w,children:S,containerInfo:d,implementation:h}}var O=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function D(S,d){if(S==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return Pe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Pe.createPortal=function(S,d){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(f(299));return v(S,d,null,h)},Pe.flushSync=function(S){var d=O.T,h=c.p;try{if(O.T=null,c.p=2,S)return S()}finally{O.T=d,c.p=h,c.d.f()}},Pe.preconnect=function(S,d){typeof S=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,c.d.C(S,d))},Pe.prefetchDNS=function(S){typeof S=="string"&&c.d.D(S)},Pe.preinit=function(S,d){if(typeof S=="string"&&d&&typeof d.as=="string"){var h=d.as,w=D(h,d.crossOrigin),Y=typeof d.integrity=="string"?d.integrity:void 0,Z=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;h==="style"?c.d.S(S,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:w,integrity:Y,fetchPriority:Z}):h==="script"&&c.d.X(S,{crossOrigin:w,integrity:Y,fetchPriority:Z,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},Pe.preinitModule=function(S,d){if(typeof S=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var h=D(d.as,d.crossOrigin);c.d.M(S,{crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&c.d.M(S)},Pe.preload=function(S,d){if(typeof S=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var h=d.as,w=D(h,d.crossOrigin);c.d.L(S,h,{crossOrigin:w,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},Pe.preloadModule=function(S,d){if(typeof S=="string")if(d){var h=D(d.as,d.crossOrigin);c.d.m(S,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:h,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else c.d.m(S)},Pe.requestFormReset=function(S){c.d.r(S)},Pe.unstable_batchedUpdates=function(S,d){return S(d)},Pe.useFormState=function(S,d,h){return O.H.useFormState(S,d,h)},Pe.useFormStatus=function(){return O.H.useHostTransitionStatus()},Pe.version="19.1.0",Pe}var vd;function Ry(){if(vd)return gs.exports;vd=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(f){console.error(f)}}return i(),gs.exports=Dy(),gs.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 xd;function My(){if(xd)return wn;xd=1;var i=jy(),f=ys(),g=Ry();function c(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 v(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 O(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 D(e){if(v(e)!==e)throw Error(c(188))}function S(e){var t=e.alternate;if(!t){if(t=v(e),t===null)throw Error(c(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 D(n),e;if(u===a)return D(n),t;u=u.sibling}throw Error(c(188))}if(l.return!==a.return)l=n,a=u;else{for(var r=!1,s=n.child;s;){if(s===l){r=!0,l=n,a=u;break}if(s===a){r=!0,a=n,l=u;break}s=s.sibling}if(!r){for(s=u.child;s;){if(s===l){r=!0,l=u,a=n;break}if(s===a){r=!0,a=u,l=n;break}s=s.sibling}if(!r)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var h=Object.assign,w=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),Z=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),z=Symbol.for("react.consumer"),H=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),fe=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function $(e){return e===null||typeof e!="object"?null:(e=ae&&e[ae]||e["@@iterator"],typeof e=="function"?e:null)}var ne=Symbol.for("react.client.reference");function ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case R:return"Profiler";case N:return"StrictMode";case F:return"Suspense";case de:return"SuspenseList";case M:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Z:return"Portal";case H:return(e.displayName||"Context")+".Provider";case z:return(e._context.displayName||"Context")+".Consumer";case P:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oe:return t=e.displayName||null,t!==null?t:ue(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var se=Array.isArray,k=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=g.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},ge=[],y=-1;function q(e){return{current:e}}function J(e){0>y||(e.current=ge[y],ge[y]=null,y--)}function Q(e,t){y++,ge[y]=e.current,e.current=t}var te=q(null),be=q(null),X=q(null),me=q(null);function ye(e,t){switch(Q(X,t),Q(be,e),Q(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qf(t),e=Gf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}J(te),Q(te,e)}function De(){J(te),J(be),J(X)}function Ut(e){e.memoizedState!==null&&Q(me,e);var t=te.current,l=Gf(t,e.type);t!==l&&(Q(be,e),Q(te,l))}function Gl(e){be.current===e&&(J(te),J(be)),me.current===e&&(J(me),Sn._currentValue=I)}var wa=Object.prototype.hasOwnProperty,$u=i.unstable_scheduleCallback,Ju=i.unstable_cancelCallback,ug=i.unstable_shouldYield,ig=i.unstable_requestPaint,zt=i.unstable_now,rg=i.unstable_getCurrentPriorityLevel,ms=i.unstable_ImmediatePriority,vs=i.unstable_UserBlockingPriority,zn=i.unstable_NormalPriority,sg=i.unstable_LowPriority,xs=i.unstable_IdlePriority,cg=i.log,og=i.unstable_setDisableYieldValue,Ca=null,it=null;function Pt(e){if(typeof cg=="function"&&og(e),it&&typeof it.setStrictMode=="function")try{it.setStrictMode(Ca,e)}catch{}}var rt=Math.clz32?Math.clz32:gg,fg=Math.log,dg=Math.LN2;function gg(e){return e>>>=0,e===0?32:31-(fg(e)/dg|0)|0}var jn=256,Dn=4194304;function Al(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 Rn(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=Al(a):(r&=s,r!==0?n=Al(r):l||(l=s&~e,l!==0&&(n=Al(l))))):(s=a&~u,s!==0?n=Al(s):r!==0?n=Al(r):l||(l=a&~e,l!==0&&(n=Al(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 Oa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function pg(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 Ss(){var e=jn;return jn<<=1,(jn&4194048)===0&&(jn=256),e}function Es(){var e=Dn;return Dn<<=1,(Dn&62914560)===0&&(Dn=4194304),e}function Wu(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function za(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yg(e,t,l,a,n,u){var r=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var s=e.entanglements,p=e.expirationTimes,T=e.hiddenUpdates;for(l=r&~l;0<l;){var L=31-rt(l),G=1<<L;s[L]=0,p[L]=-1;var C=T[L];if(C!==null)for(T[L]=null,L=0;L<C.length;L++){var j=C[L];j!==null&&(j.lane&=-536870913)}l&=~G}a!==0&&As(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(r&~t))}function As(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-rt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function Ns(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-rt(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Iu(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 Pu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function _s(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:id(e.type))}function hg(e,t){var l=V.p;try{return V.p=e,t()}finally{V.p=l}}var el=Math.random().toString(36).slice(2),We="__reactFiber$"+el,tt="__reactProps$"+el,Yl="__reactContainer$"+el,ei="__reactEvents$"+el,bg="__reactListeners$"+el,mg="__reactHandles$"+el,Ts="__reactResources$"+el,ja="__reactMarker$"+el;function ti(e){delete e[We],delete e[tt],delete e[ei],delete e[bg],delete e[mg]}function Zl(e){var t=e[We];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Yl]||l[We]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Vf(e);e!==null;){if(l=e[We])return l;e=Vf(e)}return t}e=l,l=e.parentNode}return null}function Xl(e){if(e=e[We]||e[Yl]){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(c(33))}function Vl(e){var t=e[Ts];return t||(t=e[Ts]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Xe(e){e[ja]=!0}var ws=new Set,Cs={};function Nl(e,t){Ql(e,t),Ql(e+"Capture",t)}function Ql(e,t){for(Cs[e]=t,e=0;e<t.length;e++)ws.add(t[e])}var vg=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]*$"),Os={},zs={};function xg(e){return wa.call(zs,e)?!0:wa.call(Os,e)?!1:vg.test(e)?zs[e]=!0:(Os[e]=!0,!1)}function Mn(e,t,l){if(xg(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 kn(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 Bt(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 li,js;function Fl(e){if(li===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);li=t&&t[1]||"",js=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+li+e+js}var ai=!1;function ni(e,t){if(!e||ai)return"";ai=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(j){var C=j}Reflect.construct(e,[],G)}else{try{G.call()}catch(j){C=j}e.call(G.prototype)}}else{try{throw Error()}catch(j){C=j}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(j){if(j&&C&&typeof j.stack=="string")return[j.stack,C.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(),r=u[0],s=u[1];if(r&&s){var p=r.split(`
|
|
44
|
-
`),T=s.split(`
|
|
45
|
-
`);for(n=a=0;a<p.length&&!p[a].includes("DetermineComponentFrameRoot");)a++;for(;n<T.length&&!T[n].includes("DetermineComponentFrameRoot");)n++;if(a===p.length||n===T.length)for(a=p.length-1,n=T.length-1;1<=a&&0<=n&&p[a]!==T[n];)n--;for(;1<=a&&0<=n;a--,n--)if(p[a]!==T[n]){if(a!==1||n!==1)do if(a--,n--,0>n||p[a]!==T[n]){var L=`
|
|
46
|
-
`+p[a].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=a&&0<=n);break}}}finally{ai=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Fl(l):""}function Sg(e){switch(e.tag){case 26:case 27:case 5:return Fl(e.type);case 16:return Fl("Lazy");case 13:return Fl("Suspense");case 19:return Fl("SuspenseList");case 0:case 15:return ni(e.type,!1);case 11:return ni(e.type.render,!1);case 1:return ni(e.type,!0);case 31:return Fl("Activity");default:return""}}function Ds(e){try{var t="";do t+=Sg(e),e=e.return;while(e);return t}catch(l){return`
|
|
47
|
-
Error generating stack: `+l.message+`
|
|
48
|
-
`+l.stack}}function mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Eg(e){var t=Rs(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(r){a=""+r,u.call(this,r)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(r){a=""+r},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ln(e){e._valueTracker||(e._valueTracker=Eg(e))}function Ms(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=Rs(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Un(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 Ag=/[\n"\\]/g;function vt(e){return e.replace(Ag,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ui(e,t,l,a,n,u,r,s){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+mt(t)):e.value!==""+mt(t)&&(e.value=""+mt(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?ii(e,r,mt(t)):l!=null?ii(e,r,mt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+mt(s):e.removeAttribute("name")}function ks(e,t,l,a,n,u,r,s){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?""+mt(l):"",t=t!=null?""+mt(t):l,s||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r)}function ii(e,t,l){t==="number"&&Un(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Kl(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=""+mt(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 Ls(e,t,l){if(t!=null&&(t=""+mt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+mt(l):""}function Us(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(se(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=mt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function $l(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var Ng=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 Bs(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||Ng.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Hs(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(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&&Bs(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Bs(e,u,t[u])}function ri(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 _g=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"]]),Tg=/^[\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 Bn(e){return Tg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var si=null;function ci(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jl=null,Wl=null;function qs(e){var t=Xl(e);if(t&&(e=t.stateNode)){var l=e[tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ui(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="'+vt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[tt]||null;if(!n)throw Error(c(90));ui(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&&Ms(a)}break e;case"textarea":Ls(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Kl(e,!!l.multiple,t,!1)}}}var oi=!1;function Gs(e,t,l){if(oi)return e(t,l);oi=!0;try{var a=e(t);return a}finally{if(oi=!1,(Jl!==null||Wl!==null)&&(Au(),Jl&&(t=Jl,e=Wl,Wl=Jl=null,qs(t),e)))for(t=0;t<e.length;t++)qs(e[t])}}function Ra(e,t){var l=e.stateNode;if(l===null)return null;var a=l[tt]||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(c(231,t,typeof l));return l}var Ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fi=!1;if(Ht)try{var Ma={};Object.defineProperty(Ma,"passive",{get:function(){fi=!0}}),window.addEventListener("test",Ma,Ma),window.removeEventListener("test",Ma,Ma)}catch{fi=!1}var tl=null,di=null,Hn=null;function Ys(){if(Hn)return Hn;var e,t=di,l=t.length,a,n="value"in tl?tl.value:tl.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var r=l-e;for(a=1;a<=r&&t[l-a]===n[u-a];a++);return Hn=n.slice(e,1<a?1-a:void 0)}function qn(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 Gn(){return!0}function Zs(){return!1}function lt(e){function t(l,a,n,u,r){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=r,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(l=e[s],this[s]=l?l(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Gn:Zs,this.isPropagationStopped=Zs,this}return h(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=Gn)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Gn)},persist:function(){},isPersistent:Gn}),t}var _l={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yn=lt(_l),ka=h({},_l,{view:0,detail:0}),wg=lt(ka),gi,pi,La,Zn=h({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hi,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!==La&&(La&&e.type==="mousemove"?(gi=e.screenX-La.screenX,pi=e.screenY-La.screenY):pi=gi=0,La=e),gi)},movementY:function(e){return"movementY"in e?e.movementY:pi}}),Xs=lt(Zn),Cg=h({},Zn,{dataTransfer:0}),Og=lt(Cg),zg=h({},ka,{relatedTarget:0}),yi=lt(zg),jg=h({},_l,{animationName:0,elapsedTime:0,pseudoElement:0}),Dg=lt(jg),Rg=h({},_l,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mg=lt(Rg),kg=h({},_l,{data:0}),Vs=lt(kg),Lg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ug={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"},Bg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Bg[e])?!!t[e]:!1}function hi(){return Hg}var qg=h({},ka,{key:function(e){if(e.key){var t=Lg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qn(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ug[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hi,charCode:function(e){return e.type==="keypress"?qn(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qn(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gg=lt(qg),Yg=h({},Zn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qs=lt(Yg),Zg=h({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hi}),Xg=lt(Zg),Vg=h({},_l,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qg=lt(Vg),Fg=h({},Zn,{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}),Kg=lt(Fg),$g=h({},_l,{newState:0,oldState:0}),Jg=lt($g),Wg=[9,13,27,32],bi=Ht&&"CompositionEvent"in window,Ua=null;Ht&&"documentMode"in document&&(Ua=document.documentMode);var Ig=Ht&&"TextEvent"in window&&!Ua,Fs=Ht&&(!bi||Ua&&8<Ua&&11>=Ua),Ks=" ",$s=!1;function Js(e,t){switch(e){case"keyup":return Wg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ws(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Il=!1;function Pg(e,t){switch(e){case"compositionend":return Ws(t);case"keypress":return t.which!==32?null:($s=!0,Ks);case"textInput":return e=t.data,e===Ks&&$s?null:e;default:return null}}function ep(e,t){if(Il)return e==="compositionend"||!bi&&Js(e,t)?(e=Ys(),Hn=di=tl=null,Il=!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 Fs&&t.locale!=="ko"?null:t.data;default:return null}}var tp={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 Is(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!tp[e.type]:t==="textarea"}function Ps(e,t,l,a){Jl?Wl?Wl.push(a):Wl=[a]:Jl=a,t=Ou(t,"onChange"),0<t.length&&(l=new Yn("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Ba=null,Ha=null;function lp(e){kf(e,0)}function Xn(e){var t=Da(e);if(Ms(t))return e}function ec(e,t){if(e==="change")return t}var tc=!1;if(Ht){var mi;if(Ht){var vi="oninput"in document;if(!vi){var lc=document.createElement("div");lc.setAttribute("oninput","return;"),vi=typeof lc.oninput=="function"}mi=vi}else mi=!1;tc=mi&&(!document.documentMode||9<document.documentMode)}function ac(){Ba&&(Ba.detachEvent("onpropertychange",nc),Ha=Ba=null)}function nc(e){if(e.propertyName==="value"&&Xn(Ha)){var t=[];Ps(t,Ha,e,ci(e)),Gs(lp,t)}}function ap(e,t,l){e==="focusin"?(ac(),Ba=t,Ha=l,Ba.attachEvent("onpropertychange",nc)):e==="focusout"&&ac()}function np(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xn(Ha)}function up(e,t){if(e==="click")return Xn(t)}function ip(e,t){if(e==="input"||e==="change")return Xn(t)}function rp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var st=typeof Object.is=="function"?Object.is:rp;function qa(e,t){if(st(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(!wa.call(t,n)||!st(e[n],t[n]))return!1}return!0}function uc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ic(e,t){var l=uc(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=uc(l)}}function rc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Un(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=Un(e.document)}return t}function xi(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 sp=Ht&&"documentMode"in document&&11>=document.documentMode,Pl=null,Si=null,Ga=null,Ei=!1;function cc(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ei||Pl==null||Pl!==Un(a)||(a=Pl,"selectionStart"in a&&xi(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}),Ga&&qa(Ga,a)||(Ga=a,a=Ou(Si,"onSelect"),0<a.length&&(t=new Yn("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Pl)))}function Tl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var ea={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")},Ai={},oc={};Ht&&(oc=document.createElement("div").style,"AnimationEvent"in window||(delete ea.animationend.animation,delete ea.animationiteration.animation,delete ea.animationstart.animation),"TransitionEvent"in window||delete ea.transitionend.transition);function wl(e){if(Ai[e])return Ai[e];if(!ea[e])return e;var t=ea[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in oc)return Ai[e]=t[l];return e}var fc=wl("animationend"),dc=wl("animationiteration"),gc=wl("animationstart"),cp=wl("transitionrun"),op=wl("transitionstart"),fp=wl("transitioncancel"),pc=wl("transitionend"),yc=new Map,Ni="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(" ");Ni.push("scrollEnd");function wt(e,t){yc.set(e,t),Nl(t,[e])}var hc=new WeakMap;function xt(e,t){if(typeof e=="object"&&e!==null){var l=hc.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ds(t)},hc.set(e,t),t)}return{value:e,source:t,stack:Ds(t)}}var St=[],ta=0,_i=0;function Vn(){for(var e=ta,t=_i=ta=0;t<e;){var l=St[t];St[t++]=null;var a=St[t];St[t++]=null;var n=St[t];St[t++]=null;var u=St[t];if(St[t++]=null,a!==null&&n!==null){var r=a.pending;r===null?n.next=n:(n.next=r.next,r.next=n),a.pending=n}u!==0&&bc(l,n,u)}}function Qn(e,t,l,a){St[ta++]=e,St[ta++]=t,St[ta++]=l,St[ta++]=a,_i|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Ti(e,t,l,a){return Qn(e,t,l,a),Fn(e)}function la(e,t){return Qn(e,null,null,t),Fn(e)}function bc(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-rt(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function Fn(e){if(50<gn)throw gn=0,Dr=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var aa={};function dp(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 ct(e,t,l,a){return new dp(e,t,l,a)}function wi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qt(e,t){var l=e.alternate;return l===null?(l=ct(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 mc(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 Kn(e,t,l,a,n,u){var r=0;if(a=e,typeof e=="function")wi(e)&&(r=1);else if(typeof e=="string")r=py(e,l,te.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case M:return e=ct(31,l,t,n),e.elementType=M,e.lanes=u,e;case m:return Cl(l.children,n,u,t);case N:r=8,n|=24;break;case R:return e=ct(12,l,t,n|2),e.elementType=R,e.lanes=u,e;case F:return e=ct(13,l,t,n),e.elementType=F,e.lanes=u,e;case de:return e=ct(19,l,t,n),e.elementType=de,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case E:case H:r=10;break e;case z:r=9;break e;case P:r=11;break e;case oe:r=14;break e;case K:r=16,a=null;break e}r=29,l=Error(c(130,e===null?"null":typeof e,"")),a=null}return t=ct(r,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function Cl(e,t,l,a){return e=ct(7,e,a,t),e.lanes=l,e}function Ci(e,t,l){return e=ct(6,e,null,t),e.lanes=l,e}function Oi(e,t,l){return t=ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var na=[],ua=0,$n=null,Jn=0,Et=[],At=0,Ol=null,Gt=1,Yt="";function zl(e,t){na[ua++]=Jn,na[ua++]=$n,$n=e,Jn=t}function vc(e,t,l){Et[At++]=Gt,Et[At++]=Yt,Et[At++]=Ol,Ol=e;var a=Gt;e=Yt;var n=32-rt(a)-1;a&=~(1<<n),l+=1;var u=32-rt(t)+n;if(30<u){var r=n-n%5;u=(a&(1<<r)-1).toString(32),a>>=r,n-=r,Gt=1<<32-rt(t)+n|l<<n|a,Yt=u+e}else Gt=1<<u|l<<n|a,Yt=e}function zi(e){e.return!==null&&(zl(e,1),vc(e,1,0))}function ji(e){for(;e===$n;)$n=na[--ua],na[ua]=null,Jn=na[--ua],na[ua]=null;for(;e===Ol;)Ol=Et[--At],Et[At]=null,Yt=Et[--At],Et[At]=null,Gt=Et[--At],Et[At]=null}var et=null,ke=null,Ne=!1,jl=null,jt=!1,Di=Error(c(519));function Dl(e){var t=Error(c(418,""));throw Xa(xt(t,e)),Di}function xc(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[We]=e,t[tt]=a,l){case"dialog":Se("cancel",t),Se("close",t);break;case"iframe":case"object":case"embed":Se("load",t);break;case"video":case"audio":for(l=0;l<yn.length;l++)Se(yn[l],t);break;case"source":Se("error",t);break;case"img":case"image":case"link":Se("error",t),Se("load",t);break;case"details":Se("toggle",t);break;case"input":Se("invalid",t),ks(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Ln(t);break;case"select":Se("invalid",t);break;case"textarea":Se("invalid",t),Us(t,a.value,a.defaultValue,a.children),Ln(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Hf(t.textContent,l)?(a.popover!=null&&(Se("beforetoggle",t),Se("toggle",t)),a.onScroll!=null&&Se("scroll",t),a.onScrollEnd!=null&&Se("scrollend",t),a.onClick!=null&&(t.onclick=zu),t=!0):t=!1,t||Dl(e)}function Sc(e){for(et=e.return;et;)switch(et.tag){case 5:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:et=et.return}}function Ya(e){if(e!==et)return!1;if(!Ne)return Sc(e),Ne=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Kr(e.type,e.memoizedProps)),l=!l),l&&ke&&Dl(e),Sc(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(t===0){ke=Ot(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}ke=null}}else t===27?(t=ke,bl(e.type)?(e=Ir,Ir=null,ke=e):ke=t):ke=et?Ot(e.stateNode.nextSibling):null;return!0}function Za(){ke=et=null,Ne=!1}function Ec(){var e=jl;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),jl=null),e}function Xa(e){jl===null?jl=[e]:jl.push(e)}var Ri=q(null),Rl=null,Zt=null;function ll(e,t,l){Q(Ri,t._currentValue),t._currentValue=l}function Xt(e){e._currentValue=Ri.current,J(Ri)}function Mi(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 ki(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var r=n.child;u=u.firstContext;e:for(;u!==null;){var s=u;u=n;for(var p=0;p<t.length;p++)if(s.context===t[p]){u.lanes|=l,s=u.alternate,s!==null&&(s.lanes|=l),Mi(u.return,l,e),a||(r=null);break e}u=s.next}}else if(n.tag===18){if(r=n.return,r===null)throw Error(c(341));r.lanes|=l,u=r.alternate,u!==null&&(u.lanes|=l),Mi(r,l,e),r=null}else r=n.child;if(r!==null)r.return=n;else for(r=n;r!==null;){if(r===e){r=null;break}if(n=r.sibling,n!==null){n.return=r.return,r=n;break}r=r.return}n=r}}function Va(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 r=n.alternate;if(r===null)throw Error(c(387));if(r=r.memoizedProps,r!==null){var s=n.type;st(n.pendingProps.value,r.value)||(e!==null?e.push(s):e=[s])}}else if(n===me.current){if(r=n.alternate,r===null)throw Error(c(387));r.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Sn):e=[Sn])}n=n.return}e!==null&&ki(t,e,l,a),t.flags|=262144}function Wn(e){for(e=e.firstContext;e!==null;){if(!st(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ml(e){Rl=e,Zt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ie(e){return Ac(Rl,e)}function In(e,t){return Rl===null&&Ml(e),Ac(e,t)}function Ac(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Zt===null){if(e===null)throw Error(c(308));Zt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zt=Zt.next=t;return l}var gp=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()})}},pp=i.unstable_scheduleCallback,yp=i.unstable_NormalPriority,Ye={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Li(){return{controller:new gp,data:new Map,refCount:0}}function Qa(e){e.refCount--,e.refCount===0&&pp(yp,function(){e.controller.abort()})}var Fa=null,Ui=0,ia=0,ra=null;function hp(e,t){if(Fa===null){var l=Fa=[];Ui=0,ia=Hr(),ra={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Ui++,t.then(Nc,Nc),t}function Nc(){if(--Ui===0&&Fa!==null){ra!==null&&(ra.status="fulfilled");var e=Fa;Fa=null,ia=0,ra=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function bp(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 _c=k.S;k.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&hp(e,t),_c!==null&&_c(e,t)};var kl=q(null);function Bi(){var e=kl.current;return e!==null?e:je.pooledCache}function Pn(e,t){t===null?Q(kl,kl.current):Q(kl,t.pool)}function Tc(){var e=Bi();return e===null?null:{parent:Ye._currentValue,pool:e}}var Ka=Error(c(460)),wc=Error(c(474)),eu=Error(c(542)),Hi={then:function(){}};function Cc(e){return e=e.status,e==="fulfilled"||e==="rejected"}function tu(){}function Oc(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(tu,tu),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,jc(e),e;default:if(typeof t.status=="string")t.then(tu,tu);else{if(e=je,e!==null&&100<e.shellSuspendCounter)throw Error(c(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,jc(e),e}throw $a=t,Ka}}var $a=null;function zc(){if($a===null)throw Error(c(459));var e=$a;return $a=null,e}function jc(e){if(e===Ka||e===eu)throw Error(c(483))}var al=!1;function qi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gi(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 nl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ul(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Fn(e),bc(e,null,l),t}return Qn(e,a,t,l),Fn(e)}function Ja(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,Ns(e,l)}}function Yi(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 r={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=r:u=u.next=r,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 Zi=!1;function Wa(){if(Zi){var e=ra;if(e!==null)throw e}}function Ia(e,t,l,a){Zi=!1;var n=e.updateQueue;al=!1;var u=n.firstBaseUpdate,r=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var p=s,T=p.next;p.next=null,r===null?u=T:r.next=T,r=p;var L=e.alternate;L!==null&&(L=L.updateQueue,s=L.lastBaseUpdate,s!==r&&(s===null?L.firstBaseUpdate=T:s.next=T,L.lastBaseUpdate=p))}if(u!==null){var G=n.baseState;r=0,L=T=p=null,s=u;do{var C=s.lane&-536870913,j=C!==s.lane;if(j?(Ee&C)===C:(a&C)===C){C!==0&&C===ia&&(Zi=!0),L!==null&&(L=L.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var ce=e,ie=s;C=t;var Oe=l;switch(ie.tag){case 1:if(ce=ie.payload,typeof ce=="function"){G=ce.call(Oe,G,C);break e}G=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=ie.payload,C=typeof ce=="function"?ce.call(Oe,G,C):ce,C==null)break e;G=h({},G,C);break e;case 2:al=!0}}C=s.callback,C!==null&&(e.flags|=64,j&&(e.flags|=8192),j=n.callbacks,j===null?n.callbacks=[C]:j.push(C))}else j={lane:C,tag:s.tag,payload:s.payload,callback:s.callback,next:null},L===null?(T=L=j,p=G):L=L.next=j,r|=C;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;j=s,s=j.next,j.next=null,n.lastBaseUpdate=j,n.shared.pending=null}}while(!0);L===null&&(p=G),n.baseState=p,n.firstBaseUpdate=T,n.lastBaseUpdate=L,u===null&&(n.shared.lanes=0),gl|=r,e.lanes=r,e.memoizedState=G}}function Dc(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Rc(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Dc(l[e],t)}var sa=q(null),lu=q(0);function Mc(e,t){e=Wt,Q(lu,e),Q(sa,t),Wt=e|t.baseLanes}function Xi(){Q(lu,Wt),Q(sa,sa.current)}function Vi(){Wt=lu.current,J(sa),J(lu)}var il=0,he=null,we=null,qe=null,au=!1,ca=!1,Ll=!1,nu=0,Pa=0,oa=null,mp=0;function Be(){throw Error(c(321))}function Qi(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!st(e[l],t[l]))return!1;return!0}function Fi(e,t,l,a,n,u){return il=u,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,k.H=e===null||e.memoizedState===null?mo:vo,Ll=!1,u=l(a,n),Ll=!1,ca&&(u=Lc(t,l,a,n)),kc(e),u}function kc(e){k.H=ou;var t=we!==null&&we.next!==null;if(il=0,qe=we=he=null,au=!1,Pa=0,oa=null,t)throw Error(c(300));e===null||Ve||(e=e.dependencies,e!==null&&Wn(e)&&(Ve=!0))}function Lc(e,t,l,a){he=e;var n=0;do{if(ca&&(oa=null),Pa=0,ca=!1,25<=n)throw Error(c(301));if(n+=1,qe=we=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}k.H=_p,u=t(l,a)}while(ca);return u}function vp(){var e=k.H,t=e.useState()[0];return t=typeof t.then=="function"?en(t):t,e=e.useState()[0],(we!==null?we.memoizedState:null)!==e&&(he.flags|=1024),t}function Ki(){var e=nu!==0;return nu=0,e}function $i(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Ji(e){if(au){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}au=!1}il=0,qe=we=he=null,ca=!1,Pa=nu=0,oa=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qe===null?he.memoizedState=qe=e:qe=qe.next=e,qe}function Ge(){if(we===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=we.next;var t=qe===null?he.memoizedState:qe.next;if(t!==null)qe=t,we=e;else{if(e===null)throw he.alternate===null?Error(c(467)):Error(c(310));we=e,e={memoizedState:we.memoizedState,baseState:we.baseState,baseQueue:we.baseQueue,queue:we.queue,next:null},qe===null?he.memoizedState=qe=e:qe=qe.next=e}return qe}function Wi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function en(e){var t=Pa;return Pa+=1,oa===null&&(oa=[]),e=Oc(oa,e,t),t=he,(qe===null?t.memoizedState:qe.next)===null&&(t=t.alternate,k.H=t===null||t.memoizedState===null?mo:vo),e}function uu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return en(e);if(e.$$typeof===H)return Ie(e)}throw Error(c(438,String(e)))}function Ii(e){var t=null,l=he.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=he.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=Wi(),he.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]=fe;return t.index++,l}function Vt(e,t){return typeof t=="function"?t(e):t}function iu(e){var t=Ge();return Pi(t,we,e)}function Pi(e,t,l){var a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var r=n.next;n.next=u.next,u.next=r}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var s=r=null,p=null,T=t,L=!1;do{var G=T.lane&-536870913;if(G!==T.lane?(Ee&G)===G:(il&G)===G){var C=T.revertLane;if(C===0)p!==null&&(p=p.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),G===ia&&(L=!0);else if((il&C)===C){T=T.next,C===ia&&(L=!0);continue}else G={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},p===null?(s=p=G,r=u):p=p.next=G,he.lanes|=C,gl|=C;G=T.action,Ll&&l(u,G),u=T.hasEagerState?T.eagerState:l(u,G)}else C={lane:G,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},p===null?(s=p=C,r=u):p=p.next=C,he.lanes|=G,gl|=G;T=T.next}while(T!==null&&T!==t);if(p===null?r=u:p.next=s,!st(u,e.memoizedState)&&(Ve=!0,L&&(l=ra,l!==null)))throw l;e.memoizedState=u,e.baseState=r,e.baseQueue=p,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function er(e){var t=Ge(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var r=n=n.next;do u=e(u,r.action),r=r.next;while(r!==n);st(u,t.memoizedState)||(Ve=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function Uc(e,t,l){var a=he,n=Ge(),u=Ne;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=t();var r=!st((we||n).memoizedState,l);r&&(n.memoizedState=l,Ve=!0),n=n.queue;var s=qc.bind(null,a,n,e);if(tn(2048,8,s,[e]),n.getSnapshot!==t||r||qe!==null&&qe.memoizedState.tag&1){if(a.flags|=2048,fa(9,ru(),Hc.bind(null,a,n,l,t),null),je===null)throw Error(c(349));u||(il&124)!==0||Bc(a,t,l)}return l}function Bc(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=he.updateQueue,t===null?(t=Wi(),he.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Hc(e,t,l,a){t.value=l,t.getSnapshot=a,Gc(t)&&Yc(e)}function qc(e,t,l){return l(function(){Gc(t)&&Yc(e)})}function Gc(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!st(e,l)}catch{return!0}}function Yc(e){var t=la(e,2);t!==null&&pt(t,e,2)}function tr(e){var t=at();if(typeof e=="function"){var l=e;if(e=l(),Ll){Pt(!0);try{l()}finally{Pt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:e},t}function Zc(e,t,l,a){return e.baseState=l,Pi(e,we,typeof a=="function"?a:Vt)}function xp(e,t,l,a,n){if(cu(e))throw Error(c(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(r){u.listeners.push(r)}};k.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Xc(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Xc(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=k.T,r={};k.T=r;try{var s=l(n,a),p=k.S;p!==null&&p(r,s),Vc(e,t,s)}catch(T){lr(e,t,T)}finally{k.T=u}}else try{u=l(n,a),Vc(e,t,u)}catch(T){lr(e,t,T)}}function Vc(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Qc(e,t,a)},function(a){return lr(e,t,a)}):Qc(e,t,l)}function Qc(e,t,l){t.status="fulfilled",t.value=l,Fc(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Xc(e,l)))}function lr(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Fc(t),t=t.next;while(t!==a)}e.action=null}function Fc(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Kc(e,t){return t}function $c(e,t){if(Ne){var l=je.formState;if(l!==null){e:{var a=he;if(Ne){if(ke){t:{for(var n=ke,u=jt;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){ke=Ot(n.nextSibling),a=n.data==="F!";break e}}Dl(a)}a=!1}a&&(t=l[0])}}return l=at(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kc,lastRenderedState:t},l.queue=a,l=yo.bind(null,he,a),a.dispatch=l,a=tr(!1),u=rr.bind(null,he,!1,a.queue),a=at(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=xp.bind(null,he,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Jc(e){var t=Ge();return Wc(t,we,e)}function Wc(e,t,l){if(t=Pi(e,t,Kc)[0],e=iu(Vt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=en(t)}catch(r){throw r===Ka?eu:r}else a=t;t=Ge();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(he.flags|=2048,fa(9,ru(),Sp.bind(null,n,l),null)),[a,u,e]}function Sp(e,t){e.action=t}function Ic(e){var t=Ge(),l=we;if(l!==null)return Wc(t,l,e);Ge(),t=t.memoizedState,l=Ge();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function fa(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=he.updateQueue,t===null&&(t=Wi(),he.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 ru(){return{destroy:void 0,resource:void 0}}function Pc(){return Ge().memoizedState}function su(e,t,l,a){var n=at();a=a===void 0?null:a,he.flags|=e,n.memoizedState=fa(1|t,ru(),l,a)}function tn(e,t,l,a){var n=Ge();a=a===void 0?null:a;var u=n.memoizedState.inst;we!==null&&a!==null&&Qi(a,we.memoizedState.deps)?n.memoizedState=fa(t,u,l,a):(he.flags|=e,n.memoizedState=fa(1|t,u,l,a))}function eo(e,t){su(8390656,8,e,t)}function to(e,t){tn(2048,8,e,t)}function lo(e,t){return tn(4,2,e,t)}function ao(e,t){return tn(4,4,e,t)}function no(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 uo(e,t,l){l=l!=null?l.concat([e]):null,tn(4,4,no.bind(null,t,e),l)}function ar(){}function io(e,t){var l=Ge();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Qi(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function ro(e,t){var l=Ge();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Qi(t,a[1]))return a[0];if(a=e(),Ll){Pt(!0);try{e()}finally{Pt(!1)}}return l.memoizedState=[a,t],a}function nr(e,t,l){return l===void 0||(il&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=df(),he.lanes|=e,gl|=e,l)}function so(e,t,l,a){return st(l,t)?l:sa.current!==null?(e=nr(e,l,a),st(e,t)||(Ve=!0),e):(il&42)===0?(Ve=!0,e.memoizedState=l):(e=df(),he.lanes|=e,gl|=e,t)}function co(e,t,l,a,n){var u=V.p;V.p=u!==0&&8>u?u:8;var r=k.T,s={};k.T=s,rr(e,!1,t,l);try{var p=n(),T=k.S;if(T!==null&&T(s,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var L=bp(p,a);ln(e,t,L,gt(e))}else ln(e,t,a,gt(e))}catch(G){ln(e,t,{then:function(){},status:"rejected",reason:G},gt())}finally{V.p=u,k.T=r}}function Ep(){}function ur(e,t,l,a){if(e.tag!==5)throw Error(c(476));var n=oo(e).queue;co(e,n,t,I,l===null?Ep:function(){return fo(e),l(a)})}function oo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:I},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Vt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function fo(e){var t=oo(e).next.queue;ln(e,t,{},gt())}function ir(){return Ie(Sn)}function go(){return Ge().memoizedState}function po(){return Ge().memoizedState}function Ap(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=gt();e=nl(l);var a=ul(t,e,l);a!==null&&(pt(a,t,l),Ja(a,t,l)),t={cache:Li()},e.payload=t;return}t=t.return}}function Np(e,t,l){var a=gt();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},cu(e)?ho(t,l):(l=Ti(e,t,l,a),l!==null&&(pt(l,e,a),bo(l,t,a)))}function yo(e,t,l){var a=gt();ln(e,t,l,a)}function ln(e,t,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(cu(e))ho(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var r=t.lastRenderedState,s=u(r,l);if(n.hasEagerState=!0,n.eagerState=s,st(s,r))return Qn(e,t,n,0),je===null&&Vn(),!1}catch{}finally{}if(l=Ti(e,t,n,a),l!==null)return pt(l,e,a),bo(l,t,a),!0}return!1}function rr(e,t,l,a){if(a={lane:2,revertLane:Hr(),action:a,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error(c(479))}else t=Ti(e,l,a,2),t!==null&&pt(t,e,2)}function cu(e){var t=e.alternate;return e===he||t!==null&&t===he}function ho(e,t){ca=au=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function bo(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Ns(e,l)}}var ou={readContext:Ie,use:uu,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be},mo={readContext:Ie,use:uu,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:Ie,useEffect:eo,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,su(4194308,4,no.bind(null,t,e),l)},useLayoutEffect:function(e,t){return su(4194308,4,e,t)},useInsertionEffect:function(e,t){su(4,2,e,t)},useMemo:function(e,t){var l=at();t=t===void 0?null:t;var a=e();if(Ll){Pt(!0);try{e()}finally{Pt(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=at();if(l!==void 0){var n=l(t);if(Ll){Pt(!0);try{l(t)}finally{Pt(!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=Np.bind(null,he,e),[a.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=tr(e);var t=e.queue,l=yo.bind(null,he,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:ar,useDeferredValue:function(e,t){var l=at();return nr(l,e,t)},useTransition:function(){var e=tr(!1);return e=co.bind(null,he,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=he,n=at();if(Ne){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),je===null)throw Error(c(349));(Ee&124)!==0||Bc(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,eo(qc.bind(null,a,u,e),[e]),a.flags|=2048,fa(9,ru(),Hc.bind(null,a,u,l,t),null),l},useId:function(){var e=at(),t=je.identifierPrefix;if(Ne){var l=Yt,a=Gt;l=(a&~(1<<32-rt(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=nu++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=mp++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:ir,useFormState:$c,useActionState:$c,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=rr.bind(null,he,!0,l),l.dispatch=t,[e,t]},useMemoCache:Ii,useCacheRefresh:function(){return at().memoizedState=Ap.bind(null,he)}},vo={readContext:Ie,use:uu,useCallback:io,useContext:Ie,useEffect:to,useImperativeHandle:uo,useInsertionEffect:lo,useLayoutEffect:ao,useMemo:ro,useReducer:iu,useRef:Pc,useState:function(){return iu(Vt)},useDebugValue:ar,useDeferredValue:function(e,t){var l=Ge();return so(l,we.memoizedState,e,t)},useTransition:function(){var e=iu(Vt)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:en(e),t]},useSyncExternalStore:Uc,useId:go,useHostTransitionStatus:ir,useFormState:Jc,useActionState:Jc,useOptimistic:function(e,t){var l=Ge();return Zc(l,we,e,t)},useMemoCache:Ii,useCacheRefresh:po},_p={readContext:Ie,use:uu,useCallback:io,useContext:Ie,useEffect:to,useImperativeHandle:uo,useInsertionEffect:lo,useLayoutEffect:ao,useMemo:ro,useReducer:er,useRef:Pc,useState:function(){return er(Vt)},useDebugValue:ar,useDeferredValue:function(e,t){var l=Ge();return we===null?nr(l,e,t):so(l,we.memoizedState,e,t)},useTransition:function(){var e=er(Vt)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:en(e),t]},useSyncExternalStore:Uc,useId:go,useHostTransitionStatus:ir,useFormState:Ic,useActionState:Ic,useOptimistic:function(e,t){var l=Ge();return we!==null?Zc(l,we,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Ii,useCacheRefresh:po},da=null,an=0;function fu(e){var t=an;return an+=1,da===null&&(da=[]),Oc(da,e,t)}function nn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function du(e,t){throw t.$$typeof===w?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function xo(e){var t=e._init;return t(e._payload)}function So(e){function t(A,b){if(e){var _=A.deletions;_===null?(A.deletions=[b],A.flags|=16):_.push(b)}}function l(A,b){if(!e)return null;for(;b!==null;)t(A,b),b=b.sibling;return null}function a(A){for(var b=new Map;A!==null;)A.key!==null?b.set(A.key,A):b.set(A.index,A),A=A.sibling;return b}function n(A,b){return A=qt(A,b),A.index=0,A.sibling=null,A}function u(A,b,_){return A.index=_,e?(_=A.alternate,_!==null?(_=_.index,_<b?(A.flags|=67108866,b):_):(A.flags|=67108866,b)):(A.flags|=1048576,b)}function r(A){return e&&A.alternate===null&&(A.flags|=67108866),A}function s(A,b,_,B){return b===null||b.tag!==6?(b=Ci(_,A.mode,B),b.return=A,b):(b=n(b,_),b.return=A,b)}function p(A,b,_,B){var ee=_.type;return ee===m?L(A,b,_.props.children,B,_.key):b!==null&&(b.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===K&&xo(ee)===b.type)?(b=n(b,_.props),nn(b,_),b.return=A,b):(b=Kn(_.type,_.key,_.props,null,A.mode,B),nn(b,_),b.return=A,b)}function T(A,b,_,B){return b===null||b.tag!==4||b.stateNode.containerInfo!==_.containerInfo||b.stateNode.implementation!==_.implementation?(b=Oi(_,A.mode,B),b.return=A,b):(b=n(b,_.children||[]),b.return=A,b)}function L(A,b,_,B,ee){return b===null||b.tag!==7?(b=Cl(_,A.mode,B,ee),b.return=A,b):(b=n(b,_),b.return=A,b)}function G(A,b,_){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Ci(""+b,A.mode,_),b.return=A,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Y:return _=Kn(b.type,b.key,b.props,null,A.mode,_),nn(_,b),_.return=A,_;case Z:return b=Oi(b,A.mode,_),b.return=A,b;case K:var B=b._init;return b=B(b._payload),G(A,b,_)}if(se(b)||$(b))return b=Cl(b,A.mode,_,null),b.return=A,b;if(typeof b.then=="function")return G(A,fu(b),_);if(b.$$typeof===H)return G(A,In(A,b),_);du(A,b)}return null}function C(A,b,_,B){var ee=b!==null?b.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return ee!==null?null:s(A,b,""+_,B);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:return _.key===ee?p(A,b,_,B):null;case Z:return _.key===ee?T(A,b,_,B):null;case K:return ee=_._init,_=ee(_._payload),C(A,b,_,B)}if(se(_)||$(_))return ee!==null?null:L(A,b,_,B,null);if(typeof _.then=="function")return C(A,b,fu(_),B);if(_.$$typeof===H)return C(A,b,In(A,_),B);du(A,_)}return null}function j(A,b,_,B,ee){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return A=A.get(_)||null,s(b,A,""+B,ee);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Y:return A=A.get(B.key===null?_:B.key)||null,p(b,A,B,ee);case Z:return A=A.get(B.key===null?_:B.key)||null,T(b,A,B,ee);case K:var ve=B._init;return B=ve(B._payload),j(A,b,_,B,ee)}if(se(B)||$(B))return A=A.get(_)||null,L(b,A,B,ee,null);if(typeof B.then=="function")return j(A,b,_,fu(B),ee);if(B.$$typeof===H)return j(A,b,_,In(b,B),ee);du(b,B)}return null}function ce(A,b,_,B){for(var ee=null,ve=null,le=b,re=b=0,Fe=null;le!==null&&re<_.length;re++){le.index>re?(Fe=le,le=null):Fe=le.sibling;var Ae=C(A,le,_[re],B);if(Ae===null){le===null&&(le=Fe);break}e&&le&&Ae.alternate===null&&t(A,le),b=u(Ae,b,re),ve===null?ee=Ae:ve.sibling=Ae,ve=Ae,le=Fe}if(re===_.length)return l(A,le),Ne&&zl(A,re),ee;if(le===null){for(;re<_.length;re++)le=G(A,_[re],B),le!==null&&(b=u(le,b,re),ve===null?ee=le:ve.sibling=le,ve=le);return Ne&&zl(A,re),ee}for(le=a(le);re<_.length;re++)Fe=j(le,A,re,_[re],B),Fe!==null&&(e&&Fe.alternate!==null&&le.delete(Fe.key===null?re:Fe.key),b=u(Fe,b,re),ve===null?ee=Fe:ve.sibling=Fe,ve=Fe);return e&&le.forEach(function(El){return t(A,El)}),Ne&&zl(A,re),ee}function ie(A,b,_,B){if(_==null)throw Error(c(151));for(var ee=null,ve=null,le=b,re=b=0,Fe=null,Ae=_.next();le!==null&&!Ae.done;re++,Ae=_.next()){le.index>re?(Fe=le,le=null):Fe=le.sibling;var El=C(A,le,Ae.value,B);if(El===null){le===null&&(le=Fe);break}e&&le&&El.alternate===null&&t(A,le),b=u(El,b,re),ve===null?ee=El:ve.sibling=El,ve=El,le=Fe}if(Ae.done)return l(A,le),Ne&&zl(A,re),ee;if(le===null){for(;!Ae.done;re++,Ae=_.next())Ae=G(A,Ae.value,B),Ae!==null&&(b=u(Ae,b,re),ve===null?ee=Ae:ve.sibling=Ae,ve=Ae);return Ne&&zl(A,re),ee}for(le=a(le);!Ae.done;re++,Ae=_.next())Ae=j(le,A,re,Ae.value,B),Ae!==null&&(e&&Ae.alternate!==null&&le.delete(Ae.key===null?re:Ae.key),b=u(Ae,b,re),ve===null?ee=Ae:ve.sibling=Ae,ve=Ae);return e&&le.forEach(function(Ty){return t(A,Ty)}),Ne&&zl(A,re),ee}function Oe(A,b,_,B){if(typeof _=="object"&&_!==null&&_.type===m&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:e:{for(var ee=_.key;b!==null;){if(b.key===ee){if(ee=_.type,ee===m){if(b.tag===7){l(A,b.sibling),B=n(b,_.props.children),B.return=A,A=B;break e}}else if(b.elementType===ee||typeof ee=="object"&&ee!==null&&ee.$$typeof===K&&xo(ee)===b.type){l(A,b.sibling),B=n(b,_.props),nn(B,_),B.return=A,A=B;break e}l(A,b);break}else t(A,b);b=b.sibling}_.type===m?(B=Cl(_.props.children,A.mode,B,_.key),B.return=A,A=B):(B=Kn(_.type,_.key,_.props,null,A.mode,B),nn(B,_),B.return=A,A=B)}return r(A);case Z:e:{for(ee=_.key;b!==null;){if(b.key===ee)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){l(A,b.sibling),B=n(b,_.children||[]),B.return=A,A=B;break e}else{l(A,b);break}else t(A,b);b=b.sibling}B=Oi(_,A.mode,B),B.return=A,A=B}return r(A);case K:return ee=_._init,_=ee(_._payload),Oe(A,b,_,B)}if(se(_))return ce(A,b,_,B);if($(_)){if(ee=$(_),typeof ee!="function")throw Error(c(150));return _=ee.call(_),ie(A,b,_,B)}if(typeof _.then=="function")return Oe(A,b,fu(_),B);if(_.$$typeof===H)return Oe(A,b,In(A,_),B);du(A,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,b!==null&&b.tag===6?(l(A,b.sibling),B=n(b,_),B.return=A,A=B):(l(A,b),B=Ci(_,A.mode,B),B.return=A,A=B),r(A)):l(A,b)}return function(A,b,_,B){try{an=0;var ee=Oe(A,b,_,B);return da=null,ee}catch(le){if(le===Ka||le===eu)throw le;var ve=ct(29,le,null,A.mode);return ve.lanes=B,ve.return=A,ve}finally{}}}var ga=So(!0),Eo=So(!1),Nt=q(null),Dt=null;function rl(e){var t=e.alternate;Q(Ze,Ze.current&1),Q(Nt,e),Dt===null&&(t===null||sa.current!==null||t.memoizedState!==null)&&(Dt=e)}function Ao(e){if(e.tag===22){if(Q(Ze,Ze.current),Q(Nt,e),Dt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Dt=e)}}else sl()}function sl(){Q(Ze,Ze.current),Q(Nt,Nt.current)}function Qt(e){J(Nt),Dt===e&&(Dt=null),J(Ze)}var Ze=q(0);function gu(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==="$?"||Wr(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 sr(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:h({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var cr={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=gt(),n=nl(a);n.payload=t,l!=null&&(n.callback=l),t=ul(e,n,a),t!==null&&(pt(t,e,a),Ja(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=gt(),n=nl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=ul(e,n,a),t!==null&&(pt(t,e,a),Ja(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=gt(),a=nl(l);a.tag=2,t!=null&&(a.callback=t),t=ul(e,a,l),t!==null&&(pt(t,e,l),Ja(t,e,l))}};function No(e,t,l,a,n,u,r){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,r):t.prototype&&t.prototype.isPureReactComponent?!qa(l,a)||!qa(n,u):!0}function _o(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&&cr.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=h({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}var pu=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 To(e){pu(e)}function wo(e){console.error(e)}function Co(e){pu(e)}function yu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Oo(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 or(e,t,l){return l=nl(l),l.tag=3,l.payload={element:null},l.callback=function(){yu(e,t)},l}function zo(e){return e=nl(e),e.tag=3,e}function jo(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(){Oo(t,l,a)}}var r=l.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(e.callback=function(){Oo(t,l,a),typeof n!="function"&&(pl===null?pl=new Set([this]):pl.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function Tp(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&Va(t,l,n,!0),l=Nt.current,l!==null){switch(l.tag){case 13:return Dt===null?Mr():l.alternate===null&&Le===0&&(Le=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Hi?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Lr(e,a,n)),!1;case 22:return l.flags|=65536,a===Hi?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)),Lr(e,a,n)),!1}throw Error(c(435,l.tag))}return Lr(e,a,n),Mr(),!1}if(Ne)return t=Nt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==Di&&(e=Error(c(422),{cause:a}),Xa(xt(e,l)))):(a!==Di&&(t=Error(c(423),{cause:a}),Xa(xt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=xt(a,l),n=or(e.stateNode,a,n),Yi(e,n),Le!==4&&(Le=2)),!1;var u=Error(c(520),{cause:a});if(u=xt(u,l),dn===null?dn=[u]:dn.push(u),Le!==4&&(Le=2),t===null)return!0;a=xt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=or(l.stateNode,a,e),Yi(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"&&(pl===null||!pl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=zo(n),jo(n,e,l,a),Yi(l,n),!1}l=l.return}while(l!==null);return!1}var Do=Error(c(461)),Ve=!1;function Ke(e,t,l,a){t.child=e===null?Eo(t,null,l,a):ga(t,e.child,l,a)}function Ro(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var r={};for(var s in a)s!=="ref"&&(r[s]=a[s])}else r=a;return Ml(t),a=Fi(e,t,l,r,u,n),s=Ki(),e!==null&&!Ve?($i(e,t,n),Ft(e,t,n)):(Ne&&s&&zi(t),t.flags|=1,Ke(e,t,a,n),t.child)}function Mo(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!wi(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,ko(e,t,u,a,n)):(e=Kn(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!mr(e,n)){var r=u.memoizedProps;if(l=l.compare,l=l!==null?l:qa,l(r,a)&&e.ref===t.ref)return Ft(e,t,n)}return t.flags|=1,e=qt(u,a),e.ref=t.ref,e.return=t,t.child=e}function ko(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(qa(u,a)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=a=u,mr(e,n))(e.flags&131072)!==0&&(Ve=!0);else return t.lanes=e.lanes,Ft(e,t,n)}return fr(e,t,l,a,n)}function Lo(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 Uo(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Pn(t,u!==null?u.cachePool:null),u!==null?Mc(t,u):Xi(),Ao(t);else return t.lanes=t.childLanes=536870912,Uo(e,t,u!==null?u.baseLanes|l:l,l)}else u!==null?(Pn(t,u.cachePool),Mc(t,u),sl(),t.memoizedState=null):(e!==null&&Pn(t,null),Xi(),sl());return Ke(e,t,n,l),t.child}function Uo(e,t,l,a){var n=Bi();return n=n===null?null:{parent:Ye._currentValue,pool:n},t.memoizedState={baseLanes:l,cachePool:n},e!==null&&Pn(t,null),Xi(),Ao(t),e!==null&&Va(e,t,a,!0),null}function hu(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(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function fr(e,t,l,a,n){return Ml(t),l=Fi(e,t,l,a,void 0,n),a=Ki(),e!==null&&!Ve?($i(e,t,n),Ft(e,t,n)):(Ne&&a&&zi(t),t.flags|=1,Ke(e,t,l,n),t.child)}function Bo(e,t,l,a,n,u){return Ml(t),t.updateQueue=null,l=Lc(t,a,l,n),kc(e),a=Ki(),e!==null&&!Ve?($i(e,t,u),Ft(e,t,u)):(Ne&&a&&zi(t),t.flags|=1,Ke(e,t,l,u),t.child)}function Ho(e,t,l,a,n){if(Ml(t),t.stateNode===null){var u=aa,r=l.contextType;typeof r=="object"&&r!==null&&(u=Ie(r)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=cr,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},qi(t),r=l.contextType,u.context=typeof r=="object"&&r!==null?Ie(r):aa,u.state=t.memoizedState,r=l.getDerivedStateFromProps,typeof r=="function"&&(sr(t,l,r,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(r=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),r!==u.state&&cr.enqueueReplaceState(u,u.state,null),Ia(t,a,u,n),Wa(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var s=t.memoizedProps,p=Ul(l,s);u.props=p;var T=u.context,L=l.contextType;r=aa,typeof L=="object"&&L!==null&&(r=Ie(L));var G=l.getDerivedStateFromProps;L=typeof G=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,L||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||T!==r)&&_o(t,u,a,r),al=!1;var C=t.memoizedState;u.state=C,Ia(t,a,u,n),Wa(),T=t.memoizedState,s||C!==T||al?(typeof G=="function"&&(sr(t,l,G,a),T=t.memoizedState),(p=al||No(t,l,p,a,C,T,r))?(L||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=T),u.props=a,u.state=T,u.context=r,a=p):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Gi(e,t),r=t.memoizedProps,L=Ul(l,r),u.props=L,G=t.pendingProps,C=u.context,T=l.contextType,p=aa,typeof T=="object"&&T!==null&&(p=Ie(T)),s=l.getDerivedStateFromProps,(T=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(r!==G||C!==p)&&_o(t,u,a,p),al=!1,C=t.memoizedState,u.state=C,Ia(t,a,u,n),Wa();var j=t.memoizedState;r!==G||C!==j||al||e!==null&&e.dependencies!==null&&Wn(e.dependencies)?(typeof s=="function"&&(sr(t,l,s,a),j=t.memoizedState),(L=al||No(t,l,L,a,C,j,p)||e!==null&&e.dependencies!==null&&Wn(e.dependencies))?(T||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,j,p),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,j,p)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||r===e.memoizedProps&&C===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&C===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=j),u.props=a,u.state=j,u.context=p,a=L):(typeof u.componentDidUpdate!="function"||r===e.memoizedProps&&C===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&C===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,hu(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=ga(t,e.child,null,n),t.child=ga(t,null,l,n)):Ke(e,t,l,n),t.memoizedState=u.state,e=t.child):e=Ft(e,t,n),e}function qo(e,t,l,a){return Za(),t.flags|=256,Ke(e,t,l,a),t.child}var dr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gr(e){return{baseLanes:e,cachePool:Tc()}}function pr(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=_t),e}function Go(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,r;if((r=u)||(r=e!==null&&e.memoizedState===null?!1:(Ze.current&2)!==0),r&&(n=!0,t.flags&=-129),r=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ne){if(n?rl(t):sl(),Ne){var s=ke,p;if(p=s){e:{for(p=s,s=jt;p.nodeType!==8;){if(!s){s=null;break e}if(p=Ot(p.nextSibling),p===null){s=null;break e}}s=p}s!==null?(t.memoizedState={dehydrated:s,treeContext:Ol!==null?{id:Gt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},p=ct(18,null,null,0),p.stateNode=s,p.return=t,t.child=p,et=t,ke=null,p=!0):p=!1}p||Dl(t)}if(s=t.memoizedState,s!==null&&(s=s.dehydrated,s!==null))return Wr(s)?t.lanes=32:t.lanes=536870912,null;Qt(t)}return s=a.children,a=a.fallback,n?(sl(),n=t.mode,s=bu({mode:"hidden",children:s},n),a=Cl(a,n,l,null),s.return=t,a.return=t,s.sibling=a,t.child=s,n=t.child,n.memoizedState=gr(l),n.childLanes=pr(e,r,l),t.memoizedState=dr,a):(rl(t),yr(t,s))}if(p=e.memoizedState,p!==null&&(s=p.dehydrated,s!==null)){if(u)t.flags&256?(rl(t),t.flags&=-257,t=hr(e,t,l)):t.memoizedState!==null?(sl(),t.child=e.child,t.flags|=128,t=null):(sl(),n=a.fallback,s=t.mode,a=bu({mode:"visible",children:a.children},s),n=Cl(n,s,l,null),n.flags|=2,a.return=t,n.return=t,a.sibling=n,t.child=a,ga(t,e.child,null,l),a=t.child,a.memoizedState=gr(l),a.childLanes=pr(e,r,l),t.memoizedState=dr,t=n);else if(rl(t),Wr(s)){if(r=s.nextSibling&&s.nextSibling.dataset,r)var T=r.dgst;r=T,a=Error(c(419)),a.stack="",a.digest=r,Xa({value:a,source:null,stack:null}),t=hr(e,t,l)}else if(Ve||Va(e,t,l,!1),r=(l&e.childLanes)!==0,Ve||r){if(r=je,r!==null&&(a=l&-l,a=(a&42)!==0?1:Iu(a),a=(a&(r.suspendedLanes|l))!==0?0:a,a!==0&&a!==p.retryLane))throw p.retryLane=a,la(e,a),pt(r,e,a),Do;s.data==="$?"||Mr(),t=hr(e,t,l)}else s.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=p.treeContext,ke=Ot(s.nextSibling),et=t,Ne=!0,jl=null,jt=!1,e!==null&&(Et[At++]=Gt,Et[At++]=Yt,Et[At++]=Ol,Gt=e.id,Yt=e.overflow,Ol=t),t=yr(t,a.children),t.flags|=4096);return t}return n?(sl(),n=a.fallback,s=t.mode,p=e.child,T=p.sibling,a=qt(p,{mode:"hidden",children:a.children}),a.subtreeFlags=p.subtreeFlags&65011712,T!==null?n=qt(T,n):(n=Cl(n,s,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,a=n,n=t.child,s=e.child.memoizedState,s===null?s=gr(l):(p=s.cachePool,p!==null?(T=Ye._currentValue,p=p.parent!==T?{parent:T,pool:T}:p):p=Tc(),s={baseLanes:s.baseLanes|l,cachePool:p}),n.memoizedState=s,n.childLanes=pr(e,r,l),t.memoizedState=dr,a):(rl(t),l=e.child,e=l.sibling,l=qt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=l,t.memoizedState=null,l)}function yr(e,t){return t=bu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function bu(e,t){return e=ct(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function hr(e,t,l){return ga(t,e.child,null,l),e=yr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Yo(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Mi(e.return,t,l)}function br(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 Zo(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;if(Ke(e,t,a.children,l),a=Ze.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&&Yo(e,l,t);else if(e.tag===19)Yo(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(Q(Ze,a),n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&gu(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),br(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&&gu(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}br(t,!0,l,null,u);break;case"together":br(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ft(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),gl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Va(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=qt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=qt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function mr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Wn(e)))}function wp(e,t,l){switch(t.tag){case 3:ye(t,t.stateNode.containerInfo),ll(t,Ye,e.memoizedState.cache),Za();break;case 27:case 5:Ut(t);break;case 4:ye(t,t.stateNode.containerInfo);break;case 10:ll(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(rl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Go(e,t,l):(rl(t),e=Ft(e,t,l),e!==null?e.sibling:null);rl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(Va(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Zo(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q(Ze,Ze.current),a)break;return null;case 22:case 23:return t.lanes=0,Lo(e,t,l);case 24:ll(t,Ye,e.memoizedState.cache)}return Ft(e,t,l)}function Xo(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ve=!0;else{if(!mr(e,l)&&(t.flags&128)===0)return Ve=!1,wp(e,t,l);Ve=(e.flags&131072)!==0}else Ve=!1,Ne&&(t.flags&1048576)!==0&&vc(t,Jn,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")wi(a)?(e=Ul(a,e),t.tag=1,t=Ho(null,t,a,e,l)):(t.tag=0,t=fr(null,t,a,e,l));else{if(a!=null){if(n=a.$$typeof,n===P){t.tag=11,t=Ro(null,t,a,e,l);break e}else if(n===oe){t.tag=14,t=Mo(null,t,a,e,l);break e}}throw t=ue(a)||a,Error(c(306,t,""))}}return t;case 0:return fr(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Ul(a,t.pendingProps),Ho(e,t,a,n,l);case 3:e:{if(ye(t,t.stateNode.containerInfo),e===null)throw Error(c(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,Gi(e,t),Ia(t,a,null,l);var r=t.memoizedState;if(a=r.cache,ll(t,Ye,a),a!==u.cache&&ki(t,[Ye],l,!0),Wa(),a=r.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:r.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=qo(e,t,a,l);break e}else if(a!==n){n=xt(Error(c(424)),t),Xa(n),t=qo(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(ke=Ot(e.firstChild),et=t,Ne=!0,jl=null,jt=!0,l=Eo(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Za(),a===n){t=Ft(e,t,l);break e}Ke(e,t,a,l)}t=t.child}return t;case 26:return hu(e,t),e===null?(l=$f(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ne||(l=t.type,e=t.pendingProps,a=ju(X.current).createElement(l),a[We]=t,a[tt]=e,Je(a,l,e),Xe(a),t.stateNode=a):t.memoizedState=$f(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ut(t),e===null&&Ne&&(a=t.stateNode=Qf(t.type,t.pendingProps,X.current),et=t,jt=!0,n=ke,bl(t.type)?(Ir=n,ke=Ot(a.firstChild)):ke=n),Ke(e,t,t.pendingProps.children,l),hu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ne&&((n=a=ke)&&(a=ty(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,et=t,ke=Ot(a.firstChild),jt=!1,n=!0):n=!1),n||Dl(t)),Ut(t),n=t.type,u=t.pendingProps,r=e!==null?e.memoizedProps:null,a=u.children,Kr(n,u)?a=null:r!==null&&Kr(n,r)&&(t.flags|=32),t.memoizedState!==null&&(n=Fi(e,t,vp,null,null,l),Sn._currentValue=n),hu(e,t),Ke(e,t,a,l),t.child;case 6:return e===null&&Ne&&((e=l=ke)&&(l=ly(l,t.pendingProps,jt),l!==null?(t.stateNode=l,et=t,ke=null,e=!0):e=!1),e||Dl(t)),null;case 13:return Go(e,t,l);case 4:return ye(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ga(t,null,a,l):Ke(e,t,a,l),t.child;case 11:return Ro(e,t,t.type,t.pendingProps,l);case 7:return Ke(e,t,t.pendingProps,l),t.child;case 8:return Ke(e,t,t.pendingProps.children,l),t.child;case 12:return Ke(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,ll(t,t.type,a.value),Ke(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Ml(t),n=Ie(n),a=a(n),t.flags|=1,Ke(e,t,a,l),t.child;case 14:return Mo(e,t,t.type,t.pendingProps,l);case 15:return ko(e,t,t.type,t.pendingProps,l);case 19:return Zo(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=bu(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=qt(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return Lo(e,t,l);case 24:return Ml(t),a=Ie(Ye),e===null?(n=Bi(),n===null&&(n=je,u=Li(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},qi(t),ll(t,Ye,n)):((e.lanes&l)!==0&&(Gi(e,t),Ia(t,null,null,l),Wa()),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),ll(t,Ye,a)):(a=u.cache,ll(t,Ye,a),a!==n.cache&&ki(t,[Ye],l,!0))),Ke(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function Kt(e){e.flags|=4}function Vo(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ed(t)){if(t=Nt.current,t!==null&&((Ee&4194048)===Ee?Dt!==null:(Ee&62914560)!==Ee&&(Ee&536870912)===0||t!==Dt))throw $a=Hi,wc;e.flags|=8192}}function mu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Es():536870912,e.lanes|=t,ba|=t)}function un(e,t){if(!Ne)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 Me(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 Cp(e,t,l){var a=t.pendingProps;switch(ji(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(t),null;case 1:return Me(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Xt(Ye),De(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ya(t)?Kt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ec())),Me(t),null;case 26:return l=t.memoizedState,e===null?(Kt(t),l!==null?(Me(t),Vo(t,l)):(Me(t),t.flags&=-16777217)):l?l!==e.memoizedState?(Kt(t),Me(t),Vo(t,l)):(Me(t),t.flags&=-16777217):(e.memoizedProps!==a&&Kt(t),Me(t),t.flags&=-16777217),null;case 27:Gl(t),l=X.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Kt(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Me(t),null}e=te.current,Ya(t)?xc(t):(e=Qf(n,a,l),t.stateNode=e,Kt(t))}return Me(t),null;case 5:if(Gl(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Kt(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Me(t),null}if(e=te.current,Ya(t))xc(t);else{switch(n=ju(X.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[We]=t,e[tt]=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(Je(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&&Kt(t)}}return Me(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Kt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=X.current,Ya(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=et,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[We]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Hf(e.nodeValue,l)),e||Dl(t)}else e=ju(e).createTextNode(a),e[We]=t,t.stateNode=e}return Me(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ya(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[We]=t}else Za(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Me(t),n=!1}else n=Ec(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Qt(t),t):(Qt(t),null)}if(Qt(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),mu(t,t.updateQueue),Me(t),null;case 4:return De(),e===null&&Zr(t.stateNode.containerInfo),Me(t),null;case 10:return Xt(t.type),Me(t),null;case 19:if(J(Ze),n=t.memoizedState,n===null)return Me(t),null;if(a=(t.flags&128)!==0,u=n.rendering,u===null)if(a)un(n,!1);else{if(Le!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=gu(e),u!==null){for(t.flags|=128,un(n,!1),e=u.updateQueue,t.updateQueue=e,mu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)mc(l,e),l=l.sibling;return Q(Ze,Ze.current&1|2),t.child}e=e.sibling}n.tail!==null&&zt()>Su&&(t.flags|=128,a=!0,un(n,!1),t.lanes=4194304)}else{if(!a)if(e=gu(u),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,mu(t,e),un(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!Ne)return Me(t),null}else 2*zt()-n.renderingStartTime>Su&&l!==536870912&&(t.flags|=128,a=!0,un(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=zt(),t.sibling=null,e=Ze.current,Q(Ze,a?e&1|2:e&1),t):(Me(t),null);case 22:case 23:return Qt(t),Vi(),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&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),l=t.updateQueue,l!==null&&mu(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&&J(kl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Xt(Ye),Me(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function Op(e,t){switch(ji(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xt(Ye),De(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Gl(t),null;case 13:if(Qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));Za()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return J(Ze),null;case 4:return De(),null;case 10:return Xt(t.type),null;case 22:case 23:return Qt(t),Vi(),e!==null&&J(kl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xt(Ye),null;case 25:return null;default:return null}}function Qo(e,t){switch(ji(t),t.tag){case 3:Xt(Ye),De();break;case 26:case 27:case 5:Gl(t);break;case 4:De();break;case 13:Qt(t);break;case 19:J(Ze);break;case 10:Xt(t.type);break;case 22:case 23:Qt(t),Vi(),e!==null&&J(kl);break;case 24:Xt(Ye)}}function rn(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,r=l.inst;a=u(),r.destroy=a}l=l.next}while(l!==n)}}catch(s){ze(t,t.return,s)}}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 r=a.inst,s=r.destroy;if(s!==void 0){r.destroy=void 0,n=t;var p=l,T=s;try{T()}catch(L){ze(n,p,L)}}}a=a.next}while(a!==u)}}catch(L){ze(t,t.return,L)}}function Fo(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Rc(t,l)}catch(a){ze(e,e.return,a)}}}function Ko(e,t,l){l.props=Ul(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){ze(e,t,a)}}function sn(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){ze(e,t,n)}}function Rt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){ze(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){ze(e,t,n)}else l.current=null}function $o(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){ze(e,e.return,n)}}function vr(e,t,l){try{var a=e.stateNode;Jp(a,e.type,l,t),a[tt]=t}catch(n){ze(e,e.return,n)}}function Jo(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&bl(e.type)||e.tag===4}function xr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jo(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&&bl(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 Sr(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=zu));else if(a!==4&&(a===27&&bl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Sr(e,t,l),e=e.sibling;e!==null;)Sr(e,t,l),e=e.sibling}function vu(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&&bl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(vu(e,t,l),e=e.sibling;e!==null;)vu(e,t,l),e=e.sibling}function Wo(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Je(t,a,l),t[We]=e,t[tt]=l}catch(u){ze(e,e.return,u)}}var $t=!1,He=!1,Er=!1,Io=typeof WeakSet=="function"?WeakSet:Set,Qe=null;function zp(e,t){if(e=e.containerInfo,Qr=Uu,e=sc(e),xi(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 r=0,s=-1,p=-1,T=0,L=0,G=e,C=null;t:for(;;){for(var j;G!==l||n!==0&&G.nodeType!==3||(s=r+n),G!==u||a!==0&&G.nodeType!==3||(p=r+a),G.nodeType===3&&(r+=G.nodeValue.length),(j=G.firstChild)!==null;)C=G,G=j;for(;;){if(G===e)break t;if(C===l&&++T===n&&(s=r),C===u&&++L===a&&(p=r),(j=G.nextSibling)!==null)break;G=C,C=G.parentNode}G=j}l=s===-1||p===-1?null:{start:s,end:p}}else l=null}l=l||{start:0,end:0}}else l=null;for(Fr={focusedElem:e,selectionRange:l},Uu=!1,Qe=t;Qe!==null;)if(t=Qe,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Qe=e;else for(;Qe!==null;){switch(t=Qe,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 ce=Ul(l.type,n,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(ce,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ie){ze(l,l.return,ie)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Jr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Jr(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(c(163))}if(e=t.sibling,e!==null){e.return=t.return,Qe=e;break}Qe=t.return}}function Po(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:ol(e,l),a&4&&rn(5,l);break;case 1:if(ol(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(r){ze(l,l.return,r)}else{var n=Ul(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(r){ze(l,l.return,r)}}a&64&&Fo(l),a&512&&sn(l,l.return);break;case 3:if(ol(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{Rc(e,t)}catch(r){ze(l,l.return,r)}}break;case 27:t===null&&a&4&&Wo(l);case 26:case 5:ol(e,l),t===null&&a&4&&$o(l),a&512&&sn(l,l.return);break;case 12:ol(e,l);break;case 13:ol(e,l),a&4&&lf(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Hp.bind(null,l),ay(e,l))));break;case 22:if(a=l.memoizedState!==null||$t,!a){t=t!==null&&t.memoizedState!==null||He,n=$t;var u=He;$t=a,(He=t)&&!u?fl(e,l,(l.subtreeFlags&8772)!==0):ol(e,l),$t=n,He=u}break;case 30:break;default:ol(e,l)}}function ef(e){var t=e.alternate;t!==null&&(e.alternate=null,ef(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ti(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 Re=null,nt=!1;function Jt(e,t,l){for(l=l.child;l!==null;)tf(e,t,l),l=l.sibling}function tf(e,t,l){if(it&&typeof it.onCommitFiberUnmount=="function")try{it.onCommitFiberUnmount(Ca,l)}catch{}switch(l.tag){case 26:He||Rt(l,t),Jt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:He||Rt(l,t);var a=Re,n=nt;bl(l.type)&&(Re=l.stateNode,nt=!1),Jt(e,t,l),bn(l.stateNode),Re=a,nt=n;break;case 5:He||Rt(l,t);case 6:if(a=Re,n=nt,Re=null,Jt(e,t,l),Re=a,nt=n,Re!==null)if(nt)try{(Re.nodeType===9?Re.body:Re.nodeName==="HTML"?Re.ownerDocument.body:Re).removeChild(l.stateNode)}catch(u){ze(l,t,u)}else try{Re.removeChild(l.stateNode)}catch(u){ze(l,t,u)}break;case 18:Re!==null&&(nt?(e=Re,Xf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),_n(e)):Xf(Re,l.stateNode));break;case 4:a=Re,n=nt,Re=l.stateNode.containerInfo,nt=!0,Jt(e,t,l),Re=a,nt=n;break;case 0:case 11:case 14:case 15:He||cl(2,l,t),He||cl(4,l,t),Jt(e,t,l);break;case 1:He||(Rt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Ko(l,t,a)),Jt(e,t,l);break;case 21:Jt(e,t,l);break;case 22:He=(a=He)||l.memoizedState!==null,Jt(e,t,l),He=a;break;default:Jt(e,t,l)}}function lf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{_n(e)}catch(l){ze(t,t.return,l)}}function jp(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Io),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Io),t;default:throw Error(c(435,e.tag))}}function Ar(e,t){var l=jp(e);t.forEach(function(a){var n=qp.bind(null,e,a);l.has(a)||(l.add(a),a.then(n,n))})}function ot(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,r=t,s=r;e:for(;s!==null;){switch(s.tag){case 27:if(bl(s.type)){Re=s.stateNode,nt=!1;break e}break;case 5:Re=s.stateNode,nt=!1;break e;case 3:case 4:Re=s.stateNode.containerInfo,nt=!0;break e}s=s.return}if(Re===null)throw Error(c(160));tf(u,r,n),Re=null,nt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)af(t,e),t=t.sibling}var Ct=null;function af(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ot(t,e),ft(e),a&4&&(cl(3,e,e.return),rn(3,e),cl(5,e,e.return));break;case 1:ot(t,e),ft(e),a&512&&(He||l===null||Rt(l,l.return)),a&64&&$t&&(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=Ct;if(ot(t,e),ft(e),a&512&&(He||l===null||Rt(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[ja]||u[We]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Je(u,a,l),u[We]=e,Xe(u),a=u;break e;case"link":var r=If("link","href",n).get(a+(l.href||""));if(r){for(var s=0;s<r.length;s++)if(u=r[s],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)){r.splice(s,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;case"meta":if(r=If("meta","content",n).get(a+(l.content||""))){for(s=0;s<r.length;s++)if(u=r[s],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)){r.splice(s,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;default:throw Error(c(468,a))}u[We]=e,Xe(u),a=u}e.stateNode=a}else Pf(n,e.type,e.stateNode);else e.stateNode=Wf(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Pf(n,e.type,e.stateNode):Wf(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&vr(e,e.memoizedProps,l.memoizedProps)}break;case 27:ot(t,e),ft(e),a&512&&(He||l===null||Rt(l,l.return)),l!==null&&a&4&&vr(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ot(t,e),ft(e),a&512&&(He||l===null||Rt(l,l.return)),e.flags&32){n=e.stateNode;try{$l(n,"")}catch(j){ze(e,e.return,j)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,vr(e,n,l!==null?l.memoizedProps:n)),a&1024&&(Er=!0);break;case 6:if(ot(t,e),ft(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(j){ze(e,e.return,j)}}break;case 3:if(Mu=null,n=Ct,Ct=Du(t.containerInfo),ot(t,e),Ct=n,ft(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{_n(t.containerInfo)}catch(j){ze(e,e.return,j)}Er&&(Er=!1,nf(e));break;case 4:a=Ct,Ct=Du(e.stateNode.containerInfo),ot(t,e),ft(e),Ct=a;break;case 12:ot(t,e),ft(e);break;case 13:ot(t,e),ft(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Or=zt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ar(e,a)));break;case 22:n=e.memoizedState!==null;var p=l!==null&&l.memoizedState!==null,T=$t,L=He;if($t=T||n,He=L||p,ot(t,e),He=L,$t=T,ft(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||p||$t||He||Bl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){p=l=t;try{if(u=p.stateNode,n)r=u.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{s=p.stateNode;var G=p.memoizedProps.style,C=G!=null&&G.hasOwnProperty("display")?G.display:null;s.style.display=C==null||typeof C=="boolean"?"":(""+C).trim()}}catch(j){ze(p,p.return,j)}}}else if(t.tag===6){if(l===null){p=t;try{p.stateNode.nodeValue=n?"":p.memoizedProps}catch(j){ze(p,p.return,j)}}}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,Ar(e,l))));break;case 19:ot(t,e),ft(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ar(e,a)));break;case 30:break;case 21:break;default:ot(t,e),ft(e)}}function ft(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Jo(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,u=xr(e);vu(e,u,n);break;case 5:var r=l.stateNode;l.flags&32&&($l(r,""),l.flags&=-33);var s=xr(e);vu(e,s,r);break;case 3:case 4:var p=l.stateNode.containerInfo,T=xr(e);Sr(e,T,p);break;default:throw Error(c(161))}}catch(L){ze(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function nf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;nf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ol(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Po(e,t.alternate,t),t=t.sibling}function Bl(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),Bl(t);break;case 1:Rt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Ko(t,t.return,l),Bl(t);break;case 27:bn(t.stateNode);case 26:case 5:Rt(t,t.return),Bl(t);break;case 22:t.memoizedState===null&&Bl(t);break;case 30:Bl(t);break;default:Bl(t)}e=e.sibling}}function fl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,r=u.flags;switch(u.tag){case 0:case 11:case 15:fl(n,u,l),rn(4,u);break;case 1:if(fl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(T){ze(a,a.return,T)}if(a=u,n=a.updateQueue,n!==null){var s=a.stateNode;try{var p=n.shared.hiddenCallbacks;if(p!==null)for(n.shared.hiddenCallbacks=null,n=0;n<p.length;n++)Dc(p[n],s)}catch(T){ze(a,a.return,T)}}l&&r&64&&Fo(u),sn(u,u.return);break;case 27:Wo(u);case 26:case 5:fl(n,u,l),l&&a===null&&r&4&&$o(u),sn(u,u.return);break;case 12:fl(n,u,l);break;case 13:fl(n,u,l),l&&r&4&&lf(n,u);break;case 22:u.memoizedState===null&&fl(n,u,l),sn(u,u.return);break;case 30:break;default:fl(n,u,l)}t=t.sibling}}function Nr(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Qa(l))}function _r(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e))}function Mt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)uf(e,t,l,a),t=t.sibling}function uf(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Mt(e,t,l,a),n&2048&&rn(9,t);break;case 1:Mt(e,t,l,a);break;case 3:Mt(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&&Qa(e)));break;case 12:if(n&2048){Mt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,r=u.id,s=u.onPostCommit;typeof s=="function"&&s(r,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(p){ze(t,t.return,p)}}else Mt(e,t,l,a);break;case 13:Mt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,r=t.alternate,t.memoizedState!==null?u._visibility&2?Mt(e,t,l,a):cn(e,t):u._visibility&2?Mt(e,t,l,a):(u._visibility|=2,pa(e,t,l,a,(t.subtreeFlags&10256)!==0)),n&2048&&Nr(r,t);break;case 24:Mt(e,t,l,a),n&2048&&_r(t.alternate,t);break;default:Mt(e,t,l,a)}}function pa(e,t,l,a,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=e,r=t,s=l,p=a,T=r.flags;switch(r.tag){case 0:case 11:case 15:pa(u,r,s,p,n),rn(8,r);break;case 23:break;case 22:var L=r.stateNode;r.memoizedState!==null?L._visibility&2?pa(u,r,s,p,n):cn(u,r):(L._visibility|=2,pa(u,r,s,p,n)),n&&T&2048&&Nr(r.alternate,r);break;case 24:pa(u,r,s,p,n),n&&T&2048&&_r(r.alternate,r);break;default:pa(u,r,s,p,n)}t=t.sibling}}function cn(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:cn(l,a),n&2048&&Nr(a.alternate,a);break;case 24:cn(l,a),n&2048&&_r(a.alternate,a);break;default:cn(l,a)}t=t.sibling}}var on=8192;function ya(e){if(e.subtreeFlags&on)for(e=e.child;e!==null;)rf(e),e=e.sibling}function rf(e){switch(e.tag){case 26:ya(e),e.flags&on&&e.memoizedState!==null&&hy(Ct,e.memoizedState,e.memoizedProps);break;case 5:ya(e);break;case 3:case 4:var t=Ct;Ct=Du(e.stateNode.containerInfo),ya(e),Ct=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=on,on=16777216,ya(e),on=t):ya(e));break;default:ya(e)}}function sf(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 fn(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];Qe=a,of(a,e)}sf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)cf(e),e=e.sibling}function cf(e){switch(e.tag){case 0:case 11:case 15:fn(e),e.flags&2048&&cl(9,e,e.return);break;case 3:fn(e);break;case 12:fn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,xu(e)):fn(e);break;default:fn(e)}}function xu(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];Qe=a,of(a,e)}sf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:cl(8,t,t.return),xu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,xu(t));break;default:xu(t)}e=e.sibling}}function of(e,t){for(;Qe!==null;){var l=Qe;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:Qa(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Qe=a;else e:for(l=e;Qe!==null;){a=Qe;var n=a.sibling,u=a.return;if(ef(a),a===l){Qe=null;break e}if(n!==null){n.return=u,Qe=n;break e}Qe=u}}}var Dp={getCacheForType:function(e){var t=Ie(Ye),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},Rp=typeof WeakMap=="function"?WeakMap:Map,_e=0,je=null,xe=null,Ee=0,Te=0,dt=null,dl=!1,ha=!1,Tr=!1,Wt=0,Le=0,gl=0,Hl=0,wr=0,_t=0,ba=0,dn=null,ut=null,Cr=!1,Or=0,Su=1/0,Eu=null,pl=null,$e=0,yl=null,ma=null,va=0,zr=0,jr=null,ff=null,gn=0,Dr=null;function gt(){if((_e&2)!==0&&Ee!==0)return Ee&-Ee;if(k.T!==null){var e=ia;return e!==0?e:Hr()}return _s()}function df(){_t===0&&(_t=(Ee&536870912)===0||Ne?Ss():536870912);var e=Nt.current;return e!==null&&(e.flags|=32),_t}function pt(e,t,l){(e===je&&(Te===2||Te===9)||e.cancelPendingCommit!==null)&&(xa(e,0),hl(e,Ee,_t,!1)),za(e,l),((_e&2)===0||e!==je)&&(e===je&&((_e&2)===0&&(Hl|=l),Le===4&&hl(e,Ee,_t,!1)),kt(e))}function gf(e,t,l){if((_e&6)!==0)throw Error(c(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Oa(e,t),n=a?Lp(e,t):kr(e,t,!0),u=a;do{if(n===0){ha&&!a&&hl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!Mp(l)){n=kr(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var r=0;else r=e.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){t=r;e:{var s=e;n=dn;var p=s.current.memoizedState.isDehydrated;if(p&&(xa(s,r).flags|=256),r=kr(s,r,!1),r!==2){if(Tr&&!p){s.errorRecoveryDisabledLanes|=u,Hl|=u,n=4;break e}u=ut,ut=n,u!==null&&(ut===null?ut=u:ut.push.apply(ut,u))}n=r}if(u=!1,n!==2)continue}}if(n===1){xa(e,0),hl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:hl(a,t,_t,!dl);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=Or+300-zt(),10<n)){if(hl(a,t,_t,!dl),Rn(a,0,!0)!==0)break e;a.timeoutHandle=Yf(pf.bind(null,a,l,ut,Eu,Cr,t,_t,Hl,ba,dl,u,2,-0,0),n);break e}pf(a,l,ut,Eu,Cr,t,_t,Hl,ba,dl,u,0,-0,0)}}break}while(!0);kt(e)}function pf(e,t,l,a,n,u,r,s,p,T,L,G,C,j){if(e.timeoutHandle=-1,G=t.subtreeFlags,(G&8192||(G&16785408)===16785408)&&(xn={stylesheets:null,count:0,unsuspend:yy},rf(t),G=by(),G!==null)){e.cancelPendingCommit=G(Sf.bind(null,e,t,u,l,a,n,r,s,p,L,1,C,j)),hl(e,u,r,!T);return}Sf(e,t,u,l,a,n,r,s,p)}function Mp(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(!st(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 hl(e,t,l,a){t&=~wr,t&=~Hl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-rt(n),r=1<<u;a[u]=-1,n&=~r}l!==0&&As(e,l,t)}function Au(){return(_e&6)===0?(pn(0),!1):!0}function Rr(){if(xe!==null){if(Te===0)var e=xe.return;else e=xe,Zt=Rl=null,Ji(e),da=null,an=0,e=xe;for(;e!==null;)Qo(e.alternate,e),e=e.return;xe=null}}function xa(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Ip(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Rr(),je=e,xe=l=qt(e.current,null),Ee=t,Te=0,dt=null,dl=!1,ha=Oa(e,t),Tr=!1,ba=_t=wr=Hl=gl=Le=0,ut=dn=null,Cr=!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-rt(a),u=1<<n;t|=e[n],a&=~u}return Wt=t,Vn(),l}function yf(e,t){he=null,k.H=ou,t===Ka||t===eu?(t=zc(),Te=3):t===wc?(t=zc(),Te=4):Te=t===Do?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,dt=t,xe===null&&(Le=1,yu(e,xt(t,e.current)))}function hf(){var e=k.H;return k.H=ou,e===null?ou:e}function bf(){var e=k.A;return k.A=Dp,e}function Mr(){Le=4,dl||(Ee&4194048)!==Ee&&Nt.current!==null||(ha=!0),(gl&134217727)===0&&(Hl&134217727)===0||je===null||hl(je,Ee,_t,!1)}function kr(e,t,l){var a=_e;_e|=2;var n=hf(),u=bf();(je!==e||Ee!==t)&&(Eu=null,xa(e,t)),t=!1;var r=Le;e:do try{if(Te!==0&&xe!==null){var s=xe,p=dt;switch(Te){case 8:Rr(),r=6;break e;case 3:case 2:case 9:case 6:Nt.current===null&&(t=!0);var T=Te;if(Te=0,dt=null,Sa(e,s,p,T),l&&ha){r=0;break e}break;default:T=Te,Te=0,dt=null,Sa(e,s,p,T)}}kp(),r=Le;break}catch(L){yf(e,L)}while(!0);return t&&e.shellSuspendCounter++,Zt=Rl=null,_e=a,k.H=n,k.A=u,xe===null&&(je=null,Ee=0,Vn()),r}function kp(){for(;xe!==null;)mf(xe)}function Lp(e,t){var l=_e;_e|=2;var a=hf(),n=bf();je!==e||Ee!==t?(Eu=null,Su=zt()+500,xa(e,t)):ha=Oa(e,t);e:do try{if(Te!==0&&xe!==null){t=xe;var u=dt;t:switch(Te){case 1:Te=0,dt=null,Sa(e,t,u,1);break;case 2:case 9:if(Cc(u)){Te=0,dt=null,vf(t);break}t=function(){Te!==2&&Te!==9||je!==e||(Te=7),kt(e)},u.then(t,t);break e;case 3:Te=7;break e;case 4:Te=5;break e;case 7:Cc(u)?(Te=0,dt=null,vf(t)):(Te=0,dt=null,Sa(e,t,u,7));break;case 5:var r=null;switch(xe.tag){case 26:r=xe.memoizedState;case 5:case 27:var s=xe;if(!r||ed(r)){Te=0,dt=null;var p=s.sibling;if(p!==null)xe=p;else{var T=s.return;T!==null?(xe=T,Nu(T)):xe=null}break t}}Te=0,dt=null,Sa(e,t,u,5);break;case 6:Te=0,dt=null,Sa(e,t,u,6);break;case 8:Rr(),Le=6;break e;default:throw Error(c(462))}}Up();break}catch(L){yf(e,L)}while(!0);return Zt=Rl=null,k.H=a,k.A=n,_e=l,xe!==null?0:(je=null,Ee=0,Vn(),Le)}function Up(){for(;xe!==null&&!ug();)mf(xe)}function mf(e){var t=Xo(e.alternate,e,Wt);e.memoizedProps=e.pendingProps,t===null?Nu(e):xe=t}function vf(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Bo(l,t,t.pendingProps,t.type,void 0,Ee);break;case 11:t=Bo(l,t,t.pendingProps,t.type.render,t.ref,Ee);break;case 5:Ji(t);default:Qo(l,t),t=xe=mc(t,Wt),t=Xo(l,t,Wt)}e.memoizedProps=e.pendingProps,t===null?Nu(e):xe=t}function Sa(e,t,l,a){Zt=Rl=null,Ji(t),da=null,an=0;var n=t.return;try{if(Tp(e,n,t,l,Ee)){Le=1,yu(e,xt(l,e.current)),xe=null;return}}catch(u){if(n!==null)throw xe=n,u;Le=1,yu(e,xt(l,e.current)),xe=null;return}t.flags&32768?(Ne||a===1?e=!0:ha||(Ee&536870912)!==0?e=!1:(dl=e=!0,(a===2||a===9||a===3||a===6)&&(a=Nt.current,a!==null&&a.tag===13&&(a.flags|=16384))),xf(t,e)):Nu(t)}function Nu(e){var t=e;do{if((t.flags&32768)!==0){xf(t,dl);return}e=t.return;var l=Cp(t.alternate,t,Wt);if(l!==null){xe=l;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);Le===0&&(Le=5)}function xf(e,t){do{var l=Op(e.alternate,e);if(l!==null){l.flags&=32767,xe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){xe=e;return}xe=e=l}while(e!==null);Le=6,xe=null}function Sf(e,t,l,a,n,u,r,s,p){e.cancelPendingCommit=null;do _u();while($e!==0);if((_e&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(u=t.lanes|t.childLanes,u|=_i,yg(e,l,u,r,s,p),e===je&&(xe=je=null,Ee=0),ma=t,yl=e,va=l,zr=u,jr=n,ff=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Gp(zn,function(){return Tf(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=k.T,k.T=null,n=V.p,V.p=2,r=_e,_e|=4;try{zp(e,t,l)}finally{_e=r,V.p=n,k.T=a}}$e=1,Ef(),Af(),Nf()}}function Ef(){if($e===1){$e=0;var e=yl,t=ma,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=k.T,k.T=null;var a=V.p;V.p=2;var n=_e;_e|=4;try{af(t,e);var u=Fr,r=sc(e.containerInfo),s=u.focusedElem,p=u.selectionRange;if(r!==s&&s&&s.ownerDocument&&rc(s.ownerDocument.documentElement,s)){if(p!==null&&xi(s)){var T=p.start,L=p.end;if(L===void 0&&(L=T),"selectionStart"in s)s.selectionStart=T,s.selectionEnd=Math.min(L,s.value.length);else{var G=s.ownerDocument||document,C=G&&G.defaultView||window;if(C.getSelection){var j=C.getSelection(),ce=s.textContent.length,ie=Math.min(p.start,ce),Oe=p.end===void 0?ie:Math.min(p.end,ce);!j.extend&&ie>Oe&&(r=Oe,Oe=ie,ie=r);var A=ic(s,ie),b=ic(s,Oe);if(A&&b&&(j.rangeCount!==1||j.anchorNode!==A.node||j.anchorOffset!==A.offset||j.focusNode!==b.node||j.focusOffset!==b.offset)){var _=G.createRange();_.setStart(A.node,A.offset),j.removeAllRanges(),ie>Oe?(j.addRange(_),j.extend(b.node,b.offset)):(_.setEnd(b.node,b.offset),j.addRange(_))}}}}for(G=[],j=s;j=j.parentNode;)j.nodeType===1&&G.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<G.length;s++){var B=G[s];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Uu=!!Qr,Fr=Qr=null}finally{_e=n,V.p=a,k.T=l}}e.current=t,$e=2}}function Af(){if($e===2){$e=0;var e=yl,t=ma,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=k.T,k.T=null;var a=V.p;V.p=2;var n=_e;_e|=4;try{Po(e,t.alternate,t)}finally{_e=n,V.p=a,k.T=l}}$e=3}}function Nf(){if($e===4||$e===3){$e=0,ig();var e=yl,t=ma,l=va,a=ff;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?$e=5:($e=0,ma=yl=null,_f(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(pl=null),Pu(l),t=t.stateNode,it&&typeof it.onCommitFiberRoot=="function")try{it.onCommitFiberRoot(Ca,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=k.T,n=V.p,V.p=2,k.T=null;try{for(var u=e.onRecoverableError,r=0;r<a.length;r++){var s=a[r];u(s.value,{componentStack:s.stack})}}finally{k.T=t,V.p=n}}(va&3)!==0&&_u(),kt(e),n=e.pendingLanes,(l&4194090)!==0&&(n&42)!==0?e===Dr?gn++:(gn=0,Dr=e):gn=0,pn(0)}}function _f(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qa(t)))}function _u(e){return Ef(),Af(),Nf(),Tf()}function Tf(){if($e!==5)return!1;var e=yl,t=zr;zr=0;var l=Pu(va),a=k.T,n=V.p;try{V.p=32>l?32:l,k.T=null,l=jr,jr=null;var u=yl,r=va;if($e=0,ma=yl=null,va=0,(_e&6)!==0)throw Error(c(331));var s=_e;if(_e|=4,cf(u.current),uf(u,u.current,r,l),_e=s,pn(0,!1),it&&typeof it.onPostCommitFiberRoot=="function")try{it.onPostCommitFiberRoot(Ca,u)}catch{}return!0}finally{V.p=n,k.T=a,_f(e,t)}}function wf(e,t,l){t=xt(l,t),t=or(e.stateNode,t,2),e=ul(e,t,2),e!==null&&(za(e,2),kt(e))}function ze(e,t,l){if(e.tag===3)wf(e,e,l);else for(;t!==null;){if(t.tag===3){wf(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(pl===null||!pl.has(a))){e=xt(l,e),l=zo(2),a=ul(t,l,2),a!==null&&(jo(l,a,t,e),za(a,2),kt(a));break}}t=t.return}}function Lr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Rp;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)||(Tr=!0,n.add(l),e=Bp.bind(null,e,t,l),t.then(e,e))}function Bp(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,je===e&&(Ee&l)===l&&(Le===4||Le===3&&(Ee&62914560)===Ee&&300>zt()-Or?(_e&2)===0&&xa(e,0):wr|=l,ba===Ee&&(ba=0)),kt(e)}function Cf(e,t){t===0&&(t=Es()),e=la(e,t),e!==null&&(za(e,t),kt(e))}function Hp(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Cf(e,l)}function qp(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(c(314))}a!==null&&a.delete(t),Cf(e,l)}function Gp(e,t){return $u(e,t)}var Tu=null,Ea=null,Ur=!1,wu=!1,Br=!1,ql=0;function kt(e){e!==Ea&&e.next===null&&(Ea===null?Tu=Ea=e:Ea=Ea.next=e),wu=!0,Ur||(Ur=!0,Zp())}function pn(e,t){if(!Br&&wu){Br=!0;do for(var l=!1,a=Tu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var r=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-rt(42|e)+1)-1,u&=n&~(r&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Df(a,u))}else u=Ee,u=Rn(a,a===je?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Oa(a,u)||(l=!0,Df(a,u));a=a.next}while(l);Br=!1}}function Yp(){Of()}function Of(){wu=Ur=!1;var e=0;ql!==0&&(Wp()&&(e=ql),ql=0);for(var t=zt(),l=null,a=Tu;a!==null;){var n=a.next,u=zf(a,t);u===0?(a.next=null,l===null?Tu=n:l.next=n,n===null&&(Ea=l)):(l=a,(e!==0||(u&3)!==0)&&(wu=!0)),a=n}pn(e)}function zf(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var r=31-rt(u),s=1<<r,p=n[r];p===-1?((s&l)===0||(s&a)!==0)&&(n[r]=pg(s,t)):p<=t&&(e.expiredLanes|=s),u&=~s}if(t=je,l=Ee,l=Rn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Te===2||Te===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Ju(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Oa(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Ju(a),Pu(l)){case 2:case 8:l=vs;break;case 32:l=zn;break;case 268435456:l=xs;break;default:l=zn}return a=jf.bind(null,e),l=$u(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Ju(a),e.callbackPriority=2,e.callbackNode=null,2}function jf(e,t){if($e!==0&&$e!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(_u()&&e.callbackNode!==l)return null;var a=Ee;return a=Rn(e,e===je?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(gf(e,a,t),zf(e,zt()),e.callbackNode!=null&&e.callbackNode===l?jf.bind(null,e):null)}function Df(e,t){if(_u())return null;gf(e,t,!0)}function Zp(){Pp(function(){(_e&6)!==0?$u(ms,Yp):Of()})}function Hr(){return ql===0&&(ql=Ss()),ql}function Rf(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Bn(""+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 Xp(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=Rf((n[tt]||null).action),r=a.submitter;r&&(t=(t=r[tt]||null)?Rf(t.formAction):r.getAttribute("formAction"),t!==null&&(u=t,r=null));var s=new Yn("action","action",null,a,n);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ql!==0){var p=r?Mf(n,r):new FormData(n);ur(l,{pending:!0,data:p,method:n.method,action:u},null,p)}}else typeof u=="function"&&(s.preventDefault(),p=r?Mf(n,r):new FormData(n),ur(l,{pending:!0,data:p,method:n.method,action:u},u,p))},currentTarget:n}]})}}for(var qr=0;qr<Ni.length;qr++){var Gr=Ni[qr],Vp=Gr.toLowerCase(),Qp=Gr[0].toUpperCase()+Gr.slice(1);wt(Vp,"on"+Qp)}wt(fc,"onAnimationEnd"),wt(dc,"onAnimationIteration"),wt(gc,"onAnimationStart"),wt("dblclick","onDoubleClick"),wt("focusin","onFocus"),wt("focusout","onBlur"),wt(cp,"onTransitionRun"),wt(op,"onTransitionStart"),wt(fp,"onTransitionCancel"),wt(pc,"onTransitionEnd"),Ql("onMouseEnter",["mouseout","mouseover"]),Ql("onMouseLeave",["mouseout","mouseover"]),Ql("onPointerEnter",["pointerout","pointerover"]),Ql("onPointerLeave",["pointerout","pointerover"]),Nl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yn="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(" "),Fp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yn));function kf(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 r=a.length-1;0<=r;r--){var s=a[r],p=s.instance,T=s.currentTarget;if(s=s.listener,p!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=T;try{u(n)}catch(L){pu(L)}n.currentTarget=null,u=p}else for(r=0;r<a.length;r++){if(s=a[r],p=s.instance,T=s.currentTarget,s=s.listener,p!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=T;try{u(n)}catch(L){pu(L)}n.currentTarget=null,u=p}}}}function Se(e,t){var l=t[ei];l===void 0&&(l=t[ei]=new Set);var a=e+"__bubble";l.has(a)||(Lf(t,e,2,!1),l.add(a))}function Yr(e,t,l){var a=0;t&&(a|=4),Lf(l,e,a,t)}var Cu="_reactListening"+Math.random().toString(36).slice(2);function Zr(e){if(!e[Cu]){e[Cu]=!0,ws.forEach(function(l){l!=="selectionchange"&&(Fp.has(l)||Yr(l,!1,e),Yr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cu]||(t[Cu]=!0,Yr("selectionchange",!1,t))}}function Lf(e,t,l,a){switch(id(t)){case 2:var n=xy;break;case 8:n=Sy;break;default:n=as}l=n.bind(null,t,l,e),n=void 0,!fi||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 Xr(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var r=a.tag;if(r===3||r===4){var s=a.stateNode.containerInfo;if(s===n)break;if(r===4)for(r=a.return;r!==null;){var p=r.tag;if((p===3||p===4)&&r.stateNode.containerInfo===n)return;r=r.return}for(;s!==null;){if(r=Zl(s),r===null)return;if(p=r.tag,p===5||p===6||p===26||p===27){a=u=r;continue e}s=s.parentNode}}a=a.return}Gs(function(){var T=u,L=ci(l),G=[];e:{var C=yc.get(e);if(C!==void 0){var j=Yn,ce=e;switch(e){case"keypress":if(qn(l)===0)break e;case"keydown":case"keyup":j=Gg;break;case"focusin":ce="focus",j=yi;break;case"focusout":ce="blur",j=yi;break;case"beforeblur":case"afterblur":j=yi;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":j=Xs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Og;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Xg;break;case fc:case dc:case gc:j=Dg;break;case pc:j=Qg;break;case"scroll":case"scrollend":j=wg;break;case"wheel":j=Kg;break;case"copy":case"cut":case"paste":j=Mg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Qs;break;case"toggle":case"beforetoggle":j=Jg}var ie=(t&4)!==0,Oe=!ie&&(e==="scroll"||e==="scrollend"),A=ie?C!==null?C+"Capture":null:C;ie=[];for(var b=T,_;b!==null;){var B=b;if(_=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||_===null||A===null||(B=Ra(b,A),B!=null&&ie.push(hn(b,B,_))),Oe)break;b=b.return}0<ie.length&&(C=new j(C,ce,null,l,L),G.push({event:C,listeners:ie}))}}if((t&7)===0){e:{if(C=e==="mouseover"||e==="pointerover",j=e==="mouseout"||e==="pointerout",C&&l!==si&&(ce=l.relatedTarget||l.fromElement)&&(Zl(ce)||ce[Yl]))break e;if((j||C)&&(C=L.window===L?L:(C=L.ownerDocument)?C.defaultView||C.parentWindow:window,j?(ce=l.relatedTarget||l.toElement,j=T,ce=ce?Zl(ce):null,ce!==null&&(Oe=v(ce),ie=ce.tag,ce!==Oe||ie!==5&&ie!==27&&ie!==6)&&(ce=null)):(j=null,ce=T),j!==ce)){if(ie=Xs,B="onMouseLeave",A="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(ie=Qs,B="onPointerLeave",A="onPointerEnter",b="pointer"),Oe=j==null?C:Da(j),_=ce==null?C:Da(ce),C=new ie(B,b+"leave",j,l,L),C.target=Oe,C.relatedTarget=_,B=null,Zl(L)===T&&(ie=new ie(A,b+"enter",ce,l,L),ie.target=_,ie.relatedTarget=Oe,B=ie),Oe=B,j&&ce)t:{for(ie=j,A=ce,b=0,_=ie;_;_=Aa(_))b++;for(_=0,B=A;B;B=Aa(B))_++;for(;0<b-_;)ie=Aa(ie),b--;for(;0<_-b;)A=Aa(A),_--;for(;b--;){if(ie===A||A!==null&&ie===A.alternate)break t;ie=Aa(ie),A=Aa(A)}ie=null}else ie=null;j!==null&&Uf(G,C,j,ie,!1),ce!==null&&Oe!==null&&Uf(G,Oe,ce,ie,!0)}}e:{if(C=T?Da(T):window,j=C.nodeName&&C.nodeName.toLowerCase(),j==="select"||j==="input"&&C.type==="file")var ee=ec;else if(Is(C))if(tc)ee=ip;else{ee=np;var ve=ap}else j=C.nodeName,!j||j.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?T&&ri(T.elementType)&&(ee=ec):ee=up;if(ee&&(ee=ee(e,T))){Ps(G,ee,l,L);break e}ve&&ve(e,C,T),e==="focusout"&&T&&C.type==="number"&&T.memoizedProps.value!=null&&ii(C,"number",C.value)}switch(ve=T?Da(T):window,e){case"focusin":(Is(ve)||ve.contentEditable==="true")&&(Pl=ve,Si=T,Ga=null);break;case"focusout":Ga=Si=Pl=null;break;case"mousedown":Ei=!0;break;case"contextmenu":case"mouseup":case"dragend":Ei=!1,cc(G,l,L);break;case"selectionchange":if(sp)break;case"keydown":case"keyup":cc(G,l,L)}var le;if(bi)e:{switch(e){case"compositionstart":var re="onCompositionStart";break e;case"compositionend":re="onCompositionEnd";break e;case"compositionupdate":re="onCompositionUpdate";break e}re=void 0}else Il?Js(e,l)&&(re="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(re="onCompositionStart");re&&(Fs&&l.locale!=="ko"&&(Il||re!=="onCompositionStart"?re==="onCompositionEnd"&&Il&&(le=Ys()):(tl=L,di="value"in tl?tl.value:tl.textContent,Il=!0)),ve=Ou(T,re),0<ve.length&&(re=new Vs(re,e,null,l,L),G.push({event:re,listeners:ve}),le?re.data=le:(le=Ws(l),le!==null&&(re.data=le)))),(le=Ig?Pg(e,l):ep(e,l))&&(re=Ou(T,"onBeforeInput"),0<re.length&&(ve=new Vs("onBeforeInput","beforeinput",null,l,L),G.push({event:ve,listeners:re}),ve.data=le)),Xp(G,e,T,l,L)}kf(G,t)})}function hn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Ou(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=Ra(e,l),n!=null&&a.unshift(hn(e,n,u)),n=Ra(e,t),n!=null&&a.push(hn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function Aa(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Uf(e,t,l,a,n){for(var u=t._reactName,r=[];l!==null&&l!==a;){var s=l,p=s.alternate,T=s.stateNode;if(s=s.tag,p!==null&&p===a)break;s!==5&&s!==26&&s!==27||T===null||(p=T,n?(T=Ra(l,u),T!=null&&r.unshift(hn(l,T,p))):n||(T=Ra(l,u),T!=null&&r.push(hn(l,T,p)))),l=l.return}r.length!==0&&e.push({event:t,listeners:r})}var Kp=/\r\n?/g,$p=/\u0000|\uFFFD/g;function Bf(e){return(typeof e=="string"?e:""+e).replace(Kp,`
|
|
49
|
-
`).replace($p,"")}function Hf(e,t){return t=Bf(t),Bf(e)===t}function zu(){}function Ce(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||$l(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&$l(e,""+a);break;case"className":kn(e,"class",a);break;case"tabIndex":kn(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":kn(e,l,a);break;case"style":Hs(e,a,u);break;case"data":if(t!=="object"){kn(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=Bn(""+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"&&Ce(e,t,"name",n.name,n,null),Ce(e,t,"formEncType",n.formEncType,n,null),Ce(e,t,"formMethod",n.formMethod,n,null),Ce(e,t,"formTarget",n.formTarget,n,null)):(Ce(e,t,"encType",n.encType,n,null),Ce(e,t,"method",n.method,n,null),Ce(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Bn(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=zu);break;case"onScroll":a!=null&&Se("scroll",e);break;case"onScrollEnd":a!=null&&Se("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(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=Bn(""+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":Se("beforetoggle",e),Se("toggle",e),Mn(e,"popover",a);break;case"xlinkActuate":Bt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mn(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=_g.get(l)||l,Mn(e,l,a))}}function Vr(e,t,l,a,n,u){switch(l){case"style":Hs(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof a=="string"?$l(e,a):(typeof a=="number"||typeof a=="bigint")&&$l(e,""+a);break;case"onScroll":a!=null&&Se("scroll",e);break;case"onScrollEnd":a!=null&&Se("scrollend",e);break;case"onClick":a!=null&&(e.onclick=zu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cs.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[tt]||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,""):Mn(e,l,a)}}}function Je(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Se("error",e),Se("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var r=l[u];if(r!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ce(e,t,u,r,l,null)}}n&&Ce(e,t,"srcSet",l.srcSet,l,null),a&&Ce(e,t,"src",l.src,l,null);return;case"input":Se("invalid",e);var s=u=r=n=null,p=null,T=null;for(a in l)if(l.hasOwnProperty(a)){var L=l[a];if(L!=null)switch(a){case"name":n=L;break;case"type":r=L;break;case"checked":p=L;break;case"defaultChecked":T=L;break;case"value":u=L;break;case"defaultValue":s=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(c(137,t));break;default:Ce(e,t,a,L,l,null)}}ks(e,u,s,p,T,r,n,!1),Ln(e);return;case"select":Se("invalid",e),a=r=u=null;for(n in l)if(l.hasOwnProperty(n)&&(s=l[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":r=s;break;case"multiple":a=s;default:Ce(e,t,n,s,l,null)}t=u,l=r,e.multiple=!!a,t!=null?Kl(e,!!a,t,!1):l!=null&&Kl(e,!!a,l,!0);return;case"textarea":Se("invalid",e),u=n=a=null;for(r in l)if(l.hasOwnProperty(r)&&(s=l[r],s!=null))switch(r){case"value":a=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(c(91));break;default:Ce(e,t,r,s,l,null)}Us(e,a,n,u),Ln(e);return;case"option":for(p in l)if(l.hasOwnProperty(p)&&(a=l[p],a!=null))switch(p){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ce(e,t,p,a,l,null)}return;case"dialog":Se("beforetoggle",e),Se("toggle",e),Se("cancel",e),Se("close",e);break;case"iframe":case"object":Se("load",e);break;case"video":case"audio":for(a=0;a<yn.length;a++)Se(yn[a],e);break;case"image":Se("error",e),Se("load",e);break;case"details":Se("toggle",e);break;case"embed":case"source":case"link":Se("error",e),Se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in l)if(l.hasOwnProperty(T)&&(a=l[T],a!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ce(e,t,T,a,l,null)}return;default:if(ri(t)){for(L in l)l.hasOwnProperty(L)&&(a=l[L],a!==void 0&&Vr(e,t,L,a,l,void 0));return}}for(s in l)l.hasOwnProperty(s)&&(a=l[s],a!=null&&Ce(e,t,s,a,l,null))}function Jp(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,r=null,s=null,p=null,T=null,L=null;for(j in l){var G=l[j];if(l.hasOwnProperty(j)&&G!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":p=G;default:a.hasOwnProperty(j)||Ce(e,t,j,null,a,G)}}for(var C in a){var j=a[C];if(G=l[C],a.hasOwnProperty(C)&&(j!=null||G!=null))switch(C){case"type":u=j;break;case"name":n=j;break;case"checked":T=j;break;case"defaultChecked":L=j;break;case"value":r=j;break;case"defaultValue":s=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(c(137,t));break;default:j!==G&&Ce(e,t,C,j,a,G)}}ui(e,r,s,p,T,L,u,n);return;case"select":j=r=s=C=null;for(u in l)if(p=l[u],l.hasOwnProperty(u)&&p!=null)switch(u){case"value":break;case"multiple":j=p;default:a.hasOwnProperty(u)||Ce(e,t,u,null,a,p)}for(n in a)if(u=a[n],p=l[n],a.hasOwnProperty(n)&&(u!=null||p!=null))switch(n){case"value":C=u;break;case"defaultValue":s=u;break;case"multiple":r=u;default:u!==p&&Ce(e,t,n,u,a,p)}t=s,l=r,a=j,C!=null?Kl(e,!!l,C,!1):!!a!=!!l&&(t!=null?Kl(e,!!l,t,!0):Kl(e,!!l,l?[]:"",!1));return;case"textarea":j=C=null;for(s in l)if(n=l[s],l.hasOwnProperty(s)&&n!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Ce(e,t,s,null,a,n)}for(r in a)if(n=a[r],u=l[r],a.hasOwnProperty(r)&&(n!=null||u!=null))switch(r){case"value":C=n;break;case"defaultValue":j=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==u&&Ce(e,t,r,n,a,u)}Ls(e,C,j);return;case"option":for(var ce in l)if(C=l[ce],l.hasOwnProperty(ce)&&C!=null&&!a.hasOwnProperty(ce))switch(ce){case"selected":e.selected=!1;break;default:Ce(e,t,ce,null,a,C)}for(p in a)if(C=a[p],j=l[p],a.hasOwnProperty(p)&&C!==j&&(C!=null||j!=null))switch(p){case"selected":e.selected=C&&typeof C!="function"&&typeof C!="symbol";break;default:Ce(e,t,p,C,a,j)}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 ie in l)C=l[ie],l.hasOwnProperty(ie)&&C!=null&&!a.hasOwnProperty(ie)&&Ce(e,t,ie,null,a,C);for(T in a)if(C=a[T],j=l[T],a.hasOwnProperty(T)&&C!==j&&(C!=null||j!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(c(137,t));break;default:Ce(e,t,T,C,a,j)}return;default:if(ri(t)){for(var Oe in l)C=l[Oe],l.hasOwnProperty(Oe)&&C!==void 0&&!a.hasOwnProperty(Oe)&&Vr(e,t,Oe,void 0,a,C);for(L in a)C=a[L],j=l[L],!a.hasOwnProperty(L)||C===j||C===void 0&&j===void 0||Vr(e,t,L,C,a,j);return}}for(var A in l)C=l[A],l.hasOwnProperty(A)&&C!=null&&!a.hasOwnProperty(A)&&Ce(e,t,A,null,a,C);for(G in a)C=a[G],j=l[G],!a.hasOwnProperty(G)||C===j||C==null&&j==null||Ce(e,t,G,C,a,j)}var Qr=null,Fr=null;function ju(e){return e.nodeType===9?e:e.ownerDocument}function qf(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 Gf(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 Kr(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 $r=null;function Wp(){var e=window.event;return e&&e.type==="popstate"?e===$r?!1:($r=e,!0):($r=null,!1)}var Yf=typeof setTimeout=="function"?setTimeout:void 0,Ip=typeof clearTimeout=="function"?clearTimeout:void 0,Zf=typeof Promise=="function"?Promise:void 0,Pp=typeof queueMicrotask=="function"?queueMicrotask:typeof Zf<"u"?function(e){return Zf.resolve(null).then(e).catch(ey)}:Yf;function ey(e){setTimeout(function(){throw e})}function bl(e){return e==="head"}function Xf(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 r=e.ownerDocument;if(l&1&&bn(r.documentElement),l&2&&bn(r.body),l&4)for(l=r.head,bn(l),r=l.firstChild;r;){var s=r.nextSibling,p=r.nodeName;r[ja]||p==="SCRIPT"||p==="STYLE"||p==="LINK"&&r.rel.toLowerCase()==="stylesheet"||l.removeChild(r),r=s}}if(n===0){e.removeChild(u),_n(t);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=u}while(l);_n(t)}function Jr(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":Jr(l),ti(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function ty(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[ja])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 ly(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 Wr(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function ay(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 Ir=null;function Vf(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 Qf(e,t,l){switch(t=ju(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function bn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ti(e)}var Tt=new Map,Ff=new Set;function Du(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var It=V.d;V.d={f:ny,r:uy,D:iy,C:ry,L:sy,m:cy,X:fy,S:oy,M:dy};function ny(){var e=It.f(),t=Au();return e||t}function uy(e){var t=Xl(e);t!==null&&t.tag===5&&t.type==="form"?fo(t):It.r(e)}var Na=typeof document>"u"?null:document;function Kf(e,t,l){var a=Na;if(a&&typeof t=="string"&&t){var n=vt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Ff.has(n)||(Ff.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Je(t,"link",e),Xe(t),a.head.appendChild(t)))}}function iy(e){It.D(e),Kf("dns-prefetch",e,null)}function ry(e,t){It.C(e,t),Kf("preconnect",e,t)}function sy(e,t,l){It.L(e,t,l);var a=Na;if(a&&e&&t){var n='link[rel="preload"][as="'+vt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+vt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+vt(l.imageSizes)+'"]')):n+='[href="'+vt(e)+'"]';var u=n;switch(t){case"style":u=_a(e);break;case"script":u=Ta(e)}Tt.has(u)||(e=h({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(mn(u))||t==="script"&&a.querySelector(vn(u))||(t=a.createElement("link"),Je(t,"link",e),Xe(t),a.head.appendChild(t)))}}function cy(e,t){It.m(e,t);var l=Na;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+vt(a)+'"][href="'+vt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ta(e)}if(!Tt.has(u)&&(e=h({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(vn(u)))return}a=l.createElement("link"),Je(a,"link",e),Xe(a),l.head.appendChild(a)}}}function oy(e,t,l){It.S(e,t,l);var a=Na;if(a&&e){var n=Vl(a).hoistableStyles,u=_a(e);t=t||"default";var r=n.get(u);if(!r){var s={loading:0,preload:null};if(r=a.querySelector(mn(u)))s.loading=5;else{e=h({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Tt.get(u))&&Pr(e,l);var p=r=a.createElement("link");Xe(p),Je(p,"link",e),p._p=new Promise(function(T,L){p.onload=T,p.onerror=L}),p.addEventListener("load",function(){s.loading|=1}),p.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Ru(r,t,a)}r={type:"stylesheet",instance:r,count:1,state:s},n.set(u,r)}}}function fy(e,t){It.X(e,t);var l=Na;if(l&&e){var a=Vl(l).hoistableScripts,n=Ta(e),u=a.get(n);u||(u=l.querySelector(vn(n)),u||(e=h({src:e,async:!0},t),(t=Tt.get(n))&&es(e,t),u=l.createElement("script"),Xe(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function dy(e,t){It.M(e,t);var l=Na;if(l&&e){var a=Vl(l).hoistableScripts,n=Ta(e),u=a.get(n);u||(u=l.querySelector(vn(n)),u||(e=h({src:e,async:!0,type:"module"},t),(t=Tt.get(n))&&es(e,t),u=l.createElement("script"),Xe(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function $f(e,t,l,a){var n=(n=X.current)?Du(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=_a(l.href),l=Vl(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=_a(l.href);var u=Vl(n).hoistableStyles,r=u.get(e);if(r||(n=n.ownerDocument||n,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,r),(u=n.querySelector(mn(e)))&&!u._p&&(r.instance=u,r.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||gy(n,e,l,r.state))),t&&a===null)throw Error(c(528,""));return r}if(t&&a!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ta(l),l=Vl(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(c(444,e))}}function _a(e){return'href="'+vt(e)+'"'}function mn(e){return'link[rel="stylesheet"]['+e+"]"}function Jf(e){return h({},e,{"data-precedence":e.precedence,precedence:null})}function gy(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}),Je(t,"link",l),Xe(t),e.head.appendChild(t))}function Ta(e){return'[src="'+vt(e)+'"]'}function vn(e){return"script[async]"+e}function Wf(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+vt(l.href)+'"]');if(a)return t.instance=a,Xe(a),a;var n=h({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Xe(a),Je(a,"style",n),Ru(a,l.precedence,e),t.instance=a;case"stylesheet":n=_a(l.href);var u=e.querySelector(mn(n));if(u)return t.state.loading|=4,t.instance=u,Xe(u),u;a=Jf(l),(n=Tt.get(n))&&Pr(a,n),u=(e.ownerDocument||e).createElement("link"),Xe(u);var r=u;return r._p=new Promise(function(s,p){r.onload=s,r.onerror=p}),Je(u,"link",a),t.state.loading|=4,Ru(u,l.precedence,e),t.instance=u;case"script":return u=Ta(l.src),(n=e.querySelector(vn(u)))?(t.instance=n,Xe(n),n):(a=l,(n=Tt.get(u))&&(a=h({},l),es(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Xe(n),Je(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Ru(a,l.precedence,e));return t.instance}function Ru(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,r=0;r<a.length;r++){var s=a[r];if(s.dataset.precedence===t)u=s;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 Pr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function es(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Mu=null;function If(e,t,l){if(Mu===null){var a=new Map,n=Mu=new Map;n.set(l,a)}else n=Mu,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[ja]||u[We]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var r=u.getAttribute(t)||"";r=e+r;var s=a.get(r);s?s.push(u):a.set(r,[u])}}return a}function Pf(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function py(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 ed(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var xn=null;function yy(){}function hy(e,t,l){if(xn===null)throw Error(c(475));var a=xn;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=_a(l.href),u=e.querySelector(mn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=ku.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=u,Xe(u);return}u=e.ownerDocument||e,l=Jf(l),(n=Tt.get(n))&&Pr(l,n),u=u.createElement("link"),Xe(u);var r=u;r._p=new Promise(function(s,p){r.onload=s,r.onerror=p}),Je(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=ku.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function by(){if(xn===null)throw Error(c(475));var e=xn;return e.stylesheets&&e.count===0&&ts(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&ts(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 ku(){if(this.count--,this.count===0){if(this.stylesheets)ts(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Lu=null;function ts(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Lu=new Map,t.forEach(my,e),Lu=null,ku.call(e))}function my(e,t){if(!(t.state.loading&4)){var l=Lu.get(e);if(l)var a=l.get(null);else{l=new Map,Lu.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var r=n[u];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(l.set(r.dataset.precedence,r),a=r)}a&&l.set(null,a)}n=t.instance,r=n.getAttribute("data-precedence"),u=l.get(r)||a,u===a&&l.set(null,n),l.set(r,n),this.count++,a=ku.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 Sn={$$typeof:H,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function vy(e,t,l,a,n,u,r,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wu(0),this.hiddenUpdates=Wu(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function td(e,t,l,a,n,u,r,s,p,T,L,G){return e=new vy(e,t,l,r,s,p,T,G),t=1,u===!0&&(t|=24),u=ct(3,null,null,t),e.current=u,u.stateNode=e,t=Li(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},qi(u),e}function ld(e){return e?(e=aa,e):aa}function ad(e,t,l,a,n,u){n=ld(n),a.context===null?a.context=n:a.pendingContext=n,a=nl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=ul(e,a,t),l!==null&&(pt(l,e,t),Ja(l,e,t))}function nd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ls(e,t){nd(e,t),(e=e.alternate)&&nd(e,t)}function ud(e){if(e.tag===13){var t=la(e,67108864);t!==null&&pt(t,e,67108864),ls(e,67108864)}}var Uu=!0;function xy(e,t,l,a){var n=k.T;k.T=null;var u=V.p;try{V.p=2,as(e,t,l,a)}finally{V.p=u,k.T=n}}function Sy(e,t,l,a){var n=k.T;k.T=null;var u=V.p;try{V.p=8,as(e,t,l,a)}finally{V.p=u,k.T=n}}function as(e,t,l,a){if(Uu){var n=ns(a);if(n===null)Xr(e,t,a,Bu,l),rd(e,a);else if(Ay(n,e,t,l,a))a.stopPropagation();else if(rd(e,a),t&4&&-1<Ey.indexOf(e)){for(;n!==null;){var u=Xl(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var r=Al(u.pendingLanes);if(r!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;r;){var p=1<<31-rt(r);s.entanglements[1]|=p,r&=~p}kt(u),(_e&6)===0&&(Su=zt()+500,pn(0))}}break;case 13:s=la(u,2),s!==null&&pt(s,u,2),Au(),ls(u,2)}if(u=ns(a),u===null&&Xr(e,t,a,Bu,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else Xr(e,t,a,null,l)}}function ns(e){return e=ci(e),us(e)}var Bu=null;function us(e){if(Bu=null,e=Zl(e),e!==null){var t=v(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=O(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 Bu=e,null}function id(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(rg()){case ms:return 2;case vs:return 8;case zn:case sg:return 32;case xs:return 268435456;default:return 32}default:return 32}}var is=!1,ml=null,vl=null,xl=null,En=new Map,An=new Map,Sl=[],Ey="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 rd(e,t){switch(e){case"focusin":case"focusout":ml=null;break;case"dragenter":case"dragleave":vl=null;break;case"mouseover":case"mouseout":xl=null;break;case"pointerover":case"pointerout":En.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":An.delete(t.pointerId)}}function Nn(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=Xl(t),t!==null&&ud(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Ay(e,t,l,a,n){switch(t){case"focusin":return ml=Nn(ml,e,t,l,a,n),!0;case"dragenter":return vl=Nn(vl,e,t,l,a,n),!0;case"mouseover":return xl=Nn(xl,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return En.set(u,Nn(En.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,An.set(u,Nn(An.get(u)||null,e,t,l,a,n)),!0}return!1}function sd(e){var t=Zl(e.target);if(t!==null){var l=v(t);if(l!==null){if(t=l.tag,t===13){if(t=O(l),t!==null){e.blockedOn=t,hg(e.priority,function(){if(l.tag===13){var a=gt();a=Iu(a);var n=la(l,a);n!==null&&pt(n,l,a),ls(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 Hu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ns(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);si=a,l.target.dispatchEvent(a),si=null}else return t=Xl(l),t!==null&&ud(t),e.blockedOn=l,!1;t.shift()}return!0}function cd(e,t,l){Hu(e)&&l.delete(t)}function Ny(){is=!1,ml!==null&&Hu(ml)&&(ml=null),vl!==null&&Hu(vl)&&(vl=null),xl!==null&&Hu(xl)&&(xl=null),En.forEach(cd),An.forEach(cd)}function qu(e,t){e.blockedOn===t&&(e.blockedOn=null,is||(is=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ny)))}var Gu=null;function od(e){Gu!==e&&(Gu=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Gu===e&&(Gu=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(us(a||l)===null)continue;break}var u=Xl(l);u!==null&&(e.splice(t,3),t-=3,ur(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function _n(e){function t(p){return qu(p,e)}ml!==null&&qu(ml,e),vl!==null&&qu(vl,e),xl!==null&&qu(xl,e),En.forEach(t),An.forEach(t);for(var l=0;l<Sl.length;l++){var a=Sl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Sl.length&&(l=Sl[0],l.blockedOn===null);)sd(l),l.blockedOn===null&&Sl.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],r=n[tt]||null;if(typeof u=="function")r||od(l);else if(r){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,r=u[tt]||null)s=r.formAction;else if(us(n)!==null)continue}else s=r.action;typeof s=="function"?l[a+1]=s:(l.splice(a,3),a-=3),od(l)}}}function rs(e){this._internalRoot=e}Yu.prototype.render=rs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,a=gt();ad(l,a,e,t,null,null)},Yu.prototype.unmount=rs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ad(e.current,2,null,e,null,null),Au(),t[Yl]=null}};function Yu(e){this._internalRoot=e}Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=_s();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Sl.length&&t!==0&&t<Sl[l].priority;l++);Sl.splice(l,0,e),l===0&&sd(e)}};var fd=f.version;if(fd!=="19.1.0")throw Error(c(527,fd,"19.1.0"));V.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=S(t),e=e!==null?d(e):null,e=e===null?null:e.stateNode,e};var _y={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zu.isDisabled&&Zu.supportsFiber)try{Ca=Zu.inject(_y),it=Zu}catch{}}return wn.createRoot=function(e,t){if(!x(e))throw Error(c(299));var l=!1,a="",n=To,u=wo,r=Co,s=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&&(r=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(s=t.unstable_transitionCallbacks)),t=td(e,1,!1,null,null,l,a,n,u,r,s,null),e[Yl]=t.current,Zr(e),new rs(t)},wn.hydrateRoot=function(e,t,l){if(!x(e))throw Error(c(299));var a=!1,n="",u=To,r=wo,s=Co,p=null,T=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&&(r=l.onCaughtError),l.onRecoverableError!==void 0&&(s=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(p=l.unstable_transitionCallbacks),l.formState!==void 0&&(T=l.formState)),t=td(e,1,!0,t,l??null,a,n,u,r,s,p,T),t.context=ld(null),l=t.current,a=gt(),a=Iu(a),n=nl(a),n.callback=null,ul(l,n,a),l=a,t.current.lanes=l,za(t,l),kt(t),e[Yl]=t.current,Zr(e),new Yu(t)},wn.version="19.1.0",wn}var Sd;function ky(){if(Sd)return os.exports;Sd=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(f){console.error(f)}}return i(),os.exports=My(),os.exports}var Ly=ky();const Uy=Md(Ly);/**
|
|
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 By=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hy=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(f,g,c)=>c?c.toUpperCase():g.toLowerCase()),Ed=i=>{const f=Hy(i);return f.charAt(0).toUpperCase()+f.slice(1)},kd=(...i)=>i.filter((f,g,c)=>!!f&&f.trim()!==""&&c.indexOf(f)===g).join(" ").trim(),qy=i=>{for(const f in i)if(f.startsWith("aria-")||f==="role"||f==="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 Gy={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 Yy=W.forwardRef(({color:i="currentColor",size:f=24,strokeWidth:g=2,absoluteStrokeWidth:c,className:x="",children:v,iconNode:O,...D},S)=>W.createElement("svg",{ref:S,...Gy,width:f,height:f,stroke:i,strokeWidth:c?Number(g)*24/Number(f):g,className:kd("lucide",x),...!v&&!qy(D)&&{"aria-hidden":"true"},...D},[...O.map(([d,h])=>W.createElement(d,h)),...Array.isArray(v)?v:[v]]));/**
|
|
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 Ue=(i,f)=>{const g=W.forwardRef(({className:c,...x},v)=>W.createElement(Yy,{ref:v,iconNode:f,className:kd(`lucide-${By(Ed(i))}`,`lucide-${i}`,c),...x}));return g.displayName=Ed(i),g};/**
|
|
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 Zy=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Xy=Ue("align-left",Zy);/**
|
|
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 Vy=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Cn=Ue("check",Vy);/**
|
|
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 Qy=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hs=Ue("chevron-down",Qy);/**
|
|
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 Fy=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ld=Ue("chevron-right",Fy);/**
|
|
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 Ky=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],$y=Ue("columns-2",Ky);/**
|
|
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 Jy=[["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"}]],Ud=Ue("copy",Jy);/**
|
|
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 Wy=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],Iy=Ue("eraser",Wy);/**
|
|
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 Py=[["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:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Bd=Ue("file-diff",Py);/**
|
|
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 eh=[["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"}]],Hd=Ue("file-pen",eh);/**
|
|
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 th=[["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"}]],qd=Ue("file-plus",th);/**
|
|
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 lh=[["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"}]],Gd=Ue("file-x",lh);/**
|
|
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 ah=[["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"}]],nh=Ue("folder-open",ah);/**
|
|
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 uh=[["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"}]],ih=Ue("folder",uh);/**
|
|
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 rh=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],Yd=Ue("message-square",rh);/**
|
|
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 sh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],ch=Ue("panel-left-close",sh);/**
|
|
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 oh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],fh=Ue("panel-left",oh);/**
|
|
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 dh=[["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"}]],gh=Ue("pen",dh);/**
|
|
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 ph=[["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"}]],yh=Ue("save",ph);/**
|
|
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 hh=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],bh=Ue("search",hh);/**
|
|
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 mh=[["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"}]],Zd=Ue("settings",mh);/**
|
|
170
|
-
* @license lucide-react v0.525.0 - ISC
|
|
171
|
-
*
|
|
172
|
-
* This source code is licensed under the ISC license.
|
|
173
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const vh=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],xh=Ue("square",vh);/**
|
|
175
|
-
* @license lucide-react v0.525.0 - ISC
|
|
176
|
-
*
|
|
177
|
-
* This source code is licensed under the ISC license.
|
|
178
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const Sh=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Xd=Ue("x",Sh);function Vd({checked:i,onChange:f,label:g,className:c="",title:x}){const v=D=>{D.stopPropagation(),f(!i)},O=D=>{(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),D.stopPropagation(),f(!i))};return o.jsxs("div",{className:`flex items-center gap-2 text-xs text-github-text-primary cursor-pointer ${c}`,title:x,onClick:v,onKeyDown:O,role:"checkbox","aria-checked":i,tabIndex:0,children:[o.jsx("div",{className:`w-4 h-4 rounded border flex items-center justify-center transition-all duration-200 cursor-pointer ${i?"bg-github-accent border-github-accent":"bg-github-bg-tertiary border-github-text-muted hover:border-github-accent/50"}`,children:i&&o.jsx(Cn,{size:10,className:"text-white"})}),g&&o.jsx("span",{className:"select-none",children:g})]})}function Eh({commentsCount:i,isCopiedAll:f,onCopyAll:g,onDeleteAll:c}){const[x,v]=W.useState(!1),O=W.useRef(null);W.useEffect(()=>{const d=h=>{O.current&&!O.current.contains(h.target)&&v(!1)};return document.addEventListener("mousedown",d),()=>document.removeEventListener("mousedown",d)},[]);const D=()=>{g(),v(!1)},S=()=>{c(),v(!1)};return o.jsxs("div",{className:"relative",ref:O,children:[o.jsxs("div",{className:"flex",children:[o.jsxs("button",{onClick:D,className:"text-xs px-3 py-1.5 pr-2 rounded-l 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)",borderRight:"none"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",d.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",d.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},title:`Copy all ${i} comments to AI coding agent`,children:[f?o.jsx(Cn,{size:12}):o.jsx(Ud,{size:12}),f?"Copied All!":`Copy All Prompt (${i})`]}),o.jsx("button",{onClick:()=>v(!x),className:"text-xs px-2 py-1.5 rounded-r transition-all flex items-center border-l",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",borderTop:"1px solid var(--color-yellow-btn-border)",borderRight:"1px solid var(--color-yellow-btn-border)",borderBottom:"1px solid var(--color-yellow-btn-border)",borderLeft:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:d=>{d.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",d.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:d=>{d.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",d.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},title:"More options",children:o.jsx(hs,{size:12,className:`transition-transform duration-200 ${x?"rotate-180":""}`})})]}),x&&o.jsx("div",{className:"absolute left-0 right-0 bg-github-bg-primary border border-github-border rounded-b z-50 pb-px",style:{borderTop:"none"},children:o.jsxs("button",{onClick:S,className:"w-full text-left px-3 py-2 text-xs flex items-center gap-2 text-github-text-primary hover:bg-github-bg-tertiary transition-colors",children:[o.jsx(Iy,{size:12}),"Cleanup All Prompt"]})})]})}function Qd(i){return i&&i.split(".").pop()?.toLowerCase()||null}function Ah(i){return i&&i.split("/").pop()||""}const Nh=["jpg","jpeg","png","gif","bmp","svg","webp","ico","tiff","tif","avif","heic","heif"];function _h(i){if(!i)return!1;const f=Qd(i);return f?Nh.includes(f):!1}function Fd({onSubmit:i,onCancel:f}){const[g,c]=W.useState(""),[x,v]=W.useState(!1),O=async S=>{if(S.preventDefault(),!!g.trim()){v(!0);try{await i(g.trim()),c("")}catch(d){console.error("Failed to submit comment:",d)}finally{v(!1)}}},D=S=>{S.key==="Enter"&&(S.metaKey||S.ctrlKey)?O(S):S.key==="Escape"&&f()};return o.jsxs("form",{className:"m-2 mx-3 p-3 bg-github-bg-tertiary border border-github-border rounded-md",onSubmit:O,children:[o.jsxs("div",{className:"flex items-center justify-between mb-2",children:[o.jsx("span",{className:"text-sm font-medium text-github-text-primary",children:"Add a comment"}),o.jsx("span",{className:"text-xs text-github-text-muted",children:"Cmd+Enter to submit • Escape to cancel"})]}),o.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:g,onChange:S=>c(S.target.value),onKeyDown:D,placeholder:"Leave a comment...",rows:3,autoFocus:!0,disabled:x}),o.jsxs("div",{className:"flex gap-2 justify-end",children:[o.jsx("button",{type:"button",onClick:f,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"}),o.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:!g.trim()||x,children:x?"Adding...":"Add Comment"})]})]})}const Vu=On.memo(({onMouseDown:i,onMouseUp:f,title:g="Add a comment"})=>o.jsx("button",{className:"absolute -right-2 top-1/2 -translate-y-1/2 w-7 h-7 flex items-center justify-center rounded transition-all duration-150 hover:scale-110 z-10",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",border:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:c=>{c.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",c.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:c=>{c.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",c.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},onMouseDown:i,onMouseUp:f,title:g,children:o.jsx(Yd,{className:"w-4 h-4"})}));Vu.displayName="CommentButton";function Kd(i){var f,g,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var x=i.length;for(f=0;f<x;f++)i[f]&&(g=Kd(i[f]))&&(c&&(c+=" "),c+=g)}else for(g in i)i[g]&&(c&&(c+=" "),c+=g);return c}function $d(){for(var i,f,g=0,c="",x=arguments.length;g<x;g++)(i=arguments[g])&&(f=Kd(i))&&(c&&(c+=" "),c+=f);return c}var Th=Object.create,Fu=Object.defineProperty,wh=Object.defineProperties,Ch=Object.getOwnPropertyDescriptor,Oh=Object.getOwnPropertyDescriptors,Jd=Object.getOwnPropertyNames,Qu=Object.getOwnPropertySymbols,zh=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable,Ad=(i,f,g)=>f in i?Fu(i,f,{enumerable:!0,configurable:!0,writable:!0,value:g}):i[f]=g,Lt=(i,f)=>{for(var g in f||(f={}))bs.call(f,g)&&Ad(i,g,f[g]);if(Qu)for(var g of Qu(f))Wd.call(f,g)&&Ad(i,g,f[g]);return i},Ku=(i,f)=>wh(i,Oh(f)),Id=(i,f)=>{var g={};for(var c in i)bs.call(i,c)&&f.indexOf(c)<0&&(g[c]=i[c]);if(i!=null&&Qu)for(var c of Qu(i))f.indexOf(c)<0&&Wd.call(i,c)&&(g[c]=i[c]);return g},jh=(i,f)=>function(){return f||(0,i[Jd(i)[0]])((f={exports:{}}).exports,f),f.exports},Dh=(i,f)=>{for(var g in f)Fu(i,g,{get:f[g],enumerable:!0})},Rh=(i,f,g,c)=>{if(f&&typeof f=="object"||typeof f=="function")for(let x of Jd(f))!bs.call(i,x)&&x!==g&&Fu(i,x,{get:()=>f[x],enumerable:!(c=Ch(f,x))||c.enumerable});return i},Mh=(i,f,g)=>(g=i!=null?Th(zh(i)):{},Rh(!i||!i.__esModule?Fu(g,"default",{value:i,enumerable:!0}):g,i)),kh=jh({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(i,f){var g=function(){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,x=0,v={},O={util:{encode:function m(N){return N instanceof D?new D(N.type,m(N.content),N.alias):Array.isArray(N)?N.map(m):N.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(m){return Object.prototype.toString.call(m).slice(8,-1)},objId:function(m){return m.__id||Object.defineProperty(m,"__id",{value:++x}),m.__id},clone:function m(N,R){R=R||{};var E,z;switch(O.util.type(N)){case"Object":if(z=O.util.objId(N),R[z])return R[z];E={},R[z]=E;for(var H in N)N.hasOwnProperty(H)&&(E[H]=m(N[H],R));return E;case"Array":return z=O.util.objId(N),R[z]?R[z]:(E=[],R[z]=E,N.forEach(function(P,F){E[F]=m(P,R)}),E);default:return N}},getLanguage:function(m){for(;m;){var N=c.exec(m.className);if(N)return N[1].toLowerCase();m=m.parentElement}return"none"},setLanguage:function(m,N){m.className=m.className.replace(RegExp(c,"gi"),""),m.classList.add("language-"+N)},isActive:function(m,N,R){for(var E="no-"+N;m;){var z=m.classList;if(z.contains(N))return!0;if(z.contains(E))return!1;m=m.parentElement}return!!R}},languages:{plain:v,plaintext:v,text:v,txt:v,extend:function(m,N){var R=O.util.clone(O.languages[m]);for(var E in N)R[E]=N[E];return R},insertBefore:function(m,N,R,E){E=E||O.languages;var z=E[m],H={};for(var P in z)if(z.hasOwnProperty(P)){if(P==N)for(var F in R)R.hasOwnProperty(F)&&(H[F]=R[F]);R.hasOwnProperty(P)||(H[P]=z[P])}var de=E[m];return E[m]=H,O.languages.DFS(O.languages,function(oe,K){K===de&&oe!=m&&(this[oe]=H)}),H},DFS:function m(N,R,E,z){z=z||{};var H=O.util.objId;for(var P in N)if(N.hasOwnProperty(P)){R.call(N,P,N[P],E||P);var F=N[P],de=O.util.type(F);de==="Object"&&!z[H(F)]?(z[H(F)]=!0,m(F,R,null,z)):de==="Array"&&!z[H(F)]&&(z[H(F)]=!0,m(F,R,P,z))}}},plugins:{},highlight:function(m,N,R){var E={code:m,grammar:N,language:R};if(O.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=O.tokenize(E.code,E.grammar),O.hooks.run("after-tokenize",E),D.stringify(O.util.encode(E.tokens),E.language)},tokenize:function(m,N){var R=N.rest;if(R){for(var E in R)N[E]=R[E];delete N.rest}var z=new h;return w(z,z.head,m),d(m,z,N,z.head,0),Z(z)},hooks:{all:{},add:function(m,N){var R=O.hooks.all;R[m]=R[m]||[],R[m].push(N)},run:function(m,N){var R=O.hooks.all[m];if(!(!R||!R.length))for(var E=0,z;z=R[E++];)z(N)}},Token:D};function D(m,N,R,E){this.type=m,this.content=N,this.alias=R,this.length=(E||"").length|0}D.stringify=function m(N,R){if(typeof N=="string")return N;if(Array.isArray(N)){var E="";return N.forEach(function(de){E+=m(de,R)}),E}var z={type:N.type,content:m(N.content,R),tag:"span",classes:["token",N.type],attributes:{},language:R},H=N.alias;H&&(Array.isArray(H)?Array.prototype.push.apply(z.classes,H):z.classes.push(H)),O.hooks.run("wrap",z);var P="";for(var F in z.attributes)P+=" "+F+'="'+(z.attributes[F]||"").replace(/"/g,""")+'"';return"<"+z.tag+' class="'+z.classes.join(" ")+'"'+P+">"+z.content+"</"+z.tag+">"};function S(m,N,R,E){m.lastIndex=N;var z=m.exec(R);if(z&&E&&z[1]){var H=z[1].length;z.index+=H,z[0]=z[0].slice(H)}return z}function d(m,N,R,E,z,H){for(var P in R)if(!(!R.hasOwnProperty(P)||!R[P])){var F=R[P];F=Array.isArray(F)?F:[F];for(var de=0;de<F.length;++de){if(H&&H.cause==P+","+de)return;var oe=F[de],K=oe.inside,M=!!oe.lookbehind,fe=!!oe.greedy,ae=oe.alias;if(fe&&!oe.pattern.global){var $=oe.pattern.toString().match(/[imsuy]*$/)[0];oe.pattern=RegExp(oe.pattern.source,$+"g")}for(var ne=oe.pattern||oe,ue=E.next,se=z;ue!==N.tail&&!(H&&se>=H.reach);se+=ue.value.length,ue=ue.next){var k=ue.value;if(N.length>m.length)return;if(!(k instanceof D)){var V=1,I;if(fe){if(I=S(ne,se,m,M),!I||I.index>=m.length)break;var J=I.index,ge=I.index+I[0].length,y=se;for(y+=ue.value.length;J>=y;)ue=ue.next,y+=ue.value.length;if(y-=ue.value.length,se=y,ue.value instanceof D)continue;for(var q=ue;q!==N.tail&&(y<ge||typeof q.value=="string");q=q.next)V++,y+=q.value.length;V--,k=m.slice(se,y),I.index-=se}else if(I=S(ne,0,k,M),!I)continue;var J=I.index,Q=I[0],te=k.slice(0,J),be=k.slice(J+Q.length),X=se+k.length;H&&X>H.reach&&(H.reach=X);var me=ue.prev;te&&(me=w(N,me,te),se+=te.length),Y(N,me,V);var ye=new D(P,K?O.tokenize(Q,K):Q,ae,Q);if(ue=w(N,me,ye),be&&w(N,ue,be),V>1){var De={cause:P+","+de,reach:X};d(m,N,R,ue.prev,se,De),H&&De.reach>H.reach&&(H.reach=De.reach)}}}}}}function h(){var m={value:null,prev:null,next:null},N={value:null,prev:m,next:null};m.next=N,this.head=m,this.tail=N,this.length=0}function w(m,N,R){var E=N.next,z={value:R,prev:N,next:E};return N.next=z,E.prev=z,m.length++,z}function Y(m,N,R){for(var E=N.next,z=0;z<R&&E!==m.tail;z++)E=E.next;N.next=E,E.prev=N,m.length-=z}function Z(m){for(var N=[],R=m.head.next;R!==m.tail;)N.push(R.value),R=R.next;return N}return O}();f.exports=g,g.default=g}}),U=Mh(kh());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(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(U.languages.markup.tag,"addInlined",{value:function(i,c){var g={},g=(g["language-"+c]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:U.languages[c]},g.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:g}}),c=(g["language-"+c]={pattern:/[\s\S]+/,inside:U.languages[c]},{});c[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:g},U.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(U.languages.markup.tag,"addAttribute",{value:function(i,f){U.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\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:[f,"language-"+f],inside:U.languages[f]},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(i){var f={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},g=/\\(?: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]|.)/,c="(?:[^\\\\-]|"+g.source+")",c=RegExp(c+"-"+c),x={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};i.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:c,inside:{escape:g,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":f,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:g}},"special-escape":f,"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:g,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(i){var f=/#(?!\{).+/,g={pattern:/#\{[^}]+\}/,alias:"variable"};i.languages.coffeescript=i.languages.extend("javascript",{comment:f,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:g}}],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"}}),i.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:f,interpolation:g}}}),i.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:i.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:g}}]}),i.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete i.languages.coffeescript["template-string"],i.languages.coffee=i.languages.coffeescript}(U),function(i){var f=i.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(f,"addSupport",{value:function(g,c){(g=typeof g=="string"?[g]:g).forEach(function(x){var v=function(w){w.inside||(w.inside={}),w.inside.rest=c},O="doc-comment";if(D=i.languages[x]){var D,S=D[O];if((S=S||(D=i.languages.insertBefore(x,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[O])instanceof RegExp&&(S=D[O]={pattern:S}),Array.isArray(S))for(var d=0,h=S.length;d<h;d++)S[d]instanceof RegExp&&(S[d]={pattern:S[d]}),v(S[d]);else v(S)}})}}),f.addSupport(["java","javascript","php"],f)}(U),function(i){var f=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,f=(i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+f.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\\((?:"+f.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+f.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+f.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:f,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:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css,i.languages.markup);f&&(f.tag.addInlined("style","css"),f.tag.addAttribute("style","css"))}(U),function(i){var f=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,f=(i.languages.css.selector={pattern:i.languages.css.selector.pattern,lookbehind:!0,inside:f={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+f.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":[f,{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:/[(),]/}},i.languages.css.atrule.inside["selector-function-argument"].inside=f,i.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}),g={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};i.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:f,number:g,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:f,number:g})}(U),function(i){var f=/[*&][^\s[\]{},]+/,g=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,c="(?:"+g.source+"(?:[ ]+"+f.source+")?|"+f.source+"(?:[ ]+"+g.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}),v=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function O(D,S){S=(S||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return c}).replace(/<<value>>/g,function(){return D});return RegExp(d,S)}i.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 c})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return c}).replace(/<<key>>/g,function(){return"(?:"+x+"|"+v+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:O(/\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:O(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:O(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:O(v),lookbehind:!0,greedy:!0},number:{pattern:O(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:g,important:f,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml}(U),function(i){var f=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function g(d){return d=d.replace(/<inner>/g,function(){return f}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,x=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),v=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,O=(i.languages.markdown=i.languages.extend("markup",{}),i.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:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+x+v+"(?:"+x+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+x+v+")(?:"+x+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+x+")"+v+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+x+"$"),inside:{"table-header":{pattern:RegExp(c),alias:"important",inside:i.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:g(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:g(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:g(/(~~?)(?:(?!~)<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:g(/!?\[(?:(?!\])<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(d){["url","bold","italic","strike","code-snippet"].forEach(function(h){d!==h&&(i.languages.markdown[d].inside.content.inside[h]=i.languages.markdown[h])})}),i.hooks.add("after-tokenize",function(d){d.language!=="markdown"&&d.language!=="md"||function h(w){if(w&&typeof w!="string")for(var Y=0,Z=w.length;Y<Z;Y++){var m,N=w[Y];N.type!=="code"?h(N.content):(m=N.content[1],N=N.content[3],m&&N&&m.type==="code-language"&&N.type==="code-block"&&typeof m.content=="string"&&(m=m.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),m="language-"+(m=(/[a-z][\w-]*/i.exec(m)||[""])[0].toLowerCase()),N.alias?typeof N.alias=="string"?N.alias=[N.alias,m]:N.alias.push(m):N.alias=[m]))}}(d.tokens)}),i.hooks.add("wrap",function(d){if(d.type==="code-block"){for(var h="",w=0,Y=d.classes.length;w<Y;w++){var Z=d.classes[w],Z=/language-(.+)/.exec(Z);if(Z){h=Z[1];break}}var m,N=i.languages[h];N?d.content=i.highlight(function(R){return R=R.replace(O,""),R=R.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(E,z){var H;return(z=z.toLowerCase())[0]==="#"?(H=z[1]==="x"?parseInt(z.slice(2),16):Number(z.slice(1)),S(H)):D[z]||E})}(d.content),N,h):h&&h!=="none"&&i.plugins.autoloader&&(m="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),d.attributes.id=m,i.plugins.autoloader.loadLanguages(h,function(){var R=document.getElementById(m);R&&(R.innerHTML=i.highlight(R.textContent,i.languages[h],h))}))}}),RegExp(i.languages.markup.tag.pattern.source,"gi")),D={amp:"&",lt:"<",gt:">",quot:'"'},S=String.fromCodePoint||String.fromCharCode;i.languages.md=i.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(i){if(i.language==="graphql")for(var f=i.tokens.filter(function(m){return typeof m!="string"&&m.type!=="comment"&&m.type!=="scalar"}),g=0;g<f.length;){var c=f[g++];if(c.type==="keyword"&&c.content==="mutation"){var x=[];if(w(["definition-mutation","punctuation"])&&h(1).content==="("){g+=2;var v=Y(/^\($/,/^\)$/);if(v===-1)continue;for(;g<v;g++){var O=h(0);O.type==="variable"&&(Z(O,"variable-input"),x.push(O.content))}g=v+1}if(w(["punctuation","property-query"])&&h(0).content==="{"&&(g++,Z(h(0),"property-mutation"),0<x.length)){var D=Y(/^\{$/,/^\}$/);if(D!==-1)for(var S=g;S<D;S++){var d=f[S];d.type==="variable"&&0<=x.indexOf(d.content)&&Z(d,"variable-input")}}}}function h(m){return f[g+m]}function w(m,N){N=N||0;for(var R=0;R<m.length;R++){var E=h(R+N);if(!E||E.type!==m[R])return}return 1}function Y(m,N){for(var R=1,E=g;E<f.length;E++){var z=f[E],H=z.content;if(z.type==="punctuation"&&typeof H=="string"){if(m.test(H))R++;else if(N.test(H)&&--R===0)return E}}return-1}function Z(m,N){var R=m.alias;R?Array.isArray(R)||(m.alias=R=[R]):m.alias=R=[],R.push(N)}}),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(i){var f=i.languages.javascript["template-string"],g=f.pattern.source,c=f.inside.interpolation,x=c.inside["interpolation-punctuation"],v=c.pattern.source;function O(w,Y){if(i.languages[w])return{pattern:RegExp("((?:"+Y+")\\s*)"+g),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:w}}}}function D(w,Y,Z){return w={code:w,grammar:Y,language:Z},i.hooks.run("before-tokenize",w),w.tokens=i.tokenize(w.code,w.grammar),i.hooks.run("after-tokenize",w),w.tokens}function S(w,Y,Z){var R=i.tokenize(w,{interpolation:{pattern:RegExp(v),lookbehind:!0}}),m=0,N={},R=D(R.map(function(z){if(typeof z=="string")return z;for(var H,P,z=z.content;w.indexOf((P=m++,H="___"+Z.toUpperCase()+"_"+P+"___"))!==-1;);return N[H]=z,H}).join(""),Y,Z),E=Object.keys(N);return m=0,function z(H){for(var P=0;P<H.length;P++){if(m>=E.length)return;var F,de,oe,K,M,fe,ae,$=H[P];typeof $=="string"||typeof $.content=="string"?(F=E[m],(ae=(fe=typeof $=="string"?$:$.content).indexOf(F))!==-1&&(++m,de=fe.substring(0,ae),M=N[F],oe=void 0,(K={})["interpolation-punctuation"]=x,(K=i.tokenize(M,K)).length===3&&((oe=[1,1]).push.apply(oe,D(K[1],i.languages.javascript,"javascript")),K.splice.apply(K,oe)),oe=new i.Token("interpolation",K,c.alias,M),K=fe.substring(ae+F.length),M=[],de&&M.push(de),M.push(oe),K&&(z(fe=[K]),M.push.apply(M,fe)),typeof $=="string"?(H.splice.apply(H,[P,1].concat(M)),P+=M.length-1):$.content=M)):(ae=$.content,Array.isArray(ae)?z(ae):z([ae]))}}(R),new i.Token(Z,R,"language-"+Z,w)}i.languages.javascript["template-string"]=[O("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),O("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),O("svg",/\bsvg/.source),O("markdown",/\b(?:markdown|md)/.source),O("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),O("sql",/\bsql/.source),f].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function h(w){return typeof w=="string"?w:Array.isArray(w)?w.map(h).join(""):h(w.content)}i.hooks.add("after-tokenize",function(w){w.language in d&&function Y(Z){for(var m=0,N=Z.length;m<N;m++){var R,E,z,H=Z[m];typeof H!="string"&&(R=H.content,Array.isArray(R)?H.type==="template-string"?(H=R[1],R.length===3&&typeof H!="string"&&H.type==="embedded-code"&&(E=h(H),H=H.alias,H=Array.isArray(H)?H[0]:H,z=i.languages[H])&&(R[1]=S(E,z,H))):Y(R):typeof R!="string"&&Y([R]))}}(w.tokens)})}(U),function(i){i.languages.typescript=i.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/}),i.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 i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var f=i.languages.extend("typescript",{});delete f["class-name"],i.languages.typescript["class-name"].inside=f,i.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:f}}}}),i.languages.ts=i.languages.typescript}(U),function(i){var f=i.languages.javascript,g=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,c="(@(?:arg|argument|param|property)\\s+(?:"+g+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(c+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(c+/\[(?:(?!\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:f,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 g})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+g),lookbehind:!0,inside:{string:f.string,number:f.number,boolean:f.boolean,keyword:i.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:f,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(U),function(i){i.languages.flow=i.languages.extend("javascript",{}),i.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),i.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 i.languages.flow.parameter,i.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(i.languages.flow.keyword)||(i.languages.flow.keyword=[i.languages.flow.keyword]),i.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(i){function f(O,D){return RegExp(O.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),D)}i.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+i.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),i.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+i.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),i.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"}]}),i.languages.insertBefore("javascript","keyword",{imports:{pattern:f(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:i.languages.javascript},exports:{pattern:f(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:i.languages.javascript}}),i.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"}),i.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),i.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:f(/(\.\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 g=["function","function-variable","method","method-variable","property-access"],c=0;c<g.length;c++){var v=g[c],x=i.languages.javascript[v],v=(x=i.util.type(x)==="RegExp"?i.languages.javascript[v]={pattern:x}:x).inside||{};(x.inside=v)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(U),function(i){var f=i.util.clone(i.languages.javascript),g=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,x=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function v(S,d){return S=S.replace(/<S>/g,function(){return g}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return x}),RegExp(S,d)}x=v(x).source,i.languages.jsx=i.languages.extend("markup",f),i.languages.jsx.tag.pattern=v(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),i.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,i.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,i.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,i.languages.jsx.tag.inside.comment=f.comment,i.languages.insertBefore("inside","attr-name",{spread:{pattern:v(/<SPREAD>/.source),inside:i.languages.jsx}},i.languages.jsx.tag),i.languages.insertBefore("inside","special-attr",{script:{pattern:v(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:i.languages.jsx}}},i.languages.jsx.tag);function O(S){for(var d=[],h=0;h<S.length;h++){var w=S[h],Y=!1;typeof w!="string"&&(w.type==="tag"&&w.content[0]&&w.content[0].type==="tag"?w.content[0].content[0].content==="</"?0<d.length&&d[d.length-1].tagName===D(w.content[0].content[1])&&d.pop():w.content[w.content.length-1].content!=="/>"&&d.push({tagName:D(w.content[0].content[1]),openedBraces:0}):0<d.length&&w.type==="punctuation"&&w.content==="{"?d[d.length-1].openedBraces++:0<d.length&&0<d[d.length-1].openedBraces&&w.type==="punctuation"&&w.content==="}"?d[d.length-1].openedBraces--:Y=!0),(Y||typeof w=="string")&&0<d.length&&d[d.length-1].openedBraces===0&&(Y=D(w),h<S.length-1&&(typeof S[h+1]=="string"||S[h+1].type==="plain-text")&&(Y+=D(S[h+1]),S.splice(h+1,1)),0<h&&(typeof S[h-1]=="string"||S[h-1].type==="plain-text")&&(Y=D(S[h-1])+Y,S.splice(h-1,1),h--),S[h]=new i.Token("plain-text",Y,null,Y)),w.content&&typeof w.content!="string"&&O(w.content)}}var D=function(S){return S?typeof S=="string"?S:typeof S.content=="string"?S.content:S.content.map(D).join(""):""};i.hooks.add("after-tokenize",function(S){S.language!=="jsx"&&S.language!=="tsx"||O(S.tokens)})}(U),function(i){var f=i.util.clone(i.languages.typescript),f=(i.languages.tsx=i.languages.extend("jsx",f),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"],i.languages.tsx.tag);f.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+f.pattern.source+")",f.pattern.flags),f.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(i){i.inside.interpolation.inside=U.languages.swift}),function(i){i.languages.kotlin=i.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 i.languages.kotlin["class-name"];var f={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:f},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:f},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.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(i){for(var f=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,g=0;g<2;g++)f=f.replace(/<self>/g,function(){return f});f=f.replace(/<self>/g,function(){return/[^\s\S]/.source}),i.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+f),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},i.languages.rust["closure-params"].inside.rest=i.languages.rust,i.languages.rust.attribute.inside.string=i.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(i){var f=/\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/,g=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return f.source});i.languages.cpp=i.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return f.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:f,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/}),i.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 g})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),i.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:i.languages.cpp}}}}),i.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),i.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:i.languages.extend("cpp",{})}}),i.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},i.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://,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 bt={};Dh(bt,{dracula:()=>Uh,duotoneDark:()=>Hh,duotoneLight:()=>Gh,github:()=>Zh,gruvboxMaterialDark:()=>mb,gruvboxMaterialLight:()=>xb,jettwaveDark:()=>ob,jettwaveLight:()=>db,nightOwl:()=>Vh,nightOwlLight:()=>Fh,oceanicNext:()=>$h,okaidia:()=>Wh,oneDark:()=>pb,oneLight:()=>hb,palenight:()=>Ph,shadesOfPurple:()=>tb,synthwave84:()=>ab,ultramin:()=>ub,vsDark:()=>Pd,vsLight:()=>sb});var Lh={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)"}}]},Uh=Lh,Bh={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"}}]},Hh=Bh,qh={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"}}]},Gh=qh,Yh={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=Yh,Xh={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)"}}]},Vh=Xh,Qh={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)"}}]},Fh=Qh,yt={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:yt.keyword}},{types:["attr-value"],style:{color:yt.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:yt.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:yt.primitive}},{types:["boolean"],style:{color:yt.boolean}},{types:["tag"],style:{color:yt.tag}},{types:["string"],style:{color:yt.string}},{types:["punctuation"],style:{color:yt.string}},{types:["selector","char","builtin","inserted"],style:{color:yt.char}},{types:["function"],style:{color:yt.function}},{types:["operator","entity","url","variable"],style:{color:yt.variable}},{types:["keyword"],style:{color:yt.keyword}},{types:["atrule","class-name"],style:{color:yt.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},$h=Kh,Jh={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"}}]},Wh=Jh,Ih={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)"}}]},Ph=Ih,eb={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)"}}]},tb=eb,lb={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"}}]},ab=lb,nb={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)"}}]},ub=nb,ib={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)"}}]},Pd=ib,rb={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)"}}]},sb=rb,cb={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"}}]},ob=cb,fb={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"}}]},db=fb,gb={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%)"}}]},pb=gb,yb={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%)"}}]},hb=yb,bb={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"}}]},mb=bb,vb={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"}}]},xb=vb,Sb=i=>W.useCallback(f=>{var g=f,{className:c,style:x,line:v}=g,O=Id(g,["className","style","line"]);const D=Ku(Lt({},O),{className:$d("token-line",c)});return typeof i=="object"&&"plain"in i&&(D.style=i.plain),typeof x=="object"&&(D.style=Lt(Lt({},D.style||{}),x)),D},[i]),Eb=i=>{const f=W.useCallback(({types:g,empty:c})=>{if(i!=null){{if(g.length===1&&g[0]==="plain")return c!=null?{display:"inline-block"}:void 0;if(g.length===1&&c!=null)return i[g[0]]}return Object.assign(c!=null?{display:"inline-block"}:{},...g.map(x=>i[x]))}},[i]);return W.useCallback(g=>{var c=g,{token:x,className:v,style:O}=c,D=Id(c,["token","className","style"]);const S=Ku(Lt({},D),{className:$d("token",...x.types,v),children:x.content,style:f(x)});return O!=null&&(S.style=Lt(Lt({},S.style||{}),O)),S},[f])},Ab=/\r\n|\r|\n/,Nd=i=>{i.length===0?i.push({types:["plain"],content:`
|
|
180
|
-
`,empty:!0}):i.length===1&&i[0].content===""&&(i[0].content=`
|
|
181
|
-
`,i[0].empty=!0)},_d=(i,f)=>{const g=i.length;return g>0&&i[g-1]===f?i:i.concat(f)},Nb=i=>{const f=[[]],g=[i],c=[0],x=[i.length];let v=0,O=0,D=[];const S=[D];for(;O>-1;){for(;(v=c[O]++)<x[O];){let d,h=f[O];const Y=g[O][v];if(typeof Y=="string"?(h=O>0?h:["plain"],d=Y):(h=_d(h,Y.type),Y.alias&&(h=_d(h,Y.alias)),d=Y.content),typeof d!="string"){O++,f.push(h),g.push(d),c.push(0),x.push(d.length);continue}const Z=d.split(Ab),m=Z.length;D.push({types:h,content:Z[0]});for(let N=1;N<m;N++)Nd(D),S.push(D=[]),D.push({types:h,content:Z[N]})}O--,f.pop(),g.pop(),c.pop(),x.pop()}return Nd(D),S},Td=Nb,_b=({prism:i,code:f,grammar:g,language:c})=>W.useMemo(()=>{if(g==null)return Td([f]);const x={code:f,grammar:g,language:c,tokens:[]};return i.hooks.run("before-tokenize",x),x.tokens=i.tokenize(f,g),i.hooks.run("after-tokenize",x),Td(x.tokens)},[f,g,c,i]),Tb=(i,f)=>{const{plain:g}=i,c=i.styles.reduce((x,v)=>{const{languages:O,style:D}=v;return O&&!O.includes(f)||v.types.forEach(S=>{const d=Lt(Lt({},x[S]),D);x[S]=d}),x},{});return c.root=g,c.plain=Ku(Lt({},g),{backgroundColor:void 0}),c},wb=Tb,Cb=({children:i,language:f,code:g,theme:c,prism:x})=>{const v=f.toLowerCase(),O=wb(c,v),D=Sb(O),S=Eb(O),d=x.languages[v],h=_b({prism:x,language:v,code:g,grammar:d});return i({tokens:h,className:`prism-code language-${v}`,style:O!=null?O.root:{},getLineProps:D,getTokenProps:S})},Ob=i=>W.createElement(Cb,Ku(Lt({},i),{prism:i.prism||U,theme:i.theme||Pd,code:i.code,language:i.language}));/*! Bundled license information:
|
|
182
|
-
|
|
183
|
-
prismjs/prism.js:
|
|
184
|
-
(**
|
|
185
|
-
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
186
|
-
*
|
|
187
|
-
* @license MIT <https://opensource.org/licenses/MIT>
|
|
188
|
-
* @author Lea Verou <https://lea.verou.me>
|
|
189
|
-
* @namespace
|
|
190
|
-
* @public
|
|
191
|
-
*)
|
|
192
|
-
*/const zb="modulepreload",jb=function(i){return"/"+i},wd={},ht=function(f,g,c){let x=Promise.resolve();if(g&&g.length>0){let S=function(d){return Promise.all(d.map(h=>Promise.resolve(h).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const O=document.querySelector("meta[property=csp-nonce]"),D=O?.nonce||O?.getAttribute("nonce");x=S(g.map(d=>{if(d=jb(d),d in wd)return;wd[d]=!0;const h=d.endsWith(".css"),w=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${w}`))return;const Y=document.createElement("link");if(Y.rel=h?"stylesheet":zb,h||(Y.as="script"),Y.crossOrigin="",Y.href=d,D&&Y.setAttribute("nonce",D),document.head.appendChild(Y),h)return new Promise((Z,m)=>{Y.addEventListener("load",Z),Y.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${d}`)))})}))}function v(O){const D=new Event("vite:preloadError",{cancelable:!0});if(D.payload=O,window.dispatchEvent(D),!D.defaultPrevented)throw O}return x.then(O=>{for(const D of O||[])D.status==="rejected"&&v(D.reason);return f().catch(v)})},Xu={};function eg(i){if(!Xu[i]){const g={bash:()=>ht(()=>import("./prism-bash-DTkDXsAh.js"),[]),sh:()=>ht(()=>import("./prism-bash-DTkDXsAh.js"),[]),shell:()=>ht(()=>import("./prism-bash-DTkDXsAh.js"),[]),php:async()=>(await ht(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),ht(()=>import("./prism-php-DHZyM8JV.js").then(c=>c.p),[])),sql:()=>ht(()=>import("./prism-sql-AgAyy5H_.js"),[]),ruby:()=>ht(()=>import("./prism-ruby-MnFNFfyf.js").then(c=>c.p),[]),java:()=>ht(()=>import("./prism-java-C8EIlB8E.js").then(c=>c.p),[]),scala:async()=>(await eg("java"),ht(()=>import("./prism-scala-BjNo2HkN.js"),[])),solidity:()=>ht(()=>import("./prism-solidity-CIeB0O-m.js").then(c=>c.p),[]),vim:()=>ht(()=>import("./prism-vim-uciLQ2PQ.js"),[]),dart:()=>ht(()=>import("./prism-dart-MjriiaMt.js"),[]),csharp:()=>ht(()=>import("./prism-csharp-68c6WkNx.js").then(c=>c.p),[])}[i];if(!g)return console.warn(`No loader available for language: ${i}`),Promise.reject(new Error(`Unsupported language: ${i}`));Xu[i]=g().then(()=>{}).catch(c=>{throw delete Xu[i],console.warn(`Failed to load language: ${i}`,c),c})}return Xu[i]}typeof global<"u"?global.Prism=U:typeof window<"u"&&(window.Prism=U);const Cd=["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 Db(i,f){const[g,c]=W.useState(()=>Cd.includes(f)||!!U.languages[f]);return W.useEffect(()=>{if(!g){if(Cd.includes(f)){c(!0);return}eg(f).then(()=>{c(!0)}).catch(()=>{c(!1)})}},[f,g]),{ready:g,actualLang:g?f:"text"}}const Od=[{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"}],zd=[{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 Rb(i){return{...i,styles:i.styles.map(f=>({...f,style:{...f.style,background:void 0,backgroundColor:void 0}}))}}function Mb(i){let f;switch(i){case"github":f=bt.github;break;case"vsLight":f=bt.vsLight;break;case"oneLight":f=bt.oneLight;break;case"gruvboxMaterialLight":f=bt.gruvboxMaterialLight;break;case"nightOwlLight":f=bt.nightOwlLight;break;case"vsDark":f=bt.vsDark;break;case"oneDark":f=bt.oneDark;break;case"gruvboxMaterialDark":f=bt.gruvboxMaterialDark;break;case"nightOwl":f=bt.nightOwl;break;case"dracula":f=bt.dracula;break;case"okaidia":f=bt.okaidia;break;default:f=bt.vsDark}return Rb(f)}function kb(i){const f=Ah(i).toLowerCase(),g=Qd(i),c={dockerfile:"docker",makefile:"makefile",".gitignore":"git",".env":"bash",".bashrc":"bash",".zshrc":"bash",".bash_profile":"bash",".profile":"bash"};return c[f]?c[f]:{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",sol:"solidity",vim:"vim",dart:"dart",cs:"csharp"}[g||""]||"text"}let tg="";function Lb(i){tg=i}function ps({code:i,language:f,className:g,syntaxTheme:c="vsDark"}){const x=f||kb(tg),{actualLang:v}=Db(i,x),O=Mb(c);return o.jsx(Ob,{code:i,language:v,theme:O,prism:U,children:({style:D,tokens:S,getLineProps:d,getTokenProps:h})=>o.jsx("span",{className:g,style:{...D,background:"transparent",backgroundColor:"transparent"},children:S.map((w,Y)=>o.jsx("span",{...d({line:w}),children:w.map((Z,m)=>o.jsx("span",{...h({token:Z})},m))},Y))})})}const Ub=i=>{switch(i.type){case"add":return"bg-diff-addition-bg";case"delete":return"bg-diff-deletion-bg";default:return"bg-transparent"}},Bb=i=>{switch(i.type){case"add":return"+";case"delete":return"-";default:return" "}},lg=On.memo(({line:i,hoveredLine:f,selectedLineStyle:g,onMouseEnter:c,onMouseLeave:x,onMouseMove:v,onCommentButtonMouseDown:O,onCommentButtonMouseUp:D,syntaxTheme:S})=>{const d=i.newLineNumber||i.oldLineNumber,h=f===d&&d;return o.jsxs("tr",{className:`group ${Ub(i)} relative ${g}`,onMouseEnter:c,onMouseLeave:x,onMouseMove:v,children:[o.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 relative",children:i.oldLineNumber||""}),o.jsxs("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 relative overflow-visible",children:[o.jsx("span",{className:"pr-5",children:i.newLineNumber||""}),h&&o.jsx(Vu,{onMouseDown:O,onMouseUp:D})]}),o.jsx("td",{className:"p-0 w-full relative align-top",children:o.jsxs("div",{className:"flex items-center relative min-h-[16px]",children:[o.jsx("span",{className:`w-5 text-center text-github-text-muted flex-shrink-0 bg-github-bg-secondary border-r border-github-border ${i.type==="add"?"text-github-accent bg-diff-addition-bg":i.type==="delete"?"text-github-danger bg-diff-deletion-bg":""}`,children:Bb(i)}),o.jsx(ps,{code:i.content,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_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:S})]})})]})});lg.displayName="DiffLineRow";function ag({comment:i,onGeneratePrompt:f,onRemoveComment:g,onUpdateComment:c}){const[x,v]=W.useState(!1),[O,D]=W.useState(!1),[S,d]=W.useState(i.body),h=async()=>{try{const m=f(i);await navigator.clipboard.writeText(m),v(!0),setTimeout(()=>v(!1),2e3)}catch(m){console.error("Failed to copy prompt:",m)}},w=()=>{D(!0),d(i.body)},Y=()=>{D(!1),d(i.body)},Z=()=>{S.trim()!==i.body&&c(i.id,S.trim()),D(!1)};return o.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:[o.jsxs("div",{className:"flex items-center justify-between mb-2 gap-3",children:[o.jsx("div",{className:"flex items-center gap-2 text-xs text-github-text-secondary flex-1 min-w-0",children:o.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:[i.file,":",Array.isArray(i.line)?`${i.line[0]}-${i.line[1]}`:i.line]})}),o.jsxs("div",{className:"flex items-center gap-2",children:[!O&&o.jsxs(o.Fragment,{children:[o.jsx("button",{onClick:h,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:m=>{m.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",m.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:m=>{m.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",m.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},title:"Copy prompt for AI coding agent",children:x?"Copied!":"Copy Prompt"}),o.jsx("button",{onClick:w,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",children:o.jsx(gh,{size:12})}),o.jsx("button",{onClick:()=>g(i.id),className:"text-xs p-1.5 bg-github-bg-tertiary text-green-600 border border-github-border rounded hover:bg-green-500/10 hover:border-green-600 transition-all",title:"Resolve",children:o.jsx(Cn,{size:12})})]}),O&&o.jsxs(o.Fragment,{children:[o.jsx("button",{onClick:Z,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:o.jsx(yh,{size:12})}),o.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:o.jsx(Xd,{size:12})})]})]})]}),O?o.jsx("textarea",{value:S,onChange:m=>d(m.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,S.split(`
|
|
193
|
-
`).length),placeholder:"Edit your comment...",autoFocus:!0}):o.jsx("div",{className:"text-github-text-primary text-sm leading-6 whitespace-pre-wrap",children:i.body})]})}function Hb({chunk:i,comments:f,onAddComment:g,onGeneratePrompt:c,onRemoveComment:x,onUpdateComment:v,syntaxTheme:O}){const[D,S]=W.useState(null),[d,h]=W.useState(null),[w,Y]=W.useState(!1),[Z,m]=W.useState(null),[N,R]=W.useState(null);W.useEffect(()=>{if(w){const M=()=>{Y(!1),S(null),h(null)};return document.addEventListener("mouseup",M),()=>{document.removeEventListener("mouseup",M)}}},[w]);const E=W.useCallback((M,fe)=>{Z?.side===M&&Z?.lineNumber===fe?m(null):m({side:M,lineNumber:fe})},[Z]),z=W.useCallback(()=>{m(null)},[]),H=W.useCallback(async M=>{Z!==null&&(await g(Z.lineNumber,M),m(null))},[Z,g]),P=M=>f.filter(fe=>Array.isArray(fe.line)?fe.line[1]===M:fe.line===M),F=M=>M.oldLine?.type==="delete"&&M.newLine?.type==="add"?M.newLineNumber?"right":"left":M.oldLine?.type==="delete"?"left":M.newLine?.type==="add"?"right":"full",de=(M,fe)=>{const ae=M==="old"?fe.oldLineNumber:fe.newLineNumber;if(!ae)return"";if(w&&D&&d&&D.side===M&&d.side===M){const $=Math.min(D.lineNumber,d.lineNumber),ne=Math.max(D.lineNumber,d.lineNumber);if(ae>=$&&ae<=ne){let ue="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return ae===$&&(ue+=" after:border-t-2"),ae===ne&&(ue+=" after:border-b-2"),ue}}if(Z&&Z.side===M){const $=Array.isArray(Z.lineNumber)?Z.lineNumber:[Z.lineNumber,Z.lineNumber],ne=$[0],ue=$[1];if(ne!==void 0&&ue!==void 0&&ae>=ne&&ae<=ue)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""},K=(M=>{const fe=[];let ae=i.oldStart,$=i.newStart,ne=0;for(;ne<M.length;){const ue=M[ne];if(!ue){ne++;continue}if(ue.type==="normal")fe.push({oldLine:ue,newLine:{...ue},oldLineNumber:ae,newLineNumber:$}),ae++,$++,ne++;else if(ue.type==="delete"){let se=ne+1;for(;se<M.length&&M[se]?.type==="delete";)se++;const k=M.slice(ne,se),V=[];for(;se<M.length&&M[se]?.type==="add";){const ge=M[se];ge&&V.push(ge),se++}const I=Math.max(k.length,V.length);for(let ge=0;ge<I;ge++){const y=k[ge],q=V[ge];fe.push({oldLine:y,newLine:q,oldLineNumber:y?ae+ge:void 0,newLineNumber:q?$+ge:void 0})}ae+=k.length,$+=V.length,ne=se}else ue.type==="add"&&(fe.push({newLine:ue,newLineNumber:$}),$++,ne++)}return fe})(i.lines);return o.jsx("div",{className:"bg-github-bg-primary border border-github-border rounded-md overflow-hidden",children:o.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:o.jsx("tbody",{children:K.map((M,fe)=>{const ae=M.newLineNumber?P(M.newLineNumber):M.oldLineNumber?P(M.oldLineNumber):[];return o.jsxs(On.Fragment,{children:[o.jsxs("tr",{className:"group",onMouseEnter:$=>{const ne=$.target,ue=ne.closest("td:nth-child(1)")||ne.closest("td:nth-child(2)"),se=ne.closest("td:nth-child(3)")||ne.closest("td:nth-child(4)");ue&&M.oldLineNumber&&M.oldLine?.type==="delete"?R({side:"old",lineNumber:M.oldLineNumber}):se&&M.newLineNumber&&(M.newLine?.type==="add"||M.newLine?.type==="normal")&&R({side:"new",lineNumber:M.newLineNumber})},onMouseMove:$=>{const ne=$.target,ue=ne.closest("td:nth-child(1)")||ne.closest("td:nth-child(2)"),se=ne.closest("td:nth-child(3)")||ne.closest("td:nth-child(4)");ue&&M.oldLineNumber&&M.oldLine?.type==="delete"?(N?.side!=="old"||N?.lineNumber!==M.oldLineNumber)&&R({side:"old",lineNumber:M.oldLineNumber}):se&&M.newLineNumber&&(M.newLine?.type==="add"||M.newLine?.type==="normal")&&(N?.side!=="new"||N?.lineNumber!==M.newLineNumber)&&R({side:"new",lineNumber:M.newLineNumber}),w&&D&&(D.side==="old"&&M.oldLineNumber?h({side:"old",lineNumber:M.oldLineNumber}):D.side==="new"&&M.newLineNumber&&h({side:"new",lineNumber:M.newLineNumber}))},onMouseLeave:()=>R(null),children:[o.jsxs("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 relative overflow-visible",children:[o.jsx("span",{className:"pr-5",children:M.oldLineNumber||""}),N?.side==="old"&&N?.lineNumber===M.oldLineNumber&&M.oldLine?.type==="delete"&&o.jsx(Vu,{onMouseDown:$=>{$.stopPropagation(),M.oldLineNumber&&(S({side:"old",lineNumber:M.oldLineNumber}),h({side:"old",lineNumber:M.oldLineNumber}),Y(!0))},onMouseUp:$=>{if($.stopPropagation(),!M.oldLineNumber||!D){Y(!1),S(null),h(null);return}const ne=d&&d.side==="old"?d.lineNumber:M.oldLineNumber;if(D.side!=="old"||D.lineNumber===ne)E("old",M.oldLineNumber);else{const ue=Math.min(D.lineNumber,ne),se=Math.max(D.lineNumber,ne);E("old",[ue,se])}Y(!1),S(null),h(null)}})]}),o.jsx("td",{className:`w-1/2 p-0 align-top border-r border-github-border relative ${M.oldLine?.type==="delete"?"bg-diff-deletion-bg":M.oldLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${de("old",M)}`,children:M.oldLine&&o.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:o.jsx(ps,{code:M.oldLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_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:O})})}),o.jsxs("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 relative overflow-visible",children:[o.jsx("span",{className:"pr-5",children:M.newLineNumber||""}),N?.side==="new"&&N?.lineNumber===M.newLineNumber&&(M.newLine?.type==="add"||M.newLine?.type==="normal")&&o.jsx(Vu,{onMouseDown:$=>{$.stopPropagation(),M.newLineNumber&&(S({side:"new",lineNumber:M.newLineNumber}),h({side:"new",lineNumber:M.newLineNumber}),Y(!0))},onMouseUp:$=>{if($.stopPropagation(),!M.newLineNumber||!D){Y(!1),S(null),h(null);return}const ne=d&&d.side==="new"?d.lineNumber:M.newLineNumber;if(D.side!=="new"||D.lineNumber===ne)E("new",M.newLineNumber);else{const ue=Math.min(D.lineNumber,ne),se=Math.max(D.lineNumber,ne);E("new",[ue,se])}Y(!1),S(null),h(null)}})]}),o.jsx("td",{className:`w-1/2 p-0 align-top relative ${M.newLine?.type==="add"?"bg-diff-addition-bg":M.newLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${de("new",M)}`,children:M.newLine&&o.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:o.jsx(ps,{code:M.newLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_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:O})})})]}),ae.length>0&&o.jsx("tr",{className:"bg-github-bg-secondary",children:o.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:ae.map($=>{const ne=F(M);return o.jsx("div",{className:`flex ${ne==="left"?"justify-start":ne==="right"?"justify-end":"justify-center"}`,children:o.jsx("div",{className:`${ne==="full"?"w-full":"w-1/2"}`,children:o.jsx(ag,{comment:$,onGeneratePrompt:c,onRemoveComment:x,onUpdateComment:v})})},$.id)})})}),Z&&(Z.side==="old"&&Z.lineNumber===M.oldLineNumber&&M.oldLine?.type==="delete"||Z.side==="new"&&Z.lineNumber===M.newLineNumber&&(M.newLine?.type==="add"||M.newLine?.type==="normal")||Array.isArray(Z.lineNumber)&&(Z.side==="new"&&Z.lineNumber[1]===M.newLineNumber||Z.side==="old"&&Z.lineNumber[1]===M.oldLineNumber))&&o.jsx("tr",{className:"bg-github-bg-secondary",children:o.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:o.jsx("div",{className:`flex ${F(M)==="left"?"justify-start":F(M)==="right"?"justify-end":"justify-center"}`,children:o.jsx("div",{className:`${F(M)==="full"?"w-full":"w-1/2"}`,children:o.jsx(Fd,{onSubmit:H,onCancel:z})})})})})]},fe)})})})})}function qb({chunk:i,comments:f,onAddComment:g,onGeneratePrompt:c,onRemoveComment:x,onUpdateComment:v,mode:O="inline",syntaxTheme:D}){const[S,d]=W.useState(null),[h,w]=W.useState(null),[Y,Z]=W.useState(!1),[m,N]=W.useState(null),[R,E]=W.useState(null);W.useEffect(()=>{if(Y){const K=()=>{Z(!1),d(null),w(null)};return document.addEventListener("mouseup",K),()=>{document.removeEventListener("mouseup",K)}}},[Y]);const z=W.useCallback(K=>{N(m===K?null:K)},[m]),H=W.useCallback(()=>{N(null)},[]),P=W.useCallback(async K=>{m!==null&&(await g(m,K),N(null))},[m,g]),F=K=>f.filter(M=>Array.isArray(M.line)?M.line[1]===K:M.line===K),de=K=>{if(O==="inline")return"full";switch(K.type){case"delete":return"left";case"add":return"right";default:return"full"}},oe=K=>{if(!K)return"";if(Y&&S&&h){const M=Math.min(S,h),fe=Math.max(S,h);if(K>=M&&K<=fe){let ae="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return K===M&&(ae+=" after:border-t-2"),K===fe&&(ae+=" after:border-b-2"),ae}}if(m){const M=Array.isArray(m)?m[0]:m,fe=Array.isArray(m)?m[1]:m;if(K>=M&&K<=fe)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""};return O==="side-by-side"?o.jsx(Hb,{chunk:i,comments:f,onAddComment:g,onGeneratePrompt:c,onRemoveComment:x,onUpdateComment:v,syntaxTheme:D}):o.jsx("div",{className:"bg-github-bg-primary",children:o.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:o.jsx("tbody",{children:i.lines.map((K,M)=>{const fe=F(K.newLineNumber||K.oldLineNumber||0);return o.jsxs(On.Fragment,{children:[o.jsx(lg,{line:K,index:M,hoveredLine:R,selectedLineStyle:oe(K.newLineNumber||K.oldLineNumber),onMouseEnter:()=>{const ae=K.newLineNumber||K.oldLineNumber;ae&&E(ae)},onMouseLeave:()=>E(null),onMouseMove:()=>{if(Y&&S){const ae=K.newLineNumber||K.oldLineNumber;ae&&w(ae)}},onCommentButtonMouseDown:ae=>{ae.stopPropagation();const $=K.newLineNumber||K.oldLineNumber;$&&(d($),w($),Z(!0))},onCommentButtonMouseUp:ae=>{ae.stopPropagation();const $=K.newLineNumber||K.oldLineNumber;if(!$||!S){Z(!1),d(null),w(null);return}const ne=h||$;if(S===ne)z($);else{const ue=Math.min(S,ne),se=Math.max(S,ne);z([ue,se])}Z(!1),d(null),w(null)},syntaxTheme:D}),fe.map(ae=>{const $=de(K);return o.jsx("tr",{className:"bg-github-bg-secondary",children:o.jsx("td",{colSpan:3,className:"p-0 border-t border-github-border",children:o.jsx("div",{className:`flex ${$==="left"?"justify-start":$==="right"?"justify-end":"justify-center"}`,children:o.jsx("div",{className:`${$==="full"?"w-full":"w-1/2"}`,children:o.jsx(ag,{comment:ae,onGeneratePrompt:c,onRemoveComment:x,onUpdateComment:v})})})})},ae.id)}),m&&(m===(K.newLineNumber||K.oldLineNumber)||Array.isArray(m)&&m[1]===(K.newLineNumber||K.oldLineNumber))&&o.jsx("tr",{className:"bg-[var(--bg-secondary)]",children:o.jsx("td",{colSpan:3,className:"p-0 border-t border-[var(--border-muted)]",children:o.jsx("div",{className:`flex ${de(K)==="left"?"justify-start":de(K)==="right"?"justify-end":"justify-center"}`,children:o.jsx("div",{className:`${de(K)==="full"?"w-full":"w-1/2"}`,children:o.jsx(Fd,{onSubmit:P,onCancel:H})})})})})]},M)})})})})}function Gb({file:i,mode:f="inline",baseCommitish:g,targetCommitish:c}){const x=i.status==="deleted",v=i.status==="added",O=i.status==="modified"||i.status==="renamed",D=g||"HEAD~1",S=c||"HEAD",[d,h]=W.useState({}),[w,Y]=W.useState({}),Z=async(E,z)=>{try{const H=E.naturalWidth,P=E.naturalHeight,oe=(await(await fetch(E.src)).blob()).size;z({width:H,height:P,size:oe})}catch(H){console.error("Failed to get image info:",H)}},m=E=>E?E<1024?`${E} B`:E<1024*1024?`${(E/1024).toFixed(1)} KB`:`${(E/(1024*1024)).toFixed(1)} MB`:"",N=E=>!E.width||!E.height?"":`W: ${E.width}px | H: ${E.height}px`,R={backgroundImage:`
|
|
194
|
-
linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%),
|
|
195
|
-
linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%)
|
|
196
|
-
`,backgroundSize:"20px 20px",backgroundPosition:"0 0, 10px 10px",backgroundColor:"white"};return x?o.jsx("div",{className:"bg-github-bg-primary p-4",children:o.jsxs("div",{className:"text-center",children:[o.jsx("div",{className:"mb-2",children:o.jsx("span",{className:"text-github-danger font-medium",children:"Deleted Image"})}),o.jsxs("div",{className:"inline-block border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),o.jsx("img",{src:`/api/blob/${i.oldPath||i.path}?ref=${D}`,alt:`Previous version of ${i.oldPath||i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,h),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(d.width||d.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(d),N(d)&&m(d.size)&&" | ",m(d.size)]})]})]})}):v?o.jsx("div",{className:"bg-github-bg-primary p-4",children:o.jsxs("div",{className:"text-center",children:[o.jsx("div",{className:"mb-2",children:o.jsx("span",{className:"text-github-accent font-medium",children:"Added Image"})}),o.jsxs("div",{className:"inline-block border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"New file:"}),o.jsx("img",{src:`/api/blob/${i.path}?ref=${S}`,alt:`New image ${i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,Y),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(w.width||w.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(w),N(w)&&m(w.size)&&" | ",m(w.size)]})]})]})}):O?f==="side-by-side"?o.jsxs("div",{className:"bg-github-bg-primary p-4",children:[o.jsx("div",{className:"text-center mb-4",children:o.jsx("span",{className:"text-github-text-primary font-medium",children:"Modified Image"})}),o.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[o.jsx("div",{className:"text-center",children:o.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),o.jsx("img",{src:`/api/blob/${i.oldPath||i.path}?ref=${D}`,alt:`Previous version of ${i.oldPath||i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,h),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(d.width||d.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(d),N(d)&&m(d.size)&&" | ",m(d.size)]})]})}),o.jsx("div",{className:"text-center",children:o.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Current version:"}),o.jsx("img",{src:`/api/blob/${i.path}?ref=${S}`,alt:`Current version of ${i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,Y),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(w.width||w.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(w),N(w)&&m(w.size)&&" | ",m(w.size)]})]})})]})]}):o.jsxs("div",{className:"bg-github-bg-primary p-4",children:[o.jsx("div",{className:"text-center mb-4",children:o.jsx("span",{className:"text-github-text-primary font-medium",children:"Modified Image"})}),o.jsxs("div",{className:"space-y-6",children:[o.jsx("div",{className:"text-center",children:o.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary inline-block",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),o.jsx("img",{src:`/api/blob/${i.oldPath||i.path}?ref=${D}`,alt:`Previous version of ${i.oldPath||i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,h),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(d.width||d.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(d),N(d)&&m(d.size)&&" | ",m(d.size)]})]})}),o.jsx("div",{className:"text-center",children:o.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary inline-block",children:[o.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Current version:"}),o.jsx("img",{src:`/api/blob/${i.path}?ref=${S}`,alt:`Current version of ${i.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:R,onLoad:E=>Z(E.currentTarget,Y),onError:E=>{const z=E.target;z.style.display="none",z.nextElementSibling?.classList.remove("hidden")}}),o.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(w.width||w.size)&&o.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[N(w),N(w)&&m(w.size)&&" | ",m(w.size)]})]})})]})]}):null}function Yb({file:i,comments:f,diffMode:g,reviewedFiles:c,onToggleReviewed:x,onAddComment:v,onGeneratePrompt:O,onRemoveComment:D,onUpdateComment:S,syntaxTheme:d,baseCommitish:h,targetCommitish:w}){const Y=c.has(i.path),[Z,m]=W.useState(!1);Lb(i.path);const N=E=>{switch(E){case"added":return o.jsx(qd,{size:16,className:"text-github-accent"});case"deleted":return o.jsx(Gd,{size:16,className:"text-github-danger"});case"renamed":return o.jsx(Hd,{size:16,className:"text-github-warning"});default:return o.jsx(Bd,{size:16,className:"text-github-text-secondary"})}},R=async(E,z,H)=>{try{await v(i.path,E,z,H)}catch(P){console.error("Failed to add comment:",P)}};return o.jsxs("div",{className:"bg-github-bg-primary",children:[o.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:[o.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[o.jsx("button",{onClick:()=>x(i.path),className:"text-github-text-muted hover:text-github-text-primary transition-colors cursor-pointer",title:Y?"Expand file":"Collapse file",children:Y?o.jsx(Ld,{size:16}):o.jsx(hs,{size:16})}),N(i.status),o.jsx("h2",{className:"text-sm font-mono text-github-text-primary m-0 overflow-hidden text-ellipsis whitespace-nowrap",children:i.path}),o.jsx("button",{className:`bg-transparent border-none cursor-pointer px-1.5 py-1 rounded text-sm transition-all hover:bg-github-bg-tertiary ${Z?"text-github-accent":"text-github-text-secondary hover:text-github-text-primary"}`,onClick:()=>{navigator.clipboard.writeText(i.path).then(()=>{console.log("File path copied to clipboard:",i.path),m(!0),setTimeout(()=>m(!1),2e3)}).catch(E=>{console.error("Failed to copy file path:",E)})},title:"Copy file path",children:Z?o.jsx(Cn,{size:14}):o.jsx(Ud,{size:14})}),i.oldPath&&i.oldPath!==i.path&&o.jsxs("span",{className:"text-xs text-github-text-muted italic",children:["(renamed from ",i.oldPath,")"]})]}),o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[o.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-accent bg-green-100/10",children:["+",i.additions]}),o.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-danger bg-red-100/10",children:["-",i.deletions]})]}),o.jsxs("button",{onClick:()=>x(i.path),className:`flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all duration-200 ${c.has(i.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:c.has(i.path)?"Mark as not reviewed":"Mark as reviewed",children:[c.has(i.path)?o.jsx(Cn,{size:14}):o.jsx(xh,{size:14}),"Viewed"]})]})]}),!Y&&o.jsx("div",{className:"overflow-y-auto",children:_h(i.path)?o.jsx(Gb,{file:i,mode:g,baseCommitish:h,targetCommitish:w}):i.chunks.map((E,z)=>o.jsxs("div",{className:"border-b border-github-border",children:[o.jsx("div",{className:"bg-github-bg-tertiary px-3 py-2 border-b border-github-border",children:o.jsx("code",{className:"text-github-text-secondary text-xs font-mono",children:E.header})}),o.jsx(qb,{chunk:E,comments:f,onAddComment:R,onGeneratePrompt:O,onRemoveComment:D,onUpdateComment:S,mode:g,syntaxTheme:d})]},z))})]})}function Zb(i){const f={name:"",path:"",isDirectory:!0,children:[]};i.forEach(c=>{const x=c.path.split("/");let v=f;for(let O=0;O<x.length;O++){const D=x[O];if(!D)continue;const S=O===x.length-1,d=x.slice(0,O+1).join("/");v.children||(v.children=[]);let h=v.children.find(w=>w.name===D);h||(h={name:D,path:d,isDirectory:!S,children:S?void 0:[],file:S?c:void 0},v.children.push(h)),v=h}});const g=c=>{if(!c.isDirectory||!c.children)return c;if(c.children=c.children.map(g),c.children.length===1&&c.children[0]?.isDirectory&&c.children[0]?.children){const x=c.children[0];if(x)return c.name?{...c,name:`${c.name}/${x.name}`,path:x.path,children:x.children}:c}return c};return g(f)}function Xb({files:i,onScrollToFile:f,comments:g,reviewedFiles:c,onToggleReviewed:x}){const v=Zb(i),O=E=>{if(!E.isDirectory||!E.children)return[];const z=[];return E.path&&z.push(E.path),E.children.forEach(H=>{z.push(...O(H))}),z},[D,S]=W.useState(()=>new Set(O(v))),[d,h]=W.useState(""),w=E=>g.filter(z=>z.file===E).length,Y=E=>{if(!d.trim())return E;if(E.isDirectory&&E.children){const z=E.children.map(H=>Y(H)).filter(H=>H!==null);return z.length>0?{...E,children:z}:null}else if(E.file)return E.file.path.toLowerCase().includes(d.toLowerCase())?E:null;return null},Z=Y(v)||{...v,children:[]},m=E=>{switch(E){case"added":return o.jsx(qd,{size:16,className:"text-github-accent"});case"deleted":return o.jsx(Gd,{size:16,className:"text-github-danger"});case"renamed":return o.jsx(Hd,{size:16,className:"text-github-warning"});default:return o.jsx(Bd,{size:16,className:"text-github-text-secondary"})}},N=E=>{S(z=>{const H=new Set(z);return H.has(E)?H.delete(E):H.add(E),H})},R=(E,z=0)=>{if(E.isDirectory&&E.children){const H=D.has(E.path);return o.jsxs("div",{children:[E.name&&o.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer",style:{paddingLeft:`${z*16+16}px`},onClick:()=>N(E.path),children:[H?o.jsx(hs,{size:16}):o.jsx(Ld,{size:16}),H?o.jsx(nh,{size:16,className:"text-github-text-secondary"}):o.jsx(ih,{size:16,className:"text-github-text-secondary"}),o.jsx("span",{className:"text-sm text-github-text-primary font-medium flex-1 overflow-hidden text-ellipsis whitespace-nowrap",title:E.name,children:E.name})]}),(H||!E.name)&&E.children.map(P=>R(P,z+1))]},E.path)}else if(E.file){const H=E.file,P=w(H.path),F=c.has(H.path);return o.jsxs("div",{className:`flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer transition-colors ${F?"opacity-70":""}`,style:{paddingLeft:`${z*16+16}px`},onClick:()=>f(H.path),children:[o.jsx(Vd,{checked:F,onChange:()=>{x(H.path)},title:F?"Mark as not reviewed":"Mark as reviewed",className:"z-10"}),m(E.file.status),o.jsx("span",{className:`text-sm text-github-text-primary flex-1 overflow-hidden text-ellipsis whitespace-nowrap ${F?"line-through text-github-text-muted":""}`,title:E.file.path,children:E.name}),P>0&&o.jsxs("span",{className:"text-github-warning text-sm font-medium ml-auto flex items-center gap-1",children:[o.jsx(Yd,{size:14}),P]})]},H.path)}return null};return o.jsxs("div",{className:"h-full flex flex-col",children:[o.jsxs("div",{className:"px-4 py-3 border-b border-github-border bg-github-bg-tertiary",children:[o.jsxs("h3",{className:"text-sm font-semibold text-github-text-primary m-0 mb-3",children:["Files changed (",i.length,")"]}),o.jsxs("div",{className:"relative",children:[o.jsx(bh,{size:16,className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-github-text-muted"}),o.jsx("input",{type:"text",placeholder:"Filter files...",value:d,onChange:E=>h(E.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"})]})]}),o.jsx("div",{className:"flex-1 overflow-y-auto",children:Z.children?.map(E=>R(E))})]})}function Vb({style:i}){return o.jsx("svg",{width:"98",height:"96",viewBox:"0, 0, 98, 96",style:i,xmlns:"http://www.w3.org/2000/svg","aria-label":"GitHub",role:"img",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})})}function Qb({style:i}){return o.jsxs("svg",{style:i,viewBox:"0 0 720 190",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"difit",role:"img",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M440.487 5.90627C432.164 9.01695 427.318 16.2817 427.318 25.649C427.318 35.9474 433.206 43.6458 442.714 45.7819C451.336 47.7188 459.606 44.3893 464.84 36.8737C466.923 33.8843 467.35 32.4073 467.606 27.3105C467.773 23.9957 467.492 20.0154 466.983 18.4654C465.699 14.5629 460.869 9.13088 456.854 7.07513C452.57 4.88086 444.73 4.32102 440.487 5.90627ZM596.658 6.653C588.927 9.55794 584.572 15.4908 583.887 24.0465C583.17 33.0212 586.83 39.8868 594.382 43.7278C603.739 48.4877 615.574 44.5081 620.482 34.9515C625.35 25.4728 622.15 13.4916 613.37 8.32678C608.986 5.74808 601.154 4.96365 596.658 6.653ZM368.585 7.68006C367.464 8.80629 367.302 12.903 367.302 40.2286V71.4878L363.832 68.1329C353.432 58.0787 335.595 52.668 319.246 54.6082C310.542 55.641 299.81 59.1369 293.3 63.0607C278.56 71.9427 266.453 89.5576 263.139 106.945C261.765 114.155 261.602 129.431 262.825 136.365C265.723 152.796 274.795 168.36 286.716 177.355C298.275 186.077 310.237 190 325.274 190C340.687 190 353.943 185.273 362.869 176.594L367.302 172.284V178.215C367.302 186.902 366.946 186.724 384.303 186.709C392.243 186.702 399.29 186.347 399.964 185.919C401.04 185.236 401.189 174.47 401.189 97.1224C401.189 23.7236 401.003 8.87842 400.068 7.74809C398.433 5.77021 370.547 5.71037 368.585 7.68006ZM526.937 7.94153C519.783 10.0325 515.359 12.5834 510.029 17.6867C501.959 25.4129 498.766 34.4597 498.766 49.5975V58.8517H490.659C484.378 58.8517 482.263 59.1418 481.268 60.1394C480.214 61.1976 479.986 63.6558 479.986 73.91C479.986 82.5264 480.289 86.6977 480.966 87.3764C481.601 88.0141 484.903 88.36 490.356 88.36H498.766V136.692C498.766 183.638 498.811 185.048 500.345 185.873C502.433 186.994 529.394 186.994 531.482 185.873C533.016 185.048 533.061 183.638 533.061 136.692V88.36H549.334C563.038 88.36 565.809 88.1568 566.89 87.0723C568.782 85.1723 568.782 62.0394 566.89 60.1394C565.808 59.0541 563.029 58.8517 549.231 58.8517H532.856L533.216 51.9721C533.604 44.5499 534.721 41.9147 538.546 39.3958C540.377 38.1901 543.049 37.904 554.661 37.6737C562.626 37.5155 569.018 37.0343 569.602 36.5483C570.892 35.4761 571.046 10.3579 569.777 7.9776C568.978 6.47923 567.918 6.39562 550.384 6.45054C535.269 6.49808 530.93 6.77431 526.937 7.94153ZM654.931 26.4834C653.136 27.7662 653.094 28.1572 653.094 43.3245V58.8517H644.567C633.342 58.8517 633.497 58.6443 633.497 73.6059C633.497 88.5674 633.342 88.36 644.567 88.36H653.094V122.636C653.094 159.998 653.439 163.935 657.362 171.354C661.848 179.838 669.111 184.99 680.857 188.022C687.996 189.866 707.647 189.269 714.309 187.007C719.756 185.158 719.86 184.87 719.969 171.298C720.082 157.364 720.441 157.791 709.174 158.48C695.386 159.324 689.341 156.938 687.388 149.883C686.927 148.214 686.58 134.435 686.577 117.663L686.572 88.36H702.068H717.564L718.87 86.3592C719.946 84.7108 720.129 82.3461 719.91 72.9575C719.719 64.8279 719.321 61.1689 718.522 60.2041C717.553 59.0345 715.315 58.8517 701.987 58.8517H686.572L686.546 43.8926C686.526 31.8556 686.28 28.613 685.288 27.2941C684.156 25.7884 682.945 25.6351 670.412 25.4129C658.94 25.2088 656.476 25.3793 654.931 26.4834ZM431.459 60.1394C430.316 61.2877 430.178 68.0001 430.188 121.82C430.197 168.838 430.429 182.667 431.232 184.262L432.264 186.311L446.657 186.535C458.941 186.725 461.242 186.567 462.353 185.452C463.521 184.279 463.655 177.845 463.655 122.786C463.655 68.0985 463.515 61.2877 462.372 60.1394C460.469 58.2287 433.362 58.2287 431.459 60.1394ZM587.799 60.4369C587.238 61.4894 586.954 82.56 586.954 123.084C586.954 177.502 587.093 184.285 588.236 185.434C590.138 187.342 616.431 187.342 618.333 185.434C619.476 184.285 619.615 177.447 619.615 122.482C619.615 75.6149 619.38 60.5828 618.636 59.8353C617.947 59.1443 613.344 58.8517 603.15 58.8517C589.644 58.8517 588.586 58.9607 587.799 60.4369ZM347.956 87.3469C362.023 93.9543 369.138 107.306 367.775 124.535C366.623 139.097 359.678 149.866 347.83 155.463C337.073 160.544 325.541 160.523 315.049 155.403C293.381 144.83 288.765 112.315 306.417 94.5961C313.92 87.0641 322.021 84.1412 334.301 84.5354C341.49 84.7666 343.224 85.124 347.956 87.3469Z",fill:"currentColor"}),o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42299 0.744751C4.61699 2.15275 2.03999 5.66375 0.956994 12.2768C-0.369006 20.3728 -0.294006 170.791 1.03899 176.572C2.29699 182.031 4.81699 185.308 9.65399 187.774C13.265 189.615 16.865 189.684 108.63 189.684C163.129 189.684 204.095 189.304 204.41 188.795C206 188.5 206 188.795 207.5 188C211.167 187.079 216.779 180.138 218.005 175.584C218.682 173.068 218.939 143.952 218.756 90.4718C218.487 11.7478 218.417 9.10275 216.535 6.62675C215.466 5.22075 213.441 3.19575 212.035 2.12675C209.546 0.23575 206.839 0.17975 110.978 0.0167504C55.373 -0.0782496 11.148 0.239751 9.42299 0.744751ZM203.778 14.8838C205.558 16.6638 205.509 172.577 203.728 175.005C202.577 176.574 198.865 176.688 156.978 176.446L111.478 176.184L111.226 138.684L110.974 101.184H84.059C69.255 101.184 56.808 101.52 56.397 101.931C55.986 102.343 60.674 107.82 66.814 114.104C72.954 120.388 77.978 126.202 77.978 127.026C77.978 129.577 74.769 134.267 71.896 135.916C69.609 137.229 68.75 137.278 66.704 136.217C63.533 134.572 28.705 99.1448 27.757 96.5998C27.36 95.5348 27.491 93.4308 28.049 91.9238C28.955 89.4768 68.498 49.6838 70.024 49.6838C70.366 49.6838 72.356 51.1627 74.447 52.9697C77.589 55.6867 78.118 56.6658 77.498 58.6198C77.086 59.9198 72.075 65.8308 66.363 71.7568C60.651 77.6818 55.978 83.0148 55.978 83.6068C55.978 84.3488 64.068 84.6838 81.952 84.6838H107.927H110.666C111.144 82.5 110.978 73.4537 110.978 46.2337V13.6838H156.778C191.067 13.6838 202.88 13.9858 203.778 14.8838ZM148.803 52.7217C146.51 54.0597 144.845 59.5997 145.74 62.9107C146.146 64.4107 150.657 69.9308 155.764 75.1788C161.411 80.9788 164.547 84.8988 163.764 85.1788C163.057 85.4318 151.549 85.7608 138.19 85.9108C117.896 86.1388 113.747 86.4308 112.956 87.6838C112.435 88.5088 112.002 91.7228 111.993 94.8268C111.982 99.0598 112.373 100.622 113.56 101.077C114.43 101.411 126.13 101.684 139.56 101.684C156.121 101.684 163.978 102.026 163.978 102.746C163.978 103.33 160.187 107.607 155.554 112.251C146.244 121.582 144.276 125.371 146.069 130.514C147.321 134.107 149.576 135.684 153.463 135.684C155.522 135.684 159.843 131.902 173.778 117.904C191.699 99.9008 194.978 96.0678 194.978 93.1208C194.978 91.1338 157.422 53.8238 154.163 52.5728C151.322 51.4818 150.908 51.4937 148.803 52.7217Z",fill:"currentColor"})]})}const Fb={fontSize:14,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif',theme:"dark",syntaxTheme:"vsDark"},Kb=[{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 $b({isOpen:i,onClose:f,settings:g,onSettingsChange:c}){const[x,v]=W.useState(g);W.useEffect(()=>{v(g)},[g]),W.useEffect(()=>{c(x)},[x,c]);const O=()=>x.theme==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":x.theme,D=()=>O()==="light"?Od:zd,S=h=>{const w={...x,theme:h},Z=(h==="auto"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":h)==="light"?Od:zd;if(!Z.some(N=>N.id===x.syntaxTheme)&&Z.length>0){const N=Z[0];N&&(w.syntaxTheme=N.id)}v(w)},d=()=>{v(Fb)};return i?o.jsx("div",{className:"fixed inset-0 flex items-center justify-center z-50 pointer-events-none",children:o.jsxs("div",{className:"bg-github-bg-secondary border border-github-border rounded-lg w-full max-w-md mx-4 pointer-events-auto",children:[o.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-github-border",children:[o.jsxs("h2",{className:"text-lg font-semibold text-github-text-primary flex items-center gap-2",children:[o.jsx(Zd,{size:20}),"Appearance Settings"]}),o.jsx("button",{onClick:f,className:"text-github-text-secondary hover:text-github-text-primary p-1",children:o.jsx(Xd,{size:18})})]}),o.jsxs("div",{className:"p-4 space-y-6",children:[o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Font Size"}),o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsx("input",{type:"range",min:"10",max:"20",step:"1",value:x.fontSize,onChange:h=>v({...x,fontSize:parseInt(h.target.value)}),className:"flex-1 accent-github-accent"}),o.jsxs("span",{className:"text-sm text-github-text-secondary w-8 text-right",children:[x.fontSize,"px"]})]})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Font Family"}),o.jsx("select",{value:x.fontFamily,onChange:h=>v({...x,fontFamily:h.target.value}),className:"w-full p-2 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary text-sm",children:Kb.map(h=>o.jsx("option",{value:h.value,children:h.name},h.value))})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Theme"}),o.jsx("div",{className:"flex gap-2",children:["light","dark","auto"].map(h=>o.jsx("button",{onClick:()=>S(h),className:`px-3 py-2 text-sm rounded border transition-colors ${x.theme===h?"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:h.charAt(0).toUpperCase()+h.slice(1)},h))})]}),o.jsxs("div",{children:[o.jsx("label",{className:"block text-sm font-medium text-github-text-primary mb-2",children:"Syntax Highlighting Theme"}),o.jsx("select",{value:x.syntaxTheme,onChange:h=>v({...x,syntaxTheme:h.target.value}),className:"w-full p-2 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary text-sm",children:D().map(h=>o.jsx("option",{value:h.id,children:h.label},h.id))})]})]}),o.jsxs("div",{className:"flex items-center justify-between p-4 border-t border-github-border",children:[o.jsx("button",{onClick:d,className:"px-3 py-2 text-sm text-github-text-secondary hover:text-github-text-primary",children:"Reset to Default"}),o.jsx("button",{onClick:f,className:"px-4 py-2 text-sm bg-github-accent text-white rounded hover:bg-green-600",children:"Close"})]})]})}):null}const jd={position:"absolute",fontSize:"16px",pointerEvents:"none",zIndex:100,transform:"translateY(20px) scale(0.5)",opacity:0},Jb=({isActive:i})=>i?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"animate-sparkle-rise",style:{...jd,left:"-12px",animationDelay:"0s"},children:"✨"}),o.jsx("div",{className:"animate-sparkle-rise",style:{...jd,right:"-12px",animationDelay:"0.3s"},children:"✨"})]}):null,Dd={fontSize:14,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif',theme:"dark",syntaxTheme:"vsDark"},Rd="reviewit-appearance-settings";function Wb(){const[i,f]=W.useState(Dd);W.useEffect(()=>{try{const x=localStorage.getItem(Rd);if(x){const v=JSON.parse(x);f({...Dd,...v})}}catch(x){console.warn("Failed to load appearance settings from localStorage:",x)}},[]),W.useEffect(()=>{const x=document.documentElement;if(x.style.setProperty("--app-font-size",`${i.fontSize}px`),x.style.setProperty("--app-font-family",i.fontFamily),i.theme==="auto"){const v=window.matchMedia("(prefers-color-scheme: dark)");g(v.matches?"dark":"light");const O=D=>{g(D.matches?"dark":"light")};return v.addEventListener("change",O),()=>v.removeEventListener("change",O)}else{g(i.theme);return}},[i]);const g=x=>{const v=document.documentElement;x==="light"?(v.style.setProperty("--color-github-bg-primary","#ffffff"),v.style.setProperty("--color-github-bg-secondary","#f6f8fa"),v.style.setProperty("--color-github-bg-tertiary","#f1f3f4"),v.style.setProperty("--color-github-border","#d1d9e0"),v.style.setProperty("--color-github-text-primary","#24292f"),v.style.setProperty("--color-github-text-secondary","#656d76"),v.style.setProperty("--color-github-text-muted","#8c959f"),v.style.setProperty("--color-github-accent","#1f883d"),v.style.setProperty("--color-github-danger","#cf222e"),v.style.setProperty("--color-github-warning","#bf8700"),v.style.setProperty("--color-diff-addition-bg","#d1f4cd"),v.style.setProperty("--color-diff-addition-border","#1f883d"),v.style.setProperty("--color-diff-deletion-bg","#ffd8d3"),v.style.setProperty("--color-diff-deletion-border","#cf222e"),v.style.setProperty("--color-diff-neutral-bg","#f1f3f4"),v.style.setProperty("--color-comment-bg","#fff8e1"),v.style.setProperty("--color-comment-border","#ffd54f"),v.style.setProperty("--color-comment-text","#5d4037"),v.style.setProperty("--color-yellow-btn-bg","#fef3c7"),v.style.setProperty("--color-yellow-btn-border","#f59e0b"),v.style.setProperty("--color-yellow-btn-text","#92400e"),v.style.setProperty("--color-yellow-btn-hover-bg","#fde68a"),v.style.setProperty("--color-yellow-btn-hover-border","#d97706"),v.style.setProperty("--color-yellow-path-bg","#fde68a"),v.style.setProperty("--color-yellow-path-text","#92400e")):(v.style.setProperty("--color-github-bg-primary","#0d1117"),v.style.setProperty("--color-github-bg-secondary","#161b22"),v.style.setProperty("--color-github-bg-tertiary","#21262d"),v.style.setProperty("--color-github-border","#30363d"),v.style.setProperty("--color-github-text-primary","#f0f6fc"),v.style.setProperty("--color-github-text-secondary","#8b949e"),v.style.setProperty("--color-github-text-muted","#6e7681"),v.style.setProperty("--color-github-accent","#238636"),v.style.setProperty("--color-github-danger","#da3633"),v.style.setProperty("--color-github-warning","#d29922"),v.style.setProperty("--color-diff-addition-bg","#0d4429"),v.style.setProperty("--color-diff-addition-border","#1b7c3d"),v.style.setProperty("--color-diff-deletion-bg","#67060c"),v.style.setProperty("--color-diff-deletion-border","#da3633"),v.style.setProperty("--color-diff-neutral-bg","#21262d"),v.style.setProperty("--color-comment-bg","#1c2128"),v.style.setProperty("--color-comment-border","#373e47"),v.style.setProperty("--color-comment-text","#e6edf3"),v.style.setProperty("--color-yellow-btn-bg","rgba(180, 83, 9, 0.2)"),v.style.setProperty("--color-yellow-btn-border","rgba(217, 119, 6, 0.5)"),v.style.setProperty("--color-yellow-btn-text","#fbbf24"),v.style.setProperty("--color-yellow-btn-hover-bg","rgba(180, 83, 9, 0.3)"),v.style.setProperty("--color-yellow-btn-hover-border","#d97706"),v.style.setProperty("--color-yellow-path-bg","rgba(180, 83, 9, 0.3)"),v.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:i,updateSettings:x=>{f(x);try{localStorage.setItem(Rd,JSON.stringify(x))}catch(v){console.warn("Failed to save appearance settings to localStorage:",v)}}}}function Ib(i){const[f,g]=W.useState([]),c=i?`difit-comments-${i}`:"difit-comments";W.useEffect(()=>{const h=localStorage.getItem(c);if(h)try{g(JSON.parse(h))}catch(w){console.error("Failed to parse saved comments:",w)}},[c]),W.useEffect(()=>{localStorage.setItem(c,JSON.stringify(f))},[f,c]);const x=(h,w,Y,Z)=>{console.log("Adding comment with codeContent:",Z);const m={id:`${h}:${Array.isArray(w)?`${w[0]}-${w[1]}`:w}:${Date.now()}`,file:h,line:w,body:Y,timestamp:new Date().toISOString(),codeContent:Z};return g(N=>[...N,m]),m},v=h=>{g(w=>w.filter(Y=>Y.id!==h))},O=(h,w)=>{g(Y=>Y.map(Z=>Z.id===h?{...Z,body:w}:Z))},D=()=>{g([]),localStorage.removeItem(c)},S=h=>Array.isArray(h.line)?`${h.file}:L${h.line[0]}-L${h.line[1]}
|
|
197
|
-
${h.body}`:`${h.file}:L${h.line}
|
|
198
|
-
${h.body}`;return{comments:f,addComment:x,removeComment:v,updateComment:O,clearAllComments:D,generatePrompt:S,generateAllCommentsPrompt:()=>f.length===0?"No comments available.":f.map(S).join(`
|
|
199
|
-
=====
|
|
200
|
-
`)}}function Pb(){const[i,f]=W.useState(null),[g,c]=W.useState(new Set),[x,v]=W.useState("side-by-side"),[O,D]=W.useState(!0),[S,d]=W.useState(!0),[h,w]=W.useState(null),[Y,Z]=W.useState(!1),[m,N]=W.useState(320),[R,E]=W.useState(!1),[z,H]=W.useState(!0),[P,F]=W.useState(!1),[de,oe]=W.useState(!1),[K,M]=W.useState(!1),{settings:fe,updateSettings:ae}=Wb(),{comments:$,addComment:ne,removeComment:ue,updateComment:se,clearAllComments:k,generatePrompt:V,generateAllCommentsPrompt:I}=Ib(i?.commit),ge=X=>{X.preventDefault(),F(!0);const me=X.clientX,ye=m,De=Gl=>{const wa=Math.max(200,Math.min(600,ye+(Gl.clientX-me)));N(wa)},Ut=()=>{F(!1),document.removeEventListener("mousemove",De),document.removeEventListener("mouseup",Ut)};document.addEventListener("mousemove",De),document.addEventListener("mouseup",Ut)},y=X=>{const me=["pnpm-lock.yaml","package-lock.json","yarn.lock","Cargo.lock","Gemfile.lock","composer.lock","Pipfile.lock","poetry.lock","go.sum","mix.lock"],ye=X.split("/").pop()||"";return me.includes(ye)},q=W.useCallback(async()=>{try{const X=await fetch(`/api/diff?ignoreWhitespace=${O}`);if(!X.ok)throw new Error("Failed to fetch diff data");const me=await X.json();f(me),me.mode&&v(me.mode);const ye=me.files.filter(De=>y(De.path)).map(De=>De.path);ye.length>0&&c(De=>new Set([...De,...ye]))}catch(X){w(X instanceof Error?X.message:"Unknown error")}finally{d(!1)}},[O]);W.useEffect(()=>{q()},[q]);const J=W.useRef(!1);W.useEffect(()=>{i?.clearComments&&!J.current&&(J.current=!0,k(),console.log("✅ All existing comments cleared as requested via --clean flag"))},[i?.clearComments,k]),W.useEffect(()=>{i&&(g.size<i.files.length?M(!1):g.size===i.files.length&&!K&&(oe(!0),M(!0),setTimeout(()=>{oe(!1)},1e3)))},[g.size,i,K]),W.useEffect(()=>{const X=()=>{if($.length>0){const me=JSON.stringify({comments:$});navigator.sendBeacon("/api/comments",me)}};return window.addEventListener("beforeunload",X),()=>{window.removeEventListener("beforeunload",X),X()}},[$]),W.useEffect(()=>{const X=new EventSource("/api/heartbeat");return X.onopen=()=>{console.log("Connected to server heartbeat")},X.onerror=()=>{console.log("Server connection lost"),X.close()},()=>{X.close()}},[]);const Q=(X,me,ye,De)=>(ne(X,me,ye,De),Promise.resolve()),te=async()=>{try{const X=I();await navigator.clipboard.writeText(X),Z(!0),setTimeout(()=>Z(!1),2e3)}catch(X){console.error("Failed to copy all comments prompt:",X)}},be=X=>{c(me=>{const ye=new Set(me);return ye.has(X)?ye.delete(X):(ye.add(X),setTimeout(()=>{const Ut=document.getElementById(`file-${X.replace(/[^a-zA-Z0-9]/g,"-")}`);Ut&&Ut.scrollIntoView({behavior:"instant",block:"start"})},100)),ye})};return S?o.jsx("div",{className:"flex items-center justify-center h-screen bg-github-bg-primary",children:o.jsx("div",{className:"text-github-text-secondary text-base",children:"Loading diff..."})}):h?o.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[o.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"Error"}),o.jsx("p",{className:"text-github-text-secondary text-base",children:h})]}):i?o.jsxs("div",{className:"h-screen flex flex-col",children:[o.jsxs("header",{className:"bg-github-bg-secondary border-b border-github-border flex items-center",children:[o.jsxs("div",{className:`px-4 py-3 flex items-center justify-between gap-4 ${P?"":"!transition-all !duration-300 !ease-in-out"}`,style:{width:z?`${m}px`:"auto",minWidth:z?"200px":"auto",maxWidth:z?"600px":"auto"},children:[o.jsx("h1",{children:o.jsx(Qb,{style:{height:"18px",color:"var(--color-github-text-secondary)"}})}),o.jsxs("div",{className:"flex items-center gap-1",children:[o.jsx("button",{onClick:()=>H(!z),className:"p-2 text-github-text-secondary hover:text-github-text-primary hover:bg-github-bg-tertiary rounded transition-colors",title:z?"Collapse file tree":"Expand file tree","aria-expanded":z,"aria-controls":"file-tree-panel","aria-label":"Toggle file tree panel",children:z?o.jsx(ch,{size:18}):o.jsx(fh,{size:18})}),o.jsx("button",{onClick:()=>E(!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:o.jsx(Zd,{size:18})})]})]}),o.jsx("div",{className:`border-r border-github-border ${P?"":"!transition-all !duration-300 !ease-in-out"}`,style:{width:z?"4px":"0px",height:"calc(100% - 16px)",margin:"8px 0",transform:"translateX(-2px)"}}),o.jsxs("div",{className:"flex-1 px-4 py-3 flex items-center justify-between gap-4",children:[o.jsxs("div",{className:"flex items-center gap-3",children:[o.jsxs("div",{className:"flex bg-github-bg-tertiary border border-github-border rounded-md p-1",children:[o.jsxs("button",{onClick:()=>v("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:[o.jsx($y,{size:14}),"Side by Side"]}),o.jsxs("button",{onClick:()=>v("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:[o.jsx(Xy,{size:14}),"Inline"]})]}),o.jsx(Vd,{checked:O,onChange:D,label:"Ignore Whitespace",title:O?"Show whitespace changes":"Ignore whitespace changes"})]}),o.jsxs("div",{className:"flex items-center gap-4 text-sm text-github-text-secondary",children:[$.length>0&&o.jsx(Eh,{commentsCount:$.length,isCopiedAll:Y,onCopyAll:te,onDeleteAll:k}),o.jsxs("div",{className:"flex flex-col gap-1 items-center",children:[o.jsxs("div",{className:"text-xs relative",children:[g.size===i.files.length?"All diffs difit-ed!":`${g.size} / ${i.files.length} files viewed`,o.jsx(Jb,{isActive:de})]}),o.jsx("div",{className:"relative h-2 bg-github-bg-tertiary rounded-full overflow-hidden",style:{width:"90px",border:"1px solid var(--color-github-border)"},children:o.jsx("div",{className:"absolute top-0 right-0 h-full transition-all duration-300 ease-out",style:{width:`${(i.files.length-g.size)/i.files.length*100}%`,backgroundColor:(()=>{const X=(i.files.length-g.size)/i.files.length*100;return X>50?"var(--color-github-accent)":X>20?"var(--color-github-warning)":"var(--color-github-danger)"})()}})})]}),o.jsxs("span",{children:["Reviewing:"," ",o.jsx("code",{className:"bg-github-bg-tertiary px-1.5 py-0.5 rounded text-xs text-github-text-primary",children:i.commit.includes("...")?o.jsxs(o.Fragment,{children:[o.jsxs("span",{className:"text-github-text-secondary font-medium",children:[i.commit.split("...")[0],"..."]}),o.jsx("span",{className:"font-medium",children:i.commit.split("...")[1]})]}):i.commit})]}),o.jsxs("span",{children:[i.files.length," file",i.files.length!==1?"s":""," changed"]})]})]})]}),o.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[o.jsx("div",{className:`relative overflow-hidden ${P?"":"!transition-all !duration-300 !ease-in-out"}`,style:{width:z?`${m}px`:"0px"},children:o.jsxs("aside",{id:"file-tree-panel",className:"bg-github-bg-secondary border-r border-github-border overflow-y-auto flex flex-col",style:{width:`${m}px`,minWidth:"200px",maxWidth:"600px",height:"100%"},children:[o.jsx("div",{className:"flex-1 overflow-y-auto",children:o.jsx(Xb,{files:i.files,onScrollToFile:X=>{const me=document.getElementById(`file-${X.replace(/[^a-zA-Z0-9]/g,"-")}`);me&&me.scrollIntoView({behavior:"smooth",block:"start"})},comments:$,reviewedFiles:g,onToggleReviewed:be})}),o.jsx("div",{className:"p-4 border-t border-github-border flex justify-end",children:o.jsxs("a",{href:"https://github.com/yoshiko-pg/difit",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-github-text-secondary hover:text-github-text-primary transition-colors",title:"View on GitHub",children:[o.jsx("span",{className:"text-sm",children:"Star on GitHub"}),o.jsx(Vb,{style:{height:"18px",width:"18px"}})]})})]})}),o.jsx("div",{className:`bg-github-border hover:bg-github-text-muted cursor-col-resize ${P?"":"!transition-all !duration-300 !ease-in-out"}`,style:{width:z?"4px":"0px"},onMouseDown:ge,title:"Drag to resize file list"}),o.jsx("main",{className:"flex-1 overflow-y-auto",children:i.files.map(X=>o.jsx("div",{id:`file-${X.path.replace(/[^a-zA-Z0-9]/g,"-")}`,className:"mb-6",children:o.jsx(Yb,{file:X,comments:$.filter(me=>me.file===X.path),diffMode:x,reviewedFiles:g,onToggleReviewed:be,onAddComment:Q,onGeneratePrompt:V,onRemoveComment:ue,onUpdateComment:se,syntaxTheme:fe.syntaxTheme,baseCommitish:i.baseCommitish,targetCommitish:i.targetCommitish})},X.path))})]}),o.jsx($b,{isOpen:R,onClose:()=>E(!1),settings:fe,onSettingsChange:ae})]}):o.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[o.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"No data"}),o.jsx("p",{className:"text-github-text-secondary text-base",children:"No diff data available"})]})}const ng=document.getElementById("root");if(!ng)throw new Error("Root element not found");Uy.createRoot(ng).render(o.jsx(On.StrictMode,{children:o.jsx(Pb,{})}));export{Md as g};
|