-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (82 loc) · 357 KB
/
index.html
File metadata and controls
88 lines (82 loc) · 357 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/favicon.svg" />
<title>Professional Resume</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<script type="module" crossorigin src="/assets/index-CoVXgaTc.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-WREUwQnW.css">
</head>
<body>
<script id="manus-runtime">window.__MANUS_HOST_DEV__ = false;
(function(){"use strict";var Dr={exports:{}},Qn={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Wc;function cm(){if(Wc)return Qn;Wc=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function u(s,f,m){var x=null;if(m!==void 0&&(x=""+m),f.key!==void 0&&(x=""+f.key),"key"in f){m={};for(var N in f)N!=="key"&&(m[N]=f[N])}else m=f;return f=m.ref,{$$typeof:r,type:s,key:x,ref:f!==void 0?f:null,props:m}}return Qn.Fragment=i,Qn.jsx=u,Qn.jsxs=u,Qn}var $c;function um(){return $c||($c=1,Dr.exports=cm()),Dr.exports}var h=um(),Mr={exports:{}},Kn={},Ar={exports:{}},Rr={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Fc;function dm(){return Fc||(Fc=1,function(r){function i(A,G){var B=A.length;A.push(G);t:for(;0<B;){var bt=B-1>>>1,p=A[bt];if(0<f(p,G))A[bt]=G,A[B]=p,B=bt;else break t}}function u(A){return A.length===0?null:A[0]}function s(A){if(A.length===0)return null;var G=A[0],B=A.pop();if(B!==G){A[0]=B;t:for(var bt=0,p=A.length,j=p>>>1;bt<j;){var V=2*(bt+1)-1,q=A[V],Z=V+1,st=A[Z];if(0>f(q,B))Z<p&&0>f(st,q)?(A[bt]=st,A[Z]=B,bt=Z):(A[bt]=q,A[V]=B,bt=V);else if(Z<p&&0>f(st,B))A[bt]=st,A[Z]=B,bt=Z;else break t}}return G}function f(A,G){var B=A.sortIndex-G.sortIndex;return B!==0?B:A.id-G.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;r.unstable_now=function(){return m.now()}}else{var x=Date,N=x.now();r.unstable_now=function(){return x.now()-N}}var C=[],v=[],D=1,R=null,J=3,$=!1,F=!1,at=!1,ct=!1,ht=typeof setTimeout=="function"?setTimeout:null,St=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function Y(A){for(var G=u(v);G!==null;){if(G.callback===null)s(v);else if(G.startTime<=A)s(v),G.sortIndex=G.expirationTime,i(C,G);else break;G=u(v)}}function H(A){if(at=!1,Y(A),!F)if(u(C)!==null)F=!0,it||(it=!0,Bt());else{var G=u(v);G!==null&&Mt(H,G.startTime-A)}}var it=!1,rt=-1,X=5,xt=-1;function Be(){return ct?!0:!(r.unstable_now()-xt<X)}function It(){if(ct=!1,it){var A=r.unstable_now();xt=A;var G=!0;try{t:{F=!1,at&&(at=!1,St(rt),rt=-1),$=!0;var B=J;try{e:{for(Y(A),R=u(C);R!==null&&!(R.expirationTime>A&&Be());){var bt=R.callback;if(typeof bt=="function"){R.callback=null,J=R.priorityLevel;var p=bt(R.expirationTime<=A);if(A=r.unstable_now(),typeof p=="function"){R.callback=p,Y(A),G=!0;break e}R===u(C)&&s(C),Y(A)}else s(C);R=u(C)}if(R!==null)G=!0;else{var j=u(v);j!==null&&Mt(H,j.startTime-A),G=!1}}break t}finally{R=null,J=B,$=!1}G=void 0}}finally{G?Bt():it=!1}}}var Bt;if(typeof k=="function")Bt=function(){k(It)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,Se=me.port2;me.port1.onmessage=It,Bt=function(){Se.postMessage(null)}}else Bt=function(){ht(It,0)};function Mt(A,G){rt=ht(function(){A(r.unstable_now())},G)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(A){A.callback=null},r.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<A?Math.floor(1e3/A):5},r.unstable_getCurrentPriorityLevel=function(){return J},r.unstable_next=function(A){switch(J){case 1:case 2:case 3:var G=3;break;default:G=J}var B=J;J=G;try{return A()}finally{J=B}},r.unstable_requestPaint=function(){ct=!0},r.unstable_runWithPriority=function(A,G){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var B=J;J=A;try{return G()}finally{J=B}},r.unstable_scheduleCallback=function(A,G,B){var bt=r.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?bt+B:bt):B=bt,A){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5e3}return p=B+p,A={id:D++,callback:G,priorityLevel:A,startTime:B,expirationTime:p,sortIndex:-1},B>bt?(A.sortIndex=B,i(v,A),u(C)===null&&A===u(v)&&(at?(St(rt),rt=-1):at=!0,Mt(H,B-bt))):(A.sortIndex=p,i(C,A),F||$||(F=!0,it||(it=!0,Bt()))),A},r.unstable_shouldYield=Be,r.unstable_wrapCallback=function(A){var G=J;return function(){var B=J;J=G;try{return A.apply(this,arguments)}finally{J=B}}}}(Rr)),Rr}var Ic;function fm(){return Ic||(Ic=1,Ar.exports=dm()),Ar.exports}var zr={exports:{}},ut={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var tu;function hm(){if(tu)return ut;tu=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),x=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),R=Symbol.iterator;function J(p){return p===null||typeof p!="object"?null:(p=R&&p[R]||p["@@iterator"],typeof p=="function"?p:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,at={};function ct(p,j,V){this.props=p,this.context=j,this.refs=at,this.updater=V||$}ct.prototype.isReactComponent={},ct.prototype.setState=function(p,j){if(typeof p!="object"&&typeof p!="function"&&p!=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,p,j,"setState")},ct.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function ht(){}ht.prototype=ct.prototype;function St(p,j,V){this.props=p,this.context=j,this.refs=at,this.updater=V||$}var k=St.prototype=new ht;k.constructor=St,F(k,ct.prototype),k.isPureReactComponent=!0;var Y=Array.isArray,H={H:null,A:null,T:null,S:null,V:null},it=Object.prototype.hasOwnProperty;function rt(p,j,V,q,Z,st){return V=st.ref,{$$typeof:r,type:p,key:j,ref:V!==void 0?V:null,props:st}}function X(p,j){return rt(p.type,j,void 0,void 0,void 0,p.props)}function xt(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function Be(p){var j={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(V){return j[V]})}var It=/\/+/g;function Bt(p,j){return typeof p=="object"&&p!==null&&p.key!=null?Be(""+p.key):j.toString(36)}function me(){}function Se(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(me,me):(p.status="pending",p.then(function(j){p.status==="pending"&&(p.status="fulfilled",p.value=j)},function(j){p.status==="pending"&&(p.status="rejected",p.reason=j)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function Mt(p,j,V,q,Z){var st=typeof p;(st==="undefined"||st==="boolean")&&(p=null);var tt=!1;if(p===null)tt=!0;else switch(st){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(p.$$typeof){case r:case i:tt=!0;break;case D:return tt=p._init,Mt(tt(p._payload),j,V,q,Z)}}if(tt)return Z=Z(p),tt=q===""?"."+Bt(p,0):q,Y(Z)?(V="",tt!=null&&(V=tt.replace(It,"$&/")+"/"),Mt(Z,j,V,"",function(Pt){return Pt})):Z!=null&&(xt(Z)&&(Z=X(Z,V+(Z.key==null||p&&p.key===Z.key?"":(""+Z.key).replace(It,"$&/")+"/")+tt)),j.push(Z)),1;tt=0;var gt=q===""?".":q+":";if(Y(p))for(var Tt=0;Tt<p.length;Tt++)q=p[Tt],st=gt+Bt(q,Tt),tt+=Mt(q,j,V,st,Z);else if(Tt=J(p),typeof Tt=="function")for(p=Tt.call(p),Tt=0;!(q=p.next()).done;)q=q.value,st=gt+Bt(q,Tt++),tt+=Mt(q,j,V,st,Z);else if(st==="object"){if(typeof p.then=="function")return Mt(Se(p),j,V,q,Z);throw j=String(p),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return tt}function A(p,j,V){if(p==null)return p;var q=[],Z=0;return Mt(p,q,"","",function(st){return j.call(V,st,Z++)}),q}function G(p){if(p._status===-1){var j=p._result;j=j(),j.then(function(V){(p._status===0||p._status===-1)&&(p._status=1,p._result=V)},function(V){(p._status===0||p._status===-1)&&(p._status=2,p._result=V)}),p._status===-1&&(p._status=0,p._result=j)}if(p._status===1)return p._result.default;throw p._result}var B=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)};function bt(){}return ut.Children={map:A,forEach:function(p,j,V){A(p,function(){j.apply(this,arguments)},V)},count:function(p){var j=0;return A(p,function(){j++}),j},toArray:function(p){return A(p,function(j){return j})||[]},only:function(p){if(!xt(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},ut.Component=ct,ut.Fragment=u,ut.Profiler=f,ut.PureComponent=St,ut.StrictMode=s,ut.Suspense=C,ut.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,ut.__COMPILER_RUNTIME={__proto__:null,c:function(p){return H.H.useMemoCache(p)}},ut.cache=function(p){return function(){return p.apply(null,arguments)}},ut.cloneElement=function(p,j,V){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var q=F({},p.props),Z=p.key,st=void 0;if(j!=null)for(tt in j.ref!==void 0&&(st=void 0),j.key!==void 0&&(Z=""+j.key),j)!it.call(j,tt)||tt==="key"||tt==="__self"||tt==="__source"||tt==="ref"&&j.ref===void 0||(q[tt]=j[tt]);var tt=arguments.length-2;if(tt===1)q.children=V;else if(1<tt){for(var gt=Array(tt),Tt=0;Tt<tt;Tt++)gt[Tt]=arguments[Tt+2];q.children=gt}return rt(p.type,Z,void 0,void 0,st,q)},ut.createContext=function(p){return p={$$typeof:x,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:m,_context:p},p},ut.createElement=function(p,j,V){var q,Z={},st=null;if(j!=null)for(q in j.key!==void 0&&(st=""+j.key),j)it.call(j,q)&&q!=="key"&&q!=="__self"&&q!=="__source"&&(Z[q]=j[q]);var tt=arguments.length-2;if(tt===1)Z.children=V;else if(1<tt){for(var gt=Array(tt),Tt=0;Tt<tt;Tt++)gt[Tt]=arguments[Tt+2];Z.children=gt}if(p&&p.defaultProps)for(q in tt=p.defaultProps,tt)Z[q]===void 0&&(Z[q]=tt[q]);return rt(p,st,void 0,void 0,null,Z)},ut.createRef=function(){return{current:null}},ut.forwardRef=function(p){return{$$typeof:N,render:p}},ut.isValidElement=xt,ut.lazy=function(p){return{$$typeof:D,_payload:{_status:-1,_result:p},_init:G}},ut.memo=function(p,j){return{$$typeof:v,type:p,compare:j===void 0?null:j}},ut.startTransition=function(p){var j=H.T,V={};H.T=V;try{var q=p(),Z=H.S;Z!==null&&Z(V,q),typeof q=="object"&&q!==null&&typeof q.then=="function"&&q.then(bt,B)}catch(st){B(st)}finally{H.T=j}},ut.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},ut.use=function(p){return H.H.use(p)},ut.useActionState=function(p,j,V){return H.H.useActionState(p,j,V)},ut.useCallback=function(p,j){return H.H.useCallback(p,j)},ut.useContext=function(p){return H.H.useContext(p)},ut.useDebugValue=function(){},ut.useDeferredValue=function(p,j){return H.H.useDeferredValue(p,j)},ut.useEffect=function(p,j,V){var q=H.H;if(typeof V=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return q.useEffect(p,j)},ut.useId=function(){return H.H.useId()},ut.useImperativeHandle=function(p,j,V){return H.H.useImperativeHandle(p,j,V)},ut.useInsertionEffect=function(p,j){return H.H.useInsertionEffect(p,j)},ut.useLayoutEffect=function(p,j){return H.H.useLayoutEffect(p,j)},ut.useMemo=function(p,j){return H.H.useMemo(p,j)},ut.useOptimistic=function(p,j){return H.H.useOptimistic(p,j)},ut.useReducer=function(p,j,V){return H.H.useReducer(p,j,V)},ut.useRef=function(p){return H.H.useRef(p)},ut.useState=function(p){return H.H.useState(p)},ut.useSyncExternalStore=function(p,j,V){return H.H.useSyncExternalStore(p,j,V)},ut.useTransition=function(){return H.H.useTransition()},ut.version="19.1.1",ut}var eu;function Nr(){return eu||(eu=1,zr.exports=hm()),zr.exports}var _r={exports:{}},he={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var lu;function mm(){if(lu)return he;lu=1;var r=Nr();function i(C){var v="https://react.dev/errors/"+C;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)v+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+C+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var s={d:{f:u,r:function(){throw Error(i(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},f=Symbol.for("react.portal");function m(C,v,D){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:R==null?null:""+R,children:C,containerInfo:v,implementation:D}}var x=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function N(C,v){if(C==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,he.createPortal=function(C,v){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(i(299));return m(C,v,null,D)},he.flushSync=function(C){var v=x.T,D=s.p;try{if(x.T=null,s.p=2,C)return C()}finally{x.T=v,s.p=D,s.d.f()}},he.preconnect=function(C,v){typeof C=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,s.d.C(C,v))},he.prefetchDNS=function(C){typeof C=="string"&&s.d.D(C)},he.preinit=function(C,v){if(typeof C=="string"&&v&&typeof v.as=="string"){var D=v.as,R=N(D,v.crossOrigin),J=typeof v.integrity=="string"?v.integrity:void 0,$=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;D==="style"?s.d.S(C,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:R,integrity:J,fetchPriority:$}):D==="script"&&s.d.X(C,{crossOrigin:R,integrity:J,fetchPriority:$,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},he.preinitModule=function(C,v){if(typeof C=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var D=N(v.as,v.crossOrigin);s.d.M(C,{crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&s.d.M(C)},he.preload=function(C,v){if(typeof C=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var D=v.as,R=N(D,v.crossOrigin);s.d.L(C,D,{crossOrigin:R,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},he.preloadModule=function(C,v){if(typeof C=="string")if(v){var D=N(v.as,v.crossOrigin);s.d.m(C,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else s.d.m(C)},he.requestFormReset=function(C){s.d.r(C)},he.unstable_batchedUpdates=function(C,v){return C(v)},he.useFormState=function(C,v,D){return x.H.useFormState(C,v,D)},he.useFormStatus=function(){return x.H.useHostTransitionStatus()},he.version="19.1.1",he}var au;function gm(){if(au)return _r.exports;au=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),_r.exports=mm(),_r.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var nu;function pm(){if(nu)return Kn;nu=1;var r=fm(),i=Nr(),u=gm();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function m(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function x(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function N(t){if(m(t)!==t)throw Error(s(188))}function C(t){var e=t.alternate;if(!e){if(e=m(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var o=n.alternate;if(o===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===o.child){for(o=n.child;o;){if(o===l)return N(n),t;if(o===a)return N(n),e;o=o.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=o;else{for(var c=!1,d=n.child;d;){if(d===l){c=!0,l=n,a=o;break}if(d===a){c=!0,a=n,l=o;break}d=d.sibling}if(!c){for(d=o.child;d;){if(d===l){c=!0,l=o,a=n;break}if(d===a){c=!0,a=o,l=n;break}d=d.sibling}if(!c)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var D=Object.assign,R=Symbol.for("react.element"),J=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),at=Symbol.for("react.strict_mode"),ct=Symbol.for("react.profiler"),ht=Symbol.for("react.provider"),St=Symbol.for("react.consumer"),k=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),xt=Symbol.for("react.activity"),Be=Symbol.for("react.memo_cache_sentinel"),It=Symbol.iterator;function Bt(t){return t===null||typeof t!="object"?null:(t=It&&t[It]||t["@@iterator"],typeof t=="function"?t:null)}var me=Symbol.for("react.client.reference");function Se(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===me?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case F:return"Fragment";case ct:return"Profiler";case at:return"StrictMode";case H:return"Suspense";case it:return"SuspenseList";case xt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case $:return"Portal";case k:return(t.displayName||"Context")+".Provider";case St:return(t._context.displayName||"Context")+".Consumer";case Y:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case rt:return e=t.displayName||null,e!==null?e:Se(t.type)||"Memo";case X:e=t._payload,t=t._init;try{return Se(t(e))}catch{}}return null}var Mt=Array.isArray,A=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},bt=[],p=-1;function j(t){return{current:t}}function V(t){0>p||(t.current=bt[p],bt[p]=null,p--)}function q(t,e){p++,bt[p]=t.current,t.current=e}var Z=j(null),st=j(null),tt=j(null),gt=j(null);function Tt(t,e){switch(q(tt,e),q(st,t),q(Z,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Lh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Lh(e),t=Hh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}V(Z),q(Z,t)}function Pt(){V(Z),V(st),V(tt)}function Ke(t){t.memoizedState!==null&&q(gt,t);var e=Z.current,l=Hh(e,t.type);e!==l&&(q(st,t),q(Z,l))}function Ce(t){st.current===t&&(V(Z),V(st)),gt.current===t&&(V(gt),Jo._currentValue=B)}var Pe=Object.prototype.hasOwnProperty,pl=r.unstable_scheduleCallback,rn=r.unstable_cancelCallback,Sa=r.unstable_shouldYield,ii=r.unstable_requestPaint,ge=r.unstable_now,ri=r.unstable_getCurrentPriorityLevel,Hl=r.unstable_ImmediatePriority,$n=r.unstable_UserBlockingPriority,nl=r.unstable_NormalPriority,si=r.unstable_LowPriority,Ul=r.unstable_IdlePriority,ci=r.log,Ca=r.unstable_setDisableYieldValue,ql=null,Jt=null;function Je(t){if(typeof ci=="function"&&Ca(t),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(ql,t)}catch{}}var Wt=Math.clz32?Math.clz32:di,ui=Math.log,Ea=Math.LN2;function di(t){return t>>>=0,t===0?32:31-(ui(t)/Ea|0)|0}var L=256,sn=4194304;function yl(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function cn(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,o=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var d=a&134217727;return d!==0?(a=d&~o,a!==0?n=yl(a):(c&=d,c!==0?n=yl(c):l||(l=d&~t,l!==0&&(n=yl(l))))):(d=a&~o,d!==0?n=yl(d):c!==0?n=yl(c):l||(l=a&~t,l!==0&&(n=yl(l)))),n===0?0:e!==0&&e!==n&&(e&o)===0&&(o=n&-n,l=e&-e,o>=l||o===32&&(l&4194048)!==0)?e:n}function Dt(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Fn(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 In(){var t=L;return L<<=1,(L&4194048)===0&&(L=256),t}function fi(){var t=sn;return sn<<=1,(sn&62914560)===0&&(sn=4194304),t}function to(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Ta(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Fr(t,e,l,a,n,o){var c=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var d=t.entanglements,g=t.expirationTimes,S=t.hiddenUpdates;for(l=c&~l;0<l;){var z=31-Wt(l),O=1<<z;d[z]=0,g[z]=-1;var E=S[z];if(E!==null)for(S[z]=null,z=0;z<E.length;z++){var T=E[z];T!==null&&(T.lane&=-536870913)}l&=~O}a!==0&&hi(t,a,0),o!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=o&~(c&~e))}function hi(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-Wt(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function mi(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-Wt(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function eo(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function lo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function gi(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:am(t.type))}function Ir(t,e){var l=G.p;try{return G.p=t,e()}finally{G.p=l}}var ol=Math.random().toString(36).slice(2),te="__reactFiber$"+ol,pe="__reactProps$"+ol,Gl="__reactContainer$"+ol,ao="__reactEvents$"+ol,ts="__reactListeners$"+ol,es="__reactHandles$"+ol,pi="__reactResources$"+ol,Da="__reactMarker$"+ol;function no(t){delete t[te],delete t[pe],delete t[ao],delete t[ts],delete t[es]}function Yl(t){var e=t[te];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Gl]||l[te]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Yh(t);t!==null;){if(l=t[te])return l;t=Yh(t)}return e}t=l,l=t.parentNode}return null}function Xl(t){if(t=t[te]||t[Gl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Ma(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function Vl(t){var e=t[pi];return e||(e=t[pi]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Xt(t){t[Da]=!0}var yi=new Set,vi={};function vl(t,e){We(t,e),We(t+"Capture",e)}function We(t,e){for(vi[t]=e,t=0;t<e.length;t++)yi.add(e[t])}var ls=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]*$"),bi={},xi={};function Aa(t){return Pe.call(xi,t)?!0:Pe.call(bi,t)?!1:ls.test(t)?xi[t]=!0:(bi[t]=!0,!1)}function M(t,e,l){if(Aa(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function nt(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ot(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var ee,Ee;function le(t){if(ee===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);ee=e&&e[1]||"",Ee=-1<l.stack.indexOf(`
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ee+t+Ee}var Le=!1;function He(t,e){if(!t||Le)return"";Le=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(T){var E=T}Reflect.construct(t,[],O)}else{try{O.call()}catch(T){E=T}t.call(O.prototype)}}else{try{throw Error()}catch(T){E=T}(O=t())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(T){if(T&&E&&typeof T.stack=="string")return[T.stack,E.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 o=a.DetermineComponentFrameRoot(),c=o[0],d=o[1];if(c&&d){var g=c.split(`
`),S=d.split(`
`);for(n=a=0;a<g.length&&!g[a].includes("DetermineComponentFrameRoot");)a++;for(;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;if(a===g.length||n===S.length)for(a=g.length-1,n=S.length-1;1<=a&&0<=n&&g[a]!==S[n];)n--;for(;1<=a&&0<=n;a--,n--)if(g[a]!==S[n]){if(a!==1||n!==1)do if(a--,n--,0>n||g[a]!==S[n]){var z=`
`+g[a].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=a&&0<=n);break}}}finally{Le=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?le(l):""}function Zl(t){switch(t.tag){case 26:case 27:case 5:return le(t.type);case 16:return le("Lazy");case 13:return le("Suspense");case 19:return le("SuspenseList");case 0:case 15:return He(t.type,!1);case 11:return He(t.type.render,!1);case 1:return He(t.type,!0);case 31:return le("Activity");default:return""}}function bl(t){try{var e="";do e+=Zl(t),t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function Vt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function il(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function ve(t){var e=il(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(c){a=""+c,o.call(this,c)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function re(t){t._valueTracker||(t._valueTracker=ve(t))}function rl(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=il(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function xl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var un=/[\n"\\]/g;function se(t){return t.replace(un,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ql(t,e,l,a,n,o,c,d){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Vt(e)):t.value!==""+Vt(e)&&(t.value=""+Vt(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?Kl(t,c,Vt(e)):l!=null?Kl(t,c,Vt(l)):a!=null&&t.removeAttribute("value"),n==null&&o!=null&&(t.defaultChecked=!!o),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.name=""+Vt(d):t.removeAttribute("name")}function Ra(t,e,l,a,n,o,c,d){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||l!=null){if(!(o!=="submit"&&o!=="reset"||e!=null))return;l=l!=null?""+Vt(l):"",e=e!=null?""+Vt(e):l,d||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=d?t.checked:!!a,t.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c)}function Kl(t,e,l){e==="number"&&xl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function $e(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Vt(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function za(t,e,l){if(e!=null&&(e=""+Vt(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Vt(l):""}function Na(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(s(92));if(Mt(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Vt(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function Fe(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var dn=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 _a(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||dn.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function ka(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&_a(t,n,a)}else for(var o in e)e.hasOwnProperty(o)&&_a(t,o,e[o])}function Oa(t){if(t.indexOf("-")===-1)return!1;switch(t){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 wi=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"]]),Si=/^[\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 ja(t){return Si.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var fn=null;function hn(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var wl=null,Sl=null;function oo(t){var e=Xl(t);if(e&&(t=e.stateNode)){var l=t[pe]||null;t:switch(t=e.stateNode,e.type){case"input":if(Ql(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+se(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[pe]||null;if(!n)throw Error(s(90));Ql(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&rl(a)}break t;case"textarea":za(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&$e(t,!!l.multiple,e,!1)}}}var mn=!1;function io(t,e,l){if(mn)return t(e,l);mn=!0;try{var a=t(e);return a}finally{if(mn=!1,(wl!==null||Sl!==null)&&(or(),wl&&(e=wl,t=Sl,Sl=wl=null,oo(e),t)))for(e=0;e<t.length;e++)oo(t[e])}}function Pl(t,e){var l=t.stateNode;if(l===null)return null;var a=l[pe]||null;if(a===null)return null;l=a[e];t:switch(e){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)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var Ue=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gn=!1;if(Ue)try{var Jl={};Object.defineProperty(Jl,"passive",{get:function(){gn=!0}}),window.addEventListener("test",Jl,Jl),window.removeEventListener("test",Jl,Jl)}catch{gn=!1}var Ie=null,pn=null,Ba=null;function ro(){if(Ba)return Ba;var t,e=pn,l=e.length,a,n="value"in Ie?Ie.value:Ie.textContent,o=n.length;for(t=0;t<l&&e[t]===n[t];t++);var c=l-t;for(a=1;a<=c&&e[l-a]===n[o-a];a++);return Ba=n.slice(t,1<a?1-a:void 0)}function La(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ha(){return!0}function so(){return!1}function ce(t){function e(l,a,n,o,c){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=o,this.target=c,this.currentTarget=null;for(var d in t)t.hasOwnProperty(d)&&(l=t[d],this[d]=l?l(o):o[d]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ha:so,this.isPropagationStopped=so,this}return D(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ha)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ha)},persist:function(){},isPersistent:Ha}),e}var sl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ua=ce(sl),Wl=D({},sl,{view:0,detail:0}),Ci=ce(Wl),Ei,co,uo,Ti=D({},Wl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ns,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==uo&&(uo&&t.type==="mousemove"?(Ei=t.screenX-uo.screenX,co=t.screenY-uo.screenY):co=Ei=0,uo=t),Ei)},movementY:function(t){return"movementY"in t?t.movementY:co}}),Yu=ce(Ti),C0=D({},Ti,{dataTransfer:0}),E0=ce(C0),T0=D({},Wl,{relatedTarget:0}),as=ce(T0),D0=D({},sl,{animationName:0,elapsedTime:0,pseudoElement:0}),M0=ce(D0),A0=D({},sl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),R0=ce(A0),z0=D({},sl,{data:0}),Xu=ce(z0),N0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_0={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"},k0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function O0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=k0[t])?!!e[t]:!1}function ns(){return O0}var j0=D({},Wl,{key:function(t){if(t.key){var e=N0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=La(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ns,charCode:function(t){return t.type==="keypress"?La(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?La(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),B0=ce(j0),L0=D({},Ti,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vu=ce(L0),H0=D({},Wl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ns}),U0=ce(H0),q0=D({},sl,{propertyName:0,elapsedTime:0,pseudoElement:0}),G0=ce(q0),Y0=D({},Ti,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),X0=ce(Y0),V0=D({},sl,{newState:0,oldState:0}),Z0=ce(V0),Q0=[9,13,27,32],os=Ue&&"CompositionEvent"in window,fo=null;Ue&&"documentMode"in document&&(fo=document.documentMode);var K0=Ue&&"TextEvent"in window&&!fo,Zu=Ue&&(!os||fo&&8<fo&&11>=fo),Qu=" ",Ku=!1;function Pu(t,e){switch(t){case"keyup":return Q0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ju(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var yn=!1;function P0(t,e){switch(t){case"compositionend":return Ju(e);case"keypress":return e.which!==32?null:(Ku=!0,Qu);case"textInput":return t=e.data,t===Qu&&Ku?null:t;default:return null}}function J0(t,e){if(yn)return t==="compositionend"||!os&&Pu(t,e)?(t=ro(),Ba=pn=Ie=null,yn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Zu&&e.locale!=="ko"?null:e.data;default:return null}}var W0={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 Wu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!W0[t.type]:e==="textarea"}function $u(t,e,l,a){wl?Sl?Sl.push(a):Sl=[a]:wl=a,e=dr(e,"onChange"),0<e.length&&(l=new Ua("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var ho=null,mo=null;function $0(t){_h(t,0)}function Di(t){var e=Ma(t);if(rl(e))return t}function Fu(t,e){if(t==="change")return e}var Iu=!1;if(Ue){var is;if(Ue){var rs="oninput"in document;if(!rs){var td=document.createElement("div");td.setAttribute("oninput","return;"),rs=typeof td.oninput=="function"}is=rs}else is=!1;Iu=is&&(!document.documentMode||9<document.documentMode)}function ed(){ho&&(ho.detachEvent("onpropertychange",ld),mo=ho=null)}function ld(t){if(t.propertyName==="value"&&Di(mo)){var e=[];$u(e,mo,t,hn(t)),io($0,e)}}function F0(t,e,l){t==="focusin"?(ed(),ho=e,mo=l,ho.attachEvent("onpropertychange",ld)):t==="focusout"&&ed()}function I0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Di(mo)}function t1(t,e){if(t==="click")return Di(e)}function e1(t,e){if(t==="input"||t==="change")return Di(e)}function l1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Re=typeof Object.is=="function"?Object.is:l1;function go(t,e){if(Re(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Pe.call(e,n)||!Re(t[n],e[n]))return!1}return!0}function ad(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function nd(t,e){var l=ad(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=ad(l)}}function od(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?od(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function id(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=xl(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=xl(t.document)}return e}function ss(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var a1=Ue&&"documentMode"in document&&11>=document.documentMode,vn=null,cs=null,po=null,us=!1;function rd(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;us||vn==null||vn!==xl(a)||(a=vn,"selectionStart"in a&&ss(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}),po&&go(po,a)||(po=a,a=dr(cs,"onSelect"),0<a.length&&(e=new Ua("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=vn)))}function qa(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var bn={animationend:qa("Animation","AnimationEnd"),animationiteration:qa("Animation","AnimationIteration"),animationstart:qa("Animation","AnimationStart"),transitionrun:qa("Transition","TransitionRun"),transitionstart:qa("Transition","TransitionStart"),transitioncancel:qa("Transition","TransitionCancel"),transitionend:qa("Transition","TransitionEnd")},ds={},sd={};Ue&&(sd=document.createElement("div").style,"AnimationEvent"in window||(delete bn.animationend.animation,delete bn.animationiteration.animation,delete bn.animationstart.animation),"TransitionEvent"in window||delete bn.transitionend.transition);function Ga(t){if(ds[t])return ds[t];if(!bn[t])return t;var e=bn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in sd)return ds[t]=e[l];return t}var cd=Ga("animationend"),ud=Ga("animationiteration"),dd=Ga("animationstart"),n1=Ga("transitionrun"),o1=Ga("transitionstart"),i1=Ga("transitioncancel"),fd=Ga("transitionend"),hd=new Map,fs="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(" ");fs.push("scrollEnd");function tl(t,e){hd.set(t,e),vl(e,[t])}var md=new WeakMap;function qe(t,e){if(typeof t=="object"&&t!==null){var l=md.get(t);return l!==void 0?l:(e={value:t,source:e,stack:bl(e)},md.set(t,e),e)}return{value:t,source:e,stack:bl(e)}}var Ge=[],xn=0,hs=0;function Mi(){for(var t=xn,e=hs=xn=0;e<t;){var l=Ge[e];Ge[e++]=null;var a=Ge[e];Ge[e++]=null;var n=Ge[e];Ge[e++]=null;var o=Ge[e];if(Ge[e++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}o!==0&&gd(l,n,o)}}function Ai(t,e,l,a){Ge[xn++]=t,Ge[xn++]=e,Ge[xn++]=l,Ge[xn++]=a,hs|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function ms(t,e,l,a){return Ai(t,e,l,a),Ri(t)}function wn(t,e){return Ai(t,null,null,e),Ri(t)}function gd(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,o=t.return;o!==null;)o.childLanes|=l,a=o.alternate,a!==null&&(a.childLanes|=l),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(n=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,n&&e!==null&&(n=31-Wt(l),t=o.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),o):null}function Ri(t){if(50<Go)throw Go=0,xc=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Sn={};function r1(t,e,l,a){this.tag=t,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=e,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 ze(t,e,l,a){return new r1(t,e,l,a)}function gs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Cl(t,e){var l=t.alternate;return l===null?(l=ze(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function pd(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function zi(t,e,l,a,n,o){var c=0;if(a=t,typeof t=="function")gs(t)&&(c=1);else if(typeof t=="string")c=cp(t,l,Z.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case xt:return t=ze(31,l,e,n),t.elementType=xt,t.lanes=o,t;case F:return Ya(l.children,n,o,e);case at:c=8,n|=24;break;case ct:return t=ze(12,l,e,n|2),t.elementType=ct,t.lanes=o,t;case H:return t=ze(13,l,e,n),t.elementType=H,t.lanes=o,t;case it:return t=ze(19,l,e,n),t.elementType=it,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ht:case k:c=10;break t;case St:c=9;break t;case Y:c=11;break t;case rt:c=14;break t;case X:c=16,a=null;break t}c=29,l=Error(s(130,t===null?"null":typeof t,"")),a=null}return e=ze(c,l,e,n),e.elementType=t,e.type=a,e.lanes=o,e}function Ya(t,e,l,a){return t=ze(7,t,a,e),t.lanes=l,t}function ps(t,e,l){return t=ze(6,t,null,e),t.lanes=l,t}function ys(t,e,l){return e=ze(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Cn=[],En=0,Ni=null,_i=0,Ye=[],Xe=0,Xa=null,El=1,Tl="";function Va(t,e){Cn[En++]=_i,Cn[En++]=Ni,Ni=t,_i=e}function yd(t,e,l){Ye[Xe++]=El,Ye[Xe++]=Tl,Ye[Xe++]=Xa,Xa=t;var a=El;t=Tl;var n=32-Wt(a)-1;a&=~(1<<n),l+=1;var o=32-Wt(e)+n;if(30<o){var c=n-n%5;o=(a&(1<<c)-1).toString(32),a>>=c,n-=c,El=1<<32-Wt(e)+n|l<<n|a,Tl=o+t}else El=1<<o|l<<n|a,Tl=t}function vs(t){t.return!==null&&(Va(t,1),yd(t,1,0))}function bs(t){for(;t===Ni;)Ni=Cn[--En],Cn[En]=null,_i=Cn[--En],Cn[En]=null;for(;t===Xa;)Xa=Ye[--Xe],Ye[Xe]=null,Tl=Ye[--Xe],Ye[Xe]=null,El=Ye[--Xe],Ye[Xe]=null}var be=null,Ut=null,Et=!1,Za=null,cl=!1,xs=Error(s(519));function Qa(t){var e=Error(s(418,""));throw bo(qe(e,t)),xs}function vd(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[te]=t,e[pe]=a,l){case"dialog":vt("cancel",e),vt("close",e);break;case"iframe":case"object":case"embed":vt("load",e);break;case"video":case"audio":for(l=0;l<Xo.length;l++)vt(Xo[l],e);break;case"source":vt("error",e);break;case"img":case"image":case"link":vt("error",e),vt("load",e);break;case"details":vt("toggle",e);break;case"input":vt("invalid",e),Ra(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),re(e);break;case"select":vt("invalid",e);break;case"textarea":vt("invalid",e),Na(e,a.value,a.defaultValue,a.children),re(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||Bh(e.textContent,l)?(a.popover!=null&&(vt("beforetoggle",e),vt("toggle",e)),a.onScroll!=null&&vt("scroll",e),a.onScrollEnd!=null&&vt("scrollend",e),a.onClick!=null&&(e.onclick=fr),e=!0):e=!1,e||Qa(t)}function bd(t){for(be=t.return;be;)switch(be.tag){case 5:case 13:cl=!1;return;case 27:case 3:cl=!0;return;default:be=be.return}}function yo(t){if(t!==be)return!1;if(!Et)return bd(t),Et=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Bc(t.type,t.memoizedProps)),l=!l),l&&Ut&&Qa(t),bd(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Ut=ll(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Ut=null}}else e===27?(e=Ut,fa(t.type)?(t=qc,qc=null,Ut=t):Ut=e):Ut=be?ll(t.stateNode.nextSibling):null;return!0}function vo(){Ut=be=null,Et=!1}function xd(){var t=Za;return t!==null&&(Me===null?Me=t:Me.push.apply(Me,t),Za=null),t}function bo(t){Za===null?Za=[t]:Za.push(t)}var ws=j(null),Ka=null,Dl=null;function $l(t,e,l){q(ws,e._currentValue),e._currentValue=l}function Ml(t){t._currentValue=ws.current,V(ws)}function Ss(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Cs(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var o=n.dependencies;if(o!==null){var c=n.child;o=o.firstContext;t:for(;o!==null;){var d=o;o=n;for(var g=0;g<e.length;g++)if(d.context===e[g]){o.lanes|=l,d=o.alternate,d!==null&&(d.lanes|=l),Ss(o.return,l,t),a||(c=null);break t}o=d.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(s(341));c.lanes|=l,o=c.alternate,o!==null&&(o.lanes|=l),Ss(c,l,t),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===t){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function xo(t,e,l,a){t=null;for(var n=e,o=!1;n!==null;){if(!o){if((n.flags&524288)!==0)o=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(s(387));if(c=c.memoizedProps,c!==null){var d=n.type;Re(n.pendingProps.value,c.value)||(t!==null?t.push(d):t=[d])}}else if(n===gt.current){if(c=n.alternate,c===null)throw Error(s(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Jo):t=[Jo])}n=n.return}t!==null&&Cs(e,t,l,a),e.flags|=262144}function ki(t){for(t=t.firstContext;t!==null;){if(!Re(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Pa(t){Ka=t,Dl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ye(t){return wd(Ka,t)}function Oi(t,e){return Ka===null&&Pa(t),wd(t,e)}function wd(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Dl===null){if(t===null)throw Error(s(308));Dl=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Dl=Dl.next=e;return l}var s1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},c1=r.unstable_scheduleCallback,u1=r.unstable_NormalPriority,$t={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Es(){return{controller:new s1,data:new Map,refCount:0}}function wo(t){t.refCount--,t.refCount===0&&c1(u1,function(){t.controller.abort()})}var So=null,Ts=0,Tn=0,Dn=null;function d1(t,e){if(So===null){var l=So=[];Ts=0,Tn=Mc(),Dn={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Ts++,e.then(Sd,Sd),e}function Sd(){if(--Ts===0&&So!==null){Dn!==null&&(Dn.status="fulfilled");var t=So;So=null,Tn=0,Dn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function f1(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Cd=A.S;A.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&d1(t,e),Cd!==null&&Cd(t,e)};var Ja=j(null);function Ds(){var t=Ja.current;return t!==null?t:jt.pooledCache}function ji(t,e){e===null?q(Ja,Ja.current):q(Ja,e.pool)}function Ed(){var t=Ds();return t===null?null:{parent:$t._currentValue,pool:t}}var Co=Error(s(460)),Td=Error(s(474)),Bi=Error(s(542)),Ms={then:function(){}};function Dd(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Li(){}function Md(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Li,Li),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rd(t),t;default:if(typeof e.status=="string")e.then(Li,Li);else{if(t=jt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Rd(t),t}throw Eo=e,Co}}var Eo=null;function Ad(){if(Eo===null)throw Error(s(459));var t=Eo;return Eo=null,t}function Rd(t){if(t===Co||t===Bi)throw Error(s(483))}var Fl=!1;function As(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Rs(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Il(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ta(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(At&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Ri(t),gd(t,null,l),e}return Ai(t,a,e,l),Ri(t)}function To(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,mi(t,l)}}function zs(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,o=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};o===null?n=o=c:o=o.next=c,l=l.next}while(l!==null);o===null?n=o=e:o=o.next=e}else n=o=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var Ns=!1;function Do(){if(Ns){var t=Dn;if(t!==null)throw t}}function Mo(t,e,l,a){Ns=!1;var n=t.updateQueue;Fl=!1;var o=n.firstBaseUpdate,c=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var g=d,S=g.next;g.next=null,c===null?o=S:c.next=S,c=g;var z=t.alternate;z!==null&&(z=z.updateQueue,d=z.lastBaseUpdate,d!==c&&(d===null?z.firstBaseUpdate=S:d.next=S,z.lastBaseUpdate=g))}if(o!==null){var O=n.baseState;c=0,z=S=g=null,d=o;do{var E=d.lane&-536870913,T=E!==d.lane;if(T?(wt&E)===E:(a&E)===E){E!==0&&E===Tn&&(Ns=!0),z!==null&&(z=z.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});t:{var lt=t,I=d;E=e;var _t=l;switch(I.tag){case 1:if(lt=I.payload,typeof lt=="function"){O=lt.call(_t,O,E);break t}O=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=I.payload,E=typeof lt=="function"?lt.call(_t,O,E):lt,E==null)break t;O=D({},O,E);break t;case 2:Fl=!0}}E=d.callback,E!==null&&(t.flags|=64,T&&(t.flags|=8192),T=n.callbacks,T===null?n.callbacks=[E]:T.push(E))}else T={lane:E,tag:d.tag,payload:d.payload,callback:d.callback,next:null},z===null?(S=z=T,g=O):z=z.next=T,c|=E;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;T=d,d=T.next,T.next=null,n.lastBaseUpdate=T,n.shared.pending=null}}while(!0);z===null&&(g=O),n.baseState=g,n.firstBaseUpdate=S,n.lastBaseUpdate=z,o===null&&(n.shared.lanes=0),sa|=c,t.lanes=c,t.memoizedState=O}}function zd(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function Nd(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)zd(l[t],e)}var Mn=j(null),Hi=j(0);function _d(t,e){t=Ol,q(Hi,t),q(Mn,e),Ol=t|e.baseLanes}function _s(){q(Hi,Ol),q(Mn,Mn.current)}function ks(){Ol=Hi.current,V(Mn),V(Hi)}var ea=0,mt=null,zt=null,Zt=null,Ui=!1,An=!1,Wa=!1,qi=0,Ao=0,Rn=null,h1=0;function Gt(){throw Error(s(321))}function Os(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Re(t[l],e[l]))return!1;return!0}function js(t,e,l,a,n,o){return ea=o,mt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,A.H=t===null||t.memoizedState===null?pf:yf,Wa=!1,o=l(a,n),Wa=!1,An&&(o=Od(e,l,a,n)),kd(t),o}function kd(t){A.H=Qi;var e=zt!==null&&zt.next!==null;if(ea=0,Zt=zt=mt=null,Ui=!1,Ao=0,Rn=null,e)throw Error(s(300));t===null||ae||(t=t.dependencies,t!==null&&ki(t)&&(ae=!0))}function Od(t,e,l,a){mt=t;var n=0;do{if(An&&(Rn=null),Ao=0,An=!1,25<=n)throw Error(s(301));if(n+=1,Zt=zt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}A.H=x1,o=e(l,a)}while(An);return o}function m1(){var t=A.H,e=t.useState()[0];return e=typeof e.then=="function"?Ro(e):e,t=t.useState()[0],(zt!==null?zt.memoizedState:null)!==t&&(mt.flags|=1024),e}function Bs(){var t=qi!==0;return qi=0,t}function Ls(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Hs(t){if(Ui){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ui=!1}ea=0,Zt=zt=mt=null,An=!1,Ao=qi=0,Rn=null}function Te(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?mt.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Qt(){if(zt===null){var t=mt.alternate;t=t!==null?t.memoizedState:null}else t=zt.next;var e=Zt===null?mt.memoizedState:Zt.next;if(e!==null)Zt=e,zt=t;else{if(t===null)throw mt.alternate===null?Error(s(467)):Error(s(310));zt=t,t={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},Zt===null?mt.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function Us(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ro(t){var e=Ao;return Ao+=1,Rn===null&&(Rn=[]),t=Md(Rn,t,e),e=mt,(Zt===null?e.memoizedState:Zt.next)===null&&(e=e.alternate,A.H=e===null||e.memoizedState===null?pf:yf),t}function Gi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ro(t);if(t.$$typeof===k)return ye(t)}throw Error(s(438,String(t)))}function qs(t){var e=null,l=mt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=mt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Us(),mt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=Be;return e.index++,l}function Al(t,e){return typeof e=="function"?e(t):e}function Yi(t){var e=Qt();return Gs(e,zt,t)}function Gs(t,e,l){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=t.baseQueue,o=a.pending;if(o!==null){if(n!==null){var c=n.next;n.next=o.next,o.next=c}e.baseQueue=n=o,a.pending=null}if(o=t.baseState,n===null)t.memoizedState=o;else{e=n.next;var d=c=null,g=null,S=e,z=!1;do{var O=S.lane&-536870913;if(O!==S.lane?(wt&O)===O:(ea&O)===O){var E=S.revertLane;if(E===0)g!==null&&(g=g.next={lane:0,revertLane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),O===Tn&&(z=!0);else if((ea&E)===E){S=S.next,E===Tn&&(z=!0);continue}else O={lane:0,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(d=g=O,c=o):g=g.next=O,mt.lanes|=E,sa|=E;O=S.action,Wa&&l(o,O),o=S.hasEagerState?S.eagerState:l(o,O)}else E={lane:O,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(d=g=E,c=o):g=g.next=E,mt.lanes|=O,sa|=O;S=S.next}while(S!==null&&S!==e);if(g===null?c=o:g.next=d,!Re(o,t.memoizedState)&&(ae=!0,z&&(l=Dn,l!==null)))throw l;t.memoizedState=o,t.baseState=c,t.baseQueue=g,a.lastRenderedState=o}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Ys(t){var e=Qt(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,o=e.memoizedState;if(n!==null){l.pending=null;var c=n=n.next;do o=t(o,c.action),c=c.next;while(c!==n);Re(o,e.memoizedState)||(ae=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),l.lastRenderedState=o}return[o,a]}function jd(t,e,l){var a=mt,n=Qt(),o=Et;if(o){if(l===void 0)throw Error(s(407));l=l()}else l=e();var c=!Re((zt||n).memoizedState,l);c&&(n.memoizedState=l,ae=!0),n=n.queue;var d=Hd.bind(null,a,n,t);if(zo(2048,8,d,[t]),n.getSnapshot!==e||c||Zt!==null&&Zt.memoizedState.tag&1){if(a.flags|=2048,zn(9,Xi(),Ld.bind(null,a,n,l,e),null),jt===null)throw Error(s(349));o||(ea&124)!==0||Bd(a,e,l)}return l}function Bd(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=mt.updateQueue,e===null?(e=Us(),mt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Ld(t,e,l,a){e.value=l,e.getSnapshot=a,Ud(e)&&qd(t)}function Hd(t,e,l){return l(function(){Ud(e)&&qd(t)})}function Ud(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Re(t,l)}catch{return!0}}function qd(t){var e=wn(t,2);e!==null&&je(e,t,2)}function Xs(t){var e=Te();if(typeof t=="function"){var l=t;if(t=l(),Wa){Je(!0);try{l()}finally{Je(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:t},e}function Gd(t,e,l,a){return t.baseState=l,Gs(t,zt,typeof a=="function"?a:Al)}function g1(t,e,l,a,n){if(Zi(t))throw Error(s(485));if(t=e.action,t!==null){var o={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){o.listeners.push(c)}};A.T!==null?l(!0):o.isTransition=!1,a(o),l=e.pending,l===null?(o.next=e.pending=o,Yd(e,o)):(o.next=l.next,e.pending=l.next=o)}}function Yd(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var o=A.T,c={};A.T=c;try{var d=l(n,a),g=A.S;g!==null&&g(c,d),Xd(t,e,d)}catch(S){Vs(t,e,S)}finally{A.T=o}}else try{o=l(n,a),Xd(t,e,o)}catch(S){Vs(t,e,S)}}function Xd(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Vd(t,e,a)},function(a){return Vs(t,e,a)}):Vd(t,e,l)}function Vd(t,e,l){e.status="fulfilled",e.value=l,Zd(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Yd(t,l)))}function Vs(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Zd(e),e=e.next;while(e!==a)}t.action=null}function Zd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Qd(t,e){return e}function Kd(t,e){if(Et){var l=jt.formState;if(l!==null){t:{var a=mt;if(Et){if(Ut){e:{for(var n=Ut,o=cl;n.nodeType!==8;){if(!o){n=null;break e}if(n=ll(n.nextSibling),n===null){n=null;break e}}o=n.data,n=o==="F!"||o==="F"?n:null}if(n){Ut=ll(n.nextSibling),a=n.data==="F!";break t}}Qa(a)}a=!1}a&&(e=l[0])}}return l=Te(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qd,lastRenderedState:e},l.queue=a,l=hf.bind(null,mt,a),a.dispatch=l,a=Xs(!1),o=Js.bind(null,mt,!1,a.queue),a=Te(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=g1.bind(null,mt,n,o,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Pd(t){var e=Qt();return Jd(e,zt,t)}function Jd(t,e,l){if(e=Gs(t,e,Qd)[0],t=Yi(Al)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Ro(e)}catch(c){throw c===Co?Bi:c}else a=e;e=Qt();var n=e.queue,o=n.dispatch;return l!==e.memoizedState&&(mt.flags|=2048,zn(9,Xi(),p1.bind(null,n,l),null)),[a,o,t]}function p1(t,e){t.action=e}function Wd(t){var e=Qt(),l=zt;if(l!==null)return Jd(e,l,t);Qt(),e=e.memoizedState,l=Qt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function zn(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=mt.updateQueue,e===null&&(e=Us(),mt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Xi(){return{destroy:void 0,resource:void 0}}function $d(){return Qt().memoizedState}function Vi(t,e,l,a){var n=Te();a=a===void 0?null:a,mt.flags|=t,n.memoizedState=zn(1|e,Xi(),l,a)}function zo(t,e,l,a){var n=Qt();a=a===void 0?null:a;var o=n.memoizedState.inst;zt!==null&&a!==null&&Os(a,zt.memoizedState.deps)?n.memoizedState=zn(e,o,l,a):(mt.flags|=t,n.memoizedState=zn(1|e,o,l,a))}function Fd(t,e){Vi(8390656,8,t,e)}function Id(t,e){zo(2048,8,t,e)}function tf(t,e){return zo(4,2,t,e)}function ef(t,e){return zo(4,4,t,e)}function lf(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function af(t,e,l){l=l!=null?l.concat([t]):null,zo(4,4,lf.bind(null,e,t),l)}function Zs(){}function nf(t,e){var l=Qt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&Os(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function of(t,e){var l=Qt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&Os(e,a[1]))return a[0];if(a=t(),Wa){Je(!0);try{t()}finally{Je(!1)}}return l.memoizedState=[a,e],a}function Qs(t,e,l){return l===void 0||(ea&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=ch(),mt.lanes|=t,sa|=t,l)}function rf(t,e,l,a){return Re(l,e)?l:Mn.current!==null?(t=Qs(t,l,a),Re(t,e)||(ae=!0),t):(ea&42)===0?(ae=!0,t.memoizedState=l):(t=ch(),mt.lanes|=t,sa|=t,e)}function sf(t,e,l,a,n){var o=G.p;G.p=o!==0&&8>o?o:8;var c=A.T,d={};A.T=d,Js(t,!1,e,l);try{var g=n(),S=A.S;if(S!==null&&S(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var z=f1(g,a);No(t,e,z,Oe(t))}else No(t,e,a,Oe(t))}catch(O){No(t,e,{then:function(){},status:"rejected",reason:O},Oe())}finally{G.p=o,A.T=c}}function y1(){}function Ks(t,e,l,a){if(t.tag!==5)throw Error(s(476));var n=cf(t).queue;sf(t,n,e,B,l===null?y1:function(){return uf(t),l(a)})}function cf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:B},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Al,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function uf(t){var e=cf(t).next.queue;No(t,e,{},Oe())}function Ps(){return ye(Jo)}function df(){return Qt().memoizedState}function ff(){return Qt().memoizedState}function v1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Oe();t=Il(l);var a=ta(e,t,l);a!==null&&(je(a,e,l),To(a,e,l)),e={cache:Es()},t.payload=e;return}e=e.return}}function b1(t,e,l){var a=Oe();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Zi(t)?mf(e,l):(l=ms(t,e,l,a),l!==null&&(je(l,t,a),gf(l,e,a)))}function hf(t,e,l){var a=Oe();No(t,e,l,a)}function No(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Zi(t))mf(e,n);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var c=e.lastRenderedState,d=o(c,l);if(n.hasEagerState=!0,n.eagerState=d,Re(d,c))return Ai(t,e,n,0),jt===null&&Mi(),!1}catch{}finally{}if(l=ms(t,e,n,a),l!==null)return je(l,t,a),gf(l,e,a),!0}return!1}function Js(t,e,l,a){if(a={lane:2,revertLane:Mc(),action:a,hasEagerState:!1,eagerState:null,next:null},Zi(t)){if(e)throw Error(s(479))}else e=ms(t,l,a,2),e!==null&&je(e,t,2)}function Zi(t){var e=t.alternate;return t===mt||e!==null&&e===mt}function mf(t,e){An=Ui=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function gf(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,mi(t,l)}}var Qi={readContext:ye,use:Gi,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt},pf={readContext:ye,use:Gi,useCallback:function(t,e){return Te().memoizedState=[t,e===void 0?null:e],t},useContext:ye,useEffect:Fd,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Vi(4194308,4,lf.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Vi(4194308,4,t,e)},useInsertionEffect:function(t,e){Vi(4,2,t,e)},useMemo:function(t,e){var l=Te();e=e===void 0?null:e;var a=t();if(Wa){Je(!0);try{t()}finally{Je(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Te();if(l!==void 0){var n=l(e);if(Wa){Je(!0);try{l(e)}finally{Je(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=b1.bind(null,mt,t),[a.memoizedState,t]},useRef:function(t){var e=Te();return t={current:t},e.memoizedState=t},useState:function(t){t=Xs(t);var e=t.queue,l=hf.bind(null,mt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Zs,useDeferredValue:function(t,e){var l=Te();return Qs(l,t,e)},useTransition:function(){var t=Xs(!1);return t=sf.bind(null,mt,t.queue,!0,!1),Te().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=mt,n=Te();if(Et){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),jt===null)throw Error(s(349));(wt&124)!==0||Bd(a,e,l)}n.memoizedState=l;var o={value:l,getSnapshot:e};return n.queue=o,Fd(Hd.bind(null,a,o,t),[t]),a.flags|=2048,zn(9,Xi(),Ld.bind(null,a,o,l,e),null),l},useId:function(){var t=Te(),e=jt.identifierPrefix;if(Et){var l=Tl,a=El;l=(a&~(1<<32-Wt(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=qi++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=h1++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Ps,useFormState:Kd,useActionState:Kd,useOptimistic:function(t){var e=Te();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Js.bind(null,mt,!0,l),l.dispatch=e,[t,e]},useMemoCache:qs,useCacheRefresh:function(){return Te().memoizedState=v1.bind(null,mt)}},yf={readContext:ye,use:Gi,useCallback:nf,useContext:ye,useEffect:Id,useImperativeHandle:af,useInsertionEffect:tf,useLayoutEffect:ef,useMemo:of,useReducer:Yi,useRef:$d,useState:function(){return Yi(Al)},useDebugValue:Zs,useDeferredValue:function(t,e){var l=Qt();return rf(l,zt.memoizedState,t,e)},useTransition:function(){var t=Yi(Al)[0],e=Qt().memoizedState;return[typeof t=="boolean"?t:Ro(t),e]},useSyncExternalStore:jd,useId:df,useHostTransitionStatus:Ps,useFormState:Pd,useActionState:Pd,useOptimistic:function(t,e){var l=Qt();return Gd(l,zt,t,e)},useMemoCache:qs,useCacheRefresh:ff},x1={readContext:ye,use:Gi,useCallback:nf,useContext:ye,useEffect:Id,useImperativeHandle:af,useInsertionEffect:tf,useLayoutEffect:ef,useMemo:of,useReducer:Ys,useRef:$d,useState:function(){return Ys(Al)},useDebugValue:Zs,useDeferredValue:function(t,e){var l=Qt();return zt===null?Qs(l,t,e):rf(l,zt.memoizedState,t,e)},useTransition:function(){var t=Ys(Al)[0],e=Qt().memoizedState;return[typeof t=="boolean"?t:Ro(t),e]},useSyncExternalStore:jd,useId:df,useHostTransitionStatus:Ps,useFormState:Wd,useActionState:Wd,useOptimistic:function(t,e){var l=Qt();return zt!==null?Gd(l,zt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:qs,useCacheRefresh:ff},Nn=null,_o=0;function Ki(t){var e=_o;return _o+=1,Nn===null&&(Nn=[]),Md(Nn,t,e)}function ko(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Pi(t,e){throw e.$$typeof===R?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function vf(t){var e=t._init;return e(t._payload)}function bf(t){function e(b,y){if(t){var w=b.deletions;w===null?(b.deletions=[y],b.flags|=16):w.push(y)}}function l(b,y){if(!t)return null;for(;y!==null;)e(b,y),y=y.sibling;return null}function a(b){for(var y=new Map;b!==null;)b.key!==null?y.set(b.key,b):y.set(b.index,b),b=b.sibling;return y}function n(b,y){return b=Cl(b,y),b.index=0,b.sibling=null,b}function o(b,y,w){return b.index=w,t?(w=b.alternate,w!==null?(w=w.index,w<y?(b.flags|=67108866,y):w):(b.flags|=67108866,y)):(b.flags|=1048576,y)}function c(b){return t&&b.alternate===null&&(b.flags|=67108866),b}function d(b,y,w,_){return y===null||y.tag!==6?(y=ps(w,b.mode,_),y.return=b,y):(y=n(y,w),y.return=b,y)}function g(b,y,w,_){var P=w.type;return P===F?z(b,y,w.props.children,_,w.key):y!==null&&(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===X&&vf(P)===y.type)?(y=n(y,w.props),ko(y,w),y.return=b,y):(y=zi(w.type,w.key,w.props,null,b.mode,_),ko(y,w),y.return=b,y)}function S(b,y,w,_){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=ys(w,b.mode,_),y.return=b,y):(y=n(y,w.children||[]),y.return=b,y)}function z(b,y,w,_,P){return y===null||y.tag!==7?(y=Ya(w,b.mode,_,P),y.return=b,y):(y=n(y,w),y.return=b,y)}function O(b,y,w){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=ps(""+y,b.mode,w),y.return=b,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case J:return w=zi(y.type,y.key,y.props,null,b.mode,w),ko(w,y),w.return=b,w;case $:return y=ys(y,b.mode,w),y.return=b,y;case X:var _=y._init;return y=_(y._payload),O(b,y,w)}if(Mt(y)||Bt(y))return y=Ya(y,b.mode,w,null),y.return=b,y;if(typeof y.then=="function")return O(b,Ki(y),w);if(y.$$typeof===k)return O(b,Oi(b,y),w);Pi(b,y)}return null}function E(b,y,w,_){var P=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return P!==null?null:d(b,y,""+w,_);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case J:return w.key===P?g(b,y,w,_):null;case $:return w.key===P?S(b,y,w,_):null;case X:return P=w._init,w=P(w._payload),E(b,y,w,_)}if(Mt(w)||Bt(w))return P!==null?null:z(b,y,w,_,null);if(typeof w.then=="function")return E(b,y,Ki(w),_);if(w.$$typeof===k)return E(b,y,Oi(b,w),_);Pi(b,w)}return null}function T(b,y,w,_,P){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return b=b.get(w)||null,d(y,b,""+_,P);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case J:return b=b.get(_.key===null?w:_.key)||null,g(y,b,_,P);case $:return b=b.get(_.key===null?w:_.key)||null,S(y,b,_,P);case X:var pt=_._init;return _=pt(_._payload),T(b,y,w,_,P)}if(Mt(_)||Bt(_))return b=b.get(w)||null,z(y,b,_,P,null);if(typeof _.then=="function")return T(b,y,w,Ki(_),P);if(_.$$typeof===k)return T(b,y,w,Oi(y,_),P);Pi(y,_)}return null}function lt(b,y,w,_){for(var P=null,pt=null,W=y,et=y=0,oe=null;W!==null&&et<w.length;et++){W.index>et?(oe=W,W=null):oe=W.sibling;var Ct=E(b,W,w[et],_);if(Ct===null){W===null&&(W=oe);break}t&&W&&Ct.alternate===null&&e(b,W),y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct,W=oe}if(et===w.length)return l(b,W),Et&&Va(b,et),P;if(W===null){for(;et<w.length;et++)W=O(b,w[et],_),W!==null&&(y=o(W,y,et),pt===null?P=W:pt.sibling=W,pt=W);return Et&&Va(b,et),P}for(W=a(W);et<w.length;et++)oe=T(W,b,et,w[et],_),oe!==null&&(t&&oe.alternate!==null&&W.delete(oe.key===null?et:oe.key),y=o(oe,y,et),pt===null?P=oe:pt.sibling=oe,pt=oe);return t&&W.forEach(function(ya){return e(b,ya)}),Et&&Va(b,et),P}function I(b,y,w,_){if(w==null)throw Error(s(151));for(var P=null,pt=null,W=y,et=y=0,oe=null,Ct=w.next();W!==null&&!Ct.done;et++,Ct=w.next()){W.index>et?(oe=W,W=null):oe=W.sibling;var ya=E(b,W,Ct.value,_);if(ya===null){W===null&&(W=oe);break}t&&W&&ya.alternate===null&&e(b,W),y=o(ya,y,et),pt===null?P=ya:pt.sibling=ya,pt=ya,W=oe}if(Ct.done)return l(b,W),Et&&Va(b,et),P;if(W===null){for(;!Ct.done;et++,Ct=w.next())Ct=O(b,Ct.value,_),Ct!==null&&(y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct);return Et&&Va(b,et),P}for(W=a(W);!Ct.done;et++,Ct=w.next())Ct=T(W,b,et,Ct.value,_),Ct!==null&&(t&&Ct.alternate!==null&&W.delete(Ct.key===null?et:Ct.key),y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct);return t&&W.forEach(function(wp){return e(b,wp)}),Et&&Va(b,et),P}function _t(b,y,w,_){if(typeof w=="object"&&w!==null&&w.type===F&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case J:t:{for(var P=w.key;y!==null;){if(y.key===P){if(P=w.type,P===F){if(y.tag===7){l(b,y.sibling),_=n(y,w.props.children),_.return=b,b=_;break t}}else if(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===X&&vf(P)===y.type){l(b,y.sibling),_=n(y,w.props),ko(_,w),_.return=b,b=_;break t}l(b,y);break}else e(b,y);y=y.sibling}w.type===F?(_=Ya(w.props.children,b.mode,_,w.key),_.return=b,b=_):(_=zi(w.type,w.key,w.props,null,b.mode,_),ko(_,w),_.return=b,b=_)}return c(b);case $:t:{for(P=w.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){l(b,y.sibling),_=n(y,w.children||[]),_.return=b,b=_;break t}else{l(b,y);break}else e(b,y);y=y.sibling}_=ys(w,b.mode,_),_.return=b,b=_}return c(b);case X:return P=w._init,w=P(w._payload),_t(b,y,w,_)}if(Mt(w))return lt(b,y,w,_);if(Bt(w)){if(P=Bt(w),typeof P!="function")throw Error(s(150));return w=P.call(w),I(b,y,w,_)}if(typeof w.then=="function")return _t(b,y,Ki(w),_);if(w.$$typeof===k)return _t(b,y,Oi(b,w),_);Pi(b,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,y!==null&&y.tag===6?(l(b,y.sibling),_=n(y,w),_.return=b,b=_):(l(b,y),_=ps(w,b.mode,_),_.return=b,b=_),c(b)):l(b,y)}return function(b,y,w,_){try{_o=0;var P=_t(b,y,w,_);return Nn=null,P}catch(W){if(W===Co||W===Bi)throw W;var pt=ze(29,W,null,b.mode);return pt.lanes=_,pt.return=b,pt}finally{}}}var _n=bf(!0),xf=bf(!1),Ve=j(null),ul=null;function la(t){var e=t.alternate;q(Ft,Ft.current&1),q(Ve,t),ul===null&&(e===null||Mn.current!==null||e.memoizedState!==null)&&(ul=t)}function wf(t){if(t.tag===22){if(q(Ft,Ft.current),q(Ve,t),ul===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(ul=t)}}else aa()}function aa(){q(Ft,Ft.current),q(Ve,Ve.current)}function Rl(t){V(Ve),ul===t&&(ul=null),V(Ft)}var Ft=j(0);function Ji(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Uc(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Ws(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:D({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var $s={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=Oe(),n=Il(a);n.payload=e,l!=null&&(n.callback=l),e=ta(t,n,a),e!==null&&(je(e,t,a),To(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=Oe(),n=Il(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=ta(t,n,a),e!==null&&(je(e,t,a),To(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Oe(),a=Il(l);a.tag=2,e!=null&&(a.callback=e),e=ta(t,a,l),e!==null&&(je(e,t,l),To(e,t,l))}};function Sf(t,e,l,a,n,o,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,o,c):e.prototype&&e.prototype.isPureReactComponent?!go(l,a)||!go(n,o):!0}function Cf(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&$s.enqueueReplaceState(e,e.state,null)}function $a(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=D({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var Wi=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ef(t){Wi(t)}function Tf(t){console.error(t)}function Df(t){Wi(t)}function $i(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Mf(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Fs(t,e,l){return l=Il(l),l.tag=3,l.payload={element:null},l.callback=function(){$i(t,e)},l}function Af(t){return t=Il(t),t.tag=3,t}function Rf(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var o=a.value;t.payload=function(){return n(o)},t.callback=function(){Mf(e,l,a)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){Mf(e,l,a),typeof n!="function"&&(ca===null?ca=new Set([this]):ca.add(this));var d=a.stack;this.componentDidCatch(a.value,{componentStack:d!==null?d:""})})}function w1(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&xo(e,l,n,!0),l=Ve.current,l!==null){switch(l.tag){case 13:return ul===null?Sc():l.alternate===null&&qt===0&&(qt=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Ms?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),Ec(t,a,n)),!1;case 22:return l.flags|=65536,a===Ms?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),Ec(t,a,n)),!1}throw Error(s(435,l.tag))}return Ec(t,a,n),Sc(),!1}if(Et)return e=Ve.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==xs&&(t=Error(s(422),{cause:a}),bo(qe(t,l)))):(a!==xs&&(e=Error(s(423),{cause:a}),bo(qe(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=qe(a,l),n=Fs(t.stateNode,a,n),zs(t,n),qt!==4&&(qt=2)),!1;var o=Error(s(520),{cause:a});if(o=qe(o,l),qo===null?qo=[o]:qo.push(o),qt!==4&&(qt=2),e===null)return!0;a=qe(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Fs(l.stateNode,a,t),zs(l,t),!1;case 1:if(e=l.type,o=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(ca===null||!ca.has(o))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Af(n),Rf(n,t,l,a),zs(l,n),!1}l=l.return}while(l!==null);return!1}var zf=Error(s(461)),ae=!1;function ue(t,e,l,a){e.child=t===null?xf(e,null,l,a):_n(e,t.child,l,a)}function Nf(t,e,l,a,n){l=l.render;var o=e.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return Pa(e),a=js(t,e,l,c,o,n),d=Bs(),t!==null&&!ae?(Ls(t,e,n),zl(t,e,n)):(Et&&d&&vs(e),e.flags|=1,ue(t,e,a,n),e.child)}function _f(t,e,l,a,n){if(t===null){var o=l.type;return typeof o=="function"&&!gs(o)&&o.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=o,kf(t,e,o,a,n)):(t=zi(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!ic(t,n)){var c=o.memoizedProps;if(l=l.compare,l=l!==null?l:go,l(c,a)&&t.ref===e.ref)return zl(t,e,n)}return e.flags|=1,t=Cl(o,a),t.ref=e.ref,t.return=e,e.child=t}function kf(t,e,l,a,n){if(t!==null){var o=t.memoizedProps;if(go(o,a)&&t.ref===e.ref)if(ae=!1,e.pendingProps=a=o,ic(t,n))(t.flags&131072)!==0&&(ae=!0);else return e.lanes=t.lanes,zl(t,e,n)}return Is(t,e,l,a,n)}function Of(t,e,l){var a=e.pendingProps,n=a.children,o=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=o!==null?o.baseLanes|l:l,t!==null){for(n=e.child=t.child,o=0;n!==null;)o=o|n.lanes|n.childLanes,n=n.sibling;e.childLanes=o&~a}else e.childLanes=0,e.child=null;return jf(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ji(e,o!==null?o.cachePool:null),o!==null?_d(e,o):_s(),wf(e);else return e.lanes=e.childLanes=536870912,jf(t,e,o!==null?o.baseLanes|l:l,l)}else o!==null?(ji(e,o.cachePool),_d(e,o),aa(),e.memoizedState=null):(t!==null&&ji(e,null),_s(),aa());return ue(t,e,n,l),e.child}function jf(t,e,l,a){var n=Ds();return n=n===null?null:{parent:$t._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&ji(e,null),_s(),wf(e),t!==null&&xo(t,e,a,!0),null}function Fi(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Is(t,e,l,a,n){return Pa(e),l=js(t,e,l,a,void 0,n),a=Bs(),t!==null&&!ae?(Ls(t,e,n),zl(t,e,n)):(Et&&a&&vs(e),e.flags|=1,ue(t,e,l,n),e.child)}function Bf(t,e,l,a,n,o){return Pa(e),e.updateQueue=null,l=Od(e,a,l,n),kd(t),a=Bs(),t!==null&&!ae?(Ls(t,e,o),zl(t,e,o)):(Et&&a&&vs(e),e.flags|=1,ue(t,e,l,o),e.child)}function Lf(t,e,l,a,n){if(Pa(e),e.stateNode===null){var o=Sn,c=l.contextType;typeof c=="object"&&c!==null&&(o=ye(c)),o=new l(a,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=$s,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=a,o.state=e.memoizedState,o.refs={},As(e),c=l.contextType,o.context=typeof c=="object"&&c!==null?ye(c):Sn,o.state=e.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(Ws(e,l,c,a),o.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(c=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),c!==o.state&&$s.enqueueReplaceState(o,o.state,null),Mo(e,a,o,n),Do(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){o=e.stateNode;var d=e.memoizedProps,g=$a(l,d);o.props=g;var S=o.context,z=l.contextType;c=Sn,typeof z=="object"&&z!==null&&(c=ye(z));var O=l.getDerivedStateFromProps;z=typeof O=="function"||typeof o.getSnapshotBeforeUpdate=="function",d=e.pendingProps!==d,z||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(d||S!==c)&&Cf(e,o,a,c),Fl=!1;var E=e.memoizedState;o.state=E,Mo(e,a,o,n),Do(),S=e.memoizedState,d||E!==S||Fl?(typeof O=="function"&&(Ws(e,l,O,a),S=e.memoizedState),(g=Fl||Sf(e,l,g,a,E,S,c))?(z||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=S),o.props=a,o.state=S,o.context=c,a=g):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{o=e.stateNode,Rs(t,e),c=e.memoizedProps,z=$a(l,c),o.props=z,O=e.pendingProps,E=o.context,S=l.contextType,g=Sn,typeof S=="object"&&S!==null&&(g=ye(S)),d=l.getDerivedStateFromProps,(S=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(c!==O||E!==g)&&Cf(e,o,a,g),Fl=!1,E=e.memoizedState,o.state=E,Mo(e,a,o,n),Do();var T=e.memoizedState;c!==O||E!==T||Fl||t!==null&&t.dependencies!==null&&ki(t.dependencies)?(typeof d=="function"&&(Ws(e,l,d,a),T=e.memoizedState),(z=Fl||Sf(e,l,z,a,E,T,g)||t!==null&&t.dependencies!==null&&ki(t.dependencies))?(S||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,T,g),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,T,g)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||c===t.memoizedProps&&E===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&E===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=T),o.props=a,o.state=T,o.context=g,a=z):(typeof o.componentDidUpdate!="function"||c===t.memoizedProps&&E===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&E===t.memoizedState||(e.flags|=1024),a=!1)}return o=a,Fi(t,e),a=(e.flags&128)!==0,o||a?(o=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&a?(e.child=_n(e,t.child,null,n),e.child=_n(e,null,l,n)):ue(t,e,l,n),e.memoizedState=o.state,t=e.child):t=zl(t,e,n),t}function Hf(t,e,l,a){return vo(),e.flags|=256,ue(t,e,l,a),e.child}var tc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ec(t){return{baseLanes:t,cachePool:Ed()}}function lc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Ze),t}function Uf(t,e,l){var a=e.pendingProps,n=!1,o=(e.flags&128)!==0,c;if((c=o)||(c=t!==null&&t.memoizedState===null?!1:(Ft.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,t===null){if(Et){if(n?la(e):aa(),Et){var d=Ut,g;if(g=d){t:{for(g=d,d=cl;g.nodeType!==8;){if(!d){d=null;break t}if(g=ll(g.nextSibling),g===null){d=null;break t}}d=g}d!==null?(e.memoizedState={dehydrated:d,treeContext:Xa!==null?{id:El,overflow:Tl}:null,retryLane:536870912,hydrationErrors:null},g=ze(18,null,null,0),g.stateNode=d,g.return=e,e.child=g,be=e,Ut=null,g=!0):g=!1}g||Qa(e)}if(d=e.memoizedState,d!==null&&(d=d.dehydrated,d!==null))return Uc(d)?e.lanes=32:e.lanes=536870912,null;Rl(e)}return d=a.children,a=a.fallback,n?(aa(),n=e.mode,d=Ii({mode:"hidden",children:d},n),a=Ya(a,n,l,null),d.return=e,a.return=e,d.sibling=a,e.child=d,n=e.child,n.memoizedState=ec(l),n.childLanes=lc(t,c,l),e.memoizedState=tc,a):(la(e),ac(e,d))}if(g=t.memoizedState,g!==null&&(d=g.dehydrated,d!==null)){if(o)e.flags&256?(la(e),e.flags&=-257,e=nc(t,e,l)):e.memoizedState!==null?(aa(),e.child=t.child,e.flags|=128,e=null):(aa(),n=a.fallback,d=e.mode,a=Ii({mode:"visible",children:a.children},d),n=Ya(n,d,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,_n(e,t.child,null,l),a=e.child,a.memoizedState=ec(l),a.childLanes=lc(t,c,l),e.memoizedState=tc,e=n);else if(la(e),Uc(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var S=c.dgst;c=S,a=Error(s(419)),a.stack="",a.digest=c,bo({value:a,source:null,stack:null}),e=nc(t,e,l)}else if(ae||xo(t,e,l,!1),c=(l&t.childLanes)!==0,ae||c){if(c=jt,c!==null&&(a=l&-l,a=(a&42)!==0?1:eo(a),a=(a&(c.suspendedLanes|l))!==0?0:a,a!==0&&a!==g.retryLane))throw g.retryLane=a,wn(t,a),je(c,t,a),zf;d.data==="$?"||Sc(),e=nc(t,e,l)}else d.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=g.treeContext,Ut=ll(d.nextSibling),be=e,Et=!0,Za=null,cl=!1,t!==null&&(Ye[Xe++]=El,Ye[Xe++]=Tl,Ye[Xe++]=Xa,El=t.id,Tl=t.overflow,Xa=e),e=ac(e,a.children),e.flags|=4096);return e}return n?(aa(),n=a.fallback,d=e.mode,g=t.child,S=g.sibling,a=Cl(g,{mode:"hidden",children:a.children}),a.subtreeFlags=g.subtreeFlags&65011712,S!==null?n=Cl(S,n):(n=Ya(n,d,l,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,d=t.child.memoizedState,d===null?d=ec(l):(g=d.cachePool,g!==null?(S=$t._currentValue,g=g.parent!==S?{parent:S,pool:S}:g):g=Ed(),d={baseLanes:d.baseLanes|l,cachePool:g}),n.memoizedState=d,n.childLanes=lc(t,c,l),e.memoizedState=tc,a):(la(e),l=t.child,t=l.sibling,l=Cl(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(c=e.deletions,c===null?(e.deletions=[t],e.flags|=16):c.push(t)),e.child=l,e.memoizedState=null,l)}function ac(t,e){return e=Ii({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ii(t,e){return t=ze(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function nc(t,e,l){return _n(e,t.child,null,l),t=ac(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function qf(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Ss(t.return,e,l)}function oc(t,e,l,a,n){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=l,o.tailMode=n)}function Gf(t,e,l){var a=e.pendingProps,n=a.revealOrder,o=a.tail;if(ue(t,e,a.children,l),a=Ft.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&qf(t,l,e);else if(t.tag===19)qf(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(q(Ft,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Ji(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),oc(e,!1,n,l,o);break;case"backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Ji(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}oc(e,!0,l,null,o);break;case"together":oc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function zl(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),sa|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(xo(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=Cl(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Cl(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function ic(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&ki(t)))}function S1(t,e,l){switch(e.tag){case 3:Tt(e,e.stateNode.containerInfo),$l(e,$t,t.memoizedState.cache),vo();break;case 27:case 5:Ke(e);break;case 4:Tt(e,e.stateNode.containerInfo);break;case 10:$l(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(la(e),e.flags|=128,null):(l&e.child.childLanes)!==0?Uf(t,e,l):(la(e),t=zl(t,e,l),t!==null?t.sibling:null);la(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(xo(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return Gf(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),q(Ft,Ft.current),a)break;return null;case 22:case 23:return e.lanes=0,Of(t,e,l);case 24:$l(e,$t,t.memoizedState.cache)}return zl(t,e,l)}function Yf(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ae=!0;else{if(!ic(t,l)&&(e.flags&128)===0)return ae=!1,S1(t,e,l);ae=(t.flags&131072)!==0}else ae=!1,Et&&(e.flags&1048576)!==0&&yd(e,_i,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,n=a._init;if(a=n(a._payload),e.type=a,typeof a=="function")gs(a)?(t=$a(a,t),e.tag=1,e=Lf(null,e,a,t,l)):(e.tag=0,e=Is(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===Y){e.tag=11,e=Nf(null,e,a,t,l);break t}else if(n===rt){e.tag=14,e=_f(null,e,a,t,l);break t}}throw e=Se(a)||a,Error(s(306,e,""))}}return e;case 0:return Is(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=$a(a,e.pendingProps),Lf(t,e,a,n,l);case 3:t:{if(Tt(e,e.stateNode.containerInfo),t===null)throw Error(s(387));a=e.pendingProps;var o=e.memoizedState;n=o.element,Rs(t,e),Mo(e,a,null,l);var c=e.memoizedState;if(a=c.cache,$l(e,$t,a),a!==o.cache&&Cs(e,[$t],l,!0),Do(),a=c.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=Hf(t,e,a,l);break t}else if(a!==n){n=qe(Error(s(424)),e),bo(n),e=Hf(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ut=ll(t.firstChild),be=e,Et=!0,Za=null,cl=!0,l=xf(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(vo(),a===n){e=zl(t,e,l);break t}ue(t,e,a,l)}e=e.child}return e;case 26:return Fi(t,e),t===null?(l=Qh(e.type,null,e.pendingProps,null))?e.memoizedState=l:Et||(l=e.type,t=e.pendingProps,a=hr(tt.current).createElement(l),a[te]=e,a[pe]=t,fe(a,l,t),Xt(a),e.stateNode=a):e.memoizedState=Qh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ke(e),t===null&&Et&&(a=e.stateNode=Xh(e.type,e.pendingProps,tt.current),be=e,cl=!0,n=Ut,fa(e.type)?(qc=n,Ut=ll(a.firstChild)):Ut=n),ue(t,e,e.pendingProps.children,l),Fi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Et&&((n=a=Ut)&&(a=W1(a,e.type,e.pendingProps,cl),a!==null?(e.stateNode=a,be=e,Ut=ll(a.firstChild),cl=!1,n=!0):n=!1),n||Qa(e)),Ke(e),n=e.type,o=e.pendingProps,c=t!==null?t.memoizedProps:null,a=o.children,Bc(n,o)?a=null:c!==null&&Bc(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=js(t,e,m1,null,null,l),Jo._currentValue=n),Fi(t,e),ue(t,e,a,l),e.child;case 6:return t===null&&Et&&((t=l=Ut)&&(l=$1(l,e.pendingProps,cl),l!==null?(e.stateNode=l,be=e,Ut=null,t=!0):t=!1),t||Qa(e)),null;case 13:return Uf(t,e,l);case 4:return Tt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=_n(e,null,a,l):ue(t,e,a,l),e.child;case 11:return Nf(t,e,e.type,e.pendingProps,l);case 7:return ue(t,e,e.pendingProps,l),e.child;case 8:return ue(t,e,e.pendingProps.children,l),e.child;case 12:return ue(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,$l(e,e.type,a.value),ue(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Pa(e),n=ye(n),a=a(n),e.flags|=1,ue(t,e,a,l),e.child;case 14:return _f(t,e,e.type,e.pendingProps,l);case 15:return kf(t,e,e.type,e.pendingProps,l);case 19:return Gf(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=Ii(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=Cl(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return Of(t,e,l);case 24:return Pa(e),a=ye($t),t===null?(n=Ds(),n===null&&(n=jt,o=Es(),n.pooledCache=o,o.refCount++,o!==null&&(n.pooledCacheLanes|=l),n=o),e.memoizedState={parent:a,cache:n},As(e),$l(e,$t,n)):((t.lanes&l)!==0&&(Rs(t,e),Mo(e,null,null,l),Do()),n=t.memoizedState,o=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),$l(e,$t,a)):(a=o.cache,$l(e,$t,a),a!==n.cache&&Cs(e,[$t],l,!0))),ue(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function Nl(t){t.flags|=4}function Xf(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!$h(e)){if(e=Ve.current,e!==null&&((wt&4194048)===wt?ul!==null:(wt&62914560)!==wt&&(wt&536870912)===0||e!==ul))throw Eo=Ms,Td;t.flags|=8192}}function tr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?fi():536870912,t.lanes|=e,Bn|=e)}function Oo(t,e){if(!Et)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Ht(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function C1(t,e,l){var a=e.pendingProps;switch(bs(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(e),null;case 1:return Ht(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ml($t),Pt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(yo(e)?Nl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,xd())),Ht(e),null;case 26:return l=e.memoizedState,t===null?(Nl(e),l!==null?(Ht(e),Xf(e,l)):(Ht(e),e.flags&=-16777217)):l?l!==t.memoizedState?(Nl(e),Ht(e),Xf(e,l)):(Ht(e),e.flags&=-16777217):(t.memoizedProps!==a&&Nl(e),Ht(e),e.flags&=-16777217),null;case 27:Ce(e),l=tt.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Nl(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ht(e),null}t=Z.current,yo(e)?vd(e):(t=Xh(n,a,l),e.stateNode=t,Nl(e))}return Ht(e),null;case 5:if(Ce(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Nl(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ht(e),null}if(t=Z.current,yo(e))vd(e);else{switch(n=hr(tt.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}t[te]=e,t[pe]=a;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(fe(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Nl(e)}}return Ht(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Nl(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(s(166));if(t=tt.current,yo(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=be,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[te]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Bh(t.nodeValue,l)),t||Qa(e)}else t=hr(t).createTextNode(a),t[te]=e,e.stateNode=t}return Ht(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=yo(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[te]=e}else vo(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ht(e),n=!1}else n=xd(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Rl(e),e):(Rl(e),null)}if(Rl(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var o=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==n&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),tr(e,e.updateQueue),Ht(e),null;case 4:return Pt(),t===null&&Nc(e.stateNode.containerInfo),Ht(e),null;case 10:return Ml(e.type),Ht(e),null;case 19:if(V(Ft),n=e.memoizedState,n===null)return Ht(e),null;if(a=(e.flags&128)!==0,o=n.rendering,o===null)if(a)Oo(n,!1);else{if(qt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=Ji(t),o!==null){for(e.flags|=128,Oo(n,!1),t=o.updateQueue,e.updateQueue=t,tr(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)pd(l,t),l=l.sibling;return q(Ft,Ft.current&1|2),e.child}t=t.sibling}n.tail!==null&&ge()>ar&&(e.flags|=128,a=!0,Oo(n,!1),e.lanes=4194304)}else{if(!a)if(t=Ji(o),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,tr(e,t),Oo(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Et)return Ht(e),null}else 2*ge()-n.renderingStartTime>ar&&l!==536870912&&(e.flags|=128,a=!0,Oo(n,!1),e.lanes=4194304);n.isBackwards?(o.sibling=e.child,e.child=o):(t=n.last,t!==null?t.sibling=o:e.child=o,n.last=o)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ge(),e.sibling=null,t=Ft.current,q(Ft,a?t&1|2:t&1),e):(Ht(e),null);case 22:case 23:return Rl(e),ks(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Ht(e),e.subtreeFlags&6&&(e.flags|=8192)):Ht(e),l=e.updateQueue,l!==null&&tr(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&V(Ja),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ml($t),Ht(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function E1(t,e){switch(bs(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ml($t),Pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ce(e),null;case 13:if(Rl(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));vo()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return V(Ft),null;case 4:return Pt(),null;case 10:return Ml(e.type),null;case 22:case 23:return Rl(e),ks(),t!==null&&V(Ja),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ml($t),null;case 25:return null;default:return null}}function Vf(t,e){switch(bs(e),e.tag){case 3:Ml($t),Pt();break;case 26:case 27:case 5:Ce(e);break;case 4:Pt();break;case 13:Rl(e);break;case 19:V(Ft);break;case 10:Ml(e.type);break;case 22:case 23:Rl(e),ks(),t!==null&&V(Ja);break;case 24:Ml($t)}}function jo(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var o=l.create,c=l.inst;a=o(),c.destroy=a}l=l.next}while(l!==n)}}catch(d){kt(e,e.return,d)}}function na(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var o=n.next;a=o;do{if((a.tag&t)===t){var c=a.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,n=e;var g=l,S=d;try{S()}catch(z){kt(n,g,z)}}}a=a.next}while(a!==o)}}catch(z){kt(e,e.return,z)}}function Zf(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{Nd(e,l)}catch(a){kt(t,t.return,a)}}}function Qf(t,e,l){l.props=$a(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){kt(t,e,a)}}function Bo(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){kt(t,e,n)}}function dl(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){kt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){kt(t,e,n)}else l.current=null}function Kf(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){kt(t,t.return,n)}}function rc(t,e,l){try{var a=t.stateNode;Z1(a,t.type,l,e),a[pe]=e}catch(n){kt(t,t.return,n)}}function Pf(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&fa(t.type)||t.tag===4}function sc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Pf(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&fa(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function cc(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=fr));else if(a!==4&&(a===27&&fa(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(cc(t,e,l),t=t.sibling;t!==null;)cc(t,e,l),t=t.sibling}function er(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&fa(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(er(t,e,l),t=t.sibling;t!==null;)er(t,e,l),t=t.sibling}function Jf(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);fe(e,a,l),e[te]=t,e[pe]=l}catch(o){kt(t,t.return,o)}}var _l=!1,Yt=!1,uc=!1,Wf=typeof WeakSet=="function"?WeakSet:Set,ne=null;function T1(t,e){if(t=t.containerInfo,Oc=br,t=id(t),ss(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{l.nodeType,o.nodeType}catch{l=null;break t}var c=0,d=-1,g=-1,S=0,z=0,O=t,E=null;e:for(;;){for(var T;O!==l||n!==0&&O.nodeType!==3||(d=c+n),O!==o||a!==0&&O.nodeType!==3||(g=c+a),O.nodeType===3&&(c+=O.nodeValue.length),(T=O.firstChild)!==null;)E=O,O=T;for(;;){if(O===t)break e;if(E===l&&++S===n&&(d=c),E===o&&++z===a&&(g=c),(T=O.nextSibling)!==null)break;O=E,E=O.parentNode}O=T}l=d===-1||g===-1?null:{start:d,end:g}}else l=null}l=l||{start:0,end:0}}else l=null;for(jc={focusedElem:t,selectionRange:l},br=!1,ne=e;ne!==null;)if(e=ne,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,ne=t;else for(;ne!==null;){switch(e=ne,o=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,l=e,n=o.memoizedProps,o=o.memoizedState,a=l.stateNode;try{var lt=$a(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(lt,o),a.__reactInternalSnapshotBeforeUpdate=t}catch(I){kt(l,l.return,I)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Hc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Hc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,ne=t;break}ne=e.return}}function $f(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:oa(t,l),a&4&&jo(5,l);break;case 1:if(oa(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(c){kt(l,l.return,c)}else{var n=$a(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(c){kt(l,l.return,c)}}a&64&&Zf(l),a&512&&Bo(l,l.return);break;case 3:if(oa(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{Nd(t,e)}catch(c){kt(l,l.return,c)}}break;case 27:e===null&&a&4&&Jf(l);case 26:case 5:oa(t,l),e===null&&a&4&&Kf(l),a&512&&Bo(l,l.return);break;case 12:oa(t,l);break;case 13:oa(t,l),a&4&&th(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=O1.bind(null,l),F1(t,l))));break;case 22:if(a=l.memoizedState!==null||_l,!a){e=e!==null&&e.memoizedState!==null||Yt,n=_l;var o=Yt;_l=a,(Yt=e)&&!o?ia(t,l,(l.subtreeFlags&8772)!==0):oa(t,l),_l=n,Yt=o}break;case 30:break;default:oa(t,l)}}function Ff(t){var e=t.alternate;e!==null&&(t.alternate=null,Ff(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&no(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Lt=null,De=!1;function kl(t,e,l){for(l=l.child;l!==null;)If(t,e,l),l=l.sibling}function If(t,e,l){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(ql,l)}catch{}switch(l.tag){case 26:Yt||dl(l,e),kl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Yt||dl(l,e);var a=Lt,n=De;fa(l.type)&&(Lt=l.stateNode,De=!1),kl(t,e,l),Zo(l.stateNode),Lt=a,De=n;break;case 5:Yt||dl(l,e);case 6:if(a=Lt,n=De,Lt=null,kl(t,e,l),Lt=a,De=n,Lt!==null)if(De)try{(Lt.nodeType===9?Lt.body:Lt.nodeName==="HTML"?Lt.ownerDocument.body:Lt).removeChild(l.stateNode)}catch(o){kt(l,e,o)}else try{Lt.removeChild(l.stateNode)}catch(o){kt(l,e,o)}break;case 18:Lt!==null&&(De?(t=Lt,Gh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Io(t)):Gh(Lt,l.stateNode));break;case 4:a=Lt,n=De,Lt=l.stateNode.containerInfo,De=!0,kl(t,e,l),Lt=a,De=n;break;case 0:case 11:case 14:case 15:Yt||na(2,l,e),Yt||na(4,l,e),kl(t,e,l);break;case 1:Yt||(dl(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Qf(l,e,a)),kl(t,e,l);break;case 21:kl(t,e,l);break;case 22:Yt=(a=Yt)||l.memoizedState!==null,kl(t,e,l),Yt=a;break;default:kl(t,e,l)}}function th(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Io(t)}catch(l){kt(e,e.return,l)}}function D1(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Wf),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Wf),e;default:throw Error(s(435,t.tag))}}function dc(t,e){var l=D1(t);e.forEach(function(a){var n=j1.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function Ne(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],o=t,c=e,d=c;t:for(;d!==null;){switch(d.tag){case 27:if(fa(d.type)){Lt=d.stateNode,De=!1;break t}break;case 5:Lt=d.stateNode,De=!1;break t;case 3:case 4:Lt=d.stateNode.containerInfo,De=!0;break t}d=d.return}if(Lt===null)throw Error(s(160));If(o,c,n),Lt=null,De=!1,o=n.alternate,o!==null&&(o.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)eh(e,t),e=e.sibling}var el=null;function eh(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ne(e,t),_e(t),a&4&&(na(3,t,t.return),jo(3,t),na(5,t,t.return));break;case 1:Ne(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),a&64&&_l&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=el;if(Ne(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),a&4){var o=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":o=n.getElementsByTagName("title")[0],(!o||o[Da]||o[te]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=n.createElement(a),n.head.insertBefore(o,n.querySelector("head > title"))),fe(o,a,l),o[te]=t,Xt(o),a=o;break t;case"link":var c=Jh("link","href",n).get(a+(l.href||""));if(c){for(var d=0;d<c.length;d++)if(o=c[d],o.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&o.getAttribute("rel")===(l.rel==null?null:l.rel)&&o.getAttribute("title")===(l.title==null?null:l.title)&&o.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(d,1);break e}}o=n.createElement(a),fe(o,a,l),n.head.appendChild(o);break;case"meta":if(c=Jh("meta","content",n).get(a+(l.content||""))){for(d=0;d<c.length;d++)if(o=c[d],o.getAttribute("content")===(l.content==null?null:""+l.content)&&o.getAttribute("name")===(l.name==null?null:l.name)&&o.getAttribute("property")===(l.property==null?null:l.property)&&o.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&o.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(d,1);break e}}o=n.createElement(a),fe(o,a,l),n.head.appendChild(o);break;default:throw Error(s(468,a))}o[te]=t,Xt(o),a=o}t.stateNode=a}else Wh(n,t.type,t.stateNode);else t.stateNode=Ph(n,a,t.memoizedProps);else o!==a?(o===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):o.count--,a===null?Wh(n,t.type,t.stateNode):Ph(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&rc(t,t.memoizedProps,l.memoizedProps)}break;case 27:Ne(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),l!==null&&a&4&&rc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Ne(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),t.flags&32){n=t.stateNode;try{Fe(n,"")}catch(T){kt(t,t.return,T)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,rc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(uc=!0);break;case 6:if(Ne(e,t),_e(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(T){kt(t,t.return,T)}}break;case 3:if(pr=null,n=el,el=mr(e.containerInfo),Ne(e,t),el=n,_e(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Io(e.containerInfo)}catch(T){kt(t,t.return,T)}uc&&(uc=!1,lh(t));break;case 4:a=el,el=mr(t.stateNode.containerInfo),Ne(e,t),_e(t),el=a;break;case 12:Ne(e,t),_e(t);break;case 13:Ne(e,t),_e(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(yc=ge()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,dc(t,a)));break;case 22:n=t.memoizedState!==null;var g=l!==null&&l.memoizedState!==null,S=_l,z=Yt;if(_l=S||n,Yt=z||g,Ne(e,t),Yt=z,_l=S,_e(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||g||_l||Yt||Fa(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){g=l=e;try{if(o=g.stateNode,n)c=o.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{d=g.stateNode;var O=g.memoizedProps.style,E=O!=null&&O.hasOwnProperty("display")?O.display:null;d.style.display=E==null||typeof E=="boolean"?"":(""+E).trim()}}catch(T){kt(g,g.return,T)}}}else if(e.tag===6){if(l===null){g=e;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(T){kt(g,g.return,T)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,dc(t,l))));break;case 19:Ne(e,t),_e(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,dc(t,a)));break;case 30:break;case 21:break;default:Ne(e,t),_e(t)}}function _e(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Pf(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,o=sc(t);er(t,o,n);break;case 5:var c=l.stateNode;l.flags&32&&(Fe(c,""),l.flags&=-33);var d=sc(t);er(t,d,c);break;case 3:case 4:var g=l.stateNode.containerInfo,S=sc(t);cc(t,S,g);break;default:throw Error(s(161))}}catch(z){kt(t,t.return,z)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function lh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;lh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function oa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)$f(t,e.alternate,e),e=e.sibling}function Fa(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:na(4,e,e.return),Fa(e);break;case 1:dl(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Qf(e,e.return,l),Fa(e);break;case 27:Zo(e.stateNode);case 26:case 5:dl(e,e.return),Fa(e);break;case 22:e.memoizedState===null&&Fa(e);break;case 30:Fa(e);break;default:Fa(e)}t=t.sibling}}function ia(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,o=e,c=o.flags;switch(o.tag){case 0:case 11:case 15:ia(n,o,l),jo(4,o);break;case 1:if(ia(n,o,l),a=o,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(S){kt(a,a.return,S)}if(a=o,n=a.updateQueue,n!==null){var d=a.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)zd(g[n],d)}catch(S){kt(a,a.return,S)}}l&&c&64&&Zf(o),Bo(o,o.return);break;case 27:Jf(o);case 26:case 5:ia(n,o,l),l&&a===null&&c&4&&Kf(o),Bo(o,o.return);break;case 12:ia(n,o,l);break;case 13:ia(n,o,l),l&&c&4&&th(n,o);break;case 22:o.memoizedState===null&&ia(n,o,l),Bo(o,o.return);break;case 30:break;default:ia(n,o,l)}e=e.sibling}}function fc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&wo(l))}function hc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wo(t))}function fl(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ah(t,e,l,a),e=e.sibling}function ah(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:fl(t,e,l,a),n&2048&&jo(9,e);break;case 1:fl(t,e,l,a);break;case 3:fl(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&wo(t)));break;case 12:if(n&2048){fl(t,e,l,a),t=e.stateNode;try{var o=e.memoizedProps,c=o.id,d=o.onPostCommit;typeof d=="function"&&d(c,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(g){kt(e,e.return,g)}}else fl(t,e,l,a);break;case 13:fl(t,e,l,a);break;case 23:break;case 22:o=e.stateNode,c=e.alternate,e.memoizedState!==null?o._visibility&2?fl(t,e,l,a):Lo(t,e):o._visibility&2?fl(t,e,l,a):(o._visibility|=2,kn(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&fc(c,e);break;case 24:fl(t,e,l,a),n&2048&&hc(e.alternate,e);break;default:fl(t,e,l,a)}}function kn(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var o=t,c=e,d=l,g=a,S=c.flags;switch(c.tag){case 0:case 11:case 15:kn(o,c,d,g,n),jo(8,c);break;case 23:break;case 22:var z=c.stateNode;c.memoizedState!==null?z._visibility&2?kn(o,c,d,g,n):Lo(o,c):(z._visibility|=2,kn(o,c,d,g,n)),n&&S&2048&&fc(c.alternate,c);break;case 24:kn(o,c,d,g,n),n&&S&2048&&hc(c.alternate,c);break;default:kn(o,c,d,g,n)}e=e.sibling}}function Lo(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Lo(l,a),n&2048&&fc(a.alternate,a);break;case 24:Lo(l,a),n&2048&&hc(a.alternate,a);break;default:Lo(l,a)}e=e.sibling}}var Ho=8192;function On(t){if(t.subtreeFlags&Ho)for(t=t.child;t!==null;)nh(t),t=t.sibling}function nh(t){switch(t.tag){case 26:On(t),t.flags&Ho&&t.memoizedState!==null&&dp(el,t.memoizedState,t.memoizedProps);break;case 5:On(t);break;case 3:case 4:var e=el;el=mr(t.stateNode.containerInfo),On(t),el=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Ho,Ho=16777216,On(t),Ho=e):On(t));break;default:On(t)}}function oh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Uo(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];ne=a,rh(a,t)}oh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ih(t),t=t.sibling}function ih(t){switch(t.tag){case 0:case 11:case 15:Uo(t),t.flags&2048&&na(9,t,t.return);break;case 3:Uo(t);break;case 12:Uo(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,lr(t)):Uo(t);break;default:Uo(t)}}function lr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];ne=a,rh(a,t)}oh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:na(8,e,e.return),lr(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,lr(e));break;default:lr(e)}t=t.sibling}}function rh(t,e){for(;ne!==null;){var l=ne;switch(l.tag){case 0:case 11:case 15:na(8,l,e);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:wo(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,ne=a;else t:for(l=t;ne!==null;){a=ne;var n=a.sibling,o=a.return;if(Ff(a),a===l){ne=null;break t}if(n!==null){n.return=o,ne=n;break t}ne=o}}}var M1={getCacheForType:function(t){var e=ye($t),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},A1=typeof WeakMap=="function"?WeakMap:Map,At=0,jt=null,yt=null,wt=0,Rt=0,ke=null,ra=!1,jn=!1,mc=!1,Ol=0,qt=0,sa=0,Ia=0,gc=0,Ze=0,Bn=0,qo=null,Me=null,pc=!1,yc=0,ar=1/0,nr=null,ca=null,de=0,ua=null,Ln=null,Hn=0,vc=0,bc=null,sh=null,Go=0,xc=null;function Oe(){if((At&2)!==0&&wt!==0)return wt&-wt;if(A.T!==null){var t=Tn;return t!==0?t:Mc()}return gi()}function ch(){Ze===0&&(Ze=(wt&536870912)===0||Et?In():536870912);var t=Ve.current;return t!==null&&(t.flags|=32),Ze}function je(t,e,l){(t===jt&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)&&(Un(t,0),da(t,wt,Ze,!1)),Ta(t,l),((At&2)===0||t!==jt)&&(t===jt&&((At&2)===0&&(Ia|=l),qt===4&&da(t,wt,Ze,!1)),hl(t))}function uh(t,e,l){if((At&6)!==0)throw Error(s(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Dt(t,e),n=a?N1(t,e):Cc(t,e,!0),o=a;do{if(n===0){jn&&!a&&da(t,e,0,!1);break}else{if(l=t.current.alternate,o&&!R1(l)){n=Cc(t,e,!1),o=!1;continue}if(n===2){if(o=e,t.errorRecoveryDisabledLanes&o)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;t:{var d=t;n=qo;var g=d.current.memoizedState.isDehydrated;if(g&&(Un(d,c).flags|=256),c=Cc(d,c,!1),c!==2){if(mc&&!g){d.errorRecoveryDisabledLanes|=o,Ia|=o,n=4;break t}o=Me,Me=n,o!==null&&(Me===null?Me=o:Me.push.apply(Me,o))}n=c}if(o=!1,n!==2)continue}}if(n===1){Un(t,0),da(t,e,0,!0);break}t:{switch(a=t,o=n,o){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:da(a,e,Ze,!ra);break t;case 2:Me=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=yc+300-ge(),10<n)){if(da(a,e,Ze,!ra),cn(a,0,!0)!==0)break t;a.timeoutHandle=Uh(dh.bind(null,a,l,Me,nr,pc,e,Ze,Ia,Bn,ra,o,2,-0,0),n);break t}dh(a,l,Me,nr,pc,e,Ze,Ia,Bn,ra,o,0,-0,0)}}break}while(!0);hl(t)}function dh(t,e,l,a,n,o,c,d,g,S,z,O,E,T){if(t.timeoutHandle=-1,O=e.subtreeFlags,(O&8192||(O&16785408)===16785408)&&(Po={stylesheets:null,count:0,unsuspend:up},nh(e),O=fp(),O!==null)){t.cancelPendingCommit=O(vh.bind(null,t,e,o,l,a,n,c,d,g,z,1,E,T)),da(t,o,c,!S);return}vh(t,e,o,l,a,n,c,d,g)}function R1(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],o=n.getSnapshot;n=n.value;try{if(!Re(o(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function da(t,e,l,a){e&=~gc,e&=~Ia,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var o=31-Wt(n),c=1<<o;a[o]=-1,n&=~c}l!==0&&hi(t,l,e)}function or(){return(At&6)===0?(Yo(0),!1):!0}function wc(){if(yt!==null){if(Rt===0)var t=yt.return;else t=yt,Dl=Ka=null,Hs(t),Nn=null,_o=0,t=yt;for(;t!==null;)Vf(t.alternate,t),t=t.return;yt=null}}function Un(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,K1(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),wc(),jt=t,yt=l=Cl(t.current,null),wt=e,Rt=0,ke=null,ra=!1,jn=Dt(t,e),mc=!1,Bn=Ze=gc=Ia=sa=qt=0,Me=qo=null,pc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-Wt(a),o=1<<n;e|=t[n],a&=~o}return Ol=e,Mi(),l}function fh(t,e){mt=null,A.H=Qi,e===Co||e===Bi?(e=Ad(),Rt=3):e===Td?(e=Ad(),Rt=4):Rt=e===zf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ke=e,yt===null&&(qt=1,$i(t,qe(e,t.current)))}function hh(){var t=A.H;return A.H=Qi,t===null?Qi:t}function mh(){var t=A.A;return A.A=M1,t}function Sc(){qt=4,ra||(wt&4194048)!==wt&&Ve.current!==null||(jn=!0),(sa&134217727)===0&&(Ia&134217727)===0||jt===null||da(jt,wt,Ze,!1)}function Cc(t,e,l){var a=At;At|=2;var n=hh(),o=mh();(jt!==t||wt!==e)&&(nr=null,Un(t,e)),e=!1;var c=qt;t:do try{if(Rt!==0&&yt!==null){var d=yt,g=ke;switch(Rt){case 8:wc(),c=6;break t;case 3:case 2:case 9:case 6:Ve.current===null&&(e=!0);var S=Rt;if(Rt=0,ke=null,qn(t,d,g,S),l&&jn){c=0;break t}break;default:S=Rt,Rt=0,ke=null,qn(t,d,g,S)}}z1(),c=qt;break}catch(z){fh(t,z)}while(!0);return e&&t.shellSuspendCounter++,Dl=Ka=null,At=a,A.H=n,A.A=o,yt===null&&(jt=null,wt=0,Mi()),c}function z1(){for(;yt!==null;)gh(yt)}function N1(t,e){var l=At;At|=2;var a=hh(),n=mh();jt!==t||wt!==e?(nr=null,ar=ge()+500,Un(t,e)):jn=Dt(t,e);t:do try{if(Rt!==0&&yt!==null){e=yt;var o=ke;e:switch(Rt){case 1:Rt=0,ke=null,qn(t,e,o,1);break;case 2:case 9:if(Dd(o)){Rt=0,ke=null,ph(e);break}e=function(){Rt!==2&&Rt!==9||jt!==t||(Rt=7),hl(t)},o.then(e,e);break t;case 3:Rt=7;break t;case 4:Rt=5;break t;case 7:Dd(o)?(Rt=0,ke=null,ph(e)):(Rt=0,ke=null,qn(t,e,o,7));break;case 5:var c=null;switch(yt.tag){case 26:c=yt.memoizedState;case 5:case 27:var d=yt;if(!c||$h(c)){Rt=0,ke=null;var g=d.sibling;if(g!==null)yt=g;else{var S=d.return;S!==null?(yt=S,ir(S)):yt=null}break e}}Rt=0,ke=null,qn(t,e,o,5);break;case 6:Rt=0,ke=null,qn(t,e,o,6);break;case 8:wc(),qt=6;break t;default:throw Error(s(462))}}_1();break}catch(z){fh(t,z)}while(!0);return Dl=Ka=null,A.H=a,A.A=n,At=l,yt!==null?0:(jt=null,wt=0,Mi(),qt)}function _1(){for(;yt!==null&&!Sa();)gh(yt)}function gh(t){var e=Yf(t.alternate,t,Ol);t.memoizedProps=t.pendingProps,e===null?ir(t):yt=e}function ph(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Bf(l,e,e.pendingProps,e.type,void 0,wt);break;case 11:e=Bf(l,e,e.pendingProps,e.type.render,e.ref,wt);break;case 5:Hs(e);default:Vf(l,e),e=yt=pd(e,Ol),e=Yf(l,e,Ol)}t.memoizedProps=t.pendingProps,e===null?ir(t):yt=e}function qn(t,e,l,a){Dl=Ka=null,Hs(e),Nn=null,_o=0;var n=e.return;try{if(w1(t,n,e,l,wt)){qt=1,$i(t,qe(l,t.current)),yt=null;return}}catch(o){if(n!==null)throw yt=n,o;qt=1,$i(t,qe(l,t.current)),yt=null;return}e.flags&32768?(Et||a===1?t=!0:jn||(wt&536870912)!==0?t=!1:(ra=t=!0,(a===2||a===9||a===3||a===6)&&(a=Ve.current,a!==null&&a.tag===13&&(a.flags|=16384))),yh(e,t)):ir(e)}function ir(t){var e=t;do{if((e.flags&32768)!==0){yh(e,ra);return}t=e.return;var l=C1(e.alternate,e,Ol);if(l!==null){yt=l;return}if(e=e.sibling,e!==null){yt=e;return}yt=e=t}while(e!==null);qt===0&&(qt=5)}function yh(t,e){do{var l=E1(t.alternate,t);if(l!==null){l.flags&=32767,yt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){yt=t;return}yt=t=l}while(t!==null);qt=6,yt=null}function vh(t,e,l,a,n,o,c,d,g){t.cancelPendingCommit=null;do rr();while(de!==0);if((At&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(o=e.lanes|e.childLanes,o|=hs,Fr(t,l,o,c,d,g),t===jt&&(yt=jt=null,wt=0),Ln=e,ua=t,Hn=l,vc=o,bc=n,sh=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,B1(nl,function(){return Ch(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,n=G.p,G.p=2,c=At,At|=4;try{T1(t,e,l)}finally{At=c,G.p=n,A.T=a}}de=1,bh(),xh(),wh()}}function bh(){if(de===1){de=0;var t=ua,e=Ln,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=A.T,A.T=null;var a=G.p;G.p=2;var n=At;At|=4;try{eh(e,t);var o=jc,c=id(t.containerInfo),d=o.focusedElem,g=o.selectionRange;if(c!==d&&d&&d.ownerDocument&&od(d.ownerDocument.documentElement,d)){if(g!==null&&ss(d)){var S=g.start,z=g.end;if(z===void 0&&(z=S),"selectionStart"in d)d.selectionStart=S,d.selectionEnd=Math.min(z,d.value.length);else{var O=d.ownerDocument||document,E=O&&O.defaultView||window;if(E.getSelection){var T=E.getSelection(),lt=d.textContent.length,I=Math.min(g.start,lt),_t=g.end===void 0?I:Math.min(g.end,lt);!T.extend&&I>_t&&(c=_t,_t=I,I=c);var b=nd(d,I),y=nd(d,_t);if(b&&y&&(T.rangeCount!==1||T.anchorNode!==b.node||T.anchorOffset!==b.offset||T.focusNode!==y.node||T.focusOffset!==y.offset)){var w=O.createRange();w.setStart(b.node,b.offset),T.removeAllRanges(),I>_t?(T.addRange(w),T.extend(y.node,y.offset)):(w.setEnd(y.node,y.offset),T.addRange(w))}}}}for(O=[],T=d;T=T.parentNode;)T.nodeType===1&&O.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<O.length;d++){var _=O[d];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}br=!!Oc,jc=Oc=null}finally{At=n,G.p=a,A.T=l}}t.current=e,de=2}}function xh(){if(de===2){de=0;var t=ua,e=Ln,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=A.T,A.T=null;var a=G.p;G.p=2;var n=At;At|=4;try{$f(t,e.alternate,e)}finally{At=n,G.p=a,A.T=l}}de=3}}function wh(){if(de===4||de===3){de=0,ii();var t=ua,e=Ln,l=Hn,a=sh;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?de=5:(de=0,Ln=ua=null,Sh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(ca=null),lo(l),e=e.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(ql,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=A.T,n=G.p,G.p=2,A.T=null;try{for(var o=t.onRecoverableError,c=0;c<a.length;c++){var d=a[c];o(d.value,{componentStack:d.stack})}}finally{A.T=e,G.p=n}}(Hn&3)!==0&&rr(),hl(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===xc?Go++:(Go=0,xc=t):Go=0,Yo(0)}}function Sh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,wo(e)))}function rr(t){return bh(),xh(),wh(),Ch()}function Ch(){if(de!==5)return!1;var t=ua,e=vc;vc=0;var l=lo(Hn),a=A.T,n=G.p;try{G.p=32>l?32:l,A.T=null,l=bc,bc=null;var o=ua,c=Hn;if(de=0,Ln=ua=null,Hn=0,(At&6)!==0)throw Error(s(331));var d=At;if(At|=4,ih(o.current),ah(o,o.current,c,l),At=d,Yo(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(ql,o)}catch{}return!0}finally{G.p=n,A.T=a,Sh(t,e)}}function Eh(t,e,l){e=qe(l,e),e=Fs(t.stateNode,e,2),t=ta(t,e,2),t!==null&&(Ta(t,2),hl(t))}function kt(t,e,l){if(t.tag===3)Eh(t,t,l);else for(;e!==null;){if(e.tag===3){Eh(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ca===null||!ca.has(a))){t=qe(l,t),l=Af(2),a=ta(e,l,2),a!==null&&(Rf(l,a,e,t),Ta(a,2),hl(a));break}}e=e.return}}function Ec(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new A1;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(mc=!0,n.add(l),t=k1.bind(null,t,e,l),e.then(t,t))}function k1(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,jt===t&&(wt&l)===l&&(qt===4||qt===3&&(wt&62914560)===wt&&300>ge()-yc?(At&2)===0&&Un(t,0):gc|=l,Bn===wt&&(Bn=0)),hl(t)}function Th(t,e){e===0&&(e=fi()),t=wn(t,e),t!==null&&(Ta(t,e),hl(t))}function O1(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Th(t,l)}function j1(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(e),Th(t,l)}function B1(t,e){return pl(t,e)}var sr=null,Gn=null,Tc=!1,cr=!1,Dc=!1,tn=0;function hl(t){t!==Gn&&t.next===null&&(Gn===null?sr=Gn=t:Gn=Gn.next=t),cr=!0,Tc||(Tc=!0,H1())}function Yo(t,e){if(!Dc&&cr){Dc=!0;do for(var l=!1,a=sr;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var o=0;else{var c=a.suspendedLanes,d=a.pingedLanes;o=(1<<31-Wt(42|t)+1)-1,o&=n&~(c&~d),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(l=!0,Rh(a,o))}else o=wt,o=cn(a,a===jt?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(o&3)===0||Dt(a,o)||(l=!0,Rh(a,o));a=a.next}while(l);Dc=!1}}function L1(){Dh()}function Dh(){cr=Tc=!1;var t=0;tn!==0&&(Q1()&&(t=tn),tn=0);for(var e=ge(),l=null,a=sr;a!==null;){var n=a.next,o=Mh(a,e);o===0?(a.next=null,l===null?sr=n:l.next=n,n===null&&(Gn=l)):(l=a,(t!==0||(o&3)!==0)&&(cr=!0)),a=n}Yo(t)}function Mh(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var c=31-Wt(o),d=1<<c,g=n[c];g===-1?((d&l)===0||(d&a)!==0)&&(n[c]=Fn(d,e)):g<=e&&(t.expiredLanes|=d),o&=~d}if(e=jt,l=wt,l=cn(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&rn(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Dt(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&rn(a),lo(l)){case 2:case 8:l=$n;break;case 32:l=nl;break;case 268435456:l=Ul;break;default:l=nl}return a=Ah.bind(null,t),l=pl(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&rn(a),t.callbackPriority=2,t.callbackNode=null,2}function Ah(t,e){if(de!==0&&de!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(rr()&&t.callbackNode!==l)return null;var a=wt;return a=cn(t,t===jt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(uh(t,a,e),Mh(t,ge()),t.callbackNode!=null&&t.callbackNode===l?Ah.bind(null,t):null)}function Rh(t,e){if(rr())return null;uh(t,e,!0)}function H1(){P1(function(){(At&6)!==0?pl(Hl,L1):Dh()})}function Mc(){return tn===0&&(tn=In()),tn}function zh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:ja(""+t)}function Nh(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function U1(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var o=zh((n[pe]||null).action),c=a.submitter;c&&(e=(e=c[pe]||null)?zh(e.formAction):c.getAttribute("formAction"),e!==null&&(o=e,c=null));var d=new Ua("action","action",null,a,n);t.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(tn!==0){var g=c?Nh(n,c):new FormData(n);Ks(l,{pending:!0,data:g,method:n.method,action:o},null,g)}}else typeof o=="function"&&(d.preventDefault(),g=c?Nh(n,c):new FormData(n),Ks(l,{pending:!0,data:g,method:n.method,action:o},o,g))},currentTarget:n}]})}}for(var Ac=0;Ac<fs.length;Ac++){var Rc=fs[Ac],q1=Rc.toLowerCase(),G1=Rc[0].toUpperCase()+Rc.slice(1);tl(q1,"on"+G1)}tl(cd,"onAnimationEnd"),tl(ud,"onAnimationIteration"),tl(dd,"onAnimationStart"),tl("dblclick","onDoubleClick"),tl("focusin","onFocus"),tl("focusout","onBlur"),tl(n1,"onTransitionRun"),tl(o1,"onTransitionStart"),tl(i1,"onTransitionCancel"),tl(fd,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),vl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vl("onBeforeInput",["compositionend","keypress","textInput","paste"]),vl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xo="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(" "),Y1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xo));function _h(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var o=void 0;if(e)for(var c=a.length-1;0<=c;c--){var d=a[c],g=d.instance,S=d.currentTarget;if(d=d.listener,g!==o&&n.isPropagationStopped())break t;o=d,n.currentTarget=S;try{o(n)}catch(z){Wi(z)}n.currentTarget=null,o=g}else for(c=0;c<a.length;c++){if(d=a[c],g=d.instance,S=d.currentTarget,d=d.listener,g!==o&&n.isPropagationStopped())break t;o=d,n.currentTarget=S;try{o(n)}catch(z){Wi(z)}n.currentTarget=null,o=g}}}}function vt(t,e){var l=e[ao];l===void 0&&(l=e[ao]=new Set);var a=t+"__bubble";l.has(a)||(kh(e,t,2,!1),l.add(a))}function zc(t,e,l){var a=0;e&&(a|=4),kh(l,t,a,e)}var ur="_reactListening"+Math.random().toString(36).slice(2);function Nc(t){if(!t[ur]){t[ur]=!0,yi.forEach(function(l){l!=="selectionchange"&&(Y1.has(l)||zc(l,!1,t),zc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ur]||(e[ur]=!0,zc("selectionchange",!1,e))}}function kh(t,e,l,a){switch(am(e)){case 2:var n=gp;break;case 8:n=pp;break;default:n=Zc}l=n.bind(null,e,l,t),n=void 0,!gn||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function _c(t,e,l,a,n){var o=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===n)break;if(c===4)for(c=a.return;c!==null;){var g=c.tag;if((g===3||g===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;d!==null;){if(c=Yl(d),c===null)return;if(g=c.tag,g===5||g===6||g===26||g===27){a=o=c;continue t}d=d.parentNode}}a=a.return}io(function(){var S=o,z=hn(l),O=[];t:{var E=hd.get(t);if(E!==void 0){var T=Ua,lt=t;switch(t){case"keypress":if(La(l)===0)break t;case"keydown":case"keyup":T=B0;break;case"focusin":lt="focus",T=as;break;case"focusout":lt="blur",T=as;break;case"beforeblur":case"afterblur":T=as;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Yu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=E0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=U0;break;case cd:case ud:case dd:T=M0;break;case fd:T=G0;break;case"scroll":case"scrollend":T=Ci;break;case"wheel":T=X0;break;case"copy":case"cut":case"paste":T=R0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Vu;break;case"toggle":case"beforetoggle":T=Z0}var I=(e&4)!==0,_t=!I&&(t==="scroll"||t==="scrollend"),b=I?E!==null?E+"Capture":null:E;I=[];for(var y=S,w;y!==null;){var _=y;if(w=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||w===null||b===null||(_=Pl(y,b),_!=null&&I.push(Vo(y,_,w))),_t)break;y=y.return}0<I.length&&(E=new T(E,lt,null,l,z),O.push({event:E,listeners:I}))}}if((e&7)===0){t:{if(E=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout",E&&l!==fn&&(lt=l.relatedTarget||l.fromElement)&&(Yl(lt)||lt[Gl]))break t;if((T||E)&&(E=z.window===z?z:(E=z.ownerDocument)?E.defaultView||E.parentWindow:window,T?(lt=l.relatedTarget||l.toElement,T=S,lt=lt?Yl(lt):null,lt!==null&&(_t=m(lt),I=lt.tag,lt!==_t||I!==5&&I!==27&&I!==6)&&(lt=null)):(T=null,lt=S),T!==lt)){if(I=Yu,_="onMouseLeave",b="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(I=Vu,_="onPointerLeave",b="onPointerEnter",y="pointer"),_t=T==null?E:Ma(T),w=lt==null?E:Ma(lt),E=new I(_,y+"leave",T,l,z),E.target=_t,E.relatedTarget=w,_=null,Yl(z)===S&&(I=new I(b,y+"enter",lt,l,z),I.target=w,I.relatedTarget=_t,_=I),_t=_,T&<)e:{for(I=T,b=lt,y=0,w=I;w;w=Yn(w))y++;for(w=0,_=b;_;_=Yn(_))w++;for(;0<y-w;)I=Yn(I),y--;for(;0<w-y;)b=Yn(b),w--;for(;y--;){if(I===b||b!==null&&I===b.alternate)break e;I=Yn(I),b=Yn(b)}I=null}else I=null;T!==null&&Oh(O,E,T,I,!1),lt!==null&&_t!==null&&Oh(O,_t,lt,I,!0)}}t:{if(E=S?Ma(S):window,T=E.nodeName&&E.nodeName.toLowerCase(),T==="select"||T==="input"&&E.type==="file")var P=Fu;else if(Wu(E))if(Iu)P=e1;else{P=I0;var pt=F0}else T=E.nodeName,!T||T.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?S&&Oa(S.elementType)&&(P=Fu):P=t1;if(P&&(P=P(t,S))){$u(O,P,l,z);break t}pt&&pt(t,E,S),t==="focusout"&&S&&E.type==="number"&&S.memoizedProps.value!=null&&Kl(E,"number",E.value)}switch(pt=S?Ma(S):window,t){case"focusin":(Wu(pt)||pt.contentEditable==="true")&&(vn=pt,cs=S,po=null);break;case"focusout":po=cs=vn=null;break;case"mousedown":us=!0;break;case"contextmenu":case"mouseup":case"dragend":us=!1,rd(O,l,z);break;case"selectionchange":if(a1)break;case"keydown":case"keyup":rd(O,l,z)}var W;if(os)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else yn?Pu(t,l)&&(et="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(et="onCompositionStart");et&&(Zu&&l.locale!=="ko"&&(yn||et!=="onCompositionStart"?et==="onCompositionEnd"&&yn&&(W=ro()):(Ie=z,pn="value"in Ie?Ie.value:Ie.textContent,yn=!0)),pt=dr(S,et),0<pt.length&&(et=new Xu(et,t,null,l,z),O.push({event:et,listeners:pt}),W?et.data=W:(W=Ju(l),W!==null&&(et.data=W)))),(W=K0?P0(t,l):J0(t,l))&&(et=dr(S,"onBeforeInput"),0<et.length&&(pt=new Xu("onBeforeInput","beforeinput",null,l,z),O.push({event:pt,listeners:et}),pt.data=W)),U1(O,t,S,l,z)}_h(O,e)})}function Vo(t,e,l){return{instance:t,listener:e,currentTarget:l}}function dr(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,o=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||o===null||(n=Pl(t,l),n!=null&&a.unshift(Vo(t,n,o)),n=Pl(t,e),n!=null&&a.push(Vo(t,n,o))),t.tag===3)return a;t=t.return}return[]}function Yn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Oh(t,e,l,a,n){for(var o=e._reactName,c=[];l!==null&&l!==a;){var d=l,g=d.alternate,S=d.stateNode;if(d=d.tag,g!==null&&g===a)break;d!==5&&d!==26&&d!==27||S===null||(g=S,n?(S=Pl(l,o),S!=null&&c.unshift(Vo(l,S,g))):n||(S=Pl(l,o),S!=null&&c.push(Vo(l,S,g)))),l=l.return}c.length!==0&&t.push({event:e,listeners:c})}var X1=/\r\n?/g,V1=/\u0000|\uFFFD/g;function jh(t){return(typeof t=="string"?t:""+t).replace(X1,`
`).replace(V1,"")}function Bh(t,e){return e=jh(e),jh(t)===e}function fr(){}function Nt(t,e,l,a,n,o){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Fe(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Fe(t,""+a);break;case"className":nt(t,"class",a);break;case"tabIndex":nt(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":nt(t,l,a);break;case"style":ka(t,a,o);break;case"data":if(e!=="object"){nt(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=ja(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(l==="formAction"?(e!=="input"&&Nt(t,e,"name",n.name,n,null),Nt(t,e,"formEncType",n.formEncType,n,null),Nt(t,e,"formMethod",n.formMethod,n,null),Nt(t,e,"formTarget",n.formTarget,n,null)):(Nt(t,e,"encType",n.encType,n,null),Nt(t,e,"method",n.method,n,null),Nt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=ja(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=fr);break;case"onScroll":a!=null&&vt("scroll",t);break;case"onScrollEnd":a!=null&&vt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}l=ja(""+a),t.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"?t.setAttribute(l,""+a):t.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"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":vt("beforetoggle",t),vt("toggle",t),M(t,"popover",a);break;case"xlinkActuate":Ot(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ot(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ot(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ot(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ot(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ot(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":M(t,"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=wi.get(l)||l,M(t,l,a))}}function kc(t,e,l,a,n,o){switch(l){case"style":ka(t,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Fe(t,a):(typeof a=="number"||typeof a=="bigint")&&Fe(t,""+a);break;case"onScroll":a!=null&&vt("scroll",t);break;case"onScrollEnd":a!=null&&vt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=fr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vi.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),o=t[pe]||null,o=o!=null?o[l]:null,typeof o=="function"&&t.removeEventListener(e,o,n),typeof a=="function")){typeof o!="function"&&o!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):M(t,l,a)}}}function fe(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":vt("error",t),vt("load",t);var a=!1,n=!1,o;for(o in l)if(l.hasOwnProperty(o)){var c=l[o];if(c!=null)switch(o){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Nt(t,e,o,c,l,null)}}n&&Nt(t,e,"srcSet",l.srcSet,l,null),a&&Nt(t,e,"src",l.src,l,null);return;case"input":vt("invalid",t);var d=o=c=n=null,g=null,S=null;for(a in l)if(l.hasOwnProperty(a)){var z=l[a];if(z!=null)switch(a){case"name":n=z;break;case"type":c=z;break;case"checked":g=z;break;case"defaultChecked":S=z;break;case"value":o=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(s(137,e));break;default:Nt(t,e,a,z,l,null)}}Ra(t,o,d,g,S,c,n,!1),re(t);return;case"select":vt("invalid",t),a=c=o=null;for(n in l)if(l.hasOwnProperty(n)&&(d=l[n],d!=null))switch(n){case"value":o=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:Nt(t,e,n,d,l,null)}e=o,l=c,t.multiple=!!a,e!=null?$e(t,!!a,e,!1):l!=null&&$e(t,!!a,l,!0);return;case"textarea":vt("invalid",t),o=n=a=null;for(c in l)if(l.hasOwnProperty(c)&&(d=l[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":n=d;break;case"children":o=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(s(91));break;default:Nt(t,e,c,d,l,null)}Na(t,a,n,o),re(t);return;case"option":for(g in l)if(l.hasOwnProperty(g)&&(a=l[g],a!=null))switch(g){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Nt(t,e,g,a,l,null)}return;case"dialog":vt("beforetoggle",t),vt("toggle",t),vt("cancel",t),vt("close",t);break;case"iframe":case"object":vt("load",t);break;case"video":case"audio":for(a=0;a<Xo.length;a++)vt(Xo[a],t);break;case"image":vt("error",t),vt("load",t);break;case"details":vt("toggle",t);break;case"embed":case"source":case"link":vt("error",t),vt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in l)if(l.hasOwnProperty(S)&&(a=l[S],a!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:Nt(t,e,S,a,l,null)}return;default:if(Oa(e)){for(z in l)l.hasOwnProperty(z)&&(a=l[z],a!==void 0&&kc(t,e,z,a,l,void 0));return}}for(d in l)l.hasOwnProperty(d)&&(a=l[d],a!=null&&Nt(t,e,d,a,l,null))}function Z1(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,o=null,c=null,d=null,g=null,S=null,z=null;for(T in l){var O=l[T];if(l.hasOwnProperty(T)&&O!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":g=O;default:a.hasOwnProperty(T)||Nt(t,e,T,null,a,O)}}for(var E in a){var T=a[E];if(O=l[E],a.hasOwnProperty(E)&&(T!=null||O!=null))switch(E){case"type":o=T;break;case"name":n=T;break;case"checked":S=T;break;case"defaultChecked":z=T;break;case"value":c=T;break;case"defaultValue":d=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(s(137,e));break;default:T!==O&&Nt(t,e,E,T,a,O)}}Ql(t,c,d,g,S,z,o,n);return;case"select":T=c=d=E=null;for(o in l)if(g=l[o],l.hasOwnProperty(o)&&g!=null)switch(o){case"value":break;case"multiple":T=g;default:a.hasOwnProperty(o)||Nt(t,e,o,null,a,g)}for(n in a)if(o=a[n],g=l[n],a.hasOwnProperty(n)&&(o!=null||g!=null))switch(n){case"value":E=o;break;case"defaultValue":d=o;break;case"multiple":c=o;default:o!==g&&Nt(t,e,n,o,a,g)}e=d,l=c,a=T,E!=null?$e(t,!!l,E,!1):!!a!=!!l&&(e!=null?$e(t,!!l,e,!0):$e(t,!!l,l?[]:"",!1));return;case"textarea":T=E=null;for(d in l)if(n=l[d],l.hasOwnProperty(d)&&n!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Nt(t,e,d,null,a,n)}for(c in a)if(n=a[c],o=l[c],a.hasOwnProperty(c)&&(n!=null||o!=null))switch(c){case"value":E=n;break;case"defaultValue":T=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==o&&Nt(t,e,c,n,a,o)}za(t,E,T);return;case"option":for(var lt in l)if(E=l[lt],l.hasOwnProperty(lt)&&E!=null&&!a.hasOwnProperty(lt))switch(lt){case"selected":t.selected=!1;break;default:Nt(t,e,lt,null,a,E)}for(g in a)if(E=a[g],T=l[g],a.hasOwnProperty(g)&&E!==T&&(E!=null||T!=null))switch(g){case"selected":t.selected=E&&typeof E!="function"&&typeof E!="symbol";break;default:Nt(t,e,g,E,a,T)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var I in l)E=l[I],l.hasOwnProperty(I)&&E!=null&&!a.hasOwnProperty(I)&&Nt(t,e,I,null,a,E);for(S in a)if(E=a[S],T=l[S],a.hasOwnProperty(S)&&E!==T&&(E!=null||T!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(s(137,e));break;default:Nt(t,e,S,E,a,T)}return;default:if(Oa(e)){for(var _t in l)E=l[_t],l.hasOwnProperty(_t)&&E!==void 0&&!a.hasOwnProperty(_t)&&kc(t,e,_t,void 0,a,E);for(z in a)E=a[z],T=l[z],!a.hasOwnProperty(z)||E===T||E===void 0&&T===void 0||kc(t,e,z,E,a,T);return}}for(var b in l)E=l[b],l.hasOwnProperty(b)&&E!=null&&!a.hasOwnProperty(b)&&Nt(t,e,b,null,a,E);for(O in a)E=a[O],T=l[O],!a.hasOwnProperty(O)||E===T||E==null&&T==null||Nt(t,e,O,E,a,T)}var Oc=null,jc=null;function hr(t){return t.nodeType===9?t:t.ownerDocument}function Lh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Hh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Bc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Lc=null;function Q1(){var t=window.event;return t&&t.type==="popstate"?t===Lc?!1:(Lc=t,!0):(Lc=null,!1)}var Uh=typeof setTimeout=="function"?setTimeout:void 0,K1=typeof clearTimeout=="function"?clearTimeout:void 0,qh=typeof Promise=="function"?Promise:void 0,P1=typeof queueMicrotask=="function"?queueMicrotask:typeof qh<"u"?function(t){return qh.resolve(null).then(t).catch(J1)}:Uh;function J1(t){setTimeout(function(){throw t})}function fa(t){return t==="head"}function Gh(t,e){var l=e,a=0,n=0;do{var o=l.nextSibling;if(t.removeChild(l),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(0<a&&8>a){l=a;var c=t.ownerDocument;if(l&1&&Zo(c.documentElement),l&2&&Zo(c.body),l&4)for(l=c.head,Zo(l),c=l.firstChild;c;){var d=c.nextSibling,g=c.nodeName;c[Da]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||l.removeChild(c),c=d}}if(n===0){t.removeChild(o),Io(e);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=o}while(l);Io(e)}function Hc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Hc(l),no(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function W1(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Da])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=ll(t.nextSibling),t===null)break}return null}function $1(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=ll(t.nextSibling),t===null))return null;return t}function Uc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function F1(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function ll(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var qc=null;function Yh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function Xh(t,e,l){switch(e=hr(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Zo(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);no(t)}var Qe=new Map,Vh=new Set;function mr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var jl=G.d;G.d={f:I1,r:tp,D:ep,C:lp,L:ap,m:np,X:ip,S:op,M:rp};function I1(){var t=jl.f(),e=or();return t||e}function tp(t){var e=Xl(t);e!==null&&e.tag===5&&e.type==="form"?uf(e):jl.r(t)}var Xn=typeof document>"u"?null:document;function Zh(t,e,l){var a=Xn;if(a&&typeof e=="string"&&e){var n=se(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Vh.has(n)||(Vh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),fe(e,"link",t),Xt(e),a.head.appendChild(e)))}}function ep(t){jl.D(t),Zh("dns-prefetch",t,null)}function lp(t,e){jl.C(t,e),Zh("preconnect",t,e)}function ap(t,e,l){jl.L(t,e,l);var a=Xn;if(a&&t&&e){var n='link[rel="preload"][as="'+se(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+se(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+se(l.imageSizes)+'"]')):n+='[href="'+se(t)+'"]';var o=n;switch(e){case"style":o=Vn(t);break;case"script":o=Zn(t)}Qe.has(o)||(t=D({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Qe.set(o,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Qo(o))||e==="script"&&a.querySelector(Ko(o))||(e=a.createElement("link"),fe(e,"link",t),Xt(e),a.head.appendChild(e)))}}function np(t,e){jl.m(t,e);var l=Xn;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+se(a)+'"][href="'+se(t)+'"]',o=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Zn(t)}if(!Qe.has(o)&&(t=D({rel:"modulepreload",href:t},e),Qe.set(o,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ko(o)))return}a=l.createElement("link"),fe(a,"link",t),Xt(a),l.head.appendChild(a)}}}function op(t,e,l){jl.S(t,e,l);var a=Xn;if(a&&t){var n=Vl(a).hoistableStyles,o=Vn(t);e=e||"default";var c=n.get(o);if(!c){var d={loading:0,preload:null};if(c=a.querySelector(Qo(o)))d.loading=5;else{t=D({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Qe.get(o))&&Gc(t,l);var g=c=a.createElement("link");Xt(g),fe(g,"link",t),g._p=new Promise(function(S,z){g.onload=S,g.onerror=z}),g.addEventListener("load",function(){d.loading|=1}),g.addEventListener("error",function(){d.loading|=2}),d.loading|=4,gr(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:d},n.set(o,c)}}}function ip(t,e){jl.X(t,e);var l=Xn;if(l&&t){var a=Vl(l).hoistableScripts,n=Zn(t),o=a.get(n);o||(o=l.querySelector(Ko(n)),o||(t=D({src:t,async:!0},e),(e=Qe.get(n))&&Yc(t,e),o=l.createElement("script"),Xt(o),fe(o,"link",t),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(n,o))}}function rp(t,e){jl.M(t,e);var l=Xn;if(l&&t){var a=Vl(l).hoistableScripts,n=Zn(t),o=a.get(n);o||(o=l.querySelector(Ko(n)),o||(t=D({src:t,async:!0,type:"module"},e),(e=Qe.get(n))&&Yc(t,e),o=l.createElement("script"),Xt(o),fe(o,"link",t),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(n,o))}}function Qh(t,e,l,a){var n=(n=tt.current)?mr(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Vn(l.href),l=Vl(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Vn(l.href);var o=Vl(n).hoistableStyles,c=o.get(t);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,c),(o=n.querySelector(Qo(t)))&&!o._p&&(c.instance=o,c.state.loading=5),Qe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Qe.set(t,l),o||sp(n,t,l,c.state))),e&&a===null)throw Error(s(528,""));return c}if(e&&a!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Zn(l),l=Vl(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Vn(t){return'href="'+se(t)+'"'}function Qo(t){return'link[rel="stylesheet"]['+t+"]"}function Kh(t){return D({},t,{"data-precedence":t.precedence,precedence:null})}function sp(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),fe(e,"link",l),Xt(e),t.head.appendChild(e))}function Zn(t){return'[src="'+se(t)+'"]'}function Ko(t){return"script[async]"+t}function Ph(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+se(l.href)+'"]');if(a)return e.instance=a,Xt(a),a;var n=D({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Xt(a),fe(a,"style",n),gr(a,l.precedence,t),e.instance=a;case"stylesheet":n=Vn(l.href);var o=t.querySelector(Qo(n));if(o)return e.state.loading|=4,e.instance=o,Xt(o),o;a=Kh(l),(n=Qe.get(n))&&Gc(a,n),o=(t.ownerDocument||t).createElement("link"),Xt(o);var c=o;return c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),fe(o,"link",a),e.state.loading|=4,gr(o,l.precedence,t),e.instance=o;case"script":return o=Zn(l.src),(n=t.querySelector(Ko(o)))?(e.instance=n,Xt(n),n):(a=l,(n=Qe.get(o))&&(a=D({},l),Yc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Xt(n),fe(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,gr(a,l.precedence,t));return e.instance}function gr(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,o=n,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===e)o=d;else if(o!==n)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Gc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Yc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var pr=null;function Jh(t,e,l){if(pr===null){var a=new Map,n=pr=new Map;n.set(l,a)}else n=pr,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var o=l[n];if(!(o[Da]||o[te]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var c=o.getAttribute(e)||"";c=t+c;var d=a.get(c);d?d.push(o):a.set(c,[o])}}return a}function Wh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function cp(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function $h(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Po=null;function up(){}function dp(t,e,l){if(Po===null)throw Error(s(475));var a=Po;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Vn(l.href),o=t.querySelector(Qo(n));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=yr.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=o,Xt(o);return}o=t.ownerDocument||t,l=Kh(l),(n=Qe.get(n))&&Gc(l,n),o=o.createElement("link"),Xt(o);var c=o;c._p=new Promise(function(d,g){c.onload=d,c.onerror=g}),fe(o,"link",l),e.instance=o}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=yr.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function fp(){if(Po===null)throw Error(s(475));var t=Po;return t.stylesheets&&t.count===0&&Xc(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&Xc(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function yr(){if(this.count--,this.count===0){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var vr=null;function Xc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,vr=new Map,e.forEach(hp,t),vr=null,yr.call(t))}function hp(t,e){if(!(e.state.loading&4)){var l=vr.get(t);if(l)var a=l.get(null);else{l=new Map,vr.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<n.length;o++){var c=n[o];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),a=c)}a&&l.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),o=l.get(c)||a,o===a&&l.set(null,n),l.set(c,n),this.count++,a=yr.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),o?o.parentNode.insertBefore(n,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Jo={$$typeof:k,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function mp(t,e,l,a,n,o,c,d){this.tag=1,this.containerInfo=t,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=to(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=to(0),this.hiddenUpdates=to(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=o,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map}function Fh(t,e,l,a,n,o,c,d,g,S,z,O){return t=new mp(t,e,l,c,d,g,S,O),e=1,o===!0&&(e|=24),o=ze(3,null,null,e),t.current=o,o.stateNode=t,e=Es(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:a,isDehydrated:l,cache:e},As(o),t}function Ih(t){return t?(t=Sn,t):Sn}function tm(t,e,l,a,n,o){n=Ih(n),a.context===null?a.context=n:a.pendingContext=n,a=Il(e),a.payload={element:l},o=o===void 0?null:o,o!==null&&(a.callback=o),l=ta(t,a,e),l!==null&&(je(l,t,e),To(l,t,e))}function em(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Vc(t,e){em(t,e),(t=t.alternate)&&em(t,e)}function lm(t){if(t.tag===13){var e=wn(t,67108864);e!==null&&je(e,t,67108864),Vc(t,67108864)}}var br=!0;function gp(t,e,l,a){var n=A.T;A.T=null;var o=G.p;try{G.p=2,Zc(t,e,l,a)}finally{G.p=o,A.T=n}}function pp(t,e,l,a){var n=A.T;A.T=null;var o=G.p;try{G.p=8,Zc(t,e,l,a)}finally{G.p=o,A.T=n}}function Zc(t,e,l,a){if(br){var n=Qc(a);if(n===null)_c(t,e,a,xr,l),nm(t,a);else if(vp(n,t,e,l,a))a.stopPropagation();else if(nm(t,a),e&4&&-1<yp.indexOf(t)){for(;n!==null;){var o=Xl(n);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var c=yl(o.pendingLanes);if(c!==0){var d=o;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var g=1<<31-Wt(c);d.entanglements[1]|=g,c&=~g}hl(o),(At&6)===0&&(ar=ge()+500,Yo(0))}}break;case 13:d=wn(o,2),d!==null&&je(d,o,2),or(),Vc(o,2)}if(o=Qc(a),o===null&&_c(t,e,a,xr,l),o===n)break;n=o}n!==null&&a.stopPropagation()}else _c(t,e,a,null,l)}}function Qc(t){return t=hn(t),Kc(t)}var xr=null;function Kc(t){if(xr=null,t=Yl(t),t!==null){var e=m(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=x(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return xr=t,null}function am(t){switch(t){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(ri()){case Hl:return 2;case $n:return 8;case nl:case si:return 32;case Ul:return 268435456;default:return 32}default:return 32}}var Pc=!1,ha=null,ma=null,ga=null,Wo=new Map,$o=new Map,pa=[],yp="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 nm(t,e){switch(t){case"focusin":case"focusout":ha=null;break;case"dragenter":case"dragleave":ma=null;break;case"mouseover":case"mouseout":ga=null;break;case"pointerover":case"pointerout":Wo.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":$o.delete(e.pointerId)}}function Fo(t,e,l,a,n,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:o,targetContainers:[n]},e!==null&&(e=Xl(e),e!==null&&lm(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function vp(t,e,l,a,n){switch(e){case"focusin":return ha=Fo(ha,t,e,l,a,n),!0;case"dragenter":return ma=Fo(ma,t,e,l,a,n),!0;case"mouseover":return ga=Fo(ga,t,e,l,a,n),!0;case"pointerover":var o=n.pointerId;return Wo.set(o,Fo(Wo.get(o)||null,t,e,l,a,n)),!0;case"gotpointercapture":return o=n.pointerId,$o.set(o,Fo($o.get(o)||null,t,e,l,a,n)),!0}return!1}function om(t){var e=Yl(t.target);if(e!==null){var l=m(e);if(l!==null){if(e=l.tag,e===13){if(e=x(l),e!==null){t.blockedOn=e,Ir(t.priority,function(){if(l.tag===13){var a=Oe();a=eo(a);var n=wn(l,a);n!==null&&je(n,l,a),Vc(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function wr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Qc(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);fn=a,l.target.dispatchEvent(a),fn=null}else return e=Xl(l),e!==null&&lm(e),t.blockedOn=l,!1;e.shift()}return!0}function im(t,e,l){wr(t)&&l.delete(e)}function bp(){Pc=!1,ha!==null&&wr(ha)&&(ha=null),ma!==null&&wr(ma)&&(ma=null),ga!==null&&wr(ga)&&(ga=null),Wo.forEach(im),$o.forEach(im)}function Sr(t,e){t.blockedOn===e&&(t.blockedOn=null,Pc||(Pc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,bp)))}var Cr=null;function rm(t){Cr!==t&&(Cr=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Cr===t&&(Cr=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Kc(a||l)===null)continue;break}var o=Xl(l);o!==null&&(t.splice(e,3),e-=3,Ks(o,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Io(t){function e(g){return Sr(g,t)}ha!==null&&Sr(ha,t),ma!==null&&Sr(ma,t),ga!==null&&Sr(ga,t),Wo.forEach(e),$o.forEach(e);for(var l=0;l<pa.length;l++){var a=pa[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<pa.length&&(l=pa[0],l.blockedOn===null);)om(l),l.blockedOn===null&&pa.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],o=l[a+1],c=n[pe]||null;if(typeof o=="function")c||rm(l);else if(c){var d=null;if(o&&o.hasAttribute("formAction")){if(n=o,c=o[pe]||null)d=c.formAction;else if(Kc(n)!==null)continue}else d=c.action;typeof d=="function"?l[a+1]=d:(l.splice(a,3),a-=3),rm(l)}}}function Jc(t){this._internalRoot=t}Er.prototype.render=Jc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,a=Oe();tm(l,a,t,e,null,null)},Er.prototype.unmount=Jc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;tm(t.current,2,null,t,null,null),or(),e[Gl]=null}};function Er(t){this._internalRoot=t}Er.prototype.unstable_scheduleHydration=function(t){if(t){var e=gi();t={blockedOn:null,target:t,priority:e};for(var l=0;l<pa.length&&e!==0&&e<pa[l].priority;l++);pa.splice(l,0,t),l===0&&om(t)}};var sm=i.version;if(sm!=="19.1.1")throw Error(s(527,sm,"19.1.1"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=C(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var xp={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tr.isDisabled&&Tr.supportsFiber)try{ql=Tr.inject(xp),Jt=Tr}catch{}}return Kn.createRoot=function(t,e){if(!f(t))throw Error(s(299));var l=!1,a="",n=Ef,o=Tf,c=Df,d=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(d=e.unstable_transitionCallbacks)),e=Fh(t,1,!1,null,null,l,a,n,o,c,d,null),t[Gl]=e.current,Nc(t),new Jc(e)},Kn.hydrateRoot=function(t,e,l){if(!f(t))throw Error(s(299));var a=!1,n="",o=Ef,c=Tf,d=Df,g=null,S=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(o=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(d=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(g=l.unstable_transitionCallbacks),l.formState!==void 0&&(S=l.formState)),e=Fh(t,1,!0,e,l??null,a,n,o,c,d,g,S),e.context=Ih(null),l=e.current,a=Oe(),a=eo(a),n=Il(a),n.callback=null,ta(l,n,a),l=a,e.current.lanes=l,Ta(e,l),hl(e),t[Gl]=e.current,Nc(t),new Er(e)},Kn.version="19.1.1",Kn}var ou;function ym(){if(ou)return Mr.exports;ou=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Mr.exports=pm(),Mr.exports}var kr=ym();const Or={root:"manus-previewer-root",contentRoot:"manus-previewer-content-root"};class vm{dialogRoot=null;setDialogRoot(i){this.dialogRoot=i}createOpener=(i,u)=>{const{singleton:s,closeWhenNextTrigger:f,closeBeforeDialog:m}=u||{};let x=[];const N=v=>{const D="single";if(s){const F=x.find(at=>at.id===D);if(F)if(m)F.onDisposed();else return f&&F.onDisposed(),null}const R=document.createElement("div"),J=kr.createRoot(R);this.dialogRoot&&this.dialogRoot.append(R);const $=()=>{J.unmount(),R.remove(),x=x.filter(F=>F.id!==D),v.onDisposed?.()};return x.push({id:D,onDisposed:$}),J.render(h.jsx(i,{"data-loc":"src/helpers/dialogController.tsx:69",...v,onDisposed:$})),{dispose:$}};return v=>N({...v})}}const ti=new vm;var U=Nr();function bm({size:r=18}){return h.jsx("svg",{"data-loc":"src/icons/PreviewIcon.tsx:3",width:r,height:r,viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("path",{"data-loc":"src/icons/PreviewIcon.tsx:10",d:"M15.75 2.75C15.75 2.33579 15.4142 2 15 2H3C2.58579 2 2.25 2.33579 2.25 2.75V10.25C2.25 10.6642 2.58579 11 3 11H15C15.4142 11 15.75 10.6642 15.75 10.25V2.75ZM8.25 7.85205L10.4517 6.49927L8.25 5.14795V7.85205ZM12.1223 6.5C12.1223 6.7243 12.0648 6.9451 11.9553 7.14087C11.8459 7.33651 11.6878 7.50104 11.4968 7.61841L8.74878 9.30591C8.54978 9.42791 8.32151 9.4947 8.08813 9.49927C7.85482 9.50383 7.62448 9.44634 7.4209 9.33228C7.21728 9.21816 7.04736 9.05178 6.92944 8.85034C6.81156 8.64892 6.74981 8.41942 6.75 8.18604V4.81104C6.75045 4.57796 6.81277 4.34911 6.93091 4.14819C7.04908 3.94724 7.21885 3.78142 7.42236 3.66772C7.62582 3.55406 7.85587 3.49678 8.08887 3.50146L8.17603 3.50586C8.34959 3.52093 8.51836 3.57062 8.67261 3.65161L8.74878 3.69482L11.4968 5.38159C11.6878 5.49896 11.8459 5.6635 11.9553 5.85913C12.0648 6.0549 12.1223 6.2757 12.1223 6.5ZM17.25 10.25C17.25 11.4926 16.2426 12.5 15 12.5H9.75V14H12C12.4142 14 12.75 14.3358 12.75 14.75C12.75 15.1642 12.4142 15.5 12 15.5H6C5.58579 15.5 5.25 15.1642 5.25 14.75C5.25 14.3358 5.58579 14 6 14H8.25V12.5H3C1.75736 12.5 0.75 11.4926 0.75 10.25V2.75C0.75 1.50736 1.75736 0.5 3 0.5H15C16.2426 0.5 17.25 1.50736 17.25 2.75V10.25Z",fill:"#34322D"})})}function iu(r){var i,u,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r)){var f=r.length;for(i=0;i<f;i++)r[i]&&(u=iu(r[i]))&&(s&&(s+=" "),s+=u)}else for(u in r)r[u]&&(s&&(s+=" "),s+=u);return s}function xm(){for(var r,i,u=0,s="",f=arguments.length;u<f;u++)(r=arguments[u])&&(i=iu(r))&&(s&&(s+=" "),s+=i);return s}const jr="-",wm=r=>{const i=Cm(r),{conflictingClassGroups:u,conflictingClassGroupModifiers:s}=r;return{getClassGroupId:x=>{const N=x.split(jr);return N[0]===""&&N.length!==1&&N.shift(),ru(N,i)||Sm(x)},getConflictingClassGroupIds:(x,N)=>{const C=u[x]||[];return N&&s[x]?[...C,...s[x]]:C}}},ru=(r,i)=>{if(r.length===0)return i.classGroupId;const u=r[0],s=i.nextPart.get(u),f=s?ru(r.slice(1),s):void 0;if(f)return f;if(i.validators.length===0)return;const m=r.join(jr);return i.validators.find(({validator:x})=>x(m))?.classGroupId},su=/^\[(.+)\]$/,Sm=r=>{if(su.test(r)){const i=su.exec(r)[1],u=i?.substring(0,i.indexOf(":"));if(u)return"arbitrary.."+u}},Cm=r=>{const{theme:i,classGroups:u}=r,s={nextPart:new Map,validators:[]};for(const f in u)Br(u[f],s,f,i);return s},Br=(r,i,u,s)=>{r.forEach(f=>{if(typeof f=="string"){const m=f===""?i:cu(i,f);m.classGroupId=u;return}if(typeof f=="function"){if(Em(f)){Br(f(s),i,u,s);return}i.validators.push({validator:f,classGroupId:u});return}Object.entries(f).forEach(([m,x])=>{Br(x,cu(i,m),u,s)})})},cu=(r,i)=>{let u=r;return i.split(jr).forEach(s=>{u.nextPart.has(s)||u.nextPart.set(s,{nextPart:new Map,validators:[]}),u=u.nextPart.get(s)}),u},Em=r=>r.isThemeGetter,Tm=r=>{if(r<1)return{get:()=>{},set:()=>{}};let i=0,u=new Map,s=new Map;const f=(m,x)=>{u.set(m,x),i++,i>r&&(i=0,s=u,u=new Map)};return{get(m){let x=u.get(m);if(x!==void 0)return x;if((x=s.get(m))!==void 0)return f(m,x),x},set(m,x){u.has(m)?u.set(m,x):f(m,x)}}},Lr="!",Hr=":",Dm=Hr.length,Mm=r=>{const{prefix:i,experimentalParseClassName:u}=r;let s=f=>{const m=[];let x=0,N=0,C=0,v;for(let F=0;F<f.length;F++){let at=f[F];if(x===0&&N===0){if(at===Hr){m.push(f.slice(C,F)),C=F+Dm;continue}if(at==="/"){v=F;continue}}at==="["?x++:at==="]"?x--:at==="("?N++:at===")"&&N--}const D=m.length===0?f:f.substring(C),R=Am(D),J=R!==D,$=v&&v>C?v-C:void 0;return{modifiers:m,hasImportantModifier:J,baseClassName:R,maybePostfixModifierPosition:$}};if(i){const f=i+Hr,m=s;s=x=>x.startsWith(f)?m(x.substring(f.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:x,maybePostfixModifierPosition:void 0}}if(u){const f=s;s=m=>u({className:m,parseClassName:f})}return s},Am=r=>r.endsWith(Lr)?r.substring(0,r.length-1):r.startsWith(Lr)?r.substring(1):r,Rm=r=>{const i=Object.fromEntries(r.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const f=[];let m=[];return s.forEach(x=>{x[0]==="["||i[x]?(f.push(...m.sort(),x),m=[]):m.push(x)}),f.push(...m.sort()),f}},zm=r=>({cache:Tm(r.cacheSize),parseClassName:Mm(r),sortModifiers:Rm(r),...wm(r)}),Nm=/\s+/,_m=(r,i)=>{const{parseClassName:u,getClassGroupId:s,getConflictingClassGroupIds:f,sortModifiers:m}=i,x=[],N=r.trim().split(Nm);let C="";for(let v=N.length-1;v>=0;v-=1){const D=N[v],{isExternal:R,modifiers:J,hasImportantModifier:$,baseClassName:F,maybePostfixModifierPosition:at}=u(D);if(R){C=D+(C.length>0?" "+C:C);continue}let ct=!!at,ht=s(ct?F.substring(0,at):F);if(!ht){if(!ct){C=D+(C.length>0?" "+C:C);continue}if(ht=s(F),!ht){C=D+(C.length>0?" "+C:C);continue}ct=!1}const St=m(J).join(":"),k=$?St+Lr:St,Y=k+ht;if(x.includes(Y))continue;x.push(Y);const H=f(ht,ct);for(let it=0;it<H.length;++it){const rt=H[it];x.push(k+rt)}C=D+(C.length>0?" "+C:C)}return C};function km(){let r=0,i,u,s="";for(;r<arguments.length;)(i=arguments[r++])&&(u=uu(i))&&(s&&(s+=" "),s+=u);return s}const uu=r=>{if(typeof r=="string")return r;let i,u="";for(let s=0;s<r.length;s++)r[s]&&(i=uu(r[s]))&&(u&&(u+=" "),u+=i);return u};function Om(r,...i){let u,s,f,m=x;function x(C){const v=i.reduce((D,R)=>R(D),r());return u=zm(v),s=u.cache.get,f=u.cache.set,m=N,N(C)}function N(C){const v=s(C);if(v)return v;const D=_m(C,u);return f(C,D),D}return function(){return m(km.apply(null,arguments))}}const Kt=r=>{const i=u=>u[r]||[];return i.isThemeGetter=!0,i},du=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jm=/^\d+\/\d+$/,Bm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Lm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Hm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Um=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,en=r=>jm.test(r),dt=r=>!!r&&!Number.isNaN(Number(r)),Bl=r=>!!r&&Number.isInteger(Number(r)),Ur=r=>r.endsWith("%")&&dt(r.slice(0,-1)),ml=r=>Bm.test(r),Gm=()=>!0,Ym=r=>Lm.test(r)&&!Hm.test(r),hu=()=>!1,Xm=r=>Um.test(r),Vm=r=>qm.test(r),Zm=r=>!Q(r)&&!K(r),Qm=r=>ln(r,vu,hu),Q=r=>du.test(r),va=r=>ln(r,bu,Ym),qr=r=>ln(r,$m,dt),mu=r=>ln(r,pu,hu),Km=r=>ln(r,yu,Vm),ei=r=>ln(r,xu,Xm),K=r=>fu.test(r),Pn=r=>an(r,bu),Pm=r=>an(r,Fm),gu=r=>an(r,pu),Jm=r=>an(r,vu),Wm=r=>an(r,yu),li=r=>an(r,xu,!0),ln=(r,i,u)=>{const s=du.exec(r);return s?s[1]?i(s[1]):u(s[2]):!1},an=(r,i,u=!1)=>{const s=fu.exec(r);return s?s[1]?i(s[1]):u:!1},pu=r=>r==="position"||r==="percentage",yu=r=>r==="image"||r==="url",vu=r=>r==="length"||r==="size"||r==="bg-size",bu=r=>r==="length",$m=r=>r==="number",Fm=r=>r==="family-name",xu=r=>r==="shadow",Im=Om(()=>{const r=Kt("color"),i=Kt("font"),u=Kt("text"),s=Kt("font-weight"),f=Kt("tracking"),m=Kt("leading"),x=Kt("breakpoint"),N=Kt("container"),C=Kt("spacing"),v=Kt("radius"),D=Kt("shadow"),R=Kt("inset-shadow"),J=Kt("text-shadow"),$=Kt("drop-shadow"),F=Kt("blur"),at=Kt("perspective"),ct=Kt("aspect"),ht=Kt("ease"),St=Kt("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...Y(),K,Q],it=()=>["auto","hidden","clip","visible","scroll"],rt=()=>["auto","contain","none"],X=()=>[K,Q,C],xt=()=>[en,"full","auto",...X()],Be=()=>[Bl,"none","subgrid",K,Q],It=()=>["auto",{span:["full",Bl,K,Q]},Bl,K,Q],Bt=()=>[Bl,"auto",K,Q],me=()=>["auto","min","max","fr",K,Q],Se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Mt=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...X()],G=()=>[en,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...X()],B=()=>[r,K,Q],bt=()=>[...Y(),gu,mu,{position:[K,Q]}],p=()=>["no-repeat",{repeat:["","x","y","space","round"]}],j=()=>["auto","cover","contain",Jm,Qm,{size:[K,Q]}],V=()=>[Ur,Pn,va],q=()=>["","none","full",v,K,Q],Z=()=>["",dt,Pn,va],st=()=>["solid","dashed","dotted","double"],tt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],gt=()=>[dt,Ur,gu,mu],Tt=()=>["","none",F,K,Q],Pt=()=>["none",dt,K,Q],Ke=()=>["none",dt,K,Q],Ce=()=>[dt,K,Q],Pe=()=>[en,"full",...X()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ml],breakpoint:[ml],color:[Gm],container:[ml],"drop-shadow":[ml],ease:["in","out","in-out"],font:[Zm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ml],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ml],shadow:[ml],spacing:["px",dt],text:[ml],"text-shadow":[ml],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",en,Q,K,ct]}],container:["container"],columns:[{columns:[dt,Q,K,N]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:H()}],overflow:[{overflow:it()}],"overflow-x":[{"overflow-x":it()}],"overflow-y":[{"overflow-y":it()}],overscroll:[{overscroll:rt()}],"overscroll-x":[{"overscroll-x":rt()}],"overscroll-y":[{"overscroll-y":rt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:xt()}],"inset-x":[{"inset-x":xt()}],"inset-y":[{"inset-y":xt()}],start:[{start:xt()}],end:[{end:xt()}],top:[{top:xt()}],right:[{right:xt()}],bottom:[{bottom:xt()}],left:[{left:xt()}],visibility:["visible","invisible","collapse"],z:[{z:[Bl,"auto",K,Q]}],basis:[{basis:[en,"full","auto",N,...X()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,en,"auto","initial","none",Q]}],grow:[{grow:["",dt,K,Q]}],shrink:[{shrink:["",dt,K,Q]}],order:[{order:[Bl,"first","last","none",K,Q]}],"grid-cols":[{"grid-cols":Be()}],"col-start-end":[{col:It()}],"col-start":[{"col-start":Bt()}],"col-end":[{"col-end":Bt()}],"grid-rows":[{"grid-rows":Be()}],"row-start-end":[{row:It()}],"row-start":[{"row-start":Bt()}],"row-end":[{"row-end":Bt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":me()}],"auto-rows":[{"auto-rows":me()}],gap:[{gap:X()}],"gap-x":[{"gap-x":X()}],"gap-y":[{"gap-y":X()}],"justify-content":[{justify:[...Se(),"normal"]}],"justify-items":[{"justify-items":[...Mt(),"normal"]}],"justify-self":[{"justify-self":["auto",...Mt()]}],"align-content":[{content:["normal",...Se()]}],"align-items":[{items:[...Mt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Mt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Se()}],"place-items":[{"place-items":[...Mt(),"baseline"]}],"place-self":[{"place-self":["auto",...Mt()]}],p:[{p:X()}],px:[{px:X()}],py:[{py:X()}],ps:[{ps:X()}],pe:[{pe:X()}],pt:[{pt:X()}],pr:[{pr:X()}],pb:[{pb:X()}],pl:[{pl:X()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":X()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":X()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[N,"screen",...G()]}],"min-w":[{"min-w":[N,"screen","none",...G()]}],"max-w":[{"max-w":[N,"screen","none","prose",{screen:[x]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",u,Pn,va]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,K,qr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ur,Q]}],"font-family":[{font:[Pm,Q,i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,K,Q]}],"line-clamp":[{"line-clamp":[dt,"none",K,qr]}],leading:[{leading:[m,...X()]}],"list-image":[{"list-image":["none",K,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...st(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",K,va]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[dt,"auto",K,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,Q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:bt()}],"bg-repeat":[{bg:p()}],"bg-size":[{bg:j()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Bl,K,Q],radial:["",K,Q],conic:[Bl,K,Q]},Wm,Km]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...st(),"hidden","none"]}],"divide-style":[{divide:[...st(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...st(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,K,Q]}],"outline-w":[{outline:["",dt,Pn,va]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",D,li,ei]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",R,li,ei]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[dt,va]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",J,li,ei]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[dt,K,Q]}],"mix-blend":[{"mix-blend":[...tt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":gt()}],"mask-image-linear-to-pos":[{"mask-linear-to":gt()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":gt()}],"mask-image-t-to-pos":[{"mask-t-to":gt()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":gt()}],"mask-image-r-to-pos":[{"mask-r-to":gt()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":gt()}],"mask-image-b-to-pos":[{"mask-b-to":gt()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":gt()}],"mask-image-l-to-pos":[{"mask-l-to":gt()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":gt()}],"mask-image-x-to-pos":[{"mask-x-to":gt()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":gt()}],"mask-image-y-to-pos":[{"mask-y-to":gt()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[K,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":gt()}],"mask-image-radial-to-pos":[{"mask-radial-to":gt()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Y()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":gt()}],"mask-image-conic-to-pos":[{"mask-conic-to":gt()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:bt()}],"mask-repeat":[{mask:p()}],"mask-size":[{mask:j()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Q]}],filter:[{filter:["","none",K,Q]}],blur:[{blur:Tt()}],brightness:[{brightness:[dt,K,Q]}],contrast:[{contrast:[dt,K,Q]}],"drop-shadow":[{"drop-shadow":["","none",$,li,ei]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",dt,K,Q]}],"hue-rotate":[{"hue-rotate":[dt,K,Q]}],invert:[{invert:["",dt,K,Q]}],saturate:[{saturate:[dt,K,Q]}],sepia:[{sepia:["",dt,K,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Q]}],"backdrop-blur":[{"backdrop-blur":Tt()}],"backdrop-brightness":[{"backdrop-brightness":[dt,K,Q]}],"backdrop-contrast":[{"backdrop-contrast":[dt,K,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,K,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,K,Q]}],"backdrop-invert":[{"backdrop-invert":["",dt,K,Q]}],"backdrop-opacity":[{"backdrop-opacity":[dt,K,Q]}],"backdrop-saturate":[{"backdrop-saturate":[dt,K,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,K,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":X()}],"border-spacing-x":[{"border-spacing-x":X()}],"border-spacing-y":[{"border-spacing-y":X()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",K,Q]}],ease:[{ease:["linear","initial",ht,K,Q]}],delay:[{delay:[dt,K,Q]}],animate:[{animate:["none",St,K,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[at,K,Q]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Pt()}],"rotate-x":[{"rotate-x":Pt()}],"rotate-y":[{"rotate-y":Pt()}],"rotate-z":[{"rotate-z":Pt()}],scale:[{scale:Ke()}],"scale-x":[{"scale-x":Ke()}],"scale-y":[{"scale-y":Ke()}],"scale-z":[{"scale-z":Ke()}],"scale-3d":["scale-3d"],skew:[{skew:Ce()}],"skew-x":[{"skew-x":Ce()}],"skew-y":[{"skew-y":Ce()}],transform:[{transform:[K,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pe()}],"translate-x":[{"translate-x":Pe()}],"translate-y":[{"translate-y":Pe()}],"translate-z":[{"translate-z":Pe()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,Q]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,Q]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[dt,Pn,va,qr]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});class tg{cn(...i){return Im(xm(i))}createReadySource(){let i=!1,u=[];return{get ready(){return i},markReady:()=>{i||(i=!0,u.forEach(({resolve:s})=>s()),u=[])},waitReady:async()=>i?!0:new Promise((f,m)=>{u.push({resolve:f,reject:m})}),onReady(s){this.waitReady().then(s)},clear:()=>{i=!1,u.forEach(({reject:s})=>s()),u=[]},clearWithoutPromise:()=>{i=!1}}}onDOMReady(i){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",i):i()}}const Ae=new tg;class eg{readySource=Ae.createReadySource();iframeElement=null;currentEndpoint=null;messageQueue=[];inited=!1;sendMessage(i){if(i.to!==this.currentEndpoint){if(i.to==="content"){if(!this.iframeElement?.contentWindow)return;this.iframeElement.contentWindow.postMessage(this.packMessage(i),"*")}i.to==="container"&&window.parent.postMessage(this.packMessage(i),"*")}}listenMessage(i){const u=s=>{this.sendMessage({type:"getMessage",to:"container",payload:{messageType:i.type}}),i.callback(s)};return this.messageQueue.push({type:i.type,callback:u}),()=>{this.messageQueue=this.messageQueue.filter(s=>s.callback!==u)}}updateIframeElement(i){this.iframeElement=i}init(i){this.inited||(this.inited=!0,this.currentEndpoint=i.currentEndpoint,window.addEventListener("message",u=>{const s=u.data;s.type==="SpacePreviewerChannel"&&this.messageQueue.forEach(f=>{f.type===s.payload.type&&s.payload.to===this.currentEndpoint&&f.callback(s.payload.payload)})}))}packMessage(i){return{type:"SpacePreviewerChannel",payload:{...i,from:this.currentEndpoint}}}}const ie=new eg;function lg(){const r=()=>{const i=window.location.href;ie.sendMessage({type:"reportNotfound",to:"container",payload:{url:i}})};return h.jsxs("button",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:16",id:"not-found-fix-button",onClick:r,style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",background:"#1a1a19",color:"#fff",fontWeight:"500",fontSize:"14px",height:"36px",borderRadius:"10px",padding:"10px 12px"},children:[h.jsxs("svg",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:34",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",className:"w-4 h-4",children:[h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:46",d:"M12 2v4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:47",d:"m16.2 7.8 2.9-2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:48",d:"M18 12h4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:49",d:"m16.2 16.2 2.9 2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:50",d:"M12 18v4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:51",d:"m4.9 19.1 2.9-2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:52",d:"M2 12h4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:53",d:"m4.9 4.9 2.9 2.9"})]}),"Fix URL"]})}class ag{initialHref=!1;lastHref="";originalPushState;originalReplaceState;init(){this.initialHref||(this.initialHref=!0,window.addEventListener("popstate",()=>{this.notifyContainer()}),window.addEventListener("hashchange",()=>{this.notifyContainer()}),this.originalPushState=window.history.pushState.bind(window.history),this.originalReplaceState=window.history.replaceState.bind(window.history),window.history.pushState=(...i)=>{this.originalPushState(...i),this.notifyContainer()},window.history.replaceState=(...i)=>{this.originalReplaceState(...i),this.notifyContainer()},ie.listenMessage({type:"refresh",callback:i=>{const{path:u}=i;u?window.location.href=u:window.location.reload()}}),this.checkContentRoutesInited().then(()=>{this.notifyContainer()}))}checkContentRoutesInited(){return new Promise(i=>{const u=setInterval(()=>{window.__WOUTER_ROUTES__&&(clearInterval(u),i(!0))},20)})}notifyContainer(){const i=window.location.href;if(this.lastHref===i)return;this.lastHref=i;const u=window.__WOUTER_ROUTES__||[],s=Array.isArray(u)?u:[];ie.sendMessage({type:"urlChange",to:"container",payload:{href:i,allSupportedUrls:s}}),ie.readySource.waitReady().then(()=>{this.checkIsNotfoundButtonGroup()})}checkIsNotfoundButtonGroup(){const i=document.getElementById("not-found-button-group");if(i){const u="not-found-button-container";if(document.getElementById(u))return;const s=document.createElement("div");s.id=u,i.appendChild(s),kr.createRoot(s).render(U.createElement(lg))}}}const wu=new ag;function ng(){const r=window.__MANUS_HOST_DEV__??!1,i=window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1",[u,s]=U.useState(!1),[f,m]=U.useState(!1);return U.useEffect(()=>{ie.readySource.waitReady().then(()=>{s(!1)}),wu.checkContentRoutesInited().then(()=>{setTimeout(()=>{ie.readySource.ready||s(!0)},1200)})},[]),!r||!u||i||f?null:h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:49",className:"fixed bottom-0 left-0 right-0 z-[999999] w-full py-2 px-2 pr-4 flex items-center gap-2 bg-[#fdf4e0]",children:[h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:50",className:"flex items-center justify-center gap-2 pointer-events-none flex-1",children:[h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:51",className:"px-2 py-1 bg-[rgba(239,162,1,0.12)] rounded-full items-center gap-2 hidden md:flex",children:[h.jsx("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:52",className:"w-[18px] h-[18px] text-[var(--icon-primary,#34322D)]",children:h.jsx(bm,{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:53",size:18})}),h.jsx("span",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:55",className:"text-sm font-medium leading-5 text-[var(--text-primary,#34322D)]",children:"Preview mode"})]}),h.jsx("span",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:59",className:"text-sm font-normal leading-5 text-[var(--text-primary,#34322D)]",children:"This page is not live and cannot be shared directly. Please publish to get a public link."})]}),h.jsx("button",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:64",className:"w-4 h-4 flex-shrink-0 cursor-pointer",onClick:()=>{m(!0)},children:h.jsx("svg",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:70",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("path",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:77",d:"M12 4L4 12M4 4L12 12",stroke:"var(--icon-tertiary, #858481)",strokeWidth:"1.5",strokeLinecap:"round"})})})]})}class Su{emitter;event;handler;destroyed=!1;listenBy;constructor(i,u,s,f){this.event=i,this.handler=u,this.emitter=s,this.listenBy=f}unregister(){this.emitter.off(this.event,this),this._destroy()}_destroy(){return this.destroyed?!1:(this.handler=null,this.emitter=null,this.destroyed=!0,!0)}}class og{_events={};on(i,u){if(!u)throw new TypeError("invalid handler! --EventEmitter");this._events[i]||(this._events[i]=[]);const s=new Su(i,u,this,null);return this._events[i]?.push(s),s}listenBy(i,u,s){if(!s)throw new TypeError("invalid handler! --EventEmitter");this._events[u]||(this._events[u]=[]);const f=new Su(u,s,this,i);return this._events[u]?.push(f),f}once(i,u){const s=this.on(i,f=>{u(f),s.unregister()});return s}emit(i,u=null){if(!this._events[i])return!1;for(const s of this._events[i])s.destroyed||s.handler.call(this,u);return!0}off(i,u){if(!this._events[i])return!1;if(u){for(let s=this._events[i],f=0;f<s.length;f++){const m=s[f];if(m===u)return this._events[i]=this._events[i]?.filter(x=>x!==m),this._events[i]?.length===0&&delete this._events[i],!0}return console.error(u,this),console.error(`Cannot find listener of ${i} --EventEmitter`),!1}for(let s=this._events[i],f=0;f<s.length;f++){const m=s[f];this._events[i][f]=null,m?._destroy()}return delete this._events[i],!0}stopListenBy(i){for(const u in this._events)this._events[u]=this._events[u]?.filter(s=>s.listenBy===i?(s._destroy(),!1):!0)}removeAllListeners(){for(const i in this._events){const u=this._events[i];if(u){for(let s=u,f=0;f<s.length;f++)u[f]=null;this._events[i]=null}}}}const ig="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let rg=r=>crypto.getRandomValues(new Uint8Array(r)),sg=(r,i,u)=>{let s=(2<<Math.log2(r.length-1))-1,f=-~(1.6*s*i/r.length);return(m=i)=>{let x="";for(;;){let N=u(f),C=f|0;for(;C--;)if(x+=r[N[C]&s]||"",x.length>=m)return x}}},cg=(r,i=21)=>sg(r,i|0,rg);function Cu(){const r=ig.replace(/[-_]/g,"");return cg(r,22)()}class ug{readySource=Ae.createReadySource();eventEmitter=new og;init(){const i=console.error;console.error=(...u)=>{const s=this.parseConsoleError(...u),x=new Error().stack?.split(`
`)?.slice(2).join(`
`);s&&(s.callStack=s.callStack||x,this.readySource.waitReady().then(()=>{this.eventEmitter.emit("caughtError",s)})),i(...u)},window.addEventListener("error",u=>{const s=this.parseWindowError(u);s&&this.readySource.waitReady().then(()=>{this.eventEmitter.emit("caughtError",s)})})}parseConsoleError(...i){let u="",s="",f="";for(const m of i)typeof m=="string"?u+=m+" ":m instanceof Error?(u=m.message,s=m.stack||""):m?.componentStack&&(f=m.componentStack);return{id:Cu(),from:"console",message:u.trim()||"Unknown error",callStack:s,componentStack:f,time:new Date().toISOString(),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}parseWindowError(i){return{id:Cu(),from:"window",message:i.message||"Unknown error",callStack:i.error?.stack||`at ${i.filename}:${i.lineno}:${i.colno}`,time:new Date().toISOString(),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}}function ot(r){const i=U.useRef(r);i.current=r;const u=U.useRef(null);return u.current||(u.current=function(...s){return i.current.apply(this,s)}),u.current}function Eu(r){return r.split(`
`).filter(u=>u.trim()).map(u=>{const s=u.match(/at\s+(?:(.+?)\s+\()?(.+?):(\d+):(\d+)\)?$/);if(s){const[,f,m,x,N]=s;return{raw:u,functionName:f?.trim(),fileName:m?.trim(),lineNumber:parseInt(x,10),columnNumber:parseInt(N,10)}}return{raw:u}})}function dg(r){const i=r.split(`
`),u=i[0]||r,s=[];for(let f=1;f<i.length;f++){const m=i[f].trim();if(m.startsWith("at "))s.push(m);else if(s.length>0)break}return s.length>0?{mainMessage:u,stackFrames:Eu(s.join(`
`))}:{mainMessage:r,stackFrames:[]}}function fg(r){if(!r)return"";try{return new URL(r).pathname.split("/").pop()||r}catch{return r.split("/").pop()||r}}function hg({frames:r}){return h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:10",className:"px-4 pt-0 pb-3 space-y-1.5 text-sm",children:r.map((i,u)=>h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:12",className:"font-mono",children:i.fileName||i.functionName?h.jsxs(h.Fragment,{children:[h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:15",className:"text-gray-800",children:i.functionName||"(anonymous)"}),i.fileName&&h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:19",className:"text-gray-600",children:["@"," ",h.jsxs("a",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:21",href:i.fileName,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:[fg(i.fileName),i.lineNumber&&h.jsxs(h.Fragment,{children:[":",i.lineNumber,i.columnNumber&&`:${i.columnNumber}`]})]})]})]}):h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:39",className:"text-gray-600",children:i.raw})},u))})}function mg(){const[r,i]=U.useState(!1),[u,s]=U.useState([]),[f,m]=U.useState(0),[x,N]=U.useState(!1),[C,v]=U.useState("message"),D=u[f]||u[0],R=U.useMemo(()=>D?.message?dg(D.message):{mainMessage:"",stackFrames:[]},[D?.message]),J=U.useMemo(()=>{const k=[...R.stackFrames];if(D?.callStack){const Y=Eu(D.callStack);Y.length>0&&k.length!==Y.length?k.push(...Y):k.length===0&&k.push(...Y)}return k},[R.stackFrames,D?.callStack]),$=ot(()=>{s([]),m(0),N(!1)}),F=ot(()=>{N(!0)}),at=ot(()=>{N(!1),v("message")}),ct=ot(()=>{m(k=>k===u.length-1?0:k+1)}),ht=ot(()=>{m(k=>k===0?u.length-1:k-1)}),St=ot(k=>{ie.sendMessage({payload:{errorItems:k?[k]:u,url:window.location.href,userInfo:localStorage.getItem("manus-runtime-user-info")||void 0},to:"container",type:"reportError"}),$()});return U.useEffect(()=>{const k=Gr.eventEmitter.on("caughtError",Y=>{s(H=>[Y,...H])});return ie.readySource.waitReady().then(()=>{i(!0)}),Gr.readySource.markReady(),()=>{k.unregister()}},[]),!D||!r?null:x?h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:118",className:"fixed inset-0 z-[999999] flex items-center justify-center bg-black/50",onClick:at,children:h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:122",className:"bg-white rounded-xl max-w-[600px] w-[90%] max-h-[80vh] flex flex-col shadow-[0_4px_24px_rgba(0,0,0,0.15)]",onClick:k=>k.stopPropagation(),children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:127",className:"flex items-start justify-between p-6 pb-4 shrink-0",children:[h.jsx("h3",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:128",className:"m-0 text-lg font-semibold text-black",children:D.from==="console"?"Console Error":"Uncaught Error"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:133",onClick:at,className:"bg-transparent border-none text-2xl cursor-pointer p-0 text-gray-400 leading-none hover:text-gray-600",children:"×"})]}),h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:142",className:"overflow-y-auto flex-1 min-h-0",children:h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:143",className:"px-4 py-0",children:h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:145",className:"rounded-lg overflow-hidden bg-red-50",children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:147",className:"flex items-start gap-2 px-4 py-3 cursor-pointer hover:bg-red-100 transition-colors",onClick:()=>v(C==="message"?"stack":"message"),children:[h.jsx("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:153",className:"text-red-600 text-sm shrink-0 mt-0.5",children:C==="message"?"▼":"▶"}),h.jsx("p",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:156",className:"text-red-800 text-sm leading-relaxed font-medium break-words whitespace-pre-wrap m-0 flex-1",children:R.mainMessage})]}),C==="stack"&&J.length>0&&h.jsx(hg,{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:163",frames:J})]})})}),h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:170",className:Ae.cn("flex flex-col xs:flex-row items-stretch xs:items-center justify-between gap-3 p-4 xs:p-6 xs:pt-4 shrink-0"),children:u.length>1?h.jsxs(h.Fragment,{children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:177",className:"flex items-center gap-3",children:[h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:178",onClick:ht,className:"bg-gray-100 border-none rounded-lg w-8 h-8 flex items-center justify-center cursor-pointer text-gray-600 text-lg hover:bg-gray-200",children:"‹"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:184",onClick:ct,className:"bg-gray-100 border-none rounded-lg w-8 h-8 flex items-center justify-center cursor-pointer text-gray-600 text-lg hover:bg-gray-200",children:"›"}),h.jsxs("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:190",className:"text-sm text-gray-600 whitespace-nowrap",children:[f+1," of ",u.length," errors"]})]}),h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:194",className:"flex gap-2",children:[h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:195",onClick:()=>{St(D)},className:"bg-white text-gray-700 rounded-lg px-4 xs:px-5 py-2 border border-gray-300 cursor-pointer text-sm font-medium hover:bg-gray-50 flex-1 xs:flex-none",children:"Fix it"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:203",onClick:()=>{St()},className:"bg-black text-white rounded-lg px-4 xs:px-5 py-2 border-none cursor-pointer text-sm font-medium hover:bg-gray-800 flex-1 xs:flex-none",children:"Fix All"})]})]}):h.jsxs(h.Fragment,{children:[h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:215",className:"hidden xs:block"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:216",onClick:()=>{St(D)},className:"bg-black text-white rounded-lg px-4 xs:px-5 py-2 border-none cursor-pointer text-sm font-medium hover:bg-gray-800 w-full xs:w-auto",children:"Fix it"})]})})]})}):h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:234",className:"fixed bottom-8 left-8 z-[999999] bg-red-500 text-white rounded-3xl px-5 py-3 flex items-center gap-3 shadow-[0_4px_12px_rgba(0,0,0,0.15)] cursor-pointer text-base font-medium",onClick:F,children:[h.jsx("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:238",className:"text-xl font-bold",children:"ⓘ"}),h.jsxs("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:239",children:[u.length," error",u.length>1?"s":""]}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:242",onClick:k=>{k.stopPropagation(),$()},className:"bg-transparent border-none text-white text-xl cursor-pointer p-0 leading-none hover:opacity-80",children:"×"})]})}const Gr=new ug;function gg(){return h.jsxs("div",{"data-loc":"src/ContentRoot.tsx:8",id:Or.contentRoot,className:"z-[999999] relative",ref:r=>{r&&ti.setDialogRoot(r)},children:[h.jsx(ng,{"data-loc":"src/ContentRoot.tsx:17"}),h.jsx(mg,{"data-loc":"src/ContentRoot.tsx:18"})]})}class pg{init(){ie.listenMessage({type:"setCookie",callback:i=>{document.cookie=i.cookie}})}}const yg=new pg,vg=2147483646,Tu="data-manus-selector-canvas",al="data-manus-selector-input",Du=2.5,bg=[8,4],xg="#0081f2",wg="rgba(0, 0, 0, 0)",Mu="rgba(0, 122, 255, 0.08)",Sg=2;function Au(){return Math.min(window.devicePixelRatio||1,Sg)}function ai(r,i){const u=r.match(/^([0-9.]+)/);if(!u||!u[1])return 0;const s=Number.parseFloat(u[1]),f=Math.min(i.width,i.height)/2;return r.includes("%")?Math.min(s/100*Math.min(i.width,i.height),f):/rem|em/.test(r)?Math.min(s*16,f):Math.min(s,f)}class Cg{hoverTarget=null;activeTarget=null;canvas=null;context=null;host=null;currentDpr=1;frameRequested=!1;resizeScheduled=!1;exclusionRects=new Map;handleResize=()=>{this.resizeScheduled||(this.resizeScheduled=!0,setTimeout(()=>{this.resizeScheduled=!1,!(!this.canvas||!this.context)&&(this.updateCanvasDimensions(),this.scheduleRender())}))};handleScroll=()=>{this.scheduleRender()};mount(){if(this.canvas)return;const i=document.createElement("div");i.setAttribute(Tu,"true");const u=i.attachShadow({mode:"open"});u.innerHTML=`<canvas style="position:fixed;top:0;left:0;z-index:${vg};pointer-events:none" aria-hidden="true"></canvas>`;const s=u.querySelector("canvas");if(!s)return;const f=s.getContext("2d");f&&(this.host=i,this.canvas=s,this.context=f,document.documentElement.appendChild(i),this.updateCanvasDimensions(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("scroll",this.handleScroll,{passive:!0}),this.scheduleRender())}unmount(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll),this.clear(),this.host&&this.host.remove(),this.canvas=null,this.context=null,this.host=null}setHoverTarget(i){this.hoverTarget!==i&&(this.hoverTarget=i,this.scheduleRender())}setActiveTarget(i){this.activeTarget!==i&&(this.activeTarget=i,this.scheduleRender())}addExclusionRect(i,u){this.exclusionRects.set(i,u),this.scheduleRender()}removeExclusionRect(i){this.exclusionRects.delete(i),this.scheduleRender()}clear(){this.hoverTarget=null,this.activeTarget=null,this.scheduleRender()}scheduleRender(){!this.canvas||!this.context||this.frameRequested||(this.frameRequested=!0,requestAnimationFrame(()=>{this.frameRequested=!1,this.render()}))}updateCanvasDimensions(){if(!this.canvas||!this.context)return;const i=Au(),{innerWidth:u,innerHeight:s}=window;this.canvas.style.width=`${u}px`,this.canvas.style.height=`${s}px`,this.canvas.width=u*i,this.canvas.height=s*i,typeof this.context.resetTransform=="function"?this.context.resetTransform():this.context.setTransform(1,0,0,1,0,0),this.context.scale(i,i),this.currentDpr=i}render(){if(!this.canvas||!this.context)return;const i=Au();Math.abs(i-this.currentDpr)>.01&&this.updateCanvasDimensions();const u=this.context,s=this.canvas;u.clearRect(0,0,s.width,s.height),u.setLineDash([]);const f=this.getDrawableElement(this.activeTarget),m=this.getDrawableElement(this.hoverTarget);if(!(!f&&!m)){if(u.save(),this.exclusionRects.size>0){u.beginPath(),u.rect(0,0,s.width,s.height);for(const x of this.exclusionRects.values())u.rect(x.left,x.top,x.width,x.height);u.clip("evenodd")}f&&Ru(s,u,f,{fillColor:wg}),m&&m!==f&&Ru(s,u,m,{lineDash:bg}),u.restore()}}getDrawableElement(i){if(!i)return null;const u=i.getBoundingClientRect();return u.width<=0||u.height<=0?null:i}}function Ru(r,i,u,s={lineWidth:Du,fillColor:Mu}){const f=s.rect??u.getBoundingClientRect();if(f.width<=0||f.height<=0)return;s.lineDash?i.setLineDash(s.lineDash):i.setLineDash([]);const m=window.getComputedStyle(u),{borderTopLeftRadius:x,borderTopRightRadius:N,borderBottomLeftRadius:C,borderBottomRightRadius:v}=m,D={top:{left:ai(x,f),right:ai(N,f)},bottom:{left:ai(C,f),right:ai(v,f)}};i.lineWidth=s.lineWidth??Du,i.strokeStyle=xg,i.lineCap="round",i.lineJoin="round",i.beginPath(),D.top.left>0||D.top.right>0||D.bottom.right>0||D.bottom.left>0?(i.moveTo(f.left+D.top.left,f.top),i.lineTo(f.left+f.width-D.top.right,f.top),i.arcTo(f.left+f.width,f.top,f.left+f.width,f.top+D.top.right,D.top.right),i.lineTo(f.left+f.width,f.top+f.height-D.bottom.right),i.arcTo(f.left+f.width,f.top+f.height,f.left+f.width-D.bottom.right,f.top+f.height,D.bottom.right),i.lineTo(f.left+D.bottom.left,f.top+f.height),i.arcTo(f.left,f.top+f.height,f.left,f.top+f.height-D.bottom.left,D.bottom.left),i.lineTo(f.left,f.top+D.top.left),i.arcTo(f.left,f.top,f.left+D.top.left,f.top,D.top.left)):i.rect(f.left,f.top,f.width,f.height),i.fillStyle=s.fillColor??Mu,i.fill(),i.shadowColor="rgba(0, 122, 255, 0.3)",i.shadowBlur=4,i.shadowOffsetX=0,i.shadowOffsetY=0,i.stroke(),i.shadowColor="transparent",i.shadowBlur=0,Eg(r,i,u,f)}function Eg(r,i,u,s){const f=u.tagName.toLowerCase(),m=10,x=5,N=11,C=8;i.font=`600 ${N}px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif`;const D=i.measureText(f).width,R={x:s.left,y:0,width:D+m*2,height:N+x*2+2};R.y=s.top-R.height-C,R.y<0&&(R.y=s.top+s.height+C),R.y>s.top+document.body.clientHeight-C&&(R.y=C),R.x<C?R.x=C:R.x+R.width>r.width-C&&(R.x=r.width-R.width-C),i.setLineDash([]),i.shadowColor="rgba(0, 122, 255, 0.4)",i.shadowBlur=12,i.shadowOffsetX=0,i.shadowOffsetY=2;const J=i.createLinearGradient(R.x,R.y,R.x,R.y+R.height);J.addColorStop(0,"#0081f2"),i.fillStyle=J,i.beginPath(),i.roundRect(R.x,R.y,R.width,R.height,6),i.fill(),i.shadowColor="transparent",i.shadowBlur=0,i.shadowOffsetX=0,i.shadowOffsetY=0,i.strokeStyle="rgba(0, 81, 213, 0.3)",i.lineWidth=1,i.stroke();const $=i.createLinearGradient(R.x,R.y,R.x,R.y+R.height/2);$.addColorStop(0,"rgba(255, 255, 255, 0.25)"),$.addColorStop(1,"rgba(255, 255, 255, 0)"),i.fillStyle=$,i.beginPath(),i.roundRect(R.x,R.y,R.width,R.height/2,[6,6,0,0]),i.fill(),i.shadowColor="rgba(0, 0, 0, 0.25)",i.shadowBlur=2,i.shadowOffsetX=0,i.shadowOffsetY=1,i.fillStyle="#fff",i.textAlign="center",i.textBaseline="middle",i.fillText(f,R.x+R.width/2,R.y+R.height/2),i.shadowColor="transparent",i.shadowBlur=0,i.shadowOffsetX=0,i.shadowOffsetY=0}function Tg(r={}){const{onKeyDown:i,onCompositionStart:u,onCompositionEnd:s}=r,f=U.useRef(!1),m=U.useRef(null),x=U.useRef(null),N=ot(R=>{m.current&&(clearTimeout(m.current),m.current=null),x.current&&(clearTimeout(x.current),x.current=null),f.current=!0,u?.(R)}),C=ot(R=>{m.current=setTimeout(()=>{x.current=setTimeout(()=>{f.current=!1})}),s?.(R)}),v=ot(R=>{if(f.current&&(R.key==="Escape"||R.key==="Enter"&&!R.shiftKey)){R.stopPropagation();return}i?.(R)}),D=ot(()=>f.current);return{onCompositionStart:N,onCompositionEnd:C,onKeyDown:v,isComposing:D}}const Dg=new Set(["role","name","aria-label","rel","href"]);function Mg(r,i){let u=Dg.has(r);u||=r.startsWith("data-")&&Jn(r);let s=Jn(i)&&i.length<100;return s||=i.startsWith("#")&&Jn(i.slice(1)),u&&s}function Ag(r){return Jn(r)}function Rg(r){return Jn(r)}function zg(r){return!0}function Yr(r,i){if(r.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(r.tagName.toLowerCase()==="html")return"html";const u={root:document.body,idName:Ag,className:Rg,tagName:zg,attr:Mg,timeoutMs:1e3,seedMinLength:3,optimizedMinLength:2,maxNumberOfPathChecks:1/0},s=new Date,f={...u,...i},m=jg(f.root,u);let x,N=0;for(const v of Ng(r,f,m)){if(new Date().getTime()-s.getTime()>f.timeoutMs||N>=f.maxNumberOfPathChecks){const R=kg(r,m);if(!R)throw new Error(`Timeout: Can't find a unique selector after ${f.timeoutMs}ms`);return Wn(R)}if(N++,Zr(v,m)){x=v;break}}if(!x)throw new Error("Selector was not found.");const C=[...ku(x,r,f,m,s)];return C.sort(Xr),C.length>0?Wn(C[0]):Wn(x)}function*Ng(r,i,u){const s=[];let f=[],m=r,x=0;for(;m&&m!==u;){const N=_g(m,i);for(const C of N)C.level=x;if(s.push(N),m=m.parentElement,x++,f.push(..._u(s)),x>=i.seedMinLength){f.sort(Xr);for(const C of f)yield C;f=[]}}f.sort(Xr);for(const N of f)yield N}function Jn(r){if(/^[a-z\-]{3,}$/i.test(r)){const i=r.split(/-|[A-Z]/);for(const u of i)if(u.length<=2||/[^aeiou]{4,}/i.test(u))return!1;return!0}return!1}function _g(r,i){const u=[],s=r.getAttribute("id");s&&i.idName(s)&&u.push({name:"#"+CSS.escape(s),penalty:0});for(let x=0;x<r.classList.length;x++){const N=r.classList[x];i.className(N)&&u.push({name:"."+CSS.escape(N),penalty:1})}for(let x=0;x<r.attributes.length;x++){const N=r.attributes[x];i.attr(N.name,N.value)&&u.push({name:`[${CSS.escape(N.name)}="${CSS.escape(N.value)}"]`,penalty:2})}const f=r.tagName.toLowerCase();if(i.tagName(f)){u.push({name:f,penalty:5});const x=Vr(r,f);x!==void 0&&u.push({name:Nu(f,x),penalty:10})}const m=Vr(r);return m!==void 0&&u.push({name:Og(f,m),penalty:50}),u}function Wn(r){let i=r[0],u=i.name;for(let s=1;s<r.length;s++){const f=r[s].level||0;i.level===f-1?u=`${r[s].name} > ${u}`:u=`${r[s].name} ${u}`,i=r[s]}return u}function zu(r){return r.map(i=>i.penalty).reduce((i,u)=>i+u,0)}function Xr(r,i){return zu(r)-zu(i)}function Vr(r,i){const u=r.parentNode;if(!u)return;let s=u.firstChild;if(!s)return;let f=0;for(;s&&(s.nodeType===Node.ELEMENT_NODE&&(i===void 0||s.tagName.toLowerCase()===i)&&f++,s!==r);)s=s.nextSibling;return f}function kg(r,i){let u=0,s=r;const f=[];for(;s&&s!==i;){const m=s.tagName.toLowerCase(),x=Vr(s,m);if(x===void 0)return;f.push({name:Nu(m,x),penalty:NaN,level:u}),s=s.parentElement,u++}if(Zr(f,i))return f}function Og(r,i){return r==="html"?"html":`${r}:nth-child(${i})`}function Nu(r,i){return r==="html"?"html":`${r}:nth-of-type(${i})`}function*_u(r,i=[]){if(r.length>0)for(let u of r[0])yield*_u(r.slice(1,r.length),i.concat(u));else yield i}function jg(r,i){return r.nodeType===Node.DOCUMENT_NODE?r:r===i.root?r.ownerDocument:r}function Zr(r,i){const u=Wn(r);switch(i.querySelectorAll(u).length){case 0:throw new Error(`Can't select any node with this selector: ${u}`);case 1:return!0;default:return!1}}function*ku(r,i,u,s,f){if(r.length>2&&r.length>u.optimizedMinLength)for(let m=1;m<r.length-1;m++){if(new Date().getTime()-f.getTime()>u.timeoutMs)return;const N=[...r];N.splice(m,1),Zr(N,s)&&s.querySelector(Wn(N))===i&&(yield N,yield*ku(N,i,u,s,f))}}const Bg="#0c8ce9",Ll="data-manus-element-id",Lg=["app","root"],Hg=["P","H1","H2","H3","H4","H5","H6","A","LI","TD","TH","EM","SPAN","LABEL","SMALL","STRONG","BUTTON"];function Qr(r){return r instanceof HTMLElement||r instanceof SVGSVGElement}function Ug(r){if(!r)return!1;const i=r.getBoundingClientRect(),u=window.getComputedStyle(r);return i.width===0||i.height===0||u.opacity==="0"||u.display==="none"||u.visibility==="hidden"||r instanceof HTMLElement&&r.offsetParent===null}function qg(r){if(!r)return!1;const i=r.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=window.innerHeight&&i.right<=window.innerWidth}function Gg(r){if(!r)return!0;const i=r.getBoundingClientRect();return i.bottom<0||i.top>window.innerHeight||i.right<0||i.left>window.innerWidth}function ba(r){if(r.nodeType===Node.TEXT_NODE)return!0;if(r.nodeType===Node.ELEMENT_NODE&&r instanceof HTMLElement){const i=getComputedStyle(r);if(r.childNodes.length){for(const u of Array.from(r.childNodes))if(u.nodeType===Node.TEXT_NODE&&u.textContent?.trim())return!0}return Hg.includes(r.tagName)||["inline","inline-block"].includes(i.display)}return!1}function Yg(){return[1e7,-1e3,-4e3,-8e3,-1e11].join("").replace(/[018]/g,r=>(parseInt(r)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(r)/4).toString(16))}function Kr(r){return r?r.getAttribute(Ll)??"":""}function Pr(r){if(!r)return"";const i=Kr(r);if(i)return i;const u=Yg();return r.setAttribute(Ll,u),u}function Xg(r){const i=document.querySelector(`[${Ll}="${r.id}"]`);if(i)return i;try{const u=document.querySelector(r.selector);if(u)return u.setAttribute(Ll,r.id),u}catch(u){console.warn("Invalid selector in getElementByIdOrSelector:",r.selector,u)}return null}function Ou(r,i){if(!(!r||!ba(r))&&r instanceof HTMLElement)if(i){if(r.isContentEditable)return;r.contentEditable="plaintext-only",r.style.setProperty("cursor","text","important"),r.style.setProperty("text-wrap","wrap","important"),r.style.setProperty("caret-color",Bg,"important"),r.focus()}else r.removeAttribute("contenteditable"),r.style.removeProperty("cursor"),r.style.removeProperty("text-wrap"),r.style.removeProperty("caret-color"),r.blur()}function ni(r){r&&(r._srcOriginal=r._srcOriginal??r.src??"",r._hrefOriginal=r._hrefOriginal??r.href??"",r._innerHTMLOriginal=r._innerHTMLOriginal??r.innerHTML,r._textContentOriginal=r._textContentOriginal??r.textContent??"",r instanceof HTMLElement&&(r._classNameOriginal=r._classNameOriginal??r.className??""),r._manusImportantProperties||(r._manusImportantProperties=new Set))}function Jr(r){if(r&&(["IMG","VIDEO"].includes(r.tagName)&&r.src!==r._srcOriginal&&(r.src=r._srcOriginal),ba(r)&&r.textContent!==r._textContentOriginal&&(r.innerHTML=r._innerHTMLOriginal||""),"href"in r&&r.href!==r._hrefOriginal&&(r.href=r._hrefOriginal),r instanceof HTMLElement&&r.className!==r._classNameOriginal&&(r.className=r._classNameOriginal||""),r._manusImportantProperties?.size)){for(const i of r._manusImportantProperties)r.style.removeProperty(i);r._manusImportantProperties.clear()}}function Vg(r){const i=getComputedStyle(r);return{color:i.color,backgroundColor:i.backgroundColor,width:i.width,height:i.height,display:i.display,objectFit:i.objectFit,fontSize:i.fontSize,fontStyle:i.fontStyle,fontWeight:i.fontWeight,fontFamily:i.fontFamily,textAlign:i.textAlign,textDecoration:i.textDecoration,borderRadius:i.borderRadius,borderWidth:i.borderWidth,borderStyle:i.borderStyle,borderColor:i.borderColor,opacity:i.opacity,marginLeft:i.marginLeft,marginRight:i.marginRight,marginTop:i.marginTop,marginBottom:i.marginBottom,paddingLeft:i.paddingLeft,paddingRight:i.paddingRight,paddingTop:i.paddingTop,paddingBottom:i.paddingBottom}}function Zg(r,i,u){if(!r)return;const s=i.split(/(?=[A-Z])/).join("-").toLowerCase();u?(r.style.setProperty(s,u,"important"),i==="height"&&r.style.setProperty("min-height","auto","important"),r._manusImportantProperties||(r._manusImportantProperties=new Set),r._manusImportantProperties.add(s),i==="height"&&r._manusImportantProperties.add("min-height")):(r.style.removeProperty(s),r._manusImportantProperties?.delete(s),i==="height"&&(r.style.removeProperty("min-height"),r._manusImportantProperties?.delete("min-height")))}function Wr(r){if(!r)throw new Error("Target element is required");return ni(r),Pr(r),{id:Kr(r),selector:Yr(r,{seedMinLength:3,optimizedMinLength:2}),tagName:r.tagName.toLowerCase(),isText:ba(r),isImage:r.tagName==="IMG",isVideo:r.tagName==="VIDEO",isCanvas:r.tagName==="CANVAS",isLink:r.tagName==="A",style:Vg(r),src:r.src||"",href:r.href||"",innerHTML:r.innerHTML,textContent:r.textContent||"",className:r.className,comment:r._comment||"",window:{innerWidth:window.innerWidth,innerHeight:window.innerHeight},jsxLoc:r.getAttribute("data-loc")||void 0}}function Qg(r){r&&(qg(r)||r.scrollIntoView({behavior:"smooth",block:"center"}))}function ju(r){const i=r.getBoundingClientRect();return{x:i.left+i.width/2,y:i.top+i.height/2}}function Kg(r,i,u){switch(u){case"up":return i.y<r.y-0;case"down":return i.y>r.y+0;case"left":return i.x<r.x-0;case"right":return i.x>r.x+0}}function Bu(r,i){return r.contains(i)&&r!==i}function Lu(r){let i=0,u=r.parentElement;for(;u;)i++,u=u.parentElement;return i}function Pg(r,i,u,s,f){const m=s.x-i.x,x=s.y-i.y,N=Math.sqrt(m*m+x*x);let C=0;switch(f){case"up":case"down":C=Math.abs(m);break;case"left":case"right":C=Math.abs(x);break}let v=0;Bu(u,r)&&(v+=1e4),Bu(r,u)&&(v+=5e3);const D=Math.abs(Lu(u)-Lu(r));return v+=D*100,N+C*1.5+v}function Jg(r,i){const u=document.querySelectorAll("*"),s=[];for(const f of Array.from(u))!(f instanceof HTMLElement)&&!(f instanceof SVGSVGElement)||r&&f===r||Qr(f)&&(Ug(f)||i&&f instanceof HTMLElement&&i(f)||["SCRIPT","STYLE"].includes(f.tagName)||s.push(f));return s}function Wg(r,i,u){const s=ju(r),f=Jg(r,u);let m=null,x=1/0;for(const N of f){const C=ju(N);if(!Kg(s,C,i))continue;const v=Pg(r,s,N,C,i);v<x&&(x=v,m=N)}return m}function $g(r){if(!r)return!1;const i=r.tagName;if(["HTML","BODY","HEAD"].includes(i))return!1;if(r instanceof HTMLElement){const u=r.id;if(Lg.includes(u))return!1}return!0}function Fg(r){if(!r.parentElement)return null;const i=r.parentElement,u=Pr(i),s=Yr(i,{seedMinLength:3,optimizedMinLength:2});let f=null,m=null;const x=r.nextElementSibling;return x&&(f=Pr(x),m=Yr(x,{seedMinLength:3,optimizedMinLength:2})),{parentId:u,parentSelector:s,nextSiblingId:f,nextSiblingSelector:m,outerHTML:r.outerHTML,comment:r._comment}}function Hu(r){let i=document.querySelector(`[${Ll}="${r.parentId}"]`);if(!i)try{i=document.querySelector(r.parentSelector),i&&i.setAttribute(Ll,r.parentId)}catch(m){return console.warn("Failed to find parent element for restoration:",m),null}if(!i)return console.warn("Parent element not found for restoration"),null;const u=document.createElement("div");u.innerHTML=r.outerHTML;const s=u.firstElementChild;if(!s)return console.warn("Failed to parse outerHTML for restoration"),null;let f=null;if(r.nextSiblingId&&(f=document.querySelector(`[${Ll}="${r.nextSiblingId}"]`),!f&&r.nextSiblingSelector))try{f=document.querySelector(r.nextSiblingSelector),f&&f.setAttribute(Ll,r.nextSiblingId)}catch(m){console.warn("Failed to find next sibling for restoration:",m)}return f&&f.parentElement===i?i.insertBefore(s,f):i.appendChild(s),r.comment&&(s._comment=r.comment),s}const ft=r=>{const i=Number.parseInt(r);return Number.isNaN(i)?0:i},gl=r=>{if(!r||r==="transparent")return"transparent";const i=r.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(i){const u=Number.parseInt(i[1]).toString(16).padStart(2,"0"),s=Number.parseInt(i[2]).toString(16).padStart(2,"0"),f=Number.parseInt(i[3]).toString(16).padStart(2,"0");return`#${u}${s}${f}`}return r};function xa({label:r,children:i,isOpen:u,onToggle:s}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:18",style:{borderBottom:"1px solid var(--border-main)"},className:"last:border-b-0",children:[h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:24",onClick:s,className:"w-full flex items-center justify-between py-2.5 px-3 hover:bg-[var(--fill-tsp-white-light)] active:opacity-80 transition-all",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:28",className:"text-sm text-[var(--text-primary)]",children:r}),h.jsx("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:29",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:Ae.cn("text-[var(--icon-tertiary)] transition-transform duration-200",u?"rotate-180":""),children:h.jsx("polyline",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:43",points:"6 9 12 15 18 9"})})]}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:46",className:"grid transition-all duration-200 ease-in-out overflow-hidden",style:{gridTemplateRows:u?"1fr":"0fr",opacity:u?1:0},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:53",className:"min-h-0",children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:54",className:"px-3 pb-3 pt-0 space-y-2.5",children:i})})})]})}const Ig={background:"var(--fill-tsp-white-main)",MozAppearance:"textfield"},t0="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-ew-resize [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none";function xe({value:r,onChange:i,placeholder:u="",min:s,step:f=1,className:m=t0,style:x=Ig,leftLabel:N}){const[C,v]=U.useState(!1),[D,R]=U.useState(!1),J=U.useRef(0),$=U.useRef(0),F=U.useRef(null),at=U.useRef(i),ct=U.useRef(f),ht=U.useRef(s);U.useEffect(()=>{at.current=i,ct.current=f,ht.current=s},[i,f,s]);const St=Y=>{if(document.activeElement===F.current)return;R(!0),J.current=Y.clientX;const H=parseFloat(r)||0;$.current=H};U.useEffect(()=>{if(!D&&!C)return;const Y=it=>{if(!C&&D){Math.abs(it.clientX-J.current)>3&&(v(!0),R(!1),document.body.style.cursor="ew-resize",document.body.style.userSelect="none",F.current?.blur());return}if(C){const rt=it.clientX-J.current,X=Math.round(rt/2)*ct.current;let xt=$.current+X;ht.current!==void 0&&xt<ht.current&&(xt=ht.current),at.current(String(xt))}},H=()=>{v(!1),R(!1),document.body.style.cursor="",document.body.style.userSelect=""};return document.addEventListener("mousemove",Y),document.addEventListener("mouseup",H),()=>{document.removeEventListener("mousemove",Y),document.removeEventListener("mouseup",H)}},[C,D]);const k=h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:116",ref:F,type:"number",min:s,step:f,value:r,onChange:Y=>i(Y.target.value),onMouseDown:St,placeholder:u,style:x,className:N?`${m} pl-7`:m});return N?h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:132",className:"relative",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:133",className:"absolute left-2.5 top-1/2 -translate-y-1/2 text-sm text-[var(--text-tertiary)] pointer-events-none",children:N}),k]}):k}function e0(r){const[i,u]=U.useState("padding"),s=f=>{u(m=>m===f?null:f)};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:39",style:{borderTop:"1px solid var(--border-main)"},children:[h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:44",label:"Padding",isOpen:i==="padding",onToggle:()=>s("padding"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:49",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:50",min:0,step:1,value:r.paddingTop,onChange:r.onPaddingTopChange,placeholder:"0",leftLabel:"T"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:58",min:0,step:1,value:r.paddingRight,onChange:r.onPaddingRightChange,placeholder:"0",leftLabel:"R"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:66",min:0,step:1,value:r.paddingBottom,onChange:r.onPaddingBottomChange,placeholder:"0",leftLabel:"B"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:74",min:0,step:1,value:r.paddingLeft,onChange:r.onPaddingLeftChange,placeholder:"0",leftLabel:"L"})]})}),h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:85",label:"Margin",isOpen:i==="margin",onToggle:()=>s("margin"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:90",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:91",step:1,value:r.marginTop,onChange:r.onMarginTopChange,placeholder:"0",leftLabel:"T"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:98",step:1,value:r.marginRight,onChange:r.onMarginRightChange,placeholder:"0",leftLabel:"R"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:105",step:1,value:r.marginBottom,onChange:r.onMarginBottomChange,placeholder:"0",leftLabel:"B"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:112",step:1,value:r.marginLeft,onChange:r.onMarginLeftChange,placeholder:"0",leftLabel:"L"})]})}),h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:122",label:"Dimensions",isOpen:i==="dimensions",onToggle:()=>s("dimensions"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:127",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:128",min:0,step:1,value:r.width,onChange:r.onWidthChange,placeholder:"0",leftLabel:"W"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:136",min:0,step:1,value:r.height,onChange:r.onHeightChange,placeholder:"0",leftLabel:"H"})]})})]})}function $r({value:r,onChange:i}){const u=U.useRef(null),s=m=>!m||m==="transparent"?"#ffffff":m.startsWith("#")||m.startsWith("#")?m:"#ffffff",f=()=>{u.current?.click()};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:25",className:"relative flex items-center",children:[h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:26",type:"text",value:r,onChange:m=>i(m.target.value),onClick:f,placeholder:"#000000",className:"w-full text-sm px-2.5 py-1.5 pl-10 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-pointer"}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:34",className:"absolute left-2.5 pointer-events-none",children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:35",className:"w-5 h-5 rounded border border-black/20 overflow-hidden shadow-sm",style:{backgroundColor:r,boxShadow:"inset 0 1px 2px rgba(0,0,0,0.1)"},children:h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:42",ref:u,type:"color",value:s(r),onChange:m=>i(m.target.value),className:"w-[150%] h-[150%] cursor-pointer border-0 -m-[25%] opacity-0 pointer-events-auto",title:"Pick a color"})})})]})}const l0={background:"var(--fill-tsp-white-main)"},a0="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",nn="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-pointer appearance-none",on={background:"var(--fill-tsp-white-main)",backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E")`,backgroundPosition:"right 0.5rem center",backgroundSize:"16px 16px",backgroundRepeat:"no-repeat",paddingRight:"2rem"};function n0(r){const[i,u]=U.useState("colors"),s=f=>{u(m=>m===f?null:f)};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:70",style:{borderTop:"1px solid var(--border-main)"},children:[h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:75",label:"Colors",isOpen:i==="colors",onToggle:()=>s("colors"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:80",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[r.result.isText&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:82",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:83",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text color"}),h.jsx($r,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:86",value:r.color,onChange:r.onColorChange})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:89",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:90",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Background"}),h.jsx($r,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:93",value:r.backgroundColor,onChange:r.onBackgroundColorChange})]})]})}),r.result.isText&&h.jsxs(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:102",label:"Typography",isOpen:i==="typography",onToggle:()=>s("typography"),children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:107",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:108",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:109",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font size"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:112",min:0,step:1,value:r.fontSize,onChange:r.onFontSizeChange,placeholder:"px"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:120",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:121",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font weight"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:124",value:r.fontWeight,onChange:f=>r.onFontWeightChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:130",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:131",value:"100",children:"Thin (100)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:132",value:"200",children:"Extra Light (200)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:133",value:"300",children:"Light (300)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:134",value:"400",children:"Normal (400)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:135",value:"500",children:"Medium (500)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:136",value:"600",children:"Semi Bold (600)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:137",value:"700",children:"Bold (700)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:138",value:"800",children:"Extra Bold (800)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:139",value:"900",children:"Black (900)"})]})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:143",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:144",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font family"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:147",type:"text",value:r.fontFamily,onChange:f=>r.onFontFamilyChange(f.target.value),placeholder:"e.g., Arial, sans-serif",style:l0,className:a0})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:156",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:157",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:158",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text align"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:161",value:r.textAlign,onChange:f=>r.onTextAlignChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:167",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:168",value:"left",children:"Left"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:169",value:"center",children:"Center"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:170",value:"right",children:"Right"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:171",value:"justify",children:"Justify"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:174",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:175",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text decoration"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:178",value:r.textDecoration,onChange:f=>r.onTextDecorationChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:184",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:185",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:186",value:"underline",children:"Underline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:187",value:"overline",children:"Overline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:188",value:"line-through",children:"Line Through"})]})]})]})]}),h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:195",label:"Border",isOpen:i==="border",onToggle:()=>s("border"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:200",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:201",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:202",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border color"}),h.jsx($r,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:205",value:r.borderColor,onChange:r.onBorderColorChange})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:210",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:211",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Radius"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:214",min:0,step:1,value:r.borderRadius,onChange:r.onBorderRadiusChange,placeholder:"px"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:222",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:223",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border style"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:226",value:r.borderStyle,onChange:f=>r.onBorderStyleChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:232",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:233",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:234",value:"solid",children:"Solid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:235",value:"dashed",children:"Dashed"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:236",value:"dotted",children:"Dotted"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:237",value:"double",children:"Double"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:238",value:"groove",children:"Groove"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:239",value:"ridge",children:"Ridge"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:240",value:"inset",children:"Inset"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:241",value:"outset",children:"Outset"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:244",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:245",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border weight"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:248",min:0,step:1,value:r.borderWidth,onChange:r.onBorderWidthChange,placeholder:"px"})]})]})}),h.jsx(xa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:259",label:"Display",isOpen:i==="display",onToggle:()=>s("display"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:264",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:265",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:266",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Behavior"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:269",value:r.display,onChange:f=>r.onDisplayChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:275",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:276",value:"block",children:"Block"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:277",value:"inline",children:"Inline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:278",value:"inline-block",children:"Inline Block"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:279",value:"flex",children:"Flex"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:280",value:"inline-flex",children:"Inline Flex"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:281",value:"grid",children:"Grid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:282",value:"inline-grid",children:"Inline Grid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:283",value:"none",children:"None (Hidden)"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:286",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:287",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Opacity"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:290",min:0,step:.1,value:r.opacity,onChange:r.onOpacityChange,placeholder:"0-1"})]}),(r.result.isImage||r.result.isVideo)&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:299",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:300",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Object fit"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:303",value:r.objectFit,onChange:f=>r.onObjectFitChange(f.target.value),style:on,className:nn,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:309",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:310",value:"contain",children:"Contain"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:311",value:"cover",children:"Cover"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:312",value:"fill",children:"Fill"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:313",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:314",value:"scale-down",children:"Scale Down"})]})]})]})})]})}const oi=8,we=16,wa=320,Uu=600;function o0(r){const i=U.useRef(null),u=U.useRef(null),s=U.useRef(null),f=U.useRef(!1),[m,x]=U.useState(0),[N,C]=U.useState(0),[v,D]=U.useState(!1),[R,J]=U.useState("styles"),[$,F]=U.useState(""),[at,ct]=U.useState(""),[ht,St]=U.useState(""),[k,Y]=U.useState(""),[H,it]=U.useState(""),[rt,X]=U.useState(""),[xt,Be]=U.useState(""),[It,Bt]=U.useState(""),[me,Se]=U.useState(""),[Mt,A]=U.useState(""),[G,B]=U.useState(""),[bt,p]=U.useState(""),[j,V]=U.useState(""),[q,Z]=U.useState(""),[st,tt]=U.useState(""),[gt,Tt]=U.useState(""),[Pt,Ke]=U.useState(""),[Ce,Pe]=U.useState(""),[pl,rn]=U.useState(""),[Sa,ii]=U.useState(""),[ge,ri]=U.useState(""),[Hl,$n]=U.useState(""),[nl,si]=U.useState(""),[Ul,ci]=U.useState(""),[Ca,ql]=U.useState(""),[Jt,Je]=U.useState(""),[Wt,ui]=U.useState(""),[Ea,di]=U.useState(""),L=U.useMemo(()=>Wr(r.targetElement),[r.targetElement]),sn=ot(M=>{const nt=r.targetElement;nt&&(nt.textContent!==null&&(nt.textContent=M),r.highlighter.scheduleRender())}),yl=ot(M=>{const nt=r.targetElement;nt&&("src"in nt&&typeof nt.src=="string"&&(nt.src=M),r.highlighter.scheduleRender())}),cn=ot(M=>{const nt=r.targetElement;nt&&("href"in nt&&typeof nt.href=="string"&&(nt.href=M),r.highlighter.scheduleRender())}),Dt=ot((M,nt)=>{const Ot=r.targetElement;if(!Ot)return;const ee=M.split(/(?=[A-Z])/).join("-").toLowerCase();nt?Ot.style.setProperty(ee,nt,"important"):Ot.style.removeProperty(ee),r.highlighter.scheduleRender()}),Fn=ot(()=>{f.current=!0,Jr(r.targetElement),r.onDisposed()}),In=ot(()=>{r.onDisposed()}),fi=ot(async()=>{const M=$.trim(),nt=L.comment,Ot=at!==L.textContent,ee=ht!==L.src,Ee=k!==L.href,le=M!==nt,Le=gl(L.style.color),He=gl(L.style.backgroundColor),Zl=ft(L.style.fontSize).toString(),bl=ft(L.style.borderRadius).toString(),Vt=ft(L.style.paddingTop).toString(),il=ft(L.style.paddingRight).toString(),ve=ft(L.style.paddingBottom).toString(),re=ft(L.style.paddingLeft).toString(),rl=ft(L.style.marginTop).toString(),xl=ft(L.style.marginRight).toString(),un=ft(L.style.marginBottom).toString(),se=ft(L.style.marginLeft).toString(),Ql=ft(L.style.width).toString(),Ra=ft(L.style.height).toString(),Kl=L.style.fontWeight,$e=L.style.fontFamily,za=L.style.textAlign,Na=L.style.textDecoration,Fe=L.style.display,dn=L.style.opacity,_a=L.style.objectFit,ka=ft(L.style.borderWidth).toString(),Oa=L.style.borderStyle,wi=gl(L.style.borderColor),Si=H!==Le,ja=rt!==He,fn=xt!==Zl,hn=It!==bl,wl=me!==Vt,Sl=Mt!==il,oo=G!==ve,mn=bt!==re,io=j!==rl,Pl=q!==xl,Ue=st!==un,gn=gt!==se,Jl=Pt!==Ql,Ie=Ce!==Ra,pn=pl!==Kl,Ba=Sa!==$e,ro=ge!==za,La=Hl!==Na,Ha=nl!==Fe,so=Ul!==dn,ce=Ca!==_a,sl=Jt!==ka,Ua=Wt!==Oa,Wl=Ea!==wi,Ci=Si||ja||fn||hn||wl||Sl||oo||mn||io||Pl||Ue||gn||Jl||Ie||pn||Ba||ro||La||Ha||so||ce||sl||Ua||Wl;if(!(Ot||ee||Ee||Ci||le))return;const co={textContent:Ot?{original:L.textContent,modified:at}:void 0,src:ee?{original:L.src,modified:ht}:void 0,href:Ee?{original:L.href,modified:k}:void 0,comment:le?{original:nt,modified:M}:void 0,style:Ci?{...Si&&{color:{original:Le,modified:H}},...ja&&{backgroundColor:{original:He,modified:rt}},...fn&&{fontSize:{original:`${Zl}px`,modified:`${xt}px`}},...hn&&{borderRadius:{original:`${bl}px`,modified:`${It}px`}},...wl&&{paddingTop:{original:`${Vt}px`,modified:`${me}px`}},...Sl&&{paddingRight:{original:`${il}px`,modified:`${Mt}px`}},...oo&&{paddingBottom:{original:`${ve}px`,modified:`${G}px`}},...mn&&{paddingLeft:{original:`${re}px`,modified:`${bt}px`}},...io&&{marginTop:{original:`${rl}px`,modified:`${j}px`}},...Pl&&{marginRight:{original:`${xl}px`,modified:`${q}px`}},...Ue&&{marginBottom:{original:`${un}px`,modified:`${st}px`}},...gn&&{marginLeft:{original:`${se}px`,modified:`${gt}px`}},...Jl&&{width:{original:`${Ql}px`,modified:`${Pt}px`}},...Ie&&{height:{original:`${Ra}px`,modified:`${Ce}px`}},...pn&&{fontWeight:{original:Kl,modified:pl}},...Ba&&{fontFamily:{original:$e,modified:Sa}},...ro&&{textAlign:{original:za,modified:ge}},...La&&{textDecoration:{original:Na,modified:Hl}},...Ha&&{display:{original:Fe,modified:nl}},...so&&{opacity:{original:dn,modified:Ul}},...ce&&{objectFit:{original:_a,modified:Ca}},...sl&&{borderWidth:{original:`${ka}px`,modified:`${Jt}px`}},...Ua&&{borderStyle:{original:Oa,modified:Wt}},...Wl&&{borderColor:{original:wi,modified:Ea}}}:void 0};M?r.targetElement._comment=M:r.targetElement._comment&&delete r.targetElement._comment,r.onSaveChanges({element:L,changes:co,screenshot:null})}),to=ot(M=>{ct(M),sn(M)}),Ta=ot(M=>{St(M),yl(M)}),Fr=ot(M=>{Y(M),cn(M)}),hi=ot(M=>{it(M),Dt("color",M)}),mi=ot(M=>{X(M),Dt("backgroundColor",M)}),eo=ot(M=>{Be(M),Dt("fontSize",M?`${M}px`:"")}),lo=ot(M=>{Bt(M),Dt("borderRadius",M?`${M}px`:"")}),gi=ot(M=>{Se(M),Dt("paddingTop",M?`${M}px`:"")}),Ir=ot(M=>{B(M),Dt("paddingBottom",M?`${M}px`:"")}),ol=ot(M=>{A(M),Dt("paddingRight",M?`${M}px`:"")}),te=ot(M=>{p(M),Dt("paddingLeft",M?`${M}px`:"")}),pe=ot(M=>{V(M),Dt("marginTop",M?`${M}px`:"")}),Gl=ot(M=>{Z(M),Dt("marginRight",M?`${M}px`:"")}),ao=ot(M=>{tt(M),Dt("marginBottom",M?`${M}px`:"")}),ts=ot(M=>{Tt(M),Dt("marginLeft",M?`${M}px`:"")}),es=ot(M=>{Ke(M),Dt("width",M?`${M}px`:"")}),pi=ot(M=>{Pe(M),Dt("height",M?`${M}px`:"")}),Da=ot(M=>{rn(M),Dt("fontWeight",M)}),no=ot(M=>{ii(M),Dt("fontFamily",M)}),Yl=ot(M=>{ri(M),Dt("textAlign",M)}),Xl=ot(M=>{$n(M),Dt("textDecoration",M)}),Ma=ot(M=>{si(M),Dt("display",M)}),Vl=ot(M=>{ci(M),Dt("opacity",M)}),Xt=ot(M=>{ql(M),Dt("objectFit",M)}),yi=ot(M=>{Je(M),Dt("borderWidth",M?`${M}px`:"")}),vi=ot(M=>{ui(M),Dt("borderStyle",M)}),vl=ot(M=>{di(M),Dt("borderColor",M)}),We=U.useMemo(()=>{const M=at!==L.textContent,nt=ht!==L.src,Ot=k!==L.href,ee=$.trim()!==L.comment,Ee=gl(L.style.color),le=gl(L.style.backgroundColor),Le=ft(L.style.fontSize).toString(),He=ft(L.style.borderRadius).toString(),Zl=ft(L.style.paddingTop).toString(),bl=ft(L.style.paddingRight).toString(),Vt=ft(L.style.paddingBottom).toString(),il=ft(L.style.paddingLeft).toString(),ve=ft(L.style.marginTop).toString(),re=ft(L.style.marginRight).toString(),rl=ft(L.style.marginBottom).toString(),xl=ft(L.style.marginLeft).toString(),un=ft(L.style.width).toString(),se=ft(L.style.height).toString(),Ql=L.style.fontWeight,Ra=L.style.fontFamily,Kl=L.style.textAlign,$e=L.style.textDecoration,za=L.style.display,Na=L.style.opacity,Fe=L.style.objectFit,dn=ft(L.style.borderWidth).toString(),_a=L.style.borderStyle,ka=gl(L.style.borderColor);return M||nt||Ot||ee||(H!==Ee||rt!==le||xt!==Le||It!==He||me!==Zl||Mt!==bl||G!==Vt||bt!==il||j!==ve||q!==re||st!==rl||gt!==xl||Pt!==un||Ce!==se||pl!==Ql||Sa!==Ra||ge!==Kl||Hl!==$e||nl!==za||Ul!==Na||Ca!==Fe||Jt!==dn||Wt!==_a||Ea!==ka)},[L,at,ht,k,H,rt,xt,It,me,Mt,G,bt,j,q,st,gt,Pt,Ce,pl,Sa,ge,Hl,nl,Ul,Ca,Jt,Wt,Ea,r.targetElement,$]),{onCompositionEnd:ls,onCompositionStart:bi,onKeyDown:xi}=Tg({onKeyDown:M=>{M.key==="Escape"?Fn():M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),In())}}),Aa=ot((M=!1)=>{if(!i.current)return;const nt=r.targetElement.getBoundingClientRect(),Ot=window.innerWidth,ee=window.innerHeight,Ee=i.current.offsetHeight||0,le=Ee>0?Ee:Uu;let Le=m,He=N;if(!M){const bl=(re,rl)=>re>=we&&re+wa<=Ot-we&&rl>=we&&rl+le<=ee-we,Vt=()=>{const re=nt.top+nt.height/2-le/2;return Math.max(we,Math.min(re,ee-we-le))},il=[{left:nt.right+oi,top:Vt(),name:"right"},{left:nt.left-wa-oi,top:Vt(),name:"left"},{left:Math.max(we,Math.min(nt.left,Ot-we-wa)),top:nt.bottom+oi,name:"below"},{left:Math.max(we,Math.min(nt.left,Ot-we-wa)),top:nt.top-le-oi,name:"above"}];let ve=il.find(re=>bl(re.left,re.top));ve||(ve=il[0],ve.left=Math.max(we,Math.min(ve.left,Ot-we-wa)),ve.top=Math.max(we,Math.min(ve.top,ee-we-le))),Le=ve.left,He=ve.top,x(Le),C(He),D(!0)}const Zl=new DOMRect(Le,He,wa,le);r.highlighter.addExclusionRect("control-panel",Zl)});return U.useEffect(()=>{if(!i.current||!v)return;const M=new ResizeObserver(()=>{i.current&&Aa(!0)});return M.observe(i.current),()=>{M.disconnect()}},[v,Aa]),U.useEffect(()=>{s.current&&(s.current.style.height="auto",s.current.style.height=`${Math.min(s.current.scrollHeight,200)}px`)},[at]),U.useEffect(()=>{F(L.comment),ct(r.targetElement.textContent||""),St(r.targetElement.src||""),Y(r.targetElement.href||""),it(gl(L.style.color)),X(gl(L.style.backgroundColor)),Be(ft(L.style.fontSize).toString()),Bt(ft(L.style.borderRadius).toString()),Se(ft(L.style.paddingTop).toString()),A(ft(L.style.paddingRight).toString()),B(ft(L.style.paddingBottom).toString()),p(ft(L.style.paddingLeft).toString()),V(ft(L.style.marginTop).toString()),Z(ft(L.style.marginRight).toString()),tt(ft(L.style.marginBottom).toString()),Tt(ft(L.style.marginLeft).toString()),Ke(ft(L.style.width).toString()),Pe(ft(L.style.height).toString()),rn(L.style.fontWeight),ii(L.style.fontFamily),ri(L.style.textAlign),$n(L.style.textDecoration),si(L.style.display),ci(L.style.opacity),ql(L.style.objectFit),Je(ft(L.style.borderWidth).toString()),ui(L.style.borderStyle),di(gl(L.style.borderColor));const M=()=>{const Ee=r.targetElement.textContent||"";ct(Ee)},nt=()=>{Aa()},Ot=Ee=>{Ee.key==="Escape"&&Fn()},ee=()=>{Aa()};return Aa(),u.current?.focus(),L.isText&&r.targetElement.addEventListener("input",M),window.addEventListener("resize",nt),window.addEventListener("scroll",ee,{passive:!0}),document.addEventListener("keydown",Ot),()=>{L.isText&&r.targetElement.removeEventListener("input",M),window.removeEventListener("resize",nt),window.removeEventListener("scroll",ee),document.removeEventListener("keydown",Ot),r.highlighter.removeExclusionRect("control-panel"),f.current||fi()}},[]),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:997",className:"fixed left-0 right-0 top-0 bottom-0 pointer-events-none",style:{zIndex:2147483645},children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1001",[al]:"true",onMouseDown:M=>M.stopPropagation(),ref:i,className:"absolute pointer-events-auto rounded-[20px] border border-[var(--border-main)] overflow-hidden bg-[var(--background-menu-gray)] shadow-[0px_8px_32px_0px_var(--shadow-S)] flex flex-col",style:{left:m,top:N,width:`${wa}px`,maxHeight:`${Uu}px`,opacity:v?1:0,transform:v?"scale(1)":"scale(0.95)",transition:"opacity 0.2s, transform 0.2s"},children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1017",className:"flex flex-col flex-shrink-0",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1019",className:"flex items-end mx-2 pt-2.5 pb-1.5 pl-1 gap-1.5 border-b border-main",children:[h.jsx("textarea",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1020",ref:u,rows:1,className:"flex-1 text-sm py-1 bg-[var(--background-menu-gray)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] resize-none overflow-hidden",value:$,onChange:M=>F(M.target.value),onCompositionStart:bi,onCompositionEnd:ls,onKeyDown:xi,placeholder:"Describe a change",onInput:M=>{const nt=M.target;nt.style.height="auto",nt.style.height=`${nt.scrollHeight}px`}}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1064",className:"w-px h-4 mb-[6px] bg-[var(--border-main)] flex-shrink-0"}),h.jsx("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1065",onClick:We?In:Fn,className:Ae.cn("flex items-center justify-center size-7 rounded-full transition-all active:opacity-80 outline-none flex-shrink-0",We?"bg-[var(--Button-primary-brand)] text-white hover:opacity-90 focus:opacity-90":"text-[var(--text-tertiary)] hover:bg-[var(--fill-tsp-white-main)] focus:bg-[var(--fill-tsp-white-main)]"),title:We?"Save and close":"Close",children:We?h.jsx("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1076",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1082",d:"M6.92786 13.1812C6.59033 13.1812 6.31903 13.0723 6.11395 12.8544C5.90887 12.6407 5.80634 12.3566 5.80634 12.002V5.59973L5.9281 2.92731L6.54974 3.40796L4.92194 5.3562L3.4928 6.79175C3.39026 6.89429 3.27277 6.97974 3.14032 7.0481C3.01215 7.11646 2.86261 7.15063 2.69171 7.15063C2.39264 7.15063 2.14056 7.05237 1.93549 6.85583C1.73468 6.65503 1.63428 6.39655 1.63428 6.08038C1.63428 5.77704 1.74963 5.51001 1.98035 5.2793L6.10754 1.14569C6.20581 1.04315 6.32971 0.964111 6.47925 0.908569C6.62878 0.848755 6.77832 0.818848 6.92786 0.818848C7.07739 0.818848 7.22693 0.848755 7.37646 0.908569C7.526 0.964111 7.65204 1.04315 7.75458 1.14569L11.8818 5.2793C12.1125 5.51001 12.2278 5.77704 12.2278 6.08038C12.2278 6.39655 12.1253 6.65503 11.9202 6.85583C11.7194 7.05237 11.4695 7.15063 11.1704 7.15063C10.9995 7.15063 10.8478 7.11646 10.7154 7.0481C10.5872 6.97974 10.4719 6.89429 10.3693 6.79175L8.93378 5.3562L7.30597 3.40796L7.92761 2.92731L8.04297 5.59973V12.002C8.04297 12.3566 7.94043 12.6407 7.73535 12.8544C7.53027 13.0723 7.26111 13.1812 6.92786 13.1812Z",fill:"currentColor"})}):h.jsxs("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1088",xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 14 14",fill:"none",strokeWidth:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("line",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1099",x1:"14",y1:"0",x2:"0",y2:"14"}),h.jsx("line",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1100",x1:"0",y1:"0",x2:"14",y2:"14"})]})})]}),(L.isText||L.isImage||L.isLink)&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1108",className:"px-2.5 pt-3 flex flex-col gap-2",children:[L.isText&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1110",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1111",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Text content"}),h.jsx("textarea",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1114",ref:s,style:{minHeight:"34px",maxHeight:"200px"},className:"w-full resize-y rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] px-2.5 py-1.5 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] overflow-y-auto",value:at,onChange:M=>to(M.target.value),placeholder:"Edit text content...",onInput:M=>{const nt=M.target;nt.style.height="auto",nt.style.height=`${Math.min(nt.scrollHeight,200)}px`}})]}),L.isImage&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1134",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1135",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Image source"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1138",type:"text",className:"w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",value:ht,onChange:M=>Ta(M.target.value),placeholder:"Edit image source URL"})]}),L.isLink&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1148",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1149",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Link URL"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1152",type:"text",className:"w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",value:k,onChange:M=>Fr(M.target.value),placeholder:"Edit link URL (href)"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1165",className:"flex items-center gap-0 px-2 pt-1 pb-0",children:[h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1166",onClick:()=>J("styles"),className:Ae.cn("text-sm px-4 py-2 transition-all relative outline-none",R==="styles"?"text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-secondary)] focus:text-[var(--text-secondary)] active:opacity-80"),children:["Style",R==="styles"&&h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1177",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-[var(--text-primary)] rounded-full"})]}),h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1180",onClick:()=>J("spacing"),className:Ae.cn("text-sm px-4 py-2 transition-all relative outline-none",R==="spacing"?"text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-secondary)] focus:text-[var(--text-secondary)] active:opacity-80"),children:["Layout",R==="spacing"&&h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1191",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-[var(--text-primary)] rounded-full"})]})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1198",className:"relative overflow-hidden flex-1",children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1199",className:"transition-all duration-200 ease-in-out",style:{opacity:R==="styles"?1:0,transform:R==="styles"?"translateX(0)":"translateX(-20px)",position:R==="styles"?"relative":"absolute",width:"100%",pointerEvents:R==="styles"?"auto":"none",visibility:R==="styles"?"visible":"hidden"},children:h.jsx(n0,{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1213",result:L,color:H,backgroundColor:rt,onColorChange:hi,onBackgroundColorChange:mi,fontSize:xt,fontWeight:pl,fontFamily:Sa,textAlign:ge,textDecoration:Hl,onFontSizeChange:eo,onFontWeightChange:Da,onFontFamilyChange:no,onTextAlignChange:Yl,onTextDecorationChange:Xl,borderRadius:It,borderWidth:Jt,borderStyle:Wt,borderColor:Ea,onBorderRadiusChange:lo,onBorderWidthChange:yi,onBorderStyleChange:vi,onBorderColorChange:vl,display:nl,opacity:Ul,objectFit:Ca,onDisplayChange:Ma,onOpacityChange:Vl,onObjectFitChange:Xt})}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1245",className:"transition-all duration-200 ease-in-out",style:{opacity:R==="spacing"?1:0,transform:R==="spacing"?"translateX(0)":"translateX(20px)",position:R==="spacing"?"relative":"absolute",width:"100%",pointerEvents:R==="spacing"?"auto":"none",visibility:R==="spacing"?"visible":"hidden"},children:h.jsx(e0,{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1259",paddingTop:me,paddingRight:Mt,paddingBottom:G,paddingLeft:bt,onPaddingTopChange:gi,onPaddingRightChange:ol,onPaddingBottomChange:Ir,onPaddingLeftChange:te,marginTop:j,marginRight:q,marginBottom:st,marginLeft:gt,onMarginTopChange:pe,onMarginRightChange:Gl,onMarginBottomChange:ao,onMarginLeftChange:ts,width:Pt,height:Ce,onWidthChange:es,onHeightChange:pi})})]})]})})}const i0=ti.createOpener(o0,{singleton:!0});class r0{history=[];currentIndex=-1;listeners=[];elementCache=new Map;addEdit(i){this.history=this.history.slice(0,this.currentIndex+1);const u=this.getCachedElement(i.targetData.id,i.targetData);u&&(ni(u),i.target=u),this.history.push(i),this.currentIndex=this.history.length-1,this.notifyListeners()}undo(){if(!this.canUndo())return null;const i=this.history[this.currentIndex],u=i.targetData.id;if(i.changes.deleted){const f=Hu(i.changes.deleted);f&&(this.elementCache.set(u,new WeakRef(f)),i.target=f)}this.currentIndex--;const s=this.rebuildElementState(u,i.targetData);return s&&(i.target=s),this.notifyListeners(),i}redo(){if(!this.canRedo())return null;this.currentIndex++;const i=this.history[this.currentIndex],u=this.rebuildElementState(i.targetData.id,i.targetData);return u&&(i.target=u),this.notifyListeners(),i}canUndo(){return this.currentIndex>=0}canRedo(){return this.currentIndex<this.history.length-1}getActiveEdits(){return this.history.slice(0,this.currentIndex+1)}hasEdits(){return this.currentIndex>=0}clear(){const i=this.getActiveEdits();for(let s=i.length-1;s>=0;s--){const f=i[s];if(f.changes.deleted){const m=Hu(f.changes.deleted);m&&(this.elementCache.set(f.targetData.id,new WeakRef(m)),f.target=m)}}const u=this.collectTargets();for(const s of u.values())Jr(s);this.history=[],this.currentIndex=-1,this.elementCache.clear(),this.notifyListeners()}clearComments(){const i=this.getActiveEdits(),u=new Set;for(const s of i)s.changes.comment&&u.add(s.targetData.id);for(const s of u){const f=this.getCachedElement(s,i.find(m=>m.targetData.id===s).targetData);f&&f._comment&&delete f._comment}this.history=this.history.map(s=>{if(!s.changes.comment)return s;const{comment:f,...m}=s.changes;return m.textContent||m.src||m.href||m.className||m.deleted||m.style&&Object.keys(m.style).length>0?{...s,changes:m}:null}).filter(s=>s!==null),this.currentIndex>=this.history.length&&(this.currentIndex=this.history.length-1),this.notifyListeners()}onChange(i){return this.listeners.push(i),()=>{this.listeners=this.listeners.filter(u=>u!==i)}}notifyListeners(){for(const i of this.listeners)i()}getCachedElement(i,u){const s=this.elementCache.get(i);if(s){const m=s.deref();if(m&&document.contains(m))return m;this.elementCache.delete(i)}const f=Xg(u);return f&&this.elementCache.set(i,new WeakRef(f)),f}rebuildElementState(i,u){const s=this.getCachedElement(i,u);if(!s)return null;if(ni(s),Jr(s),this.currentIndex<0)return s;for(let f=0;f<=this.currentIndex;f++){const m=this.history[f];m.targetData.id===i&&(m.target=s,this.applyChanges(s,m.changes))}return s}applyChanges(i,u){if(u.deleted){i.parentElement&&document.contains(i)&&i.parentElement.removeChild(i);return}if(u.textContent&&i.textContent!==null&&(i.textContent=u.textContent.modified),u.src&&"src"in i&&(i.src=u.src.modified),u.href&&"href"in i&&(i.href=u.href.modified),u.className&&i instanceof HTMLElement&&(i.className=u.className.modified),u.comment&&(i._comment=u.comment.modified),u.style){const s=Object.entries(u.style);for(const[f,m]of s)Zg(i,f,m.modified)}}collectTargets(){const i=new Map,u=this.currentIndex>=0?this.history.slice(0,this.currentIndex+1):[];for(const s of u){const f=s.targetData.id;if(i.has(f))continue;const m=this.getCachedElement(f,s.targetData);m&&(ni(m),s.target=m,i.set(f,m))}return i}}class s0{hoverTarget=null;activeTarget=null;pointerDown=!1;disposeSelectorInput=()=>{};highlighter=new Cg;cursorStyleElement=null;isDirectEditing=!1;removeEnterKeyListener=null;editHistory=new r0;disposeEditToolbar=null;disposeHistoryListener=null;disposeCommentMarkers=null;init(){ie.listenMessage({type:"enableEditMode",callback:()=>{this.enable()}}),ie.listenMessage({type:"disableEditMode",callback:i=>{this.disable(i.keepDomChanges),this.cancel(),this.disposeSelectorInput()}}),ie.listenMessage({type:"hideEditToolBar",callback:()=>{this.hideEditToolbar()}})}enable(){this.highlighter.mount(),this.injectCursorStyle(),this.disposeHistoryListener?.(),this.disposeHistoryListener=this.editHistory.onChange(()=>{this.highlighter.scheduleRender()}),document.addEventListener("pointerover",this.handlePointerOver,!0),document.addEventListener("pointerdown",this.handlePointerDown,!0),document.addEventListener("pointerout",this.handlePointerOut,!0),document.addEventListener("click",this.handleClick,!0),document.addEventListener("keydown",this.handleArrowKeyNavigation,!0),document.addEventListener("keydown",this.handleUndoRedo,!0),document.addEventListener("keydown",this.handleDelete,!0),document.addEventListener("keydown",this.handleGlobalEscape,!0),window.addEventListener("scroll",this.handleScrollOutOfView,!0),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()}disable(i=!1){document.removeEventListener("pointerover",this.handlePointerOver,!0),document.removeEventListener("pointerdown",this.handlePointerDown,!0),document.removeEventListener("pointerout",this.handlePointerOut,!0),document.removeEventListener("click",this.handleClick,!0),document.removeEventListener("keydown",this.handleArrowKeyNavigation,!0),document.removeEventListener("keydown",this.handleUndoRedo,!0),document.removeEventListener("keydown",this.handleDelete,!0),document.removeEventListener("keydown",this.handleGlobalEscape,!0),window.removeEventListener("scroll",this.handleScrollOutOfView,!0),this.highlighter.unmount(),this.removeCursorStyle(),this.exitDirectEditMode(),this.hideEditToolbar(),i||this.editHistory.clear(),this.hideCommentMarkers(),this.disposeHistoryListener?.(),this.disposeHistoryListener=null,this.hoverTarget=null,this.activeTarget=null,this.pointerDown=!1}cancel(){this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,this.pointerDown=!1,this.activeTarget=null,this.hoverTarget=null,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null)}handlePointerOver=i=>{const u=i.target;if(!Qr(u)||!this.isSelectableElement(u)){this.hoverTarget=null,this.highlighter.setHoverTarget(null);return}if(this.isIgnoredElement(u)){this.hoverTarget=null,this.highlighter.setHoverTarget(null);return}this.hoverTarget=u,this.highlighter.setHoverTarget(this.hoverTarget)};handlePointerOut=i=>{i.target&&!this.isSelectableElement(i.target)||i.relatedTarget&&i.relatedTarget instanceof Node&&document.documentElement.contains(i.relatedTarget)||(this.hoverTarget=null,this.highlighter.setHoverTarget(null))};handleScrollOutOfView=()=>{!this.activeTarget||!this.pointerDown||this.isDirectEditing||Gg(this.activeTarget)&&(this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,this.pointerDown=!1,this.activeTarget=null,this.hoverTarget=null,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null))};selectElement(i,u){if(this.activeTarget&&i===this.activeTarget&&ba(i)){this.enterDirectEditMode(i);return}this.pointerDown&&(this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null),this.pointerDown=!0,this.activeTarget=i,this.hoverTarget=i,this.highlighter.setActiveTarget(this.activeTarget),this.highlighter.setHoverTarget(this.hoverTarget),ba(i)&&this.setupEnterKeyListener();const s=u||(()=>{const m=i.getBoundingClientRect();return new MouseEvent("click",{clientX:m.left+m.width/2,clientY:m.top+m.height/2,bubbles:!0,cancelable:!0})})(),f=i0({targetElement:this.activeTarget,mouseEvent:s,highlighter:this.highlighter,onSaveChanges:m=>{this.editHistory.addEdit({target:this.activeTarget,targetData:m.element,changes:m.changes,screenshot:m.screenshot}),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()},onDisposed:()=>{this.cancel()}});this.disposeSelectorInput=()=>{f?.dispose()}}handlePointerDown=i=>{const u=i.target;!Qr(u)||!this.isSelectableElement(u)||this.isIgnoredElement(u)||(i.preventDefault(),i.stopPropagation(),this.selectElement(u,i))};handleClick=i=>{const u=i.target;!(u instanceof HTMLElement)&&!(u instanceof SVGElement)||this.isIgnoredElement(u)||(i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation())};handleArrowKeyNavigation=i=>{if(this.isDirectEditing||!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(i.key))return;const u=i.target;if(u instanceof HTMLElement){const N=u.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(N)||u.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const N=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(N)||s.isContentEditable)return;let C=s;for(;C;){if(C.hasAttribute(al))return;C=C.parentElement}}if(!this.activeTarget)return;i.preventDefault(),i.stopPropagation();const m={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"}[i.key];if(!m)return;const x=Wg(this.activeTarget,m,N=>this.isIgnoredElement(N));x&&(Qg(x),this.selectElement(x))};setupEnterKeyListener(){const i=u=>{if(u.key==="Enter"&&!u.shiftKey&&!u.ctrlKey&&!u.metaKey){const s=document.activeElement;if(s instanceof HTMLElement){const f=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(f)||s.isContentEditable)return;let m=s;for(;m;){if(m.hasAttribute(al))return;m=m.parentElement}}!this.isDirectEditing&&this.activeTarget&&ba(this.activeTarget)&&(u.preventDefault(),u.stopPropagation(),this.enterDirectEditMode(this.activeTarget))}};document.addEventListener("keydown",i,!0),this.removeEnterKeyListener=()=>{document.removeEventListener("keydown",i,!0)}}enterDirectEditMode(i){if(this.isDirectEditing)return;this.isDirectEditing=!0,this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,Ou(i,!0),i instanceof HTMLElement&&setTimeout(()=>{const m=document.createRange(),x=window.getSelection();m.selectNodeContents(i),x?.removeAllRanges(),x?.addRange(m)},0);const u=()=>{this.exitDirectEditMode()},s=m=>{m instanceof KeyboardEvent&&m.key==="Escape"&&this.exitDirectEditMode()},f=()=>{this.highlighter.scheduleRender()};i.addEventListener("blur",u,{once:!0}),i.addEventListener("keydown",s),i.addEventListener("input",f),i._editModeCleanup=()=>{i.removeEventListener("blur",u),i.removeEventListener("keydown",s),i.removeEventListener("input",f)}}exitDirectEditMode(){if(this.isDirectEditing&&(this.isDirectEditing=!1,this.activeTarget)){Ou(this.activeTarget,!1);const i=this.activeTarget._editModeCleanup;i&&(i(),delete this.activeTarget._editModeCleanup),ba(this.activeTarget)&&this.setupEnterKeyListener()}}isIgnoredElement(i){const u=i.tagName;if(new Set(["SCRIPT","STYLE"]).has(u)||i.hasAttribute(Tu))return!0;let s=i;for(;s;){if(s.hasAttribute(al))return!0;s=s.parentElement}return!1}isSelectableElement(i){return!!i&&(i instanceof HTMLElement||i instanceof SVGElement)}injectCursorStyle(){if(this.cursorStyleElement)return;const i=document.createElement("style");i.textContent=`
* { cursor: crosshair !important; }
[contenteditable="true"], [contenteditable="plaintext-only"] { cursor: text !important; }
`,document.head.appendChild(i),this.cursorStyleElement=i}removeCursorStyle(){this.cursorStyleElement&&(this.cursorStyleElement.remove(),this.cursorStyleElement=null)}handleUndoRedo=i=>{const u=i.key.toLowerCase(),s=(i.ctrlKey||i.metaKey)&&u==="z"&&!i.shiftKey,f=(i.ctrlKey||i.metaKey)&&(u==="z"&&i.shiftKey||u==="y");if(!s&&!f)return;const m=i.target;if(m instanceof HTMLElement){const C=m.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(C)||m.isContentEditable)return}const x=document.activeElement;if(x instanceof HTMLElement){const C=x.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(C)||x.isContentEditable)return;let v=x;for(;v;){if(v.hasAttribute(al))return;v=v.parentElement}}i.preventDefault(),i.stopPropagation();let N=null;s?(N=this.editHistory.undo(),this.highlighter.scheduleRender()):f&&(N=this.editHistory.redo(),this.highlighter.scheduleRender()),N&&N.target&&document.contains(N.target)&&(N.target.scrollIntoView({behavior:"smooth",block:"center"}),this.highlighter.setActiveTarget(N.target),setTimeout(()=>{this.highlighter.setActiveTarget(null)},1500))};handleDelete=i=>{if(i.key!=="Delete"&&i.key!=="Backspace"||this.isDirectEditing)return;const u=i.target;if(u instanceof HTMLElement){const N=u.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(N)||u.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const N=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(N)||s.isContentEditable)return;let C=s;for(;C;){if(C.hasAttribute(al))return;C=C.parentElement}}if(!this.activeTarget)return;if(!$g(this.activeTarget)){console.warn("Cannot delete this element: it is a critical DOM element");return}i.preventDefault(),i.stopPropagation();const f=Fg(this.activeTarget);if(!f){console.warn("Cannot delete element: no parent found");return}const m=Wr(this.activeTarget),x=this.activeTarget;this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,x.parentElement&&x.parentElement.removeChild(x),this.activeTarget=null,this.hoverTarget=null,this.pointerDown=!1,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null),this.editHistory.addEdit({target:x,targetData:m,changes:{deleted:f},screenshot:null}),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()};showEditToolbarIfNeeded(){if(!this.editHistory.hasEdits()){this.hideEditToolbar();return}this.disposeEditToolbar||Promise.resolve().then(()=>v0).then(({openEditToolbar:i})=>{const u=i({editHistory:this.editHistory,highlighter:this.highlighter,onApply:()=>{this.handleApplyAll()},onDiscard:()=>{this.handleDiscardAll()}});this.disposeEditToolbar=()=>{u?.dispose(),this.disposeEditToolbar=null}}).catch(i=>{console.error("Failed to render EditToolbar:",i)})}hideEditToolbar(){this.disposeEditToolbar&&this.disposeEditToolbar()}handleApplyAll(){const i=this.editHistory.getActiveEdits();i.length!==0&&ie.sendMessage({type:"edits",to:"container",payload:{edits:i.map(u=>({element:u.targetData,changes:u.changes,screenshot:u.screenshot}))}})}handleDiscardAll(){this.editHistory.clear(),this.hideEditToolbar(),this.hideCommentMarkers(),this.highlighter.scheduleRender()}showCommentMarkersIfNeeded(){if(!this.editHistory.hasEdits()){this.hideCommentMarkers();return}this.disposeCommentMarkers||Promise.resolve().then(()=>w0).then(({openCommentMarkers:i})=>{const u=i({editHistory:this.editHistory,highlighter:this.highlighter,getActiveElement:()=>this.activeTarget,onElementSelect:s=>{this.selectElement(s)}});this.disposeCommentMarkers=()=>{u?.dispose(),this.disposeCommentMarkers=null}}).catch(i=>{console.error("Failed to render CommentMarkers:",i)})}hideCommentMarkers(){this.disposeCommentMarkers&&this.disposeCommentMarkers(),this.editHistory.clearComments(),this.highlighter.scheduleRender()}handleGlobalEscape=i=>{if(i.key!=="Escape"||this.activeTarget)return;const u=i.target;if(u instanceof HTMLElement){const f=u.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(f)||u.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const f=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(f)||s.isContentEditable)return;let m=s;for(;m;){if(m.hasAttribute(al))return;m=m.parentElement}}this.editHistory.hasEdits()||(i.preventDefault(),i.stopPropagation(),this.disable(),ie.sendMessage({type:"exitEditMode",to:"container",payload:{}}))}}const c0=new s0;class u0{constructor(){this.init()}async init(){ie.init({currentEndpoint:"content"}),ie.listenMessage({type:"containerInited",callback:()=>{ie.readySource.markReady()}}),Gr.init(),yg.init(),wu.init(),c0.init(),await this.renderRoot(),this.renderRootForDev()}renderRootForDev(){}async renderRoot(){if(document.getElementById(Or.root))return;const u=document.createElement("div");u.id=Or.root,u.setAttribute(al,"true"),document.documentElement.appendChild(u);const s=u.attachShadow({mode:"closed"}),f=document.createElement("style"),m=await Promise.resolve().then(()=>S0).then(x=>x.default);f.textContent=m,s.appendChild(f),kr.createRoot(s).render(h.jsx(gg,{"data-loc":"src/main.tsx:126"}))}}new u0;function d0({onDiscard:r,onApply:i,isApplying:u=!1,editCount:s}){const f=u||s===0;return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:17",className:"flex items-center gap-2",children:[h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:18",onClick:r,disabled:f,className:"px-3 py-1.5 text-sm font-medium text-[var(--text-white)] border-[var(--text-tertiary)] border-[1.5px] hover:bg-[#ffffff0f] focus:bg-[#ffffff0f] active:opacity-90 rounded-[12px] transition-all outline-none disabled:opacity-50 disabled:cursor-not-allowed",title:"Discard all changes",children:"Discard"}),h.jsxs("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:27",onClick:i,disabled:f,className:"flex items-center gap-2 px-4 py-1.5 text-sm font-medium bg-[var(--Button-primary-brand)] text-white border border-transparent hover:opacity-90 focus:opacity-90 active:opacity-90 rounded-[12px] transition-all outline-none disabled:opacity-50 disabled:cursor-not-allowed",title:"Save all changes",children:[u&&h.jsxs("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:34",className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h.jsx("circle",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:40",className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:48",className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Apply"]})]})}function f0({editCount:r,showEditPreviews:i,onClick:u}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:15",onClick:u,tabIndex:0,role:"button",className:Ae.cn("flex items-center gap-2 px-3 py-1.5 rounded-[12px] cursor-pointer transition-all relative outline-none text-[var(--text-white)] border-[var(--text-tertiary)] border-[1.5px] active:opacity-90",i?"bg-[#ffffff0f]":"bg-transparent hover:bg-[#ffffff0f]"),children:[h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:26",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"currentColor",children:h.jsx("g",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:33",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:34",d:"M7.52881 7.52869C7.71733 7.34017 8 7.28198 8.24756 7.3809L14.9142 10.0476C15.1678 10.149 15.334 10.3949 15.3335 10.668C15.3329 10.9411 15.1656 11.1861 14.9116 11.2865L12.3133 12.3132L11.2866 14.9115C11.1862 15.1655 10.9412 15.3328 10.6681 15.3334C10.3951 15.3339 10.1491 15.1677 10.0477 14.9141L7.38102 8.24744C7.2821 7.99988 7.34029 7.71721 7.52881 7.52869ZM1.3335 12.6667C1.3335 12.2985 1.63197 12 2.00016 12C2.36835 12 2.66683 12.2985 2.66683 12.6667C2.66683 12.8435 2.73712 13.013 2.86214 13.1381C2.98717 13.2631 3.15669 13.3334 3.3335 13.3334C3.70169 13.3334 4.00016 13.6319 4.00016 14C4.00016 14.3682 3.70169 14.6667 3.3335 14.6667C2.80306 14.6667 2.29451 14.4558 1.91943 14.0808C1.54436 13.7057 1.3335 13.1971 1.3335 12.6667ZM7.3335 13.3334C7.70169 13.3334 8.00016 13.6319 8.00016 14C8.00016 14.3682 7.70169 14.6667 7.3335 14.6667H6.00016C5.63197 14.6667 5.3335 14.3682 5.3335 14C5.3335 13.6319 5.63197 13.3334 6.00016 13.3334H7.3335ZM10.6629 12.8627L11.1805 11.5547L11.2085 11.4922C11.2822 11.3506 11.405 11.2397 11.5549 11.1804L12.8628 10.6628L9.19678 9.19666L10.6629 12.8627ZM1.3335 10V9.33337C1.3335 8.96518 1.63197 8.66671 2.00016 8.66671C2.36835 8.66671 2.66683 8.96518 2.66683 9.33337V10C2.66683 10.3682 2.36835 10.6667 2.00016 10.6667C1.63197 10.6667 1.3335 10.3682 1.3335 10ZM13.3335 7.33337V6.00004C13.3335 5.63185 13.632 5.33337 14.0002 5.33337C14.3684 5.33337 14.6668 5.63185 14.6668 6.00004V7.33337C14.6668 7.70156 14.3684 8.00004 14.0002 8.00004C13.632 8.00004 13.3335 7.70156 13.3335 7.33337ZM1.3335 6.66671V6.00004C1.3335 5.63185 1.63197 5.33337 2.00016 5.33337C2.36835 5.33337 2.66683 5.63185 2.66683 6.00004V6.66671C2.66683 7.0349 2.36835 7.33337 2.00016 7.33337C1.63197 7.33337 1.3335 7.0349 1.3335 6.66671ZM1.3335 3.33337C1.3335 2.80294 1.54436 2.29438 1.91943 1.91931C2.29451 1.54424 2.80306 1.33337 3.3335 1.33337C3.70169 1.33337 4.00016 1.63185 4.00016 2.00004C4.00016 2.36823 3.70169 2.66671 3.3335 2.66671C3.15668 2.66671 2.98717 2.737 2.86214 2.86202C2.73712 2.98704 2.66683 3.15656 2.66683 3.33337C2.66683 3.70156 2.36835 4.00004 2.00016 4.00004C1.63197 4.00004 1.3335 3.70156 1.3335 3.33337ZM13.3335 3.33337C13.3335 3.15656 13.2632 2.98704 13.1382 2.86202C13.0132 2.737 12.8436 2.66671 12.6668 2.66671C12.2986 2.66671 12.0002 2.36823 12.0002 2.00004C12.0002 1.63185 12.2986 1.33337 12.6668 1.33337C13.1973 1.33337 13.7058 1.54424 14.0809 1.91931C14.456 2.29438 14.6668 2.80294 14.6668 3.33337C14.6668 3.70156 14.3684 4.00004 14.0002 4.00004C13.632 4.00004 13.3335 3.70156 13.3335 3.33337ZM6.66683 1.33337C7.03502 1.33337 7.3335 1.63185 7.3335 2.00004C7.3335 2.36823 7.03502 2.66671 6.66683 2.66671H6.00016C5.63197 2.66671 5.3335 2.36823 5.3335 2.00004C5.3335 1.63185 5.63197 1.33337 6.00016 1.33337H6.66683ZM10.0002 1.33337C10.3684 1.33337 10.6668 1.63185 10.6668 2.00004C10.6668 2.36823 10.3684 2.66671 10.0002 2.66671H9.3335C8.96531 2.66671 8.66683 2.36823 8.66683 2.00004C8.66683 1.63185 8.96531 1.33337 9.3335 1.33337H10.0002Z"})})}),h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:37",className:"text-sm font-medium tabular-nums",children:r})]})}function h0({activeEdits:r,hoveredEditIndex:i,highlighter:u,onCardClick:s,onCardHover:f,show:m}){const x=U.useRef(null),N=v=>{f(v)},C=()=>{f(null)};return U.useEffect(()=>{if(!m){u.removeExclusionRect("edit-preview-cards");return}const v=()=>{if(x.current&&m){const D=x.current.getBoundingClientRect();u.addExclusionRect("edit-preview-cards",D)}};return v(),window.addEventListener("resize",v),window.addEventListener("scroll",v,{passive:!0}),()=>{window.removeEventListener("resize",v),window.removeEventListener("scroll",v),u.removeExclusionRect("edit-preview-cards")}},[u,m]),h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:59",ref:x,className:"absolute bottom-full mb-2 left-0 right-0 transition-all duration-200 ease-out",style:{opacity:m?1:0,transform:m?"translateY(0) scale(1)":"translateY(8px) scale(0.98)",pointerEvents:m?"auto":"none",transitionTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)"},onMouseLeave:C,children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:72",className:"rounded-[14px] border border-[var(--border-main)] bg-[rgb(37,37,37)] shadow-[0px_8px_32px_0px_var(--shadow-S)] overflow-hidden",style:{maxHeight:"40vh"},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:78",className:"overflow-y-auto",style:{maxHeight:"40vh"},children:r.map((v,D)=>{const R=i===D,J=!!v.screenshot;return h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:89",onClick:()=>s(D),onMouseEnter:()=>N(D),className:Ae.cn("px-4 cursor-pointer transition-all",R&&"bg-[#ffffff0f]"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:98",className:"flex items-center gap-2.5 py-2",style:{borderBottom:D!==r.length-1?"1px solid var(--icon-secondary)":"none"},children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:108",className:Ae.cn("flex-shrink-0 size-5 rounded-full flex items-center justify-center transition-all text-[var(--background-card)] border-[var(--icon-secondary)] border",R&&"bg-[#ffffff0f]"),children:h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:114",className:"text-xs",children:D+1})}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:118",className:"flex-1 min-w-0",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:119",className:Ae.cn("text-sm text-white font-medium",v.changes.deleted&&"line-through"),children:v.targetData.tagName}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:129",className:"text-xs text-[var(--text-white-tsp)] pt-0.5 leading-none gap-1 flex flex-col",children:[v.changes.comment&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:131",className:"leading-snug",children:v.changes.comment.modified===""?"Removed comment":`Comment: "${v.changes.comment.modified.slice(0,30)}${v.changes.comment.modified.length>30?"...":""}"`}),v.changes.deleted&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:144",children:"Element deleted"}),v.changes.textContent&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:146",className:"leading-snug",children:['Text: "',v.changes.textContent.modified.slice(0,40),v.changes.textContent.modified.length>40?"...":"",'"']}),v.changes.src&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:155",children:"Image source updated"}),v.changes.href&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:157",className:"leading-snug",children:["Link: ",v.changes.href.modified.slice(0,30),"..."]}),v.changes.style&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:162",className:"flex flex-wrap gap-1",children:[Object.keys(v.changes.style).slice(0,3).map($=>h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:166",className:"px-1.5 py-0.5 text-xs bg-[#ffffff1a] text-white rounded-[8px]",children:$},$)),Object.keys(v.changes.style).length>3&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:174",className:"text-xs text-white",children:["+",Object.keys(v.changes.style).length-3," more"]})]}),J&&!v.changes.deleted&&(v.changes.textContent||v.changes.style||v.changes.comment)&&h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:185",style:{backgroundImage:`url(${v.screenshot})`,backgroundSize:"cover",backgroundPosition:"top"},className:"h-12 mt-1 rounded border border-black/10"})]})]})]})},`${v.targetData.id}-${D}`)})})})})}function m0({canUndo:r,canRedo:i,onUndo:u,onRedo:s}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:17",className:"flex items-center gap-1.5",children:[h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:18",onClick:u,disabled:!r,className:Ae.cn("flex items-center justify-center p-1.5 rounded-full transition-all outline-none",r?"text-[var(--text-white)] hover:bg-[#ffffff0f] cursor-pointer":"bg-transparent text-[var(--text-disable)] cursor-not-allowed opacity-50"),title:"Undo (⌘Z)",children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:29",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:36",d:"M12.6666 9.66662C12.6666 9.27271 12.5888 8.88276 12.4381 8.51883C12.2873 8.15485 12.0663 7.8241 11.7877 7.54552C11.5091 7.26695 11.1784 7.0459 10.8144 6.89513C10.4505 6.74441 10.0605 6.66662 9.66662 6.66662H4.27599L6.4713 8.86193C6.73165 9.12228 6.73165 9.54429 6.4713 9.80464C6.21095 10.065 5.78894 10.065 5.5286 9.80464L2.19526 6.4713C1.93491 6.21095 1.93491 5.78894 2.19526 5.5286L5.5286 2.19526C5.78894 1.93491 6.21095 1.93491 6.4713 2.19526C6.73165 2.45561 6.73165 2.87762 6.4713 3.13797L4.27599 5.33328H9.66662C10.2357 5.33328 10.7991 5.44559 11.3248 5.66336C11.8506 5.88113 12.3287 6.19978 12.7311 6.60216C13.1335 7.00455 13.4521 7.48267 13.6699 8.00841C13.8876 8.53416 13.9999 9.09755 13.9999 9.66662C13.9999 10.2357 13.8876 10.7991 13.6699 11.3248C13.4521 11.8506 13.1335 12.3287 12.7311 12.7311C12.3287 13.1335 11.8506 13.4521 11.3248 13.6699C10.7991 13.8876 10.2357 13.9999 9.66662 13.9999H7.33328C6.96509 13.9999 6.66662 13.7015 6.66662 13.3333C6.66662 12.9651 6.96509 12.6666 7.33328 12.6666H9.66662C10.0605 12.6666 10.4505 12.5888 10.8144 12.4381C11.1784 12.2873 11.5091 12.0663 11.7877 11.7877C12.0663 11.5091 12.2873 11.1784 12.4381 10.8144C12.5888 10.4505 12.6666 10.0605 12.6666 9.66662Z",fill:"currentColor"})})}),h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:43",onClick:s,disabled:!i,className:Ae.cn("flex items-center justify-center p-1.5 rounded-full transition-all outline-none",i?"text-[var(--text-white)] hover:bg-[#ffffff0f] cursor-pointer":"bg-transparent text-[var(--text-disable)] opacity-50 cursor-not-allowed"),title:"Redo (⌘⇧Z)",children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:54",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:61",d:"M3.33338 9.66662C3.33338 9.27271 3.41118 8.88276 3.5619 8.51883C3.71266 8.15485 3.93371 7.8241 4.21229 7.54552C4.49086 7.26695 4.82162 7.0459 5.1856 6.89513C5.54953 6.74441 5.93948 6.66662 6.33338 6.66662H11.724L9.5287 8.86193C9.26835 9.12228 9.26835 9.54429 9.5287 9.80464C9.78905 10.065 10.2111 10.065 10.4714 9.80464L13.8047 6.4713C14.0651 6.21095 14.0651 5.78894 13.8047 5.5286L10.4714 2.19526C10.2111 1.93491 9.78905 1.93491 9.5287 2.19526C9.26835 2.45561 9.26835 2.87762 9.5287 3.13797L11.724 5.33328H6.33338C5.76432 5.33328 5.20092 5.44559 4.67518 5.66336C4.14944 5.88113 3.67132 6.19978 3.26893 6.60216C2.86654 7.00455 2.5479 7.48267 2.33013 8.00841C2.11236 8.53416 2.00005 9.09755 2.00005 9.66662C2.00005 10.2357 2.11236 10.7991 2.33013 11.3248C2.5479 11.8506 2.86654 12.3287 3.26893 12.7311C3.67132 13.1335 4.14944 13.4521 4.67518 13.6699C5.20092 13.8876 5.76432 13.9999 6.33338 13.9999H8.66672C9.03491 13.9999 9.33338 13.7015 9.33338 13.3333C9.33338 12.9651 9.03491 12.6666 8.66672 12.6666H6.33338C5.93948 12.6666 5.54953 12.5888 5.1856 12.4381C4.82162 12.2873 4.49086 12.0663 4.21229 11.7877C3.93371 11.5091 3.71266 11.1784 3.5619 10.8144C3.41118 10.4505 3.33338 10.0605 3.33338 9.66662Z",fill:"currentColor"})})})]})}function g0(r){const[i,u]=U.useState(r.canUndo()),[s,f]=U.useState(r.canRedo()),[m,x]=U.useState(r.getActiveEdits().length),[N,C]=U.useState([]);return U.useEffect(()=>{const v=r.onChange(()=>{u(r.canUndo()),f(r.canRedo());const D=r.getActiveEdits();x(D.length),C(D)});return C(r.getActiveEdits()),v},[r]),{canUndo:i,canRedo:s,editCount:m,activeEdits:N}}function p0(){const[r,i]=U.useState(!1);return{showEditPreviews:r,handleEditCountClick:()=>{i(!r)}}}function qu({editHistory:r,highlighter:i,onApply:u,onDiscard:s}){const f=U.useRef(null),[m,x]=U.useState(null),[N,C]=U.useState(!1),{canUndo:v,canRedo:D,editCount:R,activeEdits:J}=g0(r),{showEditPreviews:$,handleEditCountClick:F}=p0();U.useEffect(()=>{if(m!==null&&J[m]){const k=J[m];k.target&&document.contains(k.target)&&i.setHoverTarget(k.target)}else i.setHoverTarget(null)},[m,J,i]),U.useEffect(()=>{const k=()=>{if(f.current){const Y=f.current.getBoundingClientRect();i.addExclusionRect("edit-toolbar",Y)}};return k(),window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k),i.removeExclusionRect("edit-toolbar")}},[i]);const at=()=>{const k=r.undo();i.scheduleRender(),k&&k.target&&document.contains(k.target)&&(k.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(k.target),setTimeout(()=>{i.setActiveTarget(null)},1500))},ct=()=>{const k=r.redo();i.scheduleRender(),k&&k.target&&document.contains(k.target)&&(k.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(k.target),setTimeout(()=>{i.setActiveTarget(null)},1500))},ht=k=>{const Y=J[k];Y.target&&document.contains(Y.target)&&(Y.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(Y.target),setTimeout(()=>{i.setActiveTarget(null)},1500))},St=()=>{C(!0),u()};return h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:127",className:"fixed left-0 right-0 top-0 bottom-0 pointer-events-none",style:{zIndex:2147483645},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:131",className:"absolute bottom-0 left-0 right-0 flex items-center justify-center pb-8",children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:132",ref:f,[al]:"true",onMouseDown:k=>k.stopPropagation(),className:"pointer-events-auto flex items-center gap-8 p-2 rounded-[14px] border border-[var(--border-main)] bg-[rgb(37,37,37)] shadow-[0px_8px_32px_0px_var(--shadow-S)] relative justify-between",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:138",className:"flex items-center gap-3",children:[h.jsx(f0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:139",editCount:R,showEditPreviews:$,onClick:F}),h.jsx(m0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:145",canUndo:v,canRedo:D,onUndo:at,onRedo:ct})]}),h.jsx(d0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:153",onDiscard:s,onApply:St,isApplying:N,editCount:R}),J.length>0&&h.jsx(h0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:161",activeEdits:J,hoveredEditIndex:m,highlighter:i,onCardClick:ht,onCardHover:x,show:$})]})})})}const y0=ti.createOpener(qu,{singleton:!0}),v0=Object.freeze(Object.defineProperty({__proto__:null,EditToolbar:qu,openEditToolbar:y0},Symbol.toStringTag,{value:"Module"}));function b0({comment:r,elementRect:i,boxRef:u,onMouseEnter:s,onMouseLeave:f,onClick:m,onDelete:x,isHidden:N}){const C=U.useRef(null),v=U.useRef(null),[D,R]=U.useState({width:0,height:0});U.useLayoutEffect(()=>{if(!C.current)return;const it=C.current.getBoundingClientRect();R({width:it.width,height:it.height})},[r,x]);const J=window.innerWidth,$=window.innerHeight,F=30,at=i.top+i.height/2;let ct=i.right+F,ht=at-D.height/2;ct+D.width>J-20&&(ct=i.left-F-D.width),ct<20&&(ct=Math.min(i.left,J-D.width-20),ct=Math.max(20,ct),ht=i.bottom+F),ht<20?ht=20:ht+D.height>$-20&&(ht=Math.max(20,$-D.height-20));const St={x:ct,y:ht},k=St.y+D.height/2,Y=St.x>i.right?i.right:i.left;return N?null:h.jsxs(h.Fragment,{children:[h.jsxs("svg",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:80",className:"absolute inset-0 w-full h-full pointer-events-none z-[2147483643]",children:[h.jsx("line",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:81",x1:Y,y1:at,x2:St.x,y2:k,stroke:"#0081f2",strokeWidth:1.5,strokeDasharray:"3 2"}),h.jsx("circle",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:90",cx:Y,cy:at,r:3,fill:"#0081f2"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:94",ref:v,className:"absolute group z-[2147483644]",style:{left:St.x,top:St.y},onMouseEnter:s,onMouseLeave:f,children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:105",ref:H=>{C.current=H,u(H)},className:"pointer-events-auto cursor-pointer rounded-[10px] px-2.5 py-1.5 bg-[#0081f2] max-w-[260px]",onClick:m,onMouseDown:H=>H.stopPropagation(),children:h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:114",className:"flex items-start gap-1.5",children:h.jsx("p",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:115",className:"flex-1 text-xs break-words whitespace-pre-wrap text-[var(--text-white)]",children:r})})}),x&&h.jsx("button",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:123",onClick:H=>{H.stopPropagation(),x()},className:"absolute -top-1 right-0 pointer-events-auto flex items-center justify-center size-5 rounded-full bg-white shadow-md text-gray-600 hover:text-red-500 hover:bg-red-50 transition-all opacity-0 group-hover:opacity-100",title:"Delete comment",onMouseDown:H=>H.stopPropagation(),children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:132",xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:142",d:"M9 3L3 9M3 3l6 6"})})})]})]})}function Gu({editHistory:r,highlighter:i,getActiveElement:u,onElementSelect:s}){const[f,m]=U.useState(null),[x,N]=U.useState(null),[C,v]=U.useState(0),D=U.useRef(new Map),R=U.useMemo(()=>{const k=r.getActiveEdits(),Y=new Map;for(const it of k){const rt=it.target;if(!document.contains(rt))continue;const X=Kr(rt);X&&Y.set(X,rt)}const H=[];for(const[it,rt]of Y.entries()){const X=rt._comment||"";if(!X.trim())continue;const xt=rt.getBoundingClientRect();xt.width===0||xt.height===0||H.push({id:it,element:rt,comment:X.trim(),position:{x:xt.left,y:xt.top}})}return H},[r,C,x]),J=()=>{for(const[k,Y]of D.current.entries()){const H=Y.getBoundingClientRect();i.addExclusionRect(`comment-box-${k}`,H)}},$=(k,Y)=>!(k.right<Y.left||k.left>Y.right||k.bottom<Y.top||k.top>Y.bottom);U.useEffect(()=>{const k=r.onChange(()=>{v(X=>X+1)});let Y=null,H=null;const it=()=>{Y===null&&(Y=requestAnimationFrame(()=>{Y=null,v(X=>X+1)}))},rt=()=>{H&&clearTimeout(H),H=setTimeout(()=>{v(X=>X+1)},100)};return window.addEventListener("scroll",it,{passive:!0}),window.addEventListener("resize",rt,{passive:!0}),()=>{k(),Y!==null&&cancelAnimationFrame(Y),H&&clearTimeout(H),window.removeEventListener("scroll",it),window.removeEventListener("resize",rt);for(const X of D.current.keys())i.removeExclusionRect(`comment-box-${X}`)}},[r,i]),U.useEffect(()=>{const k=()=>{const H=u();N(H)};k();const Y=setInterval(k,100);return()=>{clearInterval(Y)}},[u]),U.useEffect(()=>{const k=new Set(R.map(H=>H.id));for(const H of D.current.keys())k.has(H)||(i.removeExclusionRect(`comment-box-${H}`),D.current.delete(H));J();const Y=f?R.find(H=>H.id===f)?.element:null;Y&&document.contains(Y)?i.setHoverTarget(Y):i.setHoverTarget(null)},[R,f,i]);const F=k=>{m(k)},at=()=>{m(null)},ct=k=>{const Y=R.find(H=>H.id===k);Y&&document.contains(Y.element)&&(Y.element.scrollIntoView({behavior:"smooth",block:"center"}),s(Y.element))},ht=k=>{const Y=R.find(H=>H.id===k);if(Y&&document.contains(Y.element)){const H=Y.element,it=H._comment||"",rt=Wr(H);delete H._comment,r.addEdit({target:H,targetData:rt,changes:{comment:{original:it,modified:""}},screenshot:null}),v(X=>X+1)}},St=(k,Y)=>{if(Y){D.current.set(k,Y);const H=Y.getBoundingClientRect();i.addExclusionRect(`comment-box-${k}`,H)}else D.current.delete(k),i.removeExclusionRect(`comment-box-${k}`)};return h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentMarkers.tsx:229",className:"fixed inset-0 pointer-events-none",style:{zIndex:2147483642},[al]:"true",children:R.map(k=>{let H=x===k.element;if(!H&&x&&document.contains(x)){const it=D.current.get(k.id);if(it){const rt=x.getBoundingClientRect(),X=it.getBoundingClientRect();H=$(X,rt)}}return h.jsx(b0,{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentMarkers.tsx:249",comment:k.comment,elementRect:k.element.getBoundingClientRect(),isHidden:H,onMouseEnter:()=>F(k.id),onMouseLeave:at,onClick:()=>ct(k.id),onDelete:()=>ht(k.id),boxRef:it=>St(k.id,it)},k.id)})})}const x0=ti.createOpener(Gu,{singleton:!0}),w0=Object.freeze(Object.defineProperty({__proto__:null,CommentMarkers:Gu,openCommentMarkers:x0},Symbol.toStringTag,{value:"Module"})),S0=Object.freeze(Object.defineProperty({__proto__:null,default:'#manus-previewer-content-root{--background-gray-login: #f8f8f7;--background-selection: #b8d3f8;--background-tool-used: linear-gradient( 176deg, rgba(255, 255, 255, 0) 5.88%, rgba(255, 255, 255, .6) 51.28%, rgba(255, 255, 255, 0) 94.95% );--background-drag-overlay: #ffffff80;--background-thinking: linear-gradient( 90deg, var(--text-primary) 0%, #d9d8d8 50.48%, var(--text-primary) 99.04% );--background-app-banner: linear-gradient(180deg, #f7f7f7 0%, #ececec 100%);--background-share-header: linear-gradient( 0deg, rgba(248, 248, 247, 0) 0%, #f8f8f7 45.05% );--text-primary: #34322d;--text-secondary: #5e5e5b;--text-tertiary: #858481;--text-disable: #b9b9b7;--text-blue: #0081f2;--text-onblack: #ffffff;--text-white: #ffffff;--text-white-tsp: #ffffff99;--theme-text-primary: #262626;--logo-color: #34322d;--text-shining: #e5e5e5;--background-gray-main: #f8f8f7;--background-white-main: #ffffff;--background-menu-white: #ffffff;--background-menu-gray: #f8f8f7;--background-tsp-menu-white: #ffffff14;--background-tsp-card-gray: #37352f0a;--background-nav: #ebebeb;--background-card: #fafafa;--background-mask: #000000a6;--background-card-gray: #fafafa;--background-preview-mask: #000000d9;--border-main: #0000000f;--border-white: #ffffff33;--border-btn-main: #0000001f;--border-input-active: #0081f280;--border-light: #0000000a;--border-dark: #0000001f;--border-primary: #4f59661f;--icon-primary: #34322d;--icon-secondary: #5e5e5b;--icon-tertiary: #858481;--icon-disable: #b9b9b7;--icon-blue: #0081f2;--icon-onblack: #ffffff;--icon-white: #ffffff;--icon-white-tsp: #ffffff99;--function-error: #f25a5a;--function-success: #25ba3b;--function-warning: #efa201;--function-error-tsp: #f25a5a14;--function-warning-tsp: #efa2011f;--function-success-tsp: #25ba3b14;--fill-blue: #0081f214;--fill-tsp-white-main: #37352f0f;--fill-tsp-white-dark: #37352f14;--fill-tsp-white-light: #37352f0a;--fill-tsp-gray-dark: #37352f14;--fill-tsp-gray-main: #37352f0a;--fill-white: #ffffff;--fill-black: #28282973;--fill-gray: #f8f8f7;--Button-primary-black: #1a1a19;--Button-primary-white: #ffffff;--Button-primary-brand: #0081f2;--Button-primary-brand-disabled: #7cbdf5;--Button-secondary-brand: #0081f21a;--Button-secondary-error-border: #f25a5a80;--Button-secondary-error-fill: #ffffff;--Button-secondary-main: #ffffff;--Button-secondary-gray: #37352f0f;--tab-fill: rgba(0, 0, 0, .04);--tab-active-black: #1a1a19;--shadow-L: #0000003d;--shadow-M: #0000001f;--shadow-S: #00000014;--shadow-XS: #0000000f;--shadows-inner-0: #ffffff00;--shadows-inner-1: #16191d14;--shadows-inner-2: #16191d1f;--shadows-drop-1: #16191d08;--shadows-drop-2: #16191d0a;--shadows-drop-3: #16191d14;--shadows-drop-4: #16191d1f;--shadows-highlight-1: #cce5ff;--shadows-highlight-2: #1487fa;--shadows-danger-1: #fed7d7;--shadows-danger-2: #ee3a3a;--shadows-card-border: #16191d1f;--shadows-card-border-2: #16191d1f;--Tooltips-main: #000000e6;--gradual-white-0: #ffffff00;--gradual-gray-100: #ffffff00;--gradual-gray-0: #ffffff00;--gradual-dark-20: #00000033;--fill-input-chat: #ffffff;--gradient-bg-mask-gray-0: #eaeaeb00;--gradual-white-menu-0: #ffffff00}#manus-previewer-content-root.dark{--text-primary: #dadada;--text-secondary: #acacac;--text-tertiary: #7f7f7f;--text-disable: #5f5f5f;--text-blue: #1a93fe;--text-onblack: #000000e6;--text-white: #ffffff;--text-white-tsp: #ffffff99;--theme-text-primary: #dbdbdb;--logo-color: #dadada;--text-shining: #474747;--background-gray-main: #272728;--background-white-main: #161618;--background-menu-white: #383739;--background-menu-gray: #272728;--background-tsp-menu-white: #ffffff0f;--background-tsp-card-gray: #ffffff0f;--background-nav: #212122;--background-card: #383739;--background-mask-black: #000000a6;--background-mask-white: #272728a6;--background-card-gray: #383739;--background-preview-mask: #000000d9;--border-main: #ffffff14;--border-white: #00000014;--border-btn-main: #ffffff1a;--border-input-active: #1a93fe80;--border-light: #ffffff0f;--border-dark: #ffffff29;--border-primary: #56565f52;--icon-primary: #dadada;--icon-secondary: #acacac;--icon-tertiary: #7f7f7f;--icon-disable: #5f5f5f;--icon-blue: #1a93fe;--icon-onblack: #000000d9;--icon-white: #ffffff;--icon-white-tsp: #ffffff99;--function-error: #eb4d4d;--function-success: #5eb92d;--function-warning: #ffbf36;--function-error-tsp: #eb4d4d14;--function-warning-tsp: #ffbf361f;--function-success-tsp: #25ba3b1f;--fill-blue: #1a93fe1f;--fill-tsp-white-main: #ffffff0f;--fill-tsp-white-dark: #ffffff1f;--fill-tsp-white-light: #ffffff0a;--fill-tsp-gray-dark: #00000047;--fill-tsp-gray-main: #00000033;--fill-white: #3e3d3e;--fill-black: #28282973;--fill-gray: #444345;--Button-primary-black: #ffffff;--Button-primary-white: #ffffff14;--Button-primary-brand: #1a93fe;--Button-primary-brand-disabled: #215d93;--Button-secondary-brand: #1a93fe1f;--Button-secondary-error-border: #eb4d4d29;--Button-secondary-error-fill: #eb4d4d1f;--Button-secondary-main: #ffffff1f;--Button-secondary-gray: #ffffff0f;--tab-fill: rgba(255, 255, 255, .06);--tab-active-black: #ffffff;--shadow-L: #00000066;--shadow-M: #0000003d;--shadow-S: #00000029;--shadow-XS: #0000001f;--shadows-inner-0: #ffffff1f;--shadows-inner-1: #ffffff14;--shadows-inner-2: #ffffff1f;--shadows-drop-1: #0000001f;--shadows-drop-2: #00000033;--shadows-drop-3: #00000047;--shadows-drop-4: #0000005c;--shadows-highlight-1: #1b61a6;--shadows-highlight-2: #1487fa;--shadows-danger-1: #8f1919;--shadows-danger-2: #ee3a3a;--shadows-card-border: #ffffff1f;--shadows-card-border-2: #ffffff00;--Tooltips-main: #000000e6;--gradual-white-0: #27272800;--gradual-gray-100: #444345;--gradual-gray-0: #44434500;--gradual-dark-20: #ffffff33;--fill-input-chat: #363537;--gradient-bg-mask-gray-0: #1e1e1e00;--gradual-white-menu-0: #38373900}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 475px){.container{max-width:475px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-8{bottom:2rem}.bottom-full{bottom:100%}.left-0{left:0}.left-2\\.5{left:.625rem}.left-8{left:2rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-4{top:1rem}.top-full{top:100%}.z-50{z-index:50}.z-\\[-1\\]{z-index:-1}.z-\\[2147483643\\]{z-index:2147483643}.z-\\[2147483644\\]{z-index:2147483644}.z-\\[999999\\]{z-index:999999}.z-\\[9999\\]{z-index:9999}.-m-\\[25\\%\\]{margin:-25%}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\\[6px\\]{margin-bottom:6px}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.inline-grid{display:inline-grid}.hidden{display:none}.size-5{width:1.25rem;height:1.25rem}.size-7{width:1.75rem;height:1.75rem}.h-0\\.5{height:.125rem}.h-12{height:3rem}.h-2{height:.5rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[150\\%\\]{height:150%}.h-\\[18px\\]{height:18px}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-80{width:20rem}.w-\\[150\\%\\]{width:150%}.w-\\[18px\\]{width:18px}.w-\\[90\\%\\]{width:90%}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-7xl{max-width:80rem}.max-w-\\[260px\\]{max-width:260px}.max-w-\\[600px\\]{max-width:600px}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-ew-resize{cursor:ew-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-3{row-gap:.75rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}.rounded-\\[14px\\]{border-radius:14px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-\\[var\\(--border-main\\)\\]{border-color:var(--border-main)}.border-\\[var\\(--icon-secondary\\)\\]{border-color:var(--icon-secondary)}.border-\\[var\\(--text-tertiary\\)\\]{border-color:var(--text-tertiary)}.border-black\\/10{border-color:#0000001a}.border-black\\/20{border-color:#0003}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-\\[\\#0081f2\\]{--tw-bg-opacity: 1;background-color:rgb(0 129 242 / var(--tw-bg-opacity, 1))}.bg-\\[\\#fdf4e0\\]{--tw-bg-opacity: 1;background-color:rgb(253 244 224 / var(--tw-bg-opacity, 1))}.bg-\\[\\#ffffff0f\\]{background-color:#ffffff0f}.bg-\\[\\#ffffff1a\\]{background-color:#ffffff1a}.bg-\\[rgb\\(37\\,37\\,37\\)\\]{--tw-bg-opacity: 1;background-color:rgb(37 37 37 / var(--tw-bg-opacity, 1))}.bg-\\[rgba\\(239\\,162\\,1\\,0\\.12\\)\\]{background-color:#efa2011f}.bg-\\[var\\(--Button-primary-brand\\)\\]{background-color:var(--Button-primary-brand)}.bg-\\[var\\(--background-menu-gray\\)\\]{background-color:var(--background-menu-gray)}.bg-\\[var\\(--border-main\\)\\]{background-color:var(--border-main)}.bg-\\[var\\(--fill-tsp-white-main\\)\\]{background-color:var(--fill-tsp-white-main)}.bg-\\[var\\(--text-primary\\)\\]{background-color:var(--text-primary)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/50{background-color:#00000080}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-75{--tw-bg-opacity: .75}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-100{--tw-gradient-from: #f3e8ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 232 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-100{--tw-gradient-to: #dbeafe var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-indigo-100{--tw-gradient-to: #e0e7ff var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1\\.5{padding-bottom:.375rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-7{padding-left:1.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.text-\\[var\\(--background-card\\)\\]{color:var(--background-card)}.text-\\[var\\(--icon-primary\\,\\#34322D\\)\\]{color:var(--icon-primary,#34322D)}.text-\\[var\\(--icon-tertiary\\)\\]{color:var(--icon-tertiary)}.text-\\[var\\(--text-disable\\)\\]{color:var(--text-disable)}.text-\\[var\\(--text-primary\\)\\]{color:var(--text-primary)}.text-\\[var\\(--text-primary\\,\\#34322D\\)\\]{color:var(--text-primary,#34322D)}.text-\\[var\\(--text-tertiary\\)\\]{color:var(--text-tertiary)}.text-\\[var\\(--text-white\\)\\]{color:var(--text-white)}.text-\\[var\\(--text-white-tsp\\)\\]{color:var(--text-white-tsp)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_4px_12px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow: 0 4px 12px rgba(0,0,0,.15);--tw-shadow-colored: 0 4px 12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_4px_24px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow: 0 4px 24px rgba(0,0,0,.15);--tw-shadow-colored: 0 4px 24px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_8px_32px_0px_var\\(--shadow-S\\)\\]{--tw-shadow: 0px 8px 32px 0px var(--shadow-S);--tw-shadow-colored: 0px 8px 32px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}*{box-sizing:border-box;outline:none;margin:0;padding:0}#manus-previewer-content-root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable Display,Segoe UI,Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji",Segoe UI Symbol}::-webkit-scrollbar-thumb{background-color:transparent;cursor:pointer}*:hover::-webkit-scrollbar-thumb{background-color:#b9b9b7}::-webkit-scrollbar-thumb:hover{background-color:#858481}::-webkit-scrollbar-track{background-color:transparent}*{scrollbar-width:thin;scrollbar-color:transparent transparent}*:hover{scrollbar-color:#b9b9b7 transparent}@keyframes fadeInUp{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fadeInScale{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.placeholder\\:text-\\[var\\(--text-disable\\)\\]::-moz-placeholder{color:var(--text-disable)}.placeholder\\:text-\\[var\\(--text-disable\\)\\]::placeholder{color:var(--text-disable)}.last\\:border-b-0:last-child{border-bottom-width:0px}.hover\\:bg-\\[\\#ffffff0f\\]:hover{background-color:#ffffff0f}.hover\\:bg-\\[var\\(--fill-tsp-white-light\\)\\]:hover{background-color:var(--fill-tsp-white-light)}.hover\\:bg-\\[var\\(--fill-tsp-white-main\\)\\]:hover{background-color:var(--fill-tsp-white-main)}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[var\\(--text-secondary\\)\\]:hover{color:var(--text-secondary)}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.hover\\:text-indigo-700:hover{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.hover\\:text-purple-700:hover{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:bg-\\[\\#ffffff0f\\]:focus{background-color:#ffffff0f}.focus\\:bg-\\[var\\(--fill-tsp-white-main\\)\\]:focus{background-color:var(--fill-tsp-white-main)}.focus\\:text-\\[var\\(--text-secondary\\)\\]:focus{color:var(--text-secondary)}.focus\\:opacity-90:focus{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-\\[1px\\]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-\\[var\\(--border-dark\\)\\]:focus{--tw-ring-color: var(--border-dark)}.focus\\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.active\\:opacity-80:active{opacity:.8}.active\\:opacity-90:active{opacity:.9}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media (min-width: 475px){.xs\\:block{display:block}.xs\\:w-auto{width:auto}.xs\\:flex-none{flex:none}.xs\\:flex-row{flex-direction:row}.xs\\:items-center{align-items:center}.xs\\:p-6{padding:1.5rem}.xs\\:px-5{padding-left:1.25rem;padding-right:1.25rem}.xs\\:pt-4{padding-top:1rem}}@media (min-width: 768px){.md\\:flex{display:flex}.md\\:w-1\\/3{width:33.333333%}.md\\:w-2\\/3{width:66.666667%}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1024px){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}'},Symbol.toStringTag,{value:"Module"}))})();
</script>
<div id="root"></div>
</body>
</html>