agent-workflow-kit-cli 1.3.4 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +158 -9
  2. package/dist/cli/commands/create.js +162 -0
  3. package/dist/cli/commands/ui.js +192 -0
  4. package/dist/cli/index.js +29 -1
  5. package/package.json +4 -2
  6. package/templates/react-ts/project/.gitignore.hbs +24 -0
  7. package/templates/react-ts/project/eslint.config.js.hbs +34 -0
  8. package/templates/react-ts/project/index.html.hbs +17 -0
  9. package/templates/react-ts/project/package.json.hbs +28 -0
  10. package/templates/react-ts/project/src/App.tsx.hbs +60 -0
  11. package/templates/react-ts/project/src/components/Counter.tsx.hbs +16 -0
  12. package/templates/react-ts/project/src/components/ThemeToggle.tsx.hbs +29 -0
  13. package/templates/react-ts/project/src/hooks/useLocalStorage.ts.hbs +25 -0
  14. package/templates/react-ts/project/src/main.tsx.hbs +10 -0
  15. package/templates/react-ts/project/src/services/api.ts.hbs +16 -0
  16. package/templates/react-ts/project/src/styles/App.css.hbs +143 -0
  17. package/templates/react-ts/project/src/styles/index.css.hbs +34 -0
  18. package/templates/react-ts/project/src/vite-env.d.ts.hbs +1 -0
  19. package/templates/react-ts/project/tsconfig.app.json.hbs +26 -0
  20. package/templates/react-ts/project/tsconfig.json.hbs +7 -0
  21. package/templates/react-ts/project/tsconfig.node.json.hbs +24 -0
  22. package/templates/react-ts/project/vite.config.ts.hbs +7 -0
  23. package/templates/spring-boot/project/.gitignore.hbs +28 -0
  24. package/templates/spring-boot/project/pom.xml.hbs +69 -0
  25. package/templates/spring-boot/project/src/main/java/com/example/packageName/DemoApplication.java.hbs +13 -0
  26. package/templates/spring-boot/project/src/main/java/com/example/packageName/controller/UserController.java.hbs +37 -0
  27. package/templates/spring-boot/project/src/main/java/com/example/packageName/dto/UserDTO.java.hbs +16 -0
  28. package/templates/spring-boot/project/src/main/java/com/example/packageName/entity/User.java.hbs +27 -0
  29. package/templates/spring-boot/project/src/main/java/com/example/packageName/repository/UserRepository.java.hbs +9 -0
  30. package/templates/spring-boot/project/src/main/java/com/example/packageName/service/UserService.java.hbs +11 -0
  31. package/templates/spring-boot/project/src/main/java/com/example/packageName/service/impl/UserServiceImpl.java.hbs +55 -0
  32. package/templates/spring-boot/project/src/main/resources/application.yml.hbs +20 -0
  33. package/templates/spring-boot/project/src/test/java/com/example/packageName/DemoApplicationTests.java.hbs +13 -0
  34. package/ui-dist/assets/Antigravity-IRHfUNd0.webp +0 -0
  35. package/ui-dist/assets/Codex-B3jt494H.png +0 -0
  36. package/ui-dist/assets/Logo-DARneFJW.png +0 -0
  37. package/ui-dist/assets/ReactTS-Cv7D5v-r.png +0 -0
  38. package/ui-dist/assets/devops-DfKGji1l.png +0 -0
  39. package/ui-dist/assets/drawio-D1K35acK.png +0 -0
  40. package/ui-dist/assets/expressjs-cjiJ1MIq.png +0 -0
  41. package/ui-dist/assets/fastapi-x75ez5Tf.png +0 -0
  42. package/ui-dist/assets/golang-DWpOzDNa.png +0 -0
  43. package/ui-dist/assets/index-BhHU4Khx.js +372 -0
  44. package/ui-dist/assets/index-C0BHmZv8.css +1 -0
  45. package/ui-dist/assets/nestjs-CZk_FY6t.png +0 -0
  46. package/ui-dist/assets/nextjs-DIQjv1J3.png +0 -0
  47. package/ui-dist/assets/python-CfV_cs4B.png +0 -0
  48. package/ui-dist/assets/rust-A_NnBwqP.png +0 -0
  49. package/ui-dist/assets/springbootjava--7jHXzq_.jpg +0 -0
  50. package/ui-dist/index.html +47 -0
@@ -0,0 +1,372 @@
1
+ (function(){const A=document.createElement("link").relList;if(A&&A.supports&&A.supports("modulepreload"))return;for(const M of document.querySelectorAll('link[rel="modulepreload"]'))d(M);new MutationObserver(M=>{for(const C of M)if(C.type==="childList")for(const Q of C.addedNodes)Q.tagName==="LINK"&&Q.rel==="modulepreload"&&d(Q)}).observe(document,{childList:!0,subtree:!0});function T(M){const C={};return M.integrity&&(C.integrity=M.integrity),M.referrerPolicy&&(C.referrerPolicy=M.referrerPolicy),M.crossOrigin==="use-credentials"?C.credentials="include":M.crossOrigin==="anonymous"?C.credentials="omit":C.credentials="same-origin",C}function d(M){if(M.ep)return;M.ep=!0;const C=T(M);fetch(M.href,C)}})();function Vg(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var bo={exports:{}},Tn={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Dh;function Qg(){if(Dh)return Tn;Dh=1;var c=Symbol.for("react.transitional.element"),A=Symbol.for("react.fragment");function T(d,M,C){var Q=null;if(C!==void 0&&(Q=""+C),M.key!==void 0&&(Q=""+M.key),"key"in M){C={};for(var Y in M)Y!=="key"&&(C[Y]=M[Y])}else C=M;return M=C.ref,{$$typeof:c,type:d,key:Q,ref:M!==void 0?M:null,props:C}}return Tn.Fragment=A,Tn.jsx=T,Tn.jsxs=T,Tn}var _h;function Xg(){return _h||(_h=1,bo.exports=Qg()),bo.exports}var i=Xg(),vo={exports:{}},Z={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Oh;function Kg(){if(Oh)return Z;Oh=1;var c=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),z=Symbol.iterator;function $(u){return u===null||typeof u!="object"?null:(u=z&&u[z]||u["@@iterator"],typeof u=="function"?u:null)}var xe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,ie={};function ve(u,b,E){this.props=u,this.context=b,this.refs=ie,this.updater=E||xe}ve.prototype.isReactComponent={},ve.prototype.setState=function(u,b){if(typeof u!="object"&&typeof u!="function"&&u!=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,u,b,"setState")},ve.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function Ze(){}Ze.prototype=ve.prototype;function ze(u,b,E){this.props=u,this.context=b,this.refs=ie,this.updater=E||xe}var K=ze.prototype=new Ze;K.constructor=ze,F(K,ve.prototype),K.isPureReactComponent=!0;var be=Array.isArray;function Se(){}var I={H:null,A:null,T:null,S:null},qe=Object.prototype.hasOwnProperty;function Ie(u,b,E){var O=E.ref;return{$$typeof:c,type:u,key:b,ref:O!==void 0?O:null,props:E}}function _t(u,b){return Ie(u.type,b,u.props)}function Xe(u){return typeof u=="object"&&u!==null&&u.$$typeof===c}function He(u){var b={"=":"=0",":":"=2"};return"$"+u.replace(/[=:]/g,function(E){return b[E]})}var yt=/\/+/g;function st(u,b){return typeof u=="object"&&u!==null&&u.key!=null?He(""+u.key):b.toString(36)}function Fe(u){switch(u.status){case"fulfilled":return u.value;case"rejected":throw u.reason;default:switch(typeof u.status=="string"?u.then(Se,Se):(u.status="pending",u.then(function(b){u.status==="pending"&&(u.status="fulfilled",u.value=b)},function(b){u.status==="pending"&&(u.status="rejected",u.reason=b)})),u.status){case"fulfilled":return u.value;case"rejected":throw u.reason}}throw u}function j(u,b,E,O,q){var P=typeof u;(P==="undefined"||P==="boolean")&&(u=null);var ue=!1;if(u===null)ue=!0;else switch(P){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(u.$$typeof){case c:case A:ue=!0;break;case H:return ue=u._init,j(ue(u._payload),b,E,O,q)}}if(ue)return q=q(u),ue=O===""?"."+st(u,0):O,be(q)?(E="",ue!=null&&(E=ue.replace(yt,"$&/")+"/"),j(q,b,E,"",function(_l){return _l})):q!=null&&(Xe(q)&&(q=_t(q,E+(q.key==null||u&&u.key===q.key?"":(""+q.key).replace(yt,"$&/")+"/")+ue)),b.push(q)),1;ue=0;var Je=O===""?".":O+":";if(be(u))for(var Te=0;Te<u.length;Te++)O=u[Te],P=Je+st(O,Te),ue+=j(O,b,E,P,q);else if(Te=$(u),typeof Te=="function")for(u=Te.call(u),Te=0;!(O=u.next()).done;)O=O.value,P=Je+st(O,Te++),ue+=j(O,b,E,P,q);else if(P==="object"){if(typeof u.then=="function")return j(Fe(u),b,E,O,q);throw b=String(u),Error("Objects are not valid as a React child (found: "+(b==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.")}return ue}function _(u,b,E){if(u==null)return u;var O=[],q=0;return j(u,O,"","",function(P){return b.call(E,P,q++)}),O}function X(u){if(u._status===-1){var b=u._result;b=b(),b.then(function(E){(u._status===0||u._status===-1)&&(u._status=1,u._result=E)},function(E){(u._status===0||u._status===-1)&&(u._status=2,u._result=E)}),u._status===-1&&(u._status=0,u._result=b)}if(u._status===1)return u._result.default;throw u._result}var re=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(b))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)},de={map:_,forEach:function(u,b,E){_(u,function(){b.apply(this,arguments)},E)},count:function(u){var b=0;return _(u,function(){b++}),b},toArray:function(u){return _(u,function(b){return b})||[]},only:function(u){if(!Xe(u))throw Error("React.Children.only expected to receive a single React element child.");return u}};return Z.Activity=D,Z.Children=de,Z.Component=ve,Z.Fragment=T,Z.Profiler=M,Z.PureComponent=ze,Z.StrictMode=d,Z.Suspense=S,Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,Z.__COMPILER_RUNTIME={__proto__:null,c:function(u){return I.H.useMemoCache(u)}},Z.cache=function(u){return function(){return u.apply(null,arguments)}},Z.cacheSignal=function(){return null},Z.cloneElement=function(u,b,E){if(u==null)throw Error("The argument must be a React element, but you passed "+u+".");var O=F({},u.props),q=u.key;if(b!=null)for(P in b.key!==void 0&&(q=""+b.key),b)!qe.call(b,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&b.ref===void 0||(O[P]=b[P]);var P=arguments.length-2;if(P===1)O.children=E;else if(1<P){for(var ue=Array(P),Je=0;Je<P;Je++)ue[Je]=arguments[Je+2];O.children=ue}return Ie(u.type,q,O)},Z.createContext=function(u){return u={$$typeof:Q,_currentValue:u,_currentValue2:u,_threadCount:0,Provider:null,Consumer:null},u.Provider=u,u.Consumer={$$typeof:C,_context:u},u},Z.createElement=function(u,b,E){var O,q={},P=null;if(b!=null)for(O in b.key!==void 0&&(P=""+b.key),b)qe.call(b,O)&&O!=="key"&&O!=="__self"&&O!=="__source"&&(q[O]=b[O]);var ue=arguments.length-2;if(ue===1)q.children=E;else if(1<ue){for(var Je=Array(ue),Te=0;Te<ue;Te++)Je[Te]=arguments[Te+2];q.children=Je}if(u&&u.defaultProps)for(O in ue=u.defaultProps,ue)q[O]===void 0&&(q[O]=ue[O]);return Ie(u,P,q)},Z.createRef=function(){return{current:null}},Z.forwardRef=function(u){return{$$typeof:Y,render:u}},Z.isValidElement=Xe,Z.lazy=function(u){return{$$typeof:H,_payload:{_status:-1,_result:u},_init:X}},Z.memo=function(u,b){return{$$typeof:v,type:u,compare:b===void 0?null:b}},Z.startTransition=function(u){var b=I.T,E={};I.T=E;try{var O=u(),q=I.S;q!==null&&q(E,O),typeof O=="object"&&O!==null&&typeof O.then=="function"&&O.then(Se,re)}catch(P){re(P)}finally{b!==null&&E.types!==null&&(b.types=E.types),I.T=b}},Z.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},Z.use=function(u){return I.H.use(u)},Z.useActionState=function(u,b,E){return I.H.useActionState(u,b,E)},Z.useCallback=function(u,b){return I.H.useCallback(u,b)},Z.useContext=function(u){return I.H.useContext(u)},Z.useDebugValue=function(){},Z.useDeferredValue=function(u,b){return I.H.useDeferredValue(u,b)},Z.useEffect=function(u,b){return I.H.useEffect(u,b)},Z.useEffectEvent=function(u){return I.H.useEffectEvent(u)},Z.useId=function(){return I.H.useId()},Z.useImperativeHandle=function(u,b,E){return I.H.useImperativeHandle(u,b,E)},Z.useInsertionEffect=function(u,b){return I.H.useInsertionEffect(u,b)},Z.useLayoutEffect=function(u,b){return I.H.useLayoutEffect(u,b)},Z.useMemo=function(u,b){return I.H.useMemo(u,b)},Z.useOptimistic=function(u,b){return I.H.useOptimistic(u,b)},Z.useReducer=function(u,b,E){return I.H.useReducer(u,b,E)},Z.useRef=function(u){return I.H.useRef(u)},Z.useState=function(u){return I.H.useState(u)},Z.useSyncExternalStore=function(u,b,E){return I.H.useSyncExternalStore(u,b,E)},Z.useTransition=function(){return I.H.useTransition()},Z.version="19.2.7",Z}var Rh;function zo(){return Rh||(Rh=1,vo.exports=Kg()),vo.exports}var G=zo();const Zg=Vg(G);var No={exports:{}},Cn={},jo={exports:{}},wo={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var Hh;function Jg(){return Hh||(Hh=1,(function(c){function A(j,_){var X=j.length;j.push(_);e:for(;0<X;){var re=X-1>>>1,de=j[re];if(0<M(de,_))j[re]=_,j[X]=de,X=re;else break e}}function T(j){return j.length===0?null:j[0]}function d(j){if(j.length===0)return null;var _=j[0],X=j.pop();if(X!==_){j[0]=X;e:for(var re=0,de=j.length,u=de>>>1;re<u;){var b=2*(re+1)-1,E=j[b],O=b+1,q=j[O];if(0>M(E,X))O<de&&0>M(q,E)?(j[re]=q,j[O]=X,re=O):(j[re]=E,j[b]=X,re=b);else if(O<de&&0>M(q,X))j[re]=q,j[O]=X,re=O;else break e}}return _}function M(j,_){var X=j.sortIndex-_.sortIndex;return X!==0?X:j.id-_.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;c.unstable_now=function(){return C.now()}}else{var Q=Date,Y=Q.now();c.unstable_now=function(){return Q.now()-Y}}var S=[],v=[],H=1,D=null,z=3,$=!1,xe=!1,F=!1,ie=!1,ve=typeof setTimeout=="function"?setTimeout:null,Ze=typeof clearTimeout=="function"?clearTimeout:null,ze=typeof setImmediate<"u"?setImmediate:null;function K(j){for(var _=T(v);_!==null;){if(_.callback===null)d(v);else if(_.startTime<=j)d(v),_.sortIndex=_.expirationTime,A(S,_);else break;_=T(v)}}function be(j){if(F=!1,K(j),!xe)if(T(S)!==null)xe=!0,Se||(Se=!0,He());else{var _=T(v);_!==null&&Fe(be,_.startTime-j)}}var Se=!1,I=-1,qe=5,Ie=-1;function _t(){return ie?!0:!(c.unstable_now()-Ie<qe)}function Xe(){if(ie=!1,Se){var j=c.unstable_now();Ie=j;var _=!0;try{e:{xe=!1,F&&(F=!1,Ze(I),I=-1),$=!0;var X=z;try{t:{for(K(j),D=T(S);D!==null&&!(D.expirationTime>j&&_t());){var re=D.callback;if(typeof re=="function"){D.callback=null,z=D.priorityLevel;var de=re(D.expirationTime<=j);if(j=c.unstable_now(),typeof de=="function"){D.callback=de,K(j),_=!0;break t}D===T(S)&&d(S),K(j)}else d(S);D=T(S)}if(D!==null)_=!0;else{var u=T(v);u!==null&&Fe(be,u.startTime-j),_=!1}}break e}finally{D=null,z=X,$=!1}_=void 0}}finally{_?He():Se=!1}}}var He;if(typeof ze=="function")He=function(){ze(Xe)};else if(typeof MessageChannel<"u"){var yt=new MessageChannel,st=yt.port2;yt.port1.onmessage=Xe,He=function(){st.postMessage(null)}}else He=function(){ve(Xe,0)};function Fe(j,_){I=ve(function(){j(c.unstable_now())},_)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(j){j.callback=null},c.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):qe=0<j?Math.floor(1e3/j):5},c.unstable_getCurrentPriorityLevel=function(){return z},c.unstable_next=function(j){switch(z){case 1:case 2:case 3:var _=3;break;default:_=z}var X=z;z=_;try{return j()}finally{z=X}},c.unstable_requestPaint=function(){ie=!0},c.unstable_runWithPriority=function(j,_){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var X=z;z=j;try{return _()}finally{z=X}},c.unstable_scheduleCallback=function(j,_,X){var re=c.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?re+X:re):X=re,j){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=X+de,j={id:H++,callback:_,priorityLevel:j,startTime:X,expirationTime:de,sortIndex:-1},X>re?(j.sortIndex=X,A(v,j),T(S)===null&&j===T(v)&&(F?(Ze(I),I=-1):F=!0,Fe(be,X-re))):(j.sortIndex=de,A(S,j),xe||$||(xe=!0,Se||(Se=!0,He()))),j},c.unstable_shouldYield=_t,c.unstable_wrapCallback=function(j){var _=z;return function(){var X=z;z=_;try{return j.apply(this,arguments)}finally{z=X}}}})(wo)),wo}var Uh;function $g(){return Uh||(Uh=1,jo.exports=Jg()),jo.exports}var So={exports:{}},Ke={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var Gh;function Wg(){if(Gh)return Ke;Gh=1;var c=zo();function A(S){var v="https://react.dev/errors/"+S;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var H=2;H<arguments.length;H++)v+="&args[]="+encodeURIComponent(arguments[H])}return"Minified React error #"+S+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function T(){}var d={d:{f:T,r:function(){throw Error(A(522))},D:T,C:T,L:T,m:T,X:T,S:T,M:T},p:0,findDOMNode:null},M=Symbol.for("react.portal");function C(S,v,H){var D=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:M,key:D==null?null:""+D,children:S,containerInfo:v,implementation:H}}var Q=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Y(S,v){if(S==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Ke.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,Ke.createPortal=function(S,v){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(A(299));return C(S,v,null,H)},Ke.flushSync=function(S){var v=Q.T,H=d.p;try{if(Q.T=null,d.p=2,S)return S()}finally{Q.T=v,d.p=H,d.d.f()}},Ke.preconnect=function(S,v){typeof S=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,d.d.C(S,v))},Ke.prefetchDNS=function(S){typeof S=="string"&&d.d.D(S)},Ke.preinit=function(S,v){if(typeof S=="string"&&v&&typeof v.as=="string"){var H=v.as,D=Y(H,v.crossOrigin),z=typeof v.integrity=="string"?v.integrity:void 0,$=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;H==="style"?d.d.S(S,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:D,integrity:z,fetchPriority:$}):H==="script"&&d.d.X(S,{crossOrigin:D,integrity:z,fetchPriority:$,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Ke.preinitModule=function(S,v){if(typeof S=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var H=Y(v.as,v.crossOrigin);d.d.M(S,{crossOrigin:H,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&d.d.M(S)},Ke.preload=function(S,v){if(typeof S=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var H=v.as,D=Y(H,v.crossOrigin);d.d.L(S,H,{crossOrigin:D,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})}},Ke.preloadModule=function(S,v){if(typeof S=="string")if(v){var H=Y(v.as,v.crossOrigin);d.d.m(S,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:H,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else d.d.m(S)},Ke.requestFormReset=function(S){d.d.r(S)},Ke.unstable_batchedUpdates=function(S,v){return S(v)},Ke.useFormState=function(S,v,H){return Q.H.useFormState(S,v,H)},Ke.useFormStatus=function(){return Q.H.useHostTransitionStatus()},Ke.version="19.2.7",Ke}var qh;function Ig(){if(qh)return So.exports;qh=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(A){console.error(A)}}return c(),So.exports=Wg(),So.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var Lh;function Fg(){if(Lh)return Cn;Lh=1;var c=$g(),A=zo(),T=Ig();function d(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function M(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function C(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function Q(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function S(e){if(C(e)!==e)throw Error(d(188))}function v(e){var t=e.alternate;if(!t){if(t=C(e),t===null)throw Error(d(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var s=n.alternate;if(s===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===s.child){for(s=n.child;s;){if(s===a)return S(n),e;if(s===l)return S(n),t;s=s.sibling}throw Error(d(188))}if(a.return!==l.return)a=n,l=s;else{for(var o=!1,r=n.child;r;){if(r===a){o=!0,a=n,l=s;break}if(r===l){o=!0,l=n,a=s;break}r=r.sibling}if(!o){for(r=s.child;r;){if(r===a){o=!0,a=s,l=n;break}if(r===l){o=!0,l=s,a=n;break}r=r.sibling}if(!o)throw Error(d(189))}}if(a.alternate!==l)throw Error(d(190))}if(a.tag!==3)throw Error(d(188));return a.stateNode.current===a?e:t}function H(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=H(e),t!==null)return t;e=e.sibling}return null}var D=Object.assign,z=Symbol.for("react.element"),$=Symbol.for("react.transitional.element"),xe=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),Ze=Symbol.for("react.consumer"),ze=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),be=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),qe=Symbol.for("react.lazy"),Ie=Symbol.for("react.activity"),_t=Symbol.for("react.memo_cache_sentinel"),Xe=Symbol.iterator;function He(e){return e===null||typeof e!="object"?null:(e=Xe&&e[Xe]||e["@@iterator"],typeof e=="function"?e:null)}var yt=Symbol.for("react.client.reference");function st(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===yt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case F:return"Fragment";case ve:return"Profiler";case ie:return"StrictMode";case be:return"Suspense";case Se:return"SuspenseList";case Ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case xe:return"Portal";case ze:return e.displayName||"Context";case Ze:return(e._context.displayName||"Context")+".Consumer";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case I:return t=e.displayName||null,t!==null?t:st(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return st(e(t))}catch{}}return null}var Fe=Array.isArray,j=A.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_=T.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},re=[],de=-1;function u(e){return{current:e}}function b(e){0>de||(e.current=re[de],re[de]=null,de--)}function E(e,t){de++,re[de]=e.current,e.current=t}var O=u(null),q=u(null),P=u(null),ue=u(null);function Je(e,t){switch(E(P,t),E(q,e),E(O,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?th(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=th(t),e=ah(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}b(O),E(O,e)}function Te(){b(O),b(q),b(P)}function _l(e){e.memoizedState!==null&&E(ue,e);var t=O.current,a=ah(t,e.type);t!==a&&(E(q,e),E(O,a))}function En(e){q.current===e&&(b(O),b(q)),ue.current===e&&(b(ue),wn._currentValue=X)}var es,Mo;function Ea(e){if(es===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);es=t&&t[1]||"",Mo=-1<a.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+es+e+Mo}var ts=!1;function as(e,t){if(!e||ts)return"";ts=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(y){var x=y}Reflect.construct(e,[],k)}else{try{k.call()}catch(y){x=y}e.call(k.prototype)}}else{try{throw Error()}catch(y){x=y}(k=e())&&typeof k.catch=="function"&&k.catch(function(){})}}catch(y){if(y&&x&&typeof y.stack=="string")return[y.stack,x.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=l.DetermineComponentFrameRoot(),o=s[0],r=s[1];if(o&&r){var h=o.split(`
44
+ `),p=r.split(`
45
+ `);for(n=l=0;l<h.length&&!h[l].includes("DetermineComponentFrameRoot");)l++;for(;n<p.length&&!p[n].includes("DetermineComponentFrameRoot");)n++;if(l===h.length||n===p.length)for(l=h.length-1,n=p.length-1;1<=l&&0<=n&&h[l]!==p[n];)n--;for(;1<=l&&0<=n;l--,n--)if(h[l]!==p[n]){if(l!==1||n!==1)do if(l--,n--,0>n||h[l]!==p[n]){var N=`
46
+ `+h[l].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),N}while(1<=l&&0<=n);break}}}finally{ts=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ea(a):""}function vf(e,t){switch(e.tag){case 26:case 27:case 5:return Ea(e.type);case 16:return Ea("Lazy");case 13:return e.child!==t&&t!==null?Ea("Suspense Fallback"):Ea("Suspense");case 19:return Ea("SuspenseList");case 0:case 15:return as(e.type,!1);case 11:return as(e.type.render,!1);case 1:return as(e.type,!0);case 31:return Ea("Activity");default:return""}}function Do(e){try{var t="",a=null;do t+=vf(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
47
+ Error generating stack: `+l.message+`
48
+ `+l.stack}}var ls=Object.prototype.hasOwnProperty,ns=c.unstable_scheduleCallback,is=c.unstable_cancelCallback,Nf=c.unstable_shouldYield,jf=c.unstable_requestPaint,ct=c.unstable_now,wf=c.unstable_getCurrentPriorityLevel,_o=c.unstable_ImmediatePriority,Oo=c.unstable_UserBlockingPriority,zn=c.unstable_NormalPriority,Sf=c.unstable_LowPriority,Ro=c.unstable_IdlePriority,kf=c.log,Af=c.unstable_setDisableYieldValue,Ol=null,ot=null;function na(e){if(typeof kf=="function"&&Af(e),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(Ol,e)}catch{}}var rt=Math.clz32?Math.clz32:Ef,Tf=Math.log,Cf=Math.LN2;function Ef(e){return e>>>=0,e===0?32:31-(Tf(e)/Cf|0)|0}var Mn=256,Dn=262144,_n=4194304;function za(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function On(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,s=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var r=l&134217727;return r!==0?(l=r&~s,l!==0?n=za(l):(o&=r,o!==0?n=za(o):a||(a=r&~e,a!==0&&(n=za(a))))):(r=l&~s,r!==0?n=za(r):o!==0?n=za(o):a||(a=l&~e,a!==0&&(n=za(a)))),n===0?0:t!==0&&t!==n&&(t&s)===0&&(s=n&-n,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:n}function Rl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function zf(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ho(){var e=_n;return _n<<=1,(_n&62914560)===0&&(_n=4194304),e}function ss(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Hl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Mf(e,t,a,l,n,s){var o=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var r=e.entanglements,h=e.expirationTimes,p=e.hiddenUpdates;for(a=o&~a;0<a;){var N=31-rt(a),k=1<<N;r[N]=0,h[N]=-1;var x=p[N];if(x!==null)for(p[N]=null,N=0;N<x.length;N++){var y=x[N];y!==null&&(y.lane&=-536870913)}a&=~k}l!==0&&Uo(e,l,0),s!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=s&~(o&~t))}function Uo(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-rt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function Go(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-rt(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function qo(e,t){var a=t&-t;return a=(a&42)!==0?1:cs(a),(a&(e.suspendedLanes|t))!==0?0:a}function cs(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function os(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lo(){var e=_.p;return e!==0?e:(e=window.event,e===void 0?32:kh(e.type))}function Bo(e,t){var a=_.p;try{return _.p=e,t()}finally{_.p=a}}var ia=Math.random().toString(36).slice(2),Le="__reactFiber$"+ia,Pe="__reactProps$"+ia,$a="__reactContainer$"+ia,rs="__reactEvents$"+ia,Df="__reactListeners$"+ia,_f="__reactHandles$"+ia,Yo="__reactResources$"+ia,Ul="__reactMarker$"+ia;function us(e){delete e[Le],delete e[Pe],delete e[rs],delete e[Df],delete e[_f]}function Wa(e){var t=e[Le];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$a]||a[Le]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=rh(e);e!==null;){if(a=e[Le])return a;e=rh(e)}return t}e=a,a=e.parentNode}return null}function Ia(e){if(e=e[Le]||e[$a]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Gl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(d(33))}function Fa(e){var t=e[Yo];return t||(t=e[Yo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ue(e){e[Ul]=!0}var Vo=new Set,Qo={};function Ma(e,t){Pa(e,t),Pa(e+"Capture",t)}function Pa(e,t){for(Qo[e]=t,e=0;e<t.length;e++)Vo.add(t[e])}var Of=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]*$"),Xo={},Ko={};function Rf(e){return ls.call(Ko,e)?!0:ls.call(Xo,e)?!1:Of.test(e)?Ko[e]=!0:(Xo[e]=!0,!1)}function Rn(e,t,a){if(Rf(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Hn(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function qt(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}function bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Zo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hf(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,s=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(o){a=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(o){a=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ds(e){if(!e._valueTracker){var t=Zo(e)?"checked":"value";e._valueTracker=Hf(e,t,""+e[t])}}function Jo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=Zo(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function Un(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Uf=/[\n"\\]/g;function vt(e){return e.replace(Uf,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function hs(e,t,a,l,n,s,o,r){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+bt(t)):e.value!==""+bt(t)&&(e.value=""+bt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?fs(e,o,bt(t)):a!=null?fs(e,o,bt(a)):l!=null&&e.removeAttribute("value"),n==null&&s!=null&&(e.defaultChecked=!!s),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.name=""+bt(r):e.removeAttribute("name")}function $o(e,t,a,l,n,s,o,r){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){ds(e);return}a=a!=null?""+bt(a):"",t=t!=null?""+bt(t):a,r||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=r?e.checked:!!l,e.defaultChecked=!!l,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),ds(e)}function fs(e,t,a){t==="number"&&Un(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function el(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+bt(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Wo(e,t,a){if(t!=null&&(t=""+bt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+bt(a):""}function Io(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(d(92));if(Fe(l)){if(1<l.length)throw Error(d(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=bt(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),ds(e)}function tl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Gf=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 Fo(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Gf.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Po(e,t,a){if(t!=null&&typeof t!="object")throw Error(d(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&Fo(e,n,l)}else for(var s in t)t.hasOwnProperty(s)&&Fo(e,s,t[s])}function ms(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qf=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"]]),Lf=/^[\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 Gn(e){return Lf.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lt(){}var gs=null;function ps(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var al=null,ll=null;function er(e){var t=Ia(e);if(t&&(e=t.stateNode)){var a=e[Pe]||null;e:switch(e=t.stateNode,t.type){case"input":if(hs(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+vt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[Pe]||null;if(!n)throw Error(d(90));hs(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&Jo(l)}break e;case"textarea":Wo(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&el(e,!!a.multiple,t,!1)}}}var xs=!1;function tr(e,t,a){if(xs)return e(t,a);xs=!0;try{var l=e(t);return l}finally{if(xs=!1,(al!==null||ll!==null)&&(ki(),al&&(t=al,e=ll,ll=al=null,er(t),e)))for(t=0;t<e.length;t++)er(e[t])}}function ql(e,t){var a=e.stateNode;if(a===null)return null;var l=a[Pe]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(d(231,t,typeof a));return a}var Bt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ys=!1;if(Bt)try{var Ll={};Object.defineProperty(Ll,"passive",{get:function(){ys=!0}}),window.addEventListener("test",Ll,Ll),window.removeEventListener("test",Ll,Ll)}catch{ys=!1}var sa=null,bs=null,qn=null;function ar(){if(qn)return qn;var e,t=bs,a=t.length,l,n="value"in sa?sa.value:sa.textContent,s=n.length;for(e=0;e<a&&t[e]===n[e];e++);var o=a-e;for(l=1;l<=o&&t[a-l]===n[s-l];l++);return qn=n.slice(e,1<l?1-l:void 0)}function Ln(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Bn(){return!0}function lr(){return!1}function et(e){function t(a,l,n,s,o){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var r in e)e.hasOwnProperty(r)&&(a=e[r],this[r]=a?a(s):s[r]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Bn:lr,this.isPropagationStopped=lr,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Bn)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Bn)},persist:function(){},isPersistent:Bn}),t}var Da={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yn=et(Da),Bl=D({},Da,{view:0,detail:0}),Bf=et(Bl),vs,Ns,Yl,Vn=D({},Bl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ws,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Yl&&(Yl&&e.type==="mousemove"?(vs=e.screenX-Yl.screenX,Ns=e.screenY-Yl.screenY):Ns=vs=0,Yl=e),vs)},movementY:function(e){return"movementY"in e?e.movementY:Ns}}),nr=et(Vn),Yf=D({},Vn,{dataTransfer:0}),Vf=et(Yf),Qf=D({},Bl,{relatedTarget:0}),js=et(Qf),Xf=D({},Da,{animationName:0,elapsedTime:0,pseudoElement:0}),Kf=et(Xf),Zf=D({},Da,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jf=et(Zf),$f=D({},Da,{data:0}),ir=et($f),Wf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},If={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"},Ff={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ff[e])?!!t[e]:!1}function ws(){return Pf}var em=D({},Bl,{key:function(e){if(e.key){var t=Wf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ln(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?If[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ws,charCode:function(e){return e.type==="keypress"?Ln(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ln(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),tm=et(em),am=D({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sr=et(am),lm=D({},Bl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ws}),nm=et(lm),im=D({},Da,{propertyName:0,elapsedTime:0,pseudoElement:0}),sm=et(im),cm=D({},Vn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),om=et(cm),rm=D({},Da,{newState:0,oldState:0}),um=et(rm),dm=[9,13,27,32],Ss=Bt&&"CompositionEvent"in window,Vl=null;Bt&&"documentMode"in document&&(Vl=document.documentMode);var hm=Bt&&"TextEvent"in window&&!Vl,cr=Bt&&(!Ss||Vl&&8<Vl&&11>=Vl),or=" ",rr=!1;function ur(e,t){switch(e){case"keyup":return dm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dr(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var nl=!1;function fm(e,t){switch(e){case"compositionend":return dr(t);case"keypress":return t.which!==32?null:(rr=!0,or);case"textInput":return e=t.data,e===or&&rr?null:e;default:return null}}function mm(e,t){if(nl)return e==="compositionend"||!Ss&&ur(e,t)?(e=ar(),qn=bs=sa=null,nl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return cr&&t.locale!=="ko"?null:t.data;default:return null}}var gm={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 hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gm[e.type]:t==="textarea"}function fr(e,t,a,l){al?ll?ll.push(l):ll=[l]:al=l,t=Di(t,"onChange"),0<t.length&&(a=new Yn("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var Ql=null,Xl=null;function pm(e){$d(e,0)}function Qn(e){var t=Gl(e);if(Jo(t))return e}function mr(e,t){if(e==="change")return t}var gr=!1;if(Bt){var ks;if(Bt){var As="oninput"in document;if(!As){var pr=document.createElement("div");pr.setAttribute("oninput","return;"),As=typeof pr.oninput=="function"}ks=As}else ks=!1;gr=ks&&(!document.documentMode||9<document.documentMode)}function xr(){Ql&&(Ql.detachEvent("onpropertychange",yr),Xl=Ql=null)}function yr(e){if(e.propertyName==="value"&&Qn(Xl)){var t=[];fr(t,Xl,e,ps(e)),tr(pm,t)}}function xm(e,t,a){e==="focusin"?(xr(),Ql=t,Xl=a,Ql.attachEvent("onpropertychange",yr)):e==="focusout"&&xr()}function ym(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qn(Xl)}function bm(e,t){if(e==="click")return Qn(t)}function vm(e,t){if(e==="input"||e==="change")return Qn(t)}function Nm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ut=typeof Object.is=="function"?Object.is:Nm;function Kl(e,t){if(ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!ls.call(t,n)||!ut(e[n],t[n]))return!1}return!0}function br(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vr(e,t){var a=br(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=br(a)}}function Nr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Nr(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Un(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Un(e.document)}return t}function Ts(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var jm=Bt&&"documentMode"in document&&11>=document.documentMode,il=null,Cs=null,Zl=null,Es=!1;function wr(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Es||il==null||il!==Un(l)||(l=il,"selectionStart"in l&&Ts(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Zl&&Kl(Zl,l)||(Zl=l,l=Di(Cs,"onSelect"),0<l.length&&(t=new Yn("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=il)))}function _a(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var sl={animationend:_a("Animation","AnimationEnd"),animationiteration:_a("Animation","AnimationIteration"),animationstart:_a("Animation","AnimationStart"),transitionrun:_a("Transition","TransitionRun"),transitionstart:_a("Transition","TransitionStart"),transitioncancel:_a("Transition","TransitionCancel"),transitionend:_a("Transition","TransitionEnd")},zs={},Sr={};Bt&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete sl.animationend.animation,delete sl.animationiteration.animation,delete sl.animationstart.animation),"TransitionEvent"in window||delete sl.transitionend.transition);function Oa(e){if(zs[e])return zs[e];if(!sl[e])return e;var t=sl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Sr)return zs[e]=t[a];return e}var kr=Oa("animationend"),Ar=Oa("animationiteration"),Tr=Oa("animationstart"),wm=Oa("transitionrun"),Sm=Oa("transitionstart"),km=Oa("transitioncancel"),Cr=Oa("transitionend"),Er=new Map,Ms="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(" ");Ms.push("scrollEnd");function Et(e,t){Er.set(e,t),Ma(t,[e])}var Xn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Nt=[],cl=0,Ds=0;function Kn(){for(var e=cl,t=Ds=cl=0;t<e;){var a=Nt[t];Nt[t++]=null;var l=Nt[t];Nt[t++]=null;var n=Nt[t];Nt[t++]=null;var s=Nt[t];if(Nt[t++]=null,l!==null&&n!==null){var o=l.pending;o===null?n.next=n:(n.next=o.next,o.next=n),l.pending=n}s!==0&&zr(a,n,s)}}function Zn(e,t,a,l){Nt[cl++]=e,Nt[cl++]=t,Nt[cl++]=a,Nt[cl++]=l,Ds|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function _s(e,t,a,l){return Zn(e,t,a,l),Jn(e)}function Ra(e,t){return Zn(e,null,null,t),Jn(e)}function zr(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,s=e.return;s!==null;)s.childLanes|=a,l=s.alternate,l!==null&&(l.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(n=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,n&&t!==null&&(n=31-rt(a),e=s.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),s):null}function Jn(e){if(50<pn)throw pn=0,Yc=null,Error(d(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ol={};function Am(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dt(e,t,a,l){return new Am(e,t,a,l)}function Os(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yt(e,t){var a=e.alternate;return a===null?(a=dt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Mr(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function $n(e,t,a,l,n,s){var o=0;if(l=e,typeof e=="function")Os(e)&&(o=1);else if(typeof e=="string")o=Mg(e,a,O.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Ie:return e=dt(31,a,t,n),e.elementType=Ie,e.lanes=s,e;case F:return Ha(a.children,n,s,t);case ie:o=8,n|=24;break;case ve:return e=dt(12,a,t,n|2),e.elementType=ve,e.lanes=s,e;case be:return e=dt(13,a,t,n),e.elementType=be,e.lanes=s,e;case Se:return e=dt(19,a,t,n),e.elementType=Se,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ze:o=10;break e;case Ze:o=9;break e;case K:o=11;break e;case I:o=14;break e;case qe:o=16,l=null;break e}o=29,a=Error(d(130,e===null?"null":typeof e,"")),l=null}return t=dt(o,a,t,n),t.elementType=e,t.type=l,t.lanes=s,t}function Ha(e,t,a,l){return e=dt(7,e,l,t),e.lanes=a,e}function Rs(e,t,a){return e=dt(6,e,null,t),e.lanes=a,e}function Dr(e){var t=dt(18,null,null,0);return t.stateNode=e,t}function Hs(e,t,a){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _r=new WeakMap;function jt(e,t){if(typeof e=="object"&&e!==null){var a=_r.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Do(t)},_r.set(e,t),t)}return{value:e,source:t,stack:Do(t)}}var rl=[],ul=0,Wn=null,Jl=0,wt=[],St=0,ca=null,Ot=1,Rt="";function Vt(e,t){rl[ul++]=Jl,rl[ul++]=Wn,Wn=e,Jl=t}function Or(e,t,a){wt[St++]=Ot,wt[St++]=Rt,wt[St++]=ca,ca=e;var l=Ot;e=Rt;var n=32-rt(l)-1;l&=~(1<<n),a+=1;var s=32-rt(t)+n;if(30<s){var o=n-n%5;s=(l&(1<<o)-1).toString(32),l>>=o,n-=o,Ot=1<<32-rt(t)+n|a<<n|l,Rt=s+e}else Ot=1<<s|a<<n|l,Rt=e}function Us(e){e.return!==null&&(Vt(e,1),Or(e,1,0))}function Gs(e){for(;e===Wn;)Wn=rl[--ul],rl[ul]=null,Jl=rl[--ul],rl[ul]=null;for(;e===ca;)ca=wt[--St],wt[St]=null,Rt=wt[--St],wt[St]=null,Ot=wt[--St],wt[St]=null}function Rr(e,t){wt[St++]=Ot,wt[St++]=Rt,wt[St++]=ca,Ot=t.id,Rt=t.overflow,ca=e}var Be=null,Ne=null,ne=!1,oa=null,kt=!1,qs=Error(d(519));function ra(e){var t=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $l(jt(t,e)),qs}function Hr(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[Le]=e,t[Pe]=l,a){case"dialog":te("cancel",t),te("close",t);break;case"iframe":case"object":case"embed":te("load",t);break;case"video":case"audio":for(a=0;a<yn.length;a++)te(yn[a],t);break;case"source":te("error",t);break;case"img":case"image":case"link":te("error",t),te("load",t);break;case"details":te("toggle",t);break;case"input":te("invalid",t),$o(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":te("invalid",t);break;case"textarea":te("invalid",t),Io(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||Pd(t.textContent,a)?(l.popover!=null&&(te("beforetoggle",t),te("toggle",t)),l.onScroll!=null&&te("scroll",t),l.onScrollEnd!=null&&te("scrollend",t),l.onClick!=null&&(t.onclick=Lt),t=!0):t=!1,t||ra(e,!0)}function Ur(e){for(Be=e.return;Be;)switch(Be.tag){case 5:case 31:case 13:kt=!1;return;case 27:case 3:kt=!0;return;default:Be=Be.return}}function dl(e){if(e!==Be)return!1;if(!ne)return Ur(e),ne=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||lo(e.type,e.memoizedProps)),a=!a),a&&Ne&&ra(e),Ur(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));Ne=oh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(317));Ne=oh(e)}else t===27?(t=Ne,wa(e.type)?(e=oo,oo=null,Ne=e):Ne=t):Ne=Be?Tt(e.stateNode.nextSibling):null;return!0}function Ua(){Ne=Be=null,ne=!1}function Ls(){var e=oa;return e!==null&&(nt===null?nt=e:nt.push.apply(nt,e),oa=null),e}function $l(e){oa===null?oa=[e]:oa.push(e)}var Bs=u(null),Ga=null,Qt=null;function ua(e,t,a){E(Bs,t._currentValue),t._currentValue=a}function Xt(e){e._currentValue=Bs.current,b(Bs)}function Ys(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Vs(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var s=n.dependencies;if(s!==null){var o=n.child;s=s.firstContext;e:for(;s!==null;){var r=s;s=n;for(var h=0;h<t.length;h++)if(r.context===t[h]){s.lanes|=a,r=s.alternate,r!==null&&(r.lanes|=a),Ys(s.return,a,e),l||(o=null);break e}s=r.next}}else if(n.tag===18){if(o=n.return,o===null)throw Error(d(341));o.lanes|=a,s=o.alternate,s!==null&&(s.lanes|=a),Ys(o,a,e),o=null}else o=n.child;if(o!==null)o.return=n;else for(o=n;o!==null;){if(o===e){o=null;break}if(n=o.sibling,n!==null){n.return=o.return,o=n;break}o=o.return}n=o}}function hl(e,t,a,l){e=null;for(var n=t,s=!1;n!==null;){if(!s){if((n.flags&524288)!==0)s=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var o=n.alternate;if(o===null)throw Error(d(387));if(o=o.memoizedProps,o!==null){var r=n.type;ut(n.pendingProps.value,o.value)||(e!==null?e.push(r):e=[r])}}else if(n===ue.current){if(o=n.alternate,o===null)throw Error(d(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(wn):e=[wn])}n=n.return}e!==null&&Vs(t,e,a,l),t.flags|=262144}function In(e){for(e=e.firstContext;e!==null;){if(!ut(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qa(e){Ga=e,Qt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ye(e){return Gr(Ga,e)}function Fn(e,t){return Ga===null&&qa(e),Gr(e,t)}function Gr(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Qt===null){if(e===null)throw Error(d(308));Qt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qt=Qt.next=t;return a}var Tm=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Cm=c.unstable_scheduleCallback,Em=c.unstable_NormalPriority,Me={$$typeof:ze,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qs(){return{controller:new Tm,data:new Map,refCount:0}}function Wl(e){e.refCount--,e.refCount===0&&Cm(Em,function(){e.controller.abort()})}var Il=null,Xs=0,fl=0,ml=null;function zm(e,t){if(Il===null){var a=Il=[];Xs=0,fl=Jc(),ml={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Xs++,t.then(qr,qr),t}function qr(){if(--Xs===0&&Il!==null){ml!==null&&(ml.status="fulfilled");var e=Il;Il=null,fl=0,ml=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Mm(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var Lr=j.S;j.S=function(e,t){wd=ct(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&zm(e,t),Lr!==null&&Lr(e,t)};var La=u(null);function Ks(){var e=La.current;return e!==null?e:ye.pooledCache}function Pn(e,t){t===null?E(La,La.current):E(La,t.pool)}function Br(){var e=Ks();return e===null?null:{parent:Me._currentValue,pool:e}}var gl=Error(d(460)),Zs=Error(d(474)),ei=Error(d(542)),ti={then:function(){}};function Yr(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Vr(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Lt,Lt),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Xr(e),e;default:if(typeof t.status=="string")t.then(Lt,Lt);else{if(e=ye,e!==null&&100<e.shellSuspendCounter)throw Error(d(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Xr(e),e}throw Ya=t,gl}}function Ba(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ya=a,gl):a}}var Ya=null;function Qr(){if(Ya===null)throw Error(d(459));var e=Ya;return Ya=null,e}function Xr(e){if(e===gl||e===ei)throw Error(d(483))}var pl=null,Fl=0;function ai(e){var t=Fl;return Fl+=1,pl===null&&(pl=[]),Vr(pl,e,t)}function Pl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function li(e,t){throw t.$$typeof===z?Error(d(525)):(e=Object.prototype.toString.call(t),Error(d(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Kr(e){function t(m,f){if(e){var g=m.deletions;g===null?(m.deletions=[f],m.flags|=16):g.push(f)}}function a(m,f){if(!e)return null;for(;f!==null;)t(m,f),f=f.sibling;return null}function l(m){for(var f=new Map;m!==null;)m.key!==null?f.set(m.key,m):f.set(m.index,m),m=m.sibling;return f}function n(m,f){return m=Yt(m,f),m.index=0,m.sibling=null,m}function s(m,f,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<f?(m.flags|=67108866,f):g):(m.flags|=67108866,f)):(m.flags|=1048576,f)}function o(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function r(m,f,g,w){return f===null||f.tag!==6?(f=Rs(g,m.mode,w),f.return=m,f):(f=n(f,g),f.return=m,f)}function h(m,f,g,w){var B=g.type;return B===F?N(m,f,g.props.children,w,g.key):f!==null&&(f.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===qe&&Ba(B)===f.type)?(f=n(f,g.props),Pl(f,g),f.return=m,f):(f=$n(g.type,g.key,g.props,null,m.mode,w),Pl(f,g),f.return=m,f)}function p(m,f,g,w){return f===null||f.tag!==4||f.stateNode.containerInfo!==g.containerInfo||f.stateNode.implementation!==g.implementation?(f=Hs(g,m.mode,w),f.return=m,f):(f=n(f,g.children||[]),f.return=m,f)}function N(m,f,g,w,B){return f===null||f.tag!==7?(f=Ha(g,m.mode,w,B),f.return=m,f):(f=n(f,g),f.return=m,f)}function k(m,f,g){if(typeof f=="string"&&f!==""||typeof f=="number"||typeof f=="bigint")return f=Rs(""+f,m.mode,g),f.return=m,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case $:return g=$n(f.type,f.key,f.props,null,m.mode,g),Pl(g,f),g.return=m,g;case xe:return f=Hs(f,m.mode,g),f.return=m,f;case qe:return f=Ba(f),k(m,f,g)}if(Fe(f)||He(f))return f=Ha(f,m.mode,g,null),f.return=m,f;if(typeof f.then=="function")return k(m,ai(f),g);if(f.$$typeof===ze)return k(m,Fn(m,f),g);li(m,f)}return null}function x(m,f,g,w){var B=f!==null?f.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return B!==null?null:r(m,f,""+g,w);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case $:return g.key===B?h(m,f,g,w):null;case xe:return g.key===B?p(m,f,g,w):null;case qe:return g=Ba(g),x(m,f,g,w)}if(Fe(g)||He(g))return B!==null?null:N(m,f,g,w,null);if(typeof g.then=="function")return x(m,f,ai(g),w);if(g.$$typeof===ze)return x(m,f,Fn(m,g),w);li(m,g)}return null}function y(m,f,g,w,B){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return m=m.get(g)||null,r(f,m,""+w,B);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $:return m=m.get(w.key===null?g:w.key)||null,h(f,m,w,B);case xe:return m=m.get(w.key===null?g:w.key)||null,p(f,m,w,B);case qe:return w=Ba(w),y(m,f,g,w,B)}if(Fe(w)||He(w))return m=m.get(g)||null,N(f,m,w,B,null);if(typeof w.then=="function")return y(m,f,g,ai(w),B);if(w.$$typeof===ze)return y(m,f,g,Fn(f,w),B);li(f,w)}return null}function R(m,f,g,w){for(var B=null,se=null,U=f,W=f=0,le=null;U!==null&&W<g.length;W++){U.index>W?(le=U,U=null):le=U.sibling;var ce=x(m,U,g[W],w);if(ce===null){U===null&&(U=le);break}e&&U&&ce.alternate===null&&t(m,U),f=s(ce,f,W),se===null?B=ce:se.sibling=ce,se=ce,U=le}if(W===g.length)return a(m,U),ne&&Vt(m,W),B;if(U===null){for(;W<g.length;W++)U=k(m,g[W],w),U!==null&&(f=s(U,f,W),se===null?B=U:se.sibling=U,se=U);return ne&&Vt(m,W),B}for(U=l(U);W<g.length;W++)le=y(U,m,W,g[W],w),le!==null&&(e&&le.alternate!==null&&U.delete(le.key===null?W:le.key),f=s(le,f,W),se===null?B=le:se.sibling=le,se=le);return e&&U.forEach(function(Ca){return t(m,Ca)}),ne&&Vt(m,W),B}function V(m,f,g,w){if(g==null)throw Error(d(151));for(var B=null,se=null,U=f,W=f=0,le=null,ce=g.next();U!==null&&!ce.done;W++,ce=g.next()){U.index>W?(le=U,U=null):le=U.sibling;var Ca=x(m,U,ce.value,w);if(Ca===null){U===null&&(U=le);break}e&&U&&Ca.alternate===null&&t(m,U),f=s(Ca,f,W),se===null?B=Ca:se.sibling=Ca,se=Ca,U=le}if(ce.done)return a(m,U),ne&&Vt(m,W),B;if(U===null){for(;!ce.done;W++,ce=g.next())ce=k(m,ce.value,w),ce!==null&&(f=s(ce,f,W),se===null?B=ce:se.sibling=ce,se=ce);return ne&&Vt(m,W),B}for(U=l(U);!ce.done;W++,ce=g.next())ce=y(U,m,W,ce.value,w),ce!==null&&(e&&ce.alternate!==null&&U.delete(ce.key===null?W:ce.key),f=s(ce,f,W),se===null?B=ce:se.sibling=ce,se=ce);return e&&U.forEach(function(Yg){return t(m,Yg)}),ne&&Vt(m,W),B}function pe(m,f,g,w){if(typeof g=="object"&&g!==null&&g.type===F&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case $:e:{for(var B=g.key;f!==null;){if(f.key===B){if(B=g.type,B===F){if(f.tag===7){a(m,f.sibling),w=n(f,g.props.children),w.return=m,m=w;break e}}else if(f.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===qe&&Ba(B)===f.type){a(m,f.sibling),w=n(f,g.props),Pl(w,g),w.return=m,m=w;break e}a(m,f);break}else t(m,f);f=f.sibling}g.type===F?(w=Ha(g.props.children,m.mode,w,g.key),w.return=m,m=w):(w=$n(g.type,g.key,g.props,null,m.mode,w),Pl(w,g),w.return=m,m=w)}return o(m);case xe:e:{for(B=g.key;f!==null;){if(f.key===B)if(f.tag===4&&f.stateNode.containerInfo===g.containerInfo&&f.stateNode.implementation===g.implementation){a(m,f.sibling),w=n(f,g.children||[]),w.return=m,m=w;break e}else{a(m,f);break}else t(m,f);f=f.sibling}w=Hs(g,m.mode,w),w.return=m,m=w}return o(m);case qe:return g=Ba(g),pe(m,f,g,w)}if(Fe(g))return R(m,f,g,w);if(He(g)){if(B=He(g),typeof B!="function")throw Error(d(150));return g=B.call(g),V(m,f,g,w)}if(typeof g.then=="function")return pe(m,f,ai(g),w);if(g.$$typeof===ze)return pe(m,f,Fn(m,g),w);li(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,f!==null&&f.tag===6?(a(m,f.sibling),w=n(f,g),w.return=m,m=w):(a(m,f),w=Rs(g,m.mode,w),w.return=m,m=w),o(m)):a(m,f)}return function(m,f,g,w){try{Fl=0;var B=pe(m,f,g,w);return pl=null,B}catch(U){if(U===gl||U===ei)throw U;var se=dt(29,U,null,m.mode);return se.lanes=w,se.return=m,se}finally{}}}var Va=Kr(!0),Zr=Kr(!1),da=!1;function Js(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $s(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ha(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function fa(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(oe&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=Jn(e),zr(e,null,a),t}return Zn(e,l,t,a),Jn(e)}function en(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Go(e,a)}}function Ws(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?n=s=o:s=s.next=o,a=a.next}while(a!==null);s===null?n=s=t:s=s.next=t}else n=s=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:s,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Is=!1;function tn(){if(Is){var e=ml;if(e!==null)throw e}}function an(e,t,a,l){Is=!1;var n=e.updateQueue;da=!1;var s=n.firstBaseUpdate,o=n.lastBaseUpdate,r=n.shared.pending;if(r!==null){n.shared.pending=null;var h=r,p=h.next;h.next=null,o===null?s=p:o.next=p,o=h;var N=e.alternate;N!==null&&(N=N.updateQueue,r=N.lastBaseUpdate,r!==o&&(r===null?N.firstBaseUpdate=p:r.next=p,N.lastBaseUpdate=h))}if(s!==null){var k=n.baseState;o=0,N=p=h=null,r=s;do{var x=r.lane&-536870913,y=x!==r.lane;if(y?(ae&x)===x:(l&x)===x){x!==0&&x===fl&&(Is=!0),N!==null&&(N=N.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});e:{var R=e,V=r;x=t;var pe=a;switch(V.tag){case 1:if(R=V.payload,typeof R=="function"){k=R.call(pe,k,x);break e}k=R;break e;case 3:R.flags=R.flags&-65537|128;case 0:if(R=V.payload,x=typeof R=="function"?R.call(pe,k,x):R,x==null)break e;k=D({},k,x);break e;case 2:da=!0}}x=r.callback,x!==null&&(e.flags|=64,y&&(e.flags|=8192),y=n.callbacks,y===null?n.callbacks=[x]:y.push(x))}else y={lane:x,tag:r.tag,payload:r.payload,callback:r.callback,next:null},N===null?(p=N=y,h=k):N=N.next=y,o|=x;if(r=r.next,r===null){if(r=n.shared.pending,r===null)break;y=r,r=y.next,y.next=null,n.lastBaseUpdate=y,n.shared.pending=null}}while(!0);N===null&&(h=k),n.baseState=h,n.firstBaseUpdate=p,n.lastBaseUpdate=N,s===null&&(n.shared.lanes=0),ya|=o,e.lanes=o,e.memoizedState=k}}function Jr(e,t){if(typeof e!="function")throw Error(d(191,e));e.call(t)}function $r(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Jr(a[e],t)}var xl=u(null),ni=u(0);function Wr(e,t){e=ea,E(ni,e),E(xl,t),ea=e|t.baseLanes}function Fs(){E(ni,ea),E(xl,xl.current)}function Ps(){ea=ni.current,b(xl),b(ni)}var ht=u(null),At=null;function ma(e){var t=e.alternate;E(Ce,Ce.current&1),E(ht,e),At===null&&(t===null||xl.current!==null||t.memoizedState!==null)&&(At=e)}function ec(e){E(Ce,Ce.current),E(ht,e),At===null&&(At=e)}function Ir(e){e.tag===22?(E(Ce,Ce.current),E(ht,e),At===null&&(At=e)):ga()}function ga(){E(Ce,Ce.current),E(ht,ht.current)}function ft(e){b(ht),At===e&&(At=null),b(Ce)}var Ce=u(0);function ii(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||so(a)||co(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Kt=0,J=null,me=null,De=null,si=!1,yl=!1,Qa=!1,ci=0,ln=0,bl=null,Dm=0;function ke(){throw Error(d(321))}function tc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!ut(e[a],t[a]))return!1;return!0}function ac(e,t,a,l,n,s){return Kt=s,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=e===null||e.memoizedState===null?Ou:xc,Qa=!1,s=a(l,n),Qa=!1,yl&&(s=Pr(t,a,l,n)),Fr(e),s}function Fr(e){j.H=cn;var t=me!==null&&me.next!==null;if(Kt=0,De=me=J=null,si=!1,ln=0,bl=null,t)throw Error(d(300));e===null||_e||(e=e.dependencies,e!==null&&In(e)&&(_e=!0))}function Pr(e,t,a,l){J=e;var n=0;do{if(yl&&(bl=null),ln=0,yl=!1,25<=n)throw Error(d(301));if(n+=1,De=me=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}j.H=Ru,s=t(a,l)}while(yl);return s}function _m(){var e=j.H,t=e.useState()[0];return t=typeof t.then=="function"?nn(t):t,e=e.useState()[0],(me!==null?me.memoizedState:null)!==e&&(J.flags|=1024),t}function lc(){var e=ci!==0;return ci=0,e}function nc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function ic(e){if(si){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}si=!1}Kt=0,De=me=J=null,yl=!1,ln=ci=0,bl=null}function $e(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?J.memoizedState=De=e:De=De.next=e,De}function Ee(){if(me===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=me.next;var t=De===null?J.memoizedState:De.next;if(t!==null)De=t,me=e;else{if(e===null)throw J.alternate===null?Error(d(467)):Error(d(310));me=e,e={memoizedState:me.memoizedState,baseState:me.baseState,baseQueue:me.baseQueue,queue:me.queue,next:null},De===null?J.memoizedState=De=e:De=De.next=e}return De}function oi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nn(e){var t=ln;return ln+=1,bl===null&&(bl=[]),e=Vr(bl,e,t),t=J,(De===null?t.memoizedState:De.next)===null&&(t=t.alternate,j.H=t===null||t.memoizedState===null?Ou:xc),e}function ri(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return nn(e);if(e.$$typeof===ze)return Ye(e)}throw Error(d(438,String(e)))}function sc(e){var t=null,a=J.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=J.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=oi(),J.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=_t;return t.index++,a}function Zt(e,t){return typeof t=="function"?t(e):t}function ui(e){var t=Ee();return cc(t,me,e)}function cc(e,t,a){var l=e.queue;if(l===null)throw Error(d(311));l.lastRenderedReducer=a;var n=e.baseQueue,s=l.pending;if(s!==null){if(n!==null){var o=n.next;n.next=s.next,s.next=o}t.baseQueue=n=s,l.pending=null}if(s=e.baseState,n===null)e.memoizedState=s;else{t=n.next;var r=o=null,h=null,p=t,N=!1;do{var k=p.lane&-536870913;if(k!==p.lane?(ae&k)===k:(Kt&k)===k){var x=p.revertLane;if(x===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),k===fl&&(N=!0);else if((Kt&x)===x){p=p.next,x===fl&&(N=!0);continue}else k={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(r=h=k,o=s):h=h.next=k,J.lanes|=x,ya|=x;k=p.action,Qa&&a(s,k),s=p.hasEagerState?p.eagerState:a(s,k)}else x={lane:k,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(r=h=x,o=s):h=h.next=x,J.lanes|=k,ya|=k;p=p.next}while(p!==null&&p!==t);if(h===null?o=s:h.next=r,!ut(s,e.memoizedState)&&(_e=!0,N&&(a=ml,a!==null)))throw a;e.memoizedState=s,e.baseState=o,e.baseQueue=h,l.lastRenderedState=s}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function oc(e){var t=Ee(),a=t.queue;if(a===null)throw Error(d(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,s=t.memoizedState;if(n!==null){a.pending=null;var o=n=n.next;do s=e(s,o.action),o=o.next;while(o!==n);ut(s,t.memoizedState)||(_e=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,l]}function eu(e,t,a){var l=J,n=Ee(),s=ne;if(s){if(a===void 0)throw Error(d(407));a=a()}else a=t();var o=!ut((me||n).memoizedState,a);if(o&&(n.memoizedState=a,_e=!0),n=n.queue,dc(lu.bind(null,l,n,e),[e]),n.getSnapshot!==t||o||De!==null&&De.memoizedState.tag&1){if(l.flags|=2048,vl(9,{destroy:void 0},au.bind(null,l,n,a,t),null),ye===null)throw Error(d(349));s||(Kt&127)!==0||tu(l,t,a)}return a}function tu(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=J.updateQueue,t===null?(t=oi(),J.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function au(e,t,a,l){t.value=a,t.getSnapshot=l,nu(t)&&iu(e)}function lu(e,t,a){return a(function(){nu(t)&&iu(e)})}function nu(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ut(e,a)}catch{return!0}}function iu(e){var t=Ra(e,2);t!==null&&it(t,e,2)}function rc(e){var t=$e();if(typeof e=="function"){var a=e;if(e=a(),Qa){na(!0);try{a()}finally{na(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:e},t}function su(e,t,a,l){return e.baseState=a,cc(e,me,typeof l=="function"?l:Zt)}function Om(e,t,a,l,n){if(fi(e))throw Error(d(485));if(e=t.action,e!==null){var s={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){s.listeners.push(o)}};j.T!==null?a(!0):s.isTransition=!1,l(s),a=t.pending,a===null?(s.next=t.pending=s,cu(t,s)):(s.next=a.next,t.pending=a.next=s)}}function cu(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var s=j.T,o={};j.T=o;try{var r=a(n,l),h=j.S;h!==null&&h(o,r),ou(e,t,r)}catch(p){uc(e,t,p)}finally{s!==null&&o.types!==null&&(s.types=o.types),j.T=s}}else try{s=a(n,l),ou(e,t,s)}catch(p){uc(e,t,p)}}function ou(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){ru(e,t,l)},function(l){return uc(e,t,l)}):ru(e,t,a)}function ru(e,t,a){t.status="fulfilled",t.value=a,uu(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,cu(e,a)))}function uc(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,uu(t),t=t.next;while(t!==l)}e.action=null}function uu(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function du(e,t){return t}function hu(e,t){if(ne){var a=ye.formState;if(a!==null){e:{var l=J;if(ne){if(Ne){t:{for(var n=Ne,s=kt;n.nodeType!==8;){if(!s){n=null;break t}if(n=Tt(n.nextSibling),n===null){n=null;break t}}s=n.data,n=s==="F!"||s==="F"?n:null}if(n){Ne=Tt(n.nextSibling),l=n.data==="F!";break e}}ra(l)}l=!1}l&&(t=a[0])}}return a=$e(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:du,lastRenderedState:t},a.queue=l,a=Mu.bind(null,J,l),l.dispatch=a,l=rc(!1),s=pc.bind(null,J,!1,l.queue),l=$e(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=Om.bind(null,J,n,s,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function fu(e){var t=Ee();return mu(t,me,e)}function mu(e,t,a){if(t=cc(e,t,du)[0],e=ui(Zt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=nn(t)}catch(o){throw o===gl?ei:o}else l=t;t=Ee();var n=t.queue,s=n.dispatch;return a!==t.memoizedState&&(J.flags|=2048,vl(9,{destroy:void 0},Rm.bind(null,n,a),null)),[l,s,e]}function Rm(e,t){e.action=t}function gu(e){var t=Ee(),a=me;if(a!==null)return mu(t,a,e);Ee(),t=t.memoizedState,a=Ee();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function vl(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=J.updateQueue,t===null&&(t=oi(),J.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function pu(){return Ee().memoizedState}function di(e,t,a,l){var n=$e();J.flags|=e,n.memoizedState=vl(1|t,{destroy:void 0},a,l===void 0?null:l)}function hi(e,t,a,l){var n=Ee();l=l===void 0?null:l;var s=n.memoizedState.inst;me!==null&&l!==null&&tc(l,me.memoizedState.deps)?n.memoizedState=vl(t,s,a,l):(J.flags|=e,n.memoizedState=vl(1|t,s,a,l))}function xu(e,t){di(8390656,8,e,t)}function dc(e,t){hi(2048,8,e,t)}function Hm(e){J.flags|=4;var t=J.updateQueue;if(t===null)t=oi(),J.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function yu(e){var t=Ee().memoizedState;return Hm({ref:t,nextImpl:e}),function(){if((oe&2)!==0)throw Error(d(440));return t.impl.apply(void 0,arguments)}}function bu(e,t){return hi(4,2,e,t)}function vu(e,t){return hi(4,4,e,t)}function Nu(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ju(e,t,a){a=a!=null?a.concat([e]):null,hi(4,4,Nu.bind(null,t,e),a)}function hc(){}function wu(e,t){var a=Ee();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&tc(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Su(e,t){var a=Ee();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&tc(t,l[1]))return l[0];if(l=e(),Qa){na(!0);try{e()}finally{na(!1)}}return a.memoizedState=[l,t],l}function fc(e,t,a){return a===void 0||(Kt&1073741824)!==0&&(ae&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=kd(),J.lanes|=e,ya|=e,a)}function ku(e,t,a,l){return ut(a,t)?a:xl.current!==null?(e=fc(e,a,l),ut(e,t)||(_e=!0),e):(Kt&42)===0||(Kt&1073741824)!==0&&(ae&261930)===0?(_e=!0,e.memoizedState=a):(e=kd(),J.lanes|=e,ya|=e,t)}function Au(e,t,a,l,n){var s=_.p;_.p=s!==0&&8>s?s:8;var o=j.T,r={};j.T=r,pc(e,!1,t,a);try{var h=n(),p=j.S;if(p!==null&&p(r,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var N=Mm(h,l);sn(e,t,N,pt(e))}else sn(e,t,l,pt(e))}catch(k){sn(e,t,{then:function(){},status:"rejected",reason:k},pt())}finally{_.p=s,o!==null&&r.types!==null&&(o.types=r.types),j.T=o}}function Um(){}function mc(e,t,a,l){if(e.tag!==5)throw Error(d(476));var n=Tu(e).queue;Au(e,n,t,X,a===null?Um:function(){return Cu(e),a(l)})}function Tu(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:X},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zt,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Cu(e){var t=Tu(e);t.next===null&&(t=e.alternate.memoizedState),sn(e,t.next.queue,{},pt())}function gc(){return Ye(wn)}function Eu(){return Ee().memoizedState}function zu(){return Ee().memoizedState}function Gm(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=pt();e=ha(a);var l=fa(t,e,a);l!==null&&(it(l,t,a),en(l,t,a)),t={cache:Qs()},e.payload=t;return}t=t.return}}function qm(e,t,a){var l=pt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},fi(e)?Du(t,a):(a=_s(e,t,a,l),a!==null&&(it(a,e,l),_u(a,t,l)))}function Mu(e,t,a){var l=pt();sn(e,t,a,l)}function sn(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(fi(e))Du(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,r=s(o,a);if(n.hasEagerState=!0,n.eagerState=r,ut(r,o))return Zn(e,t,n,0),ye===null&&Kn(),!1}catch{}finally{}if(a=_s(e,t,n,l),a!==null)return it(a,e,l),_u(a,t,l),!0}return!1}function pc(e,t,a,l){if(l={lane:2,revertLane:Jc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},fi(e)){if(t)throw Error(d(479))}else t=_s(e,a,l,2),t!==null&&it(t,e,2)}function fi(e){var t=e.alternate;return e===J||t!==null&&t===J}function Du(e,t){yl=si=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function _u(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Go(e,a)}}var cn={readContext:Ye,use:ri,useCallback:ke,useContext:ke,useEffect:ke,useImperativeHandle:ke,useLayoutEffect:ke,useInsertionEffect:ke,useMemo:ke,useReducer:ke,useRef:ke,useState:ke,useDebugValue:ke,useDeferredValue:ke,useTransition:ke,useSyncExternalStore:ke,useId:ke,useHostTransitionStatus:ke,useFormState:ke,useActionState:ke,useOptimistic:ke,useMemoCache:ke,useCacheRefresh:ke};cn.useEffectEvent=ke;var Ou={readContext:Ye,use:ri,useCallback:function(e,t){return $e().memoizedState=[e,t===void 0?null:t],e},useContext:Ye,useEffect:xu,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,di(4194308,4,Nu.bind(null,t,e),a)},useLayoutEffect:function(e,t){return di(4194308,4,e,t)},useInsertionEffect:function(e,t){di(4,2,e,t)},useMemo:function(e,t){var a=$e();t=t===void 0?null:t;var l=e();if(Qa){na(!0);try{e()}finally{na(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=$e();if(a!==void 0){var n=a(t);if(Qa){na(!0);try{a(t)}finally{na(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=qm.bind(null,J,e),[l.memoizedState,e]},useRef:function(e){var t=$e();return e={current:e},t.memoizedState=e},useState:function(e){e=rc(e);var t=e.queue,a=Mu.bind(null,J,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:hc,useDeferredValue:function(e,t){var a=$e();return fc(a,e,t)},useTransition:function(){var e=rc(!1);return e=Au.bind(null,J,e.queue,!0,!1),$e().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=J,n=$e();if(ne){if(a===void 0)throw Error(d(407));a=a()}else{if(a=t(),ye===null)throw Error(d(349));(ae&127)!==0||tu(l,t,a)}n.memoizedState=a;var s={value:a,getSnapshot:t};return n.queue=s,xu(lu.bind(null,l,s,e),[e]),l.flags|=2048,vl(9,{destroy:void 0},au.bind(null,l,s,a,t),null),a},useId:function(){var e=$e(),t=ye.identifierPrefix;if(ne){var a=Rt,l=Ot;a=(l&~(1<<32-rt(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=ci++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Dm++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:gc,useFormState:hu,useActionState:hu,useOptimistic:function(e){var t=$e();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=pc.bind(null,J,!0,a),a.dispatch=t,[e,t]},useMemoCache:sc,useCacheRefresh:function(){return $e().memoizedState=Gm.bind(null,J)},useEffectEvent:function(e){var t=$e(),a={impl:e};return t.memoizedState=a,function(){if((oe&2)!==0)throw Error(d(440));return a.impl.apply(void 0,arguments)}}},xc={readContext:Ye,use:ri,useCallback:wu,useContext:Ye,useEffect:dc,useImperativeHandle:ju,useInsertionEffect:bu,useLayoutEffect:vu,useMemo:Su,useReducer:ui,useRef:pu,useState:function(){return ui(Zt)},useDebugValue:hc,useDeferredValue:function(e,t){var a=Ee();return ku(a,me.memoizedState,e,t)},useTransition:function(){var e=ui(Zt)[0],t=Ee().memoizedState;return[typeof e=="boolean"?e:nn(e),t]},useSyncExternalStore:eu,useId:Eu,useHostTransitionStatus:gc,useFormState:fu,useActionState:fu,useOptimistic:function(e,t){var a=Ee();return su(a,me,e,t)},useMemoCache:sc,useCacheRefresh:zu};xc.useEffectEvent=yu;var Ru={readContext:Ye,use:ri,useCallback:wu,useContext:Ye,useEffect:dc,useImperativeHandle:ju,useInsertionEffect:bu,useLayoutEffect:vu,useMemo:Su,useReducer:oc,useRef:pu,useState:function(){return oc(Zt)},useDebugValue:hc,useDeferredValue:function(e,t){var a=Ee();return me===null?fc(a,e,t):ku(a,me.memoizedState,e,t)},useTransition:function(){var e=oc(Zt)[0],t=Ee().memoizedState;return[typeof e=="boolean"?e:nn(e),t]},useSyncExternalStore:eu,useId:Eu,useHostTransitionStatus:gc,useFormState:gu,useActionState:gu,useOptimistic:function(e,t){var a=Ee();return me!==null?su(a,me,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:sc,useCacheRefresh:zu};Ru.useEffectEvent=yu;function yc(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:D({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var bc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=pt(),n=ha(l);n.payload=t,a!=null&&(n.callback=a),t=fa(e,n,l),t!==null&&(it(t,e,l),en(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=pt(),n=ha(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=fa(e,n,l),t!==null&&(it(t,e,l),en(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=pt(),l=ha(a);l.tag=2,t!=null&&(l.callback=t),t=fa(e,l,a),t!==null&&(it(t,e,a),en(t,e,a))}};function Hu(e,t,a,l,n,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,s,o):t.prototype&&t.prototype.isPureReactComponent?!Kl(a,l)||!Kl(n,s):!0}function Uu(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&bc.enqueueReplaceState(t,t.state,null)}function Xa(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=D({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}function Gu(e){Xn(e)}function qu(e){console.error(e)}function Lu(e){Xn(e)}function mi(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function Bu(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function vc(e,t,a){return a=ha(a),a.tag=3,a.payload={element:null},a.callback=function(){mi(e,t)},a}function Yu(e){return e=ha(e),e.tag=3,e}function Vu(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var s=l.value;e.payload=function(){return n(s)},e.callback=function(){Bu(t,a,l)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){Bu(t,a,l),typeof n!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var r=l.stack;this.componentDidCatch(l.value,{componentStack:r!==null?r:""})})}function Lm(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&hl(t,a,n,!0),a=ht.current,a!==null){switch(a.tag){case 31:case 13:return At===null?Ai():a.alternate===null&&Ae===0&&(Ae=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===ti?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),Xc(e,l,n)),!1;case 22:return a.flags|=65536,l===ti?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),Xc(e,l,n)),!1}throw Error(d(435,a.tag))}return Xc(e,l,n),Ai(),!1}if(ne)return t=ht.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==qs&&(e=Error(d(422),{cause:l}),$l(jt(e,a)))):(l!==qs&&(t=Error(d(423),{cause:l}),$l(jt(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=jt(l,a),n=vc(e.stateNode,l,n),Ws(e,n),Ae!==4&&(Ae=2)),!1;var s=Error(d(520),{cause:l});if(s=jt(s,a),gn===null?gn=[s]:gn.push(s),Ae!==4&&(Ae=2),t===null)return!0;l=jt(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=vc(a.stateNode,l,e),Ws(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(ba===null||!ba.has(s))))return a.flags|=65536,n&=-n,a.lanes|=n,n=Yu(n),Vu(n,e,a,l),Ws(a,n),!1}a=a.return}while(a!==null);return!1}var Nc=Error(d(461)),_e=!1;function Ve(e,t,a,l){t.child=e===null?Zr(t,null,a,l):Va(t,e.child,a,l)}function Qu(e,t,a,l,n){a=a.render;var s=t.ref;if("ref"in l){var o={};for(var r in l)r!=="ref"&&(o[r]=l[r])}else o=l;return qa(t),l=ac(e,t,a,o,s,n),r=lc(),e!==null&&!_e?(nc(e,t,n),Jt(e,t,n)):(ne&&r&&Us(t),t.flags|=1,Ve(e,t,l,n),t.child)}function Xu(e,t,a,l,n){if(e===null){var s=a.type;return typeof s=="function"&&!Os(s)&&s.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=s,Ku(e,t,s,l,n)):(e=$n(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Ec(e,n)){var o=s.memoizedProps;if(a=a.compare,a=a!==null?a:Kl,a(o,l)&&e.ref===t.ref)return Jt(e,t,n)}return t.flags|=1,e=Yt(s,l),e.ref=t.ref,e.return=t,t.child=e}function Ku(e,t,a,l,n){if(e!==null){var s=e.memoizedProps;if(Kl(s,l)&&e.ref===t.ref)if(_e=!1,t.pendingProps=l=s,Ec(e,n))(e.flags&131072)!==0&&(_e=!0);else return t.lanes=e.lanes,Jt(e,t,n)}return jc(e,t,a,l,n)}function Zu(e,t,a,l){var n=l.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&~s}else l=0,t.child=null;return Ju(e,t,s,a,l)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Pn(t,s!==null?s.cachePool:null),s!==null?Wr(t,s):Fs(),Ir(t);else return l=t.lanes=536870912,Ju(e,t,s!==null?s.baseLanes|a:a,a,l)}else s!==null?(Pn(t,s.cachePool),Wr(t,s),ga(),t.memoizedState=null):(e!==null&&Pn(t,null),Fs(),ga());return Ve(e,t,n,a),t.child}function on(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ju(e,t,a,l,n){var s=Ks();return s=s===null?null:{parent:Me._currentValue,pool:s},t.memoizedState={baseLanes:a,cachePool:s},e!==null&&Pn(t,null),Fs(),Ir(t),e!==null&&hl(e,t,l,!0),t.childLanes=n,null}function gi(e,t){return t=xi({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function $u(e,t,a){return Va(t,e.child,null,a),e=gi(t,t.pendingProps),e.flags|=2,ft(t),t.memoizedState=null,e}function Bm(e,t,a){var l=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ne){if(l.mode==="hidden")return e=gi(t,l),t.lanes=536870912,on(null,e);if(ec(t),(e=Ne)?(e=ch(e,kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ca!==null?{id:Ot,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},a=Dr(e),a.return=t,t.child=a,Be=t,Ne=null)):e=null,e===null)throw ra(t);return t.lanes=536870912,null}return gi(t,l)}var s=e.memoizedState;if(s!==null){var o=s.dehydrated;if(ec(t),n)if(t.flags&256)t.flags&=-257,t=$u(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(d(558));else if(_e||hl(e,t,a,!1),n=(a&e.childLanes)!==0,_e||n){if(l=ye,l!==null&&(o=qo(l,a),o!==0&&o!==s.retryLane))throw s.retryLane=o,Ra(e,o),it(l,e,o),Nc;Ai(),t=$u(e,t,a)}else e=s.treeContext,Ne=Tt(o.nextSibling),Be=t,ne=!0,oa=null,kt=!1,e!==null&&Rr(t,e),t=gi(t,l),t.flags|=4096;return t}return e=Yt(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function pi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(d(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function jc(e,t,a,l,n){return qa(t),a=ac(e,t,a,l,void 0,n),l=lc(),e!==null&&!_e?(nc(e,t,n),Jt(e,t,n)):(ne&&l&&Us(t),t.flags|=1,Ve(e,t,a,n),t.child)}function Wu(e,t,a,l,n,s){return qa(t),t.updateQueue=null,a=Pr(t,l,a,n),Fr(e),l=lc(),e!==null&&!_e?(nc(e,t,s),Jt(e,t,s)):(ne&&l&&Us(t),t.flags|=1,Ve(e,t,a,s),t.child)}function Iu(e,t,a,l,n){if(qa(t),t.stateNode===null){var s=ol,o=a.contextType;typeof o=="object"&&o!==null&&(s=Ye(o)),s=new a(l,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=bc,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=l,s.state=t.memoizedState,s.refs={},Js(t),o=a.contextType,s.context=typeof o=="object"&&o!==null?Ye(o):ol,s.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(yc(t,a,o,l),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(o=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),o!==s.state&&bc.enqueueReplaceState(s,s.state,null),an(t,l,s,n),tn(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){s=t.stateNode;var r=t.memoizedProps,h=Xa(a,r);s.props=h;var p=s.context,N=a.contextType;o=ol,typeof N=="object"&&N!==null&&(o=Ye(N));var k=a.getDerivedStateFromProps;N=typeof k=="function"||typeof s.getSnapshotBeforeUpdate=="function",r=t.pendingProps!==r,N||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(r||p!==o)&&Uu(t,s,l,o),da=!1;var x=t.memoizedState;s.state=x,an(t,l,s,n),tn(),p=t.memoizedState,r||x!==p||da?(typeof k=="function"&&(yc(t,a,k,l),p=t.memoizedState),(h=da||Hu(t,a,h,l,x,p,o))?(N||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=p),s.props=l,s.state=p,s.context=o,l=h):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{s=t.stateNode,$s(e,t),o=t.memoizedProps,N=Xa(a,o),s.props=N,k=t.pendingProps,x=s.context,p=a.contextType,h=ol,typeof p=="object"&&p!==null&&(h=Ye(p)),r=a.getDerivedStateFromProps,(p=typeof r=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==k||x!==h)&&Uu(t,s,l,h),da=!1,x=t.memoizedState,s.state=x,an(t,l,s,n),tn();var y=t.memoizedState;o!==k||x!==y||da||e!==null&&e.dependencies!==null&&In(e.dependencies)?(typeof r=="function"&&(yc(t,a,r,l),y=t.memoizedState),(N=da||Hu(t,a,N,l,x,y,h)||e!==null&&e.dependencies!==null&&In(e.dependencies))?(p||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(l,y,h),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(l,y,h)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=y),s.props=l,s.state=y,s.context=h,l=N):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),l=!1)}return s=l,pi(e,t),l=(t.flags&128)!==0,s||l?(s=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&l?(t.child=Va(t,e.child,null,n),t.child=Va(t,null,a,n)):Ve(e,t,a,n),t.memoizedState=s.state,e=t.child):e=Jt(e,t,n),e}function Fu(e,t,a,l){return Ua(),t.flags|=256,Ve(e,t,a,l),t.child}var wc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(e){return{baseLanes:e,cachePool:Br()}}function kc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=gt),e}function Pu(e,t,a){var l=t.pendingProps,n=!1,s=(t.flags&128)!==0,o;if((o=s)||(o=e!==null&&e.memoizedState===null?!1:(Ce.current&2)!==0),o&&(n=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(ne){if(n?ma(t):ga(),(e=Ne)?(e=ch(e,kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ca!==null?{id:Ot,overflow:Rt}:null,retryLane:536870912,hydrationErrors:null},a=Dr(e),a.return=t,t.child=a,Be=t,Ne=null)):e=null,e===null)throw ra(t);return co(e)?t.lanes=32:t.lanes=536870912,null}var r=l.children;return l=l.fallback,n?(ga(),n=t.mode,r=xi({mode:"hidden",children:r},n),l=Ha(l,n,a,null),r.return=t,l.return=t,r.sibling=l,t.child=r,l=t.child,l.memoizedState=Sc(a),l.childLanes=kc(e,o,a),t.memoizedState=wc,on(null,l)):(ma(t),Ac(t,r))}var h=e.memoizedState;if(h!==null&&(r=h.dehydrated,r!==null)){if(s)t.flags&256?(ma(t),t.flags&=-257,t=Tc(e,t,a)):t.memoizedState!==null?(ga(),t.child=e.child,t.flags|=128,t=null):(ga(),r=l.fallback,n=t.mode,l=xi({mode:"visible",children:l.children},n),r=Ha(r,n,a,null),r.flags|=2,l.return=t,r.return=t,l.sibling=r,t.child=l,Va(t,e.child,null,a),l=t.child,l.memoizedState=Sc(a),l.childLanes=kc(e,o,a),t.memoizedState=wc,t=on(null,l));else if(ma(t),co(r)){if(o=r.nextSibling&&r.nextSibling.dataset,o)var p=o.dgst;o=p,l=Error(d(419)),l.stack="",l.digest=o,$l({value:l,source:null,stack:null}),t=Tc(e,t,a)}else if(_e||hl(e,t,a,!1),o=(a&e.childLanes)!==0,_e||o){if(o=ye,o!==null&&(l=qo(o,a),l!==0&&l!==h.retryLane))throw h.retryLane=l,Ra(e,l),it(o,e,l),Nc;so(r)||Ai(),t=Tc(e,t,a)}else so(r)?(t.flags|=192,t.child=e.child,t=null):(e=h.treeContext,Ne=Tt(r.nextSibling),Be=t,ne=!0,oa=null,kt=!1,e!==null&&Rr(t,e),t=Ac(t,l.children),t.flags|=4096);return t}return n?(ga(),r=l.fallback,n=t.mode,h=e.child,p=h.sibling,l=Yt(h,{mode:"hidden",children:l.children}),l.subtreeFlags=h.subtreeFlags&65011712,p!==null?r=Yt(p,r):(r=Ha(r,n,a,null),r.flags|=2),r.return=t,l.return=t,l.sibling=r,t.child=l,on(null,l),l=t.child,r=e.child.memoizedState,r===null?r=Sc(a):(n=r.cachePool,n!==null?(h=Me._currentValue,n=n.parent!==h?{parent:h,pool:h}:n):n=Br(),r={baseLanes:r.baseLanes|a,cachePool:n}),l.memoizedState=r,l.childLanes=kc(e,o,a),t.memoizedState=wc,on(e.child,l)):(ma(t),a=e.child,e=a.sibling,a=Yt(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function Ac(e,t){return t=xi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function xi(e,t){return e=dt(22,e,null,t),e.lanes=0,e}function Tc(e,t,a){return Va(t,e.child,null,a),e=Ac(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ed(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Ys(e.return,t,a)}function Cc(e,t,a,l,n,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=a,o.tailMode=n,o.treeForkCount=s)}function td(e,t,a){var l=t.pendingProps,n=l.revealOrder,s=l.tail;l=l.children;var o=Ce.current,r=(o&2)!==0;if(r?(o=o&1|2,t.flags|=128):o&=1,E(Ce,o),Ve(e,t,l,a),l=ne?Jl:0,!r&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ed(e,a,t);else if(e.tag===19)ed(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&ii(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),Cc(t,!1,n,a,s,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ii(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}Cc(t,!0,a,null,s,l);break;case"together":Cc(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function Jt(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ya|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(hl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(d(153));if(t.child!==null){for(e=t.child,a=Yt(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Yt(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Ec(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&In(e)))}function Ym(e,t,a){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),ua(t,Me,e.memoizedState.cache),Ua();break;case 27:case 5:_l(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:ua(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ec(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(ma(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Pu(e,t,a):(ma(t),e=Jt(e,t,a),e!==null?e.sibling:null);ma(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(hl(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return td(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),E(Ce,Ce.current),l)break;return null;case 22:return t.lanes=0,Zu(e,t,a,t.pendingProps);case 24:ua(t,Me,e.memoizedState.cache)}return Jt(e,t,a)}function ad(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)_e=!0;else{if(!Ec(e,a)&&(t.flags&128)===0)return _e=!1,Ym(e,t,a);_e=(e.flags&131072)!==0}else _e=!1,ne&&(t.flags&1048576)!==0&&Or(t,Jl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=Ba(t.elementType),t.type=e,typeof e=="function")Os(e)?(l=Xa(e,l),t.tag=1,t=Iu(null,t,e,l,a)):(t.tag=0,t=jc(null,t,e,l,a));else{if(e!=null){var n=e.$$typeof;if(n===K){t.tag=11,t=Qu(null,t,e,l,a);break e}else if(n===I){t.tag=14,t=Xu(null,t,e,l,a);break e}}throw t=st(e)||e,Error(d(306,t,""))}}return t;case 0:return jc(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=Xa(l,t.pendingProps),Iu(e,t,l,n,a);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error(d(387));l=t.pendingProps;var s=t.memoizedState;n=s.element,$s(e,t),an(t,l,null,a);var o=t.memoizedState;if(l=o.cache,ua(t,Me,l),l!==s.cache&&Vs(t,[Me],a,!0),tn(),l=o.element,s.isDehydrated)if(s={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=Fu(e,t,l,a);break e}else if(l!==n){n=jt(Error(d(424)),t),$l(n),t=Fu(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ne=Tt(e.firstChild),Be=t,ne=!0,oa=null,kt=!0,a=Zr(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ua(),l===n){t=Jt(e,t,a);break e}Ve(e,t,l,a)}t=t.child}return t;case 26:return pi(e,t),e===null?(a=fh(t.type,null,t.pendingProps,null))?t.memoizedState=a:ne||(a=t.type,e=t.pendingProps,l=_i(P.current).createElement(a),l[Le]=t,l[Pe]=e,Qe(l,a,e),Ue(l),t.stateNode=l):t.memoizedState=fh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return _l(t),e===null&&ne&&(l=t.stateNode=uh(t.type,t.pendingProps,P.current),Be=t,kt=!0,n=Ne,wa(t.type)?(oo=n,Ne=Tt(l.firstChild)):Ne=n),Ve(e,t,t.pendingProps.children,a),pi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ne&&((n=l=Ne)&&(l=yg(l,t.type,t.pendingProps,kt),l!==null?(t.stateNode=l,Be=t,Ne=Tt(l.firstChild),kt=!1,n=!0):n=!1),n||ra(t)),_l(t),n=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,l=s.children,lo(n,s)?l=null:o!==null&&lo(n,o)&&(t.flags|=32),t.memoizedState!==null&&(n=ac(e,t,_m,null,null,a),wn._currentValue=n),pi(e,t),Ve(e,t,l,a),t.child;case 6:return e===null&&ne&&((e=a=Ne)&&(a=bg(a,t.pendingProps,kt),a!==null?(t.stateNode=a,Be=t,Ne=null,e=!0):e=!1),e||ra(t)),null;case 13:return Pu(e,t,a);case 4:return Je(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=Va(t,null,l,a):Ve(e,t,l,a),t.child;case 11:return Qu(e,t,t.type,t.pendingProps,a);case 7:return Ve(e,t,t.pendingProps,a),t.child;case 8:return Ve(e,t,t.pendingProps.children,a),t.child;case 12:return Ve(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,ua(t,t.type,l.value),Ve(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,qa(t),n=Ye(n),l=l(n),t.flags|=1,Ve(e,t,l,a),t.child;case 14:return Xu(e,t,t.type,t.pendingProps,a);case 15:return Ku(e,t,t.type,t.pendingProps,a);case 19:return td(e,t,a);case 31:return Bm(e,t,a);case 22:return Zu(e,t,a,t.pendingProps);case 24:return qa(t),l=Ye(Me),e===null?(n=Ks(),n===null&&(n=ye,s=Qs(),n.pooledCache=s,s.refCount++,s!==null&&(n.pooledCacheLanes|=a),n=s),t.memoizedState={parent:l,cache:n},Js(t),ua(t,Me,n)):((e.lanes&a)!==0&&($s(e,t),an(t,null,null,a),tn()),n=e.memoizedState,s=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ua(t,Me,l)):(l=s.cache,ua(t,Me,l),l!==n.cache&&Vs(t,[Me],a,!0))),Ve(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(d(156,t.tag))}function $t(e){e.flags|=4}function zc(e,t,a,l,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Ed())e.flags|=8192;else throw Ya=ti,Zs}else e.flags&=-16777217}function ld(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!yh(t))if(Ed())e.flags|=8192;else throw Ya=ti,Zs}function yi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ho():536870912,e.lanes|=t,Sl|=t)}function rn(e,t){if(!ne)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function Vm(e,t,a){var l=t.pendingProps;switch(Gs(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return je(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Xt(Me),Te(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(dl(t)?$t(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ls())),je(t),null;case 26:var n=t.type,s=t.memoizedState;return e===null?($t(t),s!==null?(je(t),ld(t,s)):(je(t),zc(t,n,null,l,a))):s?s!==e.memoizedState?($t(t),je(t),ld(t,s)):(je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&$t(t),je(t),zc(t,n,e,l,a)),null;case 27:if(En(t),a=P.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&$t(t);else{if(!l){if(t.stateNode===null)throw Error(d(166));return je(t),null}e=O.current,dl(t)?Hr(t):(e=uh(n,l,a),t.stateNode=e,$t(t))}return je(t),null;case 5:if(En(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&$t(t);else{if(!l){if(t.stateNode===null)throw Error(d(166));return je(t),null}if(s=O.current,dl(t))Hr(t);else{var o=_i(P.current);switch(s){case 1:s=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:s=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":s=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":s=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":s=o.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?s.multiple=!0:l.size&&(s.size=l.size);break;default:s=typeof l.is=="string"?o.createElement(n,{is:l.is}):o.createElement(n)}}s[Le]=t,s[Pe]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)s.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=s;e:switch(Qe(s,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&$t(t)}}return je(t),zc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&$t(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(d(166));if(e=P.current,dl(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=Be,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[Le]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Pd(e.nodeValue,a)),e||ra(t,!0)}else e=_i(e).createTextNode(l),e[Le]=t,t.stateNode=e}return je(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=dl(t),a!==null){if(e===null){if(!l)throw Error(d(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(d(557));e[Le]=t}else Ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),e=!1}else a=Ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(ft(t),t):(ft(t),null);if((t.flags&128)!==0)throw Error(d(558))}return je(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=dl(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(d(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(317));n[Le]=t}else Ua(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;je(t),n=!1}else n=Ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(ft(t),t):(ft(t),null)}return ft(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==n&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),yi(t,t.updateQueue),je(t),null);case 4:return Te(),e===null&&Fc(t.stateNode.containerInfo),je(t),null;case 10:return Xt(t.type),je(t),null;case 19:if(b(Ce),l=t.memoizedState,l===null)return je(t),null;if(n=(t.flags&128)!==0,s=l.rendering,s===null)if(n)rn(l,!1);else{if(Ae!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=ii(e),s!==null){for(t.flags|=128,rn(l,!1),e=s.updateQueue,t.updateQueue=e,yi(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Mr(a,e),a=a.sibling;return E(Ce,Ce.current&1|2),ne&&Vt(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&ct()>wi&&(t.flags|=128,n=!0,rn(l,!1),t.lanes=4194304)}else{if(!n)if(e=ii(s),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,yi(t,e),rn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!ne)return je(t),null}else 2*ct()-l.renderingStartTime>wi&&a!==536870912&&(t.flags|=128,n=!0,rn(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(e=l.last,e!==null?e.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=ct(),e.sibling=null,a=Ce.current,E(Ce,n?a&1|2:a&1),ne&&Vt(t,l.treeForkCount),e):(je(t),null);case 22:case 23:return ft(t),Ps(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),a=t.updateQueue,a!==null&&yi(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&b(La),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Xt(Me),je(t),null;case 25:return null;case 30:return null}throw Error(d(156,t.tag))}function Qm(e,t){switch(Gs(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xt(Me),Te(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return En(t),null;case 31:if(t.memoizedState!==null){if(ft(t),t.alternate===null)throw Error(d(340));Ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(ft(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(d(340));Ua()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(Ce),null;case 4:return Te(),null;case 10:return Xt(t.type),null;case 22:case 23:return ft(t),Ps(),e!==null&&b(La),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Xt(Me),null;case 25:return null;default:return null}}function nd(e,t){switch(Gs(t),t.tag){case 3:Xt(Me),Te();break;case 26:case 27:case 5:En(t);break;case 4:Te();break;case 31:t.memoizedState!==null&&ft(t);break;case 13:ft(t);break;case 19:b(Ce);break;case 10:Xt(t.type);break;case 22:case 23:ft(t),Ps(),e!==null&&b(La);break;case 24:Xt(Me)}}function un(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var s=a.create,o=a.inst;l=s(),o.destroy=l}a=a.next}while(a!==n)}}catch(r){fe(t,t.return,r)}}function pa(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var s=n.next;l=s;do{if((l.tag&e)===e){var o=l.inst,r=o.destroy;if(r!==void 0){o.destroy=void 0,n=t;var h=a,p=r;try{p()}catch(N){fe(n,h,N)}}}l=l.next}while(l!==s)}}catch(N){fe(t,t.return,N)}}function id(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{$r(t,a)}catch(l){fe(e,e.return,l)}}}function sd(e,t,a){a.props=Xa(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){fe(e,t,l)}}function dn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){fe(e,t,n)}}function Ht(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){fe(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){fe(e,t,n)}else a.current=null}function cd(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){fe(e,e.return,n)}}function Mc(e,t,a){try{var l=e.stateNode;hg(l,e.type,a,t),l[Pe]=t}catch(n){fe(e,e.return,n)}}function od(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&wa(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||od(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&wa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _c(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Lt));else if(l!==4&&(l===27&&wa(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(_c(e,t,a),e=e.sibling;e!==null;)_c(e,t,a),e=e.sibling}function bi(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&wa(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(bi(e,t,a),e=e.sibling;e!==null;)bi(e,t,a),e=e.sibling}function rd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Qe(t,l,a),t[Le]=e,t[Pe]=a}catch(s){fe(e,e.return,s)}}var Wt=!1,Oe=!1,Oc=!1,ud=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function Xm(e,t){if(e=e.containerInfo,to=Li,e=jr(e),Ts(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var o=0,r=-1,h=-1,p=0,N=0,k=e,x=null;t:for(;;){for(var y;k!==a||n!==0&&k.nodeType!==3||(r=o+n),k!==s||l!==0&&k.nodeType!==3||(h=o+l),k.nodeType===3&&(o+=k.nodeValue.length),(y=k.firstChild)!==null;)x=k,k=y;for(;;){if(k===e)break t;if(x===a&&++p===n&&(r=o),x===s&&++N===l&&(h=o),(y=k.nextSibling)!==null)break;k=x,x=k.parentNode}k=y}a=r===-1||h===-1?null:{start:r,end:h}}else a=null}a=a||{start:0,end:0}}else a=null;for(ao={focusedElem:e,selectionRange:a},Li=!1,Ge=t;Ge!==null;)if(t=Ge,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ge=e;else for(;Ge!==null;){switch(t=Ge,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=t,n=s.memoizedProps,s=s.memoizedState,l=a.stateNode;try{var R=Xa(a.type,n);e=l.getSnapshotBeforeUpdate(R,s),l.__reactInternalSnapshotBeforeUpdate=e}catch(V){fe(a,a.return,V)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)io(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":io(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(d(163))}if(e=t.sibling,e!==null){e.return=t.return,Ge=e;break}Ge=t.return}}function dd(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Ft(e,a),l&4&&un(5,a);break;case 1:if(Ft(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){fe(a,a.return,o)}else{var n=Xa(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){fe(a,a.return,o)}}l&64&&id(a),l&512&&dn(a,a.return);break;case 3:if(Ft(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{$r(e,t)}catch(o){fe(a,a.return,o)}}break;case 27:t===null&&l&4&&rd(a);case 26:case 5:Ft(e,a),t===null&&l&4&&cd(a),l&512&&dn(a,a.return);break;case 12:Ft(e,a);break;case 31:Ft(e,a),l&4&&md(e,a);break;case 13:Ft(e,a),l&4&&gd(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=eg.bind(null,a),vg(e,a))));break;case 22:if(l=a.memoizedState!==null||Wt,!l){t=t!==null&&t.memoizedState!==null||Oe,n=Wt;var s=Oe;Wt=l,(Oe=t)&&!s?Pt(e,a,(a.subtreeFlags&8772)!==0):Ft(e,a),Wt=n,Oe=s}break;case 30:break;default:Ft(e,a)}}function hd(e){var t=e.alternate;t!==null&&(e.alternate=null,hd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&us(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var we=null,tt=!1;function It(e,t,a){for(a=a.child;a!==null;)fd(e,t,a),a=a.sibling}function fd(e,t,a){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(Ol,a)}catch{}switch(a.tag){case 26:Oe||Ht(a,t),It(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Oe||Ht(a,t);var l=we,n=tt;wa(a.type)&&(we=a.stateNode,tt=!1),It(e,t,a),vn(a.stateNode),we=l,tt=n;break;case 5:Oe||Ht(a,t);case 6:if(l=we,n=tt,we=null,It(e,t,a),we=l,tt=n,we!==null)if(tt)try{(we.nodeType===9?we.body:we.nodeName==="HTML"?we.ownerDocument.body:we).removeChild(a.stateNode)}catch(s){fe(a,t,s)}else try{we.removeChild(a.stateNode)}catch(s){fe(a,t,s)}break;case 18:we!==null&&(tt?(e=we,ih(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Dl(e)):ih(we,a.stateNode));break;case 4:l=we,n=tt,we=a.stateNode.containerInfo,tt=!0,It(e,t,a),we=l,tt=n;break;case 0:case 11:case 14:case 15:pa(2,a,t),Oe||pa(4,a,t),It(e,t,a);break;case 1:Oe||(Ht(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&sd(a,t,l)),It(e,t,a);break;case 21:It(e,t,a);break;case 22:Oe=(l=Oe)||a.memoizedState!==null,It(e,t,a),Oe=l;break;default:It(e,t,a)}}function md(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Dl(e)}catch(a){fe(t,t.return,a)}}}function gd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Dl(e)}catch(a){fe(t,t.return,a)}}function Km(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ud),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ud),t;default:throw Error(d(435,e.tag))}}function vi(e,t){var a=Km(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var n=tg.bind(null,e,l);l.then(n,n)}})}function at(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],s=e,o=t,r=o;e:for(;r!==null;){switch(r.tag){case 27:if(wa(r.type)){we=r.stateNode,tt=!1;break e}break;case 5:we=r.stateNode,tt=!1;break e;case 3:case 4:we=r.stateNode.containerInfo,tt=!0;break e}r=r.return}if(we===null)throw Error(d(160));fd(s,o,n),we=null,tt=!1,s=n.alternate,s!==null&&(s.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)pd(t,e),t=t.sibling}var zt=null;function pd(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:at(t,e),lt(e),l&4&&(pa(3,e,e.return),un(3,e),pa(5,e,e.return));break;case 1:at(t,e),lt(e),l&512&&(Oe||a===null||Ht(a,a.return)),l&64&&Wt&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=zt;if(at(t,e),lt(e),l&512&&(Oe||a===null||Ht(a,a.return)),l&4){var s=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":s=n.getElementsByTagName("title")[0],(!s||s[Ul]||s[Le]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=n.createElement(l),n.head.insertBefore(s,n.querySelector("head > title"))),Qe(s,l,a),s[Le]=e,Ue(s),l=s;break e;case"link":var o=ph("link","href",n).get(l+(a.href||""));if(o){for(var r=0;r<o.length;r++)if(s=o[r],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){o.splice(r,1);break t}}s=n.createElement(l),Qe(s,l,a),n.head.appendChild(s);break;case"meta":if(o=ph("meta","content",n).get(l+(a.content||""))){for(r=0;r<o.length;r++)if(s=o[r],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){o.splice(r,1);break t}}s=n.createElement(l),Qe(s,l,a),n.head.appendChild(s);break;default:throw Error(d(468,l))}s[Le]=e,Ue(s),l=s}e.stateNode=l}else xh(n,e.type,e.stateNode);else e.stateNode=gh(n,l,e.memoizedProps);else s!==l?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,l===null?xh(n,e.type,e.stateNode):gh(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Mc(e,e.memoizedProps,a.memoizedProps)}break;case 27:at(t,e),lt(e),l&512&&(Oe||a===null||Ht(a,a.return)),a!==null&&l&4&&Mc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(at(t,e),lt(e),l&512&&(Oe||a===null||Ht(a,a.return)),e.flags&32){n=e.stateNode;try{tl(n,"")}catch(R){fe(e,e.return,R)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,Mc(e,n,a!==null?a.memoizedProps:n)),l&1024&&(Oc=!0);break;case 6:if(at(t,e),lt(e),l&4){if(e.stateNode===null)throw Error(d(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(R){fe(e,e.return,R)}}break;case 3:if(Hi=null,n=zt,zt=Oi(t.containerInfo),at(t,e),zt=n,lt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Dl(t.containerInfo)}catch(R){fe(e,e.return,R)}Oc&&(Oc=!1,xd(e));break;case 4:l=zt,zt=Oi(e.stateNode.containerInfo),at(t,e),lt(e),zt=l;break;case 12:at(t,e),lt(e);break;case 31:at(t,e),lt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vi(e,l)));break;case 13:at(t,e),lt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ji=ct()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vi(e,l)));break;case 22:n=e.memoizedState!==null;var h=a!==null&&a.memoizedState!==null,p=Wt,N=Oe;if(Wt=p||n,Oe=N||h,at(t,e),Oe=N,Wt=p,lt(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||h||Wt||Oe||Ka(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){h=a=t;try{if(s=h.stateNode,n)o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{r=h.stateNode;var k=h.memoizedProps.style,x=k!=null&&k.hasOwnProperty("display")?k.display:null;r.style.display=x==null||typeof x=="boolean"?"":(""+x).trim()}}catch(R){fe(h,h.return,R)}}}else if(t.tag===6){if(a===null){h=t;try{h.stateNode.nodeValue=n?"":h.memoizedProps}catch(R){fe(h,h.return,R)}}}else if(t.tag===18){if(a===null){h=t;try{var y=h.stateNode;n?sh(y,!0):sh(h.stateNode,!1)}catch(R){fe(h,h.return,R)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,vi(e,a))));break;case 19:at(t,e),lt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,vi(e,l)));break;case 30:break;case 21:break;default:at(t,e),lt(e)}}function lt(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(od(l)){a=l;break}l=l.return}if(a==null)throw Error(d(160));switch(a.tag){case 27:var n=a.stateNode,s=Dc(e);bi(e,s,n);break;case 5:var o=a.stateNode;a.flags&32&&(tl(o,""),a.flags&=-33);var r=Dc(e);bi(e,r,o);break;case 3:case 4:var h=a.stateNode.containerInfo,p=Dc(e);_c(e,p,h);break;default:throw Error(d(161))}}catch(N){fe(e,e.return,N)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ft(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)dd(e,t.alternate,t),t=t.sibling}function Ka(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:pa(4,t,t.return),Ka(t);break;case 1:Ht(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&sd(t,t.return,a),Ka(t);break;case 27:vn(t.stateNode);case 26:case 5:Ht(t,t.return),Ka(t);break;case 22:t.memoizedState===null&&Ka(t);break;case 30:Ka(t);break;default:Ka(t)}e=e.sibling}}function Pt(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,s=t,o=s.flags;switch(s.tag){case 0:case 11:case 15:Pt(n,s,a),un(4,s);break;case 1:if(Pt(n,s,a),l=s,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(p){fe(l,l.return,p)}if(l=s,n=l.updateQueue,n!==null){var r=l.stateNode;try{var h=n.shared.hiddenCallbacks;if(h!==null)for(n.shared.hiddenCallbacks=null,n=0;n<h.length;n++)Jr(h[n],r)}catch(p){fe(l,l.return,p)}}a&&o&64&&id(s),dn(s,s.return);break;case 27:rd(s);case 26:case 5:Pt(n,s,a),a&&l===null&&o&4&&cd(s),dn(s,s.return);break;case 12:Pt(n,s,a);break;case 31:Pt(n,s,a),a&&o&4&&md(n,s);break;case 13:Pt(n,s,a),a&&o&4&&gd(n,s);break;case 22:s.memoizedState===null&&Pt(n,s,a),dn(s,s.return);break;case 30:break;default:Pt(n,s,a)}t=t.sibling}}function Rc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Wl(a))}function Hc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wl(e))}function Mt(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)yd(e,t,a,l),t=t.sibling}function yd(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Mt(e,t,a,l),n&2048&&un(9,t);break;case 1:Mt(e,t,a,l);break;case 3:Mt(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wl(e)));break;case 12:if(n&2048){Mt(e,t,a,l),e=t.stateNode;try{var s=t.memoizedProps,o=s.id,r=s.onPostCommit;typeof r=="function"&&r(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(h){fe(t,t.return,h)}}else Mt(e,t,a,l);break;case 31:Mt(e,t,a,l);break;case 13:Mt(e,t,a,l);break;case 23:break;case 22:s=t.stateNode,o=t.alternate,t.memoizedState!==null?s._visibility&2?Mt(e,t,a,l):hn(e,t):s._visibility&2?Mt(e,t,a,l):(s._visibility|=2,Nl(e,t,a,l,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Rc(o,t);break;case 24:Mt(e,t,a,l),n&2048&&Hc(t.alternate,t);break;default:Mt(e,t,a,l)}}function Nl(e,t,a,l,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var s=e,o=t,r=a,h=l,p=o.flags;switch(o.tag){case 0:case 11:case 15:Nl(s,o,r,h,n),un(8,o);break;case 23:break;case 22:var N=o.stateNode;o.memoizedState!==null?N._visibility&2?Nl(s,o,r,h,n):hn(s,o):(N._visibility|=2,Nl(s,o,r,h,n)),n&&p&2048&&Rc(o.alternate,o);break;case 24:Nl(s,o,r,h,n),n&&p&2048&&Hc(o.alternate,o);break;default:Nl(s,o,r,h,n)}t=t.sibling}}function hn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:hn(a,l),n&2048&&Rc(l.alternate,l);break;case 24:hn(a,l),n&2048&&Hc(l.alternate,l);break;default:hn(a,l)}t=t.sibling}}var fn=8192;function jl(e,t,a){if(e.subtreeFlags&fn)for(e=e.child;e!==null;)bd(e,t,a),e=e.sibling}function bd(e,t,a){switch(e.tag){case 26:jl(e,t,a),e.flags&fn&&e.memoizedState!==null&&Dg(a,zt,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,a);break;case 3:case 4:var l=zt;zt=Oi(e.stateNode.containerInfo),jl(e,t,a),zt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=fn,fn=16777216,jl(e,t,a),fn=l):jl(e,t,a));break;default:jl(e,t,a)}}function vd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function mn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Ge=l,jd(l,e)}vd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Nd(e),e=e.sibling}function Nd(e){switch(e.tag){case 0:case 11:case 15:mn(e),e.flags&2048&&pa(9,e,e.return);break;case 3:mn(e);break;case 12:mn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ni(e)):mn(e);break;default:mn(e)}}function Ni(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Ge=l,jd(l,e)}vd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:pa(8,t,t.return),Ni(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Ni(t));break;default:Ni(t)}e=e.sibling}}function jd(e,t){for(;Ge!==null;){var a=Ge;switch(a.tag){case 0:case 11:case 15:pa(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Wl(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,Ge=l;else e:for(a=e;Ge!==null;){l=Ge;var n=l.sibling,s=l.return;if(hd(l),l===a){Ge=null;break e}if(n!==null){n.return=s,Ge=n;break e}Ge=s}}}var Zm={getCacheForType:function(e){var t=Ye(Me),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ye(Me).controller.signal}},Jm=typeof WeakMap=="function"?WeakMap:Map,oe=0,ye=null,ee=null,ae=0,he=0,mt=null,xa=!1,wl=!1,Uc=!1,ea=0,Ae=0,ya=0,Za=0,Gc=0,gt=0,Sl=0,gn=null,nt=null,qc=!1,ji=0,wd=0,wi=1/0,Si=null,ba=null,Re=0,va=null,kl=null,ta=0,Lc=0,Bc=null,Sd=null,pn=0,Yc=null;function pt(){return(oe&2)!==0&&ae!==0?ae&-ae:j.T!==null?Jc():Lo()}function kd(){if(gt===0)if((ae&536870912)===0||ne){var e=Dn;Dn<<=1,(Dn&3932160)===0&&(Dn=262144),gt=e}else gt=536870912;return e=ht.current,e!==null&&(e.flags|=32),gt}function it(e,t,a){(e===ye&&(he===2||he===9)||e.cancelPendingCommit!==null)&&(Al(e,0),Na(e,ae,gt,!1)),Hl(e,a),((oe&2)===0||e!==ye)&&(e===ye&&((oe&2)===0&&(Za|=a),Ae===4&&Na(e,ae,gt,!1)),Ut(e))}function Ad(e,t,a){if((oe&6)!==0)throw Error(d(327));var l=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Rl(e,t),n=l?Im(e,t):Qc(e,t,!0),s=l;do{if(n===0){wl&&!l&&Na(e,t,0,!1);break}else{if(a=e.current.alternate,s&&!$m(a)){n=Qc(e,t,!1),s=!1;continue}if(n===2){if(s=t,e.errorRecoveryDisabledLanes&s)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var r=e;n=gn;var h=r.current.memoizedState.isDehydrated;if(h&&(Al(r,o).flags|=256),o=Qc(r,o,!1),o!==2){if(Uc&&!h){r.errorRecoveryDisabledLanes|=s,Za|=s,n=4;break e}s=nt,nt=n,s!==null&&(nt===null?nt=s:nt.push.apply(nt,s))}n=o}if(s=!1,n!==2)continue}}if(n===1){Al(e,0),Na(e,t,0,!0);break}e:{switch(l=e,s=n,s){case 0:case 1:throw Error(d(345));case 4:if((t&4194048)!==t)break;case 6:Na(l,t,gt,!xa);break e;case 2:nt=null;break;case 3:case 5:break;default:throw Error(d(329))}if((t&62914560)===t&&(n=ji+300-ct(),10<n)){if(Na(l,t,gt,!xa),On(l,0,!0)!==0)break e;ta=t,l.timeoutHandle=lh(Td.bind(null,l,a,nt,Si,qc,t,gt,Za,Sl,xa,s,"Throttled",-0,0),n);break e}Td(l,a,nt,Si,qc,t,gt,Za,Sl,xa,s,null,-0,0)}}break}while(!0);Ut(e)}function Td(e,t,a,l,n,s,o,r,h,p,N,k,x,y){if(e.timeoutHandle=-1,k=t.subtreeFlags,k&8192||(k&16785408)===16785408){k={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lt},bd(t,s,k);var R=(s&62914560)===s?ji-ct():(s&4194048)===s?wd-ct():0;if(R=_g(k,R),R!==null){ta=s,e.cancelPendingCommit=R(Rd.bind(null,e,t,s,a,l,n,o,r,h,N,k,null,x,y)),Na(e,s,o,!p);return}}Rd(e,t,s,a,l,n,o,r,h)}function $m(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],s=n.getSnapshot;n=n.value;try{if(!ut(s(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Na(e,t,a,l){t&=~Gc,t&=~Za,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var s=31-rt(n),o=1<<s;l[s]=-1,n&=~o}a!==0&&Uo(e,a,t)}function ki(){return(oe&6)===0?(xn(0),!1):!0}function Vc(){if(ee!==null){if(he===0)var e=ee.return;else e=ee,Qt=Ga=null,ic(e),pl=null,Fl=0,e=ee;for(;e!==null;)nd(e.alternate,e),e=e.return;ee=null}}function Al(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,gg(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ta=0,Vc(),ye=e,ee=a=Yt(e.current,null),ae=t,he=0,mt=null,xa=!1,wl=Rl(e,t),Uc=!1,Sl=gt=Gc=Za=ya=Ae=0,nt=gn=null,qc=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-rt(l),s=1<<n;t|=e[n],l&=~s}return ea=t,Kn(),a}function Cd(e,t){J=null,j.H=cn,t===gl||t===ei?(t=Qr(),he=3):t===Zs?(t=Qr(),he=4):he=t===Nc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,mt=t,ee===null&&(Ae=1,mi(e,jt(t,e.current)))}function Ed(){var e=ht.current;return e===null?!0:(ae&4194048)===ae?At===null:(ae&62914560)===ae||(ae&536870912)!==0?e===At:!1}function zd(){var e=j.H;return j.H=cn,e===null?cn:e}function Md(){var e=j.A;return j.A=Zm,e}function Ai(){Ae=4,xa||(ae&4194048)!==ae&&ht.current!==null||(wl=!0),(ya&134217727)===0&&(Za&134217727)===0||ye===null||Na(ye,ae,gt,!1)}function Qc(e,t,a){var l=oe;oe|=2;var n=zd(),s=Md();(ye!==e||ae!==t)&&(Si=null,Al(e,t)),t=!1;var o=Ae;e:do try{if(he!==0&&ee!==null){var r=ee,h=mt;switch(he){case 8:Vc(),o=6;break e;case 3:case 2:case 9:case 6:ht.current===null&&(t=!0);var p=he;if(he=0,mt=null,Tl(e,r,h,p),a&&wl){o=0;break e}break;default:p=he,he=0,mt=null,Tl(e,r,h,p)}}Wm(),o=Ae;break}catch(N){Cd(e,N)}while(!0);return t&&e.shellSuspendCounter++,Qt=Ga=null,oe=l,j.H=n,j.A=s,ee===null&&(ye=null,ae=0,Kn()),o}function Wm(){for(;ee!==null;)Dd(ee)}function Im(e,t){var a=oe;oe|=2;var l=zd(),n=Md();ye!==e||ae!==t?(Si=null,wi=ct()+500,Al(e,t)):wl=Rl(e,t);e:do try{if(he!==0&&ee!==null){t=ee;var s=mt;t:switch(he){case 1:he=0,mt=null,Tl(e,t,s,1);break;case 2:case 9:if(Yr(s)){he=0,mt=null,_d(t);break}t=function(){he!==2&&he!==9||ye!==e||(he=7),Ut(e)},s.then(t,t);break e;case 3:he=7;break e;case 4:he=5;break e;case 7:Yr(s)?(he=0,mt=null,_d(t)):(he=0,mt=null,Tl(e,t,s,7));break;case 5:var o=null;switch(ee.tag){case 26:o=ee.memoizedState;case 5:case 27:var r=ee;if(o?yh(o):r.stateNode.complete){he=0,mt=null;var h=r.sibling;if(h!==null)ee=h;else{var p=r.return;p!==null?(ee=p,Ti(p)):ee=null}break t}}he=0,mt=null,Tl(e,t,s,5);break;case 6:he=0,mt=null,Tl(e,t,s,6);break;case 8:Vc(),Ae=6;break e;default:throw Error(d(462))}}Fm();break}catch(N){Cd(e,N)}while(!0);return Qt=Ga=null,j.H=l,j.A=n,oe=a,ee!==null?0:(ye=null,ae=0,Kn(),Ae)}function Fm(){for(;ee!==null&&!Nf();)Dd(ee)}function Dd(e){var t=ad(e.alternate,e,ea);e.memoizedProps=e.pendingProps,t===null?Ti(e):ee=t}function _d(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Wu(a,t,t.pendingProps,t.type,void 0,ae);break;case 11:t=Wu(a,t,t.pendingProps,t.type.render,t.ref,ae);break;case 5:ic(t);default:nd(a,t),t=ee=Mr(t,ea),t=ad(a,t,ea)}e.memoizedProps=e.pendingProps,t===null?Ti(e):ee=t}function Tl(e,t,a,l){Qt=Ga=null,ic(t),pl=null,Fl=0;var n=t.return;try{if(Lm(e,n,t,a,ae)){Ae=1,mi(e,jt(a,e.current)),ee=null;return}}catch(s){if(n!==null)throw ee=n,s;Ae=1,mi(e,jt(a,e.current)),ee=null;return}t.flags&32768?(ne||l===1?e=!0:wl||(ae&536870912)!==0?e=!1:(xa=e=!0,(l===2||l===9||l===3||l===6)&&(l=ht.current,l!==null&&l.tag===13&&(l.flags|=16384))),Od(t,e)):Ti(t)}function Ti(e){var t=e;do{if((t.flags&32768)!==0){Od(t,xa);return}e=t.return;var a=Vm(t.alternate,t,ea);if(a!==null){ee=a;return}if(t=t.sibling,t!==null){ee=t;return}ee=t=e}while(t!==null);Ae===0&&(Ae=5)}function Od(e,t){do{var a=Qm(e.alternate,e);if(a!==null){a.flags&=32767,ee=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ee=e;return}ee=e=a}while(e!==null);Ae=6,ee=null}function Rd(e,t,a,l,n,s,o,r,h){e.cancelPendingCommit=null;do Ci();while(Re!==0);if((oe&6)!==0)throw Error(d(327));if(t!==null){if(t===e.current)throw Error(d(177));if(s=t.lanes|t.childLanes,s|=Ds,Mf(e,a,s,o,r,h),e===ye&&(ee=ye=null,ae=0),kl=t,va=e,ta=a,Lc=s,Bc=n,Sd=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ag(zn,function(){return Ld(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=j.T,j.T=null,n=_.p,_.p=2,o=oe,oe|=4;try{Xm(e,t,a)}finally{oe=o,_.p=n,j.T=l}}Re=1,Hd(),Ud(),Gd()}}function Hd(){if(Re===1){Re=0;var e=va,t=kl,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=j.T,j.T=null;var l=_.p;_.p=2;var n=oe;oe|=4;try{pd(t,e);var s=ao,o=jr(e.containerInfo),r=s.focusedElem,h=s.selectionRange;if(o!==r&&r&&r.ownerDocument&&Nr(r.ownerDocument.documentElement,r)){if(h!==null&&Ts(r)){var p=h.start,N=h.end;if(N===void 0&&(N=p),"selectionStart"in r)r.selectionStart=p,r.selectionEnd=Math.min(N,r.value.length);else{var k=r.ownerDocument||document,x=k&&k.defaultView||window;if(x.getSelection){var y=x.getSelection(),R=r.textContent.length,V=Math.min(h.start,R),pe=h.end===void 0?V:Math.min(h.end,R);!y.extend&&V>pe&&(o=pe,pe=V,V=o);var m=vr(r,V),f=vr(r,pe);if(m&&f&&(y.rangeCount!==1||y.anchorNode!==m.node||y.anchorOffset!==m.offset||y.focusNode!==f.node||y.focusOffset!==f.offset)){var g=k.createRange();g.setStart(m.node,m.offset),y.removeAllRanges(),V>pe?(y.addRange(g),y.extend(f.node,f.offset)):(g.setEnd(f.node,f.offset),y.addRange(g))}}}}for(k=[],y=r;y=y.parentNode;)y.nodeType===1&&k.push({element:y,left:y.scrollLeft,top:y.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<k.length;r++){var w=k[r];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Li=!!to,ao=to=null}finally{oe=n,_.p=l,j.T=a}}e.current=t,Re=2}}function Ud(){if(Re===2){Re=0;var e=va,t=kl,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=j.T,j.T=null;var l=_.p;_.p=2;var n=oe;oe|=4;try{dd(e,t.alternate,t)}finally{oe=n,_.p=l,j.T=a}}Re=3}}function Gd(){if(Re===4||Re===3){Re=0,jf();var e=va,t=kl,a=ta,l=Sd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Re=5:(Re=0,kl=va=null,qd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(ba=null),os(a),t=t.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(Ol,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=j.T,n=_.p,_.p=2,j.T=null;try{for(var s=e.onRecoverableError,o=0;o<l.length;o++){var r=l[o];s(r.value,{componentStack:r.stack})}}finally{j.T=t,_.p=n}}(ta&3)!==0&&Ci(),Ut(e),n=e.pendingLanes,(a&261930)!==0&&(n&42)!==0?e===Yc?pn++:(pn=0,Yc=e):pn=0,xn(0)}}function qd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Wl(t)))}function Ci(){return Hd(),Ud(),Gd(),Ld()}function Ld(){if(Re!==5)return!1;var e=va,t=Lc;Lc=0;var a=os(ta),l=j.T,n=_.p;try{_.p=32>a?32:a,j.T=null,a=Bc,Bc=null;var s=va,o=ta;if(Re=0,kl=va=null,ta=0,(oe&6)!==0)throw Error(d(331));var r=oe;if(oe|=4,Nd(s.current),yd(s,s.current,o,a),oe=r,xn(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(Ol,s)}catch{}return!0}finally{_.p=n,j.T=l,qd(e,t)}}function Bd(e,t,a){t=jt(a,t),t=vc(e.stateNode,t,2),e=fa(e,t,2),e!==null&&(Hl(e,2),Ut(e))}function fe(e,t,a){if(e.tag===3)Bd(e,e,a);else for(;t!==null;){if(t.tag===3){Bd(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ba===null||!ba.has(l))){e=jt(a,e),a=Yu(2),l=fa(t,a,2),l!==null&&(Vu(a,l,t,e),Hl(l,2),Ut(l));break}}t=t.return}}function Xc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new Jm;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(Uc=!0,n.add(a),e=Pm.bind(null,e,t,a),t.then(e,e))}function Pm(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ye===e&&(ae&a)===a&&(Ae===4||Ae===3&&(ae&62914560)===ae&&300>ct()-ji?(oe&2)===0&&Al(e,0):Gc|=a,Sl===ae&&(Sl=0)),Ut(e)}function Yd(e,t){t===0&&(t=Ho()),e=Ra(e,t),e!==null&&(Hl(e,t),Ut(e))}function eg(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Yd(e,a)}function tg(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(d(314))}l!==null&&l.delete(t),Yd(e,a)}function ag(e,t){return ns(e,t)}var Ei=null,Cl=null,Kc=!1,zi=!1,Zc=!1,ja=0;function Ut(e){e!==Cl&&e.next===null&&(Cl===null?Ei=Cl=e:Cl=Cl.next=e),zi=!0,Kc||(Kc=!0,ng())}function xn(e,t){if(!Zc&&zi){Zc=!0;do for(var a=!1,l=Ei;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var s=0;else{var o=l.suspendedLanes,r=l.pingedLanes;s=(1<<31-rt(42|e)+1)-1,s&=n&~(o&~r),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,Kd(l,s))}else s=ae,s=On(l,l===ye?s:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(s&3)===0||Rl(l,s)||(a=!0,Kd(l,s));l=l.next}while(a);Zc=!1}}function lg(){Vd()}function Vd(){zi=Kc=!1;var e=0;ja!==0&&mg()&&(e=ja);for(var t=ct(),a=null,l=Ei;l!==null;){var n=l.next,s=Qd(l,t);s===0?(l.next=null,a===null?Ei=n:a.next=n,n===null&&(Cl=a)):(a=l,(e!==0||(s&3)!==0)&&(zi=!0)),l=n}Re!==0&&Re!==5||xn(e),ja!==0&&(ja=0)}function Qd(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var o=31-rt(s),r=1<<o,h=n[o];h===-1?((r&a)===0||(r&l)!==0)&&(n[o]=zf(r,t)):h<=t&&(e.expiredLanes|=r),s&=~r}if(t=ye,a=ae,a=On(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(he===2||he===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&is(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Rl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&is(l),os(a)){case 2:case 8:a=Oo;break;case 32:a=zn;break;case 268435456:a=Ro;break;default:a=zn}return l=Xd.bind(null,e),a=ns(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&is(l),e.callbackPriority=2,e.callbackNode=null,2}function Xd(e,t){if(Re!==0&&Re!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Ci()&&e.callbackNode!==a)return null;var l=ae;return l=On(e,e===ye?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Ad(e,l,t),Qd(e,ct()),e.callbackNode!=null&&e.callbackNode===a?Xd.bind(null,e):null)}function Kd(e,t){if(Ci())return null;Ad(e,t,!0)}function ng(){pg(function(){(oe&6)!==0?ns(_o,lg):Vd()})}function Jc(){if(ja===0){var e=fl;e===0&&(e=Mn,Mn<<=1,(Mn&261888)===0&&(Mn=256)),ja=e}return ja}function Zd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Gn(""+e)}function Jd(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function ig(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var s=Zd((n[Pe]||null).action),o=l.submitter;o&&(t=(t=o[Pe]||null)?Zd(t.formAction):o.getAttribute("formAction"),t!==null&&(s=t,o=null));var r=new Yn("action","action",null,l,n);e.push({event:r,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ja!==0){var h=o?Jd(n,o):new FormData(n);mc(a,{pending:!0,data:h,method:n.method,action:s},null,h)}}else typeof s=="function"&&(r.preventDefault(),h=o?Jd(n,o):new FormData(n),mc(a,{pending:!0,data:h,method:n.method,action:s},s,h))},currentTarget:n}]})}}for(var $c=0;$c<Ms.length;$c++){var Wc=Ms[$c],sg=Wc.toLowerCase(),cg=Wc[0].toUpperCase()+Wc.slice(1);Et(sg,"on"+cg)}Et(kr,"onAnimationEnd"),Et(Ar,"onAnimationIteration"),Et(Tr,"onAnimationStart"),Et("dblclick","onDoubleClick"),Et("focusin","onFocus"),Et("focusout","onBlur"),Et(wm,"onTransitionRun"),Et(Sm,"onTransitionStart"),Et(km,"onTransitionCancel"),Et(Cr,"onTransitionEnd"),Pa("onMouseEnter",["mouseout","mouseover"]),Pa("onMouseLeave",["mouseout","mouseover"]),Pa("onPointerEnter",["pointerout","pointerover"]),Pa("onPointerLeave",["pointerout","pointerover"]),Ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),og=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yn));function $d(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var s=void 0;if(t)for(var o=l.length-1;0<=o;o--){var r=l[o],h=r.instance,p=r.currentTarget;if(r=r.listener,h!==s&&n.isPropagationStopped())break e;s=r,n.currentTarget=p;try{s(n)}catch(N){Xn(N)}n.currentTarget=null,s=h}else for(o=0;o<l.length;o++){if(r=l[o],h=r.instance,p=r.currentTarget,r=r.listener,h!==s&&n.isPropagationStopped())break e;s=r,n.currentTarget=p;try{s(n)}catch(N){Xn(N)}n.currentTarget=null,s=h}}}}function te(e,t){var a=t[rs];a===void 0&&(a=t[rs]=new Set);var l=e+"__bubble";a.has(l)||(Wd(t,e,2,!1),a.add(l))}function Ic(e,t,a){var l=0;t&&(l|=4),Wd(a,e,l,t)}var Mi="_reactListening"+Math.random().toString(36).slice(2);function Fc(e){if(!e[Mi]){e[Mi]=!0,Vo.forEach(function(a){a!=="selectionchange"&&(og.has(a)||Ic(a,!1,e),Ic(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Mi]||(t[Mi]=!0,Ic("selectionchange",!1,t))}}function Wd(e,t,a,l){switch(kh(t)){case 2:var n=Hg;break;case 8:n=Ug;break;default:n=mo}a=n.bind(null,t,a,e),n=void 0,!ys||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function Pc(e,t,a,l,n){var s=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var r=l.stateNode.containerInfo;if(r===n)break;if(o===4)for(o=l.return;o!==null;){var h=o.tag;if((h===3||h===4)&&o.stateNode.containerInfo===n)return;o=o.return}for(;r!==null;){if(o=Wa(r),o===null)return;if(h=o.tag,h===5||h===6||h===26||h===27){l=s=o;continue e}r=r.parentNode}}l=l.return}tr(function(){var p=s,N=ps(a),k=[];e:{var x=Er.get(e);if(x!==void 0){var y=Yn,R=e;switch(e){case"keypress":if(Ln(a)===0)break e;case"keydown":case"keyup":y=tm;break;case"focusin":R="focus",y=js;break;case"focusout":R="blur",y=js;break;case"beforeblur":case"afterblur":y=js;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=nr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=Vf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=nm;break;case kr:case Ar:case Tr:y=Kf;break;case Cr:y=sm;break;case"scroll":case"scrollend":y=Bf;break;case"wheel":y=om;break;case"copy":case"cut":case"paste":y=Jf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=sr;break;case"toggle":case"beforetoggle":y=um}var V=(t&4)!==0,pe=!V&&(e==="scroll"||e==="scrollend"),m=V?x!==null?x+"Capture":null:x;V=[];for(var f=p,g;f!==null;){var w=f;if(g=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||g===null||m===null||(w=ql(f,m),w!=null&&V.push(bn(f,w,g))),pe)break;f=f.return}0<V.length&&(x=new y(x,R,null,a,N),k.push({event:x,listeners:V}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",x&&a!==gs&&(R=a.relatedTarget||a.fromElement)&&(Wa(R)||R[$a]))break e;if((y||x)&&(x=N.window===N?N:(x=N.ownerDocument)?x.defaultView||x.parentWindow:window,y?(R=a.relatedTarget||a.toElement,y=p,R=R?Wa(R):null,R!==null&&(pe=C(R),V=R.tag,R!==pe||V!==5&&V!==27&&V!==6)&&(R=null)):(y=null,R=p),y!==R)){if(V=nr,w="onMouseLeave",m="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(V=sr,w="onPointerLeave",m="onPointerEnter",f="pointer"),pe=y==null?x:Gl(y),g=R==null?x:Gl(R),x=new V(w,f+"leave",y,a,N),x.target=pe,x.relatedTarget=g,w=null,Wa(N)===p&&(V=new V(m,f+"enter",R,a,N),V.target=g,V.relatedTarget=pe,w=V),pe=w,y&&R)t:{for(V=rg,m=y,f=R,g=0,w=m;w;w=V(w))g++;w=0;for(var B=f;B;B=V(B))w++;for(;0<g-w;)m=V(m),g--;for(;0<w-g;)f=V(f),w--;for(;g--;){if(m===f||f!==null&&m===f.alternate){V=m;break t}m=V(m),f=V(f)}V=null}else V=null;y!==null&&Id(k,x,y,V,!1),R!==null&&pe!==null&&Id(k,pe,R,V,!0)}}e:{if(x=p?Gl(p):window,y=x.nodeName&&x.nodeName.toLowerCase(),y==="select"||y==="input"&&x.type==="file")var se=mr;else if(hr(x))if(gr)se=vm;else{se=ym;var U=xm}else y=x.nodeName,!y||y.toLowerCase()!=="input"||x.type!=="checkbox"&&x.type!=="radio"?p&&ms(p.elementType)&&(se=mr):se=bm;if(se&&(se=se(e,p))){fr(k,se,a,N);break e}U&&U(e,x,p),e==="focusout"&&p&&x.type==="number"&&p.memoizedProps.value!=null&&fs(x,"number",x.value)}switch(U=p?Gl(p):window,e){case"focusin":(hr(U)||U.contentEditable==="true")&&(il=U,Cs=p,Zl=null);break;case"focusout":Zl=Cs=il=null;break;case"mousedown":Es=!0;break;case"contextmenu":case"mouseup":case"dragend":Es=!1,wr(k,a,N);break;case"selectionchange":if(jm)break;case"keydown":case"keyup":wr(k,a,N)}var W;if(Ss)e:{switch(e){case"compositionstart":var le="onCompositionStart";break e;case"compositionend":le="onCompositionEnd";break e;case"compositionupdate":le="onCompositionUpdate";break e}le=void 0}else nl?ur(e,a)&&(le="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(le="onCompositionStart");le&&(cr&&a.locale!=="ko"&&(nl||le!=="onCompositionStart"?le==="onCompositionEnd"&&nl&&(W=ar()):(sa=N,bs="value"in sa?sa.value:sa.textContent,nl=!0)),U=Di(p,le),0<U.length&&(le=new ir(le,e,null,a,N),k.push({event:le,listeners:U}),W?le.data=W:(W=dr(a),W!==null&&(le.data=W)))),(W=hm?fm(e,a):mm(e,a))&&(le=Di(p,"onBeforeInput"),0<le.length&&(U=new ir("onBeforeInput","beforeinput",null,a,N),k.push({event:U,listeners:le}),U.data=W)),ig(k,e,p,a,N)}$d(k,t)})}function bn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Di(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,s=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||s===null||(n=ql(e,a),n!=null&&l.unshift(bn(e,n,s)),n=ql(e,t),n!=null&&l.push(bn(e,n,s))),e.tag===3)return l;e=e.return}return[]}function rg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Id(e,t,a,l,n){for(var s=t._reactName,o=[];a!==null&&a!==l;){var r=a,h=r.alternate,p=r.stateNode;if(r=r.tag,h!==null&&h===l)break;r!==5&&r!==26&&r!==27||p===null||(h=p,n?(p=ql(a,s),p!=null&&o.unshift(bn(a,p,h))):n||(p=ql(a,s),p!=null&&o.push(bn(a,p,h)))),a=a.return}o.length!==0&&e.push({event:t,listeners:o})}var ug=/\r\n?/g,dg=/\u0000|\uFFFD/g;function Fd(e){return(typeof e=="string"?e:""+e).replace(ug,`
49
+ `).replace(dg,"")}function Pd(e,t){return t=Fd(t),Fd(e)===t}function ge(e,t,a,l,n,s){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||tl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&tl(e,""+l);break;case"className":Hn(e,"class",l);break;case"tabIndex":Hn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Hn(e,a,l);break;case"style":Po(e,l,s);break;case"data":if(t!=="object"){Hn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Gn(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"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 s=="function"&&(a==="formAction"?(t!=="input"&&ge(e,t,"name",n.name,n,null),ge(e,t,"formEncType",n.formEncType,n,null),ge(e,t,"formMethod",n.formMethod,n,null),ge(e,t,"formTarget",n.formTarget,n,null)):(ge(e,t,"encType",n.encType,n,null),ge(e,t,"method",n.method,n,null),ge(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Gn(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=Lt);break;case"onScroll":l!=null&&te("scroll",e);break;case"onScrollEnd":l!=null&&te("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(d(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(d(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=Gn(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":te("beforetoggle",e),te("toggle",e),Rn(e,"popover",l);break;case"xlinkActuate":qt(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":qt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":qt(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":qt(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":qt(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":qt(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":qt(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":qt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":qt(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Rn(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=qf.get(a)||a,Rn(e,a,l))}}function eo(e,t,a,l,n,s){switch(a){case"style":Po(e,l,s);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(d(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(d(60));e.innerHTML=a}}break;case"children":typeof l=="string"?tl(e,l):(typeof l=="number"||typeof l=="bigint")&&tl(e,""+l);break;case"onScroll":l!=null&&te("scroll",e);break;case"onScrollEnd":l!=null&&te("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qo.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),s=e[Pe]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,n),typeof l=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):Rn(e,a,l)}}}function Qe(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":te("error",e),te("load",e);var l=!1,n=!1,s;for(s in a)if(a.hasOwnProperty(s)){var o=a[s];if(o!=null)switch(s){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:ge(e,t,s,o,a,null)}}n&&ge(e,t,"srcSet",a.srcSet,a,null),l&&ge(e,t,"src",a.src,a,null);return;case"input":te("invalid",e);var r=s=o=n=null,h=null,p=null;for(l in a)if(a.hasOwnProperty(l)){var N=a[l];if(N!=null)switch(l){case"name":n=N;break;case"type":o=N;break;case"checked":h=N;break;case"defaultChecked":p=N;break;case"value":s=N;break;case"defaultValue":r=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(d(137,t));break;default:ge(e,t,l,N,a,null)}}$o(e,s,r,h,p,o,n,!1);return;case"select":te("invalid",e),l=o=s=null;for(n in a)if(a.hasOwnProperty(n)&&(r=a[n],r!=null))switch(n){case"value":s=r;break;case"defaultValue":o=r;break;case"multiple":l=r;default:ge(e,t,n,r,a,null)}t=s,a=o,e.multiple=!!l,t!=null?el(e,!!l,t,!1):a!=null&&el(e,!!l,a,!0);return;case"textarea":te("invalid",e),s=n=l=null;for(o in a)if(a.hasOwnProperty(o)&&(r=a[o],r!=null))switch(o){case"value":l=r;break;case"defaultValue":n=r;break;case"children":s=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(d(91));break;default:ge(e,t,o,r,a,null)}Io(e,l,n,s);return;case"option":for(h in a)if(a.hasOwnProperty(h)&&(l=a[h],l!=null))switch(h){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ge(e,t,h,l,a,null)}return;case"dialog":te("beforetoggle",e),te("toggle",e),te("cancel",e),te("close",e);break;case"iframe":case"object":te("load",e);break;case"video":case"audio":for(l=0;l<yn.length;l++)te(yn[l],e);break;case"image":te("error",e),te("load",e);break;case"details":te("toggle",e);break;case"embed":case"source":case"link":te("error",e),te("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(p in a)if(a.hasOwnProperty(p)&&(l=a[p],l!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:ge(e,t,p,l,a,null)}return;default:if(ms(t)){for(N in a)a.hasOwnProperty(N)&&(l=a[N],l!==void 0&&eo(e,t,N,l,a,void 0));return}}for(r in a)a.hasOwnProperty(r)&&(l=a[r],l!=null&&ge(e,t,r,l,a,null))}function hg(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,s=null,o=null,r=null,h=null,p=null,N=null;for(y in a){var k=a[y];if(a.hasOwnProperty(y)&&k!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":h=k;default:l.hasOwnProperty(y)||ge(e,t,y,null,l,k)}}for(var x in l){var y=l[x];if(k=a[x],l.hasOwnProperty(x)&&(y!=null||k!=null))switch(x){case"type":s=y;break;case"name":n=y;break;case"checked":p=y;break;case"defaultChecked":N=y;break;case"value":o=y;break;case"defaultValue":r=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(d(137,t));break;default:y!==k&&ge(e,t,x,y,l,k)}}hs(e,o,r,h,p,N,s,n);return;case"select":y=o=r=x=null;for(s in a)if(h=a[s],a.hasOwnProperty(s)&&h!=null)switch(s){case"value":break;case"multiple":y=h;default:l.hasOwnProperty(s)||ge(e,t,s,null,l,h)}for(n in l)if(s=l[n],h=a[n],l.hasOwnProperty(n)&&(s!=null||h!=null))switch(n){case"value":x=s;break;case"defaultValue":r=s;break;case"multiple":o=s;default:s!==h&&ge(e,t,n,s,l,h)}t=r,a=o,l=y,x!=null?el(e,!!a,x,!1):!!l!=!!a&&(t!=null?el(e,!!a,t,!0):el(e,!!a,a?[]:"",!1));return;case"textarea":y=x=null;for(r in a)if(n=a[r],a.hasOwnProperty(r)&&n!=null&&!l.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:ge(e,t,r,null,l,n)}for(o in l)if(n=l[o],s=a[o],l.hasOwnProperty(o)&&(n!=null||s!=null))switch(o){case"value":x=n;break;case"defaultValue":y=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(d(91));break;default:n!==s&&ge(e,t,o,n,l,s)}Wo(e,x,y);return;case"option":for(var R in a)if(x=a[R],a.hasOwnProperty(R)&&x!=null&&!l.hasOwnProperty(R))switch(R){case"selected":e.selected=!1;break;default:ge(e,t,R,null,l,x)}for(h in l)if(x=l[h],y=a[h],l.hasOwnProperty(h)&&x!==y&&(x!=null||y!=null))switch(h){case"selected":e.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:ge(e,t,h,x,l,y)}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 V in a)x=a[V],a.hasOwnProperty(V)&&x!=null&&!l.hasOwnProperty(V)&&ge(e,t,V,null,l,x);for(p in l)if(x=l[p],y=a[p],l.hasOwnProperty(p)&&x!==y&&(x!=null||y!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(d(137,t));break;default:ge(e,t,p,x,l,y)}return;default:if(ms(t)){for(var pe in a)x=a[pe],a.hasOwnProperty(pe)&&x!==void 0&&!l.hasOwnProperty(pe)&&eo(e,t,pe,void 0,l,x);for(N in l)x=l[N],y=a[N],!l.hasOwnProperty(N)||x===y||x===void 0&&y===void 0||eo(e,t,N,x,l,y);return}}for(var m in a)x=a[m],a.hasOwnProperty(m)&&x!=null&&!l.hasOwnProperty(m)&&ge(e,t,m,null,l,x);for(k in l)x=l[k],y=a[k],!l.hasOwnProperty(k)||x===y||x==null&&y==null||ge(e,t,k,x,l,y)}function eh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function fg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var n=a[l],s=n.transferSize,o=n.initiatorType,r=n.duration;if(s&&r&&eh(o)){for(o=0,r=n.responseEnd,l+=1;l<a.length;l++){var h=a[l],p=h.startTime;if(p>r)break;var N=h.transferSize,k=h.initiatorType;N&&eh(k)&&(h=h.responseEnd,o+=N*(h<r?1:(r-p)/(h-p)))}if(--l,t+=8*(s+o)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var to=null,ao=null;function _i(e){return e.nodeType===9?e:e.ownerDocument}function th(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ah(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function lo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var no=null;function mg(){var e=window.event;return e&&e.type==="popstate"?e===no?!1:(no=e,!0):(no=null,!1)}var lh=typeof setTimeout=="function"?setTimeout:void 0,gg=typeof clearTimeout=="function"?clearTimeout:void 0,nh=typeof Promise=="function"?Promise:void 0,pg=typeof queueMicrotask=="function"?queueMicrotask:typeof nh<"u"?function(e){return nh.resolve(null).then(e).catch(xg)}:lh;function xg(e){setTimeout(function(){throw e})}function wa(e){return e==="head"}function ih(e,t){var a=t,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(n),Dl(t);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")vn(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,vn(a);for(var s=a.firstChild;s;){var o=s.nextSibling,r=s.nodeName;s[Ul]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=o}}else a==="body"&&vn(e.ownerDocument.body);a=n}while(a);Dl(t)}function sh(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function io(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":io(a),us(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function yg(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Ul])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Tt(e.nextSibling),e===null)break}return null}function bg(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Tt(e.nextSibling),e===null))return null;return e}function ch(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Tt(e.nextSibling),e===null))return null;return e}function so(e){return e.data==="$?"||e.data==="$~"}function co(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function vg(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Tt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var oo=null;function oh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Tt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function rh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function uh(e,t,a){switch(t=_i(a),e){case"html":if(e=t.documentElement,!e)throw Error(d(452));return e;case"head":if(e=t.head,!e)throw Error(d(453));return e;case"body":if(e=t.body,!e)throw Error(d(454));return e;default:throw Error(d(451))}}function vn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);us(e)}var Ct=new Map,dh=new Set;function Oi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var aa=_.d;_.d={f:Ng,r:jg,D:wg,C:Sg,L:kg,m:Ag,X:Cg,S:Tg,M:Eg};function Ng(){var e=aa.f(),t=ki();return e||t}function jg(e){var t=Ia(e);t!==null&&t.tag===5&&t.type==="form"?Cu(t):aa.r(e)}var El=typeof document>"u"?null:document;function hh(e,t,a){var l=El;if(l&&typeof t=="string"&&t){var n=vt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),dh.has(n)||(dh.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),Qe(t,"link",e),Ue(t),l.head.appendChild(t)))}}function wg(e){aa.D(e),hh("dns-prefetch",e,null)}function Sg(e,t){aa.C(e,t),hh("preconnect",e,t)}function kg(e,t,a){aa.L(e,t,a);var l=El;if(l&&e&&t){var n='link[rel="preload"][as="'+vt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+vt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+vt(a.imageSizes)+'"]')):n+='[href="'+vt(e)+'"]';var s=n;switch(t){case"style":s=zl(e);break;case"script":s=Ml(e)}Ct.has(s)||(e=D({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ct.set(s,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(Nn(s))||t==="script"&&l.querySelector(jn(s))||(t=l.createElement("link"),Qe(t,"link",e),Ue(t),l.head.appendChild(t)))}}function Ag(e,t){aa.m(e,t);var a=El;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+vt(l)+'"][href="'+vt(e)+'"]',s=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ml(e)}if(!Ct.has(s)&&(e=D({rel:"modulepreload",href:e},t),Ct.set(s,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(jn(s)))return}l=a.createElement("link"),Qe(l,"link",e),Ue(l),a.head.appendChild(l)}}}function Tg(e,t,a){aa.S(e,t,a);var l=El;if(l&&e){var n=Fa(l).hoistableStyles,s=zl(e);t=t||"default";var o=n.get(s);if(!o){var r={loading:0,preload:null};if(o=l.querySelector(Nn(s)))r.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ct.get(s))&&ro(e,a);var h=o=l.createElement("link");Ue(h),Qe(h,"link",e),h._p=new Promise(function(p,N){h.onload=p,h.onerror=N}),h.addEventListener("load",function(){r.loading|=1}),h.addEventListener("error",function(){r.loading|=2}),r.loading|=4,Ri(o,t,l)}o={type:"stylesheet",instance:o,count:1,state:r},n.set(s,o)}}}function Cg(e,t){aa.X(e,t);var a=El;if(a&&e){var l=Fa(a).hoistableScripts,n=Ml(e),s=l.get(n);s||(s=a.querySelector(jn(n)),s||(e=D({src:e,async:!0},t),(t=Ct.get(n))&&uo(e,t),s=a.createElement("script"),Ue(s),Qe(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function Eg(e,t){aa.M(e,t);var a=El;if(a&&e){var l=Fa(a).hoistableScripts,n=Ml(e),s=l.get(n);s||(s=a.querySelector(jn(n)),s||(e=D({src:e,async:!0,type:"module"},t),(t=Ct.get(n))&&uo(e,t),s=a.createElement("script"),Ue(s),Qe(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function fh(e,t,a,l){var n=(n=P.current)?Oi(n):null;if(!n)throw Error(d(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=zl(a.href),a=Fa(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=zl(a.href);var s=Fa(n).hoistableStyles,o=s.get(e);if(o||(n=n.ownerDocument||n,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,o),(s=n.querySelector(Nn(e)))&&!s._p&&(o.instance=s,o.state.loading=5),Ct.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ct.set(e,a),s||zg(n,e,a,o.state))),t&&l===null)throw Error(d(528,""));return o}if(t&&l!==null)throw Error(d(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ml(a),a=Fa(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(d(444,e))}}function zl(e){return'href="'+vt(e)+'"'}function Nn(e){return'link[rel="stylesheet"]['+e+"]"}function mh(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function zg(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Qe(t,"link",a),Ue(t),e.head.appendChild(t))}function Ml(e){return'[src="'+vt(e)+'"]'}function jn(e){return"script[async]"+e}function gh(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+vt(a.href)+'"]');if(l)return t.instance=l,Ue(l),l;var n=D({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Ue(l),Qe(l,"style",n),Ri(l,a.precedence,e),t.instance=l;case"stylesheet":n=zl(a.href);var s=e.querySelector(Nn(n));if(s)return t.state.loading|=4,t.instance=s,Ue(s),s;l=mh(a),(n=Ct.get(n))&&ro(l,n),s=(e.ownerDocument||e).createElement("link"),Ue(s);var o=s;return o._p=new Promise(function(r,h){o.onload=r,o.onerror=h}),Qe(s,"link",l),t.state.loading|=4,Ri(s,a.precedence,e),t.instance=s;case"script":return s=Ml(a.src),(n=e.querySelector(jn(s)))?(t.instance=n,Ue(n),n):(l=a,(n=Ct.get(s))&&(l=D({},a),uo(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ue(n),Qe(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(d(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Ri(l,a.precedence,e));return t.instance}function Ri(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,s=n,o=0;o<l.length;o++){var r=l[o];if(r.dataset.precedence===t)s=r;else if(s!==n)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function ro(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function uo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Hi=null;function ph(e,t,a){if(Hi===null){var l=new Map,n=Hi=new Map;n.set(a,l)}else n=Hi,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var s=a[n];if(!(s[Ul]||s[Le]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var o=s.getAttribute(t)||"";o=e+o;var r=l.get(o);r?r.push(s):l.set(o,[s])}}return l}function xh(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Mg(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function yh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Dg(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var n=zl(l.href),s=t.querySelector(Nn(n));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ui.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=s,Ue(s);return}s=t.ownerDocument||t,l=mh(l),(n=Ct.get(n))&&ro(l,n),s=s.createElement("link"),Ue(s);var o=s;o._p=new Promise(function(r,h){o.onload=r,o.onerror=h}),Qe(s,"link",l),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Ui.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var ho=0;function _g(e,t){return e.stylesheets&&e.count===0&&qi(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&qi(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4+t);0<e.imgBytes&&ho===0&&(ho=62500*fg());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qi(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>ho?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function Ui(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Gi=null;function qi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gi=new Map,t.forEach(Og,e),Gi=null,Ui.call(e))}function Og(e,t){if(!(t.state.loading&4)){var a=Gi.get(e);if(a)var l=a.get(null);else{a=new Map,Gi.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<n.length;s++){var o=n[s];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(a.set(o.dataset.precedence,o),l=o)}l&&a.set(null,l)}n=t.instance,o=n.getAttribute("data-precedence"),s=a.get(o)||l,s===l&&a.set(null,n),a.set(o,n),this.count++,l=Ui.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),s?s.parentNode.insertBefore(n,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var wn={$$typeof:ze,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function Rg(e,t,a,l,n,s,o,r,h){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ss(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ss(0),this.hiddenUpdates=ss(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=s,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function bh(e,t,a,l,n,s,o,r,h,p,N,k){return e=new Rg(e,t,a,o,h,p,N,k,r),t=1,s===!0&&(t|=24),s=dt(3,null,null,t),e.current=s,s.stateNode=e,t=Qs(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:l,isDehydrated:a,cache:t},Js(s),e}function vh(e){return e?(e=ol,e):ol}function Nh(e,t,a,l,n,s){n=vh(n),l.context===null?l.context=n:l.pendingContext=n,l=ha(t),l.payload={element:a},s=s===void 0?null:s,s!==null&&(l.callback=s),a=fa(e,l,t),a!==null&&(it(a,e,t),en(a,e,t))}function jh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function fo(e,t){jh(e,t),(e=e.alternate)&&jh(e,t)}function wh(e){if(e.tag===13||e.tag===31){var t=Ra(e,67108864);t!==null&&it(t,e,67108864),fo(e,67108864)}}function Sh(e){if(e.tag===13||e.tag===31){var t=pt();t=cs(t);var a=Ra(e,t);a!==null&&it(a,e,t),fo(e,t)}}var Li=!0;function Hg(e,t,a,l){var n=j.T;j.T=null;var s=_.p;try{_.p=2,mo(e,t,a,l)}finally{_.p=s,j.T=n}}function Ug(e,t,a,l){var n=j.T;j.T=null;var s=_.p;try{_.p=8,mo(e,t,a,l)}finally{_.p=s,j.T=n}}function mo(e,t,a,l){if(Li){var n=go(l);if(n===null)Pc(e,t,l,Bi,a),Ah(e,l);else if(qg(n,e,t,a,l))l.stopPropagation();else if(Ah(e,l),t&4&&-1<Gg.indexOf(e)){for(;n!==null;){var s=Ia(n);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var o=za(s.pendingLanes);if(o!==0){var r=s;for(r.pendingLanes|=2,r.entangledLanes|=2;o;){var h=1<<31-rt(o);r.entanglements[1]|=h,o&=~h}Ut(s),(oe&6)===0&&(wi=ct()+500,xn(0))}}break;case 31:case 13:r=Ra(s,2),r!==null&&it(r,s,2),ki(),fo(s,2)}if(s=go(l),s===null&&Pc(e,t,l,Bi,a),s===n)break;n=s}n!==null&&l.stopPropagation()}else Pc(e,t,l,null,a)}}function go(e){return e=ps(e),po(e)}var Bi=null;function po(e){if(Bi=null,e=Wa(e),e!==null){var t=C(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=Q(t),e!==null)return e;e=null}else if(a===31){if(e=Y(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Bi=e,null}function kh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wf()){case _o:return 2;case Oo:return 8;case zn:case Sf:return 32;case Ro:return 268435456;default:return 32}default:return 32}}var xo=!1,Sa=null,ka=null,Aa=null,Sn=new Map,kn=new Map,Ta=[],Gg="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 Ah(e,t){switch(e){case"focusin":case"focusout":Sa=null;break;case"dragenter":case"dragleave":ka=null;break;case"mouseover":case"mouseout":Aa=null;break;case"pointerover":case"pointerout":Sn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kn.delete(t.pointerId)}}function An(e,t,a,l,n,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:s,targetContainers:[n]},t!==null&&(t=Ia(t),t!==null&&wh(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function qg(e,t,a,l,n){switch(t){case"focusin":return Sa=An(Sa,e,t,a,l,n),!0;case"dragenter":return ka=An(ka,e,t,a,l,n),!0;case"mouseover":return Aa=An(Aa,e,t,a,l,n),!0;case"pointerover":var s=n.pointerId;return Sn.set(s,An(Sn.get(s)||null,e,t,a,l,n)),!0;case"gotpointercapture":return s=n.pointerId,kn.set(s,An(kn.get(s)||null,e,t,a,l,n)),!0}return!1}function Th(e){var t=Wa(e.target);if(t!==null){var a=C(t);if(a!==null){if(t=a.tag,t===13){if(t=Q(a),t!==null){e.blockedOn=t,Bo(e.priority,function(){Sh(a)});return}}else if(t===31){if(t=Y(a),t!==null){e.blockedOn=t,Bo(e.priority,function(){Sh(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Yi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=go(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);gs=l,a.target.dispatchEvent(l),gs=null}else return t=Ia(a),t!==null&&wh(t),e.blockedOn=a,!1;t.shift()}return!0}function Ch(e,t,a){Yi(e)&&a.delete(t)}function Lg(){xo=!1,Sa!==null&&Yi(Sa)&&(Sa=null),ka!==null&&Yi(ka)&&(ka=null),Aa!==null&&Yi(Aa)&&(Aa=null),Sn.forEach(Ch),kn.forEach(Ch)}function Vi(e,t){e.blockedOn===t&&(e.blockedOn=null,xo||(xo=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Lg)))}var Qi=null;function Eh(e){Qi!==e&&(Qi=e,c.unstable_scheduleCallback(c.unstable_NormalPriority,function(){Qi===e&&(Qi=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(po(l||a)===null)continue;break}var s=Ia(a);s!==null&&(e.splice(t,3),t-=3,mc(s,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function Dl(e){function t(h){return Vi(h,e)}Sa!==null&&Vi(Sa,e),ka!==null&&Vi(ka,e),Aa!==null&&Vi(Aa,e),Sn.forEach(t),kn.forEach(t);for(var a=0;a<Ta.length;a++){var l=Ta[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Ta.length&&(a=Ta[0],a.blockedOn===null);)Th(a),a.blockedOn===null&&Ta.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],s=a[l+1],o=n[Pe]||null;if(typeof s=="function")o||Eh(a);else if(o){var r=null;if(s&&s.hasAttribute("formAction")){if(n=s,o=s[Pe]||null)r=o.formAction;else if(po(n)!==null)continue}else r=o.action;typeof r=="function"?a[l+1]=r:(a.splice(l,3),l-=3),Eh(a)}}}function zh(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(o){return n=o})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function yo(e){this._internalRoot=e}Xi.prototype.render=yo.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(d(409));var a=t.current,l=pt();Nh(a,l,e,t,null,null)},Xi.prototype.unmount=yo.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nh(e.current,2,null,e,null,null),ki(),t[$a]=null}};function Xi(e){this._internalRoot=e}Xi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Lo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ta.length&&t!==0&&t<Ta[a].priority;a++);Ta.splice(a,0,e),a===0&&Th(e)}};var Mh=A.version;if(Mh!=="19.2.7")throw Error(d(527,Mh,"19.2.7"));_.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(d(188)):(e=Object.keys(e).join(","),Error(d(268,e)));return e=v(t),e=e!==null?H(e):null,e=e===null?null:e.stateNode,e};var Bg={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ki=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ki.isDisabled&&Ki.supportsFiber)try{Ol=Ki.inject(Bg),ot=Ki}catch{}}return Cn.createRoot=function(e,t){if(!M(e))throw Error(d(299));var a=!1,l="",n=Gu,s=qu,o=Lu;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=bh(e,1,!1,null,null,a,l,null,n,s,o,zh),e[$a]=t.current,Fc(e),new yo(t)},Cn.hydrateRoot=function(e,t,a){if(!M(e))throw Error(d(299));var l=!1,n="",s=Gu,o=qu,r=Lu,h=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(r=a.onRecoverableError),a.formState!==void 0&&(h=a.formState)),t=bh(e,1,!0,t,a??null,l,n,h,s,o,r,zh),t.context=vh(null),a=t.current,l=pt(),l=cs(l),n=ha(l),n.callback=null,fa(a,n,l),a=l,t.current.lanes=a,Hl(t,a),Ut(t),e[$a]=t.current,Fc(e),new Xi(t)},Cn.version="19.2.7",Cn}var Bh;function Pg(){if(Bh)return No.exports;Bh=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(A){console.error(A)}}return c(),No.exports=Fg(),No.exports}var ep=Pg();/**
50
+ * @license
51
+ * SPDX-License-Identifier: MIT
52
+ */const Yh={en:{"nav.title":"agent-workflow-kit","nav.subtitle":"AI-POWERED WORKFLOWS","nav.features":"Features","nav.howItWorks":"How It Works","nav.repoStructure":"Repository Structure","nav.commands":"Commands","nav.stackPacks":"Stack Packs","nav.github":"GitHub","nav.getStarted":"Get Started","hero.updateTag":"v1.3.5 Release Update is now live","hero.title":"The Executable","hero.titleHighlight":"AI Workflow OS","hero.titleEnd":"for Codebases.","hero.subtitle":"Transitioning CLI rule generation to an executable operating system runtime. Define task DAGs, check boundaries via AST compilers, load plugins dynamically, and enforce workflow safeguards.","hero.tabScan":"1. Scan & Setup","hero.tabWorkflow":"2. Run DAG Workflow","hero.btnCLI":"Interactive CLI Console","hero.miniAst":"AST-based Parsing","hero.miniPlugin":"Dynamic Plugin SDK","hero.miniTopo":"Topological Execution","hero.termHeader":"terminal: bash","hero.termSetup":"Simulate setup","hero.termWorkflow":"Simulate workflow","hero.termRunning":"Running","hero.termHint":'// Click "Simulate {tab}" above to play console trace.',"hero.lifecycleInit":"Initialization Lifecycle","hero.lifecycleAwos":"AWOS DAG Execution Timeline","hero.node.detect":"1. Detect Repo","hero.node.presets":"2. Presets","hero.node.emitters":"3. Emitters","hero.node.verify":"4. Verify","hero.node.ready":"5. Ready","hero.node.parse":"1. Parse DAG","hero.node.build":"2. Run Build","hero.node.ast":"3. AST Verify","hero.node.approval":"4. Human approval","hero.node.finished":"5. Finished","hero.chooseMethod":"Choose Configuration Method","hero.configMethodUI":"UI Wizard (Recommended)","hero.configMethodUIDesc":"Configure stacks, agents, and guidelines visually in your browser.","hero.configMethodCLI":"Interactive CLI","hero.configMethodCLIDesc":"Scans repository layouts and initializes guidelines directly in the console.","problem.tag":"THE CHALLENGE","problem.title":"AI agents are powerful, but","problem.titleHighlight":"repositories are messy","problem.subtitle":"Without automated persistence schemas, AI models operate on blind assumptions rather than your actual repository configurations.","problem.p1.title":"Agents forget project conventions","problem.p1.desc":"During large context window shifts, AI coding assistants routinely drift or forget styling guidelines, file architecture requirements, and security rules.","problem.p1.tag":"Context Pruning","problem.p2.title":"Rules are scattered across prompts","problem.p2.desc":"Without a persistent source of truth on-disk, developers end up copy-pasting loose prompts into chat logs or system instruction settings manually.","problem.p2.tag":"Scattered Context","problem.p3.title":"Stack-specific mismatch","problem.p3.desc":"A Python FastAPI project require different skills or validation commands than a Vite SPA; generic prompts do not account for framework variations.","problem.p3.tag":"Framework Drift","problem.p4.title":"No repeatable workspace standards","problem.p4.desc":"Configuring 15 developers in a team to use the identical instructions across Codex or Antigravity leads to divergent code formats and structural drift.","problem.p4.tag":"Workflow Friction","problem.p5.title":"Manual workspace setup lag","problem.p5.desc":"Writing markdown skills files, .agents rules files, and continuous integration validations for each microservice wastes hours of pipeline tuning.","problem.p5.tag":"Developer Friction","problem.cta.title":"Ready to automate?","problem.cta.desc":"Convert raw markdown conventions into machine-readable directives.","problem.cta.btn":"Learn the workflow","problem.impact":"IMPACT: INTERFERENCE","solution.tag":"THE SOLUTION","solution.title":"A repo-first workflow generator","solution.titleHighlight":"for AI-powered development","solution.subtitle":"agent-workflow-kit-cli turns your repository into an AI-readable workspace by generating persistent instructions, reusable skills, and validation systems.","solution.s1.title":"AGENTS.md","solution.s1.purpose":"Shared workspace guidelines","solution.s1.desc":"Generates a root-level index detailing project stack, architecture maps, local directory rules, and validation guidelines readable by code agents instantly.","solution.s2.title":".agents/skills","solution.s2.purpose":"Reusable agent capabilities","solution.s2.desc":"Creates structured, composable capability files (e.g. firebase-integration, test-generation) enabling agents to load steps deterministically.","solution.s3.title":".agents/rules","solution.s3.purpose":"Hard repository constraints","solution.s3.desc":"Emits Antigravity and Codex constraints to prevent forbidden patterns, unsafe database queries, or invalid folder creations during execution.","solution.s4.title":"docs/workflows","solution.s4.purpose":"Human-in-the-loop pathways","solution.s4.desc":"Compiles markdown process files that outline exact manual commands, staging pipelines, and peer review standards for developer-agent alignment.","solution.s5.title":"templates/prompts","solution.s5.purpose":"Repeatable prompt blueprints","solution.s5.desc":"Provides parameterized prompt structures for task creation, bug reports, and database migrations to enforce input uniformity across teams.","solution.s6.title":"CI-ready validators","solution.s6.purpose":"Automated conformance testing","solution.s6.desc":"Hooks up automated validation scripts (doctor commands) that scan files for obsolete instructions, path typos, or missing skill references in CI.","solution.emits":"EMITS","how.tag":"WORKFLOW PIPELINE","how.title":"Five steps to a fully","how.titleHighlight":"AI-aligned codebase","how.subtitle":"agent-workflow-kit-cli walks your repository workspace through a structured orchestration that replaces fragile context assumptions with on-disk, strict instruction sets.","how.step":"STEP","how.s1.title":"Detect Repository Stack","how.s1.desc":"Analyze the repository manifests (package.json, pom.xml, pyproject.toml) to identify React + TS, Spring Boot, or FastAPI workspaces.","how.s2.title":"Resolve Workflow Presets","how.s2.desc":"Load pre-installed templates matching your code runner configurations and targeted AI agent capabilities (Antigravity & Codex).","how.s3.title":"Generate Agent Files","how.s3.desc":"Render physical Markdown documents including global AGENTS.md and reusable workflow skills (SKILL.md).","how.s4.title":"Configure Selective Scan","how.s4.desc":"Configure AGENTS.md to instruct the agent to load only stack-specific rule files dynamically, saving up to 70% in input tokens.","how.s5.title":"Run Diagnostics & doctor","how.s5.desc":"Verify active agent configurations, check rule integrity, and run validation test commands defined by the stack pack.","how.active":"ACTIVE PIPELINE DETAILS","how.logs":"EMITTED TERMINAL LOGS","how.detail1":"Deterministic YAML variable merging","how.detail2":"Optimized for low-token cost execution","repo.tag":"REPOSITORY COMPILER MAP","repo.title":"Structured workspace anatomy","repo.titleHighlight":"optimized for compiler parsing","repo.subtitle":"Click on the folders inside the explorer tree below to analyze file roles, compile tasks, and output locations.","repo.hint":"// Interactive tree: Click highlighted folders to parse details.","repo.breadcrumb":"INDEXED PATH","repo.titleCaps":"MODULE CAPABILITIES","repo.cap1":"Fully test-covered snapshot execution","repo.cap2":"Custom YAML & JSON format consolidation","repo.syntax":"COMPILER EXECUTION SYNTAX","repo.node.src.desc":"The core runtime entry points, managing execution commands, utilities, and compiler engines.","repo.node.src.role":"Core Application Code","repo.node.cli.desc":"Command-line interface layer containing command definitions (init, run, resume, doctor, sync, profile, export).","repo.node.cli.role":"CLI Commands layer","repo.node.core.desc":"Merger motors, template compilers, selective scanner logic, configuration loading, and core engines.","repo.node.core.role":"Compiler Core","repo.node.awos.desc":"The Acyclic Workflow Operating System (AWOS) engine core. Manages topological execution of task Directed Acyclic Graphs (DAG), mock input environments in dry-run mode, and human review pause/resume checkpoints.","repo.node.awos.role":"AWOS Workflow Runtime","repo.node.detectors.desc":"Syntax-aware AST compilers (TypeScript Compiler, Python AST command, comment-stripped Java reader) and workspace package detectors mapping project profiles.","repo.node.detectors.role":"AST Parsers & Sensors","repo.node.packs.desc":"Enforces boundary controls, line-length constraints, architectural rules (clean vs layered architecture), and dependency policies on the workspace files.","repo.node.packs.role":"Architectural Rule Profiles","repo.node.emitters.desc":"Physical markdown file generator. Serializes instruction structures and updates root files (.cursorrules, .copilot-instructions.md).","repo.node.emitters.role":"Markdown File Writer","repo.node.templates.desc":"Static template directory hosting base models for Spring Boot, React-TS, FastAPI, and common agent skills.","repo.node.templates.role":"Base Layouts","repo.node.agents.desc":"The output folder containing persistent, on-disk rules and composable skills. Shared across workspace sessions.","repo.node.agents.role":"AI Workspace Rules","repo.node.skills.desc":"Segmented workspace action skills mapped directly inside guidelines to conserve input tokens.","repo.node.skills.role":"Granular Agent Skills","cmd.tag":"CLI INTERFACE API","cmd.title":"Command utility interface","cmd.titleHighlight":"engineered for raw speed","cmd.subtitle":"Review available terminal commands, customize options flags, and trigger automated repository adjustments instantly.","cmd.header":"Available Commands","cmd.usecase":"RECOMMENDED USE CASE","cmd.genTitle":"interactive code generator","cmd.ready":"READY","cmd.copy":"Copy","cmd.copied":"Copied!","cmd.flags":"Tailor execution flags","cmd.default":"default","cmd.ui.title":"Local Setup Dashboard","cmd.ui.desc":"Launch the local configuration wizard web dashboard. Serve a web interface to configure technology stacks, AI agents, and output rule blueprints programmatically.","cmd.ui.usecase":"Run this command to configure and initialize your workspace rules visually in your browser.","cmd.init.title":"Initialize Workspace","cmd.init.desc":"Initialize fundamental workflow templates, target agent configurations, and persistent instructions catalogs inside the repository root.","cmd.init.usecase":"Run once when onboarding an AI agent like Antigravity to establish repo guidelines.","cmd.add.title":"Add Stack Pack","cmd.add.desc":"Manually inject specific stack pack rules, guidelines, and skills into a target monorepo package or directory folder.","cmd.add.usecase":"Directly configure subfolders without running a global init scan on the entire monorepo.","cmd.sync.title":"Sync Configurations","cmd.sync.desc":"Regenerate custom rule sheets, index headers, and helper guidelines by pulling fresh values from configuration files.","cmd.sync.usecase":"Run to update rules lists after editing custom template properties without losing manual edits.","cmd.doctor.title":"Validate Workspace","cmd.doctor.desc":"Audit the active directory files to prevent broken paths, outdated index configurations, and run stack compilation tests.","cmd.doctor.usecase":"Sanity check the stack parameters or install pre-commit git hooks to enforce rules before pushes.","cmd.export.title":"Export Workflows","cmd.export.desc":"Parse and serialize skills and workflows down to single, consolidated instructions compatible with AI chat consoles.","cmd.export.usecase":"Readying prompts for transfer into cloud systems or other LLM developer consoles.","cmd.profile.title":"Verify Architecture Rules","cmd.profile.desc":"Validate directory boundaries, maximum lines count, and forbidden import dependencies based on architectural profiles.","cmd.profile.usecase":"Use to enforce layered architecture boundaries or package rules in Clean Architecture.","cmd.run.title":"Run DAG Workflow","cmd.run.desc":"Execute a Directed Acyclic Graph (DAG) workflow path configured in a JSON descriptor with branching and verification.","cmd.run.usecase":"Enforce multi-step execution flows like code generation, lint, test, and approval.","cmd.resume.title":"Resume Run","cmd.resume.desc":"Resume and continue execution of a suspended AWOS workflow run awaiting approval.","cmd.resume.usecase":"Recovering execution paths after manually inspecting intermediate steps.","cmd.workflow.title":"Manage Workflow Packs","cmd.workflow.desc":"Manage AWOS workflow packs catalog: list discovered workflows, show specific steps, validate schema schemas, and execute workflow nodes.","cmd.workflow.usecase":"Explore registered workflow templates or diagnose graph loop dependencies.","cmd.role.title":"Manage Agent Roles","cmd.role.desc":"Discovers and lists available coding roles, prints details of a selected role, and runs structural schema validation.","cmd.role.usecase":"Check guidelines and input requirements for specific sub-agent capabilities.","cmd.adr.title":"Architecture Decisions (ADR)","cmd.adr.desc":"Manage Architectural Decision Records (ADR) under docs/adr/. Supports creating, listing, viewing, and searching codebase decisions.","cmd.adr.usecase":"Enforce architectural design consensus and build historical records of choices.","stack.tag":"READY PACK COMPILATIONS","stack.title":"Pre-packaged technology stack packs","stack.titleHighlight":"tailored for execution safety","stack.subtitle":"Each pack includes tailored testing commands, persistent workspace requirements, and custom guidelines optimized for typical library structures.","stack.docTitle":"GENERATED DOCUMENTS","stack.cmdTitle":"generation command","stack.copy":"Copy","stack.progress":"IN PROGRESS","stack.soon.title":"Python AI Packs","stack.soon.desc":"Adding custom guidelines and verification suites for PyTorch, LangChain, and Jupyter integrations.","stack.fit.react":"Vite, React Router, Next-style component systems, and strict TypeScript single page apps.","stack.fit.nextjs":"Next.js App Router, React Server Components (RSC), Client Components (RCC), Server Actions, and SEO Metadata.","stack.fit.nestjs":"NestJS modular backend, dependency injection, Class Validator decorators, and global HttpFilters.","stack.fit.express":"Express layered 3-tier architecture, async route handlers, and Zod validator middlewares.","stack.fit.spring":"Spring MVC, Gradle projects, Maven monoliths, and enterprise Java architectures.","stack.fit.fastapi":"Pydantic backend routing, typed service layers, repositories, and async API workflows.","stack.fit.dotnet":"ASP.NET Core Web API, Clean/Onion architecture, dependency injection registration, and FluentValidation.","stack.fit.golang":"Go Clean/Hexagonal architecture, Escape Analysis memory optimization, sync.Pool GC reduction, and context propagation.","stack.fit.rust":"Idiomatic Rust code conventions, Cargo Workspace multi-crate setup, dyn Trait dependency injection, and async Tokio runtime.","stack.fit.diagram":"Design 10 types of monochrome UML and system diagrams (Peter Chen, ERD, Use Case, Sequence, Class, Context, Package, Workflow, State, System Overview) using Draw.io XML.","stack.fit.devops":"Production-ready multi-stage Dockerfiles and automated GitHub Actions CI/CD workflows for Node, Python, Go, Rust, Java, and .NET.","features.tag":"COMPREHENSIVE CORE UTILITIES","features.title":"Deep-seated utilities","features.titleHighlight":"designed for complex repositories","features.subtitle":"From smart package directory scanners to automated testing, every detail is tuned to support massive multi-developer projects seamlessly.","features.status":"PRESET STATUS","features.stable":"[ STABLE ]","features.f1.title":"Stack Auto-Detection","features.f1.desc":"Scans package.json, pom.xml, pyproject.toml, and requirements.txt to identify React TS, Spring Boot, and FastAPI workspaces.","features.f2.title":"Agent-Specific Emitters","features.f2.desc":"Generates AGENTS.md, .agents/rules, and .agents/skills outputs that Codex and Antigravity can reuse across sessions.","features.f3.title":"Dry-Run Differentials","features.f3.desc":"Preview generated AGENTS, rules, and skills from the terminal before writing files to the repository.","features.f4.title":"Monorepo Capabilities","features.f4.desc":"Detects one-level nested modules and writes module-local agent guidance for polyglot repositories.","features.f5.title":"Managed Code Blocks","features.f5.desc":"Marks sections with specific hash comments so developers can supplement instructions manually without fear of automated overrides during updates.","features.f6.title":"Vitest Coverage","features.f6.desc":"Covers detector logic, managed block replacement, rule chunking cleanup, and skill frontmatter parsing.","features.f7.title":"Rule Chunking","features.f7.desc":"Splits long rules into referenced parts and removes stale chunks when the rule shrinks again.","features.f8.title":"Local Pack Verification","features.f8.desc":"Package checks confirm static templates ship with the CLI tarball for npx-style distribution.","changelog.tag":"RELEASE TIMELINE","changelog.title":"Release","changelog.titleHighlight":"History","changelog.subtitle":"Review updates and feature logs as the Agent Workflow Kit evolves to deliver optimal token economics and better workspace alignment.","changelog.active":"ACTIVE","changelog.select":"SELECT","changelog.prev":"PREV","changelog.next":"NEXT","changelog.latest":"GET LATEST RELEASE","changelog.titleSuffix":"Updates","change.135.summary":"Major release featuring the Local Dashboard visual rules generator. Running 'npx agent-workflow-kit ui' launches a sleek local setup wizard allowing developers to configure and generate workspace files (.cursorrules, GEMINI.md, etc.) programmatically.","change.135.i1.badge":"LOCAL DASHBOARD","change.135.i1.title":"Local Web-Based Wizard Console","change.135.i1.desc":"Launches a gorgeous, balanced local dashboard with real stack logos, custom inline vector IDE cards, and terminal simulator logs reporting files setup progress.","change.135.i1.highlight":"Visual configuration console enabled","change.134.summary":"Minor release featuring optional Diagram and DevOps templates. Empowering developers to add on-demand monochrome system diagrams and optimized multi-stage Docker/GitHub Actions setups directly from the CLI (baseline d71a7bd369e8de0cfe8ac0eee265adbdbb9a2545).","change.134.i1.badge":"DIAGRAM PACK","change.134.i1.title":"On-demand monochrome diagrams","change.134.i1.desc":"Provides a comprehensive skill template to construct 10 types of diagrams in Draw.io XML format (Class, Sequence, ERD, Peter Chen, Use Case, Workflow, State, System Overview, etc.) with strict monochrome constraints.","change.134.i1.highlight":"Added diagram drawing skill template","change.134.i2.badge":"DEVOPS PACK","change.134.i2.title":"Secure multi-stage DevOps layouts","change.134.i2.desc":"Universal templates containing multi-stage, secure, non-root Dockerfiles and automated GitHub Actions workflows for Node, Python, Go, Rust, Java, and .NET projects.","change.134.i2.highlight":"Added Docker & GitHub Actions templates","change.133.summary":"Major release featuring the new Golang and Rust production stack templates, combined with the universal Four Pillars of execution safety rulesets for repository-level governance.","change.133.i1.badge":"GOLANG PACK","change.133.i1.title":"Production Go Lang Preset","change.133.i1.desc":"Added complete rule sets and workflows for Go microservices, defining strict rules for error wrapping, concurrency safety (goroutines, sync.Pool), and Clean/Hexagonal Architecture structures.","change.133.i1.highlight":"Comprehensive Golang rules integrated","change.133.i2.badge":"RUST PACK","change.133.i2.title":"Idiomatic Cargo Rust Preset","change.133.i2.desc":"Added precise Rust rules targeting memory safety guidelines, lifetimes, borrow checker boundaries, dyn Traits dependency management, and async Tokio runtime configurations.","change.133.i2.highlight":"Memory-safe Rust preset ready","change.133.i3.badge":"GLOBAL PILLARS","change.133.i3.title":"Universal Four Pillars","change.133.i3.desc":"Deploys a root-level governance ruleset (GLOBAL_RULES.md) enforcing 4 strict policies (database migration safety, security audits, observability, and container constraints) across all stacks.","change.133.i3.highlight":"Universal safety guardrails embedded","change.132.summary":"Major release adding Next.js (App Router), NestJS, Express.js, and .NET (C#) stack templates and rulesets, fully standardized in Vietnamese.","change.132.i1.badge":"STACK PRESETS","change.132.i1.title":"Next.js, NestJS, Express, and .NET Support","change.132.i1.desc":"Added 4 new stack configurations including detailed rulesets and skills workflows for modern frontend/backend frameworks.","change.132.i1.highlight":"4 new frameworks supported out of the box","change.131.summary":"Hotfix and debug release to resolve CI/CD package deployment pipelines and cache constraints.","change.131.i1.badge":"HOTFIX","change.131.i1.title":"CI/CD Tag Cache & NPM Publish","change.131.i1.desc":"Resolved tag cache redeployment blocks on GitHub Actions, aligned local package.json scripts with registry publish settings.","change.131.i1.highlight":"Fixed pipeline deployment blocks","change.130.summary":"Released the AI Workflow Operating System (AWOS) engine featuring a topological DAG execution loop, AST-based syntax analysis, dynamic plugins registry, external templates config, and file exports.","change.130.i1.badge":"AI ENGINE (AWOS)","change.130.i1.title":"Acyclic Directed Graph Execution (DAG)","change.130.i1.desc":"Run complex agent pipelines defined in JSON containing tasks, branch conditions, human approval checkpoints, and rollback strategies.","change.130.i1.highlight":"Topological execution runtime","change.130.i2.badge":"AST INTEGRATION","change.130.i2.title":"Syntax-Aware AST Parsers","change.130.i2.desc":"Replaced line regexes with official Typescript compiler AST, Python ast shell, and multi-line comments stripping Java scanner for 100% accurate dependencies parsing.","change.130.i2.highlight":"Brittle regex replaced by AST","change.130.i3.badge":"PLUGINS SDK","change.130.i3.title":"Dynamic Plugin Registry SDK","change.130.i3.desc":"Introduced dynamic package imports, enabling third-party developers to register custom workspace analyzers, architectural profile rule linters, and role hooks.","change.130.i3.highlight":"Extensible system design","change.130.i4.badge":"CUSTOM TEMPLATES","change.130.i4.title":"External custom directory loading","change.130.i4.desc":"Added awk.config.json support allowing users to designate custom stack templates that take priority over CLI built-in fallbacks.","change.130.i4.highlight":"Highly custom projects support","change.130.i5.badge":"EXPORTS","change.130.i5.title":"Headless File Output Exports","change.130.i5.desc":"Expanded export subcommand with --output <file> option, allowing consolidated guideline generations to save directly to disk on non-UI servers (SSH/CI).","change.130.i5.highlight":"Headless CI environment ready","change.121.summary":"Introduced consolidated root-only IDE rules, automated gitignore updates, and dynamic agent profile mapping.","change.121.i1.badge":"NEW FEATURE","change.121.i1.title":"Consolidated Root-Only IDE Rules","change.121.i1.desc":"Generates .cursorrules, .copilot-instructions.md, and .clinerules only at the root level, avoiding cluttering monorepo subdirectories.","change.121.i1.highlight":"Zero-clutter monorepos","change.121.i2.badge":"AUTOMATION","change.121.i2.title":"Automatic gitignore Updates","change.121.i2.desc":"Automatically appends local IDE configuration files to the root .gitignore to prevent committing editor settings to source control.","change.121.i2.highlight":"Keeps Git history clean","change.121.i3.badge":"ROUTING","change.121.i3.title":"Dynamic Agent-Specific Rules","change.121.i3.desc":"Maps rules to GEMINI.md (for Antigravity) or AGENTS.md (for Codex) depending on the selected --agent profile, matching the target engine.","change.121.i3.highlight":"Supports Antigravity & Codex","change.120.summary":"Focuses on monorepo automation, custom workspace setups, and enhanced stack detection logic.","change.120.i1.badge":"NEW FEATURE","change.120.i1.title":"Recursive Monorepo Scan (Depth 3)","change.120.i1.desc":"Recursively parses nested subfolders up to 3 levels deep. Translates structures like apps/sub/web into module-relative paths while skipping build directories (node_modules, target, dist, etc.).","change.120.i1.highlight":"Supports deep multi-service directories","change.120.i2.badge":"NEW COMMAND","change.120.i2.title":"Manual Pack Installation (add command)","change.120.i2.desc":"Introduced the npx agent-workflow-kit-cli add <stack> command to manually inject specific stack rules, guidelines, and skills in any directory path.","change.120.i2.highlight":"Supports --path, --agent, and --dry-run","change.120.i3.badge":"SUPPORT","change.120.i3.title":"Official Codex Target Support","change.120.i3.desc":"Optimized the export target for Codex, removing unsupported warnings and compiling rule structures specifically for Codex parsing systems.","change.120.i3.highlight":"Zero-warning prompt consolidation","change.120.i4.badge":"DETECTOR","change.120.i4.title":"Python Pipfile Stack Detection","change.120.i4.desc":"Inspects Pipfile manifests to automatically identify FastAPI and Python AI dependencies, adding support for Pipenv project layouts.","change.120.i4.highlight":"Supports Pipenv workspaces","change.110.summary":"Introduced core token economics optimizations, reducing agent prompt volumes by over 50%.","change.110.i1.badge":"OPTIMIZATION","change.110.i1.title":"Selective Configuration Scan","change.110.i1.desc":"Instructs AI agents to dynamically load only stack-specific rule files (like react-style.md) matching active directories, avoiding redundant context.","change.110.i1.highlight":"Up to 70% input token savings","change.110.i2.badge":"REDUCTION","change.110.i2.title":"Lightweight Rules Templates","change.110.i2.desc":"Compressed standard Java Spring Boot, React TS, FastAPI, and Python AI rule templates by rewriting verbose sentences into concise checklists.","change.110.i2.highlight":"50% - 60% rules weight reduction","change.110.i3.badge":"RELIABILITY","change.110.i3.title":"Vitest Hardening & E2E Validation","change.110.i3.desc":"Expanded test coverage for the core compiler, block merging engines, and directory detectors with E2E temp-directory tests.","change.110.i3.highlight":"22/22 test suites fully verified","change.100.summary":"The initial MVP release of the Agent Workflow Kit, establishing standard repo-first AI rules.","change.100.i1.badge":"CORE","change.100.i1.title":"Automatic Stack Auto-Detection","change.100.i1.desc":"Automatically detects Spring Boot, React, and FastAPI backends from package.json, pom.xml, and pyproject.toml manifests.","change.100.i1.highlight":"Zero configuration required","change.100.i2.badge":"DIRECTIVES","change.100.i2.title":"Unified Agent Emitters","change.100.i2.desc":"Generates AGENTS.md (for Codex and Antigravity) alongside .agents/ rules and skills folders to maintain context across sessions.","change.100.i2.highlight":"Ingested automatically by agents","change.100.i3.badge":"DIAGNOSTICS","change.100.i3.title":"Validation Hook & doctor Command","change.100.i3.desc":"Integrates git pre-commit hook checks to validate code format and syntax checks using the doctor command before commits.","change.100.i3.highlight":"Prevents pipeline failures","install.tag":"GET STARTED WITH CONSOLE","install.title":"Initialize workspace","install.titleHighlight":"with one simple execution","install.subtitle":"No installation or global dependencies needed. Launch the init command directly using your favorite package runner. agent-workflow-kit-cli evaluates your repository layout on-fly, resolving optimal presets.","install.s1.title":"Zero Global Footprint","install.s1.desc":"Runs transiently inside your project folder. No global config pollution.","install.s2.title":"Automatic Updates","install.s2.desc":"npx dynamically runs the latest stable package version automatically.","install.activeScript":"ACTIVE SCRIPT","install.stars":"Stars on Github","install.downloads":"NPM Downloads","install.githubStars":"GitHub Stars","footer.tag":"GET STARTED INSTANTLY","footer.title":"Make your repository","footer.titleHighlight":"understandable for AI agents","footer.subtitle":"Start with one command. Generate consistent workflows. Let Codex and Antigravity follow your exact project rules. No manual context copy-pasting.","footer.btnView":"View API Reference","footer.desc":"agent-workflow-kit","footer.home":"Home","footer.features":"Features","footer.howItWorks":"How it works","footer.repoStructure":"Repository Structure","footer.commands":"Commands","footer.github":"Github","footer.copyright":"agent-workflow-kit. Open-source under MIT.","footer.optimized":"Optimized for Antigravity & Codex developers","local.title":"Agent Workspace Setup Console","local.subtitle":"Configure and generate rules, capabilities, and workflows on disk","local.detectedTitle":"Detected Project Modules","local.stackSelect":"Select Stack Configuration","local.agentSelect":"Target AI Agent Profile","local.dryRunLabel":"Dry Run (Preview changes)","local.dryRunDesc":"Output files to console without modifying repository files","local.gitignoreLabel":"Auto-update Gitignore","local.gitignoreDesc":"Add agent config folders to gitignore to keep clean git history","local.generateBtn":"Generate Configuration","local.terminalTitle":"Execution Logs Terminal","local.successTitle":"Workspace configured successfully!","local.successDesc":"Your codebase is now optimized for AI agent collaboration.","local.stepsTitle":"Next Steps:","local.steps1":"Review generated rules inside .agents/rules/ and GEMINI.md/AGENTS.md","local.steps2":"Setup git pre-commit hooks to validate code constraints automatically","local.steps3":"Load custom skills or export instructions for cloud LLMs","local.backToHome":"Back to Home","local.cwdLabel":"Current Workspace Directory","local.detectFail":"Failed to auto-detect workspace stack."},vi:{"nav.title":"agent-workflow-kit","nav.subtitle":"QUY TRÌNH PHÁT TRIỂN AI","nav.features":"Tính năng","nav.howItWorks":"Cách hoạt động","nav.repoStructure":"Cấu trúc thư mục","nav.commands":"Mã lệnh CLI","nav.stackPacks":"Bộ cấu hình mẫu","nav.github":"GitHub","nav.getStarted":"Bắt đầu ngay","hero.updateTag":"Bản cập nhật v1.3.5 đã sẵn sàng","hero.title":"Hệ điều hành","hero.titleHighlight":"Quy trình AI thực thi","hero.titleEnd":"cho mã nguồn.","hero.subtitle":"Chuyển đổi tạo luật CLI tĩnh sang môi trường hệ điều hành thực thi. Thiết lập đồ thị tác vụ DAG, kiểm tra ranh giới thông qua trình biên dịch AST, nạp plugin động và áp dụng các biện pháp bảo vệ quy trình làm việc.","hero.tabScan":"1. Quét & Thiết lập","hero.tabWorkflow":"2. Chạy đồ thị DAG","hero.btnCLI":"Bảng điều khiển CLI","hero.miniAst":"Phân tích cú pháp AST","hero.miniPlugin":"Plugin SDK linh hoạt","hero.miniTopo":"Thực thi dạng đồ thị","hero.termHeader":"terminal: bash","hero.termSetup":"Chạy giả lập thiết lập","hero.termWorkflow":"Chạy giả lập quy trình","hero.termRunning":"Đang chạy","hero.termHint":'// Nhấp vào "Chạy giả lập {tab}" phía trên để xem vết chạy console.',"hero.lifecycleInit":"Vòng đời khởi tạo","hero.lifecycleAwos":"Tiến trình thực thi AWOS DAG","hero.node.detect":"1. Quét dự án","hero.node.presets":"2. Nạp mẫu","hero.node.emitters":"3. Tạo tệp tin","hero.node.verify":"4. Xác minh","hero.node.ready":"5. Sẵn sàng","hero.node.parse":"1. Đọc DAG","hero.node.build":"2. Biên dịch","hero.node.ast":"3. Đọc AST","hero.node.approval":"4. Phê duyệt","hero.node.finished":"5. Hoàn thành","hero.chooseMethod":"Chọn phương thức cấu hình","hero.configMethodUI":"Giao diện UI (Khuyên dùng)","hero.configMethodUIDesc":"Cấu hình stack, tác nhân và quy tắc trực quan qua trình duyệt.","hero.configMethodCLI":"Dòng lệnh CLI","hero.configMethodCLIDesc":"Quét bố cục dự án và thiết lập quy tắc trực tiếp trên console.","problem.tag":"THỬ THÁCH","problem.title":"Các tác nhân AI rất mạnh mẽ, nhưng","problem.titleHighlight":"mã nguồn lại lộn xộn","problem.subtitle":"Nếu không có các cấu hình lưu trữ lâu dài trên đĩa, các mô hình AI sẽ hoạt động dựa trên các giả định mơ hồ thay vì cấu hình thực tế trong kho mã nguồn của bạn.","problem.p1.title":"Tác nhân AI quên quy chuẩn dự án","problem.p1.desc":"Khi chuyển đổi ngữ cảnh lớn, các trợ lý lập trình AI thường xuyên bị lệch hướng hoặc quên các quy chuẩn định dạng, cấu trúc tệp và quy tắc bảo mật.","problem.p1.tag":"Cắt tỉa ngữ cảnh","problem.p2.title":"Quy tắc bị phân tán trong các câu lệnh","problem.p2.desc":"Thiếu nguồn lưu trữ chính thức trên đĩa khiến các lập trình viên phải sao chép thủ công các câu lệnh vào phòng chat hoặc cài đặt hướng dẫn hệ thống.","problem.p2.tag":"Ngữ cảnh phân tán","problem.p3.title":"Quy tắc không khớp với công nghệ sử dụng","problem.p3.desc":"Một dự án Python FastAPI yêu cầu các kỹ năng và lệnh kiểm tra hoàn toàn khác so với một SPA React; các câu lệnh chung không thể tối ưu hóa theo framework.","problem.p3.tag":"Lệch hướng Framework","problem.p4.title":"Thiếu tiêu chuẩn dự án đồng nhất","problem.p4.desc":"Khi 15 lập trình viên trong một nhóm sử dụng các câu lệnh khác nhau trên Codex hay Antigravity sẽ dẫn đến định dạng mã nguồn và cấu trúc thư mục phân rã.","problem.p4.tag":"Xung đột quy trình","problem.p5.title":"Khởi tạo môi trường thủ công tốn thời gian","problem.p5.desc":"Việc tự tay viết các tệp markdown kỹ năng, quy tắc .agents và cấu hình kiểm thử CI cho từng dịch vụ nhỏ làm tiêu hao hàng giờ tối ưu hóa quy trình.","problem.p5.tag":"Cản trở lập trình viên","problem.cta.title":"Sẵn sàng tự động hóa?","problem.cta.desc":"Chuyển đổi các quy chuẩn markdown thô thành các chỉ thị máy có thể đọc được.","problem.cta.btn":"Tìm hiểu quy trình","problem.impact":"TÁC ĐỘNG: GÂY NHIỄU","solution.tag":"GIẢI PHÁP","solution.title":"Trình tạo quy trình hướng mã nguồn","solution.titleHighlight":"cho việc phát triển cùng AI","solution.subtitle":"agent-workflow-kit-cli biến kho mã nguồn của bạn thành một không gian làm việc thân thiện với AI bằng cách tạo ra các chỉ dẫn lâu dài, kỹ năng tái sử dụng và hệ thống kiểm tra.","solution.s1.title":"AGENTS.md","solution.s1.purpose":"Hướng dẫn không gian làm việc chung","solution.s1.desc":"Tạo tệp chỉ mục ở cấp gốc chi tiết hóa công nghệ dự án, bản đồ kiến trúc, quy tắc thư mục nội bộ và hướng dẫn kiểm tra giúp tác nhân AI đọc được ngay lập tức.","solution.s2.title":".agents/skills","solution.s2.purpose":"Kỹ năng tác nhân tái sử dụng","solution.s2.desc":"Tạo các tệp năng lực có cấu trúc (ví dụ: liên kết firebase, sinh mã kiểm thử) cho phép tác nhân AI chạy các bước một cách tuần tự.","solution.s3.title":".agents/rules","solution.s3.purpose":"Ràng buộc mã nguồn chặt chẽ","solution.s3.desc":"Xuất bản các hạn chế cho Antigravity và Codex nhằm ngăn chặn các cấu trúc lỗi, câu truy vấn cơ sở dữ liệu không an toàn hoặc tạo thư mục không hợp lệ.","solution.s4.title":"docs/workflows","solution.s4.purpose":"Quy trình có sự tham gia của con người","solution.s4.desc":"Biên soạn các tài liệu quy trình dạng markdown phác thảo các lệnh thủ công chính xác, đường dẫn thử nghiệm và quy chuẩn đánh giá ngang hàng.","solution.s5.title":"templates/prompts","solution.s5.purpose":"Bản mẫu câu lệnh tái sử dụng","solution.s5.desc":"Cung cấp các mẫu câu lệnh có tham số để tạo tác vụ, báo cáo lỗi và di chuyển cơ sở dữ liệu nhằm thống nhất dữ liệu đầu vào trong nhóm.","solution.s6.title":"Trình kiểm tra sẵn sàng cho CI","solution.s6.purpose":"Tự động kiểm tra tính tuân thủ","solution.s6.desc":"Tích hợp các kịch bản kiểm tra tự động (lệnh doctor) để quét các tệp tìm chỉ thị lỗi thời, sai sót đường dẫn hoặc thiếu tham chiếu kỹ năng trong CI.","solution.emits":"XUẤT BẢN","how.tag":"ĐƯỜNG DẪN QUY TRÌNH","how.title":"Năm bước để đạt được mã nguồn","how.titleHighlight":"tương thích hoàn toàn với AI","how.subtitle":"agent-workflow-kit-cli dẫn dắt không gian làm việc dự án của bạn qua một quy trình phối hợp chặt chẽ, thay thế các giả định ngữ cảnh mong manh bằng bộ chỉ dẫn nghiêm ngặt trên đĩa.","how.step":"BƯỚC","how.s1.title":"Phát hiện công nghệ dự án","how.s1.desc":"Phân tích các tệp đặc tả dự án (package.json, pom.xml, pyproject.toml) để xác định không gian làm việc React + TS, Spring Boot hoặc FastAPI.","how.s2.title":"Áp dụng cấu hình mẫu","how.s2.desc":"Nạp các mẫu quy trình tương ứng với cấu hình chạy mã và năng lực tác nhân AI mục tiêu (Antigravity & Codex).","how.s3.title":"Tạo các tệp cấu hình AI","how.s3.desc":"Tạo các tài liệu Markdown vật lý bao gồm tệp tổng quan AGENTS.md và các kỹ năng quy trình tái sử dụng (SKILL.md).","how.s4.title":"Tối ưu hóa quét bộ lọc","how.s4.desc":"Thiết lập AGENTS.md để hướng dẫn tác nhân chỉ nạp động các quy tắc cụ thể cho từng công nghệ đang xử lý, tiết kiệm đến 70% token đầu vào.","how.s5.title":"Chạy chẩn đoán & kiểm tra doctor","how.s5.desc":"Xác minh cấu hình tác nhân đang hoạt động, kiểm tra tính toàn vẹn của quy tắc và chạy các lệnh kiểm thử được định nghĩa trong gói công nghệ.","how.active":"CHI TIẾT QUY TRÌNH ĐANG HOẠT ĐỘNG","how.logs":"NHẬT KÝ THỰC THI TERMINAL","how.detail1":"Gộp biến cấu hình YAML tuần tự","how.detail2":"Tối ưu hóa chi phí token thấp khi thực thi","repo.tag":"BẢN ĐỒ BIÊN DỊCH MÃ NGUỒN","repo.title":"Giải phẫu cấu trúc dự án","repo.titleHighlight":"tối ưu hóa cho việc đọc mã nguồn","repo.subtitle":"Nhấp vào các thư mục trong cây thư mục bên dưới để phân tích vai trò của tệp, tác vụ biên dịch và vị trí tệp đầu ra.","repo.hint":"// Cây thư mục tương tác: Nhấp vào thư mục được làm nổi bật để xem chi tiết.","repo.breadcrumb":"ĐƯỜNG DẪN CHỈ MỤC","repo.titleCaps":"NĂNG LỰC CỦA MÔ-ĐUN","repo.cap1":"Thực thi bản chụp mã nguồn đã kiểm thử đầy đủ","repo.cap2":"Hợp nhất định dạng tùy biến YAML & JSON","repo.syntax":"CÚ PHÁP THỰC THI BIÊN DỊCH","repo.node.src.desc":"Điểm khởi chạy chính của mã nguồn dự án, quản lý các lệnh thực thi, tiện ích và các công cụ biên dịch.","repo.node.src.role":"Mã nguồn ứng dụng cốt lõi","repo.node.cli.desc":"Lớp giao diện dòng lệnh chứa các định nghĩa lệnh (init, run, resume, doctor, sync, profile, export).","repo.node.cli.role":"Giao diện CLI","repo.node.core.desc":"Động cơ hợp nhất, biên dịch mẫu thiết kế, trình lọc quy tắc và các thuật toán lõi.","repo.node.core.role":"Bộ xử lý lõi","repo.node.awos.desc":"Động cơ Hệ điều hành Quy trình làm việc AI (AWOS). Quản lý chạy đồ thị DAG, môi trường giả lập đầu vào trong chế độ dry-run và các chốt phê duyệt thủ công.","repo.node.awos.role":"Trình thực thi quy trình AWOS","repo.node.detectors.desc":"Trình quét cú pháp AST (TypeScript Compiler, Python AST, Java Comment-Stripper) và phát hiện các gói thư viện công nghệ trong dự án.","repo.node.detectors.role":"Trình phân tích AST & Cảm biến","repo.node.packs.desc":"Áp dụng các chính sách giới hạn ranh giới thư mục, dòng mã tối đa, các cấu trúc kiến trúc (Clean vs Layered) và chính sách phụ thuộc.","repo.node.packs.role":"Quy chuẩn kiến trúc dự án","repo.node.emitters.desc":"Trình tạo tệp markdown vật lý. Tuần tự hóa các chỉ dẫn và ghi vào các neo quy tắc hệ thống (.cursorrules, .copilot-instructions.md).","repo.node.emitters.role":"Ghi tệp Markdown","repo.node.templates.desc":"Thư mục chứa các mẫu thiết kế cấu hình cơ bản cho Spring Boot, React-TS, FastAPI và các kỹ năng AI chung.","repo.node.templates.role":"Mẫu thiết kế cơ sở","repo.node.agents.desc":"Thư mục đầu ra chứa các quy tắc lâu dài trên đĩa và các kỹ năng cấu hình tái sử dụng cho các tác nhân AI.","repo.node.agents.role":"Quy tắc AI không gian làm việc","repo.node.skills.desc":"Các tệp kỹ năng hành động cụ thể trong dự án giúp tiết kiệm token ngữ cảnh khi tác nhân AI làm việc.","repo.node.skills.role":"Kỹ năng AI chi tiết","cmd.tag":"CLI INTERFACE API","cmd.title":"Giao diện tiện ích dòng lệnh","cmd.titleHighlight":"tối ưu hóa cho tốc độ xử lý","cmd.subtitle":"Xem các lệnh terminal có sẵn, tùy chỉnh các cờ tùy chọn và kích hoạt các điều chỉnh kho mã nguồn tự động ngay lập tức.","cmd.header":"Các lệnh hiện có","cmd.usecase":"TRƯỜNG HỢP SỬ DỤNG KHUYẾN NGHỊ","cmd.genTitle":"Trình tạo lệnh tương tác","cmd.ready":"SẴN SÀNG","cmd.copy":"Sao chép","cmd.copied":"Đã chép!","cmd.flags":"Tùy chỉnh cờ thực thi","cmd.default":"mặc định","cmd.ui.title":"Bảng điều khiển cục bộ (ui)","cmd.ui.desc":"Khởi chạy bảng điều khiển cấu hình trực quan trên trình duyệt Web. Cung cấp giao diện chọn stack công nghệ, AI agent và khởi tạo quy trình trực quan.","cmd.ui.usecase":"Chạy lệnh này để thiết lập và khởi tạo các quy tắc dự án trực quan trên trình duyệt.","cmd.init.title":"Khởi tạo dự án (init)","cmd.init.desc":"Khởi tạo các mẫu quy trình công việc cơ bản, cấu hình tác nhân mục tiêu và danh mục hướng dẫn lâu dài trong thư mục gốc.","cmd.init.usecase":"Chạy một lần khi bắt đầu tích hợp tác nhân AI như Antigravity để thiết lập quy chuẩn dự án.","cmd.add.title":"Thêm gói công nghệ (add)","cmd.add.desc":"Bơm thủ công các quy tắc, hướng dẫn và kỹ năng của một gói công nghệ cụ thể vào một thư mục con của monorepo.","cmd.add.usecase":"Cấu hình trực tiếp cho thư mục con mà không cần quét toàn bộ monorepo.","cmd.sync.title":"Đồng bộ cấu hình (sync)","cmd.sync.desc":"Tái tạo các bảng quy tắc tùy biến, tiêu đề chỉ mục và hướng dẫn trợ giúp bằng cách đồng bộ lại từ tệp cấu hình chính.","cmd.sync.usecase":"Cập nhật các quy tắc sau khi chỉnh sửa các mẫu thiết kế mà không làm mất các sửa đổi thủ công trước đó.","cmd.doctor.title":"Kiểm tra dự án (doctor)","cmd.doctor.desc":"Kiểm tra dự án để ngăn chặn đường dẫn bị lỗi, cấu hình lỗi thời và chạy kiểm tra biên dịch cơ bản.","cmd.doctor.usecase":"Kiểm tra nhanh các tham số hoặc cài đặt pre-commit git hooks để bắt buộc thực thi quy tắc trước khi push.","cmd.export.title":"Xuất bản quy trình (export)","cmd.export.desc":"Phân tích và gộp các kỹ năng, quy trình thành một bản hướng dẫn duy nhất tương thích với các bảng điều khiển AI.","cmd.export.usecase":"Chuẩn bị các câu lệnh mẫu để đưa vào hệ thống đám mây hoặc giao diện điều khiển của nhà phát triển LLM.","cmd.profile.title":"Xác minh quy chuẩn kiến trúc","cmd.profile.desc":"Kiểm tra ranh giới thư mục, độ dài dòng tối đa và các phụ thuộc bị cấm theo hồ sơ kiến trúc đã chọn.","cmd.profile.usecase":"Sử dụng để thực thi các ràng buộc kiến trúc phân lớp hoặc quy tắc gói trong Kiến trúc sạch (Clean Architecture).","cmd.run.title":"Thực thi quy trình DAG (run)","cmd.run.desc":"Chạy một quy trình đồ thị (DAG) được cấu hình trong tệp JSON với các bước rẽ nhánh và kiểm tra.","cmd.run.usecase":"Bắt buộc thực thi quy trình nhiều bước như sinh mã, chạy lint, kiểm thử và phê duyệt.","cmd.resume.title":"Khôi phục quy trình (resume)","cmd.resume.desc":"Khôi phục và tiếp tục thực thi quy trình AWOS đang tạm dừng chờ phê duyệt thủ công.","cmd.resume.usecase":"Tiếp tục luồng thực thi sau khi đã kiểm tra thủ công các bước trung gian.","cmd.workflow.title":"Quản lý gói quy trình","cmd.workflow.desc":"Quản lý kho quy trình AWOS: liệt kê quy trình, hiển thị chi tiết các bước, xác thực cấu trúc biểu đồ.","cmd.workflow.usecase":"Khám phá các mẫu quy trình đã đăng ký hoặc chuẩn đoán vòng lặp vô hạn.","cmd.role.title":"Quản lý vai trò tác nhân","cmd.role.desc":"Phát hiện và liệt kê các vai trò lập trình hiện có, in thông tin chi tiết và xác thực tính hợp lệ của cấu trúc vai trò.","cmd.role.usecase":"Kiểm tra các chỉ dẫn và yêu cầu đầu vào cho các tác nhân phụ cụ thể.","cmd.adr.title":"Quyết định kiến trúc (ADR)","cmd.adr.desc":"Quản lý các tài liệu quyết định kiến trúc (ADR) trong thư mục docs/adr/. Hỗ trợ tạo mới, hiển thị và tìm kiếm quyết định.","cmd.adr.usecase":"Đạt được sự thống nhất về kiến trúc và xây dựng tài liệu lịch sử các lựa chọn kỹ thuật.","stack.tag":"BỘ CẤU HÌNH CÓ SẴN","stack.title":"Các gói công nghệ đóng gói sẵn","stack.titleHighlight":"thiết kế cho sự an toàn thực thi","stack.subtitle":"Mỗi gói bao gồm các lệnh kiểm thử chuyên biệt, yêu cầu không gian làm việc lâu dài và các hướng dẫn tùy chỉnh tối ưu cho cấu trúc thư viện điển hình.","stack.docTitle":"TÀI LIỆU ĐƯỢC TẠO RA","stack.cmdTitle":"lệnh khởi tạo","stack.copy":"Sao chép","stack.progress":"ĐANG HOÀN THIỆN","stack.soon.title":"Gói cấu hình Python AI","stack.soon.desc":"Bổ sung các chỉ dẫn tùy biến và bộ kiểm thử cho tích hợp PyTorch, LangChain và Jupyter.","stack.fit.react":"Dành cho Vite, React Router, kiến trúc Next-style component và các ứng dụng đơn trang TypeScript chặt chẽ.","stack.fit.nextjs":"Dành cho Next.js App Router, phân định ranh giới RSC/RCC, Server Actions và tối ưu hóa SEO Metadata.","stack.fit.nestjs":"Dành cho kiến trúc mô-đun NestJS, Constructor Dependency Injection, kiểm thực Class Validator và Exceptions Filters.","stack.fit.express":"Dành cho Express kiến trúc 3 lớp, bộ bẫy lỗi bất đồng bộ asyncHandler và xác thực dữ liệu đầu vào bằng Zod.","stack.fit.spring":"Dành cho Spring MVC, dự án Gradle, Maven monolith và các kiến trúc Java lớn của doanh nghiệp.","stack.fit.fastapi":"Dành cho định tuyến Pydantic, các lớp dịch vụ định kiểu rõ ràng, kho lưu trữ và quy trình API không đồng bộ.","stack.fit.dotnet":"Dành cho ASP.NET Core Web API, kiến trúc sạch Clean/Onion, Dependency Injection và FluentValidation.","stack.fit.golang":"Dành cho kiến trúc sạch/lục giác Go, tối ưu hóa bộ nhớ Escape Analysis, giảm tải GC bằng sync.Pool và lan truyền context.","stack.fit.rust":"Dành cho quy chuẩn viết mã Idiomatic Rust, monorepo Cargo Workspace, tiêm phụ thuộc dyn Trait và async Tokio runtime.","stack.fit.diagram":"Thiết kế 10 loại sơ đồ UML và hệ thống dạng đen trắng tối giản (Peter Chen, ERD, Use Case, Sequence, Class, Context, Package, Workflow, State, System Overview) bằng mã XML Draw.io.","stack.fit.devops":"Mẫu Dockerfile đa tầng chuẩn production và luồng tự động hóa CI/CD GitHub Actions cho Node, Python, Go, Rust, Java, và .NET.","features.tag":"CÁC TIỆN ÍCH CỐT LÕI TOÀN DIỆN","features.title":"Các công cụ chuyên sâu","features.titleHighlight":"thiết kế cho kho mã nguồn phức tạp","features.subtitle":"Từ trình quét thư mục gói thông minh đến kiểm thử tự động, mọi chi tiết đều được tinh chỉnh để hỗ trợ các dự án nhiều lập trình viên một cách liền mạch.","features.status":"TRẠNG THÁI GÓI","features.stable":"[ ỔN ĐỊNH ]","features.f1.title":"Tự động phát hiện công nghệ","features.f1.desc":"Quét các tệp package.json, pom.xml, pyproject.toml và requirements.txt để tự động nhận diện React TS, Spring Boot và FastAPI.","features.f2.title":"Bộ xuất bản cho từng tác nhân","features.f2.desc":"Tạo ra các tệp chỉ dẫn AGENTS.md, .agents/rules và .agents/skills tối ưu riêng biệt cho Codex và Antigravity.","features.f3.title":"Giả lập xuất bản (Dry-Run)","features.f3.desc":"Xem trước các tệp tin AGENTS, rules và skills từ terminal trước khi ghi đè thực tế vào ổ đĩa dự án.","features.f4.title":"Hỗ trợ Monorepo mạnh mẽ","features.f4.desc":"Phát hiện các mô-đun lồng nhau cấp độ 1 để viết các hướng dẫn riêng cho từng thư mục dự án đa ngôn ngữ.","features.f5.title":"Bảo vệ các khối mã tự viết","features.f5.desc":"Sử dụng các thẻ băm đặc biệt để lập trình viên tự viết thêm luật mà không lo bị ghi đè khi chạy cập nhật lệnh.","features.f6.title":"Kiểm thử tin cậy với Vitest","features.f6.desc":"Kiểm thử đầy đủ các bộ phân tích thư mục, bộ đồng bộ khối mã và trình đọc tiêu đề kỹ năng.","features.f7.title":"Tự phân tách quy tắc thông minh","features.f7.desc":"Phân chia các tệp quy định quá dài thành các phần nhỏ có tham chiếu chéo để dễ dàng nạp và tiết kiệm token.","features.f8.title":"Bộ phân phối tinh gọn","features.f8.desc":"Xác minh các mẫu tệp đi kèm với gói phát hành CLI giúp sử dụng dòng lệnh npx liền mạch không độ trễ.","changelog.tag":"LỊCH SỬ PHÁT HÀNH","changelog.title":"Lịch sử","changelog.titleHighlight":"Cập nhật","changelog.subtitle":"Xem các bản cập nhật và nhật ký tính năng khi Bộ công cụ Quy trình AI phát triển để mang lại hiệu quả token tốt hơn và sự liên kết không gian làm việc tối ưu hơn.","changelog.active":"HOẠT ĐỘNG","changelog.select":"CHỌN","changelog.prev":"TRƯỚC","changelog.next":"SAU","changelog.latest":"TẢI BẢN MỚI NHẤT","changelog.titleSuffix":"Cập nhật","change.135.summary":"Bản phát hành lớn bổ sung Bảng điều khiển cục bộ (Local Dashboard) sinh luật trực quan. Lập trình viên chạy lệnh 'npx agent-workflow-kit ui' để mở giao diện Web cấu hình các gói quy tắc và tự động ghi tệp tin lên đĩa.","change.135.i1.badge":"BẢNG ĐIỀU KHIỂN CỤC BỘ","change.135.i1.title":"Giao diện Web sinh luật trực quan","change.135.i1.desc":"Mở rộng giao diện dòng lệnh bằng một bảng điều khiển Web cấu hình dạng bước (wizard) hỗ trợ xem trước bản đồ tệp tin, tích hợp logo công nghệ và terminal logs giả lập.","change.135.i1.highlight":"Trải nghiệm cấu hình trực quan mượt mà","change.134.summary":"Bản phát hành nhỏ bổ sung các gói mẫu vẽ sơ đồ (Diagram) và DevOps tùy chọn. Hỗ trợ lập trình viên sinh các sơ đồ hệ thống đen trắng trực quan và bộ thiết lập Docker/GitHub Actions đa tầng tối ưu hóa trực tiếp từ CLI (nền tảng d71a7bd369e8de0cfe8ac0eee265adbdbb9a2545).","change.134.i1.badge":"VẼ SƠ ĐỒ","change.134.i1.title":"Sinh sơ đồ đen trắng Draw.io trực quan","change.134.i1.desc":"Cung cấp mẫu kỹ năng chi tiết giúp Agent vẽ 10 loại sơ đồ bằng mã XML Draw.io chuẩn chỉ (Class, Sequence, ERD, Peter Chen, Use Case, Workflow swimlanes, State, System Overview, v.v.).","change.134.i1.highlight":"Bổ sung mẫu kỹ năng vẽ sơ đồ hệ thống","change.134.i2.badge":"CẤU HÌNH DEVOPS","change.134.i2.title":"Mẫu thiết lập DevOps đa tầng bảo mật","change.134.i2.desc":"Mẫu Dockerfile chạy bằng non-root user và cấu hình tự động hóa GitHub Actions CI/CD tối ưu hóa cho Node, Python, Go, Rust, Java, và .NET.","change.134.i2.highlight":"Tích hợp mẫu Docker & GitHub Actions","change.133.summary":"Bản phát hành lớn tích hợp cấu hình mẫu và quy tắc cho hệ sinh thái Golang và Rust, đi kèm bộ khung quy chuẩn chung 4 Trụ Cột (Global Rules) cho toàn bộ không gian làm việc.","change.133.i1.badge":"MẪU GOLANG","change.133.i1.title":"Cấu hình mẫu Go hoàn chỉnh","change.133.i1.desc":"Cung cấp hướng dẫn phát triển Go chi tiết, tập trung vào đóng gói lỗi (error wrapping), kiểm soát bất đồng bộ an toàn (goroutines, sync.Pool) và cấu trúc kiến trúc sạch Clean Architecture.","change.133.i1.highlight":"Tích hợp mẫu Go bền vững","change.133.i2.badge":"MẪU RUST","change.133.i2.title":"Cấu hình mẫu Rust Cargo chuẩn mực","change.133.i2.desc":"Bao gồm các quy chuẩn Rust nghiêm ngặt về an toàn lifetime/borrow checker, ánh xạ phụ thuộc với dyn Traits và cấu hình runtime bất đồng bộ Tokio.","change.133.i2.highlight":"Sẵn sàng preset Rust an toàn bộ nhớ","change.133.i3.badge":"TRỤ CỘT TOÀN CỤC","change.133.i3.title":"Quy chuẩn chung 4 Trụ Cột","change.133.i3.desc":"Áp dụng tiêu chuẩn quản trị ở cấp gốc nhằm thực thi 4 chính sách nghiêm ngặt (an toàn di cư DB, bảo mật, khả năng quan sát và giới hạn container hóa) cho mọi dự án con.","change.133.i3.highlight":"Rào chắn an toàn thực thi phổ quát","change.132.summary":"Bản phát hành lớn bổ sung cấu hình mẫu và quy tắc cho Next.js (App Router), NestJS, Express.js và .NET (C#), chuẩn hóa hoàn toàn bằng tiếng Việt.","change.132.i1.badge":"GÓI CÔNG NGHỆ","change.132.i1.title":"Hỗ trợ Next.js, NestJS, Express và .NET","change.132.i1.desc":"Bổ sung 4 gói công nghệ mới bao gồm các quy tắc phát triển nghiêm ngặt và quy trình kỹ năng mẫu.","change.132.i1.highlight":"Hỗ trợ thêm 4 framework phổ biến","change.131.summary":"Bản sửa lỗi và thử nghiệm để giải quyết các đường dẫn phát hành gói CI/CD và giới hạn bộ nhớ đệm.","change.131.i1.badge":"SỬA LỖI NHANH","change.131.i1.title":"Đồng bộ bộ đệm Tag CI/CD & NPM Publish","change.131.i1.desc":"Khắc phục lỗi lưu cache tag trên GitHub Actions, cấu hình tệp tin package.json khớp với cài đặt của registry.","change.131.i1.highlight":"Sửa lỗi tắc nghẽn luồng triển khai pipeline","change.130.summary":"Phát hành động cơ Hệ điều hành Quy trình làm việc AI (AWOS) hỗ trợ vòng lặp thực thi đồ thị DAG tuần tự, phân tích cú pháp mã nguồn dựa trên AST, hệ thống plugin động, nạp cấu hình mẫu bên ngoài và xuất bản tệp tin.","change.130.i1.badge":"ĐỘNG CƠ AI (AWOS)","change.130.i1.title":"Thực thi đồ thị quy trình (DAG)","change.130.i1.desc":"Chạy các quy trình phức tạp của tác nhân được định nghĩa trong JSON chứa tác vụ, điều kiện rẽ nhánh, chốt phê duyệt từ con người và chiến lược khôi phục.","change.130.i1.highlight":"Thực thi quy trình dạng đồ thị tuần tự","change.130.i2.badge":"TÍCH HỢP AST","change.130.i2.title":"Trình quét cú pháp dựa trên AST","change.130.i2.desc":"Thay thế biểu thức chính quy (regex) bằng trình biên dịch TypeScript chính thức, thư viện Python AST và bộ quét mã Java loại bỏ chú thích để phân tích chính xác 100%.","change.130.i2.highlight":"Thay thế regex lỏng lẻo bằng AST chính xác","change.130.i3.badge":"PLUGINS SDK","change.130.i3.title":"Bộ phát triển Plugin SDK động","change.130.i3.desc":"Cho phép các nhà phát triển thứ ba đăng ký các trình phân tích không gian làm việc tự chọn, bộ quét chất lượng kiến trúc và các chốt xử lý tác nhân.","change.130.i3.highlight":"Kiến trúc hệ thống mở rộng linh hoạt","change.130.i4.badge":"MẪU THIẾT KẾ RIÊNG","change.130.i4.title":"Nạp cấu hình mẫu từ thư mục ngoài","change.130.i4.desc":"Hỗ trợ tệp awk.config.json cho phép người dùng chỉ định các mẫu công nghệ tự thiết kế được ưu tiên hơn mẫu mặc định của CLI.","change.130.i4.highlight":"Hỗ trợ tuyệt vời cho các dự án đặc thù","change.130.i5.badge":"XUẤT BẢN TỆP","change.130.i5.title":"Xuất bản tệp tin không giao diện","change.130.i5.desc":"Bổ sung cờ tùy chọn --output <file> cho lệnh export, cho phép ghi trực tiếp hướng dẫn ra đĩa trong môi trường máy chủ (SSH/CI).","change.130.i5.highlight":"Sẵn sàng hoạt động trong môi trường CI tự động","change.121.summary":"Giới thiệu các quy tắc IDE tập trung tại cấp gốc, tự động cập nhật gitignore và ánh xạ hồ sơ tác nhân linh hoạt.","change.121.i1.badge":"TÍNH NĂNG MỚI","change.121.i1.title":"Quy tắc IDE tập trung tại thư mục gốc","change.121.i1.desc":"Tạo các tệp .cursorrules, .copilot-instructions.md và .clinerules duy nhất ở thư mục gốc để tránh làm rác các thư mục con trong monorepo.","change.121.i1.highlight":"Monorepo gọn gàng sạch sẽ","change.121.i2.badge":"TỰ ĐỘNG HÓA","change.121.i2.title":"Tự động cập nhật tệp .gitignore","change.121.i2.desc":"Tự động thêm các tệp cấu hình IDE nội bộ vào .gitignore để tránh đẩy cấu hình cá nhân của trình soạn thảo lên kho mã nguồn chung.","change.121.i2.highlight":"Giữ lịch sử Git sạch sẽ","change.121.i3.badge":"ĐỊNH TUYẾN CHỈ DẪN","change.121.i3.title":"Ánh xạ quy tắc theo từng tác nhân AI","change.121.i3.desc":"Ghi quy tắc vào GEMINI.md (cho Antigravity) hoặc AGENTS.md (cho Codex) tùy thuộc vào hồ sơ --agent được chọn để tối ưu nhất.","change.121.i3.highlight":"Hỗ trợ song song Antigravity & Codex","change.120.summary":"Tập trung tự động hóa monorepo, tùy biến không gian làm việc và tối ưu hóa logic nhận diện công nghệ.","change.120.i1.badge":"TÍNH NĂNG MỚI","change.120.i1.title":"Quét Monorepo đệ quy (Độ sâu 3)","change.120.i1.desc":"Tự động quét các thư mục con lồng nhau tối đa 3 cấp để ánh xạ cấu hình mẫu tương ứng mà không quét các thư mục sinh ra (node_modules, target, dist, etc.).","change.120.i1.highlight":"Hỗ trợ tốt monorepo nhiều dịch vụ sâu","change.120.i2.badge":"LỆNH MỚI VÀO","change.120.i2.title":"Cài đặt gói thủ công (lệnh add)","change.120.i2.desc":"Bổ sung lệnh npx agent-workflow-kit-cli add <stack> để bơm thủ công bộ quy tắc của gói công nghệ vào bất cứ thư mục con nào.","change.120.i2.highlight":"Hỗ trợ đầy đủ cờ --path, --agent và --dry-run","change.120.i3.badge":"HỖ TRỢ TỐT","change.120.i3.title":"Hỗ trợ xuất bản tối ưu cho Codex","change.120.i3.desc":"Tối ưu hóa dữ liệu đầu ra cho Codex, loại bỏ các cảnh báo không được hỗ trợ để Codex đọc hiểu quy chuẩn một cách trơn tru nhất.","change.120.i3.highlight":"Gộp quy tắc không có cảnh báo","change.120.i4.badge":"BỘ PHÁT HIỆN","change.120.i4.title":"Nhận diện gói công nghệ Python Pipfile","change.120.i4.desc":"Quét tệp Pipfile để tự động phát hiện các thư viện FastAPI và Python AI, mở rộng hỗ trợ cho các dự án dùng Pipenv.","change.120.i4.highlight":"Hỗ trợ không gian làm việc Pipenv","change.110.summary":"Giới thiệu các tối ưu hóa kinh tế token cốt lõi, giảm hơn 50% khối lượng ngữ cảnh của tác nhân.","change.110.i1.badge":"TỐI ƯU HÓA","change.110.i1.title":"Quét quy tắc lọc lựa chọn","change.110.i1.desc":"Hướng dẫn tác nhân AI chỉ tải các quy tắc cụ thể (như react-style.md) tương ứng với thư mục đang làm việc để tránh lãng phí token.","change.110.i1.highlight":"Tiết kiệm đến 70% token đầu vào của AI","change.110.i2.badge":"RÚT GỌN LUẬT","change.110.i2.title":"Các mẫu quy chuẩn định dạng nhẹ","change.110.i2.desc":"Nén các mẫu quy tắc tiêu chuẩn của Spring Boot, React TS, FastAPI và Python AI bằng cách viết lại các câu dài dòng thành danh sách checklist súc tích.","change.110.i2.highlight":"Giảm 50% - 60% dung lượng tệp quy tắc","change.110.i3.badge":"ĐỘ TIN CẬY","change.110.i3.title":"Tăng cường kiểm thử E2E với Vitest","change.110.i3.desc":"Mở rộng độ bao phủ kiểm thử cho trình biên dịch chính, động cơ đồng bộ khối mã và trình quét thư mục với các tệp tin tạm thời.","change.110.i3.highlight":"22/22 bộ kiểm thử được xác minh thành công","change.100.summary":"Bản phát hành đầu tiên (MVP) của Bộ công cụ Quy trình AI, thiết lập các quy tắc AI hướng mã nguồn.","change.100.i1.badge":"CỐT LÕI","change.100.i1.title":"Tự động quét nhận diện công nghệ","change.100.i1.desc":"Quét các tệp tin package.json, pom.xml và pyproject.toml để tự động nhận diện React, Spring Boot hoặc FastAPI.","change.100.i1.highlight":"Hoạt động ngay lập tức không cần cấu hình","change.100.i2.badge":"CHỈ THỊ HỆ THỐNG","change.100.i2.title":"Bộ neo chỉ mục quy chuẩn chung","change.100.i2.desc":"Tạo tệp chỉ mục AGENTS.md kết hợp thư mục .agents/ chứa rules và skills để duy trì ngữ cảnh làm việc cho AI.","change.100.i2.highlight":"Được các tác nhân AI tự động tiếp thu","change.100.i3.badge":"CHẨN ĐOÁN","change.100.i3.title":"Trình kiểm tra doctor & Git Hook","change.100.i3.desc":"Tích hợp các công cụ kiểm tra trước khi commit (pre-commit git hooks) để xác minh định dạng và cú pháp trước khi lưu trữ.","change.100.i3.highlight":"Ngăn chặn lỗi xảy ra trên hệ thống CI","install.tag":"BẮT ĐẦU VỚI CONSOLE","install.title":"Khởi tạo không gian làm việc","install.titleHighlight":"chỉ với một lệnh duy nhất","install.subtitle":"Không cần cài đặt hay phụ thuộc toàn cục. Kích hoạt lệnh khởi tạo trực tiếp bằng trình chạy gói ưa thích của bạn. agent-workflow-kit-cli đánh giá trực tiếp bố cục mã nguồn của bạn để áp dụng cấu hình mẫu tối ưu.","install.s1.title":"Không ảnh hưởng môi trường hệ thống","install.s1.desc":"Chạy tạm thời bên trong thư mục dự án của bạn. Không làm bẩn cấu hình toàn cục.","install.s2.title":"Tự động cập nhật bản mới nhất","install.s2.desc":"npx tự động tải và chạy phiên bản ổn định mới nhất của thư viện một cách tự động.","install.activeScript":"KỊCH BẢN KÍCH HOẠT","install.stars":"Lượt thích trên Github","install.downloads":"Lượt tải về (NPM)","install.githubStars":"Lượt thích (GitHub)","footer.tag":"BẮT ĐẦU NGAY LẬP TỨC","footer.title":"Làm cho kho mã nguồn","footer.titleHighlight":"dễ hiểu đối với các tác nhân AI","footer.subtitle":"Bắt đầu với một lệnh. Tạo ra quy trình làm việc nhất quán. Hãy để Codex và Antigravity tuân theo đúng quy tắc dự án của bạn mà không cần sao chép ngữ cảnh thủ công.","footer.btnView":"Xem tài liệu API","footer.desc":"agent-workflow-kit","footer.home":"Trang chủ","footer.features":"Tính năng","footer.howItWorks":"Cách hoạt động","footer.repoStructure":"Cấu trúc thư mục","footer.commands":"Lệnh CLI","footer.github":"Github","footer.copyright":"agent-workflow-kit. Mã nguồn mở dưới giấy phép MIT.","footer.optimized":"Tối ưu hóa cho nhà phát triển dùng Antigravity & Codex","local.title":"Bảng điều khiển Thiết lập Dự án","local.subtitle":"Cấu hình và khởi tạo các quy chuẩn, quy tắc và quy trình làm việc trên đĩa","local.detectedTitle":"Mô-đun Dự án Phát hiện được","local.stackSelect":"Chọn Cấu hình Công nghệ (Stack)","local.agentSelect":"Tác nhân AI Mục tiêu","local.dryRunLabel":"Chế độ chạy thử (Dry Run)","local.dryRunDesc":"Chỉ in ra các thay đổi trên màn hình mà không ghi tệp xuống đĩa","local.gitignoreLabel":"Tự động cập nhật Gitignore","local.gitignoreDesc":"Thêm các thư mục AI vào .gitignore để tránh làm bẩn lịch sử git","local.generateBtn":"Khởi tạo Cấu hình","local.terminalTitle":"Nhật ký Thực thi (Terminal Logs)","local.successTitle":"Khởi tạo Không gian Làm việc Thành công!","local.successDesc":"Mã nguồn dự án của bạn đã sẵn sàng cho sự cộng tác của tác nhân AI.","local.stepsTitle":"Các bước tiếp theo cần làm:","local.steps1":"Xem lại các quy tắc được tạo trong .agents/rules/ và tệp GEMINI.md/AGENTS.md","local.steps2":"Thiết lập git pre-commit hook để tự động xác minh mã nguồn","local.steps3":"Nạp các kỹ năng tùy chỉnh hoặc xuất bản quy trình lên đám mây","local.backToHome":"Quay lại Trang chủ","local.cwdLabel":"Thư mục Dự án Hiện tại","local.detectFail":"Không thể tự động phát hiện cấu hình công nghệ của dự án."}},Fh=G.createContext(void 0),tp=({children:c})=>{const[A,T]=G.useState(()=>{const S=localStorage.getItem("awk_language");return S==="vi"||S==="en"?S:"en"}),[d,M]=G.useState(()=>{const S=localStorage.getItem("awk_theme");return S==="light"||S==="dark"?S:"dark"}),C=S=>{T(S),localStorage.setItem("awk_language",S)},Q=S=>{M(S),localStorage.setItem("awk_theme",S)};G.useEffect(()=>{const S=window.document.documentElement;d==="light"?(S.classList.add("light"),S.classList.remove("dark")):(S.classList.add("dark"),S.classList.remove("light"))},[d]);const Y=S=>{const v=Yh[A];if(v&&S in v)return v[S];const H=Yh.en;return H&&S in H?H[S]:S};return i.jsx(Fh.Provider,{value:{language:A,setLanguage:C,theme:d,setTheme:Q,t:Y},children:c})},xt=()=>{const c=G.useContext(Fh);if(c===void 0)throw new Error("useApp must be used within an AppProvider");return c};var Vh={},ap="@vercel/analytics",lp="1.6.1",np=()=>{window.va||(window.va=function(...A){(window.vaq=window.vaq||[]).push(A)})};function Ph(){return typeof window<"u"}function ef(){try{const c="production"}catch{}return"production"}function ip(c="auto"){if(c==="auto"){window.vam=ef();return}window.vam=c}function sp(){return(Ph()?window.vam:ef())||"production"}function To(){return sp()==="development"}function cp(c){return c.scriptSrc?c.scriptSrc:To()?"https://va.vercel-scripts.com/v1/script.debug.js":c.basePath?`${c.basePath}/insights/script.js`:"/_vercel/insights/script.js"}function op(c={debug:!0}){var A;if(!Ph())return;ip(c.mode),np(),c.beforeSend&&((A=window.va)==null||A.call(window,"beforeSend",c.beforeSend));const T=cp(c);if(document.head.querySelector(`script[src*="${T}"]`))return;const d=document.createElement("script");d.src=T,d.defer=!0,d.dataset.sdkn=ap+(c.framework?`/${c.framework}`:""),d.dataset.sdkv=lp,c.disableAutoTrack&&(d.dataset.disableAutoTrack="1"),c.endpoint?d.dataset.endpoint=c.endpoint:c.basePath&&(d.dataset.endpoint=`${c.basePath}/insights`),c.dsn&&(d.dataset.dsn=c.dsn),d.onerror=()=>{const M=To()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${T}. ${M}`)},To()&&c.debug===!1&&(d.dataset.debug="false"),document.head.appendChild(d)}function rp({route:c,path:A}){var T;(T=window.va)==null||T.call(window,"pageview",{route:c,path:A})}function up(){if(!(typeof process>"u"||typeof Vh>"u"))return Vh.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function dp(c){return G.useEffect(()=>{var A;c.beforeSend&&((A=window.va)==null||A.call(window,"beforeSend",c.beforeSend))},[c.beforeSend]),G.useEffect(()=>{op({framework:c.framework||"react",basePath:c.basePath??up(),...c.route!==void 0&&{disableAutoTrack:!0},...c})},[]),G.useEffect(()=>{c.route&&c.path&&rp({route:c.route,path:c.path})},[c.route,c.path]),null}/**
53
+ * @license lucide-react v0.546.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */const hp=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fp=c=>c.replace(/^([A-Z])|[\s-_]+(\w)/g,(A,T,d)=>d?d.toUpperCase():T.toLowerCase()),Qh=c=>{const A=fp(c);return A.charAt(0).toUpperCase()+A.slice(1)},tf=(...c)=>c.filter((A,T,d)=>!!A&&A.trim()!==""&&d.indexOf(A)===T).join(" ").trim(),mp=c=>{for(const A in c)if(A.startsWith("aria-")||A==="role"||A==="title")return!0};/**
58
+ * @license lucide-react v0.546.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */var gp={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"};/**
63
+ * @license lucide-react v0.546.0 - ISC
64
+ *
65
+ * This source code is licensed under the ISC license.
66
+ * See the LICENSE file in the root directory of this source tree.
67
+ */const pp=G.forwardRef(({color:c="currentColor",size:A=24,strokeWidth:T=2,absoluteStrokeWidth:d,className:M="",children:C,iconNode:Q,...Y},S)=>G.createElement("svg",{ref:S,...gp,width:A,height:A,stroke:c,strokeWidth:d?Number(T)*24/Number(A):T,className:tf("lucide",M),...!C&&!mp(Y)&&{"aria-hidden":"true"},...Y},[...Q.map(([v,H])=>G.createElement(v,H)),...Array.isArray(C)?C:[C]]));/**
68
+ * @license lucide-react v0.546.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */const L=(c,A)=>{const T=G.forwardRef(({className:d,...M},C)=>G.createElement(pp,{ref:C,iconNode:A,className:tf(`lucide-${hp(Qh(c))}`,`lucide-${c}`,d),...M}));return T.displayName=Qh(c),T};/**
73
+ * @license lucide-react v0.546.0 - ISC
74
+ *
75
+ * This source code is licensed under the ISC license.
76
+ * See the LICENSE file in the root directory of this source tree.
77
+ */const xp=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],yp=L("arrow-left",xp);/**
78
+ * @license lucide-react v0.546.0 - ISC
79
+ *
80
+ * This source code is licensed under the ISC license.
81
+ * See the LICENSE file in the root directory of this source tree.
82
+ */const bp=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],af=L("arrow-right",bp);/**
83
+ * @license lucide-react v0.546.0 - ISC
84
+ *
85
+ * This source code is licensed under the ISC license.
86
+ * See the LICENSE file in the root directory of this source tree.
87
+ */const vp=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Co=L("arrow-up-right",vp);/**
88
+ * @license lucide-react v0.546.0 - ISC
89
+ *
90
+ * This source code is licensed under the ISC license.
91
+ * See the LICENSE file in the root directory of this source tree.
92
+ */const Np=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],jp=L("book-open",Np);/**
93
+ * @license lucide-react v0.546.0 - ISC
94
+ *
95
+ * This source code is licensed under the ISC license.
96
+ * See the LICENSE file in the root directory of this source tree.
97
+ */const wp=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Gt=L("check",wp);/**
98
+ * @license lucide-react v0.546.0 - ISC
99
+ *
100
+ * This source code is licensed under the ISC license.
101
+ * See the LICENSE file in the root directory of this source tree.
102
+ */const Sp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Zi=L("chevron-down",Sp);/**
103
+ * @license lucide-react v0.546.0 - ISC
104
+ *
105
+ * This source code is licensed under the ISC license.
106
+ * See the LICENSE file in the root directory of this source tree.
107
+ */const kp=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ap=L("chevron-left",kp);/**
108
+ * @license lucide-react v0.546.0 - ISC
109
+ *
110
+ * This source code is licensed under the ISC license.
111
+ * See the LICENSE file in the root directory of this source tree.
112
+ */const Tp=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Fi=L("chevron-right",Tp);/**
113
+ * @license lucide-react v0.546.0 - ISC
114
+ *
115
+ * This source code is licensed under the ISC license.
116
+ * See the LICENSE file in the root directory of this source tree.
117
+ */const Cp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Ep=L("circle-alert",Cp);/**
118
+ * @license lucide-react v0.546.0 - ISC
119
+ *
120
+ * This source code is licensed under the ISC license.
121
+ * See the LICENSE file in the root directory of this source tree.
122
+ */const zp=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Xh=L("circle-check-big",zp);/**
123
+ * @license lucide-react v0.546.0 - ISC
124
+ *
125
+ * This source code is licensed under the ISC license.
126
+ * See the LICENSE file in the root directory of this source tree.
127
+ */const Mp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$i=L("circle-check",Mp);/**
128
+ * @license lucide-react v0.546.0 - ISC
129
+ *
130
+ * This source code is licensed under the ISC license.
131
+ * See the LICENSE file in the root directory of this source tree.
132
+ */const Dp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],_p=L("circle-question-mark",Dp);/**
133
+ * @license lucide-react v0.546.0 - ISC
134
+ *
135
+ * This source code is licensed under the ISC license.
136
+ * See the LICENSE file in the root directory of this source tree.
137
+ */const Op=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],Rp=L("clipboard-check",Op);/**
138
+ * @license lucide-react v0.546.0 - ISC
139
+ *
140
+ * This source code is licensed under the ISC license.
141
+ * See the LICENSE file in the root directory of this source tree.
142
+ */const Hp=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],ko=L("code",Hp);/**
143
+ * @license lucide-react v0.546.0 - ISC
144
+ *
145
+ * This source code is licensed under the ISC license.
146
+ * See the LICENSE file in the root directory of this source tree.
147
+ */const Up=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Wi=L("compass",Up);/**
148
+ * @license lucide-react v0.546.0 - ISC
149
+ *
150
+ * This source code is licensed under the ISC license.
151
+ * See the LICENSE file in the root directory of this source tree.
152
+ */const Gp=[["path",{d:"m12 15 2 2 4-4",key:"2c609p"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],qp=L("copy-check",Gp);/**
153
+ * @license lucide-react v0.546.0 - ISC
154
+ *
155
+ * This source code is licensed under the ISC license.
156
+ * See the LICENSE file in the root directory of this source tree.
157
+ */const Lp=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Pi=L("copy",Lp);/**
158
+ * @license lucide-react v0.546.0 - ISC
159
+ *
160
+ * This source code is licensed under the ISC license.
161
+ * See the LICENSE file in the root directory of this source tree.
162
+ */const Bp=[["path",{d:"m15 10 5 5-5 5",key:"qqa56n"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]],Kh=L("corner-down-right",Bp);/**
163
+ * @license lucide-react v0.546.0 - ISC
164
+ *
165
+ * This source code is licensed under the ISC license.
166
+ * See the LICENSE file in the root directory of this source tree.
167
+ */const Yp=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Vp=L("cpu",Yp);/**
168
+ * @license lucide-react v0.546.0 - ISC
169
+ *
170
+ * This source code is licensed under the ISC license.
171
+ * See the LICENSE file in the root directory of this source tree.
172
+ */const Qp=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Xp=L("download",Qp);/**
173
+ * @license lucide-react v0.546.0 - ISC
174
+ *
175
+ * This source code is licensed under the ISC license.
176
+ * See the LICENSE file in the root directory of this source tree.
177
+ */const Kp=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Zp=L("eye",Kp);/**
178
+ * @license lucide-react v0.546.0 - ISC
179
+ *
180
+ * This source code is licensed under the ISC license.
181
+ * See the LICENSE file in the root directory of this source tree.
182
+ */const Jp=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]],$p=L("file-check-2",Jp);/**
183
+ * @license lucide-react v0.546.0 - ISC
184
+ *
185
+ * This source code is licensed under the ISC license.
186
+ * See the LICENSE file in the root directory of this source tree.
187
+ */const Wp=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M16 22h2a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"37hlfg"}],["path",{d:"M8 14v2.2l1.6 1",key:"6m4bie"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}]],Ip=L("file-clock",Wp);/**
188
+ * @license lucide-react v0.546.0 - ISC
189
+ *
190
+ * This source code is licensed under the ISC license.
191
+ * See the LICENSE file in the root directory of this source tree.
192
+ */const Fp=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Pp=L("file-code-2",Fp);/**
193
+ * @license lucide-react v0.546.0 - ISC
194
+ *
195
+ * This source code is licensed under the ISC license.
196
+ * See the LICENSE file in the root directory of this source tree.
197
+ */const e0=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m15 13-3 3-3-3",key:"6j2sf0"}]],t0=L("folder-down",e0);/**
198
+ * @license lucide-react v0.546.0 - ISC
199
+ *
200
+ * This source code is licensed under the ISC license.
201
+ * See the LICENSE file in the root directory of this source tree.
202
+ */const a0=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],l0=L("folder-lock",a0);/**
203
+ * @license lucide-react v0.546.0 - ISC
204
+ *
205
+ * This source code is licensed under the ISC license.
206
+ * See the LICENSE file in the root directory of this source tree.
207
+ */const n0=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],We=L("folder",n0);/**
208
+ * @license lucide-react v0.546.0 - ISC
209
+ *
210
+ * This source code is licensed under the ISC license.
211
+ * See the LICENSE file in the root directory of this source tree.
212
+ */const i0=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],s0=L("gauge",i0);/**
213
+ * @license lucide-react v0.546.0 - ISC
214
+ *
215
+ * This source code is licensed under the ISC license.
216
+ * See the LICENSE file in the root directory of this source tree.
217
+ */const c0=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],o0=L("git-branch",c0);/**
218
+ * @license lucide-react v0.546.0 - ISC
219
+ *
220
+ * This source code is licensed under the ISC license.
221
+ * See the LICENSE file in the root directory of this source tree.
222
+ */const r0=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Eo=L("github",r0);/**
223
+ * @license lucide-react v0.546.0 - ISC
224
+ *
225
+ * This source code is licensed under the ISC license.
226
+ * See the LICENSE file in the root directory of this source tree.
227
+ */const u0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Zh=L("globe",u0);/**
228
+ * @license lucide-react v0.546.0 - ISC
229
+ *
230
+ * This source code is licensed under the ISC license.
231
+ * See the LICENSE file in the root directory of this source tree.
232
+ */const d0=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],h0=L("hourglass",d0);/**
233
+ * @license lucide-react v0.546.0 - ISC
234
+ *
235
+ * This source code is licensed under the ISC license.
236
+ * See the LICENSE file in the root directory of this source tree.
237
+ */const f0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],lf=L("info",f0);/**
238
+ * @license lucide-react v0.546.0 - ISC
239
+ *
240
+ * This source code is licensed under the ISC license.
241
+ * See the LICENSE file in the root directory of this source tree.
242
+ */const m0=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],la=L("layers",m0);/**
243
+ * @license lucide-react v0.546.0 - ISC
244
+ *
245
+ * This source code is licensed under the ISC license.
246
+ * See the LICENSE file in the root directory of this source tree.
247
+ */const g0=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Ao=L("loader-circle",g0);/**
248
+ * @license lucide-react v0.546.0 - ISC
249
+ *
250
+ * This source code is licensed under the ISC license.
251
+ * See the LICENSE file in the root directory of this source tree.
252
+ */const p0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],x0=L("menu",p0);/**
253
+ * @license lucide-react v0.546.0 - ISC
254
+ *
255
+ * This source code is licensed under the ISC license.
256
+ * See the LICENSE file in the root directory of this source tree.
257
+ */const y0=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Jh=L("moon",y0);/**
258
+ * @license lucide-react v0.546.0 - ISC
259
+ *
260
+ * This source code is licensed under the ISC license.
261
+ * See the LICENSE file in the root directory of this source tree.
262
+ */const b0=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],nf=L("play",b0);/**
263
+ * @license lucide-react v0.546.0 - ISC
264
+ *
265
+ * This source code is licensed under the ISC license.
266
+ * See the LICENSE file in the root directory of this source tree.
267
+ */const v0=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],sf=L("refresh-cw",v0);/**
268
+ * @license lucide-react v0.546.0 - ISC
269
+ *
270
+ * This source code is licensed under the ISC license.
271
+ * See the LICENSE file in the root directory of this source tree.
272
+ */const N0=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],j0=L("rotate-ccw",N0);/**
273
+ * @license lucide-react v0.546.0 - ISC
274
+ *
275
+ * This source code is licensed under the ISC license.
276
+ * See the LICENSE file in the root directory of this source tree.
277
+ */const w0=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],cf=L("search",w0);/**
278
+ * @license lucide-react v0.546.0 - ISC
279
+ *
280
+ * This source code is licensed under the ISC license.
281
+ * See the LICENSE file in the root directory of this source tree.
282
+ */const S0=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],k0=L("settings-2",S0);/**
283
+ * @license lucide-react v0.546.0 - ISC
284
+ *
285
+ * This source code is licensed under the ISC license.
286
+ * See the LICENSE file in the root directory of this source tree.
287
+ */const A0=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],of=L("shield-alert",A0);/**
288
+ * @license lucide-react v0.546.0 - ISC
289
+ *
290
+ * This source code is licensed under the ISC license.
291
+ * See the LICENSE file in the root directory of this source tree.
292
+ */const T0=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ii=L("shield-check",T0);/**
293
+ * @license lucide-react v0.546.0 - ISC
294
+ *
295
+ * This source code is licensed under the ISC license.
296
+ * See the LICENSE file in the root directory of this source tree.
297
+ */const C0=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Ja=L("sparkles",C0);/**
298
+ * @license lucide-react v0.546.0 - ISC
299
+ *
300
+ * This source code is licensed under the ISC license.
301
+ * See the LICENSE file in the root directory of this source tree.
302
+ */const E0=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],z0=L("split",E0);/**
303
+ * @license lucide-react v0.546.0 - ISC
304
+ *
305
+ * This source code is licensed under the ISC license.
306
+ * See the LICENSE file in the root directory of this source tree.
307
+ */const M0=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],D0=L("square-terminal",M0);/**
308
+ * @license lucide-react v0.546.0 - ISC
309
+ *
310
+ * This source code is licensed under the ISC license.
311
+ * See the LICENSE file in the root directory of this source tree.
312
+ */const _0=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],O0=L("star",_0);/**
313
+ * @license lucide-react v0.546.0 - ISC
314
+ *
315
+ * This source code is licensed under the ISC license.
316
+ * See the LICENSE file in the root directory of this source tree.
317
+ */const R0=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],$h=L("sun",R0);/**
318
+ * @license lucide-react v0.546.0 - ISC
319
+ *
320
+ * This source code is licensed under the ISC license.
321
+ * See the LICENSE file in the root directory of this source tree.
322
+ */const H0=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],U0=L("tag",H0);/**
323
+ * @license lucide-react v0.546.0 - ISC
324
+ *
325
+ * This source code is licensed under the ISC license.
326
+ * See the LICENSE file in the root directory of this source tree.
327
+ */const G0=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Dt=L("terminal",G0);/**
328
+ * @license lucide-react v0.546.0 - ISC
329
+ *
330
+ * This source code is licensed under the ISC license.
331
+ * See the LICENSE file in the root directory of this source tree.
332
+ */const q0=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],L0=L("triangle-alert",q0);/**
333
+ * @license lucide-react v0.546.0 - ISC
334
+ *
335
+ * This source code is licensed under the ISC license.
336
+ * See the LICENSE file in the root directory of this source tree.
337
+ */const B0=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Y0=L("wifi-off",B0);/**
338
+ * @license lucide-react v0.546.0 - ISC
339
+ *
340
+ * This source code is licensed under the ISC license.
341
+ * See the LICENSE file in the root directory of this source tree.
342
+ */const V0=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Q0=L("workflow",V0);/**
343
+ * @license lucide-react v0.546.0 - ISC
344
+ *
345
+ * This source code is licensed under the ISC license.
346
+ * See the LICENSE file in the root directory of this source tree.
347
+ */const X0=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],K0=L("x",X0);/**
348
+ * @license lucide-react v0.546.0 - ISC
349
+ *
350
+ * This source code is licensed under the ISC license.
351
+ * See the LICENSE file in the root directory of this source tree.
352
+ */const Z0=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Ji=L("zap",Z0),rf="/assets/Logo-DARneFJW.png";function J0(){const{t:c,theme:A,setTheme:T,language:d,setLanguage:M}=xt(),[C,Q]=G.useState(!1),[Y,S]=G.useState(!1);G.useEffect(()=>{const H=()=>{Q(window.scrollY>20)};return window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)},[]);const v=[{label:c("nav.features"),href:"#features"},{label:c("nav.howItWorks"),href:"#how-it-works"},{label:c("nav.repoStructure"),href:"#repo-structure"},{label:c("nav.commands"),href:"#commands"},{label:c("nav.stackPacks"),href:"#stack-packs"}];return i.jsxs("header",{id:"app-navbar",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${C?"glass-card backdrop-blur-md py-4 mx-4 mt-4":"bg-transparent py-5"}`,children:[i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("a",{href:"#",className:"flex items-center group",children:[i.jsx("div",{className:"overflow-hidden flex items-center justify-center h-[60px] w-[64px]",children:i.jsx("img",{src:rf,alt:"agent-workflow-kit logo",className:"h-[115px] min-w-[173px] max-w-[173px] object-contain drop-shadow-[0_0_15px_rgba(139,92,246,0.45)] transition-all duration-300 group-hover:scale-105 group-hover:drop-shadow-[0_0_22px_rgba(59,130,246,0.65)]",style:{margin:"-27px -54px"}})}),i.jsx("div",{className:"h-8 w-[1px] bg-white/10 mx-4 self-center"}),i.jsxs("div",{className:"flex flex-col text-left justify-center",children:[i.jsx("span",{className:"font-display font-bold text-lg sm:text-xl tracking-tight text-white group-hover:text-brand-secondary transition duration-300",children:c("nav.title")}),i.jsx("span",{className:"text-[9px] tracking-[0.18em] font-mono text-slate-500 uppercase font-semibold mt-0.5",children:c("nav.subtitle")})]})]}),i.jsx("nav",{className:"hidden md:flex items-center gap-0.5 lg:gap-1.5",children:v.map(H=>i.jsx("a",{href:H.href,className:"px-2 lg:px-3.5 py-1.5 text-xs lg:text-sm font-medium text-slate-400 hover:text-white hover:bg-white/5 rounded-lg transition duration-200 whitespace-nowrap",children:H.label},H.label))}),i.jsxs("div",{className:"hidden md:flex items-center gap-2 lg:gap-4",children:[i.jsxs("button",{onClick:()=>M(d==="en"?"vi":"en"),className:"p-1.5 lg:p-2 rounded-lg text-slate-400 hover:text-white hover:bg-white/5 transition flex items-center gap-1 font-mono text-xs cursor-pointer shrink-0",title:"Toggle Language",children:[i.jsx(Zh,{size:14,className:"text-brand-secondary"}),i.jsx("span",{className:"font-semibold",children:d.toUpperCase()})]}),i.jsx("button",{onClick:()=>T(A==="dark"?"light":"dark"),className:"p-1.5 lg:p-2 rounded-lg text-slate-400 hover:text-white hover:bg-white/5 transition cursor-pointer shrink-0",title:A==="dark"?"Light Mode":"Dark Mode",children:A==="dark"?i.jsx($h,{size:15,className:"text-yellow-400"}):i.jsx(Jh,{size:15,className:"text-indigo-500"})}),i.jsxs("a",{href:"https://github.com/TruongTXK18FPT/agent-workflow-kit-cli",target:"_blank",rel:"noreferrer",className:"flex items-center gap-1.5 px-2.5 lg:px-4 py-2 text-xs lg:text-sm font-medium text-slate-300 hover:text-white transition duration-200 whitespace-nowrap shrink-0",children:[i.jsx(Eo,{size:16}),i.jsx("span",{children:c("nav.github")})]}),i.jsxs("a",{href:"#install",className:"relative group overflow-hidden rounded-lg p-[1px] focus:outline-none transition-all duration-300 hover:scale-[1.02] shrink-0",children:[i.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-brand-primary via-fuchsia-500 to-brand-secondary rounded-lg"}),i.jsxs("div",{className:"relative px-3 lg:px-5 py-2 lg:py-2.5 rounded-[7px] bg-[#0c1224] transition duration-200 group-hover:bg-transparent text-xs lg:text-sm font-medium text-white flex items-center gap-1.5",children:[i.jsx("span",{children:c("nav.getStarted")}),i.jsx(Co,{size:14,className:"group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})]})]})]}),i.jsxs("div",{className:"md:hidden flex items-center gap-2",children:[i.jsxs("button",{onClick:()=>M(d==="en"?"vi":"en"),className:"p-2 rounded-lg text-slate-400 hover:text-white transition flex items-center gap-1 font-mono text-xs cursor-pointer",children:[i.jsx(Zh,{size:14,className:"text-brand-secondary"}),i.jsx("span",{className:"font-semibold",children:d.toUpperCase()})]}),i.jsx("button",{onClick:()=>T(A==="dark"?"light":"dark"),className:"p-2 rounded-lg text-slate-400 hover:text-white transition cursor-pointer",children:A==="dark"?i.jsx($h,{size:15,className:"text-yellow-400"}):i.jsx(Jh,{size:15,className:"text-indigo-500"})}),i.jsx("button",{onClick:()=>S(!Y),className:"flex items-center justify-center p-2 rounded-lg text-slate-400 hover:text-white hover:bg-white/5 transition duration-200","aria-label":"Toggle menu",children:Y?i.jsx(K0,{size:20}):i.jsx(x0,{size:20})})]})]})}),Y&&i.jsxs("div",{className:"md:hidden absolute top-full left-0 right-0 bg-brand-bg-darker border-b border-white/10 backdrop-blur-lg px-4 pt-4 pb-6 space-y-4 animate-fade-in",children:[i.jsx("div",{className:"flex flex-col gap-1.5",children:v.map(H=>i.jsx("a",{href:H.href,onClick:()=>S(!1),className:"px-4 py-3 text-base font-medium text-slate-300 hover:text-white hover:bg-white/5 rounded-lg transition duration-200",children:H.label},H.label))}),i.jsxs("div",{className:"pt-4 border-t border-white/10 flex flex-col gap-3",children:[i.jsxs("a",{href:"https://github.com/TruongTXK18FPT/agent-workflow-kit-cli",target:"_blank",rel:"noreferrer",className:"flex items-center justify-center gap-2 px-4 py-3 rounded-lg border border-white/10 text-base font-medium text-slate-300 hover:text-white hover:bg-white/5 transition duration-200",children:[i.jsx(Eo,{size:18}),i.jsx("span",{children:c("nav.github")})]}),i.jsxs("a",{href:"#install",onClick:()=>S(!1),className:"flex items-center justify-center gap-1.5 px-4 py-3 rounded-lg bg-gradient-to-r from-brand-primary to-brand-secondary text-base font-medium text-white hover:opacity-90 transition duration-200 shadow-md shadow-brand-primary/20",children:[i.jsx("span",{children:c("nav.getStarted")}),i.jsx(Co,{size:16})]})]})]})]})}function $0(){const{t:c}=xt(),[A,T]=G.useState(!1),[d,M]=G.useState(0),[C,Q]=G.useState(!1),[Y,S]=G.useState("init"),[v,H]=G.useState("ui"),D=()=>{const K=Y==="init"?v==="ui"?"npx agent-workflow-kit-cli ui":"npx agent-workflow-kit-cli init":"npx agent-workflow-kit-cli run ./my-workflow.json";navigator.clipboard.writeText(K),T(!0),setTimeout(()=>T(!1),2e3)},F=Y==="init"?v==="ui"?[{text:"npx agent-workflow-kit-cli ui",type:"input"},{text:"🚀 Starting Local configuration dashboard...",type:"info"},{text:" ▸ Server running at http://localhost:4321/",type:"success"},{text:"🔍 Detecting repository stack pattern...",type:"info"},{text:" ▸ Resolved: React 19 + TypeScript + Vite workspace.",type:"success"},{text:"⚙️ Generating config via visual dashboard interface...",type:"info"},{text:" ▸ Created: AGENTS.md (Root workspace instruction catalog)",type:"file"},{text:" ▸ Created: .agents/rules/react-style.md",type:"file"},{text:" ▸ Created: .agents/skills/react-feature/SKILL.md",type:"file"},{text:"🎉 [SUCCESS] Workspace configured successfully via Local Dashboard!",type:"highlight"}]:[{text:"npx agent-workflow-kit-cli init",type:"input"},{text:"🔍 [1/5] Detecting repository stack pattern...",type:"info"},{text:" ▸ Resolved: React 19 + TypeScript + Vite workspace.",type:"success"},{text:"⚙️ [2/5] Resolving workflow preset guidelines...",type:"info"},{text:"📁 [3/5] Generating agent configuration structures...",type:"info"},{text:" ▸ Created: AGENTS.md (Root workspace instruction catalog)",type:"file"},{text:" ▸ Created: .agents/rules/react-style.md",type:"file"},{text:" ▸ Created: .agents/skills/react-feature/SKILL.md",type:"file"},{text:"🛠️ [4/5] Loading Antigravity & Codex integration rules...",type:"info"},{text:"✔️ [5/5] Running semantic workflow validation... Success!",type:"success"},{text:"🎉 [SUCCESS] Workspace optimized! Your repository is now fully AI-agent ready.",type:"highlight"}]:[{text:"npx agent-workflow-kit-cli run ./my-workflow.json --inputs ./params.json",type:"input"},{text:"⚙️ Loading AWOS configuration (awk.config.json)...",type:"info"},{text:"🔌 Dynamic Plugin Registry: Loaded [git-hook-plugin, lint-rules-plugin].",type:"success"},{text:"🎯 Resolving DAG Nodes: [build] ➔ [analyze-deps] ➔ [approval] ➔ [publish]",type:"info"},{text:"🚀 Running Node [build] (Command: npm run build)...",type:"info"},{text:" ▸ Node output: Build passed in 4.2s.",type:"success"},{text:"🚀 Running Node [analyze-deps] (Command: profile --profile clean)...",type:"info"},{text:" ▸ AST boundary check: 0 package dependency violations found.",type:"success"},{text:"⏳ Running Node [approval] (Requires Operator Sign-off)...",type:"info"},{text:" ⚠️ Run suspended! Run ID: run_awos_8f2d9",type:"warning"},{text:" ▸ Resume execution using: npx agent-workflow-kit-cli resume run_awos_8f2d9",type:"info"},{text:"npx agent-workflow-kit-cli resume run_awos_8f2d9",type:"input"},{text:"🟢 Resuming Run ID: run_awos_8f2d9...",type:"info"},{text:" ▸ Operator signature verified: APPROVED",type:"success"},{text:"🚀 Running Node [publish] (Command: npm publish --dry-run)...",type:"info"},{text:"🎉 [SUCCESS] AWOS Workflow run completed successfully in 12.8s!",type:"highlight"}],ie=()=>{C||(Q(!0),M(0))};G.useEffect(()=>{if(C)if(d<F.length){let K=450;const be=F[d];be.type==="input"?K=800:be.text.includes("suspended!")?K=1500:be.text.includes("Running Node")?K=650:be.text.includes("resume")&&(K=1e3);const Se=setTimeout(()=>{M(I=>I+1)},K);return()=>clearTimeout(Se)}else Q(!1)},[C,d,F]);const ve=K=>{S(K),Q(!1),M(0)},ze=Y==="init"?[{title:c("hero.node.detect"),active:C&&d>=1&&d<3,done:d>=3},{title:c("hero.node.presets"),active:C&&d>=3&&d<4,done:d>=4},{title:c("hero.node.emitters"),active:C&&d>=4&&d<8,done:d>=8},{title:c("hero.node.verify"),active:C&&d>=8&&d<10,done:d>=10},{title:c("hero.node.ready"),active:C&&d>=10,done:d>=11}]:[{title:c("hero.node.parse"),active:C&&d>=1&&d<4,done:d>=4},{title:c("hero.node.build"),active:C&&d>=4&&d<6,done:d>=6},{title:c("hero.node.ast"),active:C&&d>=6&&d<8,done:d>=8},{title:c("hero.node.approval"),active:C&&d>=8&&d<13,done:d>=13},{title:c("hero.node.finished"),active:C&&d>=13,done:d>=15}];return i.jsxs("section",{className:"relative pt-32 pb-24 md:pt-40 md:pb-32 overflow-hidden tech-grid min-h-screen flex flex-col justify-center bg-[#05070e]",children:[i.jsx("div",{className:"absolute top-1/4 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full bg-gradient-to-tr from-brand-primary/10 to-brand-secondary/5 opacity-55 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"absolute top-10 right-10 w-[300px] h-[300px] rounded-full bg-indigo-500/10 blur-[80px] pointer-events-none animate-slow-pulse"}),i.jsx("div",{className:"absolute bottom-10 left-10 w-[400px] h-[400px] rounded-full bg-cyan-500/5 blur-[100px] pointer-events-none"}),i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 w-full",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-8 items-center",children:[i.jsxs("div",{className:"lg:col-span-6 space-y-8 text-left",children:[i.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-brand-primary/10 border border-brand-primary/20 text-brand-accent text-xs font-semibold uppercase tracking-wider font-display glass-card",children:[i.jsx(Ja,{size:13,className:"text-brand-secondary animate-pulse"}),i.jsx("span",{children:c("hero.updateTag")})]}),i.jsxs("h1",{className:"font-display font-bold text-4xl sm:text-5xl lg:text-[56px] leading-[1.08] tracking-tight text-white",children:[c("hero.title")," ",i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-indigo-400 to-brand-accent bg-clip-text text-transparent font-semibold",children:c("hero.titleHighlight")})," ",c("hero.titleEnd")]}),i.jsx("p",{className:"text-slate-400 text-lg sm:text-xl leading-relaxed max-w-xl font-sans font-light",children:c("hero.subtitle")}),i.jsxs("div",{className:"flex gap-2 p-1.5 bg-slate-950/60 border border-white/5 rounded-xl max-w-sm sm:max-w-md shadow-inner",children:[i.jsxs("button",{onClick:()=>ve("init"),className:`flex-grow flex items-center justify-center gap-1.5 py-2.5 px-3 rounded-lg text-xs font-mono transition-all duration-200 cursor-pointer ${Y==="init"?"bg-brand-primary/20 text-brand-secondary border border-brand-primary/30 font-semibold":"text-slate-400 hover:text-white"}`,children:[i.jsx(la,{size:13}),i.jsx("span",{children:c("hero.tabScan")})]}),i.jsxs("button",{onClick:()=>ve("workflow"),className:`flex-grow flex items-center justify-center gap-1.5 py-2.5 px-3 rounded-lg text-xs font-mono transition-all duration-200 cursor-pointer ${Y==="workflow"?"bg-brand-primary/20 text-brand-secondary border border-brand-primary/30 font-semibold":"text-slate-400 hover:text-white"}`,children:[i.jsx(o0,{size:13}),i.jsx("span",{children:c("hero.tabWorkflow")})]})]}),Y==="init"&&i.jsxs("div",{className:"space-y-3 pt-2",children:[i.jsx("span",{className:"text-xs font-mono text-slate-500 uppercase tracking-wider block",children:c("hero.chooseMethod")}),i.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 max-w-xl",children:[i.jsxs("button",{onClick:()=>{H("ui"),Q(!1),M(0)},className:`p-3.5 rounded-xl border text-left transition duration-200 cursor-pointer flex flex-col justify-between h-full group select-none ${v==="ui"?"bg-brand-primary/20 border-brand-primary/50 text-white":"bg-slate-950/40 border-white/5 text-slate-400 hover:border-white/10 hover:text-white"}`,children:[i.jsx("span",{className:"text-xs font-mono font-bold uppercase text-brand-secondary group-hover:text-white transition-colors",children:c("hero.configMethodUI")}),i.jsx("span",{className:"text-[11px] font-sans text-slate-400 mt-1 leading-normal",children:c("hero.configMethodUIDesc")})]}),i.jsxs("button",{onClick:()=>{H("cli"),Q(!1),M(0)},className:`p-3.5 rounded-xl border text-left transition duration-200 cursor-pointer flex flex-col justify-between h-full group select-none ${v==="cli"?"bg-brand-primary/20 border-brand-primary/50 text-white":"bg-slate-950/40 border-white/5 text-slate-400 hover:border-white/10 hover:text-white"}`,children:[i.jsx("span",{className:"text-xs font-mono font-bold uppercase text-brand-accent group-hover:text-white transition-colors",children:c("hero.configMethodCLI")}),i.jsx("span",{className:"text-[11px] font-sans text-slate-400 mt-1 leading-normal",children:c("hero.configMethodCLIDesc")})]})]})]}),i.jsxs("div",{className:"flex flex-col sm:flex-row items-stretch sm:items-center gap-4 max-w-md md:max-w-xl",children:[i.jsxs("div",{className:"relative flex-grow flex items-center min-w-0 bg-slate-900 px-5 py-3 rounded-lg border border-indigo-500/20 shadow-inner",children:[i.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-grow",children:[i.jsx(Dt,{size:16,className:"text-brand-secondary shrink-0"}),i.jsx("span",{className:"font-mono text-xs sm:text-sm text-indigo-300 select-all truncate leading-none",children:Y==="init"?v==="ui"?"npx agent-workflow-kit-cli ui":"npx agent-workflow-kit-cli init":"npx agent-workflow-kit-cli run ./my-workflow.json"})]}),i.jsx("button",{type:"button",onClick:D,className:"p-2 rounded-lg text-slate-400 hover:text-white hover:bg-white/5 transition-all duration-200 shrink-0 select-none ml-2 cursor-pointer",title:"Copy command",children:A?i.jsx(Gt,{size:16,className:"text-emerald-400"}):i.jsx("span",{className:"text-xs uppercase font-semibold text-indigo-400 hover:text-white transition",children:"Copy"})})]}),i.jsx("a",{href:"#commands",className:"flex items-center justify-center px-6 py-3.5 rounded-xl border border-white/10 text-white font-medium text-sm hover:bg-white/5 transition duration-200 text-center shrink-0 glass-card",children:c("hero.btnCLI")})]}),i.jsxs("div",{className:"pt-2 flex flex-wrap items-center gap-x-6 gap-y-3 border-t border-white/5 text-xs text-slate-500 font-mono",children:[i.jsxs("span",{className:"flex items-center gap-1.5",children:[i.jsx($i,{size:13,className:"text-brand-secondary"}),c("hero.miniAst")]}),i.jsxs("span",{className:"flex items-center gap-1.5",children:[i.jsx($i,{size:13,className:"text-brand-secondary"}),c("hero.miniPlugin")]}),i.jsxs("span",{className:"flex items-center gap-1.5",children:[i.jsx($i,{size:13,className:"text-brand-secondary"}),c("hero.miniTopo")]})]})]}),i.jsxs("div",{className:"lg:col-span-6 relative w-full flex flex-col gap-6",children:[i.jsxs("div",{id:"interactive-terminal",className:"relative group rounded-xl bg-brand-bg-card/90 border border-white/10 shadow-2xl shadow-brand-bg-dark overflow-hidden flex flex-col text-left leading-relaxed font-mono w-full min-h-[380px] max-h-[440px]",children:[i.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-[#0a0f1d] border-b border-white/5 select-none shrink-0",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-3 h-3 rounded-full bg-rose-500/80"}),i.jsx("div",{className:"w-3 h-3 rounded-full bg-amber-500/80"}),i.jsx("div",{className:"w-3 h-3 rounded-full bg-emerald-500/80"})]}),i.jsxs("div",{className:"text-[11px] text-slate-500 flex items-center gap-1.5 font-medium",children:[i.jsx(D0,{size:12,className:"text-slate-400"}),i.jsx("span",{children:c("hero.termHeader")})]}),i.jsxs("button",{onClick:ie,disabled:C,className:`flex items-center gap-1.5 px-2.5 py-1 rounded bg-brand-primary/10 border border-brand-primary/30 text-[11px] text-brand-secondary ${C?"opacity-40 animate-pulse cursor-not-allowed":"hover:bg-brand-primary/20 transition cursor-pointer"}`,children:[C?i.jsx(sf,{size:10,className:"animate-spin"}):i.jsx(nf,{size:10}),i.jsx("span",{children:c(C?"hero.termRunning":Y==="init"?"hero.termSetup":"hero.termWorkflow")})]})]}),i.jsxs("div",{className:"p-5 flex-grow overflow-y-auto text-xs sm:text-[13px] space-y-1.5 leading-relaxed bg-[#060a12]/95 scrollbar-thin scrollbar-thumb-white/10 scrollbar-track-transparent",children:[d===0&&!C&&i.jsxs("div",{className:"text-slate-500 space-y-4",children:[i.jsx("p",{className:"text-slate-400",children:c("hero.termHint").replace("{tab}",Y==="init"?c("hero.termSetup").toLowerCase():c("hero.termWorkflow").toLowerCase())}),i.jsxs("div",{className:"flex items-center gap-1.5 text-slate-300",children:[i.jsx("span",{className:"text-emerald-400 select-none",children:"$"}),i.jsx("span",{children:F[0].text})]})]}),F.slice(0,d).map((K,be)=>K.type==="input"?i.jsxs("div",{className:"flex items-center gap-1.5 text-white font-medium",children:[i.jsx("span",{className:"text-emerald-400 select-none",children:"$"}),i.jsx("span",{children:K.text})]},be):K.type==="success"?i.jsx("div",{className:"text-emerald-400 pl-4",children:K.text},be):K.type==="file"?i.jsx("div",{className:"text-brand-secondary pl-8",children:K.text},be):K.type==="warning"?i.jsx("div",{className:"text-amber-400 pl-4 font-semibold",children:K.text},be):K.type==="highlight"?i.jsx("div",{className:"mt-3 p-2.5 rounded-lg bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 pl-4",children:K.text},be):i.jsx("div",{className:"text-slate-300 pl-4",children:K.text},be))]})]}),i.jsxs("div",{className:"w-full bg-[#0a0f1d]/60 border border-white/5 rounded-xl p-4 sm:p-5 select-none text-left",children:[i.jsx("div",{className:"text-[11px] text-slate-500 font-mono uppercase tracking-wider mb-4 font-semibold text-center sm:text-left",children:c(Y==="init"?"hero.lifecycleInit":"hero.lifecycleAwos")}),i.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-5 gap-3 relative text-center",children:ze.map((K,be)=>i.jsxs("div",{className:`flex flex-col items-center justify-between p-3 rounded-lg border transition ${K.done?"bg-emerald-500/10 border-emerald-500/30 text-emerald-300":K.active?"bg-brand-primary/20 border-brand-primary/50 text-brand-accent animate-pulse":"bg-brand-bg-card/40 border-white/5 text-slate-500"}`,children:[i.jsx("div",{className:"text-[11px] font-mono whitespace-nowrap overflow-hidden text-ellipsis w-full",children:K.title}),i.jsxs("div",{className:"mt-2.5 w-2 h-2 rounded-full relative",children:[i.jsx("div",{className:`absolute -inset-1 rounded-full ${K.done?"bg-emerald-400/50":K.active?"bg-brand-secondary/50 animate-ping":"bg-transparent"}`}),i.jsx("div",{className:`w-2 h-2 rounded-full ${K.done?"bg-emerald-400":K.active?"bg-brand-secondary":"bg-slate-700"}`})]})]},be))})]})]})]})})]})}function W0(){const{t:c}=xt(),A=[{icon:i.jsx(of,{className:"text-rose-400",size:24}),title:c("problem.p1.title"),desc:c("problem.p1.desc"),tag:c("problem.p1.tag")},{icon:i.jsx(L0,{className:"text-amber-400",size:24}),title:c("problem.p2.title"),desc:c("problem.p2.desc"),tag:c("problem.p2.tag")},{icon:i.jsx(Y0,{className:"text-rose-400",size:24}),title:c("problem.p3.title"),desc:c("problem.p3.desc"),tag:c("problem.p3.tag")},{icon:i.jsx(Ip,{className:"text-amber-400",size:24}),title:c("problem.p4.title"),desc:c("problem.p4.desc"),tag:c("problem.p4.tag")},{icon:i.jsx(h0,{className:"text-rose-400",size:24}),title:c("problem.p5.title"),desc:c("problem.p5.desc"),tag:c("problem.p5.tag")}];return i.jsxs("section",{id:"features",className:"relative py-24 md:py-32 bg-[#05070e] border-y border-white/5",children:[i.jsx("div",{className:"absolute top-0 left-0 w-[400px] h-[400px] rounded-full bg-rose-500/5 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"absolute bottom-0 right-1/4 w-[300px] h-[300px] rounded-full bg-amber-500/5 blur-[100px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[i.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16 md:mb-24 space-y-4",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-rose-500/10 border border-rose-500/20 text-rose-400 text-xs font-mono",children:i.jsx("span",{children:c("problem.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white/95",children:[c("problem.title")," ",i.jsx("span",{className:"bg-gradient-to-r from-rose-400 to-amber-500 bg-clip-text text-transparent underline decoration-rose-500/30 decoration-wavy",children:c("problem.titleHighlight")}),"."]}),i.jsx("p",{className:"text-slate-400 text-base sm:text-lg font-light max-w-xl mx-auto",children:c("problem.subtitle")})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 items-stretch",children:[A.map((T,d)=>i.jsxs("div",{className:"relative p-6 sm:p-8 glass-card border border-white/5 hover:border-rose-500/20 hover:shadow-xl hover:shadow-rose-950/10 transition-all duration-300 flex flex-col justify-between group",children:[i.jsx("div",{className:"absolute inset-x-0 top-0 h-[1px] bg-gradient-to-r from-transparent via-rose-500/10 to-transparent group-hover:via-rose-500/40 transition duration-500"}),i.jsxs("div",{className:"space-y-4 text-left",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"p-3 bg-white/5 rounded-xl border border-white/5 text-slate-300 group-hover:bg-rose-500/10 group-hover:border-rose-500/20 transition duration-300",children:T.icon}),i.jsx("span",{className:"text-[10px] font-mono text-slate-500 font-semibold tracking-wider uppercase",children:T.tag})]}),i.jsx("h3",{className:"font-display font-medium text-lg text-slate-100 group-hover:text-white transition duration-200",children:T.title}),i.jsx("p",{className:"text-slate-400 text-sm font-light leading-relaxed",children:T.desc})]}),i.jsxs("div",{className:"mt-6 pt-4 border-t border-white/5 flex items-center justify-between text-xs font-mono text-slate-500 group-hover:text-slate-400 transition",children:[i.jsx("span",{children:c("problem.impact")}),i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-rose-500 shadow-md shadow-rose-500"})]})]},d)),i.jsxs("div",{className:"p-6 sm:p-8 rounded-2xl bg-[#090e1c]/40 border border-dashed border-white/10 flex flex-col justify-center items-center text-center space-y-4",children:[i.jsx("div",{className:"w-12 h-12 rounded-full bg-brand-primary/10 flex items-center justify-center text-brand-secondary border border-brand-primary/20",children:i.jsx("span",{className:"font-mono text-sm font-bold",children:"1X"})}),i.jsx("h4",{className:"font-display font-semibold text-slate-200 text-base",children:c("problem.cta.title")}),i.jsx("p",{className:"text-slate-400 text-xs font-light max-w-[200px]",children:c("problem.cta.desc")}),i.jsxs("a",{href:"#how-it-works",className:"text-xs font-semibold text-brand-secondary hover:text-brand-accent hover:underline transition font-mono",children:[c("problem.cta.btn")," →"]})]})]})]})]})}function I0(){const{t:c}=xt(),A=[{icon:i.jsx(Pp,{className:"text-brand-secondary",size:24}),title:c("solution.s1.title"),purpose:c("solution.s1.purpose"),desc:c("solution.s1.desc"),file:"AGENTS.md"},{icon:i.jsx(jp,{className:"text-brand-accent",size:24}),title:c("solution.s2.title"),purpose:c("solution.s2.purpose"),desc:c("solution.s2.desc"),file:".agents/skills/deploy.md"},{icon:i.jsx(Ii,{className:"text-emerald-400",size:24}),title:c("solution.s3.title"),purpose:c("solution.s3.purpose"),desc:c("solution.s3.desc"),file:".agents/rules/security.md"},{icon:i.jsx(_p,{className:"text-yellow-400",size:24}),title:c("solution.s4.title"),purpose:c("solution.s4.purpose"),desc:c("solution.s4.desc"),file:"docs/workflows/release.md"},{icon:i.jsx(Dt,{className:"text-brand-secondary",size:24}),title:c("solution.s5.title"),purpose:c("solution.s5.purpose"),desc:c("solution.s5.desc"),file:"templates/prompts/refactor.txt"},{icon:i.jsx(Rp,{className:"text-indigo-400",size:24}),title:c("solution.s6.title"),purpose:c("solution.s6.purpose"),desc:c("solution.s6.desc"),file:"tests/agent-rules.test.js"}];return i.jsxs("section",{id:"solution",className:"relative py-24 md:py-32 bg-[#060a12] tech-grid",children:[i.jsx("div",{className:"absolute top-1/4 right-0 w-[400px] h-[400px] rounded-full bg-brand-primary/5 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"absolute bottom-1/4 left-0 w-[400px] h-[400px] rounded-full bg-brand-secondary/5 blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:[i.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-4 mb-20",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-primary/10 border border-brand-primary/20 text-brand-accent text-xs font-mono",children:i.jsx("span",{children:c("solution.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white",children:[c("solution.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-indigo-300 to-brand-accent bg-clip-text text-transparent font-semibold",children:c("solution.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-base sm:text-lg font-light max-w-xl mx-auto",children:c("solution.subtitle")})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:A.map((T,d)=>i.jsxs("div",{className:"glass-card glass-panel-hover p-6 sm:p-8 flex flex-col justify-between group relative overflow-hidden",children:[i.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-gradient-to-bl from-brand-primary/5 via-transparent to-transparent pointer-events-none group-hover:from-brand-primary/10 transition-all duration-300"}),i.jsxs("div",{className:"space-y-5 text-left",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"p-3 bg-white/5 rounded-xl border border-white/10 text-slate-300 group-hover:bg-brand-primary/10 group-hover:border-brand-primary/20 transition duration-300",children:T.icon}),i.jsx("span",{className:"font-mono text-[10px] text-brand-secondary font-semibold uppercase tracking-wider",children:T.purpose})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx("h3",{className:"font-display font-semibold text-lg text-slate-100 group-hover:text-white transition duration-200",children:T.title}),i.jsx("p",{className:"text-slate-400 text-sm font-light leading-relaxed min-h-[72px]",children:T.desc})]})]}),i.jsxs("div",{className:"mt-6 pt-4 border-t border-white/5 flex items-center justify-between",children:[i.jsxs("span",{className:"font-mono text-[11px] text-slate-500 flex items-center gap-1.5",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-brand-secondary animate-pulse"}),c("solution.emits"),": ",i.jsx("span",{className:"text-slate-300 group-hover:text-brand-secondary transition",children:T.file})]}),i.jsx("span",{className:"text-[10px] bg-slate-800 text-slate-400 px-1.5 py-0.5 rounded font-mono group-hover:bg-brand-primary/20 group-hover:text-white transition",children:"YAML Config"})]})]},d))})]})]})}function F0(){const{t:c}=xt(),[A,T]=G.useState(0),d=[{id:"01",icon:i.jsx(cf,{className:"text-brand-secondary",size:24}),title:c("how.s1.title"),summary:c("how.s1.desc"),code:`// Initializing project stack scanning...
353
+ $ npx agent-workflow-kit-cli init
354
+ [INFO] Scanning root folder manifests...
355
+ [INFO] Detected Stack: React + TypeScript
356
+ [INFO] Resolving stack configurations...`},{id:"02",icon:i.jsx(Wi,{className:"text-brand-accent",size:24}),title:c("how.s2.title"),summary:c("how.s2.desc"),code:`// Matching templates...
357
+ $ Resolving presets target: [both]
358
+ [INFO] Loading templates/react-ts/...
359
+ [INFO] Preparing AGENTS.md template model.
360
+ [INFO] Mapping workspace rules and active skills.`},{id:"03",icon:i.jsx(Vp,{className:"text-emerald-400",size:24}),title:c("how.s3.title"),summary:c("how.s3.desc"),code:`// Writing local agent directories...
361
+ $ Writing templates to disk
362
+ [CREATE] AGENTS.md (Workspace root)
363
+ [CREATE] .agents/skills/react-feature/SKILL.md
364
+ [CREATE] .agents/skills/common/build-skill/SKILL.md`},{id:"04",icon:i.jsx(k0,{className:"text-amber-400",size:24}),title:c("how.s4.title"),summary:c("how.s4.desc"),code:`// Writing rules with selective scan...
365
+ $ Writing .agents/rules/react-style.md
366
+ [INFO] Optimized rule size: 913 bytes (~230 tokens)
367
+ [INFO] Configured Selective Config Scan directives.`},{id:"05",icon:i.jsx($p,{className:"text-indigo-400",size:24}),title:c("how.s5.title"),summary:c("how.s5.desc"),code:`// Running diagnostics and verification checks...
368
+ $ npx agent-workflow-kit-cli doctor
369
+ [CHECK] AGENTS.md format: PASS
370
+ [CHECK] Stack rules integrity: PASS
371
+ [CHECK] Pre-commit Git Hook: PASS
372
+ 🎉 Setup complete. AI workflow initialized successfully!`}];return i.jsxs("section",{id:"how-it-works",className:"relative py-24 md:py-32 bg-[#05070e] border-t border-white/5",children:[i.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[550px] h-[550px] rounded-full bg-brand-primary/5 blur-[130px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:[i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-end mb-16",children:[i.jsxs("div",{className:"lg:col-span-7 space-y-4",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-secondary/10 border border-brand-secondary/20 text-brand-secondary text-xs font-mono",children:i.jsx("span",{children:c("how.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white",children:[c("how.title")," ",i.jsx("br",{className:"hidden sm:inline"}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-semibold",children:c("how.titleHighlight")})]})]}),i.jsx("div",{className:"lg:col-span-5",children:i.jsx("p",{className:"text-slate-400 font-light text-base leading-relaxed",children:c("how.subtitle")})})]}),i.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-5 gap-3 mb-10 relative",children:[i.jsx("div",{className:"absolute top-0 left-[5%] right-[5%] h-[2px] bg-gradient-to-r from-brand-secondary/30 via-brand-primary/40 to-indigo-500/30 dark:from-brand-secondary/10 dark:via-brand-primary/20 dark:to-indigo-500/10 hidden sm:block pointer-events-none"}),d.map((M,C)=>i.jsxs("button",{onClick:()=>T(C),className:`p-5 rounded-xl border text-left transition duration-300 relative group flex flex-col justify-between ${A===C?"bg-brand-bg-card border-brand-primary/50 shadow-xl shadow-brand-primary/5":"bg-white/3 border-white/5 hover:bg-white/5 hover:border-white/10"}`,children:[i.jsx("div",{className:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 rounded-full bg-brand-bg-darker border-2 border-slate-300 dark:border-slate-700 pointer-events-none hidden sm:block"}),A===C&&i.jsx("div",{className:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 rounded-full bg-brand-secondary pointer-events-none animate-ping hidden sm:block"}),i.jsxs("div",{className:"flex sm:flex-col items-center sm:items-start justify-between gap-4",children:[i.jsxs("span",{className:"font-mono text-xs text-slate-500 group-hover:text-slate-300 transition duration-200",children:[c("how.step")," ",M.id]}),i.jsx("span",{className:`p-2 rounded-lg ${A===C?"bg-brand-primary/10 text-white":"bg-white/5 text-slate-400"}`,children:M.icon})]}),i.jsx("div",{className:"mt-4",children:i.jsx("h3",{className:`font-display text-xs sm:text-sm font-semibold whitespace-nowrap truncate ${A===C?"text-brand-secondary":"text-slate-200"}`,children:M.title})})]},C))]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 glass-card p-6 sm:p-8",children:[i.jsxs("div",{className:"lg:col-span-5 flex flex-col justify-between space-y-6",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsx("span",{className:"font-mono text-xs text-brand-secondary font-bold tracking-wider",children:c("how.active")}),i.jsx("h3",{className:"font-display font-medium text-xl sm:text-2xl text-white",children:d[A].title}),i.jsx("p",{className:"text-slate-400 text-sm font-light leading-relaxed",children:d[A].summary})]}),i.jsxs("div",{className:"space-y-3.5 pt-4 border-t border-white/5",children:[i.jsxs("div",{className:"flex items-start gap-2 text-xs font-mono text-slate-400",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-brand-secondary mt-1.5"}),i.jsx("span",{children:c("how.detail1")})]}),i.jsxs("div",{className:"flex items-start gap-2 text-xs font-mono text-slate-400",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-brand-secondary mt-1.5"}),i.jsx("span",{children:c("how.detail2")})]})]})]}),i.jsxs("div",{className:"lg:col-span-7 rounded-xl bg-brand-bg-darker/90 border border-white/10 overflow-hidden flex flex-col text-left",children:[i.jsxs("div",{className:"px-4 py-2.5 bg-[#080d19] border-b border-white/5 flex items-center justify-between",children:[i.jsx("span",{className:"font-mono text-[10px] text-slate-500 font-semibold uppercase",children:c("how.logs")}),i.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-emerald-500"})]}),i.jsx("pre",{className:"p-5 font-mono text-[11px] sm:text-xs text-slate-300 leading-relaxed overflow-x-auto whitespace-pre",children:i.jsx("code",{children:d[A].code})})]})]})]})]})}function P0(){const{t:c}=xt(),[A,T]=G.useState("src"),d={src:{title:"src/",desc:c("repo.node.src.desc"),role:c("repo.node.src.role"),command:"npm run build"},cli:{title:"src/cli/",desc:c("repo.node.cli.desc"),role:c("repo.node.cli.role"),command:"npx agent-workflow-kit-cli --help"},core:{title:"src/core/",desc:c("repo.node.core.desc"),role:c("repo.node.core.role"),command:"npm run test"},awos:{title:"src/core/awos/",desc:c("repo.node.awos.desc"),role:c("repo.node.awos.role"),command:"agent-workflow-kit-cli run ./workflow.json"},detectors:{title:"src/core/parser.ts & analyzer.ts",desc:c("repo.node.detectors.desc"),role:c("repo.node.detectors.role"),command:"agent-workflow-kit-cli doctor"},packs:{title:"src/core/awos/profiles.ts",desc:c("repo.node.packs.desc"),role:c("repo.node.packs.role"),command:"agent-workflow-kit-cli profile"},emitters:{title:"src/core/emitter.ts",desc:c("repo.node.emitters.desc"),role:c("repo.node.emitters.role"),command:"agent-workflow-kit-cli sync"},templates:{title:"templates/",desc:c("repo.node.templates.desc"),role:c("repo.node.templates.role"),command:"Custom templates priority inside awk.config.json"},agents:{title:".agents/",desc:c("repo.node.agents.desc"),role:c("repo.node.agents.role"),command:"Loaded dynamically via AGENTS.md"},skills:{title:".agents/skills/",desc:c("repo.node.skills.desc"),role:c("repo.node.skills.role"),command:"Loaded dynamically by agents"}},M=d[A]||d.src;return i.jsxs("section",{id:"repo-structure",className:"relative py-24 md:py-32 bg-[#060a12] tech-grid border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/3 left-0 w-[450px] h-[450px] rounded-full bg-brand-secondary/5 blur-[120px] pointer-events-none"}),i.jsx("div",{className:"absolute bottom-10 right-0 w-[350px] h-[350px] rounded-full bg-brand-primary/5 blur-[100px] pointer-events-none animate-slow-pulse"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:[i.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-4 mb-20",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-primary/10 border border-brand-primary/25 text-brand-primary text-xs font-mono font-medium",children:i.jsx("span",{children:c("repo.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white",children:[c("repo.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-indigo-300 to-brand-accent bg-clip-text text-transparent font-semibold",children:c("repo.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light max-w-lg mx-auto",children:c("repo.subtitle")})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-stretch max-w-6xl mx-auto",children:[i.jsxs("div",{className:"lg:col-span-6 glass-card overflow-hidden flex flex-col min-h-[460px] shadow-xl",children:[i.jsxs("div",{className:"px-5 py-3.5 bg-[#070b16] border-b border-white/10 flex items-center justify-between",children:[i.jsxs("span",{className:"font-mono text-xs text-slate-400 font-semibold flex items-center gap-2",children:[i.jsx(We,{size:14,className:"text-brand-secondary"}),i.jsx("span",{children:"agent-workflow-kit-cli /"})]}),i.jsx("span",{className:"text-[10px] bg-brand-primary/20 text-brand-accent px-1.5 py-0.5 rounded font-mono",children:"workspace.json"})]}),i.jsxs("div",{className:"p-6 flex-grow font-mono text-xs sm:text-[13px] text-slate-300 space-y-2 select-none overflow-y-auto",children:[i.jsx("div",{className:"text-slate-500 font-sans italic text-[11px] mb-4",children:c("repo.hint")}),i.jsxs("div",{className:"flex items-center gap-1 text-slate-400",children:[i.jsx(Zi,{size:14}),i.jsx(We,{size:14,className:"text-brand-primary"}),i.jsx("span",{children:"agent-workflow-kit-cli/"})]}),i.jsxs("div",{className:"pl-4 space-y-1.5",children:[i.jsxs("button",{onClick:()=>T("src"),className:`flex items-center gap-1.5 px-2 py-1 rounded transition duration-150 w-full text-left ${A==="src"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(Zi,{size:14}),i.jsx(We,{size:14,className:"text-brand-secondary"}),i.jsxs("span",{children:["src/ ",i.jsx("span",{className:"text-slate-500 text-[10px] font-normal italic",children:"← Main runtime"})]})]}),i.jsxs("div",{className:"pl-6 space-y-1 border-l border-white/5 ml-2.5",children:[i.jsxs("button",{onClick:()=>T("cli"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="cli"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-brand-accent"}),i.jsx("span",{children:"cli/"})]}),i.jsxs("div",{className:"flex flex-col",children:[i.jsxs("button",{onClick:()=>T("core"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="core"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(Zi,{size:12,className:"text-slate-500 shrink-0"}),i.jsx(We,{size:14,className:"text-brand-accent font-semibold"}),i.jsx("span",{children:"core/"})]}),i.jsx("div",{className:"pl-4 ml-1.5 border-l border-white/5 py-0.5",children:i.jsxs("button",{onClick:()=>T("awos"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="awos"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-emerald-400"}),i.jsxs("span",{children:["awos/ ",i.jsx("span",{className:"text-brand-secondary text-[9px] font-normal",children:"[AWOS Engine]"})]})]})})]}),i.jsxs("button",{onClick:()=>T("detectors"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="detectors"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-brand-accent"}),i.jsx("span",{children:"parsers/"})]}),i.jsxs("button",{onClick:()=>T("packs"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="packs"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-brand-accent"}),i.jsx("span",{children:"profiles/"})]}),i.jsxs("button",{onClick:()=>T("emitters"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="emitters"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-brand-accent"}),i.jsx("span",{children:"emitters/"})]})]})]}),i.jsx("div",{className:"pl-4",children:i.jsxs("button",{onClick:()=>T("templates"),className:`flex items-center gap-1.5 px-2 py-1 rounded transition duration-150 w-full text-left ${A==="templates"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(Fi,{size:14}),i.jsx(We,{size:14,className:"text-brand-secondary"}),i.jsx("span",{children:"templates/"})]})}),i.jsxs("div",{className:"pl-4 space-y-1.5",children:[i.jsxs("button",{onClick:()=>T("agents"),className:`flex items-center gap-1.5 px-2 py-1 rounded transition duration-150 w-full text-left ${A==="agents"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(Zi,{size:14}),i.jsx(We,{size:14,className:"text-brand-secondary"}),i.jsxs("span",{children:[".agents/ ",i.jsx("span",{className:"text-brand-accent text-[10px] font-normal",children:"(AI Target)"})]})]}),i.jsxs("div",{className:"pl-6 space-y-1 border-l border-white/5 ml-2.5",children:[i.jsxs("button",{onClick:()=>T("skills"),className:`flex items-center gap-1.5 px-2 py-0.5 rounded transition duration-150 w-full text-left ${A==="skills"?"bg-brand-primary/20 text-white font-semibold":"hover:bg-white/5"}`,children:[i.jsx(We,{size:14,className:"text-emerald-400"}),i.jsx("span",{children:"skills/"})]}),i.jsxs("div",{className:"flex items-center gap-1.5 px-2 py-0.5 text-slate-500",children:[i.jsx(We,{size:14}),i.jsx("span",{children:"rules/"})]})]})]}),i.jsxs("div",{className:"pl-4 flex items-center gap-1.5 px-2 py-1 text-slate-400",children:[i.jsx(Fi,{size:14,className:"opacity-0"}),i.jsx(We,{size:14,className:"text-slate-500"}),i.jsxs("span",{children:["fixtures/ ",i.jsx("span",{className:"text-slate-600 text-[10px] font-normal",children:"(Snapshot goldens)"})]})]})]})]}),i.jsxs("div",{className:"lg:col-span-6 flex flex-col justify-between p-6 sm:p-8 glass-card relative overflow-hidden transition duration-300",children:[i.jsx("div",{className:"absolute -bottom-10 -right-10 w-44 h-44 bg-brand-primary/10 rounded-full blur-3xl pointer-events-none"}),i.jsxs("div",{className:"space-y-6 text-left",children:[i.jsxs("div",{className:"flex items-center gap-2 font-mono text-[11px] text-slate-500",children:[i.jsx("span",{children:c("repo.breadcrumb")}),i.jsx("span",{children:"/"}),i.jsx("span",{className:"text-brand-secondary font-bold",children:M.title})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsx("div",{className:"inline-flex items-center gap-1 rounded bg-[#0f172a] px-2.5 py-1 text-xs font-semibold text-brand-accent select-none",children:M.role}),i.jsx("h3",{className:"font-display font-medium text-2xl text-white",children:M.title}),i.jsx("p",{className:"text-slate-400 text-sm font-light leading-relaxed",children:M.desc})]}),i.jsxs("div",{className:"space-y-3 pt-6 border-t border-white/5",children:[i.jsx("h4",{className:"text-[11px] font-mono font-bold text-slate-400 uppercase tracking-widest",children:c("repo.titleCaps")}),i.jsxs("div",{className:"flex items-center gap-2.5 text-xs text-slate-300",children:[i.jsx(Xh,{size:14,className:"text-emerald-400 shrink-0"}),i.jsx("span",{children:c("repo.cap1")})]}),i.jsxs("div",{className:"flex items-center gap-2.5 text-xs text-slate-300",children:[i.jsx(Xh,{size:14,className:"text-emerald-400 shrink-0"}),i.jsx("span",{children:c("repo.cap2")})]})]})]}),i.jsxs("div",{className:"mt-8 rounded-xl bg-brand-bg-darker border border-white/5 p-4 flex flex-col gap-2 select-none text-left",children:[i.jsx("span",{className:"font-mono text-[10px] text-slate-500",children:c("repo.syntax")}),i.jsxs("div",{className:"flex items-center gap-2 font-mono text-xs text-brand-secondary",children:[i.jsx(Dt,{size:14}),i.jsx("span",{className:"truncate",children:M.command})]})]})]})]})]})]})}function ex(){const{t:c}=xt(),[A,T]=G.useState("ui"),[d,M]=G.useState(null),[C,Q]=G.useState({}),Y=[{id:"ui",keyword:"npx agent-workflow-kit-cli ui",title:c("cmd.ui.title"),desc:c("cmd.ui.desc"),usecase:c("cmd.ui.usecase"),options:[{name:"--port",defaultValue:"4321",desc:"Local server port to bind the configuration web app to",choices:["4321","3000","8080"]}]},{id:"init",keyword:"npx agent-workflow-kit-cli init",title:c("cmd.init.title"),desc:c("cmd.init.desc"),usecase:c("cmd.init.usecase"),options:[{name:"--agent",defaultValue:"both",desc:"Target agent framework presets: 'antigravity' | 'codex' | 'both'",choices:["both","antigravity","codex"]},{name:"--stack",defaultValue:"auto",desc:"Force standard package layouts: 'react-ts' | 'spring-boot' | 'fastapi' | 'auto'",choices:["auto","react-ts","spring-boot","fastapi"]},{name:"--dry-run",defaultValue:"false",desc:"Visualize output markdown configurations in console instead of writing disk blocks",choices:["false","true"]}]},{id:"add",keyword:"npx agent-workflow-kit-cli add react-ts --path apps/web",title:c("cmd.add.title"),desc:c("cmd.add.desc"),usecase:c("cmd.add.usecase"),options:[{name:"--path",defaultValue:".",desc:"Relative directory path hosting the sub-project workspace files",choices:[".","apps/web","services/api"]},{name:"--agent",defaultValue:"both",desc:"Target agent framework presets: 'antigravity' | 'codex' | 'both'",choices:["both","antigravity","codex"]},{name:"--dry-run",defaultValue:"false",desc:"Output rules and files to console instead of writing to disk",choices:["false","true"]}]},{id:"sync",keyword:"npx agent-workflow-kit-cli sync",title:c("cmd.sync.title"),desc:c("cmd.sync.desc"),usecase:c("cmd.sync.usecase"),options:[{name:"--dry-run",defaultValue:"false",desc:"Log planned sync updates without updating files on disk",choices:["false","true"]}]},{id:"doctor",keyword:"npx agent-workflow-kit-cli doctor",title:c("cmd.doctor.title"),desc:c("cmd.doctor.desc"),usecase:c("cmd.doctor.usecase"),options:[{name:"--install-hook",defaultValue:"false",desc:"Installs a pre-commit Git hook that triggers doctor checks",choices:["false","true"]}]},{id:"export",keyword:"npx agent-workflow-kit-cli export antigravity",title:c("cmd.export.title"),desc:c("cmd.export.desc"),usecase:c("cmd.export.usecase"),options:[{name:"--no-clipboard",defaultValue:"false",desc:"Do not copy the exported instructions to clipboard",choices:["false","true"]},{name:"-o, --output",defaultValue:"",desc:"Write exported prompt structure directly to a file (headless SSH/CI environments)",choices:["","exported.md"]}]},{id:"profile",keyword:"npx agent-workflow-kit-cli profile",title:c("cmd.profile.title"),desc:c("cmd.profile.desc"),usecase:c("cmd.profile.usecase"),options:[{name:"--profile",defaultValue:"",desc:"Override target profile name: 'layered' | 'clean-architecture' | 'feature-first'",choices:["","clean-architecture","feature-first"]}]},{id:"run",keyword:"npx agent-workflow-kit-cli run ./my-workflow.json",title:c("cmd.run.title"),desc:c("cmd.run.desc"),usecase:c("cmd.run.usecase"),options:[{name:"--inputs",defaultValue:"'{}'",desc:"Input parameters JSON file path or inline JSON string",choices:["'{}'","./params.json"]},{name:"--dry-run",defaultValue:"false",desc:"Execute nodes in dry-run simulation mode using mockOutput",choices:["false","true"]}]},{id:"resume",keyword:"npx agent-workflow-kit-cli resume run_1a2b3c",title:c("cmd.resume.title"),desc:c("cmd.resume.desc"),usecase:c("cmd.resume.usecase"),options:[]},{id:"workflow",keyword:"npx agent-workflow-kit-cli workflow list",title:c("cmd.workflow.title"),desc:c("cmd.workflow.desc"),usecase:c("cmd.workflow.usecase"),options:[{name:"--inputs",defaultValue:"'{}'",desc:"JSON parameters inline or path file overrides",choices:["'{}'","./params.json"]},{name:"--dry-run",defaultValue:"false",desc:"Execute registered workflow packs in dry-run simulation mode",choices:["false","true"]}]},{id:"role",keyword:"npx agent-workflow-kit-cli role list",title:c("cmd.role.title"),desc:c("cmd.role.desc"),usecase:c("cmd.role.usecase"),options:[]},{id:"adr",keyword:"npx agent-workflow-kit-cli adr create",title:c("cmd.adr.title"),desc:c("cmd.adr.desc"),usecase:c("cmd.adr.usecase"),options:[{name:"--title",defaultValue:"Decision",desc:"Short title statement summarizing the architecture decision",choices:["Decision","Postgres-Migration","Auth-Refactor"]},{name:"--status",defaultValue:"proposed",desc:"Current record state: 'proposed' | 'accepted' | 'rejected' | 'superseded'",choices:["proposed","accepted","rejected","superseded"]},{name:"--context",defaultValue:"'Explain the problem...'",desc:"Context background explanation",choices:["'Explain the problem...'","'Database load migration'","'Security breach fix'"]},{name:"--decision",defaultValue:"'Detail what will change...'",desc:"Architectural decision detail statement",choices:["'Detail what will change...'","'Migration to PostgreSQL'","'Enable MFA for admin API'"]},{name:"--consequences",defaultValue:"'What are positive or negative consequences...'",desc:"Repercussions of decision taken",choices:["'What are positive or negative consequences...'","'Slower writes but consistent reads'","'Higher api latency'"]},{name:"--decision-maker",defaultValue:"'AWOS System'",desc:"Role or name of decider",choices:["'AWOS System'","'CTO Office'","'Antigravity Agent'"]}]}],S=Y.find(z=>z.id===A)||Y[0],v=(z,$)=>{navigator.clipboard.writeText(z),M($),setTimeout(()=>M(null),2e3)},D=(z=>{let $=`npx agent-workflow-kit-cli ${z.id}`;if(z.id==="ui")$="npx agent-workflow-kit-cli ui";else if(z.id==="add")$="npx agent-workflow-kit-cli add react-ts";else if(z.id==="export")$="npx agent-workflow-kit-cli export antigravity";else if(z.id==="run")$="npx agent-workflow-kit-cli run ./my-workflow.json";else if(z.id==="resume")$="npx agent-workflow-kit-cli resume run_1a2b3c";else if(z.id==="workflow"){const F=C[z.id]||{},ie=F["--inputs"]!==void 0&&F["--inputs"]!=="'{}'",ve=F["--dry-run"]==="true";ie||ve?$="npx agent-workflow-kit-cli workflow run pr-verification":$="npx agent-workflow-kit-cli workflow list"}else z.id==="role"?$="npx agent-workflow-kit-cli role list":z.id==="adr"&&($="npx agent-workflow-kit-cli adr create");const xe=C[z.id]||{};return z.options.forEach(F=>{const ie=xe[F.name]!==void 0?xe[F.name]:F.defaultValue;ie==="true"?$+=` ${F.name}`:ie!=="false"&&ie!=="current"&&ie!==""&&($+=` ${F.name} ${ie}`)}),$})(S);return i.jsxs("section",{id:"commands",className:"relative py-24 md:py-32 bg-[#05070e] border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/2 left-1/4 w-[500px] h-[500px] rounded-full bg-indigo-500/5 blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:[i.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-4 mb-20",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-primary/10 border border-brand-primary/20 text-brand-accent text-xs font-mono",children:i.jsx("span",{children:c("cmd.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white",children:[c("cmd.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-indigo-300 to-brand-accent bg-clip-text text-transparent font-semibold",children:c("cmd.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light max-w-lg mx-auto",children:c("cmd.subtitle")})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 max-w-6xl mx-auto items-stretch",children:[i.jsxs("div",{className:"lg:col-span-4 flex flex-col gap-2 glass-card p-4 border border-white/5 h-fit",children:[i.jsx("span",{className:"font-mono text-[10px] text-slate-500 font-bold px-3 mb-2 uppercase tracking-widest",children:c("cmd.header")}),Y.map(z=>i.jsxs("button",{onClick:()=>T(z.id),className:`px-4 py-3.5 rounded-xl font-mono text-xs text-left transition flex items-center justify-between group ${A===z.id?"bg-brand-primary/20 text-brand-secondary border border-brand-primary/40 font-semibold":"text-slate-400 hover:text-white hover:bg-white/5 border border-transparent"}`,children:[i.jsx("span",{className:"truncate",children:z.id}),i.jsx("span",{className:`text-[10px] px-1.5 py-0.5 rounded ${A===z.id?"bg-brand-secondary/20 text-white":"bg-white/5 text-slate-500 group-hover:bg-white/10"}`,children:z.id==="run"||z.id==="resume"||z.id==="workflow"?"AWOS":"Core CLI"})]},z.id))]}),i.jsx("div",{className:"lg:col-span-8 glass-card p-6 sm:p-8 flex flex-col justify-between shadow-2xl relative overflow-hidden transition-all",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-4 border-b border-white/5",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"font-display font-medium text-lg sm:text-xl text-white",children:S.title}),i.jsx("code",{className:"text-[10px] text-slate-400 font-mono",children:"bin: agent-workflow-kit-cli"})]}),i.jsx("div",{className:"flex items-center gap-1 px-2 py-0.5 rounded bg-[#0a0f1d] border border-white/5 font-mono text-[10px] text-indigo-400",children:i.jsx("span",{children:"cli-core v1.3.0 (v1.3.1 debug)"})})]}),i.jsxs("div",{className:"space-y-4 text-left",children:[i.jsx("p",{className:"text-slate-300 text-sm font-light leading-relaxed",children:S.desc}),i.jsxs("div",{className:"p-4 rounded-xl bg-slate-900/45 border border-white/5 flex gap-2.5 items-start",children:[i.jsx(lf,{size:16,className:"text-brand-accent shrink-0 mt-0.5"}),i.jsxs("div",{className:"space-y-0.5",children:[i.jsx("span",{className:"font-mono text-[10px] text-slate-400 font-bold uppercase tracking-wider block",children:c("cmd.usecase")}),i.jsx("p",{className:"text-slate-400 text-xs font-light",children:S.usecase})]})]})]}),i.jsxs("div",{className:"relative rounded-xl border border-white/10 overflow-hidden shadow-2xl",children:[i.jsxs("div",{className:"flex items-center justify-between px-4 py-2 bg-[#070b16] border-b border-white/10 font-mono text-[9px] sm:text-[10px] text-slate-500 font-bold uppercase tracking-widest",children:[i.jsx("span",{children:c("cmd.genTitle")}),i.jsxs("div",{className:"flex items-center gap-1.5 font-mono text-[9px]",children:[i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"}),i.jsx("span",{className:"text-emerald-500",children:c("cmd.ready")})]})]}),i.jsxs("div",{className:"p-5 bg-slate-950 flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 font-mono text-xs sm:text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2.5 min-w-0 flex-grow text-left",children:[i.jsx(Dt,{size:15,className:"text-brand-secondary shrink-0"}),i.jsx("span",{className:"text-indigo-300 font-semibold select-all truncate leading-none",children:D})]}),i.jsx("button",{onClick:()=>v(D,S.id),className:`flex items-center gap-1.5 px-3.5 py-2.5 rounded-lg border text-xs transition-all duration-200 shrink-0 select-none cursor-pointer ${d===S.id?"bg-emerald-950/30 border-emerald-500/30 text-emerald-400 font-semibold shadow-md shadow-emerald-950/20":"bg-white/5 hover:bg-white/10 border-white/10 text-slate-300 hover:text-white"}`,title:"Copy full command",children:d===S.id?i.jsxs(i.Fragment,{children:[i.jsx(Gt,{size:14,className:"text-emerald-400"}),i.jsx("span",{children:c("cmd.copied")})]}):i.jsxs(i.Fragment,{children:[i.jsx(Pi,{size:14,className:"text-slate-400"}),i.jsx("span",{children:c("cmd.copy")})]})})]})]}),S.options.length>0&&i.jsxs("div",{className:"space-y-4 pt-4 text-left",children:[i.jsx("span",{className:"font-mono text-[10px] text-slate-500 font-semibold uppercase tracking-wider block",children:c("cmd.flags")}),i.jsx("div",{className:"border border-white/5 rounded-xl overflow-hidden divide-y divide-white/5 bg-[#0a0f1d]/20 text-xs",children:S.options.map((z,$)=>{const xe=(C[S.id]||{})[z.name]??z.defaultValue;return i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between p-4 gap-4",children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("code",{className:"text-brand-secondary font-mono font-bold text-[11.5px] bg-brand-secondary/5 px-1.5 py-0.5 rounded border border-brand-secondary/10",children:z.name}),i.jsxs("span",{className:"text-[10px] font-mono text-slate-500 uppercase tracking-wider",children:[c("cmd.default"),": ",z.defaultValue]})]}),i.jsx("p",{className:"text-slate-400 text-xs leading-relaxed font-light font-sans",children:z.desc})]}),i.jsx("div",{className:"flex flex-wrap items-center gap-1.5 sm:justify-end shrink-0",children:z.choices?z.choices.map(F=>{const ie=xe===F;return i.jsx("button",{onClick:()=>{Q(ve=>({...ve,[S.id]:{...ve[S.id]||{},[z.name]:F}})),M(null)},className:`px-3 py-1.5 rounded-lg text-xs font-mono transition-all duration-150 cursor-pointer ${ie?"bg-brand-primary/20 text-white font-bold border border-brand-primary/30 shadow-inner":"bg-slate-900/50 hover:bg-white/5 border border-white/5 text-slate-400 hover:text-slate-200"}`,children:F},F)}):i.jsx("span",{className:"text-slate-500 font-mono text-[11px] italic",children:"Custom value"})})]},$)})})]})]})})]})]})]})}const uf="/assets/ReactTS-Cv7D5v-r.png",df="/assets/nextjs-DIQjv1J3.png",hf="/assets/nestjs-CZk_FY6t.png",ff="/assets/expressjs-cjiJ1MIq.png",mf="/assets/springbootjava--7jHXzq_.jpg",gf="data:image/svg+xml,%3csvg%20width='456'%20height='456'%20viewBox='0%200%20456%20456'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='456'%20height='456'%20fill='%23512BD4'/%3e%3cpath%20d='M81.2738%20291.333C78.0496%20291.333%2075.309%20290.259%2073.052%20288.11C70.795%20285.906%2069.6665%20283.289%2069.6665%20280.259C69.6665%20277.173%2070.795%20274.529%2073.052%20272.325C75.309%20270.121%2078.0496%20269.019%2081.2738%20269.019C84.5518%20269.019%2087.3193%20270.121%2089.5763%20272.325C91.887%20274.529%2093.0424%20277.173%2093.0424%20280.259C93.0424%20283.289%2091.887%20285.906%2089.5763%20288.11C87.3193%20290.259%2084.5518%20291.333%2081.2738%20291.333Z'%20fill='white'/%3e%3cpath%20d='M210.167%20289.515H189.209L133.994%20202.406C132.597%20200.202%20131.441%20197.915%20130.528%20195.546H130.044C130.474%20198.081%20130.689%20203.508%20130.689%20211.827V289.515H112.149V171H134.477L187.839%20256.043C190.096%20259.57%20191.547%20261.994%20192.192%20263.316H192.514C191.977%20260.176%20191.708%20254.859%20191.708%20247.365V171H210.167V289.515Z'%20fill='white'/%3e%3cpath%20d='M300.449%20289.515H235.561V171H297.87V187.695H254.746V221.249H294.485V237.861H254.746V272.903H300.449V289.515Z'%20fill='white'/%3e%3cpath%20d='M392.667%20187.695H359.457V289.515H340.272V187.695H307.143V171H392.667V187.695Z'%20fill='white'/%3e%3c/svg%3e",pf="/assets/golang-DWpOzDNa.png",xf="/assets/rust-A_NnBwqP.png",tx="/assets/python-CfV_cs4B.png",yf="/assets/devops-DfKGji1l.png",bf="/assets/drawio-D1K35acK.png";function ax(){const{t:c}=xt(),[A,T]=G.useState(null),d=[{title:"React + TypeScript",icon:i.jsx("img",{src:uf,alt:"React + TypeScript",className:"w-6 h-6 object-contain"}),badge:"Frontend Preset",files:["AGENTS.md",".agents/skills/react-feature/SKILL.md",".agents/rules/react-style.md","feature-first hooks + state rules"],validation:"npx agent-workflow-kit-cli init --stack react-ts",bestFit:c("stack.fit.react")},{title:"Next.js App Router",icon:i.jsx("img",{src:df,alt:"Next.js",className:"w-6 h-6 object-contain"}),badge:"Frontend Preset",files:["AGENTS.md",".agents/skills/next-feature/SKILL.md",".agents/rules/next-style.md","RSC vs RCC rendering rules"],validation:"npx agent-workflow-kit-cli init --stack next-js",bestFit:c("stack.fit.nextjs")},{title:"NestJS (Node.js)",icon:i.jsx("img",{src:hf,alt:"NestJS",className:"w-6 h-6 object-contain rounded"}),badge:"Backend Preset",files:["AGENTS.md",".agents/skills/nestjs-module/SKILL.md",".agents/rules/nestjs-style.md","ExceptionFilter structured errors"],validation:"npx agent-workflow-kit-cli init --stack nestjs",bestFit:c("stack.fit.nestjs")},{title:"Express.js (Node.js)",icon:i.jsx("img",{src:ff,alt:"Express.js",className:"w-6 h-6 object-contain rounded-sm"}),badge:"Backend Preset",files:["AGENTS.md",".agents/skills/express-endpoint/SKILL.md",".agents/rules/express-style.md","asyncHandler + Zod validation"],validation:"npx agent-workflow-kit-cli init --stack express",bestFit:c("stack.fit.express")},{title:"Java Spring Boot",icon:i.jsx("img",{src:mf,alt:"Java Spring Boot",className:"w-6 h-6 object-contain rounded"}),badge:"Backend Preset",files:["AGENTS.md",".agents/skills/spring-feature/SKILL.md",".agents/rules/java-style.md","managed nested AGENTS.md"],validation:"npx agent-workflow-kit-cli init --stack spring-boot",bestFit:c("stack.fit.spring")},{title:"Python",icon:i.jsx("img",{src:tx,alt:"Python",className:"w-6 h-6 object-contain"}),badge:"API REST Preset",files:["AGENTS.md",".agents/skills/fastapi-feature/SKILL.md",".agents/rules/python-style.md","PEP 8 + schema naming rules"],validation:"npx agent-workflow-kit-cli init --stack fastapi",bestFit:c("stack.fit.fastapi")},{title:".NET (C# / dotnet)",icon:i.jsx("img",{src:gf,alt:".NET",className:"w-6 h-6 object-contain"}),badge:"Backend Preset",files:["AGENTS.md",".agents/skills/dotnet-controller/SKILL.md",".agents/rules/csharp-style.md","Clean/Onion architecture rules"],validation:"npx agent-workflow-kit-cli init --stack dotnet",bestFit:c("stack.fit.dotnet")},{title:"Golang (Go)",icon:i.jsx("img",{src:pf,alt:"Golang",className:"w-6 h-6 object-contain"}),badge:"Backend Preset",files:["AGENTS.md (embeds 4 Pillars)",".agents/rules/golang-style.md",".agents/rules/project-layout.md",".agents/rules/error-handling.md",".agents/rules/concurrency.md"],validation:"npx agent-workflow-kit-cli init --stack golang",bestFit:c("stack.fit.golang")},{title:"Rust (Cargo)",icon:i.jsx("img",{src:xf,alt:"Rust",className:"w-6 h-6 object-contain"}),badge:"Backend Preset",files:["AGENTS.md (embeds 4 Pillars)",".agents/rules/rust-style.md",".agents/rules/project-layout.md",".agents/rules/error-handling.md",".agents/rules/memory-concurrency.md"],validation:"npx agent-workflow-kit-cli init --stack rust",bestFit:c("stack.fit.rust")},{title:"Draw.io Diagram Preset",icon:i.jsx("img",{src:bf,alt:"Draw.io",className:"w-6 h-6 object-contain"}),badge:"Design Pack",files:["AGENTS.md (Monochrome rules)",".agents/skills/drawio-diagram/SKILL.md","Supports 10 UML & System Diagram types"],validation:"npx agent-workflow-kit-cli add diagram",bestFit:c("stack.fit.diagram")},{title:"Docker & GitHub Actions",icon:i.jsx("img",{src:yf,alt:"DevOps",className:"w-6 h-6 object-contain"}),badge:"DevOps Pack",files:["AGENTS.md (Deployment guidelines)",".agents/skills/devops/SKILL.md","Dockerfile & CI/CD templates for 6 stacks"],validation:"npx agent-workflow-kit-cli add devops",bestFit:c("stack.fit.devops")}],M=C=>{navigator.clipboard.writeText(C),T(C),setTimeout(()=>T(null),1800)};return i.jsxs("section",{id:"stack-packs",className:"relative py-24 md:py-32 bg-[#060a12] tech-grid border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/4 right-0 w-[500px] h-[500px] rounded-full bg-brand-primary/5 blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:[i.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-4 mb-20",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-brand-secondary/10 border border-brand-secondary/25 rounded-full text-brand-secondary text-xs font-mono font-medium",children:i.jsx("span",{children:c("stack.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white",children:[c("stack.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-semibold",children:c("stack.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light max-w-lg mx-auto",children:c("stack.subtitle")})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[d.map((C,Q)=>i.jsxs("div",{className:"glass-card border border-white/8 hover:border-brand-primary/20 hover:shadow-2xl hover:shadow-brand-primary/5 p-6 flex flex-col justify-between group transition-all duration-300 relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-x-0 top-0 h-[1px] bg-gradient-to-r from-transparent via-brand-secondary/20 to-transparent group-hover:via-brand-secondary/50 transition duration-500"}),i.jsxs("div",{className:"space-y-6 text-left",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("div",{className:"p-2.5 rounded-xl bg-white/5 border border-white/5 text-slate-300 group-hover:bg-white/10 transition duration-300",children:C.icon}),i.jsx("span",{className:"text-[10px] font-mono text-brand-accent bg-brand-primary/10 px-2 py-0.5 rounded border border-brand-primary/15",children:C.badge})]}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsx("h3",{className:"font-display font-semibold text-base text-white group-hover:text-brand-secondary transition",children:C.title}),i.jsx("p",{className:"text-slate-400 text-[11px] font-light leading-relaxed min-h-[33px]",children:C.bestFit})]}),i.jsxs("div",{className:"space-y-2.5 pt-4 border-t border-white/5",children:[i.jsx("span",{className:"text-[10px] font-mono font-bold text-slate-500 uppercase tracking-widest block",children:c("stack.docTitle")}),i.jsx("div",{className:"space-y-2 flex flex-col",children:C.files.map((Y,S)=>i.jsxs("div",{className:"flex items-start gap-2 font-mono text-[11px] text-slate-300",children:[i.jsx(t0,{size:11,className:"text-brand-accent shrink-0 mt-0.5"}),i.jsx("span",{className:"break-all leading-relaxed",children:Y})]},S))})]})]}),i.jsxs("div",{className:"mt-8 pt-4 border-t border-white/5 space-y-3 text-left",children:[i.jsxs("div",{className:"flex items-center justify-between gap-3",children:[i.jsx("span",{className:"text-[9px] font-mono text-slate-500 uppercase block tracking-wider",children:c("stack.cmdTitle")}),i.jsx("button",{type:"button",onClick:()=>M(C.validation),className:"inline-flex items-center gap-1.5 rounded-md border border-white/10 bg-white/5 px-2.5 py-1.5 text-[10px] font-mono text-slate-300 transition hover:border-brand-secondary/30 hover:bg-brand-secondary/10 hover:text-white",title:`Copy ${C.title} command`,children:A===C.validation?i.jsxs(i.Fragment,{children:[i.jsx(Gt,{size:12,className:"text-emerald-400"}),i.jsx("span",{children:c("stack.copied")})]}):i.jsxs(i.Fragment,{children:[i.jsx(Pi,{size:12,className:"text-brand-secondary"}),i.jsx("span",{children:c("stack.copy")})]})})]}),i.jsx("code",{className:"block whitespace-normal break-all rounded-lg border border-white/5 bg-slate-950/45 px-3 py-2 text-[11px] font-mono leading-relaxed text-brand-secondary",children:C.validation})]})]},Q)),i.jsx("div",{className:"border border-dashed border-white/10 rounded-2xl p-6 flex flex-col justify-between text-center items-center h-full min-h-[220px] bg-white/1 select-none",children:i.jsxs("div",{className:"my-auto space-y-4",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-indigo-500/10 flex items-center justify-center border border-indigo-500/15 text-indigo-400 mx-auto",children:i.jsx(Ja,{size:16,className:"animate-pulse"})}),i.jsxs("div",{className:"space-y-1",children:[i.jsx("h4",{className:"font-display font-semibold text-slate-200 text-sm",children:c("stack.soon.title")}),i.jsx("p",{className:"text-slate-400 text-xs font-light max-w-[150px] mx-auto",children:c("stack.soon.desc")})]}),i.jsx("div",{className:"inline-flex py-1 px-2.5 rounded bg-white/5 border border-white/5 text-[10px] font-mono text-slate-500 uppercase tracking-widest",children:c("stack.progress")})]})})]})]})]})}function lx(){const{t:c}=xt(),A=[{icon:i.jsx(Q0,{className:"text-cyan-400",size:20}),title:c("features.f1.title"),desc:c("features.f1.desc")},{icon:i.jsx(Ja,{className:"text-brand-accent",size:20}),title:c("features.f2.title"),desc:c("features.f2.desc")},{icon:i.jsx(Zp,{className:"text-brand-secondary",size:20}),title:c("features.f3.title"),desc:c("features.f3.desc")},{icon:i.jsx(z0,{className:"text-indigo-400",size:20}),title:c("features.f4.title"),desc:c("features.f4.desc")},{icon:i.jsx(l0,{className:"text-emerald-400",size:20}),title:c("features.f5.title"),desc:c("features.f5.desc")},{icon:i.jsx(qp,{className:"text-amber-400",size:20}),title:c("features.f6.title"),desc:c("features.f6.desc")},{icon:i.jsx(of,{className:"text-rose-400",size:20}),title:c("features.f7.title"),desc:c("features.f7.desc")},{icon:i.jsx(sf,{className:"text-indigo-400",size:20}),title:c("features.f8.title"),desc:c("features.f8.desc")}];return i.jsxs("section",{id:"features-grid",className:"relative py-24 md:py-32 bg-[#05070e] border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] bg-brand-primary/5 rounded-full blur-[120px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:[i.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-4 mb-20",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-brand-primary/10 border border-brand-primary/25 rounded-full text-brand-accent text-xs font-mono font-medium",children:i.jsx("span",{children:c("features.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl tracking-tight text-white animate-fade-in",children:[c("features.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-semibold",children:c("features.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light max-w-lg mx-auto",children:c("features.subtitle")})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:A.map((T,d)=>i.jsxs("div",{className:"p-6 glass-card border border-white/5 hover:border-brand-primary/25 hover:shadow-xl hover:shadow-brand-primary/5 transition-all duration-300 flex flex-col justify-between group h-full",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsx("div",{className:"p-2.5 rounded-xl bg-white/5 text-slate-300 w-fit group-hover:bg-brand-primary/15 group-hover:text-white transition duration-300 border border-white/5",children:T.icon}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsx("h3",{className:"font-display font-medium text-sm text-slate-100 group-hover:text-white transition duration-200",children:T.title}),i.jsx("p",{className:"text-slate-400 text-xs font-light leading-relaxed",children:T.desc})]})]}),i.jsxs("div",{className:"mt-8 pt-4 border-t border-white/5 flex items-center justify-between text-[10px] font-mono text-slate-500 font-semibold group-hover:text-brand-accent transition duration-300",children:[i.jsx("span",{children:c("features.status")}),i.jsx("span",{children:c("features.stable")})]})]},d))})]})]})}function nx(){const{t:c}=xt(),[A,T]=G.useState("1.3.5"),[d,M]=G.useState(1),C=3,Q=[{version:"1.3.5",date:"June 14, 2026",summary:c("change.135.summary"),items:[{badge:c("change.135.i1.badge"),icon:i.jsx(Dt,{className:"text-emerald-400",size:18}),title:c("change.135.i1.title"),desc:c("change.135.i1.desc"),highlight:c("change.135.i1.highlight")}]},{version:"1.3.4",date:"June 14, 2026",summary:c("change.134.summary"),items:[{badge:c("change.134.i1.badge"),icon:i.jsx(ko,{className:"text-cyan-400",size:18}),title:c("change.134.i1.title"),desc:c("change.134.i1.desc"),highlight:c("change.134.i1.highlight")},{badge:c("change.134.i2.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.134.i2.title"),desc:c("change.134.i2.desc"),highlight:c("change.134.i2.highlight")}]},{version:"1.3.3",date:"June 13, 2026",summary:c("change.133.summary"),items:[{badge:c("change.133.i1.badge"),icon:i.jsx(ko,{className:"text-cyan-400",size:18}),title:c("change.133.i1.title"),desc:c("change.133.i1.desc"),highlight:c("change.133.i1.highlight")},{badge:c("change.133.i2.badge"),icon:i.jsx(ko,{className:"text-orange-400",size:18}),title:c("change.133.i2.title"),desc:c("change.133.i2.desc"),highlight:c("change.133.i2.highlight")},{badge:c("change.133.i3.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.133.i3.title"),desc:c("change.133.i3.desc"),highlight:c("change.133.i3.highlight")}]},{version:"1.3.2",date:"June 13, 2026",summary:c("change.132.summary"),items:[{badge:c("change.132.i1.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.132.i1.title"),desc:c("change.132.i1.desc"),highlight:c("change.132.i1.highlight")}]},{version:"1.3.1",date:"June 12, 2026",summary:c("change.131.summary"),items:[{badge:c("change.131.i1.badge"),icon:i.jsx(Ii,{className:"text-emerald-400",size:18}),title:c("change.131.i1.title"),desc:c("change.131.i1.desc"),highlight:c("change.131.i1.highlight")}]},{version:"1.3.0",date:"June 12, 2026",summary:c("change.130.summary"),items:[{badge:c("change.130.i1.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.130.i1.title"),desc:c("change.130.i1.desc"),highlight:c("change.130.i1.highlight")},{badge:c("change.130.i2.badge"),icon:i.jsx(Ji,{className:"text-amber-400",size:18}),title:c("change.130.i2.title"),desc:c("change.130.i2.desc"),highlight:c("change.130.i2.highlight")},{badge:c("change.130.i3.badge"),icon:i.jsx(Ja,{className:"text-brand-accent",size:18}),title:c("change.130.i3.title"),desc:c("change.130.i3.desc"),highlight:c("change.130.i3.highlight")},{badge:c("change.130.i4.badge"),icon:i.jsx(Wi,{className:"text-indigo-400",size:18}),title:c("change.130.i4.title"),desc:c("change.130.i4.desc"),highlight:c("change.130.i4.highlight")},{badge:c("change.130.i5.badge"),icon:i.jsx(Dt,{className:"text-emerald-400",size:18}),title:c("change.130.i5.title"),desc:c("change.130.i5.desc"),highlight:c("change.130.i5.highlight")}]},{version:"1.2.1",date:"June 12, 2026",summary:c("change.121.summary"),items:[{badge:c("change.121.i1.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.121.i1.title"),desc:c("change.121.i1.desc"),highlight:c("change.121.i1.highlight")},{badge:c("change.121.i2.badge"),icon:i.jsx(Ii,{className:"text-emerald-400",size:18}),title:c("change.121.i2.title"),desc:c("change.121.i2.desc"),highlight:c("change.121.i2.highlight")},{badge:c("change.121.i3.badge"),icon:i.jsx(Ji,{className:"text-amber-400",size:18}),title:c("change.121.i3.title"),desc:c("change.121.i3.desc"),highlight:c("change.121.i3.highlight")}]},{version:"1.2.0",date:"June 12, 2026",summary:c("change.120.summary"),items:[{badge:c("change.120.i1.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.120.i1.title"),desc:c("change.120.i1.desc"),highlight:c("change.120.i1.highlight")},{badge:c("change.120.i2.badge"),icon:i.jsx(Dt,{className:"text-emerald-400",size:18}),title:c("change.120.i2.title"),desc:c("change.120.i2.desc"),highlight:c("change.120.i2.highlight")},{badge:c("change.120.i3.badge"),icon:i.jsx(Wi,{className:"text-indigo-400",size:18}),title:c("change.120.i3.title"),desc:c("change.120.i3.desc"),highlight:c("change.120.i3.highlight")},{badge:c("change.120.i4.badge"),icon:i.jsx(Ji,{className:"text-amber-400",size:18}),title:c("change.120.i4.title"),desc:c("change.120.i4.desc"),highlight:c("change.120.i4.highlight")}]},{version:"1.1.0",date:"June 12, 2026",summary:c("change.110.summary"),items:[{badge:c("change.110.i1.badge"),icon:i.jsx(Ji,{className:"text-amber-400",size:18}),title:c("change.110.i1.title"),desc:c("change.110.i1.desc"),highlight:c("change.110.i1.highlight")},{badge:c("change.110.i2.badge"),icon:i.jsx(s0,{className:"text-cyan-400",size:18}),title:c("change.110.i2.title"),desc:c("change.110.i2.desc"),highlight:c("change.110.i2.highlight")},{badge:c("change.110.i3.badge"),icon:i.jsx(Ii,{className:"text-emerald-400",size:18}),title:c("change.110.i3.title"),desc:c("change.110.i3.desc"),highlight:c("change.110.i3.highlight")}]},{version:"1.0.0",date:"June 11, 2026",summary:c("change.100.summary"),items:[{badge:c("change.100.i1.badge"),icon:i.jsx(la,{className:"text-brand-primary",size:18}),title:c("change.100.i1.title"),desc:c("change.100.i1.desc"),highlight:c("change.100.i1.highlight")},{badge:c("change.100.i2.badge"),icon:i.jsx(Wi,{className:"text-indigo-400",size:18}),title:c("change.100.i2.title"),desc:c("change.100.i2.desc"),highlight:c("change.100.i2.highlight")},{badge:c("change.100.i3.badge"),icon:i.jsx(Dt,{className:"text-emerald-400",size:18}),title:c("change.100.i3.title"),desc:c("change.100.i3.desc"),highlight:c("change.100.i3.highlight")}]}],Y=Math.ceil(Q.length/C),S=(d-1)*C,v=Q.slice(S,S+C),H=Q.find(D=>D.version===A)||Q[0];return i.jsxs("section",{id:"changelog",className:"relative py-24 md:py-32 bg-[#070a12] border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/3 right-1/4 w-[500px] h-[500px] bg-brand-secondary/5 rounded-full blur-[100px] pointer-events-none"}),i.jsx("div",{className:"absolute bottom-1/4 left-1/4 w-[400px] h-[400px] bg-brand-primary/5 rounded-full blur-[120px] pointer-events-none"}),i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-16 items-start text-left",children:[i.jsxs("div",{className:"lg:col-span-5 space-y-8 sticky top-24",children:[i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-brand-primary/10 border border-brand-primary/20 rounded-full text-brand-accent text-xs font-mono font-medium",children:[i.jsx(U0,{size:12}),i.jsx("span",{children:c("changelog.tag")})]}),i.jsxs("h2",{className:"font-display font-medium text-4xl sm:text-5xl tracking-tight text-white",children:[c("changelog.title")," ",i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-bold",children:c("changelog.titleHighlight")})]})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light leading-relaxed max-w-md",children:c("changelog.subtitle")}),i.jsx("div",{className:"flex flex-col gap-2 max-w-sm",children:v.map(D=>i.jsxs("button",{onClick:()=>T(D.version),className:`flex items-center justify-between p-4 rounded-xl border text-left transition duration-200 ${A===D.version?"bg-brand-primary/10 border-brand-primary/40 shadow-lg shadow-brand-primary/5 text-white":"bg-white/[0.01] border-white/5 text-slate-400 hover:bg-white/5 hover:text-slate-200"}`,children:[i.jsxs("div",{className:"space-y-1",children:[i.jsxs("span",{className:"font-display font-semibold text-sm",children:["Version ",D.version]}),i.jsx("p",{className:"text-[10px] text-slate-500 font-mono",children:D.date})]}),A===D.version?i.jsx("span",{className:"text-[9px] font-mono text-brand-secondary font-semibold bg-brand-secondary/10 border border-brand-secondary/20 px-2 py-0.5 rounded",children:c("changelog.active")}):i.jsx("span",{className:"text-[9px] font-mono text-slate-500 border border-white/5 px-2 py-0.5 rounded",children:c("changelog.select")})]},D.version))}),Y>1&&i.jsxs("div",{className:"flex items-center justify-between max-w-sm pt-4 border-t border-white/5 mt-4",children:[i.jsxs("button",{disabled:d===1,onClick:()=>M(D=>Math.max(D-1,1)),className:"inline-flex items-center gap-1 px-3 py-1.5 rounded-lg border border-white/5 bg-white/[0.02] text-xs font-mono text-slate-400 hover:bg-white/5 hover:text-white transition disabled:opacity-40 disabled:hover:bg-transparent disabled:hover:text-slate-400 cursor-pointer",children:[i.jsx(Ap,{size:12}),i.jsx("span",{children:c("changelog.prev")})]}),i.jsxs("span",{className:"text-[10px] font-mono text-slate-500",children:["PAGE ",d," OF ",Y]}),i.jsxs("button",{disabled:d===Y,onClick:()=>M(D=>Math.min(D+1,Y)),className:"inline-flex items-center gap-1 px-3 py-1.5 rounded-lg border border-white/5 bg-white/[0.02] text-xs font-mono text-slate-400 hover:bg-white/5 hover:text-white transition disabled:opacity-40 disabled:hover:bg-transparent disabled:hover:text-slate-400 cursor-pointer",children:[i.jsx("span",{children:c("changelog.next")}),i.jsx(Fi,{size:12})]})]}),i.jsx("div",{className:"pt-2",children:i.jsxs("a",{href:"#install",className:"inline-flex items-center gap-2 text-xs font-mono font-bold text-brand-secondary hover:text-white transition duration-200 group",children:[i.jsx("span",{children:c("changelog.latest")}),i.jsx(af,{size:14,className:"group-hover:translate-x-1 transition-transform"})]})})]}),i.jsx("div",{className:"lg:col-span-7 space-y-6",children:i.jsxs("div",{className:"border border-white/5 bg-white/[0.01] rounded-2xl p-6 md:p-8 space-y-8 backdrop-blur-sm",children:[i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("h3",{className:"font-display font-medium text-lg text-white flex items-center gap-2",children:[i.jsx(Ja,{className:"text-brand-accent",size:18}),i.jsxs("span",{children:["Version ",H.version," ",c("changelog.titleSuffix")]})]}),i.jsx("span",{className:"text-xs font-mono text-slate-500",children:H.date})]}),i.jsx("p",{className:"text-slate-400 text-xs font-light italic",children:H.summary})]}),i.jsx("div",{className:"space-y-8 border-t border-white/5 pt-6",children:H.items.map((D,z)=>i.jsxs("div",{className:"flex gap-4 items-start group",children:[i.jsx("div",{className:"p-2.5 rounded-xl bg-white/5 border border-white/5 text-slate-300 group-hover:bg-brand-primary/10 group-hover:border-brand-primary/25 group-hover:text-white transition duration-300 shrink-0",children:D.icon}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[i.jsx("span",{className:"text-[9px] font-mono font-bold tracking-wider px-2 py-0.5 bg-white/5 border border-white/10 rounded text-slate-400 group-hover:border-brand-primary/20 group-hover:text-slate-300 transition",children:D.badge}),i.jsx("h4",{className:"font-display font-medium text-sm text-slate-200 group-hover:text-white transition duration-200",children:D.title})]}),i.jsx("p",{className:"text-slate-400 text-xs font-light leading-relaxed",children:D.desc}),i.jsxs("div",{className:"text-[10px] font-mono text-brand-secondary font-semibold",children:["⚡ ",D.highlight]})]})]},z))})]})})]})})]})}function ix(){const{t:c}=xt(),[A,T]=G.useState("npm"),[d,M]=G.useState(null),[C,Q]=G.useState(null);G.useEffect(()=>{fetch("https://api.github.com/repos/TruongTXK18FPT/agent-workflow-kit-cli").then(z=>z.json()).then(z=>{if(z&&typeof z.stargazers_count=="number"){const $=z.stargazers_count;$>=1e3?M(($/1e3).toFixed(1)+"k"):M($.toString())}}).catch(z=>{console.error("Error fetching stars:",z),M("0")}),fetch("https://api.npmjs.org/downloads/point/last-year/agent-workflow-kit-cli").then(z=>z.json()).then(z=>{if(z&&typeof z.downloads=="number"){const $=z.downloads;Q($>=1e3?($/1e3).toFixed(1)+"k":$.toString())}else Q("0")}).catch(z=>{console.error("Error fetching npm downloads:",z),Q("0")})},[]);const[Y,S]=G.useState(!1),v={npm:"npx agent-workflow-kit-cli init",pnpm:"pnpm dlx agent-workflow-kit-cli init",yarn:"yarn dlx agent-workflow-kit-cli init"},H=v[A]||v.npm,D=()=>{navigator.clipboard.writeText(H),S(!0),setTimeout(()=>S(!1),2e3)};return i.jsxs("section",{id:"install",className:"relative py-24 md:py-32 bg-[#060a12] tech-grid border-b border-white/5",children:[i.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[550px] h-[550px] bg-brand-primary/5 rounded-full blur-[130px] pointer-events-none"}),i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-left",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-12 items-center max-w-6xl mx-auto",children:[i.jsxs("div",{className:"lg:col-span-5 space-y-6",children:[i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-brand-secondary/10 border border-brand-secondary/25 rounded-full text-brand-secondary text-xs font-mono font-medium",children:i.jsx("span",{children:c("install.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl tracking-tight text-white",children:[c("install.title")," ",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-semibold",children:c("install.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 font-light text-sm sm:text-base leading-relaxed",children:c("install.subtitle")}),i.jsxs("div",{className:"space-y-4 pt-4 border-t border-white/5",children:[i.jsxs("div",{className:"flex gap-3 items-start text-xs sm:text-sm text-slate-300",children:[i.jsx(Kh,{size:16,className:"text-brand-secondary shrink-0 mt-0.5"}),i.jsxs("div",{className:"space-y-0.5",children:[i.jsx("span",{className:"font-semibold text-slate-100",children:c("install.s1.title")}),i.jsx("p",{className:"text-slate-400 font-light",children:c("install.s1.desc")})]})]}),i.jsxs("div",{className:"flex gap-3 items-start text-xs sm:text-sm text-slate-300",children:[i.jsx(Kh,{size:16,className:"text-brand-accent shrink-0 mt-0.5"}),i.jsxs("div",{className:"space-y-0.5",children:[i.jsx("span",{className:"font-semibold text-slate-100",children:c("install.s2.title")}),i.jsx("p",{className:"text-slate-400 font-light",children:c("install.s2.desc")})]})]})]})]}),i.jsxs("div",{className:"lg:col-span-7 space-y-4",children:[i.jsxs("div",{className:"glass-card overflow-hidden shadow-2xl flex flex-col",children:[i.jsxs("div",{className:"flex items-center justify-between px-6 py-4 bg-[#070b16] border-b border-white/10",children:[i.jsx("div",{className:"flex items-center gap-1.5",children:["npm","pnpm","yarn"].map(z=>i.jsx("button",{onClick:()=>{T(z),S(!1)},className:`px-4 py-2 text-xs font-mono rounded-lg transition ${A===z?"bg-brand-primary/20 border border-brand-primary/30 text-white font-bold":"text-slate-400 hover:text-white hover:bg-white/5"}`,children:z},z))}),i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx("div",{className:"w-1.5 h-1.5 rounded-full bg-brand-secondary animate-ping"}),i.jsx("span",{className:"text-[10px] text-slate-500 font-mono font-bold uppercase",children:c("install.activeScript")})]})]}),i.jsxs("div",{className:"p-8 bg-[#050810]/95 flex items-center justify-between gap-4 font-mono text-xs sm:text-sm",children:[i.jsxs("div",{className:"flex items-center gap-2.5 min-w-0 flex-grow text-left",children:[i.jsx(Dt,{size:16,className:"text-brand-secondary shrink-0"}),i.jsx("span",{className:"text-slate-200 select-all font-semibold truncate leading-none",children:H})]}),i.jsx("button",{onClick:D,className:`flex items-center gap-1.5 px-3.5 py-2.5 rounded-xl border text-xs transition-all duration-200 shrink-0 select-none cursor-pointer ${Y?"bg-emerald-950/30 border-emerald-500/30 text-emerald-400 font-semibold shadow-md shadow-emerald-950/20":"bg-white/5 hover:bg-white/10 border-white/10 text-slate-300 hover:text-white"}`,title:"Copy command",children:Y?i.jsxs(i.Fragment,{children:[i.jsx(Gt,{size:14,className:"text-emerald-400"}),i.jsx("span",{children:c("cmd.copied")})]}):i.jsxs(i.Fragment,{children:[i.jsx(Pi,{size:14}),i.jsx("span",{children:c("cmd.copy")})]})})]}),i.jsxs("div",{className:"grid grid-cols-2 bg-[#04060b] border-t border-white/10 divide-x divide-white/10",children:[i.jsxs("div",{className:"p-6 flex items-center gap-4 hover:bg-white/5 transition-colors group",children:[i.jsx("div",{className:"p-3 bg-brand-primary/10 rounded-xl border border-brand-primary/20 text-brand-secondary group-hover:scale-105 transition-transform duration-300",children:i.jsx(Xp,{size:20,className:"text-brand-secondary"})}),i.jsxs("div",{className:"flex flex-col text-left",children:[i.jsx("span",{className:"text-[10px] text-slate-500 font-mono uppercase tracking-wider font-bold",children:c("install.downloads")}),i.jsx("span",{className:"text-2xl font-bold text-white tracking-tight mt-0.5",children:C!==null?C:"..."})]})]}),i.jsxs("div",{className:"p-6 flex items-center gap-4 hover:bg-white/5 transition-colors group",children:[i.jsx("div",{className:"p-3 bg-brand-accent/10 rounded-xl border border-brand-accent/20 text-brand-accent group-hover:scale-105 transition-transform duration-300",children:i.jsx(O0,{size:20,className:"text-brand-accent"})}),i.jsxs("div",{className:"flex flex-col text-left",children:[i.jsx("span",{className:"text-[10px] text-slate-500 font-mono uppercase tracking-wider font-bold",children:c("install.githubStars")}),i.jsx("span",{className:"text-2xl font-bold text-white tracking-tight mt-0.5",children:d!==null?d:"..."})]})]})]})]}),i.jsxs("div",{className:"flex items-center justify-between text-xs font-mono text-slate-500 px-2",children:[i.jsx("span",{children:"LICENSE: MIT"}),i.jsx("a",{href:"https://github.com/TruongTXK18FPT/agent-workflow-kit-cli",target:"_blank",rel:"noreferrer",className:"hover:text-brand-accent transition",children:"GitHub Repository"})]})]})]})})]})}function sx(){const{t:c}=xt(),[A,T]=G.useState(!1),d=()=>{navigator.clipboard.writeText("npx agent-workflow-kit-cli init"),T(!0),setTimeout(()=>T(!1),2e3)},M=new Date().getFullYear();return i.jsxs("footer",{className:"relative bg-[#05070e] pt-12",children:[i.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[550px] h-[350px] bg-brand-primary/5 rounded-full blur-[100px] pointer-events-none"}),i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-center space-y-16",children:[i.jsxs("div",{className:"glass-card p-8 sm:p-12 lg:p-16 max-w-5xl mx-auto relative overflow-hidden flex flex-col items-center",children:[i.jsx("div",{className:"absolute inset-0 bg-radial-gradient from-transparent via-brand-primary/5 to-transparent pointer-events-none"}),i.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-96 h-96 border border-white/5 rounded-full pointer-events-none animate-slow-pulse"}),i.jsx("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-primary/15 border border-brand-primary/20 text-brand-accent text-xs font-mono font-medium mb-6",children:i.jsx("span",{children:c("footer.tag")})}),i.jsxs("h2",{className:"font-display font-medium text-3xl sm:text-4xl lg:text-5xl leading-[1.12] text-white max-w-2xl mb-4",children:[c("footer.title")," ",i.jsx("br",{className:"hidden sm:inline"}),i.jsx("span",{className:"bg-gradient-to-r from-brand-secondary via-brand-accent to-brand-primary bg-clip-text text-transparent font-semibold",children:c("footer.titleHighlight")})]}),i.jsx("p",{className:"text-slate-400 text-sm sm:text-base font-light max-w-lg mb-8 leading-relaxed",children:c("footer.subtitle")}),i.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4 w-full justify-center",children:[i.jsxs("button",{onClick:d,className:"w-full sm:w-auto relative group overflow-hidden rounded-xl p-[1px] focus:outline-none transition-all duration-300 hover:scale-[1.02]",children:[i.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-brand-primary via-brand-accent to-brand-secondary rounded-xl"}),i.jsxs("div",{className:"relative px-6 py-4 rounded-[11px] bg-[#0c1224] transition duration-200 group-hover:bg-transparent font-mono text-xs sm:text-sm text-white flex items-center justify-center gap-2",children:[i.jsx(Dt,{size:14,className:"text-brand-secondary shrink-0"}),i.jsx("span",{children:"npx agent-workflow-kit-cli init"}),A?i.jsx(Gt,{size:14,className:"text-emerald-400 shrink-0"}):i.jsx(Pi,{size:14,className:"text-slate-400 shrink-0 group-hover:text-white transition animate-pulse"})]})]}),i.jsxs("a",{href:"#commands",className:"w-full sm:w-auto flex items-center justify-center gap-1.5 px-6 py-4 rounded-xl border border-white/10 text-white font-medium text-sm hover:bg-white/5 transition duration-200",children:[i.jsx("span",{children:c("footer.btnView")}),i.jsx(Co,{size:14})]})]})]}),i.jsxs("div",{className:"pt-12 border-t border-white/5 flex flex-col md:flex-row items-center justify-between gap-6 pb-12 text-slate-500 font-mono text-xs text-left",children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx("div",{className:"overflow-hidden flex items-center justify-center h-[50px] w-[54px]",children:i.jsx("img",{src:rf,alt:"agent-workflow-kit logo",className:"h-[96px] min-w-[144px] max-w-[144px] object-contain drop-shadow-[0_0_12px_rgba(139,92,246,0.3)]",style:{margin:"-23px -45px"}})}),i.jsx("div",{className:"h-6 w-[1px] bg-white/10 mx-3 self-center"}),i.jsx("span",{className:"font-semibold text-slate-300 font-display text-sm",children:c("footer.desc")})]}),i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:[i.jsx("a",{href:"#features",className:"hover:text-white transition",children:c("footer.features")}),i.jsx("a",{href:"#how-it-works",className:"hover:text-white transition",children:c("footer.howItWorks")}),i.jsx("a",{href:"#repo-structure",className:"hover:text-white transition",children:c("footer.repoStructure")}),i.jsx("a",{href:"#commands",className:"hover:text-white transition",children:c("footer.commands")}),i.jsxs("a",{href:"https://github.com/TruongTXK18FPT/agent-workflow-kit-cli",target:"_blank",rel:"noreferrer",className:"flex items-center gap-1 hover:text-white transition",children:[i.jsx(Eo,{size:13}),i.jsx("span",{children:c("footer.github")})]})]}),i.jsxs("div",{className:"space-y-1 text-center md:text-right",children:[i.jsxs("p",{children:["© ",M," ",c("footer.copyright")]}),i.jsx("p",{className:"text-[10px] text-slate-600 flex items-center justify-center md:justify-end gap-1 font-sans",children:i.jsx("span",{children:c("footer.optimized")})})]})]})]})]})}const cx="/assets/fastapi-x75ez5Tf.png",Wh="/assets/Antigravity-IRHfUNd0.webp",Ih="/assets/Codex-B3jt494H.png",ox=[{id:"auto",name:"Auto-Detect Stacks",desc:"Scan project manifests to detect framework stacks automatically",type:"system",category:"System"},{id:"react-ts",name:"React + TypeScript SPA",desc:"Vite, React Router, strict TS standards",type:"frontend",category:"Frontend"},{id:"next-js",name:"Next.js (App Router)",desc:"RSC, Server Actions, SEO Metadata templates",type:"frontend",category:"Frontend"},{id:"nestjs",name:"NestJS Modular Backend",desc:"Modular architecture, DI, validation rules",type:"backend",category:"Backend"},{id:"express",name:"Express.js API Server",desc:"Layered 3-tier architecture, middleware, Zod routing",type:"backend",category:"Backend"},{id:"spring-boot",name:"Spring Boot Enterprise",desc:"MVC, Gradle/Maven layout, Java standards",type:"backend",category:"Backend"},{id:"fastapi",name:"FastAPI Clean Service",desc:"Pydantic parsing, repositories, async workflows",type:"backend",category:"Backend"},{id:"dotnet",name:".NET Core Web API",desc:"Clean/Onion architecture, dependency registrations",type:"backend",category:"Backend"},{id:"golang",name:"Go Lang Hexagonal",desc:"Clean/Hexagonal layers, concurrency & context rules",type:"backend",category:"Backend"},{id:"rust",name:"Rust Cargo Workspace",desc:"Memory safety, lifetimes, cargo workspaces guidelines",type:"backend",category:"Backend"},{id:"diagram",name:"Draw.io Diagram Builder",desc:"Rules & skills to draw 10 system diagram types in Draw.io XML",type:"utility",category:"Utility"},{id:"devops",name:"Docker & GitHub Actions CI",desc:"Universal multi-stage Dockerfiles and CI build pipelines",type:"utility",category:"Utility"}];function rx(){const{t:c,theme:A}=xt(),[T,d]=G.useState(!0),[M,C]=G.useState(""),[Q,Y]=G.useState([]),[S,v]=G.useState(1),[H,D]=G.useState(""),[z,$]=G.useState("All"),[xe,F]=G.useState("auto"),[ie,ve]=G.useState("both"),[Ze,ze]=G.useState(!1),[K,be]=G.useState(!0),[Se,I]=G.useState(!1),[qe,Ie]=G.useState(!1),[_t,Xe]=G.useState([]),[He,yt]=G.useState(null),st=G.useRef(null),Fe=u=>window.location.port==="3000"?`http://localhost:4321${u}`:u;G.useEffect(()=>{(async()=>{try{d(!0);const b=await fetch(Fe("/api/status"));if(!b.ok)throw new Error("CLI server returned non-200 status");const E=await b.json();C(E.cwd),Y(E.detectedModules)}catch(b){console.error("Failed to fetch status:",b),C("local-project")}finally{d(!1)}})()},[]),G.useEffect(()=>{st.current&&st.current.scrollIntoView({behavior:"smooth"})},[_t]);const j=async()=>{I(!0),Ie(!1),Xe([`$ agent-workflow-kit init --stack ${xe} --agent ${ie}${Ze?" --dry-run":""}`]),yt(null);try{const u=await fetch(Fe("/api/generate"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stack:xe,agent:ie,dryRun:Ze})}),b=await u.json();b.logs&&Xe(E=>[...E,...b.logs]),u.ok&&b.success?Ie(!0):(yt(b.error||"Generation failed"),Xe(E=>[...E,`[ERROR] ${b.error||"Execution failed"}`]))}catch(u){yt(u.message||"Connection error to CLI server"),Xe(b=>[...b,"[CONNECTION ERROR] Please check if the local server is running."])}finally{I(!1)}},_=()=>{Ie(!1),yt(null),Xe([]),v(1)},X=u=>{switch(u){case"react-ts":return uf;case"next-js":return df;case"nestjs":return hf;case"express":return ff;case"spring-boot":return mf;case"fastapi":return cx;case"dotnet":return gf;case"golang":return pf;case"rust":return xf;case"diagram":return bf;case"devops":return yf;default:return null}},re=()=>{const u=[],b=ie==="antigravity"||ie==="both",E=ie==="codex"||ie==="both";return u.push({path:".clinerules",desc:"IDE prompt anchor for Cline / Roo-Cline"}),u.push({path:".cursorrules",desc:"IDE prompt anchor for Cursor editor"}),u.push({path:".copilot-instructions.md",desc:"IDE prompt anchor for GitHub Copilot / VS Code"}),b&&u.push({path:"GEMINI.md",desc:"Root index guidelines optimized for Antigravity & Gemini"}),E&&u.push({path:"AGENTS.md",desc:"Root index guidelines optimized for Codex models"}),u.push({path:".agents/workflows/pr-verification.json",desc:"Sample Pull Request validation DAG workflow"}),(xe==="auto"?Q.flatMap(q=>q.stacks)||["auto"]:[xe]).forEach(q=>{q==="react-ts"?(u.push({path:".agents/rules/react-style.md",desc:"Strict code style constraint guidelines for React"}),u.push({path:".agents/skills/react-router.md",desc:"Composable capability instructions for routing"})):q==="next-js"?u.push({path:".agents/rules/nextjs-conventions.md",desc:"App Router & RSC hierarchy constraints"}):q==="nestjs"?u.push({path:".agents/rules/nestjs-architecture.md",desc:"Module boundaries & Dependency Injection constraints"}):q==="diagram"?u.push({path:".agents/skills/drawio-diagram/SKILL.md",desc:"Instructions for 10 Draw.io diagram schemas"}):q==="devops"?u.push({path:".agents/skills/devops/SKILL.md",desc:"Optimized Docker & GitHub Action pipelines blueprints"}):q!=="auto"&&u.push({path:`.agents/rules/${q}-style.md`,desc:`Hard formatting & structure constraints for ${q}`})}),K&&u.push({path:".gitignore (modified)",desc:"Exclude generated agent rules folders from source control"}),u},de=ox.filter(u=>{const b=u.name.toLowerCase().includes(H.toLowerCase())||u.desc.toLowerCase().includes(H.toLowerCase()),E=z==="All"||u.category===z||u.id==="auto";return b&&E});return i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-10 relative z-10 flex-grow",children:[i.jsxs("div",{className:"text-center mb-10 animate-fade-in",children:[i.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-brand-primary/10 border border-brand-primary/20 text-brand-accent text-xs font-mono font-medium mb-3",children:[i.jsx(We,{size:12,className:"text-brand-secondary"}),i.jsxs("span",{children:[c("local.cwdLabel"),": ",M]})]}),i.jsx("h1",{className:"font-display font-bold text-3xl sm:text-5xl tracking-tight text-white mb-2",children:c("local.title")}),i.jsx("p",{className:"text-slate-400 max-w-xl mx-auto text-xs sm:text-sm",children:c("local.subtitle")})]}),T?i.jsxs("div",{className:"flex flex-col items-center justify-center py-20",children:[i.jsx(Ao,{className:"h-8 w-8 text-brand-secondary animate-spin mb-4"}),i.jsx("span",{className:"text-slate-400 text-xs font-mono",children:"Loading local workspace environment..."})]}):i.jsxs("div",{className:"max-w-5xl mx-auto space-y-8",children:[i.jsxs("div",{className:"glass-card p-4 flex justify-between items-center relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-brand-primary/5 via-brand-secondary/5 to-transparent pointer-events-none"}),i.jsx("div",{className:"flex items-center justify-between w-full relative z-10 max-w-3xl mx-auto",children:[{step:1,label:c("nav.stackPacks")},{step:2,label:"AI Agent Target"},{step:3,label:"Setup Preferences"},{step:4,label:"Run & Generate"}].map((u,b,E)=>{const O=S>u.step,q=S===u.step;return i.jsxs(Zg.Fragment,{children:[i.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-2",children:[i.jsx("div",{className:`h-8 w-8 rounded-full flex items-center justify-center font-mono text-xs font-bold transition-all duration-300 ${O?"bg-emerald-500 text-white":q?"bg-brand-primary text-white ring-4 ring-brand-primary/20 shadow-md shadow-brand-primary/30":"bg-white/5 text-slate-500 border border-white/5"}`,children:O?i.jsx(Gt,{size:14}):u.step}),i.jsx("span",{className:`text-[10px] sm:text-xs font-medium ${q?"text-white font-semibold":O?"text-emerald-400":"text-slate-500"} hidden sm:inline`,children:u.label})]}),b<E.length-1&&i.jsx("div",{className:`h-[1px] flex-grow mx-4 hidden sm:block transition-all duration-500 ${O?"bg-emerald-500":"bg-white/5"}`})]},u.step)})})]}),Q.length>0&&S<4&&i.jsxs("div",{className:"glass-card p-4 border-brand-secondary/20 bg-brand-secondary/5 flex flex-col sm:flex-row sm:items-center justify-between gap-3 animate-fade-in",children:[i.jsxs("div",{className:"flex items-center gap-2 text-xs text-slate-300",children:[i.jsx(la,{size:14,className:"text-brand-secondary"}),i.jsxs("span",{className:"font-semibold text-white",children:[c("local.detectedTitle"),":"]}),i.jsx("span",{className:"font-mono bg-slate-950/40 px-2 py-0.5 rounded border border-white/5",children:Q.map(u=>u.stacks.join(", ")).join(" | ")})]}),xe==="auto"&&i.jsxs("div",{className:"text-[10px] text-brand-secondary font-mono flex items-center gap-1",children:[i.jsx(Ja,{size:10,className:"animate-pulse"}),"Auto-detector active and aligned."]})]}),i.jsxs("div",{className:"glass-card p-6 min-h-[460px] relative overflow-hidden flex flex-col justify-between",children:[i.jsxs("div",{className:`transition-all duration-300 ease-in-out ${S===1?"opacity-100 translate-x-0":"opacity-0 pointer-events-none absolute -translate-x-full"}`,children:[i.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 mb-6",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"font-display font-bold text-white text-lg sm:text-xl",children:c("local.stackSelect")}),i.jsx("p",{className:"text-slate-400 text-xs mt-1",children:"Choose your workspace's technology framework to generate tailored rule benchmarks."})]}),i.jsx("div",{className:"flex items-center gap-2",children:i.jsxs("div",{className:"relative",children:[i.jsx(cf,{className:"absolute left-2.5 top-2.5 h-3.5 w-3.5 text-slate-500"}),i.jsx("input",{type:"text",placeholder:"Filter stacks...",value:H,onChange:u=>D(u.target.value),className:"bg-slate-950/50 border border-white/5 rounded-lg pl-8 pr-3 py-1.5 text-xs text-white focus:outline-none focus:border-brand-primary w-40 sm:w-48 font-mono"})]})})]}),i.jsx("div",{className:"flex flex-wrap gap-1.5 border-b border-white/5 pb-4 mb-5",children:["All","Frontend","Backend","Utility"].map(u=>i.jsx("button",{onClick:()=>$(u),className:`px-3 py-1 rounded-full text-xs font-semibold transition cursor-pointer select-none ${z===u?"bg-brand-primary/10 border border-brand-primary/30 text-brand-accent":"text-slate-400 hover:text-white"}`,children:u},u))}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4",children:de.map(u=>{const b=xe===u.id,E=X(u.id);return i.jsxs("button",{onClick:()=>F(u.id),className:`text-left p-4 rounded-xl border transition-all duration-200 cursor-pointer flex flex-col justify-between h-28 relative group overflow-hidden ${b?"bg-brand-primary/10 border-brand-primary shadow-lg shadow-brand-primary/5":"bg-white/3 border-white/5 hover:bg-white/5 hover:border-white/10"}`,children:[i.jsxs("div",{className:"flex items-start justify-between w-full",children:[i.jsxs("div",{className:"flex items-center gap-2.5",children:[E?i.jsx("img",{src:E,alt:u.name,className:"h-6 w-6 object-contain rounded"}):i.jsx("div",{className:"h-6 w-6 rounded bg-brand-secondary/15 flex items-center justify-center text-brand-secondary shrink-0",children:i.jsx(Ja,{size:12,className:"animate-spin-slow"})}),i.jsx("span",{className:`font-semibold text-xs sm:text-sm ${b?"text-white":"text-slate-200"}`,children:u.name})]}),b&&i.jsx("span",{className:"h-4.5 w-4.5 rounded-full bg-brand-primary flex items-center justify-center shrink-0",children:i.jsx(Gt,{size:10,className:"text-white"})})]}),i.jsx("span",{className:"text-[10px] text-slate-400 leading-normal line-clamp-2 mt-2 leading-relaxed font-sans",children:u.desc})]},u.id)})})]}),i.jsxs("div",{className:`transition-all duration-300 ease-in-out ${S===2?"opacity-100 translate-x-0":"opacity-0 pointer-events-none absolute -translate-x-full"}`,children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("h2",{className:"font-display font-bold text-white text-lg sm:text-xl",children:c("local.agentSelect")}),i.jsx("p",{className:"text-slate-400 text-xs mt-1",children:"Select your developer agent platform to output optimal instructions and workspace anchors."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8",children:[i.jsxs("button",{onClick:()=>ve("antigravity"),className:`p-5 rounded-xl border text-center transition-all duration-200 cursor-pointer flex flex-col items-center justify-between h-44 relative overflow-hidden ${ie==="antigravity"?"bg-brand-primary/10 border-brand-primary shadow-lg shadow-brand-primary/5":"bg-white/3 border-white/5 hover:bg-white/5 hover:border-white/10"}`,children:[i.jsxs("div",{className:"flex flex-col items-center gap-2",children:[i.jsx("img",{src:Wh,alt:"Antigravity",className:"h-10 w-10 object-contain drop-shadow-[0_0_8px_rgba(139,92,246,0.3)]"}),i.jsx("span",{className:"font-semibold text-xs sm:text-sm text-white block mt-1",children:"Antigravity / Gemini"})]}),i.jsxs("span",{className:"text-[10px] text-slate-400 leading-normal font-sans",children:["Emits root-level ",i.jsx("b",{children:"GEMINI.md"})," for Gemini, Google AI Studio, and Antigravity frameworks."]}),ie==="antigravity"&&i.jsx("span",{className:"absolute top-2 right-2 h-4 w-4 rounded-full bg-brand-primary flex items-center justify-center",children:i.jsx(Gt,{size:10,className:"text-white"})})]}),i.jsxs("button",{onClick:()=>ve("codex"),className:`p-5 rounded-xl border text-center transition-all duration-200 cursor-pointer flex flex-col items-center justify-between h-44 relative overflow-hidden ${ie==="codex"?"bg-brand-primary/10 border-brand-primary shadow-lg shadow-brand-primary/5":"bg-white/3 border-white/5 hover:bg-white/5 hover:border-white/10"}`,children:[i.jsxs("div",{className:"flex flex-col items-center gap-2",children:[i.jsx("img",{src:Ih,alt:"Codex",className:"h-10 w-10 object-contain drop-shadow-[0_0_8px_rgba(34,211,238,0.3)]"}),i.jsx("span",{className:"font-semibold text-xs sm:text-sm text-white block mt-1",children:"Codex / Cursor"})]}),i.jsxs("span",{className:"text-[10px] text-slate-400 leading-normal font-sans",children:["Emits root-level ",i.jsx("b",{children:"AGENTS.md"})," tailored for OpenAI Codex, Claude, and general IDE assistants."]}),ie==="codex"&&i.jsx("span",{className:"absolute top-2 right-2 h-4 w-4 rounded-full bg-brand-primary flex items-center justify-center",children:i.jsx(Gt,{size:10,className:"text-white"})})]}),i.jsxs("button",{onClick:()=>ve("both"),className:`p-5 rounded-xl border text-center transition-all duration-200 cursor-pointer flex flex-col items-center justify-between h-44 relative overflow-hidden ${ie==="both"?"bg-brand-primary/10 border-brand-primary shadow-lg shadow-brand-primary/5":"bg-white/3 border-white/5 hover:bg-white/5 hover:border-white/10"}`,children:[i.jsxs("div",{className:"flex flex-col items-center gap-2",children:[i.jsxs("div",{className:"flex -space-x-2.5",children:[i.jsx("img",{src:Wh,alt:"Antigravity",className:"h-9 w-9 object-contain drop-shadow-[0_0_6px_rgba(139,92,246,0.3)] relative z-10"}),i.jsx("img",{src:Ih,alt:"Codex",className:"h-9 w-9 object-contain drop-shadow-[0_0_6px_rgba(34,211,238,0.3)]"})]}),i.jsx("span",{className:"font-semibold text-xs sm:text-sm text-white block mt-1.5",children:"Universal (Both Profiles)"})]}),i.jsx("span",{className:"text-[10px] text-slate-400 leading-normal font-sans",children:"Creates both indexes to support all coding assistants and web models in the workspace simultaneously."}),ie==="both"&&i.jsx("span",{className:"absolute top-2 right-2 h-4 w-4 rounded-full bg-brand-primary flex items-center justify-center",children:i.jsx(Gt,{size:10,className:"text-white"})})]})]}),i.jsxs("div",{className:"border-t border-white/5 pt-6",children:[i.jsx("span",{className:"text-[10px] sm:text-xs font-semibold text-slate-400 uppercase tracking-wider block font-mono mb-4",children:"Visual target IDE specifications"}),i.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[i.jsxs("div",{className:"glass-card p-4 flex items-center gap-3 border-emerald-500/10",children:[i.jsx("svg",{className:"h-8 w-8 text-[#3eedaa] shrink-0",viewBox:"0 0 32 32",fill:"currentColor",children:i.jsx("path",{d:"M16 2a14 14 0 1014 14A14 14 0 0016 2zm0 24a10 10 0 1110-10 10 10 0 01-10 10zm-4-10a4 4 0 114 4 4 4 0 01-4-4z"})}),i.jsxs("div",{children:[i.jsx("span",{className:"font-mono text-xs font-bold text-slate-200 block",children:"Cursor IDE"}),i.jsx("span",{className:"text-[10px] text-slate-400 block mt-0.5",children:"Emits custom .cursorrules file"})]})]}),i.jsxs("div",{className:"glass-card p-4 flex items-center gap-3 border-cyan-500/10",children:[i.jsxs("svg",{className:"h-8 w-8 text-cyan-400 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("path",{d:"M12 2v4M9 3h6"}),i.jsx("rect",{x:"4",y:"6",width:"16",height:"12",rx:"4",fill:"currentColor",fillOpacity:"0.1"}),i.jsx("circle",{cx:"8",cy:"11",r:"1.5",fill:"currentColor",className:"animate-pulse"}),i.jsx("circle",{cx:"16",cy:"11",r:"1.5",fill:"currentColor",className:"animate-pulse"}),i.jsx("path",{d:"M9 14.5h6"}),i.jsx("path",{d:"M2 10h2M20 10h2"})]}),i.jsxs("div",{children:[i.jsx("span",{className:"font-mono text-xs font-bold text-slate-200 block",children:"Roo-Cline / Cline"}),i.jsx("span",{className:"text-[10px] text-slate-400 block mt-0.5",children:"Writes modular .clinerules anchor"})]})]}),i.jsxs("div",{className:"glass-card p-4 flex items-center gap-3 border-indigo-500/10",children:[i.jsxs("svg",{className:"h-8 w-8 text-fuchsia-400 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[i.jsx("path",{d:"M12 2a9 9 0 0 0-9 9v3a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-3a9 9 0 0 0-9-9Z",fill:"currentColor",fillOpacity:"0.1"}),i.jsx("circle",{cx:"7.5",cy:"13",r:"1.5",fill:"currentColor"}),i.jsx("circle",{cx:"16.5",cy:"13",r:"1.5",fill:"currentColor"}),i.jsx("path",{d:"M8 17a4 4 0 0 0 8 0"}),i.jsx("path",{d:"M12 2v2"})]}),i.jsxs("div",{children:[i.jsx("span",{className:"font-mono text-xs font-bold text-slate-200 block",children:"GitHub Copilot"}),i.jsx("span",{className:"text-[10px] text-slate-400 block mt-0.5",children:"Generates copilot-instructions.md"})]})]})]})]})]}),i.jsxs("div",{className:`transition-all duration-300 ease-in-out ${S===3?"opacity-100 translate-x-0":"opacity-0 pointer-events-none absolute -translate-x-full"}`,children:[i.jsxs("div",{className:"mb-6",children:[i.jsx("h2",{className:"font-display font-bold text-white text-lg sm:text-xl",children:"Configure Settings"}),i.jsx("p",{className:"text-slate-400 text-xs mt-1",children:"Tune advanced parameters before executing rule-set creation in the workspace."})]}),i.jsxs("div",{className:"max-w-2xl mx-auto space-y-4",children:[i.jsxs("div",{className:"p-4 rounded-xl border border-white/5 bg-white/3 flex items-start justify-between",children:[i.jsxs("div",{className:"pr-6",children:[i.jsx("label",{className:"text-xs sm:text-sm font-semibold text-white block",children:c("local.dryRunLabel")}),i.jsx("span",{className:"text-[11px] sm:text-xs text-slate-400 leading-normal block mt-1 font-sans",children:c("local.dryRunDesc")})]}),i.jsx("button",{onClick:()=>ze(!Ze),className:`relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none ${Ze?"bg-brand-primary":"bg-slate-800"}`,children:i.jsx("span",{className:`pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out ${Ze?"translate-x-4":"translate-x-0"}`})})]}),i.jsxs("div",{className:"p-4 rounded-xl border border-white/5 bg-white/3 flex items-start justify-between",children:[i.jsxs("div",{className:"pr-6",children:[i.jsx("label",{className:"text-xs sm:text-sm font-semibold text-white block",children:c("local.gitignoreLabel")}),i.jsx("span",{className:"text-[11px] sm:text-xs text-slate-400 leading-normal block mt-1 font-sans",children:c("local.gitignoreDesc")})]}),i.jsx("button",{onClick:()=>be(!K),className:`relative inline-flex h-5 w-9 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none ${K?"bg-brand-primary":"bg-slate-800"}`,children:i.jsx("span",{className:`pointer-events-none inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out ${K?"translate-x-4":"translate-x-0"}`})})]}),i.jsxs("div",{className:"p-4 rounded-xl bg-brand-primary/5 border border-brand-primary/20 flex gap-3 text-xs text-slate-400",children:[i.jsx(lf,{size:16,className:"text-brand-accent shrink-0 mt-0.5"}),i.jsx("div",{className:"leading-relaxed",children:"By default, the setup generates a standard Pull Request validation workflow DAG (`.agents/workflows/pr-verification.json`) which tracks compilation issues, architectural layer boundary tests, and ADR hooks."})]})]})]}),i.jsx("div",{className:`transition-all duration-300 ease-in-out ${S===4?"opacity-100 translate-x-0":"opacity-0 pointer-events-none absolute -translate-x-full"}`,children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-6 items-stretch",children:[i.jsxs("div",{className:"lg:col-span-5 flex flex-col justify-between space-y-4",children:[i.jsxs("div",{className:"glass-card p-5 border-white/5 flex-grow",children:[i.jsx("span",{className:"text-[10px] font-semibold text-slate-400 uppercase tracking-wider block font-mono mb-3",children:"Output blueprint"}),i.jsx("div",{className:"space-y-3.5 max-h-[220px] overflow-y-auto pr-1",children:re().map((u,b)=>i.jsxs("div",{className:"flex items-start gap-2 text-[11px]",children:[i.jsx(Fi,{size:11,className:"text-brand-secondary shrink-0 mt-0.5"}),i.jsxs("div",{children:[i.jsx("span",{className:"font-mono text-slate-200 font-semibold block",children:u.path}),i.jsx("span",{className:"text-slate-400 text-[10px] leading-normal",children:u.desc})]})]},b))})]}),i.jsxs("div",{className:"glass-card p-5 border-white/5 flex flex-col items-center justify-center text-center bg-brand-primary/5",children:[i.jsx("h4",{className:"font-display font-semibold text-white text-sm mb-1",children:"Ready to build!"}),i.jsx("p",{className:"text-[11px] text-slate-400 max-w-xs mb-4",children:"Click the execute button below to start rules emit operations on disk."}),i.jsxs("div",{className:"flex gap-2.5 w-full",children:[(qe||He)&&i.jsxs("button",{onClick:_,className:"px-4 py-2.5 rounded-lg bg-slate-800 text-white font-medium text-xs flex items-center justify-center gap-1.5 hover:bg-slate-700 transition cursor-pointer border border-white/5 shrink-0",children:[i.jsx(j0,{size:12}),i.jsx("span",{children:"Reset"})]}),i.jsxs("button",{onClick:j,disabled:Se,className:`px-5 py-2.5 rounded-lg font-semibold text-xs flex items-center justify-center gap-2 transition select-none flex-grow shadow-md shadow-brand-primary/10 ${Se?"bg-slate-800 text-slate-500 cursor-not-allowed border border-white/5":"bg-gradient-to-r from-brand-primary to-brand-secondary hover:opacity-90 active:scale-[0.98] text-white cursor-pointer"}`,children:[Se?i.jsx(Ao,{size:12,className:"animate-spin"}):i.jsx(nf,{size:11}),i.jsx("span",{children:c("local.generateBtn")})]})]})]})]}),i.jsxs("div",{className:"lg:col-span-7 flex flex-col space-y-4",children:[i.jsxs("div",{className:"glass-card border-slate-800 overflow-hidden flex flex-col h-[230px] bg-slate-950/90",id:"interactive-terminal",children:[i.jsxs("div",{className:"bg-[#080d19] px-4 py-2 flex items-center justify-between border-b border-white/5",children:[i.jsxs("div",{className:"flex items-center gap-1.5",children:[i.jsx(Dt,{size:12,className:"text-slate-400"}),i.jsx("span",{className:"font-mono text-[10px] text-slate-400 font-semibold",children:c("local.terminalTitle")})]}),i.jsxs("div",{className:"flex items-center gap-1",children:[i.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-red-500"}),i.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-yellow-500"}),i.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500"})]})]}),i.jsxs("div",{className:"p-4 font-mono text-[11px] text-slate-300 overflow-y-auto flex-grow space-y-1.5 leading-relaxed",children:[_t.length===0&&!Se?i.jsx("span",{className:"text-slate-600 font-mono",children:"// Ready to print stdout traces."}):null,_t.map((u,b)=>{let E="text-slate-300";return u.startsWith("$")?E="text-brand-secondary font-semibold":u.startsWith("✔️")?E="text-emerald-400":u.startsWith("[WARN]")?E="text-yellow-400":u.startsWith("[ERROR]")||u.startsWith("[CONNECTION")?E="text-rose-400 font-bold":u.includes("completed successfully")&&(E="text-green-400 font-bold text-xs block py-1"),i.jsx("div",{className:`${E} whitespace-pre-wrap`,children:u},b)}),Se&&i.jsxs("div",{className:"flex items-center gap-2 text-slate-400 italic",children:[i.jsx(Ao,{size:10,className:"animate-spin text-brand-accent"}),i.jsx("span",{children:"Emitting rules config sheets..."})]}),i.jsx("div",{ref:st})]})]}),qe&&i.jsx("div",{className:"glass-card p-5 border-emerald-500/20 bg-emerald-500/5 animate-fade-in flex-grow flex flex-col justify-center",children:i.jsxs("div",{className:"flex gap-3.5",children:[i.jsx($i,{className:"text-emerald-400 h-8 w-8 shrink-0 mt-0.5"}),i.jsxs("div",{children:[i.jsx("h3",{className:"font-display font-semibold text-white text-sm sm:text-base leading-tight",children:c("local.successTitle")}),i.jsx("p",{className:"text-slate-400 text-xs mt-1 leading-normal font-sans",children:c("local.successDesc")}),i.jsxs("div",{className:"mt-3.5 border-t border-white/5 pt-3 space-y-2",children:[i.jsx("span",{className:"text-[10px] font-semibold text-slate-300 uppercase tracking-wider block font-mono",children:c("local.stepsTitle")}),i.jsxs("div",{className:"space-y-1.5 font-sans text-xs text-slate-300",children:[i.jsxs("div",{className:"flex items-start gap-1.5",children:[i.jsx("span",{className:"text-emerald-400 shrink-0 font-mono",children:"1."}),i.jsx("span",{children:c("local.steps1")})]}),i.jsxs("div",{className:"flex items-start gap-1.5",children:[i.jsx("span",{className:"text-emerald-400 shrink-0 font-mono",children:"2."}),i.jsx("span",{children:c("local.steps2")})]}),i.jsxs("div",{className:"flex items-start gap-1.5",children:[i.jsx("span",{className:"text-emerald-400 shrink-0 font-mono",children:"3."}),i.jsx("span",{children:c("local.steps3")})]})]})]})]})]})}),He&&i.jsx("div",{className:"glass-card p-5 border-rose-500/20 bg-rose-500/5 flex-grow flex items-center",children:i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx(Ep,{className:"text-rose-400 h-5 w-5 shrink-0 mt-0.5"}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-display font-semibold text-white text-xs",children:"Execution Error"}),i.jsx("p",{className:"text-rose-300 text-xs mt-0.5 leading-normal",children:He})]})]})})]})]})}),i.jsxs("div",{className:"border-t border-white/5 pt-5 flex items-center justify-between mt-8",children:[i.jsx("div",{children:S>1&&i.jsxs("button",{onClick:()=>v(u=>u-1),disabled:Se,className:"px-4 py-2.5 rounded-lg border border-white/5 bg-white/3 hover:bg-white/5 text-slate-300 hover:text-white text-xs font-semibold flex items-center gap-1.5 cursor-pointer transition select-none disabled:opacity-50",children:[i.jsx(yp,{size:13}),i.jsx("span",{children:"Back"})]})}),i.jsx("div",{children:S<4?i.jsxs("button",{onClick:()=>v(u=>u+1),className:"px-4 py-2.5 rounded-lg bg-brand-primary text-white hover:opacity-95 text-xs font-semibold flex items-center gap-1.5 cursor-pointer transition select-none shadow-md shadow-brand-primary/10",children:[i.jsx("span",{children:"Next Step"}),i.jsx(af,{size:13})]}):null})]})]})]})]})}function ux(){const[c,A]=G.useState(!1);return G.useEffect(()=>{(async()=>{const d=window.location.port==="3000"?"http://localhost:4321/api/status":"/api/status";try{const M=await fetch(d);M.ok&&(await M.json()).isLocalCli&&A(!0)}catch{}})()},[]),i.jsxs("div",{className:"min-h-screen bg-brand-bg-dark text-slate-100 flex flex-col selection:bg-brand-primary/30 selection:text-white bg-glow grid-overlay transition-colors duration-300",children:[i.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top,_var(--tw-gradient-stops))] from-blue-950/20 via-slate-950/0 to-slate-950/0 pointer-events-none z-0"}),!c&&i.jsx(J0,{}),i.jsx("main",{className:"flex-grow z-10",children:c?i.jsx(rx,{}):i.jsxs(i.Fragment,{children:[i.jsx($0,{}),i.jsx(W0,{}),i.jsx(I0,{}),i.jsx(F0,{}),i.jsx(P0,{}),i.jsx(ex,{}),i.jsx(ax,{}),i.jsx(lx,{}),i.jsx(nx,{}),i.jsx(ix,{})]})}),!c&&i.jsx(sx,{})]})}function dx(){return i.jsxs(tp,{children:[i.jsx(ux,{}),i.jsx(dp,{})]})}ep.createRoot(document.getElementById("root")).render(i.jsx(G.StrictMode,{children:i.jsx(dx,{})}));