cntx-ui 2.0.12 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/function-level-chunker.js +406 -0
- package/lib/semantic-integration.js +441 -0
- package/lib/semantic-splitter.js +595 -0
- package/lib/treesitter-semantic-chunker.js +1485 -0
- package/package.json +5 -1
- package/server.js +285 -45
- package/web/dist/assets/index-Ci1Q-YrQ.js +611 -0
- package/web/dist/assets/index-IUp4q_fr.css +1 -0
- package/web/dist/index.html +2 -2
- package/web/dist/vite.svg +21 -1
- package/web/dist/assets/index-8Kli5657.js +0 -541
- package/web/dist/assets/index-C-Ldi33E.css +0 -1
|
@@ -1,541 +0,0 @@
|
|
|
1
|
-
var vN=a=>{throw TypeError(a)};var wh=(a,i,c)=>i.has(a)||vN("Cannot "+c);var D=(a,i,c)=>(wh(a,i,"read from private field"),c?c.call(a):i.get(a)),Ce=(a,i,c)=>i.has(a)?vN("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(a):i.set(a,c),be=(a,i,c,d)=>(wh(a,i,"write to private field"),d?d.call(a,c):i.set(a,c),c),Ye=(a,i,c)=>(wh(a,i,"access private method"),c);var Ud=(a,i,c,d)=>({set _(p){be(a,i,p,c)},get _(){return D(a,i,d)}});function Fj(a,i){for(var c=0;c<i.length;c++){const d=i[c];if(typeof d!="string"&&!Array.isArray(d)){for(const p in d)if(p!=="default"&&!(p in a)){const g=Object.getOwnPropertyDescriptor(d,p);g&&Object.defineProperty(a,p,g.get?g:{enumerable:!0,get:()=>d[p]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const p of document.querySelectorAll('link[rel="modulepreload"]'))d(p);new MutationObserver(p=>{for(const g of p)if(g.type==="childList")for(const N of g.addedNodes)N.tagName==="LINK"&&N.rel==="modulepreload"&&d(N)}).observe(document,{childList:!0,subtree:!0});function c(p){const g={};return p.integrity&&(g.integrity=p.integrity),p.referrerPolicy&&(g.referrerPolicy=p.referrerPolicy),p.crossOrigin==="use-credentials"?g.credentials="include":p.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function d(p){if(p.ep)return;p.ep=!0;const g=c(p);fetch(p.href,g)}})();function f1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Sh={exports:{}},Cd={},Eh={exports:{}},Dc={exports:{}};Dc.exports;var yN;function Yj(){return yN||(yN=1,function(a,i){/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.development.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
|
-
*/(function(){function c(h,R){Object.defineProperty(g.prototype,h,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",R[0],R[1])}})}function d(h){return h===null||typeof h!="object"?null:(h=Ut&&h[Ut]||h["@@iterator"],typeof h=="function"?h:null)}function p(h,R){h=(h=h.constructor)&&(h.displayName||h.name)||"ReactClass";var te=h+"."+R;on[te]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",R,h),on[te]=!0)}function g(h,R,te){this.props=h,this.context=R,this.refs=To,this.updater=te||Vn}function N(){}function j(h,R,te){this.props=h,this.context=R,this.refs=To,this.updater=te||Vn}function y(h){return""+h}function _(h){try{y(h);var R=!1}catch{R=!0}if(R){R=console;var te=R.error,ce=typeof Symbol=="function"&&Symbol.toStringTag&&h[Symbol.toStringTag]||h.constructor.name||"Object";return te.call(R,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ce),y(h)}}function V(h){if(h==null)return null;if(typeof h=="function")return h.$$typeof===Mn?null:h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case w:return"Fragment";case Z:return"Profiler";case F:return"StrictMode";case ve:return"Suspense";case Ge:return"SuspenseList";case Qe:return"Activity"}if(typeof h=="object")switch(typeof h.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),h.$$typeof){case ae:return"Portal";case De:return(h.displayName||"Context")+".Provider";case oe:return(h._context.displayName||"Context")+".Consumer";case Oe:var R=h.render;return h=h.displayName,h||(h=R.displayName||R.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case he:return R=h.displayName||null,R!==null?R:V(h.type)||"Memo";case He:R=h._payload,h=h._init;try{return V(h(R))}catch{}}return null}function f(h){if(h===w)return"<>";if(typeof h=="object"&&h!==null&&h.$$typeof===He)return"<...>";try{var R=V(h);return R?"<"+R+">":"<...>"}catch{return"<...>"}}function x(){var h=Le.A;return h===null?null:h.getOwner()}function C(){return Error("react-stack-top-frame")}function Y(h){if(Js.call(h,"key")){var R=Object.getOwnPropertyDescriptor(h,"key").get;if(R&&R.isReactWarning)return!1}return h.key!==void 0}function I(h,R){function te(){ln||(ln=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",R))}te.isReactWarning=!0,Object.defineProperty(h,"key",{get:te,configurable:!0})}function O(){var h=V(this.type);return _o[h]||(_o[h]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),h=this.props.ref,h!==void 0?h:null}function Q(h,R,te,ce,je,ke,Ve,me){return te=ke.ref,h={$$typeof:z,type:h,key:R,props:ke,_owner:je},(te!==void 0?te:null)!==null?Object.defineProperty(h,"ref",{enumerable:!1,get:O}):Object.defineProperty(h,"ref",{enumerable:!1,value:null}),h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(h,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(h,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ve}),Object.defineProperty(h,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h}function xe(h,R){return R=Q(h.type,R,void 0,void 0,h._owner,h.props,h._debugStack,h._debugTask),h._store&&(R._store.validated=h._store.validated),R}function W(h){return typeof h=="object"&&h!==null&&h.$$typeof===z}function pe(h){var R={"=":"=0",":":"=2"};return"$"+h.replace(/[=:]/g,function(te){return R[te]})}function re(h,R){return typeof h=="object"&&h!==null&&h.key!=null?(_(h.key),pe(""+h.key)):R.toString(36)}function de(){}function ge(h){switch(h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(de,de):(h.status="pending",h.then(function(R){h.status==="pending"&&(h.status="fulfilled",h.value=R)},function(R){h.status==="pending"&&(h.status="rejected",h.reason=R)})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}}throw h}function J(h,R,te,ce,je){var ke=typeof h;(ke==="undefined"||ke==="boolean")&&(h=null);var Ve=!1;if(h===null)Ve=!0;else switch(ke){case"bigint":case"string":case"number":Ve=!0;break;case"object":switch(h.$$typeof){case z:case ae:Ve=!0;break;case He:return Ve=h._init,J(Ve(h._payload),R,te,ce,je)}}if(Ve){Ve=h,je=je(Ve);var me=ce===""?"."+re(Ve,0):ce;return ms(je)?(te="",me!=null&&(te=me.replace(er,"$&/")+"/"),J(je,R,te,"",function(We){return We})):je!=null&&(W(je)&&(je.key!=null&&(Ve&&Ve.key===je.key||_(je.key)),te=xe(je,te+(je.key==null||Ve&&Ve.key===je.key?"":(""+je.key).replace(er,"$&/")+"/")+me),ce!==""&&Ve!=null&&W(Ve)&&Ve.key==null&&Ve._store&&!Ve._store.validated&&(te._store.validated=2),je=te),R.push(je)),1}if(Ve=0,me=ce===""?".":ce+":",ms(h))for(var Te=0;Te<h.length;Te++)ce=h[Te],ke=me+re(ce,Te),Ve+=J(ce,R,te,ke,je);else if(Te=d(h),typeof Te=="function")for(Te===h.entries&&(Mr||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Mr=!0),h=Te.call(h),Te=0;!(ce=h.next()).done;)ce=ce.value,ke=me+re(ce,Te++),Ve+=J(ce,R,te,ke,je);else if(ke==="object"){if(typeof h.then=="function")return J(ge(h),R,te,ce,je);throw R=String(h),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.")}return Ve}function K(h,R,te){if(h==null)return h;var ce=[],je=0;return J(h,ce,"","",function(ke){return R.call(te,ke,je++)}),ce}function ue(h){if(h._status===-1){var R=h._result;R=R(),R.then(function(te){(h._status===0||h._status===-1)&&(h._status=1,h._result=te)},function(te){(h._status===0||h._status===-1)&&(h._status=2,h._result=te)}),h._status===-1&&(h._status=0,h._result=R)}if(h._status===1)return R=h._result,R===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
10
|
-
|
|
11
|
-
Your code should look like:
|
|
12
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
13
|
-
|
|
14
|
-
Did you accidentally put curly braces around the import?`,R),"default"in R||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
15
|
-
|
|
16
|
-
Your code should look like:
|
|
17
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,R),R.default;throw h._result}function se(){var h=Le.H;return h===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
18
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
19
|
-
2. You might be breaking the Rules of Hooks
|
|
20
|
-
3. You might have more than one copy of React in the same app
|
|
21
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),h}function we(){}function X(h){if(On===null)try{var R=("require"+Math.random()).slice(0,7);On=(a&&a[R]).call(a,"timers").setImmediate}catch{On=function(ce){Pr===!1&&(Pr=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var je=new MessageChannel;je.port1.onmessage=ce,je.port2.postMessage(void 0)}}return On(h)}function ee(h){return 1<h.length&&typeof AggregateError=="function"?new AggregateError(h):h[0]}function A(h,R){R!==_s-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),_s=R}function T(h,R,te){var ce=Le.actQueue;if(ce!==null)if(ce.length!==0)try{k(ce),X(function(){return T(h,R,te)});return}catch(je){Le.thrownErrors.push(je)}else Le.actQueue=null;0<Le.thrownErrors.length?(ce=ee(Le.thrownErrors),Le.thrownErrors.length=0,te(ce)):R(h)}function k(h){if(!vn){vn=!0;var R=0;try{for(;R<h.length;R++){var te=h[R];do{Le.didUsePromise=!1;var ce=te(!1);if(ce!==null){if(Le.didUsePromise){h[R]=te,h.splice(0,R);return}te=ce}else break}while(!0)}h.length=0}catch(je){h.splice(0,R+1),Le.thrownErrors.push(je)}finally{vn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var z=Symbol.for("react.transitional.element"),ae=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),De=Symbol.for("react.context"),Oe=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),Ge=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),He=Symbol.for("react.lazy"),Qe=Symbol.for("react.activity"),Ut=Symbol.iterator,on={},Vn={isMounted:function(){return!1},enqueueForceUpdate:function(h){p(h,"forceUpdate")},enqueueReplaceState:function(h){p(h,"replaceState")},enqueueSetState:function(h){p(h,"setState")}},Vr=Object.assign,To={};Object.freeze(To),g.prototype.isReactComponent={},g.prototype.setState=function(h,R){if(typeof h!="object"&&typeof h!="function"&&h!=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,h,R,"setState")},g.prototype.forceUpdate=function(h){this.updater.enqueueForceUpdate(this,h,"forceUpdate")};var St={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},an;for(an in St)St.hasOwnProperty(an)&&c(an,St[an]);N.prototype=g.prototype,St=j.prototype=new N,St.constructor=j,Vr(St,g.prototype),St.isPureReactComponent=!0;var ms=Array.isArray,Mn=Symbol.for("react.client.reference"),Le={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Js=Object.prototype.hasOwnProperty,Pt=console.createTask?console.createTask:function(){return null};St={"react-stack-bottom-frame":function(h){return h()}};var ln,ji,_o={},Ws=St["react-stack-bottom-frame"].bind(St,C)(),Uo=Pt(f(C)),Mr=!1,er=/\/+/g,Pn=typeof reportError=="function"?reportError:function(h){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var R=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof h=="object"&&h!==null&&typeof h.message=="string"?String(h.message):String(h),error:h});if(!window.dispatchEvent(R))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",h);return}console.error(h)},Pr=!1,On=null,_s=0,kn=!1,vn=!1,fs=typeof queueMicrotask=="function"?function(h){queueMicrotask(function(){return queueMicrotask(h)})}:X;St=Object.freeze({__proto__:null,c:function(h){return se().useMemoCache(h)}}),i.Children={map:K,forEach:function(h,R,te){K(h,function(){R.apply(this,arguments)},te)},count:function(h){var R=0;return K(h,function(){R++}),R},toArray:function(h){return K(h,function(R){return R})||[]},only:function(h){if(!W(h))throw Error("React.Children.only expected to receive a single React element child.");return h}},i.Component=g,i.Fragment=w,i.Profiler=Z,i.PureComponent=j,i.StrictMode=F,i.Suspense=ve,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Le,i.__COMPILER_RUNTIME=St,i.act=function(h){var R=Le.actQueue,te=_s;_s++;var ce=Le.actQueue=R!==null?R:[],je=!1;try{var ke=h()}catch(Te){Le.thrownErrors.push(Te)}if(0<Le.thrownErrors.length)throw A(R,te),h=ee(Le.thrownErrors),Le.thrownErrors.length=0,h;if(ke!==null&&typeof ke=="object"&&typeof ke.then=="function"){var Ve=ke;return fs(function(){je||kn||(kn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Te,We){je=!0,Ve.then(function(Et){if(A(R,te),te===0){try{k(ce),X(function(){return T(Et,Te,We)})}catch(Ct){Le.thrownErrors.push(Ct)}if(0<Le.thrownErrors.length){var Or=ee(Le.thrownErrors);Le.thrownErrors.length=0,We(Or)}}else Te(Et)},function(Et){A(R,te),0<Le.thrownErrors.length&&(Et=ee(Le.thrownErrors),Le.thrownErrors.length=0),We(Et)})}}}var me=ke;if(A(R,te),te===0&&(k(ce),ce.length!==0&&fs(function(){je||kn||(kn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Le.actQueue=null),0<Le.thrownErrors.length)throw h=ee(Le.thrownErrors),Le.thrownErrors.length=0,h;return{then:function(Te,We){je=!0,te===0?(Le.actQueue=ce,X(function(){return T(me,Te,We)})):Te(me)}}},i.cache=function(h){return function(){return h.apply(null,arguments)}},i.captureOwnerStack=function(){var h=Le.getCurrentStack;return h===null?null:h()},i.cloneElement=function(h,R,te){if(h==null)throw Error("The argument must be a React element, but you passed "+h+".");var ce=Vr({},h.props),je=h.key,ke=h._owner;if(R!=null){var Ve;e:{if(Js.call(R,"ref")&&(Ve=Object.getOwnPropertyDescriptor(R,"ref").get)&&Ve.isReactWarning){Ve=!1;break e}Ve=R.ref!==void 0}Ve&&(ke=x()),Y(R)&&(_(R.key),je=""+R.key);for(me in R)!Js.call(R,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&R.ref===void 0||(ce[me]=R[me])}var me=arguments.length-2;if(me===1)ce.children=te;else if(1<me){Ve=Array(me);for(var Te=0;Te<me;Te++)Ve[Te]=arguments[Te+2];ce.children=Ve}for(ce=Q(h.type,je,void 0,void 0,ke,ce,h._debugStack,h._debugTask),je=2;je<arguments.length;je++)ke=arguments[je],W(ke)&&ke._store&&(ke._store.validated=1);return ce},i.createContext=function(h){return h={$$typeof:De,_currentValue:h,_currentValue2:h,_threadCount:0,Provider:null,Consumer:null},h.Provider=h,h.Consumer={$$typeof:oe,_context:h},h._currentRenderer=null,h._currentRenderer2=null,h},i.createElement=function(h,R,te){for(var ce=2;ce<arguments.length;ce++){var je=arguments[ce];W(je)&&je._store&&(je._store.validated=1)}if(ce={},je=null,R!=null)for(Te in ji||!("__self"in R)||"key"in R||(ji=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Y(R)&&(_(R.key),je=""+R.key),R)Js.call(R,Te)&&Te!=="key"&&Te!=="__self"&&Te!=="__source"&&(ce[Te]=R[Te]);var ke=arguments.length-2;if(ke===1)ce.children=te;else if(1<ke){for(var Ve=Array(ke),me=0;me<ke;me++)Ve[me]=arguments[me+2];Object.freeze&&Object.freeze(Ve),ce.children=Ve}if(h&&h.defaultProps)for(Te in ke=h.defaultProps,ke)ce[Te]===void 0&&(ce[Te]=ke[Te]);je&&I(ce,typeof h=="function"?h.displayName||h.name||"Unknown":h);var Te=1e4>Le.recentlyCreatedOwnerStacks++;return Q(h,je,void 0,void 0,x(),ce,Te?Error("react-stack-top-frame"):Ws,Te?Pt(f(h)):Uo)},i.createRef=function(){var h={current:null};return Object.seal(h),h},i.forwardRef=function(h){h!=null&&h.$$typeof===he?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof h!="function"?console.error("forwardRef requires a render function but was given %s.",h===null?"null":typeof h):h.length!==0&&h.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",h.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),h!=null&&h.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var R={$$typeof:Oe,render:h},te;return Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return te},set:function(ce){te=ce,h.name||h.displayName||(Object.defineProperty(h,"name",{value:ce}),h.displayName=ce)}}),R},i.isValidElement=W,i.lazy=function(h){return{$$typeof:He,_payload:{_status:-1,_result:h},_init:ue}},i.memo=function(h,R){h==null&&console.error("memo: The first argument must be a component. Instead received: %s",h===null?"null":typeof h),R={$$typeof:he,type:h,compare:R===void 0?null:R};var te;return Object.defineProperty(R,"displayName",{enumerable:!1,configurable:!0,get:function(){return te},set:function(ce){te=ce,h.name||h.displayName||(Object.defineProperty(h,"name",{value:ce}),h.displayName=ce)}}),R},i.startTransition=function(h){var R=Le.T,te={};Le.T=te,te._updatedFibers=new Set;try{var ce=h(),je=Le.S;je!==null&&je(te,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(we,Pn)}catch(ke){Pn(ke)}finally{R===null&&te._updatedFibers&&(h=te._updatedFibers.size,te._updatedFibers.clear(),10<h&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),Le.T=R}},i.unstable_useCacheRefresh=function(){return se().useCacheRefresh()},i.use=function(h){return se().use(h)},i.useActionState=function(h,R,te){return se().useActionState(h,R,te)},i.useCallback=function(h,R){return se().useCallback(h,R)},i.useContext=function(h){var R=se();return h.$$typeof===oe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),R.useContext(h)},i.useDebugValue=function(h,R){return se().useDebugValue(h,R)},i.useDeferredValue=function(h,R){return se().useDeferredValue(h,R)},i.useEffect=function(h,R,te){h==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var ce=se();if(typeof te=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ce.useEffect(h,R)},i.useId=function(){return se().useId()},i.useImperativeHandle=function(h,R,te){return se().useImperativeHandle(h,R,te)},i.useInsertionEffect=function(h,R){return h==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useInsertionEffect(h,R)},i.useLayoutEffect=function(h,R){return h==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useLayoutEffect(h,R)},i.useMemo=function(h,R){return se().useMemo(h,R)},i.useOptimistic=function(h,R){return se().useOptimistic(h,R)},i.useReducer=function(h,R,te){return se().useReducer(h,R,te)},i.useRef=function(h){return se().useRef(h)},i.useState=function(h){return se().useState(h)},i.useSyncExternalStore=function(h,R,te){return se().useSyncExternalStore(h,R,te)},i.useTransition=function(){return se().useTransition()},i.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(Dc,Dc.exports)),Dc.exports}var NN;function Mc(){return NN||(NN=1,Eh.exports=Yj()),Eh.exports}var wN;function Gj(){if(wN)return Cd;wN=1;/**
|
|
22
|
-
* @license React
|
|
23
|
-
* react-jsx-dev-runtime.development.js
|
|
24
|
-
*
|
|
25
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/return function(){function a(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ue?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case I:return"Fragment";case Q:return"Profiler";case O:return"StrictMode";case re:return"Suspense";case de:return"SuspenseList";case K:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case Y:return"Portal";case W:return(w.displayName||"Context")+".Provider";case xe:return(w._context.displayName||"Context")+".Consumer";case pe:var F=w.render;return w=w.displayName,w||(w=F.displayName||F.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case ge:return F=w.displayName||null,F!==null?F:a(w.type)||"Memo";case J:F=w._payload,w=w._init;try{return a(w(F))}catch{}}return null}function i(w){return""+w}function c(w){try{i(w);var F=!1}catch{F=!0}if(F){F=console;var Z=F.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return Z.call(F,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),i(w)}}function d(w){if(w===I)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===J)return"<...>";try{var F=a(w);return F?"<"+F+">":"<...>"}catch{return"<...>"}}function p(){var w=se.A;return w===null?null:w.getOwner()}function g(){return Error("react-stack-top-frame")}function N(w){if(we.call(w,"key")){var F=Object.getOwnPropertyDescriptor(w,"key").get;if(F&&F.isReactWarning)return!1}return w.key!==void 0}function j(w,F){function Z(){A||(A=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",F))}Z.isReactWarning=!0,Object.defineProperty(w,"key",{get:Z,configurable:!0})}function y(){var w=a(this.type);return T[w]||(T[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function _(w,F,Z,oe,De,Oe,ve,Ge){return Z=Oe.ref,w={$$typeof:C,type:w,key:F,props:Oe,_owner:De},(Z!==void 0?Z:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:y}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ve}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ge}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function V(w,F,Z,oe,De,Oe,ve,Ge){var he=F.children;if(he!==void 0)if(oe)if(X(he)){for(oe=0;oe<he.length;oe++)f(he[oe]);Object.freeze&&Object.freeze(he)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(he);if(we.call(F,"key")){he=a(w);var He=Object.keys(F).filter(function(Ut){return Ut!=="key"});oe=0<He.length?"{key: someKey, "+He.join(": ..., ")+": ...}":"{key: someKey}",ae[he+oe]||(He=0<He.length?"{"+He.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
30
|
-
let props = %s;
|
|
31
|
-
<%s {...props} />
|
|
32
|
-
React keys must be passed directly to JSX without using spread:
|
|
33
|
-
let props = %s;
|
|
34
|
-
<%s key={someKey} {...props} />`,oe,he,He,he),ae[he+oe]=!0)}if(he=null,Z!==void 0&&(c(Z),he=""+Z),N(F)&&(c(F.key),he=""+F.key),"key"in F){Z={};for(var Qe in F)Qe!=="key"&&(Z[Qe]=F[Qe])}else Z=F;return he&&j(Z,typeof w=="function"?w.displayName||w.name||"Unknown":w),_(w,he,Oe,De,p(),Z,ve,Ge)}function f(w){typeof w=="object"&&w!==null&&w.$$typeof===C&&w._store&&(w._store.validated=1)}var x=Mc(),C=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),W=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),se=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,we=Object.prototype.hasOwnProperty,X=Array.isArray,ee=console.createTask?console.createTask:function(){return null};x={"react-stack-bottom-frame":function(w){return w()}};var A,T={},k=x["react-stack-bottom-frame"].bind(x,g)(),z=ee(d(g)),ae={};Cd.Fragment=I,Cd.jsxDEV=function(w,F,Z,oe,De,Oe){var ve=1e4>se.recentlyCreatedOwnerStacks++;return V(w,F,Z,oe,De,Oe,ve?Error("react-stack-top-frame"):k,ve?ee(d(w)):z)}}(),Cd}var SN;function $j(){return SN||(SN=1,Sh.exports=Gj()),Sh.exports}var l=$j(),H=Mc();const ie=f1(H),p1=Fj({__proto__:null,default:ie},[H]);var jh={exports:{}},wc={},Dh={exports:{}},Th={},EN;function Ij(){return EN||(EN=1,function(a){/**
|
|
35
|
-
* @license React
|
|
36
|
-
* scheduler.development.js
|
|
37
|
-
*
|
|
38
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the MIT license found in the
|
|
41
|
-
* LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/(function(){function i(){if(re=!1,K){var T=a.unstable_now();we=T;var k=!0;try{e:{W=!1,pe&&(pe=!1,ge(ue),ue=-1),xe=!0;var z=Q;try{t:{for(N(T),O=d(C);O!==null&&!(O.expirationTime>T&&y());){var ae=O.callback;if(typeof ae=="function"){O.callback=null,Q=O.priorityLevel;var w=ae(O.expirationTime<=T);if(T=a.unstable_now(),typeof w=="function"){O.callback=w,N(T),k=!0;break t}O===d(C)&&p(C),N(T)}else p(C);O=d(C)}if(O!==null)k=!0;else{var F=d(Y);F!==null&&_(j,F.startTime-T),k=!1}}break e}finally{O=null,Q=z,xe=!1}k=void 0}}finally{k?X():K=!1}}}function c(T,k){var z=T.length;T.push(k);e:for(;0<z;){var ae=z-1>>>1,w=T[ae];if(0<g(w,k))T[ae]=k,T[z]=w,z=ae;else break e}}function d(T){return T.length===0?null:T[0]}function p(T){if(T.length===0)return null;var k=T[0],z=T.pop();if(z!==k){T[0]=z;e:for(var ae=0,w=T.length,F=w>>>1;ae<F;){var Z=2*(ae+1)-1,oe=T[Z],De=Z+1,Oe=T[De];if(0>g(oe,z))De<w&&0>g(Oe,oe)?(T[ae]=Oe,T[De]=z,ae=De):(T[ae]=oe,T[Z]=z,ae=Z);else if(De<w&&0>g(Oe,z))T[ae]=Oe,T[De]=z,ae=De;else break e}}return k}function g(T,k){var z=T.sortIndex-k.sortIndex;return z!==0?z:T.id-k.id}function N(T){for(var k=d(Y);k!==null;){if(k.callback===null)p(Y);else if(k.startTime<=T)p(Y),k.sortIndex=k.expirationTime,c(C,k);else break;k=d(Y)}}function j(T){if(pe=!1,N(T),!W)if(d(C)!==null)W=!0,K||(K=!0,X());else{var k=d(Y);k!==null&&_(j,k.startTime-T)}}function y(){return re?!0:!(a.unstable_now()-we<se)}function _(T,k){ue=de(function(){T(a.unstable_now())},k)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var V=performance;a.unstable_now=function(){return V.now()}}else{var f=Date,x=f.now();a.unstable_now=function(){return f.now()-x}}var C=[],Y=[],I=1,O=null,Q=3,xe=!1,W=!1,pe=!1,re=!1,de=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null,K=!1,ue=-1,se=5,we=-1;if(typeof J=="function")var X=function(){J(i)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,A=ee.port2;ee.port1.onmessage=i,X=function(){A.postMessage(null)}}else X=function(){de(i,0)};a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(T){T.callback=null},a.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):se=0<T?Math.floor(1e3/T):5},a.unstable_getCurrentPriorityLevel=function(){return Q},a.unstable_next=function(T){switch(Q){case 1:case 2:case 3:var k=3;break;default:k=Q}var z=Q;Q=k;try{return T()}finally{Q=z}},a.unstable_requestPaint=function(){re=!0},a.unstable_runWithPriority=function(T,k){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var z=Q;Q=T;try{return k()}finally{Q=z}},a.unstable_scheduleCallback=function(T,k,z){var ae=a.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?ae+z:ae):z=ae,T){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5e3}return w=z+w,T={id:I++,callback:k,priorityLevel:T,startTime:z,expirationTime:w,sortIndex:-1},z>ae?(T.sortIndex=z,c(Y,T),d(C)===null&&T===d(Y)&&(pe?(ge(ue),ue=-1):pe=!0,_(j,z-ae))):(T.sortIndex=w,c(C,T),W||xe||(W=!0,K||(K=!0,X()))),T},a.unstable_shouldYield=y,a.unstable_wrapCallback=function(T){var k=Q;return function(){var z=Q;Q=k;try{return T.apply(this,arguments)}finally{Q=z}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(Th)),Th}var jN;function Qj(){return jN||(jN=1,Dh.exports=Ij()),Dh.exports}var _h={exports:{}},sn={},DN;function Xj(){if(DN)return sn;DN=1;/**
|
|
43
|
-
* @license React
|
|
44
|
-
* react-dom.development.js
|
|
45
|
-
*
|
|
46
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the MIT license found in the
|
|
49
|
-
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/return function(){function a(){}function i(f){return""+f}function c(f,x,C){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{i(Y);var I=!1}catch{I=!0}return I&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object"),i(Y)),{$$typeof:_,key:Y==null?null:""+Y,children:f,containerInfo:x,implementation:C}}function d(f,x){if(f==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function p(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":'something with type "'+typeof f+'"'}function g(f){return f===null?"`null`":f===void 0?"`undefined`":f===""?"an empty string":typeof f=="string"?JSON.stringify(f):typeof f=="number"?"`"+f+"`":'something with type "'+typeof f+'"'}function N(){var f=V.H;return f===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
51
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
52
|
-
2. You might be breaking the Rules of Hooks
|
|
53
|
-
3. You might have more than one copy of React in the same app
|
|
54
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),f}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var j=Mc(),y={d:{f:a,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},_=Symbol.for("react.portal"),V=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),sn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=y,sn.createPortal=function(f,x){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return c(f,x,null,C)},sn.flushSync=function(f){var x=V.T,C=y.p;try{if(V.T=null,y.p=2,f)return f()}finally{V.T=x,y.p=C,y.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},sn.preconnect=function(f,x){typeof f=="string"&&f?x!=null&&typeof x!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",g(x)):x!=null&&typeof x.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",p(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(f)),typeof f=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,y.d.C(f,x))},sn.prefetchDNS=function(f){if(typeof f!="string"||!f)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(f));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",g(x)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",g(x))}typeof f=="string"&&y.d.D(f)},sn.preinit=function(f,x){if(typeof f=="string"&&f?x==null||typeof x!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",g(x)):x.as!=="style"&&x.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',g(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",p(f)),typeof f=="string"&&x&&typeof x.as=="string"){var C=x.as,Y=d(C,x.crossOrigin),I=typeof x.integrity=="string"?x.integrity:void 0,O=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;C==="style"?y.d.S(f,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:Y,integrity:I,fetchPriority:O}):C==="script"&&y.d.X(f,{crossOrigin:Y,integrity:I,fetchPriority:O,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},sn.preinitModule=function(f,x){var C="";if(typeof f=="string"&&f||(C+=" The `href` argument encountered was "+p(f)+"."),x!==void 0&&typeof x!="object"?C+=" The `options` argument encountered was "+p(x)+".":x&&"as"in x&&x.as!=="script"&&(C+=" The `as` option encountered was "+g(x.as)+"."),C)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",C);else switch(C=x&&typeof x.as=="string"?x.as:"script",C){case"script":break;default:C=g(C),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',C,f)}typeof f=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(C=d(x.as,x.crossOrigin),y.d.M(f,{crossOrigin:C,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&y.d.M(f))},sn.preload=function(f,x){var C="";if(typeof f=="string"&&f||(C+=" The `href` argument encountered was "+p(f)+"."),x==null||typeof x!="object"?C+=" The `options` argument encountered was "+p(x)+".":typeof x.as=="string"&&x.as||(C+=" The `as` option encountered was "+p(x.as)+"."),C&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',C),typeof f=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){C=x.as;var Y=d(C,x.crossOrigin);y.d.L(f,C,{crossOrigin:Y,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},sn.preloadModule=function(f,x){var C="";typeof f=="string"&&f||(C+=" The `href` argument encountered was "+p(f)+"."),x!==void 0&&typeof x!="object"?C+=" The `options` argument encountered was "+p(x)+".":x&&"as"in x&&typeof x.as!="string"&&(C+=" The `as` option encountered was "+p(x.as)+"."),C&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',C),typeof f=="string"&&(x?(C=d(x.as,x.crossOrigin),y.d.m(f,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:C,integrity:typeof x.integrity=="string"?x.integrity:void 0})):y.d.m(f))},sn.requestFormReset=function(f){y.d.r(f)},sn.unstable_batchedUpdates=function(f,x){return f(x)},sn.useFormState=function(f,x,C){return N().useFormState(f,x,C)},sn.useFormStatus=function(){return N().useHostTransitionStatus()},sn.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),sn}var TN;function h1(){return TN||(TN=1,_h.exports=Xj()),_h.exports}var _N;function Zj(){if(_N)return wc;_N=1;/**
|
|
55
|
-
* @license React
|
|
56
|
-
* react-dom-client.development.js
|
|
57
|
-
*
|
|
58
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the MIT license found in the
|
|
61
|
-
* LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/return function(){function a(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function i(e,t,n,s){if(n>=t.length)return s;var r=t[n],o=Zt(e)?e.slice():Fe({},e);return o[r]=i(e[r],t,n+1,s),o}function c(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var s=0;s<n.length-1;s++)if(t[s]!==n[s]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return d(e,t,n,0)}}function d(e,t,n,s){var r=t[s],o=Zt(e)?e.slice():Fe({},e);return s+1===t.length?(o[n[s]]=o[r],Zt(o)?o.splice(r,1):delete o[r]):o[r]=d(e[r],t,n,s+1),o}function p(e,t,n){var s=t[n],r=Zt(e)?e.slice():Fe({},e);return n+1===t.length?(Zt(r)?r.splice(s,1):delete r[s],r):(r[s]=p(e[s],t,n+1),r)}function g(){return!1}function N(){return null}function j(){}function y(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function _(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function V(){}function f(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function x(e,t,n,s){return new Lw(e,t,n,s)}function C(e,t){e.context===Wr&&(Qf(e.current,2,t,e,null,null),Oi())}function Y(e,t){if(ts!==null){var n=t.staleFamilies;t=t.updatedFamilies,jl(),mm(e.current,t,n),Oi()}}function I(e){ts=e}function O(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Q(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function xe(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 W(e){if(Q(e)!==e)throw Error("Unable to find node on an unmounted component.")}function pe(e){var t=e.alternate;if(!t){if(t=Q(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,s=t;;){var r=n.return;if(r===null)break;var o=r.alternate;if(o===null){if(s=r.return,s!==null){n=s;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return W(r),e;if(o===s)return W(r),t;o=o.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==s.return)n=r,s=o;else{for(var u=!1,m=r.child;m;){if(m===n){u=!0,n=r,s=o;break}if(m===s){u=!0,s=r,n=o;break}m=m.sibling}if(!u){for(m=o.child;m;){if(m===n){u=!0,n=o,s=r;break}if(m===s){u=!0,s=o,n=r;break}m=m.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==s)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function re(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=re(e),t!==null)return t;e=e.sibling}return null}function de(e){return e===null||typeof e!="object"?null:(e=Lv&&e[Lv]||e["@@iterator"],typeof e=="function"?e:null)}function ge(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===sE?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fi:return"Fragment";case tp:return"Profiler";case Pu:return"StrictMode";case sp:return"Suspense";case rp:return"SuspenseList";case op:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case qi:return"Portal";case ks:return(e.displayName||"Context")+".Provider";case np:return(e._context.displayName||"Context")+".Consumer";case Ml:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ou:return t=e.displayName||null,t!==null?t:ge(e.type)||"Memo";case Yn:t=e._payload,e=e._init;try{return ge(e(t))}catch{}}return null}function J(e){return typeof e.tag=="number"?K(e):typeof e.name=="string"?e.name:null}function K(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ge(t);case 8:return t===Pu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return K(e.return)}return null}function ue(e){return{current:e}}function se(e,t){0>ur?console.error("Unexpected pop."):(t!==ap[ur]&&console.error("Unexpected Fiber popped."),e.current=ip[ur],ip[ur]=null,ap[ur]=null,ur--)}function we(e,t,n){ur++,ip[ur]=e.current,ap[ur]=n,e.current=t}function X(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ee(e,t){we(Xr,t,e),we(Pl,e,e),we(Qr,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?hv(t):wr;break;default:if(n=t.tagName,t=t.namespaceURI)t=hv(t),t=bv(t,n);else switch(n){case"svg":t=Ea;break;case"math":t=wd;break;default:t=wr}}n=n.toLowerCase(),n=jb(null,n),n={context:t,ancestorInfo:n},se(Qr,e),we(Qr,n,e)}function A(e){se(Qr,e),se(Pl,e),se(Xr,e)}function T(){return X(Qr.current)}function k(e){e.memoizedState!==null&&we(ku,e,e);var t=X(Qr.current),n=e.type,s=bv(t.context,n);n=jb(t.ancestorInfo,n),s={context:s,ancestorInfo:n},t!==s&&(we(Pl,e,e),we(Qr,s,e))}function z(e){Pl.current===e&&(se(Qr,e),se(Pl,e)),ku.current===e&&(se(ku,e),vc._currentValue=di)}function ae(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function w(e){try{return F(e),!1}catch{return!0}}function F(e){return""+e}function Z(e,t){if(w(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ae(e)),F(e)}function oe(e,t){if(w(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ae(e)),F(e)}function De(e){if(w(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",ae(e)),F(e)}function Oe(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Gi=t.inject(e),en=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function ve(e){if(typeof uE=="function"&&dE(e),en&&typeof en.setStrictMode=="function")try{en.setStrictMode(Gi,e)}catch(t){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",t))}}function Ge(e){fe=e}function he(){fe!==null&&typeof fe.markCommitStopped=="function"&&fe.markCommitStopped()}function He(e){fe!==null&&typeof fe.markComponentRenderStarted=="function"&&fe.markComponentRenderStarted(e)}function Qe(){fe!==null&&typeof fe.markComponentRenderStopped=="function"&&fe.markComponentRenderStopped()}function Ut(e){fe!==null&&typeof fe.markRenderStarted=="function"&&fe.markRenderStarted(e)}function on(){fe!==null&&typeof fe.markRenderStopped=="function"&&fe.markRenderStopped()}function Vn(e,t){fe!==null&&typeof fe.markStateUpdateScheduled=="function"&&fe.markStateUpdateScheduled(e,t)}function Vr(e){return e>>>=0,e===0?32:31-(mE(e)/fE|0)|0}function To(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function St(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function an(e,t,n){var s=e.pendingLanes;if(s===0)return 0;var r=0,o=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var m=s&134217727;return m!==0?(s=m&~o,s!==0?r=St(s):(u&=m,u!==0?r=St(u):n||(n=m&~e,n!==0&&(r=St(n))))):(m=s&~o,m!==0?r=St(m):u!==0?r=St(u):n||(n=s&~e,n!==0&&(r=St(n)))),r===0?0:t!==0&&t!==r&&(t&o)===0&&(o=r&-r,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:r}function ms(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Mn(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 console.error("Should have found matching lanes. This is a bug in React."),-1}}function Le(){var e=zu;return zu<<=1,(zu&4194048)===0&&(zu=256),e}function Js(){var e=Hu;return Hu<<=1,(Hu&62914560)===0&&(Hu=4194304),e}function Pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ln(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ji(e,t,n,s,r,o){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var m=e.entanglements,b=e.expirationTimes,v=e.hiddenUpdates;for(n=u&~n;0<n;){var P=31-cn(n),q=1<<P;m[P]=0,b[P]=-1;var M=v[P];if(M!==null)for(v[P]=null,P=0;P<M.length;P++){var G=M[P];G!==null&&(G.lane&=-536870913)}n&=~q}s!==0&&_o(e,s,0),o!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=o&~(u&~t))}function _o(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-cn(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|n&4194090}function Ws(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var s=31-cn(n),r=1<<s;r&t|e[s]&t&&(e[s]|=t),n&=~r}}function Uo(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 Mr(e,t,n){if(bs)for(e=e.pendingUpdatersLaneMap;0<n;){var s=31-cn(n),r=1<<s;e[s].add(t),n&=~r}}function er(e,t){if(bs)for(var n=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;0<t;){var r=31-cn(t);e=1<<r,r=n[r],0<r.size&&(r.forEach(function(o){var u=o.alternate;u!==null&&s.has(u)||s.add(o)}),r.clear()),t&=~e}}function Pn(e){return e&=-e,Wn<e?Bs<e?(e&134217727)!==0?mr:Bu:Bs:Wn}function Pr(){var e=st.p;return e!==0?e:(e=window.event,e===void 0?mr:Pv(e.type))}function On(e,t){var n=st.p;try{return st.p=e,t()}finally{st.p=n}}function _s(e){delete e[tn],delete e[jn],delete e[mp],delete e[pE],delete e[hE]}function kn(e){var t=e[tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kr]||n[tn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wv(e);e!==null;){if(n=e[tn])return n;e=wv(e)}return t}e=n,n=e.parentNode}return null}function vn(e){if(e=e[tn]||e[Kr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function fs(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function h(e){var t=e[qv];return t||(t=e[qv]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function R(e){e[Ol]=!0}function te(e,t){ce(e,t),ce(e+"Capture",t)}function ce(e,t){$o[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),$o[e]=t;var n=e.toLowerCase();for(fp[n]=e,e==="onDoubleClick"&&(fp.ondblclick=e),e=0;e<t.length;e++)Fv.add(t[e])}function je(e,t){bE[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ke(e){return dr.call(Gv,e)?!0:dr.call(Yv,e)?!1:gE.test(e)?Gv[e]=!0:(Yv[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ve(e,t,n){if(ke(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Z(n,t),e===""+n?n:e)}}function me(e,t,n){if(ke(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}Z(n,t),e.setAttribute(t,""+n)}}function Te(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Z(n,t),e.setAttribute(t,""+n)}}function We(e,t,n,s){if(s===null)e.removeAttribute(n);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Z(s,n),e.setAttributeNS(t,n,""+s)}}function Et(){}function Or(){if(kl===0){$v=console.log,Iv=console.info,Qv=console.warn,Xv=console.error,Zv=console.group,Kv=console.groupCollapsed,Jv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Et,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}kl++}function Ct(){if(kl--,kl===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Fe({},e,{value:$v}),info:Fe({},e,{value:Iv}),warn:Fe({},e,{value:Qv}),error:Fe({},e,{value:Xv}),group:Fe({},e,{value:Zv}),groupCollapsed:Fe({},e,{value:Kv}),groupEnd:Fe({},e,{value:Jv})})}0>kl&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function xt(e){if(pp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);pp=t&&t[1]||"",Wv=-1<n.stack.indexOf(`
|
|
63
|
-
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
64
|
-
`+pp+e+Wv}function kr(e,t){if(!e||hp)return"";var n=bp.get(e);if(n!==void 0)return n;hp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var s=null;s=L.H,L.H=null,Or();try{var r={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(ye){var G=ye}Reflect.construct(e,[],M)}else{try{M.call()}catch(ye){G=ye}e.call(M.prototype)}}else{try{throw Error()}catch(ye){G=ye}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(ye){if(ye&&G&&typeof ye.stack=="string")return[ye.stack,G.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=r.DetermineComponentFrameRoot(),m=u[0],b=u[1];if(m&&b){var v=m.split(`
|
|
65
|
-
`),P=b.split(`
|
|
66
|
-
`);for(u=o=0;o<v.length&&!v[o].includes("DetermineComponentFrameRoot");)o++;for(;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;if(o===v.length||u===P.length)for(o=v.length-1,u=P.length-1;1<=o&&0<=u&&v[o]!==P[u];)u--;for(;1<=o&&0<=u;o--,u--)if(v[o]!==P[u]){if(o!==1||u!==1)do if(o--,u--,0>u||v[o]!==P[u]){var q=`
|
|
67
|
-
`+v[o].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),typeof e=="function"&&bp.set(e,q),q}while(1<=o&&0<=u);break}}}finally{hp=!1,L.H=s,Ct(),Error.prepareStackTrace=n}return v=(v=e?e.displayName||e.name:"")?xt(v):"",typeof e=="function"&&bp.set(e,v),v}function yn(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
68
|
-
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
69
|
-
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
70
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function zn(e){switch(e.tag){case 26:case 27:case 5:return xt(e.type);case 16:return xt("Lazy");case 13:return xt("Suspense");case 19:return xt("SuspenseList");case 0:case 15:return kr(e.type,!1);case 11:return kr(e.type.render,!1);case 1:return kr(e.type,!0);case 31:return xt("Activity");default:return""}}function Ja(e){try{var t="";do{t+=zn(e);var n=e._debugInfo;if(n)for(var s=n.length-1;0<=s;s--){var r=n[s];if(typeof r.name=="string"){var o=t,u=r.env,m=xt(r.name+(u?" ["+u+"]":""));t=o+m}}e=e.return}while(e);return t}catch(b){return`
|
|
71
|
-
Error generating stack: `+b.message+`
|
|
72
|
-
`+b.stack}}function Us(e){return(e=e?e.displayName||e.name:"")?xt(e):""}function Wa(){if(Gn===null)return null;var e=Gn._debugOwner;return e!=null?J(e):null}function Nw(){if(Gn===null)return"";var e=Gn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=xt(e.type);break;case 13:t+=xt("Suspense");break;case 19:t+=xt("SuspenseList");break;case 31:t+=xt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Us(e.type));break;case 11:e._debugOwner||t!==""||(t+=Us(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var s=n._debugStack;e&&s&&(typeof s!="string"&&(n._debugStack=s=yn(s)),s!==""&&(t+=`
|
|
73
|
-
`+s))}else if(e.debugStack!=null){var r=e.debugStack;(e=e.owner)&&r&&(t+=`
|
|
74
|
-
`+yn(r))}else break;var o=t}catch(u){o=`
|
|
75
|
-
Error generating stack: `+u.message+`
|
|
76
|
-
`+u.stack}return o}function Ue(e,t,n,s,r,o,u){var m=Gn;Wd(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,s,r,o,u)):t(n,s,r,o,u)}finally{Wd(m)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Wd(e){L.getCurrentStack=e===null?null:Nw,Ls=!1,Gn=e}function Xn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return De(e),e;default:return""}}function db(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ww(e){var t=db(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);De(e[t]);var s=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(u){De(u),s=""+u,o.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return s},setValue:function(u){De(u),s=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oc(e){e._valueTracker||(e._valueTracker=ww(e))}function mb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),s="";return e&&(s=db(e)?e.checked?"true":"false":e.value),e=s,e!==n?(t.setValue(e),!0):!1}function kc(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}}function Zn(e){return e.replace(xE,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function fb(e,t){t.checked===void 0||t.defaultChecked===void 0||ty||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Wa()||"A component",t.type),ty=!0),t.value===void 0||t.defaultValue===void 0||ey||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Wa()||"A component",t.type),ey=!0)}function em(e,t,n,s,r,o,u,m){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?(Z(u,"type"),e.type=u):e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xn(t)):e.value!==""+Xn(t)&&(e.value=""+Xn(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?tm(e,u,Xn(t)):n!=null?tm(e,u,Xn(n)):s!=null&&e.removeAttribute("value"),r==null&&o!=null&&(e.defaultChecked=!!o),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(Z(m,"name"),e.name=""+Xn(m)):e.removeAttribute("name")}function pb(e,t,n,s,r,o,u,m){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(Z(o,"type"),e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null))return;n=n!=null?""+Xn(n):"",t=t!=null?""+Xn(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}s=s??r,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=m?e.checked:!!s,e.defaultChecked=!!s,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(Z(u,"name"),e.name=u)}function tm(e,t,n){t==="number"&&kc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function hb(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?ep.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||sy||(sy=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||ry||(ry=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ny||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ny=!0)}function bb(){var e=Wa();return e?`
|
|
77
|
-
|
|
78
|
-
Check the render method of \``+e+"`.":""}function Di(e,t,n,s){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&s&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,s&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function gb(e,t){for(e=0;e<iy.length;e++){var n=iy[e];if(t[n]!=null){var s=Zt(t[n]);t.multiple&&!s?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,bb()):!t.multiple&&s&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,bb())}}t.value===void 0||t.defaultValue===void 0||oy||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),oy=!0)}function xb(e,t){t.value===void 0||t.defaultValue===void 0||ay||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Wa()||"A component"),ay=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function vb(e,t,n){if(t!=null&&(t=""+Xn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Xn(n):""}function yb(e,t,n,s){if(t==null){if(s!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(s)){if(1<s.length)throw Error("<textarea> can only have at most one child.");s=s[0]}n=s}n==null&&(n=""),t=n}n=Xn(t),e.defaultValue=n,s=e.textContent,s===n&&s!==""&&s!==null&&(e.value=s)}function Nb(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Nb(e.children[0],t):e}function Hn(e){return" "+" ".repeat(e)}function Ti(e){return"+ "+" ".repeat(e)}function Co(e){return"- "+" ".repeat(e)}function wb(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function el(e,t){return ly.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function zc(e,t,n){var s=120-2*n;if(t===null)return Ti(n)+el(e,s)+`
|
|
79
|
-
`;if(typeof t=="string"){for(var r=0;r<t.length&&r<e.length&&t.charCodeAt(r)===e.charCodeAt(r);r++);return r>s-8&&10<r&&(e="..."+e.slice(r-8),t="..."+t.slice(r-8)),Ti(n)+el(e,s)+`
|
|
80
|
-
`+Co(n)+el(t,s)+`
|
|
81
|
-
`}return Hn(n)+el(e,s)+`
|
|
82
|
-
`}function nm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function tl(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Zt(e))return"[...]";if(e.$$typeof===Ir)return(t=ge(e.type))?"<"+t+">":"<...>";var n=nm(e);if(n==="Object"){n="",t-=2;for(var s in e)if(e.hasOwnProperty(s)){var r=JSON.stringify(s);if(r!=='"'+s+'"'&&(s=r),t-=s.length-2,r=tl(e[s],15>t?t:15),t-=r.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+s+":"+r}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function _i(e,t){return typeof e!="string"||ly.test(e)?"{"+tl(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function sm(e,t,n){var s=120-n.length-e.length,r=[],o;for(o in t)if(t.hasOwnProperty(o)&&o!=="children"){var u=_i(t[o],120-n.length-o.length-1);s-=o.length+u.length+2,r.push(o+"="+u)}return r.length===0?n+"<"+e+`>
|
|
83
|
-
`:0<s?n+"<"+e+" "+r.join(" ")+`>
|
|
84
|
-
`:n+"<"+e+`
|
|
85
|
-
`+n+" "+r.join(`
|
|
86
|
-
`+n+" ")+`
|
|
87
|
-
`+n+`>
|
|
88
|
-
`}function Sw(e,t,n){var s="",r=Fe({},t),o;for(o in e)if(e.hasOwnProperty(o)){delete r[o];var u=120-2*n-o.length-2,m=tl(e[o],u);t.hasOwnProperty(o)?(u=tl(t[o],u),s+=Ti(n)+o+": "+m+`
|
|
89
|
-
`,s+=Co(n)+o+": "+u+`
|
|
90
|
-
`):s+=Ti(n)+o+": "+m+`
|
|
91
|
-
`}for(var b in r)r.hasOwnProperty(b)&&(e=tl(r[b],120-2*n-b.length-2),s+=Co(n)+b+": "+e+`
|
|
92
|
-
`);return s}function Ew(e,t,n,s){var r="",o=new Map;for(v in n)n.hasOwnProperty(v)&&o.set(v.toLowerCase(),v);if(o.size===1&&o.has("children"))r+=sm(e,t,Hn(s));else{for(var u in t)if(t.hasOwnProperty(u)&&u!=="children"){var m=120-2*(s+1)-u.length-1,b=o.get(u.toLowerCase());if(b!==void 0){o.delete(u.toLowerCase());var v=t[u];b=n[b];var P=_i(v,m);m=_i(b,m),typeof v=="object"&&v!==null&&typeof b=="object"&&b!==null&&nm(v)==="Object"&&nm(b)==="Object"&&(2<Object.keys(v).length||2<Object.keys(b).length||-1<P.indexOf("...")||-1<m.indexOf("..."))?r+=Hn(s+1)+u+`={{
|
|
93
|
-
`+Sw(v,b,s+2)+Hn(s+1)+`}}
|
|
94
|
-
`:(r+=Ti(s+1)+u+"="+P+`
|
|
95
|
-
`,r+=Co(s+1)+u+"="+m+`
|
|
96
|
-
`)}else r+=Hn(s+1)+u+"="+_i(t[u],m)+`
|
|
97
|
-
`}o.forEach(function(q){if(q!=="children"){var M=120-2*(s+1)-q.length-1;r+=Co(s+1)+q+"="+_i(n[q],M)+`
|
|
98
|
-
`}}),r=r===""?Hn(s)+"<"+e+`>
|
|
99
|
-
`:Hn(s)+"<"+e+`
|
|
100
|
-
`+r+Hn(s)+`>
|
|
101
|
-
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(o="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=""+t),r+=zc(o,""+e,s+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=e==null?r+zc(""+t,null,s+1):r+zc(""+t,void 0,s+1)),r}function Sb(e,t){var n=wb(e);if(n===null){for(n="",e=e.child;e;)n+=Sb(e,t),e=e.sibling;return n}return Hn(t)+"<"+n+`>
|
|
102
|
-
`}function rm(e,t){var n=Nb(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Hn(t)+`...
|
|
103
|
-
`+rm(n,t+1);n="";var s=e.fiber._debugInfo;if(s)for(var r=0;r<s.length;r++){var o=s[r].name;typeof o=="string"&&(n+=Hn(t)+"<"+o+`>
|
|
104
|
-
`,t++)}if(s="",r=e.fiber.pendingProps,e.fiber.tag===6)s=zc(r,e.serverProps,t),t++;else if(o=wb(e.fiber),o!==null)if(e.serverProps===void 0){s=t;var u=120-2*s-o.length-2,m="";for(v in r)if(r.hasOwnProperty(v)&&v!=="children"){var b=_i(r[v],15);if(u-=v.length+b.length+2,0>u){m+=" ...";break}m+=" "+v+"="+b}s=Hn(s)+"<"+o+m+`>
|
|
105
|
-
`,t++}else e.serverProps===null?(s=sm(o,r,Ti(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(s=Ew(o,r,e.serverProps,t),t++);var v="";for(r=e.fiber.child,o=0;r&&o<e.children.length;)u=e.children[o],u.fiber===r?(v+=rm(u,t),o++):v+=Sb(r,t),r=r.sibling;for(r&&0<e.children.length&&(v+=Hn(t)+`...
|
|
106
|
-
`),r=e.serverTail,e.serverProps===null&&t--,e=0;e<r.length;e++)o=r[e],v=typeof o=="string"?v+(Co(t)+el(o,120-2*t)+`
|
|
107
|
-
`):v+sm(o.type,o.props,Co(t));return n+s+v}function om(e){try{return`
|
|
108
|
-
|
|
109
|
-
`+rm(e,0)}catch{return""}}function Eb(e,t,n){for(var s=t,r=null,o=0;s;)s===e&&(o=0),r={fiber:s,children:r!==null?[r]:[],serverProps:s===t?n:s===e?null:void 0,serverTail:[],distanceFromLeaf:o},o++,s=s.return;return r!==null?om(r).replaceAll(/^[+-]/gm,">"):""}function jb(e,t){var n=Fe({},e||uy),s={tag:t};return cy.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),yE.indexOf(t)!==-1&&(n.pTagInButtonScope=null),vE.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=s,t==="form"&&(n.formTag=s),t==="a"&&(n.aTagInScope=s),t==="button"&&(n.buttonTagInScope=s),t==="nobr"&&(n.nobrTagInScope=s),t==="p"&&(n.pTagInButtonScope=s),t==="li"&&(n.listItemTagAutoclosing=s),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=s),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=s),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Db(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return NE.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function jw(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Tb(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function im(e,t){t=t||uy;var n=t.current;if(t=(n=Db(e,n&&n.tag,t.implicitRootScope)?null:n)?null:jw(e,t),t=n||t,!t)return!0;var s=t.tag;if(t=String(!!n)+"|"+e+"|"+s,Lu[t])return!1;Lu[t]=!0;var r=(t=Gn)?Tb(t.return,s):null,o=t!==null&&r!==null?Eb(r,t,null):"",u="<"+e+">";return n?(n="",s==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
110
|
-
This will cause a hydration error.%s`,u,s,n,o)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
111
|
-
This will cause a hydration error.%s`,u,s,o),t&&(e=t.return,r===null||e===null||r===e&&e._debugOwner===t._debugOwner||Ue(r,function(){console.error(`<%s> cannot contain a nested %s.
|
|
112
|
-
See this log for the ancestor stack trace.`,s,u)})),!1}function Hc(e,t,n){if(n||Db("#text",t,!1))return!0;if(n="#text|"+t,Lu[n])return!1;Lu[n]=!0;var s=(n=Gn)?Tb(n,t):null;return n=n!==null&&s!==null?Eb(s,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
113
|
-
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
114
|
-
This will cause a hydration error.%s`,t,n),!1}function nl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Dw(e){return e.replace(EE,function(t,n){return n.toUpperCase()})}function _b(e,t,n){var s=t.indexOf("--")===0;s||(-1<t.indexOf("-")?$i.hasOwnProperty(t)&&$i[t]||($i[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Dw(t.replace(SE,"ms-")))):wE.test(t)?$i.hasOwnProperty(t)&&$i[t]||($i[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!fy.test(n)||xp.hasOwnProperty(n)&&xp[n]||(xp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(fy,""))),typeof n=="number"&&(isNaN(n)?py||(py=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||hy||(hy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,n):typeof n!="number"||n===0||by.has(t)?t==="float"?e.cssFloat=n:(oe(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Ub(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var s={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var o=gp[r]||[r],u=0;u<o.length;u++)s[o[u]]=r}for(var m in t)if(t.hasOwnProperty(m)&&(!n||n[m]!==t[m]))for(r=gp[m]||[m],o=0;o<r.length;o++)s[r[o]]=m;m={};for(var b in t)for(r=gp[b]||[b],o=0;o<r.length;o++)m[r[o]]=b;b={};for(var v in s)if(r=s[v],(o=m[v])&&r!==o&&(u=r+","+o,!b[u])){b[u]=!0,u=console;var P=t[r];u.error.call(u,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",P==null||typeof P=="boolean"||P===""?"Removing":"Updating",r,o)}}for(var q in n)!n.hasOwnProperty(q)||t!=null&&t.hasOwnProperty(q)||(q.indexOf("--")===0?e.setProperty(q,""):q==="float"?e.cssFloat="":e[q]="");for(var M in t)v=t[M],t.hasOwnProperty(M)&&n[M]!==v&&_b(e,M,v)}else for(s in t)t.hasOwnProperty(s)&&_b(e,s,t[s])}function sl(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}}function Cb(e){return jE.get(e)||e}function Tw(e,t){if(dr.call(Qi,t)&&Qi[t])return!0;if(TE.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=gy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Qi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Qi[t]=!0}if(DE.test(t)){if(e=t.toLowerCase(),e=gy.hasOwnProperty(e)?e:null,e==null)return Qi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Qi[t]=!0)}return!0}function _w(e,t){var n=[],s;for(s in t)Tw(e,s)||n.push(s);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Uw(e,t,n,s){if(dr.call(un,t)&&un[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),un[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(s!=null){if(e=s.possibleRegistrationNames,s.registrationNameDependencies.hasOwnProperty(t))return!0;if(s=e.hasOwnProperty(r)?e[r]:null,s!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,s),un[t]=!0;if(vy.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),un[t]=!0}else if(vy.test(t))return _E.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),un[t]=!0;if(UE.test(t)||CE.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),un[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),un[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),un[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),un[t]=!0;if(Fu.hasOwnProperty(r)){if(r=Fu[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),un[t]=!0}else if(t!==r)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),un[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":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":case"capture":case"download":case"inert":return!0;default:return r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),un[t]=!0)}case"function":case"symbol":return un[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":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":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),un[t]=!0}}return!0}function Cw(e,t,n){var s=[],r;for(r in t)Uw(e,r,t[r],n)||s.push(r);t=s.map(function(o){return"`"+o+"`"}).join(", "),s.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<s.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function rl(e){return RE.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function am(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Rb(e){var t=vn(e);if(t&&(e=t.stateNode)){var n=e[jn]||null;e:switch(e=t.stateNode,t.type){case"input":if(em(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Z(t,"name"),n=n.querySelectorAll('input[name="'+Zn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var s=n[t];if(s!==e&&s.form===e.form){var r=s[jn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");em(s,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)s=n[t],s.form===e.form&&mb(s)}break e;case"textarea":vb(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Di(e,!!n.multiple,t,!1)}}}function Ab(e,t,n){if(vp)return e(t,n);vp=!0;try{var s=e(t);return s}finally{if(vp=!1,(Xi!==null||Zi!==null)&&(Oi(),Xi&&(t=Xi,e=Zi,Zi=Xi=null,Rb(t),e)))for(t=0;t<e.length;t++)Rb(e[t])}}function ol(e,t){var n=e.stateNode;if(n===null)return null;var s=n[jn]||null;if(s===null)return null;n=s[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":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Vb(){if(Yu)return Yu;var e,t=Np,n=t.length,s,r="value"in Jr?Jr.value:Jr.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var u=n-e;for(s=1;s<=u&&t[n-s]===r[o-s];s++);return Yu=r.slice(e,1<s?1-s:void 0)}function Bc(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 Lc(){return!0}function Mb(){return!1}function Nn(e){function t(n,s,r,o,u){this._reactName=n,this._targetInst=r,this.type=s,this.nativeEvent=o,this.target=u,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(n=e[m],this[m]=n?n(o):o[m]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Lc:Mb,this.isPropagationStopped=Mb,this}return Fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Lc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Lc)},persist:function(){},isPersistent:Lc}),t}function Rw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=YE[e])?!!t[e]:!1}function lm(){return Rw}function Pb(e,t){switch(e){case"keyup":return nj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Sy;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ob(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Aw(e,t){switch(e){case"compositionend":return Ob(t);case"keypress":return t.which!==jy?null:(Ty=!0,Dy);case"textInput":return e=t.data,e===Dy&&Ty?null:e;default:return null}}function Vw(e,t){if(Ki)return e==="compositionend"||!jp&&Pb(e,t)?(e=Vb(),Yu=Np=Jr=null,Ki=!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 Ey&&t.locale!=="ko"?null:t.data;default:return null}}function kb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rj[e.type]:t==="textarea"}function Mw(e){if(!qs)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function zb(e,t,n,s){Xi?Zi?Zi.push(s):Zi=[s]:Xi=s,t=ju(t,"onChange"),0<t.length&&(n=new Gu("onChange","change",null,n,s),e.push({event:n,listeners:t}))}function Pw(e){ov(e,0)}function qc(e){var t=fs(e);if(mb(t))return e}function Hb(e,t){if(e==="change")return t}function Bb(){Fl&&(Fl.detachEvent("onpropertychange",Lb),Yl=Fl=null)}function Lb(e){if(e.propertyName==="value"&&qc(Yl)){var t=[];zb(t,Yl,e,am(e)),Ab(Pw,t)}}function Ow(e,t,n){e==="focusin"?(Bb(),Fl=t,Yl=n,Fl.attachEvent("onpropertychange",Lb)):e==="focusout"&&Bb()}function kw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qc(Yl)}function zw(e,t){if(e==="click")return qc(t)}function Hw(e,t){if(e==="input"||e==="change")return qc(t)}function Bw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function il(e,t){if(dn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(s=0;s<n.length;s++){var r=n[s];if(!dr.call(t,r)||!dn(e[r],t[r]))return!1}return!0}function qb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fb(e,t){var n=qb(e);e=0;for(var s;n;){if(n.nodeType===3){if(s=e+n.textContent.length,e<=t&&s>=t)return{node:n,offset:t-e};e=s}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qb(n)}}function Yb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gb(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=kc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=kc(e.document)}return t}function cm(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")}function $b(e,t,n){var s=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tp||Ji==null||Ji!==kc(s)||(s=Ji,"selectionStart"in s&&cm(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Gl&&il(Gl,s)||(Gl=s,s=ju(Dp,"onSelect"),0<s.length&&(t=new Gu("onSelect","select",null,t,n),e.push({event:t,listeners:s}),t.target=Ji)))}function Ro(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Ao(e){if(_p[e])return _p[e];if(!Wi[e])return e;var t=Wi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Uy)return _p[e]=t[n];return e}function ps(e,t){My.set(e,t),te(t,[e])}function Bn(e,t){if(typeof e=="object"&&e!==null){var n=Cp.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Ja(t)},Cp.set(e,t),t)}return{value:e,source:t,stack:Ja(t)}}function Fc(){for(var e=ea,t=Rp=ea=0;t<e;){var n=es[t];es[t++]=null;var s=es[t];es[t++]=null;var r=es[t];es[t++]=null;var o=es[t];if(es[t++]=null,s!==null&&r!==null){var u=s.pending;u===null?r.next=r:(r.next=u.next,u.next=r),s.pending=r}o!==0&&Ib(n,r,o)}}function Yc(e,t,n,s){es[ea++]=e,es[ea++]=t,es[ea++]=n,es[ea++]=s,Rp|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function um(e,t,n,s){return Yc(e,t,n,s),Gc(e)}function wn(e,t){return Yc(e,null,null,t),Gc(e)}function Ib(e,t,n){e.lanes|=n;var s=e.alternate;s!==null&&(s.lanes|=n);for(var r=!1,o=e.return;o!==null;)o.childLanes|=n,s=o.alternate,s!==null&&(s.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&Iu||(r=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,r&&t!==null&&(r=31-cn(n),e=o.hiddenUpdates,s=e[r],s===null?e[r]=[t]:s.push(t),t.lane=n|536870912),o):null}function Gc(e){if(fc>Tj)throw ii=fc=0,pc=ah=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ii>_j&&(ii=0,pc=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Jx(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Jx(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Vo(e){if(ts===null)return e;var t=ts(e);return t===void 0?e:t.current}function dm(e){if(ts===null)return e;var t=ts(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Vo(e.render),e.render!==t)?(t={$$typeof:Ml,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Qb(e,t){if(ts===null)return!1;var n=e.elementType;t=t.type;var s=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(s=!0);break;case 0:(typeof t=="function"||r===Yn)&&(s=!0);break;case 11:(r===Ml||r===Yn)&&(s=!0);break;case 14:case 15:(r===Ou||r===Yn)&&(s=!0);break;default:return!1}return!!(s&&(e=ts(n),e!==void 0&&e===ts(t)))}function Xb(e){ts!==null&&typeof WeakSet=="function"&&(ta===null&&(ta=new WeakSet),ta.add(e))}function mm(e,t,n){var s=e.alternate,r=e.child,o=e.sibling,u=e.tag,m=e.type,b=null;switch(u){case 0:case 15:case 1:b=m;break;case 11:b=m.render}if(ts===null)throw Error("Expected resolveFamily to be set during hot reload.");var v=!1;m=!1,b!==null&&(b=ts(b),b!==void 0&&(n.has(b)?m=!0:t.has(b)&&(u===1?m=!0:v=!0))),ta!==null&&(ta.has(e)||s!==null&&ta.has(s))&&(m=!0),m&&(e._debugNeedsRemount=!0),(m||v)&&(s=wn(e,2),s!==null&&At(s,e,2)),r===null||m||mm(r,t,n),o!==null&&mm(o,t,n)}function Lw(e,t,n,s){this.tag=e,this.key=n,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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Oy||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function fm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tr(e,t){var n=e.alternate;switch(n===null?(n=x(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Vo(e.type);break;case 1:n.type=Vo(e.type);break;case 11:n.type=dm(e.type)}return n}function Zb(e,t){e.flags&=65011714;var n=e.alternate;return n===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.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function pm(e,t,n,s,r,o){var u=0,m=e;if(typeof e=="function")fm(e)&&(u=1),m=Vo(m);else if(typeof e=="string")u=T(),u=LS(e,n,u)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case op:return t=x(31,n,t,r),t.elementType=op,t.lanes=o,t;case Fi:return Mo(n.children,r,o,t);case Pu:u=8,r|=nn,r|=gs;break;case tp:return e=n,s=r,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=x(12,e,t,s|Kt),t.elementType=tp,t.lanes=o,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case sp:return t=x(13,n,t,r),t.elementType=sp,t.lanes=o,t;case rp:return t=x(19,n,t,r),t.elementType=rp,t.lanes=o,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tE:case ks:u=10;break e;case np:u=9;break e;case Ml:u=11,m=dm(m);break e;case Ou:u=14;break e;case Yn:u=16,m=null;break e}m="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Zt(e)?n="array":e!==void 0&&e.$$typeof===Ir?(n="<"+(ge(e.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(u=s?J(s):null)&&(m+=`
|
|
115
|
-
|
|
116
|
-
Check the render method of \``+u+"`."),u=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+m)),m=null}return t=x(u,n,t,r),t.elementType=e,t.type=m,t.lanes=o,t._debugOwner=s,t}function $c(e,t,n){return t=pm(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Mo(e,t,n,s){return e=x(7,e,s,t),e.lanes=n,e}function hm(e,t,n){return e=x(6,e,null,t),e.lanes=n,e}function bm(e,t,n){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Po(e,t){Oo(),na[sa++]=Xu,na[sa++]=Qu,Qu=e,Xu=t}function Kb(e,t,n){Oo(),ns[ss++]=pr,ns[ss++]=hr,ns[ss++]=Qo,Qo=e;var s=pr;e=hr;var r=32-cn(s)-1;s&=~(1<<r),n+=1;var o=32-cn(t)+r;if(30<o){var u=r-r%5;o=(s&(1<<u)-1).toString(32),s>>=u,r-=u,pr=1<<32-cn(t)+r|n<<r|s,hr=o+e}else pr=1<<o|n<<r|s,hr=e}function gm(e){Oo(),e.return!==null&&(Po(e,1),Kb(e,1,0))}function xm(e){for(;e===Qu;)Qu=na[--sa],na[sa]=null,Xu=na[--sa],na[sa]=null;for(;e===Qo;)Qo=ns[--ss],ns[ss]=null,hr=ns[--ss],ns[ss]=null,pr=ns[--ss],ns[ss]=null}function Oo(){tt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ko(e,t){if(e.return===null){if(rs===null)rs={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(rs.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");rs.distanceFromLeaf>t&&(rs.distanceFromLeaf=t)}return rs}var n=ko(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function vm(e,t){br||(e=ko(e,0),e.serverProps=null,t!==null&&(t=vv(t),e.serverTail.push(t)))}function zo(e){var t="",n=rs;throw n!==null&&(rs=null,t=om(n)),cl(Bn(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
117
|
-
|
|
118
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
119
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
120
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
121
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
122
|
-
- Invalid HTML tag nesting.
|
|
123
|
-
|
|
124
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
125
|
-
|
|
126
|
-
https://react.dev/link/hydration-mismatch`+t),e)),Ap}function Jb(e){var t=e.stateNode,n=e.type,s=e.memoizedProps;switch(t[tn]=e,t[jn]=s,kf(n,s),n){case"dialog":Ke("cancel",t),Ke("close",t);break;case"iframe":case"object":case"embed":Ke("load",t);break;case"video":case"audio":for(n=0;n<hc.length;n++)Ke(hc[n],t);break;case"source":Ke("error",t);break;case"img":case"image":case"link":Ke("error",t),Ke("load",t);break;case"details":Ke("toggle",t);break;case"input":je("input",s),Ke("invalid",t),fb(t,s),pb(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),Oc(t);break;case"option":hb(t,s);break;case"select":je("select",s),Ke("invalid",t),gb(t,s);break;case"textarea":je("textarea",s),Ke("invalid",t),xb(t,s),yb(t,s.value,s.defaultValue,s.children),Oc(t)}n=s.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||s.suppressHydrationWarning===!0||cv(t.textContent,n)?(s.popover!=null&&(Ke("beforetoggle",t),Ke("toggle",t)),s.onScroll!=null&&Ke("scroll",t),s.onScrollEnd!=null&&Ke("scrollend",t),s.onClick!=null&&(t.onclick=Du),t=!0):t=!1,t||zo(e)}function Wb(e){for(mn=e.return;mn;)switch(mn.tag){case 5:case 13:Fs=!1;return;case 27:case 3:Fs=!0;return;default:mn=mn.return}}function al(e){if(e!==mn)return!1;if(!tt)return Wb(e),tt=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||qf(e.type,e.memoizedProps)),n=!n),n&&Dt){for(n=Dt;n;){var s=ko(e,0),r=vv(n);s.serverTail.push(r),n=r.type==="Suspense"?Nv(n):Jn(n.nextSibling)}zo(e)}if(Wb(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Dt=Nv(e)}else t===27?(t=Dt,$r(e.type)?(e=vh,vh=null,Dt=e):Dt=t):Dt=mn?Jn(e.stateNode.nextSibling):null;return!0}function ll(){Dt=mn=null,br=tt=!1}function eg(){var e=Xo;return e!==null&&(hn===null?hn=e:hn.push.apply(hn,e),Xo=null),e}function cl(e){Xo===null?Xo=[e]:Xo.push(e)}function tg(){var e=rs;if(e!==null){rs=null;for(var t=om(e);0<e.children.length;)e=e.children[0];Ue(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
127
|
-
|
|
128
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
129
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
130
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
131
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
132
|
-
- Invalid HTML tag nesting.
|
|
133
|
-
|
|
134
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
135
|
-
|
|
136
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Ic(){ra=Zu=null,oa=!1}function zr(e,t,n){we(Vp,t._currentValue,e),t._currentValue=n,we(Mp,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==By&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=By}function nr(e,t){e._currentValue=Vp.current;var n=Mp.current;se(Mp,t),e._currentRenderer=n,se(Vp,t)}function ym(e,t,n){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Nm(e,t,n,s){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var o=r.dependencies;if(o!==null){var u=r.child;o=o.firstContext;e:for(;o!==null;){var m=o;o=r;for(var b=0;b<t.length;b++)if(m.context===t[b]){o.lanes|=n,m=o.alternate,m!==null&&(m.lanes|=n),ym(o.return,n,e),s||(u=null);break e}o=m.next}}else if(r.tag===18){if(u=r.return,u===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");u.lanes|=n,o=u.alternate,o!==null&&(o.lanes|=n),ym(u,n,e),u=null}else u=r.child;if(u!==null)u.return=r;else for(u=r;u!==null;){if(u===e){u=null;break}if(r=u.sibling,r!==null){r.return=u.return,u=r;break}u=u.return}r=u}}function ul(e,t,n,s){e=null;for(var r=t,o=!1;r!==null;){if(!o){if((r.flags&524288)!==0)o=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var u=r.alternate;if(u===null)throw Error("Should have a current fiber. This is a bug in React.");if(u=u.memoizedProps,u!==null){var m=r.type;dn(r.pendingProps.value,u.value)||(e!==null?e.push(m):e=[m])}}else if(r===ku.current){if(u=r.alternate,u===null)throw Error("Should have a current fiber. This is a bug in React.");u.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(vc):e=[vc])}r=r.return}e!==null&&Nm(t,e,n,s),t.flags|=262144}function Qc(e){for(e=e.firstContext;e!==null;){if(!dn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ho(e){Zu=e,ra=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Nt(e){return oa&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),ng(Zu,e)}function Xc(e,t){return Zu===null&&Ho(e),ng(e,t)}function ng(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ra===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ra=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else ra=ra.next=t;return n}function wm(){return{controller:new mj,data:new Map,refCount:0}}function Bo(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function dl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&fj(pj,function(){e.controller.abort()})}function sr(){var e=Zo;return Zo=0,e}function Zc(e){var t=Zo;return Zo=e,t}function ml(e){var t=Zo;return Zo+=e,t}function Sm(e){Dn=ia(),0>e.actualStartTime&&(e.actualStartTime=Dn)}function Em(e){if(0<=Dn){var t=ia()-Dn;e.actualDuration+=t,e.selfBaseDuration=t,Dn=-1}}function sg(e){if(0<=Dn){var t=ia()-Dn;e.actualDuration+=t,Dn=-1}}function Cs(){if(0<=Dn){var e=ia()-Dn;Dn=-1,Zo+=e}}function Rs(){Dn=ia()}function Kc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function qw(e,t){if($l===null){var n=$l=[];Pp=0,Ko=Vf(),aa={status:"pending",value:void 0,then:function(s){n.push(s)}}}return Pp++,t.then(rg,rg),t}function rg(){if(--Pp===0&&$l!==null){aa!==null&&(aa.status="fulfilled");var e=$l;$l=null,Ko=0,aa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Fw(e,t){var n=[],s={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(s.status="rejected",s.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),s}function jm(){var e=Jo.current;return e!==null?e:ft.pooledCache}function Jc(e,t){t===null?we(Jo,Jo.current,e):we(Jo,t.pool,e)}function og(){var e=jm();return e===null?null:{parent:Ht._currentValue,pool:e}}function ig(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ag(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Wc(){}function lg(e,t,n){L.actQueue!==null&&(L.didUsePromise=!0);var s=e.thenables;switch(n=s[n],n===void 0?s.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Wc,Wc),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ug(e),e;default:if(typeof t.status=="string")t.then(Wc,Wc);else{if(e=ft,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ug(e),e}throw ec=t,nd=!0,Wl}}function cg(){if(ec===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=ec;return ec=null,nd=!1,e}function ug(e){if(e===Wl||e===td)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Dm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tm(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 Hr(e){return{lane:e,tag:Gy,payload:null,callback:null,next:null}}function Br(e,t,n){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,zp===s&&!Qy){var r=K(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
137
|
-
|
|
138
|
-
Please update the following component: %s`,r),Qy=!0}return(rt&pn)!==$n?(r=s.pending,r===null?t.next=t:(t.next=r.next,r.next=t),s.pending=t,t=Gc(e),Ib(e,null,n),t):(Yc(e,s,t,n),Gc(e))}function fl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Ws(e,n)}}function eu(e,t){var n=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,n===s)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?r=o=u:o=o.next=u,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:s.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:s.shared,callbacks:s.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pl(){if(Hp){var e=aa;if(e!==null)throw e}}function hl(e,t,n,s){Hp=!1;var r=e.updateQueue;eo=!1,zp=r.shared;var o=r.firstBaseUpdate,u=r.lastBaseUpdate,m=r.shared.pending;if(m!==null){r.shared.pending=null;var b=m,v=b.next;b.next=null,u===null?o=v:u.next=v,u=b;var P=e.alternate;P!==null&&(P=P.updateQueue,m=P.lastBaseUpdate,m!==u&&(m===null?P.firstBaseUpdate=v:m.next=v,P.lastBaseUpdate=b))}if(o!==null){var q=r.baseState;u=0,P=v=b=null,m=o;do{var M=m.lane&-536870913,G=M!==m.lane;if(G?(Ze&M)===M:(s&M)===M){M!==0&&M===Ko&&(Hp=!0),P!==null&&(P=P.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{M=e;var ye=m,Re=t,pt=n;switch(ye.tag){case $y:if(ye=ye.payload,typeof ye=="function"){oa=!0;var Je=ye.call(pt,q,Re);if(M.mode&nn){ve(!0);try{ye.call(pt,q,Re)}finally{ve(!1)}}oa=!1,q=Je;break e}q=ye;break e;case kp:M.flags=M.flags&-65537|128;case Gy:if(Je=ye.payload,typeof Je=="function"){if(oa=!0,ye=Je.call(pt,q,Re),M.mode&nn){ve(!0);try{Je.call(pt,q,Re)}finally{ve(!1)}}oa=!1}else ye=Je;if(ye==null)break e;q=Fe({},q,ye);break e;case Iy:eo=!0}}M=m.callback,M!==null&&(e.flags|=64,G&&(e.flags|=8192),G=r.callbacks,G===null?r.callbacks=[M]:G.push(M))}else G={lane:M,tag:m.tag,payload:m.payload,callback:m.callback,next:null},P===null?(v=P=G,b=q):P=P.next=G,u|=M;if(m=m.next,m===null){if(m=r.shared.pending,m===null)break;G=m,m=G.next,G.next=null,r.lastBaseUpdate=G,r.shared.pending=null}}while(!0);P===null&&(b=q),r.baseState=b,r.firstBaseUpdate=v,r.lastBaseUpdate=P,o===null&&(r.shared.lanes=0),ro|=u,e.lanes=u,e.memoizedState=q}zp=null}function dg(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Yw(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)dg(n[e],t)}function mg(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)dg(n[e],t)}function fg(e,t){var n=$s;we(sd,n,e),we(la,t,e),$s=n|t.baseLanes}function _m(e){we(sd,$s,e),we(la,la.current,e)}function Um(e){$s=sd.current,se(la,e),se(sd,e)}function Xe(){var e=B;as===null?as=[e]:as.push(e)}function ne(){var e=B;if(as!==null&&(xr++,as[xr]!==e)){var t=K(Ae);if(!Xy.has(t)&&(Xy.add(t),as!==null)){for(var n="",s=0;s<=xr;s++){var r=as[s],o=s===xr?e:r;for(r=s+1+". "+r;30>r.length;)r+=" ";r+=o+`
|
|
139
|
-
`,n+=r}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
140
|
-
|
|
141
|
-
Previous render Next render
|
|
142
|
-
------------------------------------------------------
|
|
143
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
144
|
-
`,t,n)}}}function Ui(e){e==null||Zt(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",B,typeof e)}function tu(){var e=K(Ae);Ky.has(e)||(Ky.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Rt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
145
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
146
|
-
2. You might be breaking the Rules of Hooks
|
|
147
|
-
3. You might have more than one copy of React in the same app
|
|
148
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Cm(e,t){if(nc)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",B),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
149
|
-
|
|
150
|
-
Previous: %s
|
|
151
|
-
Incoming: %s`,B,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!dn(e[n],t[n]))return!1;return!0}function Rm(e,t,n,s,r,o){to=o,Ae=t,as=e!==null?e._debugHookTypes:null,xr=-1,nc=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=K(Ae),Bp.has(o)||(Bp.add(o),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",o===null?"An unknown Component":"<"+o+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e!==null&&e.memoizedState!==null?qp:as!==null?Jy:Lp,ei=o=(t.mode&nn)!==ht;var u=Fp(n,s,r);if(ei=!1,ua&&(u=Am(t,n,s,r)),o){ve(!0);try{u=Am(t,n,s,r)}finally{ve(!1)}}return pg(e,t),u}function pg(e,t){t._debugHookTypes=as,t.dependencies===null?gr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:gr}):t.dependencies._debugThenableState=gr,L.H=id;var n=mt!==null&&mt.next!==null;if(to=0,as=B=kt=mt=Ae=null,xr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),rd=!1,tc=0,gr=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Gt||(e=e.dependencies,e!==null&&Qc(e)&&(Gt=!0)),nd?(nd=!1,e=!0):e=!1,e&&(t=K(t)||"Unknown",Zy.has(t)||Bp.has(t)||(Zy.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Am(e,t,n,s){Ae=e;var r=0;do{if(ua&&(gr=null),tc=0,ua=!1,r>=bj)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,nc=!1,kt=mt=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}xr=-1,L.H=Wy,o=Fp(t,n,s)}while(ua);return o}function Gw(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?bl(t):t,e=e.useState()[0],(mt!==null?mt.memoizedState:null)!==e&&(Ae.flags|=1024),t}function Vm(){var e=od!==0;return od=0,e}function Mm(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&gs)!==ht?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Pm(e){if(rd){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rd=!1}to=0,as=kt=mt=Ae=null,xr=-1,B=null,ua=!1,tc=od=0,gr=null}function Sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?Ae.memoizedState=kt=e:kt=kt.next=e,kt}function ct(){if(mt===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=mt.next;var t=kt===null?Ae.memoizedState:kt.next;if(t!==null)kt=t,mt=e;else{if(e===null)throw Ae.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");mt=e,e={memoizedState:mt.memoizedState,baseState:mt.baseState,baseQueue:mt.baseQueue,queue:mt.queue,next:null},kt===null?Ae.memoizedState=kt=e:kt=kt.next=e}return kt}function Om(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bl(e){var t=tc;return tc+=1,gr===null&&(gr=ig()),e=lg(gr,e,t),t=Ae,(kt===null?t.memoizedState:kt.next)===null&&(t=t.alternate,L.H=t!==null&&t.memoizedState!==null?qp:Lp),e}function Lr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return bl(e);if(e.$$typeof===ks)return Nt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Lo(e){var t=null,n=Ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var s=Ae.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Om(),Ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||nc)for(n=t.data[t.index]=Array(e),s=0;s<e;s++)n[s]=nE;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function hs(e,t){return typeof t=="function"?t(e):t}function km(e,t,n){var s=Sn();if(n!==void 0){var r=n(t);if(ei){ve(!0);try{n(t)}finally{ve(!1)}}}else r=t;return s.memoizedState=s.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},s.queue=e,e=e.dispatch=Xw.bind(null,Ae,e),[s.memoizedState,e]}function Ci(e){var t=ct();return zm(t,mt,e)}function zm(e,t,n){var s=e.queue;if(s===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");s.lastRenderedReducer=n;var r=e.baseQueue,o=s.pending;if(o!==null){if(r!==null){var u=r.next;r.next=o.next,o.next=u}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=o,s.pending=null}if(o=e.baseState,r===null)e.memoizedState=o;else{t=r.next;var m=u=null,b=null,v=t,P=!1;do{var q=v.lane&-536870913;if(q!==v.lane?(Ze&q)===q:(to&q)===q){var M=v.revertLane;if(M===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null}),q===Ko&&(P=!0);else if((to&M)===M){v=v.next,M===Ko&&(P=!0);continue}else q={lane:0,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},b===null?(m=b=q,u=o):b=b.next=q,Ae.lanes|=M,ro|=M;q=v.action,ei&&n(o,q),o=v.hasEagerState?v.eagerState:n(o,q)}else M={lane:q,revertLane:v.revertLane,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null},b===null?(m=b=M,u=o):b=b.next=M,Ae.lanes|=q,ro|=q;v=v.next}while(v!==null&&v!==t);if(b===null?u=o:b.next=m,!dn(o,e.memoizedState)&&(Gt=!0,P&&(n=aa,n!==null)))throw n;e.memoizedState=o,e.baseState=u,e.baseQueue=b,s.lastRenderedState=o}return r===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function gl(e){var t=ct(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var s=n.dispatch,r=n.pending,o=t.memoizedState;if(r!==null){n.pending=null;var u=r=r.next;do o=e(o,u.action),u=u.next;while(u!==r);dn(o,t.memoizedState)||(Gt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,s]}function Hm(e,t,n){var s=Ae,r=Sn();if(tt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();ca||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),ca=!0)}else{if(o=t(),ca||(n=t(),dn(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ca=!0)),ft===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ze&124)!==0||hg(s,t,o)}return r.memoizedState=o,n={value:o,getSnapshot:t},r.queue=n,iu(gg.bind(null,s,n,e),[e]),s.flags|=2048,Ai(is|Bt,ou(),bg.bind(null,s,n,o,t),null),o}function nu(e,t,n){var s=Ae,r=ct(),o=tt;if(o){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!ca){var u=t();dn(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ca=!0)}(u=!dn((mt||r).memoizedState,n))&&(r.memoizedState=n,Gt=!0),r=r.queue;var m=gg.bind(null,s,r,e);if(En(2048,Bt,m,[e]),r.getSnapshot!==t||u||kt!==null&&kt.memoizedState.tag&is){if(s.flags|=2048,Ai(is|Bt,ou(),bg.bind(null,s,r,n,t),null),ft===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(to&124)!==0||hg(s,t,n)}return n}function hg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t=Om(),Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bg(e,t,n,s){t.value=n,t.getSnapshot=s,xg(t)&&vg(e)}function gg(e,t,n){return n(function(){xg(t)&&vg(e)})}function xg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dn(e,n)}catch{return!0}}function vg(e){var t=wn(e,2);t!==null&&At(t,e,2)}function Bm(e){var t=Sn();if(typeof e=="function"){var n=e;if(e=n(),ei){ve(!0);try{n()}finally{ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:e},t}function Lm(e){e=Bm(e);var t=e.queue,n=zg.bind(null,Ae,t);return t.dispatch=n,[e.memoizedState,n]}function qm(e){var t=Sn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=tf.bind(null,Ae,!0,n),n.dispatch=t,[e,t]}function yg(e,t){var n=ct();return Ng(n,mt,e,t)}function Ng(e,t,n,s){return e.baseState=n,zm(e,mt,typeof s=="function"?s:hs)}function wg(e,t){var n=ct();return mt!==null?Ng(n,mt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function $w(e,t,n,s,r){if(uu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var o={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){o.listeners.push(u)}};L.T!==null?n(!0):o.isTransition=!1,s(o),n=t.pending,n===null?(o.next=t.pending=o,Sg(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Sg(e,t){var n=t.action,s=t.payload,r=e.state;if(t.isTransition){var o=L.T,u={};L.T=u,L.T._updatedFibers=new Set;try{var m=n(r,s),b=L.S;b!==null&&b(u,m),Eg(e,t,m)}catch(v){Fm(e,t,v)}finally{L.T=o,o===null&&u._updatedFibers&&(e=u._updatedFibers.size,u._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{u=n(r,s),Eg(e,t,u)}catch(v){Fm(e,t,v)}}function Eg(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(s){jg(e,t,s)},function(s){return Fm(e,t,s)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):jg(e,t,n)}function jg(e,t,n){t.status="fulfilled",t.value=n,Dg(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Sg(e,n)))}function Fm(e,t,n){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=n,Dg(t),t=t.next;while(t!==s)}e.action=null}function Dg(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Tg(e,t){return t}function Ri(e,t){if(tt){var n=ft.formState;if(n!==null){e:{var s=Ae;if(tt){if(Dt){t:{for(var r=Dt,o=Fs;r.nodeType!==8;){if(!o){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}o=r.data,r=o===hh||o===K0?r:null}if(r){Dt=Jn(r.nextSibling),s=r.data===hh;break e}}zo(s)}s=!1}s&&(t=n[0])}}return n=Sn(),n.memoizedState=n.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tg,lastRenderedState:t},n.queue=s,n=zg.bind(null,Ae,s),s.dispatch=n,s=Bm(!1),o=tf.bind(null,Ae,!1,s.queue),s=Sn(),r={state:t,dispatch:null,action:e,pending:null},s.queue=r,n=$w.bind(null,Ae,r,o,n),r.dispatch=n,s.memoizedState=e,[t,n,!1]}function su(e){var t=ct();return _g(t,mt,e)}function _g(e,t,n){if(t=zm(e,t,Tg)[0],e=Ci(hs)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=bl(t)}catch(u){throw u===Wl?td:u}else s=t;t=ct();var r=t.queue,o=r.dispatch;return n!==t.memoizedState&&(Ae.flags|=2048,Ai(is|Bt,ou(),Iw.bind(null,r,n),null)),[s,o,e]}function Iw(e,t){e.action=t}function ru(e){var t=ct(),n=mt;if(n!==null)return _g(t,n,e);ct(),t=t.memoizedState,n=ct();var s=n.queue.dispatch;return n.memoizedState=e,[t,s,!1]}function Ai(e,t,n,s){return e={tag:e,create:n,deps:s,inst:t,next:null},t=Ae.updateQueue,t===null&&(t=Om(),Ae.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(s=n.next,n.next=e,e.next=s,t.lastEffect=e),e}function ou(){return{destroy:void 0,resource:void 0}}function Ym(e){var t=Sn();return e={current:e},t.memoizedState=e}function qo(e,t,n,s){var r=Sn();s=s===void 0?null:s,Ae.flags|=e,r.memoizedState=Ai(is|t,ou(),n,s)}function En(e,t,n,s){var r=ct();s=s===void 0?null:s;var o=r.memoizedState.inst;mt!==null&&s!==null&&Cm(s,mt.memoizedState.deps)?r.memoizedState=Ai(t,o,n,s):(Ae.flags|=e,r.memoizedState=Ai(is|t,o,n,s))}function iu(e,t){(Ae.mode&gs)!==ht&&(Ae.mode&Py)===ht?qo(276826112,Bt,e,t):qo(8390656,Bt,e,t)}function Gm(e,t){var n=4194308;return(Ae.mode&gs)!==ht&&(n|=134217728),qo(n,Jt,e,t)}function Ug(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function $m(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var s=4194308;(Ae.mode&gs)!==ht&&(s|=134217728),qo(s,Jt,Ug.bind(null,t,e),n)}function au(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,En(4,Jt,Ug.bind(null,t,e),n)}function Im(e,t){return Sn().memoizedState=[e,t===void 0?null:t],e}function lu(e,t){var n=ct();t=t===void 0?null:t;var s=n.memoizedState;return t!==null&&Cm(t,s[1])?s[0]:(n.memoizedState=[e,t],e)}function Qm(e,t){var n=Sn();t=t===void 0?null:t;var s=e();if(ei){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[s,t],s}function cu(e,t){var n=ct();t=t===void 0?null:t;var s=n.memoizedState;if(t!==null&&Cm(t,s[1]))return s[0];if(s=e(),ei){ve(!0);try{e()}finally{ve(!1)}}return n.memoizedState=[s,t],s}function Xm(e,t){var n=Sn();return Zm(n,e,t)}function Cg(e,t){var n=ct();return Ag(n,mt.memoizedState,e,t)}function Rg(e,t){var n=ct();return mt===null?Zm(n,e,t):Ag(n,mt.memoizedState,e,t)}function Zm(e,t,n){return n===void 0||(to&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Vx(),Ae.lanes|=e,ro|=e,n)}function Ag(e,t,n,s){return dn(n,t)?n:la.current!==null?(e=Zm(e,n,s),dn(e,t)||(Gt=!0),e):(to&42)===0?(Gt=!0,e.memoizedState=n):(e=Vx(),Ae.lanes|=e,ro|=e,t)}function Vg(e,t,n,s,r){var o=st.p;st.p=o!==0&&o<Bs?o:Bs;var u=L.T,m={};L.T=m,tf(e,!1,t,n),m._updatedFibers=new Set;try{var b=r(),v=L.S;if(v!==null&&v(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var P=Fw(b,s);xl(e,t,P,Fn(e))}else xl(e,t,s,Fn(e))}catch(q){xl(e,t,{then:function(){},status:"rejected",reason:q},Fn(e))}finally{st.p=o,L.T=u,u===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Km(e,t,n,s){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=Mg(e).queue;Vg(e,r,t,di,n===null?V:function(){return Pg(e),n(s)})}function Mg(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:di,baseState:di,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:di},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:hs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Pg(e){L.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Mg(e).next.queue;xl(e,t,{},Fn(e))}function Jm(){var e=Bm(!1);return e=Vg.bind(null,Ae,e.queue,!0,!1),Sn().memoizedState=e,[!1,e]}function Og(){var e=Ci(hs)[0],t=ct().memoizedState;return[typeof e=="boolean"?e:bl(e),t]}function kg(){var e=gl(hs)[0],t=ct().memoizedState;return[typeof e=="boolean"?e:bl(e),t]}function Fo(){return Nt(vc)}function Wm(){var e=Sn(),t=ft.identifierPrefix;if(tt){var n=hr,s=pr;n=(s&~(1<<32-cn(s)-1)).toString(32)+n,t="«"+t+"R"+n,n=od++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=hj++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function ef(){return Sn().memoizedState=Qw.bind(null,Ae)}function Qw(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var s=Fn(n);e=Hr(s);var r=Br(n,e,s);r!==null&&(At(r,n,s),fl(r,n,s)),n=wm(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Xw(e,t,n){var s=arguments;typeof s[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),s=Fn(e);var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};uu(e)?Hg(t,r):(r=um(e,t,r,s),r!==null&&(At(r,e,s),Bg(r,t,s))),Vn(e,s)}function zg(e,t,n){var s=arguments;typeof s[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),s=Fn(e),xl(e,t,n,s),Vn(e,s)}function xl(e,t,n,s){var r={lane:s,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(uu(e))Hg(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null)){var u=L.H;L.H=vs;try{var m=t.lastRenderedState,b=o(m,n);if(r.hasEagerState=!0,r.eagerState=b,dn(b,m))return Yc(e,t,r,0),ft===null&&Fc(),!1}catch{}finally{L.H=u}}if(n=um(e,t,r,s),n!==null)return At(n,e,s),Bg(n,t,s),!0}return!1}function tf(e,t,n,s){if(L.T===null&&Ko===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),s={lane:2,revertLane:Vf(),action:s,hasEagerState:!1,eagerState:null,next:null},uu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=um(e,n,s,2),t!==null&&At(t,e,2);Vn(e,2)}function uu(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function Hg(e,t){ua=rd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bg(e,t,n){if((n&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,n|=s,t.lanes=n,Ws(e,n)}}function It(e){var t=qe;return e!=null&&(qe=t===null?e:t.concat(e)),t}function du(e,t,n){for(var s=Object.keys(e.props),r=0;r<s.length;r++){var o=s[r];if(o!=="children"&&o!=="key"){t===null&&(t=$c(e,n.mode,0),t._debugInfo=qe,t.return=n),Ue(t,function(u){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u)},o);break}}}function mu(e){var t=sc;return sc+=1,da===null&&(da=ig()),lg(da,e,t)}function vl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function fu(e,t){throw t.$$typeof===eE?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
152
|
-
- Multiple copies of the "react" package is used.
|
|
153
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
154
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function pu(e,t){var n=K(e)||"Component";p0[n]||(p0[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
155
|
-
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
156
|
-
<%s>{%s}</%s>`,t,t,n,t,n))}function hu(e,t){var n=K(e)||"Component";h0[n]||(h0[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
157
|
-
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
158
|
-
<%s>%s</%s>`,n,t,n))}function Lg(e){function t(S,E){if(e){var U=S.deletions;U===null?(S.deletions=[E],S.flags|=16):U.push(E)}}function n(S,E){if(!e)return null;for(;E!==null;)t(S,E),E=E.sibling;return null}function s(S){for(var E=new Map;S!==null;)S.key!==null?E.set(S.key,S):E.set(S.index,S),S=S.sibling;return E}function r(S,E){return S=tr(S,E),S.index=0,S.sibling=null,S}function o(S,E,U){return S.index=U,e?(U=S.alternate,U!==null?(U=U.index,U<E?(S.flags|=67108866,E):U):(S.flags|=67108866,E)):(S.flags|=1048576,E)}function u(S){return e&&S.alternate===null&&(S.flags|=67108866),S}function m(S,E,U,$){return E===null||E.tag!==6?(E=hm(U,S.mode,$),E.return=S,E._debugOwner=S,E._debugTask=S._debugTask,E._debugInfo=qe,E):(E=r(E,U),E.return=S,E._debugInfo=qe,E)}function b(S,E,U,$){var le=U.type;return le===Fi?(E=P(S,E,U.props.children,$,U.key),du(U,E,S),E):E!==null&&(E.elementType===le||Qb(E,U)||typeof le=="object"&&le!==null&&le.$$typeof===Yn&&no(le)===E.type)?(E=r(E,U.props),vl(E,U),E.return=S,E._debugOwner=U._owner,E._debugInfo=qe,E):(E=$c(U,S.mode,$),vl(E,U),E.return=S,E._debugInfo=qe,E)}function v(S,E,U,$){return E===null||E.tag!==4||E.stateNode.containerInfo!==U.containerInfo||E.stateNode.implementation!==U.implementation?(E=bm(U,S.mode,$),E.return=S,E._debugInfo=qe,E):(E=r(E,U.children||[]),E.return=S,E._debugInfo=qe,E)}function P(S,E,U,$,le){return E===null||E.tag!==7?(E=Mo(U,S.mode,$,le),E.return=S,E._debugOwner=S,E._debugTask=S._debugTask,E._debugInfo=qe,E):(E=r(E,U),E.return=S,E._debugInfo=qe,E)}function q(S,E,U){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=hm(""+E,S.mode,U),E.return=S,E._debugOwner=S,E._debugTask=S._debugTask,E._debugInfo=qe,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ir:return U=$c(E,S.mode,U),vl(U,E),U.return=S,S=It(E._debugInfo),U._debugInfo=qe,qe=S,U;case qi:return E=bm(E,S.mode,U),E.return=S,E._debugInfo=qe,E;case Yn:var $=It(E._debugInfo);return E=no(E),S=q(S,E,U),qe=$,S}if(Zt(E)||de(E))return U=Mo(E,S.mode,U,null),U.return=S,U._debugOwner=S,U._debugTask=S._debugTask,S=It(E._debugInfo),U._debugInfo=qe,qe=S,U;if(typeof E.then=="function")return $=It(E._debugInfo),S=q(S,mu(E),U),qe=$,S;if(E.$$typeof===ks)return q(S,Xc(S,E),U);fu(S,E)}return typeof E=="function"&&pu(S,E),typeof E=="symbol"&&hu(S,E),null}function M(S,E,U,$){var le=E!==null?E.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return le!==null?null:m(S,E,""+U,$);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Ir:return U.key===le?(le=It(U._debugInfo),S=b(S,E,U,$),qe=le,S):null;case qi:return U.key===le?v(S,E,U,$):null;case Yn:return le=It(U._debugInfo),U=no(U),S=M(S,E,U,$),qe=le,S}if(Zt(U)||de(U))return le!==null?null:(le=It(U._debugInfo),S=P(S,E,U,$,null),qe=le,S);if(typeof U.then=="function")return le=It(U._debugInfo),S=M(S,E,mu(U),$),qe=le,S;if(U.$$typeof===ks)return M(S,E,Xc(S,U),$);fu(S,U)}return typeof U=="function"&&pu(S,U),typeof U=="symbol"&&hu(S,U),null}function G(S,E,U,$,le){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return S=S.get(U)||null,m(E,S,""+$,le);if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ir:return U=S.get($.key===null?U:$.key)||null,S=It($._debugInfo),E=b(E,U,$,le),qe=S,E;case qi:return S=S.get($.key===null?U:$.key)||null,v(E,S,$,le);case Yn:var Me=It($._debugInfo);return $=no($),E=G(S,E,U,$,le),qe=Me,E}if(Zt($)||de($))return U=S.get(U)||null,S=It($._debugInfo),E=P(E,U,$,le,null),qe=S,E;if(typeof $.then=="function")return Me=It($._debugInfo),E=G(S,E,U,mu($),le),qe=Me,E;if($.$$typeof===ks)return G(S,E,U,Xc(E,$),le);fu(E,$)}return typeof $=="function"&&pu(E,$),typeof $=="symbol"&&hu(E,$),null}function ye(S,E,U,$){if(typeof U!="object"||U===null)return $;switch(U.$$typeof){case Ir:case qi:j(S,E,U);var le=U.key;if(typeof le!="string")break;if($===null){$=new Set,$.add(le);break}if(!$.has(le)){$.add(le);break}Ue(E,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",le)});break;case Yn:U=no(U),ye(S,E,U,$)}return $}function Re(S,E,U,$){for(var le=null,Me=null,Ne=null,Pe=E,ze=E=0,bt=null;Pe!==null&&ze<U.length;ze++){Pe.index>ze?(bt=Pe,Pe=null):bt=Pe.sibling;var Mt=M(S,Pe,U[ze],$);if(Mt===null){Pe===null&&(Pe=bt);break}le=ye(S,Mt,U[ze],le),e&&Pe&&Mt.alternate===null&&t(S,Pe),E=o(Mt,E,ze),Ne===null?Me=Mt:Ne.sibling=Mt,Ne=Mt,Pe=bt}if(ze===U.length)return n(S,Pe),tt&&Po(S,ze),Me;if(Pe===null){for(;ze<U.length;ze++)Pe=q(S,U[ze],$),Pe!==null&&(le=ye(S,Pe,U[ze],le),E=o(Pe,E,ze),Ne===null?Me=Pe:Ne.sibling=Pe,Ne=Pe);return tt&&Po(S,ze),Me}for(Pe=s(Pe);ze<U.length;ze++)bt=G(Pe,S,ze,U[ze],$),bt!==null&&(le=ye(S,bt,U[ze],le),e&&bt.alternate!==null&&Pe.delete(bt.key===null?ze:bt.key),E=o(bt,E,ze),Ne===null?Me=bt:Ne.sibling=bt,Ne=bt);return e&&Pe.forEach(function(Er){return t(S,Er)}),tt&&Po(S,ze),Me}function pt(S,E,U,$){if(U==null)throw Error("An iterable object provided no iterator.");for(var le=null,Me=null,Ne=E,Pe=E=0,ze=null,bt=null,Mt=U.next();Ne!==null&&!Mt.done;Pe++,Mt=U.next()){Ne.index>Pe?(ze=Ne,Ne=null):ze=Ne.sibling;var Er=M(S,Ne,Mt.value,$);if(Er===null){Ne===null&&(Ne=ze);break}bt=ye(S,Er,Mt.value,bt),e&&Ne&&Er.alternate===null&&t(S,Ne),E=o(Er,E,Pe),Me===null?le=Er:Me.sibling=Er,Me=Er,Ne=ze}if(Mt.done)return n(S,Ne),tt&&Po(S,Pe),le;if(Ne===null){for(;!Mt.done;Pe++,Mt=U.next())Ne=q(S,Mt.value,$),Ne!==null&&(bt=ye(S,Ne,Mt.value,bt),E=o(Ne,E,Pe),Me===null?le=Ne:Me.sibling=Ne,Me=Ne);return tt&&Po(S,Pe),le}for(Ne=s(Ne);!Mt.done;Pe++,Mt=U.next())ze=G(Ne,S,Pe,Mt.value,$),ze!==null&&(bt=ye(S,ze,Mt.value,bt),e&&ze.alternate!==null&&Ne.delete(ze.key===null?Pe:ze.key),E=o(ze,E,Pe),Me===null?le=ze:Me.sibling=ze,Me=ze);return e&&Ne.forEach(function(qj){return t(S,qj)}),tt&&Po(S,Pe),le}function Je(S,E,U,$){if(typeof U=="object"&&U!==null&&U.type===Fi&&U.key===null&&(du(U,null,S),U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case Ir:var le=It(U._debugInfo);e:{for(var Me=U.key;E!==null;){if(E.key===Me){if(Me=U.type,Me===Fi){if(E.tag===7){n(S,E.sibling),$=r(E,U.props.children),$.return=S,$._debugOwner=U._owner,$._debugInfo=qe,du(U,$,S),S=$;break e}}else if(E.elementType===Me||Qb(E,U)||typeof Me=="object"&&Me!==null&&Me.$$typeof===Yn&&no(Me)===E.type){n(S,E.sibling),$=r(E,U.props),vl($,U),$.return=S,$._debugOwner=U._owner,$._debugInfo=qe,S=$;break e}n(S,E);break}else t(S,E);E=E.sibling}U.type===Fi?($=Mo(U.props.children,S.mode,$,U.key),$.return=S,$._debugOwner=S,$._debugTask=S._debugTask,$._debugInfo=qe,du(U,$,S),S=$):($=$c(U,S.mode,$),vl($,U),$.return=S,$._debugInfo=qe,S=$)}return S=u(S),qe=le,S;case qi:e:{for(le=U,U=le.key;E!==null;){if(E.key===U)if(E.tag===4&&E.stateNode.containerInfo===le.containerInfo&&E.stateNode.implementation===le.implementation){n(S,E.sibling),$=r(E,le.children||[]),$.return=S,S=$;break e}else{n(S,E);break}else t(S,E);E=E.sibling}$=bm(le,S.mode,$),$.return=S,S=$}return u(S);case Yn:return le=It(U._debugInfo),U=no(U),S=Je(S,E,U,$),qe=le,S}if(Zt(U))return le=It(U._debugInfo),S=Re(S,E,U,$),qe=le,S;if(de(U)){if(le=It(U._debugInfo),Me=de(U),typeof Me!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ne=Me.call(U);return Ne===U?(S.tag!==0||Object.prototype.toString.call(S.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ne)!=="[object Generator]")&&(m0||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),m0=!0):U.entries!==Me||Gp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gp=!0),S=pt(S,E,Ne,$),qe=le,S}if(typeof U.then=="function")return le=It(U._debugInfo),S=Je(S,E,mu(U),$),qe=le,S;if(U.$$typeof===ks)return Je(S,E,Xc(S,U),$);fu(S,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(le=""+U,E!==null&&E.tag===6?(n(S,E.sibling),$=r(E,le),$.return=S,S=$):(n(S,E),$=hm(le,S.mode,$),$.return=S,$._debugOwner=S,$._debugTask=S._debugTask,$._debugInfo=qe,S=$),u(S)):(typeof U=="function"&&pu(S,U),typeof U=="symbol"&&hu(S,U),n(S,E))}return function(S,E,U,$){var le=qe;qe=null;try{sc=0;var Me=Je(S,E,U,$);return da=null,Me}catch(bt){if(bt===Wl||bt===td)throw bt;var Ne=x(29,bt,null,S.mode);Ne.lanes=$,Ne.return=S;var Pe=Ne._debugInfo=qe;if(Ne._debugOwner=S._debugOwner,Ne._debugTask=S._debugTask,Pe!=null){for(var ze=Pe.length-1;0<=ze;ze--)if(typeof Pe[ze].stack=="string"){Ne._debugOwner=Pe[ze],Ne._debugTask=Pe[ze].debugTask;break}}return Ne}finally{qe=le}}}function qr(e){var t=e.alternate;we(Lt,Lt.current&fa,e),we(ls,e,e),Gs===null&&(t===null||la.current!==null||t.memoizedState!==null)&&(Gs=e)}function qg(e){if(e.tag===22){if(we(Lt,Lt.current,e),we(ls,e,e),Gs===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Gs=e)}}else Fr(e)}function Fr(e){we(Lt,Lt.current,e),we(ls,ls.current,e)}function rr(e){se(ls,e),Gs===e&&(Gs=null),se(Lt,e)}function bu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===Nr||Yf(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function nf(e){if(e!==null&&typeof e!="function"){var t=String(e);T0.has(t)||(T0.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function sf(e,t,n,s){var r=e.memoizedState,o=n(s,r);if(e.mode&nn){ve(!0);try{o=n(s,r)}finally{ve(!1)}}o===void 0&&(t=ge(t)||"Component",S0.has(t)||(S0.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=o==null?r:Fe({},r,o),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Fg(e,t,n,s,r,o,u){var m=e.stateNode;if(typeof m.shouldComponentUpdate=="function"){if(n=m.shouldComponentUpdate(s,o,u),e.mode&nn){ve(!0);try{n=m.shouldComponentUpdate(s,o,u)}finally{ve(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ge(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!il(n,s)||!il(r,o):!0}function Yg(e,t,n,s){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,s),t.state!==r&&(e=K(e)||"Component",x0.has(e)||(x0.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),$p.enqueueReplaceState(t,t.state,null))}function Yo(e,t){var n=t;if("ref"in t){n={};for(var s in t)s!=="ref"&&(n[s]=t[s])}if(e=e.defaultProps){n===t&&(n=Fe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Gg(e){Ip(e),console.warn(`%s
|
|
159
|
-
|
|
160
|
-
%s
|
|
161
|
-
`,pa?"An error occurred in the <"+pa+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
162
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function $g(e){var t=pa?"The above error occurred in the <"+pa+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Qp||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var s=e.environmentName;e=[`%o
|
|
163
|
-
|
|
164
|
-
%s
|
|
165
|
-
|
|
166
|
-
%s
|
|
167
|
-
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,oN+e[0],iN,jd+s+jd,aN):e.splice(0,0,oN,iN,jd+s+jd,aN),e.unshift(console),s=Bj.apply(console.error,e),s()}else console.error(`%o
|
|
168
|
-
|
|
169
|
-
%s
|
|
170
|
-
|
|
171
|
-
%s
|
|
172
|
-
`,e,t,n)}function Ig(e){Ip(e)}function gu(e,t){try{pa=t.source?K(t.source):null,Qp=null;var n=t.value;if(L.actQueue!==null)L.thrownErrors.push(n);else{var s=e.onUncaughtError;s(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function Qg(e,t,n){try{pa=n.source?K(n.source):null,Qp=K(t);var s=e.onCaughtError;s(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function rf(e,t,n){return n=Hr(n),n.tag=kp,n.payload={element:null},n.callback=function(){Ue(t.source,gu,e,t)},n}function of(e){return e=Hr(e),e.tag=kp,e}function af(e,t,n,s){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var o=s.value;e.payload=function(){return r(o)},e.callback=function(){Xb(n),Ue(s.source,Qg,t,n,s)}}var u=n.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){Xb(n),Ue(s.source,Qg,t,n,s),typeof r!="function"&&(io===null?io=new Set([this]):io.add(this)),gj(this,s),typeof r=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",K(n)||"Unknown")})}function Zw(e,t,n,s,r){if(n.flags|=32768,bs&&Dl(e,r),s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=n.alternate,t!==null&&ul(t,n,r,!0),tt&&(br=!0),n=ls.current,n!==null){switch(n.tag){case 13:return Gs===null?Df():n.alternate===null&&Tt===yr&&(Tt=Jp),n.flags&=-257,n.flags|=65536,n.lanes=r,s===Op?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([s]):t.add(s),Uf(e,s,r)),!1;case 22:return n.flags|=65536,s===Op?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([s]):n.add(s)),Uf(e,s,r)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Uf(e,s,r),Df(),!1}if(tt)return br=!0,t=ls.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,s!==Ap&&cl(Bn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:s}),n))):(s!==Ap&&cl(Bn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:s}),n)),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,s=Bn(s,n),r=rf(e.stateNode,s,r),eu(e,r),Tt!==ti&&(Tt=xa)),!1;var o=Bn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:s}),n);if(dc===null?dc=[o]:dc.push(o),Tt!==ti&&(Tt=xa),t===null)return!0;s=Bn(s,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=rf(n.stateNode,s,e),eu(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(io===null||!io.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,r=of(r),af(r,e,n,s),eu(n,r),!1}n=n.return}while(n!==null);return!1}function Qt(e,t,n,s){t.child=e===null?b0(t,null,n,s):ma(t,e.child,n,s)}function Xg(e,t,n,s,r){n=n.render;var o=t.ref;if("ref"in s){var u={};for(var m in s)m!=="ref"&&(u[m]=s[m])}else u=s;return Ho(t),He(t),s=Rm(e,t,n,u,o,r),m=Vm(),Qe(),e!==null&&!Gt?(Mm(e,t,r),or(e,t,r)):(tt&&m&&gm(t),t.flags|=1,Qt(e,t,s,r),t.child)}function Zg(e,t,n,s,r){if(e===null){var o=n.type;return typeof o=="function"&&!fm(o)&&o.defaultProps===void 0&&n.compare===null?(n=Vo(o),t.tag=15,t.type=n,cf(t,o),Kg(e,t,n,s,r)):(e=pm(n.type,null,s,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!hf(e,r)){var u=o.memoizedProps;if(n=n.compare,n=n!==null?n:il,n(u,s)&&e.ref===t.ref)return or(e,t,r)}return t.flags|=1,e=tr(o,s),e.ref=t.ref,e.return=t,t.child=e}function Kg(e,t,n,s,r){if(e!==null){var o=e.memoizedProps;if(il(o,s)&&e.ref===t.ref&&t.type===e.type)if(Gt=!1,t.pendingProps=s=o,hf(e,r))(e.flags&131072)!==0&&(Gt=!0);else return t.lanes=e.lanes,or(e,t,r)}return lf(e,t,n,s,r)}function Jg(e,t,n){var s=t.pendingProps,r=s.children,o=e!==null?e.memoizedState:null;if(s.mode==="hidden"){if((t.flags&128)!==0){if(s=o!==null?o.baseLanes|n:n,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;t.childLanes=o&~s}else t.childLanes=0,t.child=null;return Wg(e,t,s,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Jc(t,o!==null?o.cachePool:null),o!==null?fg(t,o):_m(t),qg(t);else return t.lanes=t.childLanes=536870912,Wg(e,t,o!==null?o.baseLanes|n:n,n)}else o!==null?(Jc(t,o.cachePool),fg(t,o),Fr(t),t.memoizedState=null):(e!==null&&Jc(t,null),_m(t),Fr(t));return Qt(e,t,r,n),t.child}function Wg(e,t,n,s){var r=jm();return r=r===null?null:{parent:Ht._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&Jc(t,null),_m(t),qg(t),e!==null&&ul(e,t,s,!0),null}function xu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function lf(e,t,n,s,r){if(n.prototype&&typeof n.prototype.render=="function"){var o=ge(n)||"Unknown";U0[o]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",o,o),U0[o]=!0)}return t.mode&nn&&xs.recordLegacyContextWarning(t,null),e===null&&(cf(t,t.type),n.contextTypes&&(o=ge(n)||"Unknown",R0[o]||(R0[o]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",o)))),Ho(t),He(t),n=Rm(e,t,n,s,void 0,r),s=Vm(),Qe(),e!==null&&!Gt?(Mm(e,t,r),or(e,t,r)):(tt&&s&&gm(t),t.flags|=1,Qt(e,t,n,r),t.child)}function ex(e,t,n,s,r,o){return Ho(t),He(t),xr=-1,nc=e!==null&&e.type!==t.type,t.updateQueue=null,n=Am(t,s,n,r),pg(e,t),s=Vm(),Qe(),e!==null&&!Gt?(Mm(e,t,o),or(e,t,o)):(tt&&s&&gm(t),t.flags|=1,Qt(e,t,n,o),t.child)}function tx(e,t,n,s,r){switch(N(t)){case!1:var o=t.stateNode,u=new t.type(t.memoizedProps,o.context).state;o.updater.enqueueSetState(o,u,null);break;case!0:t.flags|=128,t.flags|=65536,o=Error("Simulated error coming from DevTools");var m=r&-r;if(t.lanes|=m,u=ft,u===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m=of(m),af(m,u,t,Bn(o,t)),eu(t,m)}if(Ho(t),t.stateNode===null){if(u=Wr,o=n.contextType,"contextType"in n&&o!==null&&(o===void 0||o.$$typeof!==ks)&&!D0.has(n)&&(D0.add(n),m=o===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof o!="object"?" However, it is set to a "+typeof o+".":o.$$typeof===np?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ge(n)||"Component",m)),typeof o=="object"&&o!==null&&(u=Nt(o)),o=new n(s,u),t.mode&nn){ve(!0);try{o=new n(s,u)}finally{ve(!1)}}if(u=t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=$p,t.stateNode=o,o._reactInternals=t,o._reactInternalInstance=g0,typeof n.getDerivedStateFromProps=="function"&&u===null&&(u=ge(n)||"Component",v0.has(u)||(v0.add(u),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",u,o.state===null?"null":"undefined",u))),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"){var b=m=u=null;if(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0?u="componentWillMount":typeof o.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0?m="componentWillReceiveProps":typeof o.UNSAFE_componentWillReceiveProps=="function"&&(m="UNSAFE_componentWillReceiveProps"),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0?b="componentWillUpdate":typeof o.UNSAFE_componentWillUpdate=="function"&&(b="UNSAFE_componentWillUpdate"),u!==null||m!==null||b!==null){o=ge(n)||"Component";var v=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";N0.has(o)||(N0.add(o),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
173
|
-
|
|
174
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
175
|
-
|
|
176
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
177
|
-
https://react.dev/link/unsafe-component-lifecycles`,o,v,u!==null?`
|
|
178
|
-
`+u:"",m!==null?`
|
|
179
|
-
`+m:"",b!==null?`
|
|
180
|
-
`+b:""))}}o=t.stateNode,u=ge(n)||"Component",o.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",u):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",u)),!o.getInitialState||o.getInitialState.isReactClassApproved||o.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),o.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),n.childContextTypes&&!j0.has(n)&&(j0.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",u)),n.contextTypes&&!E0.has(n)&&(E0.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",u)),typeof o.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof o.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ge(n)||"A pure component"),typeof o.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof o.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof o.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof o.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u),m=o.props!==s,o.props!==void 0&&m&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u),o.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof o.getSnapshotBeforeUpdate!="function"||typeof o.componentDidUpdate=="function"||y0.has(n)||(y0.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ge(n))),typeof o.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u),(m=o.state)&&(typeof m!="object"||Zt(m))&&console.error("%s.state: must be set to an object or null",u),typeof o.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u),o=t.stateNode,o.props=s,o.state=t.memoizedState,o.refs={},Dm(t),u=n.contextType,o.context=typeof u=="object"&&u!==null?Nt(u):Wr,o.state===s&&(u=ge(n)||"Component",w0.has(u)||(w0.add(u),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",u))),t.mode&nn&&xs.recordLegacyContextWarning(t,o),xs.recordUnsafeLifecycleWarnings(t,o),o.state=t.memoizedState,u=n.getDerivedStateFromProps,typeof u=="function"&&(sf(t,n,u,s),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(u=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),u!==o.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",K(t)||"Component"),$p.enqueueReplaceState(o,o.state,null)),hl(t,s,o,r),pl(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&gs)!==ht&&(t.flags|=134217728),o=!0}else if(e===null){o=t.stateNode;var P=t.memoizedProps;m=Yo(n,P),o.props=m;var q=o.context;b=n.contextType,u=Wr,typeof b=="object"&&b!==null&&(u=Nt(b)),v=n.getDerivedStateFromProps,b=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function",P=t.pendingProps!==P,b||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(P||q!==u)&&Yg(t,o,s,u),eo=!1;var M=t.memoizedState;o.state=M,hl(t,s,o,r),pl(),q=t.memoizedState,P||M!==q||eo?(typeof v=="function"&&(sf(t,n,v,s),q=t.memoizedState),(m=eo||Fg(t,n,m,s,M,q,u))?(b||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&gs)!==ht&&(t.flags|=134217728)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&gs)!==ht&&(t.flags|=134217728),t.memoizedProps=s,t.memoizedState=q),o.props=s,o.state=q,o.context=u,o=m):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&gs)!==ht&&(t.flags|=134217728),o=!1)}else{o=t.stateNode,Tm(e,t),u=t.memoizedProps,b=Yo(n,u),o.props=b,v=t.pendingProps,M=o.context,q=n.contextType,m=Wr,typeof q=="object"&&q!==null&&(m=Nt(q)),P=n.getDerivedStateFromProps,(q=typeof P=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==v||M!==m)&&Yg(t,o,s,m),eo=!1,M=t.memoizedState,o.state=M,hl(t,s,o,r),pl();var G=t.memoizedState;u!==v||M!==G||eo||e!==null&&e.dependencies!==null&&Qc(e.dependencies)?(typeof P=="function"&&(sf(t,n,P,s),G=t.memoizedState),(b=eo||Fg(t,n,b,s,M,G,m)||e!==null&&e.dependencies!==null&&Qc(e.dependencies))?(q||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(s,G,m),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(s,G,m)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=G),o.props=s,o.state=G,o.context=m,o=b):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),o=!1)}if(m=o,xu(e,t),u=(t.flags&128)!==0,m||u){if(m=t.stateNode,Wd(t),u&&typeof n.getDerivedStateFromError!="function")n=null,Dn=-1;else{if(He(t),n=n0(m),t.mode&nn){ve(!0);try{n0(m)}finally{ve(!1)}}Qe()}t.flags|=1,e!==null&&u?(t.child=ma(t,e.child,null,r),t.child=ma(t,null,n,r)):Qt(e,t,n,r),t.memoizedState=m.state,e=t.child}else e=or(e,t,r);return r=t.stateNode,o&&r.props!==s&&(ha||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",K(t)||"a component"),ha=!0),e}function nx(e,t,n,s){return ll(),t.flags|=256,Qt(e,t,n,s),t.child}function cf(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
181
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ge(t)||"Unknown",A0[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),A0[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ge(t)||"Unknown",C0[t]||(console.error("%s: Function components do not support contextType.",t),C0[t]=!0))}function uf(e){return{baseLanes:e,cachePool:og()}}function df(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Qn),e}function sx(e,t,n){var s,r=t.pendingProps;g(t)&&(t.flags|=128);var o=!1,u=(t.flags&128)!==0;if((s=u)||(s=e!==null&&e.memoizedState===null?!1:(Lt.current&rc)!==0),s&&(o=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(tt){if(o?qr(t):Fr(t),tt){var m=Dt,b;if(!(b=!m)){e:{var v=m;for(b=Fs;v.nodeType!==8;){if(!b){b=null;break e}if(v=Jn(v.nextSibling),v===null){b=null;break e}}b=v}b!==null?(Oo(),t.memoizedState={dehydrated:b,treeContext:Qo!==null?{id:pr,overflow:hr}:null,retryLane:536870912,hydrationErrors:null},v=x(18,null,null,ht),v.stateNode=b,v.return=t,t.child=v,mn=t,Dt=null,b=!0):b=!1,b=!b}b&&(vm(t,m),zo(t))}if(m=t.memoizedState,m!==null&&(m=m.dehydrated,m!==null))return Yf(m)?t.lanes=32:t.lanes=536870912,null;rr(t)}return m=r.children,r=r.fallback,o?(Fr(t),o=t.mode,m=vu({mode:"hidden",children:m},o),r=Mo(r,o,n,null),m.return=t,r.return=t,m.sibling=r,t.child=m,o=t.child,o.memoizedState=uf(n),o.childLanes=df(e,s,n),t.memoizedState=Zp,r):(qr(t),mf(t,m))}var P=e.memoizedState;if(P!==null&&(m=P.dehydrated,m!==null)){if(u)t.flags&256?(qr(t),t.flags&=-257,t=ff(e,t,n)):t.memoizedState!==null?(Fr(t),t.child=e.child,t.flags|=128,t=null):(Fr(t),o=r.fallback,m=t.mode,r=vu({mode:"visible",children:r.children},m),o=Mo(o,m,n,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,ma(t,e.child,null,n),r=t.child,r.memoizedState=uf(n),r.childLanes=df(e,s,n),t.memoizedState=Zp,t=o);else if(qr(t),tt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Yf(m)){if(s=m.nextSibling&&m.nextSibling.dataset,s){b=s.dgst;var q=s.msg;v=s.stck;var M=s.cstck}m=q,s=b,r=v,b=o=M,o=Error(m||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),o.stack=r||"",o.digest=s,s=b===void 0?null:b,r={value:o,source:null,stack:s},typeof s=="string"&&Cp.set(o,r),cl(r),t=ff(e,t,n)}else if(Gt||ul(e,t,n,!1),s=(n&e.childLanes)!==0,Gt||s){if(s=ft,s!==null&&(r=n&-n,r=(r&42)!==0?1:Uo(r),r=(r&(s.suspendedLanes|n))!==0?0:r,r!==0&&r!==P.retryLane))throw P.retryLane=r,wn(e,r),At(s,e,r),_0;m.data===Nr||Df(),t=ff(e,t,n)}else m.data===Nr?(t.flags|=192,t.child=e.child,t=null):(e=P.treeContext,Dt=Jn(m.nextSibling),mn=t,tt=!0,Xo=null,br=!1,rs=null,Fs=!1,e!==null&&(Oo(),ns[ss++]=pr,ns[ss++]=hr,ns[ss++]=Qo,pr=e.id,hr=e.overflow,Qo=t),t=mf(t,r.children),t.flags|=4096);return t}return o?(Fr(t),o=r.fallback,m=t.mode,b=e.child,v=b.sibling,r=tr(b,{mode:"hidden",children:r.children}),r.subtreeFlags=b.subtreeFlags&65011712,v!==null?o=tr(v,o):(o=Mo(o,m,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,m=e.child.memoizedState,m===null?m=uf(n):(b=m.cachePool,b!==null?(v=Ht._currentValue,b=b.parent!==v?{parent:v,pool:v}:b):b=og(),m={baseLanes:m.baseLanes|n,cachePool:b}),o.memoizedState=m,o.childLanes=df(e,s,n),t.memoizedState=Zp,r):(qr(t),n=e.child,e=n.sibling,n=tr(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function mf(e,t){return t=vu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function vu(e,t){return e=x(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Iu,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function ff(e,t,n){return ma(t,e.child,null,n),e=mf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rx(e,t,n){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),ym(e.return,t,n)}function ox(e,t){var n=Zt(e);return e=!n&&typeof de(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function pf(e,t,n,s,r){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=s,o.tail=n,o.tailMode=r)}function ix(e,t,n){var s=t.pendingProps,r=s.revealOrder,o=s.tail;if(s=s.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!V0[r])if(V0[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);o===void 0||Xp[o]||(o!=="collapsed"&&o!=="hidden"?(Xp[o]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',o)):r!=="forwards"&&r!=="backwards"&&(Xp[o]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',o)));e:if((r==="forwards"||r==="backwards")&&s!==void 0&&s!==null&&s!==!1)if(Zt(s)){for(var u=0;u<s.length;u++)if(!ox(s[u],u))break e}else if(u=de(s),typeof u=="function"){if(u=u.call(s))for(var m=u.next(),b=0;!m.done;m=u.next()){if(!ox(m.value,b))break e;b++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r);if(Qt(e,t,s,n),s=Lt.current,(s&rc)!==0)s=s&fa|rc,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rx(e,n,t);else if(e.tag===19)rx(e,n,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}s&=fa}switch(we(Lt,s,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&bu(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),pf(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&bu(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}pf(t,!0,n,null,o);break;case"together":pf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function or(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Dn=-1,ro|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ul(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=tr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Qc(e)))}function Kw(e,t,n){switch(t.tag){case 3:ee(t,t.stateNode.containerInfo),zr(t,Ht,e.memoizedState.cache),ll();break;case 27:case 5:k(t);break;case 4:ee(t,t.stateNode.containerInfo);break;case 10:zr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var s=t.stateNode;s.effectDuration=-0,s.passiveEffectDuration=-0;break;case 13:if(s=t.memoizedState,s!==null)return s.dehydrated!==null?(qr(t),t.flags|=128,null):(n&t.child.childLanes)!==0?sx(e,t,n):(qr(t),e=or(e,t,n),e!==null?e.sibling:null);qr(t);break;case 19:var r=(e.flags&128)!==0;if(s=(n&t.childLanes)!==0,s||(ul(e,t,n,!1),s=(n&t.childLanes)!==0),r){if(s)return ix(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),we(Lt,Lt.current,t),s)break;return null;case 22:case 23:return t.lanes=0,Jg(e,t,n);case 24:zr(t,Ht,e.memoizedState.cache)}return or(e,t,n)}function bf(e,t,n){if(t._debugNeedsRemount&&e!==null){n=pm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var s=t.return;if(s===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===s.child)s.child=n;else{var r=s.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=s.deletions,t===null?(s.deletions=[e],s.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Gt=!0;else{if(!hf(e,n)&&(t.flags&128)===0)return Gt=!1,Kw(e,t,n);Gt=(e.flags&131072)!==0}else Gt=!1,(s=tt)&&(Oo(),s=(t.flags&1048576)!==0),s&&(s=t.index,Oo(),Kb(t,Xu,s));switch(t.lanes=0,t.tag){case 16:e:if(s=t.pendingProps,e=no(t.elementType),t.type=e,typeof e=="function")fm(e)?(s=Yo(e,s),t.tag=1,t.type=e=Vo(e),t=tx(null,t,e,s,n)):(t.tag=0,cf(t,e),t.type=e=Vo(e),t=lf(null,t,e,s,n));else{if(e!=null){if(r=e.$$typeof,r===Ml){t.tag=11,t.type=e=dm(e),t=Xg(null,t,e,s,n);break e}else if(r===Ou){t.tag=14,t=Zg(null,t,e,s,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Yn&&(t=" Did you wrap a component in React.lazy() more than once?"),e=ge(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return lf(e,t,t.type,t.pendingProps,n);case 1:return s=t.type,r=Yo(s,t.pendingProps),tx(e,t,s,r,n);case 3:e:{if(ee(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");s=t.pendingProps;var o=t.memoizedState;r=o.element,Tm(e,t),hl(t,s,null,n);var u=t.memoizedState;if(s=u.cache,zr(t,Ht,s),s!==o.cache&&Nm(t,[Ht],n,!0),pl(),s=u.element,o.isDehydrated)if(o={element:s,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=nx(e,t,s,n);break e}else if(s!==r){r=Bn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),cl(r),t=nx(e,t,s,n);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(Dt=Jn(e.firstChild),mn=t,tt=!0,Xo=null,br=!1,rs=null,Fs=!0,e=b0(t,null,s,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(ll(),s===r){t=or(e,t,n);break e}Qt(e,t,s,n)}t=t.child}return t;case 26:return xu(e,t),e===null?(e=jv(t.type,null,t.pendingProps,null))?t.memoizedState=e:tt||(e=t.type,n=t.pendingProps,s=X(Xr.current),s=Tu(s).createElement(e),s[tn]=t,s[jn]=n,Xt(s,e,n),R(s),t.stateNode=s):t.memoizedState=jv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return k(t),e===null&&tt&&(s=X(Xr.current),r=T(),s=t.stateNode=Sv(t.type,t.pendingProps,s,r,!1),br||(r=pv(s,t.type,t.pendingProps,r),r!==null&&(ko(t,0).serverProps=r)),mn=t,Fs=!0,r=Dt,$r(t.type)?(vh=r,Dt=Jn(s.firstChild)):Dt=r),Qt(e,t,t.pendingProps.children,n),xu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&tt&&(o=T(),s=im(t.type,o.ancestorInfo),r=Dt,(u=!r)||(u=MS(r,t.type,t.pendingProps,Fs),u!==null?(t.stateNode=u,br||(o=pv(u,t.type,t.pendingProps,o),o!==null&&(ko(t,0).serverProps=o)),mn=t,Dt=Jn(u.firstChild),Fs=!1,o=!0):o=!1,u=!o),u&&(s&&vm(t,r),zo(t))),k(t),r=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,s=o.children,qf(r,o)?s=null:u!==null&&qf(r,u)&&(t.flags|=32),t.memoizedState!==null&&(r=Rm(e,t,Gw,null,null,n),vc._currentValue=r),xu(e,t),Qt(e,t,s,n),t.child;case 6:return e===null&&tt&&(e=t.pendingProps,n=T(),s=n.ancestorInfo.current,e=s!=null?Hc(e,s.tag,n.ancestorInfo.implicitRootScope):!0,n=Dt,(s=!n)||(s=PS(n,t.pendingProps,Fs),s!==null?(t.stateNode=s,mn=t,Dt=null,s=!0):s=!1,s=!s),s&&(e&&vm(t,n),zo(t))),null;case 13:return sx(e,t,n);case 4:return ee(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=ma(t,null,s,n):Qt(e,t,s,n),t.child;case 11:return Xg(e,t,t.type,t.pendingProps,n);case 7:return Qt(e,t,t.pendingProps,n),t.child;case 8:return Qt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,s=t.stateNode,s.effectDuration=-0,s.passiveEffectDuration=-0,Qt(e,t,t.pendingProps.children,n),t.child;case 10:return s=t.type,r=t.pendingProps,o=r.value,"value"in r||M0||(M0=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),zr(t,s,o),Qt(e,t,r.children,n),t.child;case 9:return r=t.type._context,s=t.pendingProps.children,typeof s!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ho(t),r=Nt(r),He(t),s=Fp(s,r,void 0),Qe(),t.flags|=1,Qt(e,t,s,n),t.child;case 14:return Zg(e,t,t.type,t.pendingProps,n);case 15:return Kg(e,t,t.type,t.pendingProps,n);case 19:return ix(e,t,n);case 31:return s=t.pendingProps,n=t.mode,s={mode:s.mode,children:s.children},e===null?(e=vu(s,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=tr(e.child,s),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return Jg(e,t,n);case 24:return Ho(t),s=Nt(Ht),e===null?(r=jm(),r===null&&(r=ft,o=wm(),r.pooledCache=o,Bo(o),o!==null&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:s,cache:r},Dm(t),zr(t,Ht,r)):((e.lanes&n)!==0&&(Tm(e,t),hl(t,null,null,n),pl()),r=e.memoizedState,o=t.memoizedState,r.parent!==s?(r={parent:s,cache:s},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),zr(t,Ht,s)):(s=o.cache,zr(t,Ht,s),s!==r.cache&&Nm(t,[Ht],n,!0))),Qt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ir(e){e.flags|=4}function ax(e,t){if(t.type!=="stylesheet"||(t.state.loading&cs)!==ui)e.flags&=-16777217;else if(e.flags|=16777216,!Cv(t)){if(t=ls.current,t!==null&&((Ze&4194048)===Ze?Gs!==null:(Ze&62914560)!==Ze&&(Ze&536870912)===0||t!==Gs))throw ec=Op,Yy;e.flags|=8192}}function yu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Js():536870912,e.lanes|=t,ri|=t)}function yl(e,t){if(!tt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,s=0;if(t)if((e.mode&Kt)!==ht){for(var r=e.selfBaseDuration,o=e.child;o!==null;)n|=o.lanes|o.childLanes,s|=o.subtreeFlags&65011712,s|=o.flags&65011712,r+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags&65011712,s|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Kt)!==ht){r=e.actualDuration,o=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,s|=u.subtreeFlags,s|=u.flags,r+=u.actualDuration,o+=u.treeBaseDuration,u=u.sibling;e.actualDuration=r,e.treeBaseDuration=o}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,s|=r.subtreeFlags,s|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=s,e.childLanes=n,t}function Jw(e,t,n){var s=t.pendingProps;switch(xm(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return wt(t),null;case 3:return n=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),nr(Ht,t),A(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(al(t)?(tg(),ir(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,eg())),wt(t),null;case 26:return n=t.memoizedState,e===null?(ir(t),n!==null?(wt(t),ax(t,n)):(wt(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ir(t),wt(t),ax(t,n)):(wt(t),t.flags&=-16777217):(e.memoizedProps!==s&&ir(t),wt(t),t.flags&=-16777217),null;case 27:z(t),n=X(Xr.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ir(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}e=T(),al(t)?Jb(t):(e=Sv(r,s,n,e,!0),t.stateNode=e,ir(t))}return wt(t),null;case 5:if(z(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&ir(t);else{if(!s){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return wt(t),null}if(r=T(),al(t))Jb(t);else{switch(e=X(Xr.current),im(n,r.ancestorInfo),r=r.context,e=Tu(e),r){case Ea:e=e.createElementNS(Ii,n);break;case wd:e=e.createElementNS(qu,n);break;default:switch(n){case"svg":e=e.createElementNS(Ii,n);break;case"math":e=e.createElementNS(qu,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof s.is=="string"?e.createElement("select",{is:s.is}):e.createElement("select"),s.multiple?e.multiple=!0:s.size&&(e.size=s.size);break;default:e=typeof s.is=="string"?e.createElement(n,{is:s.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||dr.call(W0,n)||(W0[n]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",n)))}}e[tn]=t,e[jn]=s;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Xt(e,n,s),n){case"button":case"input":case"select":case"textarea":e=!!s.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ir(t)}}return wt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&ir(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=X(Xr.current),n=T(),al(t)){e=t.stateNode,n=t.memoizedProps,r=!br,s=null;var o=mn;if(o!==null)switch(o.tag){case 3:r&&(r=yv(e,n,s),r!==null&&(ko(t,0).serverProps=r));break;case 27:case 5:s=o.memoizedProps,r&&(r=yv(e,n,s),r!==null&&(ko(t,0).serverProps=r))}e[tn]=t,e=!!(e.nodeValue===n||s!==null&&s.suppressHydrationWarning===!0||cv(e.nodeValue,n)),e||zo(t)}else r=n.ancestorInfo.current,r!=null&&Hc(s,r.tag,n.ancestorInfo.implicitRootScope),e=Tu(e).createTextNode(s),e[tn]=t,t.stateNode=e}return wt(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=al(t),s!==null&&s.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[tn]=t,wt(t),(t.mode&Kt)!==ht&&s!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else tg(),ll(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,wt(t),(t.mode&Kt)!==ht&&s!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=eg(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(rr(t),t):(rr(t),null)}return rr(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Kt)!==ht&&Kc(t),t):(n=s!==null,e=e!==null&&e.memoizedState!==null,n&&(s=t.child,r=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(r=s.alternate.memoizedState.cachePool.pool),o=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(o=s.memoizedState.cachePool.pool),o!==r&&(s.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),yu(t,t.updateQueue),wt(t),(t.mode&Kt)!==ht&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return A(t),e===null&&Pf(t.stateNode.containerInfo),wt(t),null;case 10:return nr(t.type,t),wt(t),null;case 19:if(se(Lt,t),r=t.memoizedState,r===null)return wt(t),null;if(s=(t.flags&128)!==0,o=r.rendering,o===null)if(s)yl(r,!1);else{if(Tt!==yr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=bu(e),o!==null){for(t.flags|=128,yl(r,!1),e=o.updateQueue,t.updateQueue=e,yu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Zb(n,e),n=n.sibling;return we(Lt,Lt.current&fa|rc,t),t.child}e=e.sibling}r.tail!==null&&zs()>ud&&(t.flags|=128,s=!0,yl(r,!1),t.lanes=4194304)}else{if(!s)if(e=bu(o),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,yu(t,e),yl(r,!0),r.tail===null&&r.tailMode==="hidden"&&!o.alternate&&!tt)return wt(t),null}else 2*zs()-r.renderingStartTime>ud&&n!==536870912&&(t.flags|=128,s=!0,yl(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e!==null?e.sibling=o:t.child=o,r.last=o)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=zs(),e.sibling=null,n=Lt.current,n=s?n&fa|rc:n&fa,we(Lt,n,t),e):(wt(t),null);case 22:case 23:return rr(t),Um(t),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(n&536870912)!==0&&(t.flags&128)===0&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),n=t.updateQueue,n!==null&&yu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==n&&(t.flags|=2048),e!==null&&se(Jo,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nr(Ht,t),wt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ww(e,t){switch(xm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Kt)!==ht&&Kc(t),t):null;case 3:return nr(Ht,t),A(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return z(t),null;case 13:if(rr(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ll()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Kt)!==ht&&Kc(t),t):null;case 19:return se(Lt,t),null;case 4:return A(t),null;case 10:return nr(t.type,t),null;case 22:case 23:return rr(t),Um(t),e!==null&&se(Jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Kt)!==ht&&Kc(t),t):null;case 24:return nr(Ht,t),null;case 25:return null;default:return null}}function lx(e,t){switch(xm(t),t.tag){case 3:nr(Ht,t),A(t);break;case 26:case 27:case 5:z(t);break;case 4:A(t);break;case 13:rr(t);break;case 19:se(Lt,t);break;case 10:nr(t.type,t);break;case 22:case 23:rr(t),Um(t),e!==null&&se(Jo,t);break;case 24:nr(Ht,t)}}function As(e){return(e.mode&Kt)!==ht}function cx(e,t){As(e)?(Rs(),Nl(t,e),Cs()):Nl(t,e)}function gf(e,t,n){As(e)?(Rs(),Vi(n,e,t),Cs()):Vi(n,e,t)}function Nl(e,t){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var r=s.next;n=r;do{if((n.tag&e)===e&&((e&Bt)!==os?fe!==null&&typeof fe.markComponentPassiveEffectMountStarted=="function"&&fe.markComponentPassiveEffectMountStarted(t):(e&Jt)!==os&&fe!==null&&typeof fe.markComponentLayoutEffectMountStarted=="function"&&fe.markComponentLayoutEffectMountStarted(t),s=void 0,(e&fn)!==os&&(wa=!0),s=Ue(t,xj,n),(e&fn)!==os&&(wa=!1),(e&Bt)!==os?fe!==null&&typeof fe.markComponentPassiveEffectMountStopped=="function"&&fe.markComponentPassiveEffectMountStopped():(e&Jt)!==os&&fe!==null&&typeof fe.markComponentLayoutEffectMountStopped=="function"&&fe.markComponentLayoutEffectMountStopped(),s!==void 0&&typeof s!="function")){var o=void 0;o=(n.tag&Jt)!==0?"useLayoutEffect":(n.tag&fn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=s===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof s.then=="function"?`
|
|
182
|
-
|
|
183
|
-
It looks like you wrote `+o+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
184
|
-
|
|
185
|
-
`+o+`(() => {
|
|
186
|
-
async function fetchData() {
|
|
187
|
-
// You can await here
|
|
188
|
-
const response = await MyAPI.getData(someId);
|
|
189
|
-
// ...
|
|
190
|
-
}
|
|
191
|
-
fetchData();
|
|
192
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
193
|
-
|
|
194
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+s,Ue(t,function(m,b){console.error("%s must not return anything besides a function, which is used for clean-up.%s",m,b)},o,u)}n=n.next}while(n!==r)}}catch(m){ut(t,t.return,m)}}function Vi(e,t,n){try{var s=t.updateQueue,r=s!==null?s.lastEffect:null;if(r!==null){var o=r.next;s=o;do{if((s.tag&e)===e){var u=s.inst,m=u.destroy;m!==void 0&&(u.destroy=void 0,(e&Bt)!==os?fe!==null&&typeof fe.markComponentPassiveEffectUnmountStarted=="function"&&fe.markComponentPassiveEffectUnmountStarted(t):(e&Jt)!==os&&fe!==null&&typeof fe.markComponentLayoutEffectUnmountStarted=="function"&&fe.markComponentLayoutEffectUnmountStarted(t),(e&fn)!==os&&(wa=!0),r=t,Ue(r,vj,r,n,m),(e&fn)!==os&&(wa=!1),(e&Bt)!==os?fe!==null&&typeof fe.markComponentPassiveEffectUnmountStopped=="function"&&fe.markComponentPassiveEffectUnmountStopped():(e&Jt)!==os&&fe!==null&&typeof fe.markComponentLayoutEffectUnmountStopped=="function"&&fe.markComponentLayoutEffectUnmountStopped())}s=s.next}while(s!==o)}}catch(b){ut(t,t.return,b)}}function ux(e,t){As(e)?(Rs(),Nl(t,e),Cs()):Nl(t,e)}function xf(e,t,n){As(e)?(Rs(),Vi(n,e,t),Cs()):Vi(n,e,t)}function dx(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||ha||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",K(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",K(e)||"instance"));try{Ue(e,mg,t,n)}catch(s){ut(e,e.return,s)}}}function eS(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function tS(e,t){var n=t.memoizedProps,s=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||ha||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",K(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",K(e)||"instance"));try{var r=Yo(e.type,n,e.elementType===e.type),o=Ue(e,eS,t,r,s);n=P0,o!==void 0||n.has(e.type)||(n.add(e.type),Ue(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",K(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(u){ut(e,e.return,u)}}function mx(e,t,n){n.props=Yo(e.type,e.memoizedProps),n.state=e.memoizedState,As(e)?(Rs(),Ue(e,l0,e,t,n),Cs()):Ue(e,l0,e,t,n)}function nS(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(As(e))try{Rs(),e.refCleanup=t(n)}finally{Cs()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",K(e)),t.current=n}}function wl(e,t){try{Ue(e,nS,e)}catch(n){ut(e,t,n)}}function Vs(e,t){var n=e.ref,s=e.refCleanup;if(n!==null)if(typeof s=="function")try{if(As(e))try{Rs(),Ue(e,s)}finally{Cs(e)}else Ue(e,s)}catch(r){ut(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(As(e))try{Rs(),Ue(e,n,null)}finally{Cs(e)}else Ue(e,n,null)}catch(r){ut(e,t,r)}else n.current=null}function fx(e,t,n,s){var r=e.memoizedProps,o=r.id,u=r.onCommit;r=r.onRender,t=t===null?"mount":"update",Ju&&(t="nested-update"),typeof r=="function"&&r(o,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof u=="function"&&u(e.memoizedProps.id,t,s,n)}function sS(e,t,n,s){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",Ju&&(t="nested-update"),typeof r=="function"&&r(e,t,s,n)}function px(e){var t=e.type,n=e.memoizedProps,s=e.stateNode;try{Ue(e,jS,s,t,n,e)}catch(r){ut(e,e.return,r)}}function vf(e,t,n){try{Ue(e,DS,e.stateNode,e.type,n,t,e)}catch(s){ut(e,e.return,s)}}function hx(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$r(e.type)||e.tag===4}function yf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hx(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&&$r(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 Nf(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Du));else if(s!==4&&(s===27&&$r(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Nf(e,t,n),e=e.sibling;e!==null;)Nf(e,t,n),e=e.sibling}function Nu(e,t,n){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(s!==4&&(s===27&&$r(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Nu(e,t,n),e=e.sibling;e!==null;)Nu(e,t,n),e=e.sibling}function rS(e){for(var t,n=e.return;n!==null;){if(hx(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=yf(e),Nu(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(gv(n),t.flags&=-33),t=yf(e),Nu(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=yf(e),Nf(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bx(e){var t=e.stateNode,n=e.memoizedProps;try{Ue(e,HS,e.type,n,t,e)}catch(s){ut(e,e.return,s)}}function oS(e,t){if(e=e.containerInfo,bh=Dd,e=Gb(e),cm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var s=n.getSelection&&n.getSelection();if(s&&s.rangeCount!==0){n=s.anchorNode;var r=s.anchorOffset,o=s.focusNode;s=s.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var u=0,m=-1,b=-1,v=0,P=0,q=e,M=null;t:for(;;){for(var G;q!==n||r!==0&&q.nodeType!==3||(m=u+r),q!==o||s!==0&&q.nodeType!==3||(b=u+s),q.nodeType===3&&(u+=q.nodeValue.length),(G=q.firstChild)!==null;)M=q,q=G;for(;;){if(q===e)break t;if(M===n&&++v===r&&(m=u),M===o&&++P===s&&(b=u),(G=q.nextSibling)!==null)break;q=M,M=q.parentNode}q=G}n=m===-1||b===-1?null:{start:m,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(gh={focusedElem:e,selectionRange:n},Dd=!1,$t=t;$t!==null;)if(t=$t,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,$t=e;else for(;$t!==null;){switch(e=t=$t,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&tS(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Ff(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ff(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,$t=e;break}$t=t.return}}function gx(e,t,n){var s=n.flags;switch(n.tag){case 0:case 11:case 15:lr(e,n),s&4&&cx(n,Jt|is);break;case 1:if(lr(e,n),s&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||ha||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",K(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",K(n)||"instance")),As(n)?(Rs(),Ue(n,Yp,n,e),Cs()):Ue(n,Yp,n,e);else{var r=Yo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||ha||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",K(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",K(n)||"instance")),As(n)?(Rs(),Ue(n,o0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Cs()):Ue(n,o0,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}s&64&&dx(n),s&512&&wl(n,n.return);break;case 3:if(t=sr(),lr(e,n),s&64&&(s=n.updateQueue,s!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{Ue(n,mg,s,r)}catch(u){ut(n,n.return,u)}}e.effectDuration+=Zc(t);break;case 27:t===null&&s&4&&bx(n);case 26:case 5:lr(e,n),t===null&&s&4&&px(n),s&512&&wl(n,n.return);break;case 12:if(s&4){s=sr(),lr(e,n),e=n.stateNode,e.effectDuration+=ml(s);try{Ue(n,fx,n,t,Ku,e.effectDuration)}catch(u){ut(n,n.return,u)}}else lr(e,n);break;case 13:lr(e,n),s&4&&yx(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=pS.bind(null,n),OS(e,n))));break;case 22:if(s=n.memoizedState!==null||vr,!s){t=t!==null&&t.memoizedState!==null||Vt,r=vr;var o=Vt;vr=s,(Vt=t)&&!o?cr(e,n,(n.subtreeFlags&8772)!==0):lr(e,n),vr=r,Vt=o}break;case 30:break;default:lr(e,n)}}function xx(e){var t=e.alternate;t!==null&&(e.alternate=null,xx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&_s(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ar(e,t,n){for(n=n.child;n!==null;)vx(e,t,n),n=n.sibling}function vx(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(Gi,n)}catch(o){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",o))}switch(n.tag){case 26:Vt||Vs(n,t),ar(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Vt||Vs(n,t);var s=zt,r=Tn;$r(n.type)&&(zt=n.stateNode,Tn=!1),ar(e,t,n),Ue(n,Ul,n.stateNode),zt=s,Tn=r;break;case 5:Vt||Vs(n,t);case 6:if(s=zt,r=Tn,zt=null,ar(e,t,n),zt=s,Tn=r,zt!==null)if(Tn)try{Ue(n,US,zt,n.stateNode)}catch(o){ut(n,t,o)}else try{Ue(n,_S,zt,n.stateNode)}catch(o){ut(n,t,o)}break;case 18:zt!==null&&(Tn?(e=zt,xv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Vl(e)):xv(zt,n.stateNode));break;case 4:s=zt,r=Tn,zt=n.stateNode.containerInfo,Tn=!0,ar(e,t,n),zt=s,Tn=r;break;case 0:case 11:case 14:case 15:Vt||Vi(fn,n,t),Vt||gf(n,t,Jt),ar(e,t,n);break;case 1:Vt||(Vs(n,t),s=n.stateNode,typeof s.componentWillUnmount=="function"&&mx(n,t,s)),ar(e,t,n);break;case 21:ar(e,t,n);break;case 22:Vt=(s=Vt)||n.memoizedState!==null,ar(e,t,n),Vt=s;break;default:ar(e,t,n)}}function yx(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ue(t,zS,e)}catch(n){ut(t,t.return,n)}}function iS(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new O0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new O0),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function wf(e,t){var n=iS(e);t.forEach(function(s){var r=hS.bind(null,e,s);if(!n.has(s)){if(n.add(s),bs)if(ba!==null&&ga!==null)Dl(ga,ba);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");s.then(r,r)}})}function Ln(e,t){var n=t.deletions;if(n!==null)for(var s=0;s<n.length;s++){var r=e,o=t,u=n[s],m=o;e:for(;m!==null;){switch(m.tag){case 27:if($r(m.type)){zt=m.stateNode,Tn=!1;break e}break;case 5:zt=m.stateNode,Tn=!1;break e;case 3:case 4:zt=m.stateNode.containerInfo,Tn=!0;break e}m=m.return}if(zt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");vx(r,o,u),zt=null,Tn=!1,r=u,o=r.alternate,o!==null&&(o.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Nx(t,e),t=t.sibling}function Nx(e,t){var n=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ln(t,e),qn(e),s&4&&(Vi(fn|is,e,e.return),Nl(fn|is,e),gf(e,e.return,Jt|is));break;case 1:Ln(t,e),qn(e),s&512&&(Vt||n===null||Vs(n,n.return)),s&64&&vr&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?s:n.concat(s))));break;case 26:var r=ys;if(Ln(t,e),qn(e),s&512&&(Vt||n===null||Vs(n,n.return)),s&4)if(t=n!==null?n.memoizedState:null,s=e.memoizedState,n===null)if(s===null)if(e.stateNode===null){e:{s=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(s){case"title":r=t.getElementsByTagName("title")[0],(!r||r[Ol]||r[tn]||r.namespaceURI===Ii||r.hasAttribute("itemprop"))&&(r=t.createElement(s),t.head.insertBefore(r,t.querySelector("head > title"))),Xt(r,s,n),r[tn]=e,R(r),s=r;break e;case"link":var o=_v("link","href",t).get(s+(n.href||""));if(o){for(var u=0;u<o.length;u++)if(r=o[u],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(u,1);break t}}r=t.createElement(s),Xt(r,s,n),t.head.appendChild(r);break;case"meta":if(o=_v("meta","content",t).get(s+(n.content||""))){for(u=0;u<o.length;u++)if(r=o[u],Z(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(u,1);break t}}r=t.createElement(s),Xt(r,s,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+s+'". This is a bug in React.')}r[tn]=e,R(r),s=r}e.stateNode=s}else Uv(r,e.type,e.stateNode);else e.stateNode=Tv(r,s,e.memoizedProps);else t!==s?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,s===null?Uv(r,e.type,e.stateNode):Tv(r,s,e.memoizedProps)):s===null&&e.stateNode!==null&&vf(e,e.memoizedProps,n.memoizedProps);break;case 27:Ln(t,e),qn(e),s&512&&(Vt||n===null||Vs(n,n.return)),n!==null&&s&4&&vf(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ln(t,e),qn(e),s&512&&(Vt||n===null||Vs(n,n.return)),e.flags&32){t=e.stateNode;try{Ue(e,gv,t)}catch(P){ut(e,e.return,P)}}s&4&&e.stateNode!=null&&(t=e.memoizedProps,vf(e,t,n!==null?n.memoizedProps:t)),s&1024&&(Kp=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ln(t,e),qn(e),s&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");s=e.memoizedProps,n=n!==null?n.memoizedProps:s,t=e.stateNode;try{Ue(e,TS,t,n,s)}catch(P){ut(e,e.return,P)}}break;case 3:if(r=sr(),Sd=null,o=ys,ys=_u(t.containerInfo),Ln(t,e),ys=o,qn(e),s&4&&n!==null&&n.memoizedState.isDehydrated)try{Ue(e,kS,t.containerInfo)}catch(P){ut(e,e.return,P)}Kp&&(Kp=!1,wx(e)),t.effectDuration+=Zc(r);break;case 4:s=ys,ys=_u(e.stateNode.containerInfo),Ln(t,e),qn(e),ys=s;break;case 12:s=sr(),Ln(t,e),qn(e),e.stateNode.effectDuration+=ml(s);break;case 13:Ln(t,e),qn(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(sh=zs()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,wf(e,s)));break;case 22:r=e.memoizedState!==null;var m=n!==null&&n.memoizedState!==null,b=vr,v=Vt;if(vr=b||r,Vt=v||m,Ln(t,e),Vt=v,vr=b,qn(e),s&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~Iu:t._visibility|Iu,r&&(n===null||m||vr||Vt||Go(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){m=n=t;try{o=m.stateNode,r?Ue(m,CS,o):Ue(m,AS,m.stateNode,m.memoizedProps)}catch(P){ut(m,m.return,P)}}}else if(t.tag===6){if(n===null){m=t;try{u=m.stateNode,r?Ue(m,RS,u):Ue(m,VS,u,m.memoizedProps)}catch(P){ut(m,m.return,P)}}}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;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(n=s.retryQueue,n!==null&&(s.retryQueue=null,wf(e,n))));break;case 19:Ln(t,e),qn(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,wf(e,s)));break;case 30:break;case 21:break;default:Ln(t,e),qn(e)}}function qn(e){var t=e.flags;if(t&2){try{Ue(e,rS,e)}catch(n){ut(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wx(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;wx(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function lr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gx(e,t.alternate,t),t=t.sibling}function Sx(e){switch(e.tag){case 0:case 11:case 14:case 15:gf(e,e.return,Jt),Go(e);break;case 1:Vs(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&mx(e,e.return,t),Go(e);break;case 27:Ue(e,Ul,e.stateNode);case 26:case 5:Vs(e,e.return),Go(e);break;case 22:e.memoizedState===null&&Go(e);break;case 30:Go(e);break;default:Go(e)}}function Go(e){for(e=e.child;e!==null;)Sx(e),e=e.sibling}function Ex(e,t,n,s){var r=n.flags;switch(n.tag){case 0:case 11:case 15:cr(e,n,s),cx(n,Jt);break;case 1:if(cr(e,n,s),t=n.stateNode,typeof t.componentDidMount=="function"&&Ue(n,Yp,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{Ue(n,Yw,t,e)}catch(o){ut(n,n.return,o)}}s&&r&64&&dx(n),wl(n,n.return);break;case 27:bx(n);case 26:case 5:cr(e,n,s),s&&t===null&&r&4&&px(n),wl(n,n.return);break;case 12:if(s&&r&4){r=sr(),cr(e,n,s),s=n.stateNode,s.effectDuration+=ml(r);try{Ue(n,fx,n,t,Ku,s.effectDuration)}catch(o){ut(n,n.return,o)}}else cr(e,n,s);break;case 13:cr(e,n,s),s&&r&4&&yx(e,n);break;case 22:n.memoizedState===null&&cr(e,n,s),wl(n,n.return);break;case 30:break;default:cr(e,n,s)}}function cr(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Ex(e,t.alternate,t,n),t=t.sibling}function Sf(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Bo(e),n!=null&&dl(n))}function Ef(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Bo(t),e!=null&&dl(e))}function Ms(e,t,n,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)jx(e,t,n,s),t=t.sibling}function jx(e,t,n,s){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ms(e,t,n,s),r&2048&&ux(t,Bt|is);break;case 1:Ms(e,t,n,s);break;case 3:var o=sr();Ms(e,t,n,s),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(Bo(t),n!=null&&dl(n))),e.passiveEffectDuration+=Zc(o);break;case 12:if(r&2048){r=sr(),Ms(e,t,n,s),e=t.stateNode,e.passiveEffectDuration+=ml(r);try{Ue(t,sS,t,t.alternate,Ku,e.passiveEffectDuration)}catch(m){ut(t,t.return,m)}}else Ms(e,t,n,s);break;case 13:Ms(e,t,n,s);break;case 23:break;case 22:o=t.stateNode;var u=t.alternate;t.memoizedState!==null?o._visibility&fr?Ms(e,t,n,s):Sl(e,t):o._visibility&fr?Ms(e,t,n,s):(o._visibility|=fr,Mi(e,t,n,s,(t.subtreeFlags&10256)!==0)),r&2048&&Sf(u,t);break;case 24:Ms(e,t,n,s),r&2048&&Ef(t.alternate,t);break;default:Ms(e,t,n,s)}}function Mi(e,t,n,s,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Dx(e,t,n,s,r),t=t.sibling}function Dx(e,t,n,s,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Mi(e,t,n,s,r),ux(t,Bt);break;case 23:break;case 22:var u=t.stateNode;t.memoizedState!==null?u._visibility&fr?Mi(e,t,n,s,r):Sl(e,t):(u._visibility|=fr,Mi(e,t,n,s,r)),r&&o&2048&&Sf(t.alternate,t);break;case 24:Mi(e,t,n,s,r),r&&o&2048&&Ef(t.alternate,t);break;default:Mi(e,t,n,s,r)}}function Sl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,s=t,r=s.flags;switch(s.tag){case 22:Sl(n,s),r&2048&&Sf(s.alternate,s);break;case 24:Sl(n,s),r&2048&&Ef(s.alternate,s);break;default:Sl(n,s)}t=t.sibling}}function Pi(e){if(e.subtreeFlags&oc)for(e=e.child;e!==null;)Tx(e),e=e.sibling}function Tx(e){switch(e.tag){case 26:Pi(e),e.flags&oc&&e.memoizedState!==null&&FS(ys,e.memoizedState,e.memoizedProps);break;case 5:Pi(e);break;case 3:case 4:var t=ys;ys=_u(e.stateNode.containerInfo),Pi(e),ys=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=oc,oc=16777216,Pi(e),oc=t):Pi(e));break;default:Pi(e)}}function _x(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 El(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];$t=s,Rx(s,e)}_x(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ux(e),e=e.sibling}function Ux(e){switch(e.tag){case 0:case 11:case 15:El(e),e.flags&2048&&xf(e,e.return,Bt|is);break;case 3:var t=sr();El(e),e.stateNode.passiveEffectDuration+=Zc(t);break;case 12:t=sr(),El(e),e.stateNode.passiveEffectDuration+=ml(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&fr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~fr,wu(e)):El(e);break;default:El(e)}}function wu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var s=t[n];$t=s,Rx(s,e)}_x(e)}for(e=e.child;e!==null;)Cx(e),e=e.sibling}function Cx(e){switch(e.tag){case 0:case 11:case 15:xf(e,e.return,Bt),wu(e);break;case 22:var t=e.stateNode;t._visibility&fr&&(t._visibility&=~fr,wu(e));break;default:wu(e)}}function Rx(e,t){for(;$t!==null;){var n=$t,s=n;switch(s.tag){case 0:case 11:case 15:xf(s,t,Bt);break;case 23:case 22:s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(s=s.memoizedState.cachePool.pool,s!=null&&Bo(s));break;case 24:dl(s.memoizedState.cache)}if(s=n.child,s!==null)s.return=n,$t=s;else e:for(n=e;$t!==null;){s=$t;var r=s.sibling,o=s.return;if(xx(s),s===n){$t=null;break e}if(r!==null){r.return=o,$t=r;break e}$t=o}}}function aS(){Nj.forEach(function(e){return e()})}function Ax(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||L.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Fn(e){if((rt&pn)!==$n&&Ze!==0)return Ze&-Ze;var t=L.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Ko,e!==0?e:Vf()):Pr()}function Vx(){Qn===0&&(Qn=(Ze&536870912)===0||tt?Le():536870912);var e=ls.current;return e!==null&&(e.flags|=32),Qn}function At(e,t,n){if(wa&&console.error("useInsertionEffect must not schedule updates."),lh&&(dd=!0),(e===ft&&(at===ni||at===si)||e.cancelPendingCommit!==null)&&(ki(e,0),Yr(e,Ze,Qn,!1)),ln(e,n),(rt&pn)!==0&&e===ft){if(Ls)switch(t.tag){case 0:case 11:case 15:e=$e&&K($e)||"Unknown",$0.has(e)||($0.add(e),t=K(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:G0||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),G0=!0)}}else bs&&Mr(e,t,n),gS(t),e===ft&&((rt&pn)===$n&&(oo|=n),Tt===ti&&Yr(e,Ze,Qn,!1)),Ps(e)}function Mx(e,t,n){if((rt&(pn|Ns))!==$n)throw Error("Should not already be working.");var s=!n&&(t&124)===0&&(t&e.expiredLanes)===0||ms(e,t),r=s?cS(e,t):Tf(e,t,!0),o=s;do{if(r===yr){ya&&!s&&Yr(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!lS(n)){r=Tf(e,t,!1),o=!1;continue}if(r===xa){if(o=t,e.errorRecoveryDisabledLanes&o)var u=0;else u=e.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){t=u;e:{r=e;var m=u;u=dc;var b=r.current.memoizedState.isDehydrated;if(b&&(ki(r,m).flags|=256),m=Tf(r,m,!1),m!==xa){if(th&&!b){r.errorRecoveryDisabledLanes|=o,oo|=o,r=ti;break e}r=hn,hn=u,r!==null&&(hn===null?hn=r:hn.push.apply(hn,r))}r=m}if(o=!1,r!==xa)continue}}if(r===ac){ki(e,0),Yr(e,t,0,!0);break}e:{switch(s=e,r){case yr:case ac:throw Error("Root did not complete. This is a bug in React.");case ti:if((t&4194048)!==t)break;case ld:Yr(s,t,Qn,!so);break e;case xa:hn=null;break;case Jp:case k0:break;default:throw Error("Unknown root exit status.")}if(L.actQueue!==null)_f(s,n,t,hn,mc,cd,Qn,oo,ri);else{if((t&62914560)===t&&(o=sh+H0-zs(),10<o)){if(Yr(s,t,Qn,!so),an(s,0,!0)!==0)break e;s.timeoutHandle=eN(Px.bind(null,s,n,hn,mc,cd,t,Qn,oo,ri,so,r,jj,Ly,0),o);break e}Px(s,n,hn,mc,cd,t,Qn,oo,ri,so,r,Sj,Ly,0)}}}break}while(!0);Ps(e)}function Px(e,t,n,s,r,o,u,m,b,v,P,q,M,G){if(e.timeoutHandle=ci,q=t.subtreeFlags,(q&8192||(q&16785408)===16785408)&&(xc={stylesheets:null,count:0,unsuspend:qS},Tx(t),q=YS(),q!==null)){e.cancelPendingCommit=q(_f.bind(null,e,t,o,n,s,r,u,m,b,P,Ej,M,G)),Yr(e,o,u,!v);return}_f(e,t,o,n,s,r,u,m,b)}function lS(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var s=0;s<n.length;s++){var r=n[s],o=r.getSnapshot;r=r.value;try{if(!dn(o(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 Yr(e,t,n,s){t&=~nh,t&=~oo,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var r=t;0<r;){var o=31-cn(r),u=1<<o;s[o]=-1,r&=~u}n!==0&&_o(e,n,t)}function Oi(){return(rt&(pn|Ns))===$n?(Tl(0),!1):!0}function jf(){if($e!==null){if(at===_n)var e=$e.return;else e=$e,Ic(),Pm(e),da=null,sc=0,e=$e;for(;e!==null;)lx(e.alternate,e),e=e.return;$e=null}}function ki(e,t){var n=e.timeoutHandle;n!==ci&&(e.timeoutHandle=ci,zj(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),jf(),ft=e,$e=n=tr(e.current,null),Ze=t,at=_n,In=null,so=!1,ya=ms(e,t),th=!1,Tt=yr,ri=Qn=nh=oo=ro=0,hn=dc=null,cd=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var r=31-cn(s),o=1<<r;t|=e[r],s&=~o}return $s=t,Fc(),t=Hy(),1e3<t-zy&&(L.recentlyCreatedOwnerStacks=0,zy=t),xs.discardPendingWarnings(),n}function Ox(e,t){Ae=null,L.H=id,L.getCurrentStack=null,Ls=!1,Gn=null,t===Wl||t===td?(t=cg(),at=cc):t===Yy?(t=cg(),at=z0):at=t===_0?eh:t!==null&&typeof t=="object"&&typeof t.then=="function"?va:lc,In=t;var n=$e;if(n===null)Tt=ac,gu(e,Bn(t,e.current));else switch(n.mode&Kt&&Em(n),Qe(),at){case lc:fe!==null&&typeof fe.markComponentErrored=="function"&&fe.markComponentErrored(n,t,Ze);break;case ni:case si:case cc:case va:case uc:fe!==null&&typeof fe.markComponentSuspended=="function"&&fe.markComponentSuspended(n,t,Ze)}}function kx(){var e=L.H;return L.H=id,e===null?id:e}function zx(){var e=L.A;return L.A=yj,e}function Df(){Tt=ti,so||(Ze&4194048)!==Ze&&ls.current!==null||(ya=!0),(ro&134217727)===0&&(oo&134217727)===0||ft===null||Yr(ft,Ze,Qn,!1)}function Tf(e,t,n){var s=rt;rt|=pn;var r=kx(),o=zx();if(ft!==e||Ze!==t){if(bs){var u=e.memoizedUpdaters;0<u.size&&(Dl(e,Ze),u.clear()),er(e,t)}mc=null,ki(e,t)}Ut(t),t=!1,u=Tt;e:do try{if(at!==_n&&$e!==null){var m=$e,b=In;switch(at){case eh:jf(),u=ld;break e;case cc:case ni:case si:case va:ls.current===null&&(t=!0);var v=at;if(at=_n,In=null,zi(e,m,b,v),n&&ya){u=yr;break e}break;default:v=at,at=_n,In=null,zi(e,m,b,v)}}Hx(),u=Tt;break}catch(P){Ox(e,P)}while(!0);return t&&e.shellSuspendCounter++,Ic(),rt=s,L.H=r,L.A=o,on(),$e===null&&(ft=null,Ze=0,Fc()),u}function Hx(){for(;$e!==null;)Bx($e)}function cS(e,t){var n=rt;rt|=pn;var s=kx(),r=zx();if(ft!==e||Ze!==t){if(bs){var o=e.memoizedUpdaters;0<o.size&&(Dl(e,Ze),o.clear()),er(e,t)}mc=null,ud=zs()+B0,ki(e,t)}else ya=ms(e,t);Ut(t);e:do try{if(at!==_n&&$e!==null)t:switch(t=$e,o=In,at){case lc:at=_n,In=null,zi(e,t,o,lc);break;case ni:case si:if(ag(o)){at=_n,In=null,Lx(t);break}t=function(){at!==ni&&at!==si||ft!==e||(at=uc),Ps(e)},o.then(t,t);break e;case cc:at=uc;break e;case z0:at=Wp;break e;case uc:ag(o)?(at=_n,In=null,Lx(t)):(at=_n,In=null,zi(e,t,o,uc));break;case Wp:var u=null;switch($e.tag){case 26:u=$e.memoizedState;case 5:case 27:var m=$e;if(!u||Cv(u)){at=_n,In=null;var b=m.sibling;if(b!==null)$e=b;else{var v=m.return;v!==null?($e=v,Su(v)):$e=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}at=_n,In=null,zi(e,t,o,Wp);break;case va:at=_n,In=null,zi(e,t,o,va);break;case eh:jf(),Tt=ld;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}L.actQueue!==null?Hx():uS();break}catch(P){Ox(e,P)}while(!0);return Ic(),L.H=s,L.A=r,rt=n,$e!==null?(fe!==null&&typeof fe.markRenderYielded=="function"&&fe.markRenderYielded(),yr):(on(),ft=null,Ze=0,Fc(),Tt)}function uS(){for(;$e!==null&&!iE();)Bx($e)}function Bx(e){var t=e.alternate;(e.mode&Kt)!==ht?(Sm(e),t=Ue(e,bf,t,e,$s),Em(e)):t=Ue(e,bf,t,e,$s),e.memoizedProps=e.pendingProps,t===null?Su(e):$e=t}function Lx(e){var t=Ue(e,dS,e);e.memoizedProps=e.pendingProps,t===null?Su(e):$e=t}function dS(e){var t=e.alternate,n=(e.mode&Kt)!==ht;switch(n&&Sm(e),e.tag){case 15:case 0:t=ex(t,e,e.pendingProps,e.type,void 0,Ze);break;case 11:t=ex(t,e,e.pendingProps,e.type.render,e.ref,Ze);break;case 5:Pm(e);default:lx(t,e),e=$e=Zb(e,$s),t=bf(t,e,$s)}return n&&Em(e),t}function zi(e,t,n,s){Ic(),Pm(t),da=null,sc=0;var r=t.return;try{if(Zw(e,r,t,n,Ze)){Tt=ac,gu(e,Bn(n,e.current)),$e=null;return}}catch(o){if(r!==null)throw $e=r,o;Tt=ac,gu(e,Bn(n,e.current)),$e=null;return}t.flags&32768?(tt||s===lc?e=!0:ya||(Ze&536870912)!==0?e=!1:(so=e=!0,(s===ni||s===si||s===cc||s===va)&&(s=ls.current,s!==null&&s.tag===13&&(s.flags|=16384))),qx(t,e)):Su(t)}function Su(e){var t=e;do{if((t.flags&32768)!==0){qx(t,so);return}var n=t.alternate;if(e=t.return,Sm(t),n=Ue(t,Jw,n,t,$s),(t.mode&Kt)!==ht&&sg(t),n!==null){$e=n;return}if(t=t.sibling,t!==null){$e=t;return}$e=t=e}while(t!==null);Tt===yr&&(Tt=k0)}function qx(e,t){do{var n=Ww(e.alternate,e);if(n!==null){n.flags&=32767,$e=n;return}if((e.mode&Kt)!==ht){sg(e),n=e.actualDuration;for(var s=e.child;s!==null;)n+=s.actualDuration,s=s.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){$e=e;return}$e=e=n}while(e!==null);Tt=ld,$e=null}function _f(e,t,n,s,r,o,u,m,b){e.cancelPendingCommit=null;do jl();while(Wt!==oi);if(xs.flushLegacyContextWarning(),xs.flushPendingUnsafeLifecycleWarnings(),(rt&(pn|Ns))!==$n)throw Error("Should not already be working.");if(fe!==null&&typeof fe.markCommitStarted=="function"&&fe.markCommitStarted(n),t===null)he();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(o=t.lanes|t.childLanes,o|=Rp,ji(e,n,o,u,m,b),e===ft&&($e=ft=null,Ze=0),Na=t,ao=e,lo=n,oh=o,ih=r,Y0=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,bS(Yi,function(){return Ix(),null})):(e.callbackNode=null,e.callbackPriority=0),Ku=ia(),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=L.T,L.T=null,r=st.p,st.p=Wn,u=rt,rt|=Ns;try{oS(e,t,n)}finally{rt=u,st.p=r,L.T=s}}Wt=L0,Fx(),Yx(),Gx()}}function Fx(){if(Wt===L0){Wt=oi;var e=ao,t=Na,n=lo,s=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||s){s=L.T,L.T=null;var r=st.p;st.p=Wn;var o=rt;rt|=Ns;try{ba=n,ga=e,Nx(t,e),ga=ba=null,n=gh;var u=Gb(e.containerInfo),m=n.focusedElem,b=n.selectionRange;if(u!==m&&m&&m.ownerDocument&&Yb(m.ownerDocument.documentElement,m)){if(b!==null&&cm(m)){var v=b.start,P=b.end;if(P===void 0&&(P=v),"selectionStart"in m)m.selectionStart=v,m.selectionEnd=Math.min(P,m.value.length);else{var q=m.ownerDocument||document,M=q&&q.defaultView||window;if(M.getSelection){var G=M.getSelection(),ye=m.textContent.length,Re=Math.min(b.start,ye),pt=b.end===void 0?Re:Math.min(b.end,ye);!G.extend&&Re>pt&&(u=pt,pt=Re,Re=u);var Je=Fb(m,Re),S=Fb(m,pt);if(Je&&S&&(G.rangeCount!==1||G.anchorNode!==Je.node||G.anchorOffset!==Je.offset||G.focusNode!==S.node||G.focusOffset!==S.offset)){var E=q.createRange();E.setStart(Je.node,Je.offset),G.removeAllRanges(),Re>pt?(G.addRange(E),G.extend(S.node,S.offset)):(E.setEnd(S.node,S.offset),G.addRange(E))}}}}for(q=[],G=m;G=G.parentNode;)G.nodeType===1&&q.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<q.length;m++){var U=q[m];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}Dd=!!bh,gh=bh=null}finally{rt=o,st.p=r,L.T=s}}e.current=t,Wt=q0}}function Yx(){if(Wt===q0){Wt=oi;var e=ao,t=Na,n=lo,s=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||s){s=L.T,L.T=null;var r=st.p;st.p=Wn;var o=rt;rt|=Ns;try{fe!==null&&typeof fe.markLayoutEffectsStarted=="function"&&fe.markLayoutEffectsStarted(n),ba=n,ga=e,gx(e,t.alternate,t),ga=ba=null,fe!==null&&typeof fe.markLayoutEffectsStopped=="function"&&fe.markLayoutEffectsStopped()}finally{rt=o,st.p=r,L.T=s}}Wt=F0}}function Gx(){if(Wt===Dj||Wt===F0){Wt=oi,aE();var e=ao,t=Na,n=lo,s=Y0,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?Wt=rh:(Wt=oi,Na=ao=null,$x(e,e.pendingLanes),ii=0,pc=null);var o=e.pendingLanes;if(o===0&&(io=null),r||Kx(e),r=Pn(n),t=t.stateNode,en&&typeof en.onCommitFiberRoot=="function")try{var u=(t.current.flags&128)===128;switch(r){case Wn:var m=cp;break;case Bs:m=up;break;case mr:m=Yi;break;case Bu:m=dp;break;default:m=Yi}en.onCommitFiberRoot(Gi,t,m,u)}catch(q){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",q))}if(bs&&e.memoizedUpdaters.clear(),aS(),s!==null){u=L.T,m=st.p,st.p=Wn,L.T=null;try{var b=e.onRecoverableError;for(t=0;t<s.length;t++){var v=s[t],P=mS(v.stack);Ue(v.source,b,v.value,P)}}finally{L.T=u,st.p=m}}(lo&3)!==0&&jl(),Ps(e),o=e.pendingLanes,(n&4194090)!==0&&(o&42)!==0?(Wu=!0,e===ah?fc++:(fc=0,ah=e)):fc=0,Tl(0),he()}}function mS(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function $x(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,dl(t)))}function jl(e){return Fx(),Yx(),Gx(),Ix()}function Ix(){if(Wt!==rh)return!1;var e=ao,t=oh;oh=0;var n=Pn(lo),s=mr>n?mr:n;n=L.T;var r=st.p;try{st.p=s,L.T=null,s=ih,ih=null;var o=ao,u=lo;if(Wt=oi,Na=ao=null,lo=0,(rt&(pn|Ns))!==$n)throw Error("Cannot flush passive effects while already rendering.");lh=!0,dd=!1,fe!==null&&typeof fe.markPassiveEffectsStarted=="function"&&fe.markPassiveEffectsStarted(u);var m=rt;if(rt|=Ns,Ux(o.current),jx(o,o.current,u,s),fe!==null&&typeof fe.markPassiveEffectsStopped=="function"&&fe.markPassiveEffectsStopped(),Kx(o),rt=m,Tl(0,!1),dd?o===pc?ii++:(ii=0,pc=o):ii=0,dd=lh=!1,en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(Gi,o)}catch(v){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",v))}var b=o.current.stateNode;return b.effectDuration=0,b.passiveEffectDuration=0,!0}finally{st.p=r,L.T=n,$x(e,t)}}function Qx(e,t,n){t=Bn(n,t),t=rf(e.stateNode,t,2),e=Br(e,t,2),e!==null&&(ln(e,2),Ps(e))}function ut(e,t,n){if(wa=!1,e.tag===3)Qx(e,e,n);else{for(;t!==null;){if(t.tag===3){Qx(t,e,n);return}if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(io===null||!io.has(s))){e=Bn(n,e),n=of(2),s=Br(t,n,2),s!==null&&(af(n,s,t,e),ln(s,2),Ps(s));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
195
|
-
|
|
196
|
-
Error message:
|
|
197
|
-
|
|
198
|
-
%s`,n)}}function Uf(e,t,n){var s=e.pingCache;if(s===null){s=e.pingCache=new wj;var r=new Set;s.set(t,r)}else r=s.get(t),r===void 0&&(r=new Set,s.set(t,r));r.has(n)||(th=!0,r.add(n),s=fS.bind(null,e,t,n),bs&&Dl(e,n),t.then(s,s))}function fS(e,t,n){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ax()&&L.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
199
|
-
|
|
200
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
201
|
-
|
|
202
|
-
act(() => {
|
|
203
|
-
/* finish loading suspended data */
|
|
204
|
-
});
|
|
205
|
-
/* assert on the output */
|
|
206
|
-
|
|
207
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ft===e&&(Ze&n)===n&&(Tt===ti||Tt===Jp&&(Ze&62914560)===Ze&&zs()-sh<H0?(rt&pn)===$n&&ki(e,0):nh|=n,ri===Ze&&(ri=0)),Ps(e)}function Xx(e,t){t===0&&(t=Js()),e=wn(e,t),e!==null&&(ln(e,t),Ps(e))}function pS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xx(e,n)}function hS(e,t){var n=0;switch(e.tag){case 13:var s=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}s!==null&&s.delete(t),Xx(e,n)}function Cf(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var s=e,r=t,o=r.type===Pu;o=n||o,r.tag!==22?r.flags&67108864?o&&Ue(r,Zx,s,r,(r.mode&Py)===ht):Cf(s,r,o):r.memoizedState===null&&(o&&r.flags&8192?Ue(r,Zx,s,r):r.subtreeFlags&67108864&&Ue(r,Cf,s,r,o)),t=t.sibling}}function Zx(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;ve(!0);try{Sx(t),n&&Cx(t),Ex(e,t.alternate,t,!1),n&&Dx(e,t,0,null,!1,0)}finally{ve(!1)}}function Kx(e){var t=!0;e.current.mode&(nn|gs)||(t=!1),Cf(e,e.current,t)}function Jx(e){if((rt&pn)===$n){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=K(e)||"ReactComponent",md!==null){if(md.has(t))return;md.add(t)}else md=new Set([t]);Ue(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Dl(e,t){bs&&e.memoizedUpdaters.forEach(function(n){Mr(e,n,t)})}function bS(e,t){var n=L.actQueue;return n!==null?(n.push(t),Uj):lp(e,t)}function gS(e){Ax()&&L.actQueue===null&&Ue(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
208
|
-
|
|
209
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
210
|
-
|
|
211
|
-
act(() => {
|
|
212
|
-
/* fire events that update state */
|
|
213
|
-
});
|
|
214
|
-
/* assert on the output */
|
|
215
|
-
|
|
216
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,K(e))})}function Ps(e){e!==Sa&&e.next===null&&(Sa===null?fd=Sa=e:Sa=Sa.next=e),pd=!0,L.actQueue!==null?uh||(uh=!0,nv()):ch||(ch=!0,nv())}function Tl(e,t){if(!dh&&pd){dh=!0;do for(var n=!1,s=fd;s!==null;){if(e!==0){var r=s.pendingLanes;if(r===0)var o=0;else{var u=s.suspendedLanes,m=s.pingedLanes;o=(1<<31-cn(42|e)+1)-1,o&=r&~(u&~m),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,tv(s,o))}else o=Ze,o=an(s,s===ft?o:0,s.cancelPendingCommit!==null||s.timeoutHandle!==ci),(o&3)===0||ms(s,o)||(n=!0,tv(s,o));s=s.next}while(n);dh=!1}}function xS(){Rf()}function Rf(){pd=uh=ch=!1;var e=0;ai!==0&&(SS()&&(e=ai),ai=0);for(var t=zs(),n=null,s=fd;s!==null;){var r=s.next,o=Wx(s,t);o===0?(s.next=null,n===null?fd=r:n.next=r,r===null&&(Sa=n)):(n=s,(e!==0||(o&3)!==0)&&(pd=!0)),s=r}Tl(e)}function Wx(e,t){for(var n=e.suspendedLanes,s=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var u=31-cn(o),m=1<<u,b=r[u];b===-1?((m&n)===0||(m&s)!==0)&&(r[u]=Mn(m,t)):b<=t&&(e.expiredLanes|=m),o&=~m}if(t=ft,n=Ze,n=an(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ci),s=e.callbackNode,n===0||e===t&&(at===ni||at===si)||e.cancelPendingCommit!==null)return s!==null&&Af(s),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ms(e,n)){if(t=n&-n,t!==e.callbackPriority||L.actQueue!==null&&s!==mh)Af(s);else return t;switch(Pn(n)){case Wn:case Bs:n=up;break;case mr:n=Yi;break;case Bu:n=dp;break;default:n=Yi}return s=ev.bind(null,e),L.actQueue!==null?(L.actQueue.push(s),n=mh):n=lp(n,s),e.callbackPriority=t,e.callbackNode=n,t}return s!==null&&Af(s),e.callbackPriority=2,e.callbackNode=null,2}function ev(e,t){if(Wu=Ju=!1,Wt!==oi&&Wt!==rh)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(jl()&&e.callbackNode!==n)return null;var s=Ze;return s=an(e,e===ft?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ci),s===0?null:(Mx(e,s,t),Wx(e,zs()),e.callbackNode!=null&&e.callbackNode===n?ev.bind(null,e):null)}function tv(e,t){if(jl())return null;Ju=Wu,Wu=!1,Mx(e,t,!0)}function Af(e){e!==mh&&e!==null&&oE(e)}function nv(){L.actQueue!==null&&L.actQueue.push(function(){return Rf(),null}),Hj(function(){(rt&(pn|Ns))!==$n?lp(cp,xS):Rf()})}function Vf(){return ai===0&&(ai=Le()),ai}function sv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Z(e,"action"),rl(""+e))}function rv(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function vS(e,t,n,s,r){if(t==="submit"&&n&&n.stateNode===r){var o=sv((r[jn]||null).action),u=s.submitter;u&&(t=(t=u[jn]||null)?sv(t.formAction):u.getAttribute("formAction"),t!==null&&(o=t,u=null));var m=new Gu("action","action",null,s,r);e.push({event:m,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(ai!==0){var b=u?rv(r,u):new FormData(r),v={pending:!0,data:b,method:r.method,action:o};Object.freeze(v),Km(n,v,null,b)}}else typeof o=="function"&&(m.preventDefault(),b=u?rv(r,u):new FormData(r),v={pending:!0,data:b,method:r.method,action:o},Object.freeze(v),Km(n,v,o,b))},currentTarget:r}]})}}function Eu(e,t,n){e.currentTarget=n;try{t(e)}catch(s){Ip(s)}e.currentTarget=null}function ov(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var s=e[n];e:{var r=void 0,o=s.event;if(s=s.listeners,t)for(var u=s.length-1;0<=u;u--){var m=s[u],b=m.instance,v=m.currentTarget;if(m=m.listener,b!==r&&o.isPropagationStopped())break e;b!==null?Ue(b,Eu,o,m,v):Eu(o,m,v),r=b}else for(u=0;u<s.length;u++){if(m=s[u],b=m.instance,v=m.currentTarget,m=m.listener,b!==r&&o.isPropagationStopped())break e;b!==null?Ue(b,Eu,o,m,v):Eu(o,m,v),r=b}}}}function Ke(e,t){fh.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[mp];n===void 0&&(n=t[mp]=new Set);var s=e+"__bubble";n.has(s)||(iv(t,e,2,!1),n.add(s))}function Mf(e,t,n){fh.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var s=0;t&&(s|=4),iv(n,e,s,t)}function Pf(e){if(!e[hd]){e[hd]=!0,Fv.forEach(function(n){n!=="selectionchange"&&(fh.has(n)||Mf(n,!1,e),Mf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hd]||(t[hd]=!0,Mf("selectionchange",!1,t))}}function iv(e,t,n,s){switch(Pv(t)){case Wn:var r=XS;break;case Bs:r=ZS;break;default:r=Zf}n=r.bind(null,t,n,e),r=void 0,!yp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),s?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Of(e,t,n,s,r){var o=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var u=s.tag;if(u===3||u===4){var m=s.stateNode.containerInfo;if(m===r)break;if(u===4)for(u=s.return;u!==null;){var b=u.tag;if((b===3||b===4)&&u.stateNode.containerInfo===r)return;u=u.return}for(;m!==null;){if(u=kn(m),u===null)return;if(b=u.tag,b===5||b===6||b===26||b===27){s=o=u;continue e}m=m.parentNode}}s=s.return}Ab(function(){var v=o,P=am(n),q=[];e:{var M=My.get(e);if(M!==void 0){var G=Gu,ye=e;switch(e){case"keypress":if(Bc(n)===0)break e;case"keydown":case"keyup":G=$E;break;case"focusin":ye="focus",G=Ep;break;case"focusout":ye="blur",G=Ep;break;case"beforeblur":case"afterblur":G=Ep;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=yy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=ME;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=XE;break;case Cy:case Ry:case Ay:G=kE;break;case Vy:G=KE;break;case"scroll":case"scrollend":G=AE;break;case"wheel":G=WE;break;case"copy":case"cut":case"paste":G=HE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=wy;break;case"toggle":case"beforetoggle":G=tj}var Re=(t&4)!==0,pt=!Re&&(e==="scroll"||e==="scrollend"),Je=Re?M!==null?M+"Capture":null:M;Re=[];for(var S=v,E;S!==null;){var U=S;if(E=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||E===null||Je===null||(U=ol(S,Je),U!=null&&Re.push(_l(S,U,E))),pt)break;S=S.return}0<Re.length&&(M=new G(M,ye,null,n,P),q.push({event:M,listeners:Re}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",M&&n!==zl&&(ye=n.relatedTarget||n.fromElement)&&(kn(ye)||ye[Kr]))break e;if((G||M)&&(M=P.window===P?P:(M=P.ownerDocument)?M.defaultView||M.parentWindow:window,G?(ye=n.relatedTarget||n.toElement,G=v,ye=ye?kn(ye):null,ye!==null&&(pt=Q(ye),Re=ye.tag,ye!==pt||Re!==5&&Re!==27&&Re!==6)&&(ye=null)):(G=null,ye=v),G!==ye)){if(Re=yy,U="onMouseLeave",Je="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(Re=wy,U="onPointerLeave",Je="onPointerEnter",S="pointer"),pt=G==null?M:fs(G),E=ye==null?M:fs(ye),M=new Re(U,S+"leave",G,n,P),M.target=pt,M.relatedTarget=E,U=null,kn(P)===v&&(Re=new Re(Je,S+"enter",ye,n,P),Re.target=E,Re.relatedTarget=pt,U=Re),pt=U,G&&ye)t:{for(Re=G,Je=ye,S=0,E=Re;E;E=Hi(E))S++;for(E=0,U=Je;U;U=Hi(U))E++;for(;0<S-E;)Re=Hi(Re),S--;for(;0<E-S;)Je=Hi(Je),E--;for(;S--;){if(Re===Je||Je!==null&&Re===Je.alternate)break t;Re=Hi(Re),Je=Hi(Je)}Re=null}else Re=null;G!==null&&av(q,M,G,Re,!1),ye!==null&&pt!==null&&av(q,pt,ye,Re,!0)}}e:{if(M=v?fs(v):window,G=M.nodeName&&M.nodeName.toLowerCase(),G==="select"||G==="input"&&M.type==="file")var $=Hb;else if(kb(M))if(_y)$=Hw;else{$=kw;var le=Ow}else G=M.nodeName,!G||G.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?v&&sl(v.elementType)&&($=Hb):$=zw;if($&&($=$(e,v))){zb(q,$,n,P);break e}le&&le(e,M,v),e==="focusout"&&v&&M.type==="number"&&v.memoizedProps.value!=null&&tm(M,"number",M.value)}switch(le=v?fs(v):window,e){case"focusin":(kb(le)||le.contentEditable==="true")&&(Ji=le,Dp=v,Gl=null);break;case"focusout":Gl=Dp=Ji=null;break;case"mousedown":Tp=!0;break;case"contextmenu":case"mouseup":case"dragend":Tp=!1,$b(q,n,P);break;case"selectionchange":if(oj)break;case"keydown":case"keyup":$b(q,n,P)}var Me;if(jp)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else Ki?Pb(e,n)&&(Ne="onCompositionEnd"):e==="keydown"&&n.keyCode===Sy&&(Ne="onCompositionStart");Ne&&(Ey&&n.locale!=="ko"&&(Ki||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&Ki&&(Me=Vb()):(Jr=P,Np="value"in Jr?Jr.value:Jr.textContent,Ki=!0)),le=ju(v,Ne),0<le.length&&(Ne=new Ny(Ne,e,null,n,P),q.push({event:Ne,listeners:le}),Me?Ne.data=Me:(Me=Ob(n),Me!==null&&(Ne.data=Me)))),(Me=sj?Aw(e,n):Vw(e,n))&&(Ne=ju(v,"onBeforeInput"),0<Ne.length&&(le=new LE("onBeforeInput","beforeinput",null,n,P),q.push({event:le,listeners:Ne}),le.data=Me)),vS(q,e,v,n,P)}ov(q,t)})}function _l(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ju(e,t){for(var n=t+"Capture",s=[];e!==null;){var r=e,o=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||o===null||(r=ol(e,n),r!=null&&s.unshift(_l(e,r,o)),r=ol(e,t),r!=null&&s.push(_l(e,r,o))),e.tag===3)return s;e=e.return}return[]}function Hi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function av(e,t,n,s,r){for(var o=t._reactName,u=[];n!==null&&n!==s;){var m=n,b=m.alternate,v=m.stateNode;if(m=m.tag,b!==null&&b===s)break;m!==5&&m!==26&&m!==27||v===null||(b=v,r?(v=ol(n,o),v!=null&&u.unshift(_l(n,v,b))):r||(v=ol(n,o),v!=null&&u.push(_l(n,v,b)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function kf(e,t){_w(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||xy||(xy=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:$o,possibleRegistrationNames:fp};sl(e)||typeof t.is=="string"||Cw(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Yt(e,t,n,s){t!==n&&(n=Gr(n),Gr(t)!==n&&(s[e]=t))}function yS(e,t,n){t.forEach(function(s){n[uv(s)]=s==="style"?Hf(e):e.getAttribute(s)})}function Os(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function lv(e,t){return e=e.namespaceURI===qu||e.namespaceURI===Ii?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Gr(e){return w(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",ae(e)),F(e)),(typeof e=="string"?e:""+e).replace(Cj,`
|
|
217
|
-
`).replace(Rj,"")}function cv(e,t){return t=Gr(t),Gr(e)===t}function Du(){}function dt(e,t,n,s,r,o){switch(n){case"children":typeof s=="string"?(Hc(s,t,!1),t==="body"||t==="textarea"&&s===""||nl(e,s)):(typeof s=="number"||typeof s=="bigint")&&(Hc(""+s,t,!1),t!=="body"&&nl(e,""+s));break;case"className":Te(e,"class",s);break;case"tabIndex":Te(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Te(e,n,s);break;case"style":Ub(e,s,o);break;case"data":if(t!=="object"){Te(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}Z(s,n),s=rl(""+s),e.setAttribute(n,s);break;case"action":case"formAction":if(s!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof s=="function"&&(r.encType==null&&r.method==null||xd||(xd=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),r.target==null||gd||(gd=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||bd?t!=="button"||r.type==null||r.type==="submit"||bd?typeof s=="function"&&(r.name==null||X0||(X0=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),r.formEncType==null&&r.formMethod==null||xd||(xd=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),r.formTarget==null||gd||(gd=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(bd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(bd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof s=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof o=="function"&&(n==="formAction"?(t!=="input"&&dt(e,t,"name",r.name,r,null),dt(e,t,"formEncType",r.formEncType,r,null),dt(e,t,"formMethod",r.formMethod,r,null),dt(e,t,"formTarget",r.formTarget,r,null)):(dt(e,t,"encType",r.encType,r,null),dt(e,t,"method",r.method,r,null),dt(e,t,"target",r.target,r,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(n);break}Z(s,n),s=rl(""+s),e.setAttribute(n,s);break;case"onClick":s!=null&&(typeof s!="function"&&Os(n,s),e.onclick=Du);break;case"onScroll":s!=null&&(typeof s!="function"&&Os(n,s),Ke("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&Os(n,s),Ke("scrollend",e));break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=s.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}Z(s,n),n=rl(""+s),e.setAttributeNS(li,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?(Z(s,n),e.setAttribute(n,""+s)):e.removeAttribute(n);break;case"inert":s!==""||vd[n]||(vd[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));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":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":s===!0?e.setAttribute(n,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?(Z(s,n),e.setAttribute(n,s)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?(Z(s,n),e.setAttribute(n,s)):e.removeAttribute(n);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(n):(Z(s,n),e.setAttribute(n,s));break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),me(e,"popover",s);break;case"xlinkActuate":We(e,li,"xlink:actuate",s);break;case"xlinkArcrole":We(e,li,"xlink:arcrole",s);break;case"xlinkRole":We(e,li,"xlink:role",s);break;case"xlinkShow":We(e,li,"xlink:show",s);break;case"xlinkTitle":We(e,li,"xlink:title",s);break;case"xlinkType":We(e,li,"xlink:type",s);break;case"xmlBase":We(e,ph,"xml:base",s);break;case"xmlLang":We(e,ph,"xml:lang",s);break;case"xmlSpace":We(e,ph,"xml:space",s);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),me(e,"is",s);break;case"innerText":case"textContent":break;case"popoverTarget":Z0||s==null||typeof s!="object"||(Z0=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",s));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Cb(n),me(e,n,s)):$o.hasOwnProperty(n)&&s!=null&&typeof s!="function"&&Os(n,s)}}function zf(e,t,n,s,r,o){switch(n){case"style":Ub(e,s,o);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=s.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof s=="string"?nl(e,s):(typeof s=="number"||typeof s=="bigint")&&nl(e,""+s);break;case"onScroll":s!=null&&(typeof s!="function"&&Os(n,s),Ke("scroll",e));break;case"onScrollEnd":s!=null&&(typeof s!="function"&&Os(n,s),Ke("scrollend",e));break;case"onClick":s!=null&&(typeof s!="function"&&Os(n,s),e.onclick=Du);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if($o.hasOwnProperty(n))s!=null&&typeof s!="function"&&Os(n,s);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),o=e[jn]||null,o=o!=null?o[n]:null,typeof o=="function"&&e.removeEventListener(t,o,r),typeof s=="function")){typeof o!="function"&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,s,r);break e}n in e?e[n]=s:s===!0?e.setAttribute(n,""):me(e,n,s)}}}function Xt(e,t,n){switch(kf(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var s=!1,r=!1,o;for(o in n)if(n.hasOwnProperty(o)){var u=n[o];if(u!=null)switch(o){case"src":s=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,o,u,n,null)}}r&&dt(e,t,"srcSet",n.srcSet,n,null),s&&dt(e,t,"src",n.src,n,null);return;case"input":je("input",n),Ke("invalid",e);var m=o=u=r=null,b=null,v=null;for(s in n)if(n.hasOwnProperty(s)){var P=n[s];if(P!=null)switch(s){case"name":r=P;break;case"type":u=P;break;case"checked":b=P;break;case"defaultChecked":v=P;break;case"value":o=P;break;case"defaultValue":m=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,s,P,n,null)}}fb(e,n),pb(e,o,m,b,v,u,r,!1),Oc(e);return;case"select":je("select",n),Ke("invalid",e),s=u=o=null;for(r in n)if(n.hasOwnProperty(r)&&(m=n[r],m!=null))switch(r){case"value":o=m;break;case"defaultValue":u=m;break;case"multiple":s=m;default:dt(e,t,r,m,n,null)}gb(e,n),t=o,n=u,e.multiple=!!s,t!=null?Di(e,!!s,t,!1):n!=null&&Di(e,!!s,n,!0);return;case"textarea":je("textarea",n),Ke("invalid",e),o=r=s=null;for(u in n)if(n.hasOwnProperty(u)&&(m=n[u],m!=null))switch(u){case"value":s=m;break;case"defaultValue":r=m;break;case"children":o=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:dt(e,t,u,m,n,null)}xb(e,n),yb(e,s,r,o),Oc(e);return;case"option":hb(e,n);for(b in n)if(n.hasOwnProperty(b)&&(s=n[b],s!=null))switch(b){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:dt(e,t,b,s,n,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(s=0;s<hc.length;s++)Ke(hc[s],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("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(v in n)if(n.hasOwnProperty(v)&&(s=n[v],s!=null))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:dt(e,t,v,s,n,null)}return;default:if(sl(t)){for(P in n)n.hasOwnProperty(P)&&(s=n[P],s!==void 0&&zf(e,t,P,s,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(s=n[m],s!=null&&dt(e,t,m,s,n,null))}function NS(e,t,n,s){switch(kf(t,s),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,u=null,m=null,b=null,v=null,P=null;for(G in n){var q=n[G];if(n.hasOwnProperty(G)&&q!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":b=q;default:s.hasOwnProperty(G)||dt(e,t,G,null,s,q)}}for(var M in s){var G=s[M];if(q=n[M],s.hasOwnProperty(M)&&(G!=null||q!=null))switch(M){case"type":o=G;break;case"name":r=G;break;case"checked":v=G;break;case"defaultChecked":P=G;break;case"value":u=G;break;case"defaultValue":m=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G!==q&&dt(e,t,M,G,s,q)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,s=s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null,t||!s||Q0||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),Q0=!0),!t||s||I0||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),I0=!0),em(e,u,m,b,v,P,o,r);return;case"select":G=u=m=M=null;for(o in n)if(b=n[o],n.hasOwnProperty(o)&&b!=null)switch(o){case"value":break;case"multiple":G=b;default:s.hasOwnProperty(o)||dt(e,t,o,null,s,b)}for(r in s)if(o=s[r],b=n[r],s.hasOwnProperty(r)&&(o!=null||b!=null))switch(r){case"value":M=o;break;case"defaultValue":m=o;break;case"multiple":u=o;default:o!==b&&dt(e,t,r,o,s,b)}s=m,t=u,n=G,M!=null?Di(e,!!t,M,!1):!!n!=!!t&&(s!=null?Di(e,!!t,s,!0):Di(e,!!t,t?[]:"",!1));return;case"textarea":G=M=null;for(m in n)if(r=n[m],n.hasOwnProperty(m)&&r!=null&&!s.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:dt(e,t,m,null,s,r)}for(u in s)if(r=s[u],o=n[u],s.hasOwnProperty(u)&&(r!=null||o!=null))switch(u){case"value":M=r;break;case"defaultValue":G=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==o&&dt(e,t,u,r,s,o)}vb(e,M,G);return;case"option":for(var ye in n)if(M=n[ye],n.hasOwnProperty(ye)&&M!=null&&!s.hasOwnProperty(ye))switch(ye){case"selected":e.selected=!1;break;default:dt(e,t,ye,null,s,M)}for(b in s)if(M=s[b],G=n[b],s.hasOwnProperty(b)&&M!==G&&(M!=null||G!=null))switch(b){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:dt(e,t,b,M,s,G)}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 Re in n)M=n[Re],n.hasOwnProperty(Re)&&M!=null&&!s.hasOwnProperty(Re)&&dt(e,t,Re,null,s,M);for(v in s)if(M=s[v],G=n[v],s.hasOwnProperty(v)&&M!==G&&(M!=null||G!=null))switch(v){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:dt(e,t,v,M,s,G)}return;default:if(sl(t)){for(var pt in n)M=n[pt],n.hasOwnProperty(pt)&&M!==void 0&&!s.hasOwnProperty(pt)&&zf(e,t,pt,void 0,s,M);for(P in s)M=s[P],G=n[P],!s.hasOwnProperty(P)||M===G||M===void 0&&G===void 0||zf(e,t,P,M,s,G);return}}for(var Je in n)M=n[Je],n.hasOwnProperty(Je)&&M!=null&&!s.hasOwnProperty(Je)&&dt(e,t,Je,null,s,M);for(q in s)M=s[q],G=n[q],!s.hasOwnProperty(q)||M===G||M==null&&G==null||dt(e,t,q,M,s,G)}function uv(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Hf(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var s=e[n];t[s]=e.getPropertyValue(s)}return t}function dv(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var s,r=s="",o;for(o in t)if(t.hasOwnProperty(o)){var u=t[o];u!=null&&typeof u!="boolean"&&u!==""&&(o.indexOf("--")===0?(oe(u,o),s+=r+o+":"+(""+u).trim()):typeof u!="number"||u===0||by.has(o)?(oe(u,o),s+=r+o.replace(dy,"-$1").toLowerCase().replace(my,"-ms-")+":"+(""+u).trim()):s+=r+o.replace(dy,"-$1").toLowerCase().replace(my,"-ms-")+":"+u+"px",r=";")}s=s||null,t=e.getAttribute("style"),t!==s&&(s=Gr(s),Gr(t)!==s&&(n.style=Hf(e)))}}function Kn(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(Z(s,t),e===""+s)return}Yt(t,e,s,o)}function mv(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof s){case"function":case"symbol":return}if(!s)return}else switch(typeof s){case"function":case"symbol":break;default:if(s)return}Yt(t,e,s,o)}function Bf(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":return}else if(s!=null)switch(typeof s){case"function":case"symbol":break;default:if(Z(s,n),e===""+s)return}Yt(t,e,s,o)}function fv(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(s))return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(!isNaN(s)&&(Z(s,t),e===""+s))return}Yt(t,e,s,o)}function Lf(e,t,n,s,r,o){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":return}else if(s!=null)switch(typeof s){case"function":case"symbol":case"boolean":break;default:if(Z(s,t),n=rl(""+s),e===n)return}Yt(t,e,s,o)}function pv(e,t,n,s){for(var r={},o=new Set,u=e.attributes,m=0;m<u.length;m++)switch(u[m].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(u[m].name)}if(sl(t)){for(var b in n)if(n.hasOwnProperty(b)){var v=n[b];if(v!=null){if($o.hasOwnProperty(b))typeof v!="function"&&Os(b,v);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof v!="string"&&typeof v!="number"||Yt("children",e.textContent,v,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,v=v?v.__html:void 0,v!=null&&(v=lv(e,v),Yt(b,u,v,r));continue;case"style":o.delete(b),dv(e,v,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":o.delete(b.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",b);continue;case"className":o.delete("class"),u=Ve(e,"class",v),Yt("className",u,v,r);continue;default:s.context===wr&&t!=="svg"&&t!=="math"?o.delete(b.toLowerCase()):o.delete(b),u=Ve(e,b,v),Yt(b,u,v,r)}}}}else for(v in n)if(n.hasOwnProperty(v)&&(b=n[v],b!=null)){if($o.hasOwnProperty(v))typeof b!="function"&&Os(v,b);else if(n.suppressHydrationWarning!==!0)switch(v){case"children":typeof b!="string"&&typeof b!="number"||Yt("children",e.textContent,b,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=lv(e,b),u!==b&&(r[v]={__html:u}));continue;case"className":Kn(e,v,"class",b,o,r);continue;case"tabIndex":Kn(e,v,"tabindex",b,o,r);continue;case"style":o.delete(v),dv(e,b,r);continue;case"multiple":o.delete(v),Yt(v,e.multiple,b,r);continue;case"muted":o.delete(v),Yt(v,e.muted,b,r);continue;case"autoFocus":o.delete("autofocus"),Yt(v,e.autofocus,b,r);continue;case"data":if(t!=="object"){o.delete(v),u=e.getAttribute("data"),Yt(v,u,b,r);continue}case"src":case"href":if(!(b!==""||t==="a"&&v==="href"||t==="object"&&v==="data")){console.error(v==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',v,v);continue}Lf(e,v,v,b,o,r);continue;case"action":case"formAction":if(u=e.getAttribute(v),typeof b=="function"){o.delete(v.toLowerCase()),v==="formAction"?(o.delete("name"),o.delete("formenctype"),o.delete("formmethod"),o.delete("formtarget")):(o.delete("enctype"),o.delete("method"),o.delete("target"));continue}else if(u===Aj){o.delete(v.toLowerCase()),Yt(v,"function",b,r);continue}Lf(e,v,v.toLowerCase(),b,o,r);continue;case"xlinkHref":Lf(e,v,"xlink:href",b,o,r);continue;case"contentEditable":Bf(e,v,"contenteditable",b,o,r);continue;case"spellCheck":Bf(e,v,"spellcheck",b,o,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Bf(e,v,v,b,o,r);continue;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":mv(e,v,v.toLowerCase(),b,o,r);continue;case"capture":case"download":e:{m=e;var P=u=v,q=r;if(o.delete(P),m=m.getAttribute(P),m===null)switch(typeof b){case"undefined":case"function":case"symbol":break e;default:if(b===!1)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":break;case"boolean":if(b===!0&&m==="")break e;break;default:if(Z(b,u),m===""+b)break e}Yt(u,m,b,q)}continue;case"cols":case"rows":case"size":case"span":e:{if(m=e,P=u=v,q=r,o.delete(P),m=m.getAttribute(P),m===null)switch(typeof b){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(b)||1>b)break e}else if(b!=null)switch(typeof b){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(b)||1>b)&&(Z(b,u),m===""+b))break e}Yt(u,m,b,q)}continue;case"rowSpan":fv(e,v,"rowspan",b,o,r);continue;case"start":fv(e,v,v,b,o,r);continue;case"xHeight":Kn(e,v,"x-height",b,o,r);continue;case"xlinkActuate":Kn(e,v,"xlink:actuate",b,o,r);continue;case"xlinkArcrole":Kn(e,v,"xlink:arcrole",b,o,r);continue;case"xlinkRole":Kn(e,v,"xlink:role",b,o,r);continue;case"xlinkShow":Kn(e,v,"xlink:show",b,o,r);continue;case"xlinkTitle":Kn(e,v,"xlink:title",b,o,r);continue;case"xlinkType":Kn(e,v,"xlink:type",b,o,r);continue;case"xmlBase":Kn(e,v,"xml:base",b,o,r);continue;case"xmlLang":Kn(e,v,"xml:lang",b,o,r);continue;case"xmlSpace":Kn(e,v,"xml:space",b,o,r);continue;case"inert":b!==""||vd[v]||(vd[v]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",v)),mv(e,v,v,b,o,r);continue;default:if(!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N"){m=Cb(v),u=!1,s.context===wr&&t!=="svg"&&t!=="math"?o.delete(m.toLowerCase()):(P=v.toLowerCase(),P=Fu.hasOwnProperty(P)&&Fu[P]||null,P!==null&&P!==v&&(u=!0,o.delete(P)),o.delete(m));e:if(P=e,q=m,m=b,ke(q))if(P.hasAttribute(q))P=P.getAttribute(q),Z(m,q),m=P===""+m?m:P;else{switch(typeof m){case"function":case"symbol":break e;case"boolean":if(P=q.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")break e}m=m===void 0?void 0:null}else m=void 0;u||Yt(v,m,b,r)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&yS(e,o,r),Object.keys(r).length===0?null:r}function wS(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Tu(e){return e.nodeType===9?e:e.ownerDocument}function hv(e){switch(e){case Ii:return Ea;case qu:return wd;default:return wr}}function bv(e,t){if(e===wr)switch(t){case"svg":return Ea;case"math":return wd;default:return wr}return e===Ea&&t==="foreignObject"?wr:e}function qf(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}function SS(){var e=window.event;return e&&e.type==="popstate"?e===xh?!1:(xh=e,!0):(xh=null,!1)}function ES(e){setTimeout(function(){throw e})}function jS(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function DS(e,t,n,s){NS(e,t,n,s),e[jn]=s}function gv(e){nl(e,"")}function TS(e,t,n){e.nodeValue=n}function $r(e){return e==="head"}function _S(e,t){e.removeChild(t)}function US(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function xv(e,t){var n=t,s=0,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===Nd){if(0<s&&8>s){n=s;var u=e.ownerDocument;if(n&Mj&&Ul(u.documentElement),n&Pj&&Ul(u.body),n&Oj)for(n=u.head,Ul(n),u=n.firstChild;u;){var m=u.nextSibling,b=u.nodeName;u[Ol]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=m}}if(r===0){e.removeChild(o),Vl(t);return}r--}else n===yd||n===Nr||n===bc?r++:s=n.charCodeAt(0)-48;else s=0;n=o}while(n);Vl(t)}function CS(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function RS(e){e.nodeValue=""}function AS(e,t){t=t[kj],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function VS(e,t){e.nodeValue=t}function Ff(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ff(n),_s(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function MS(e,t,n,s){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Ol])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Z(r.name,"name");var o=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function PS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function Yf(e){return e.data===bc||e.data===Nr&&e.ownerDocument.readyState===J0}function OS(e,t){var n=e.ownerDocument;if(e.data!==Nr||n.readyState===J0)t();else{var s=function(){t(),n.removeEventListener("DOMContentLoaded",s)};n.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Jn(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===yd||t===bc||t===Nr||t===hh||t===K0)break;if(t===Nd)return null}}return e}function vv(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},s=e.attributes,r=0;r<s.length;r++){var o=s[r];n[uv(o.name)]=o.name.toLowerCase()==="style"?Hf(e):o.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function yv(e,t,n){return n===null||n[Vj]!==!0?(e.nodeValue===t?e=null:(t=Gr(t),e=Gr(e.nodeValue)===t?null:e.nodeValue),e):null}function Nv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Nd){if(t===0)return Jn(e.nextSibling);t--}else n!==yd&&n!==bc&&n!==Nr||t++}e=e.nextSibling}return null}function wv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===yd||n===bc||n===Nr){if(t===0)return e;t--}else n===Nd&&t++}e=e.previousSibling}return null}function kS(e){Vl(e)}function zS(e){Vl(e)}function Sv(e,t,n,s,r){switch(r&&im(e,s.ancestorInfo),t=Tu(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function HS(e,t,n,s){if(!n[Kr]&&vn(n)){var r=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",r,r,r)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Xt(n,e,t),n[tn]=s,n[jn]=t}function Ul(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);_s(e)}function _u(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ev(e,t,n){var s=ja;if(s&&typeof t=="string"&&t){var r=Zn(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),rN.has(r)||(rN.add(r),e={rel:e,crossOrigin:n,href:t},s.querySelector(r)===null&&(t=s.createElement("link"),Xt(t,"link",e),R(t),s.head.appendChild(t)))}}function jv(e,t,n,s){var r=(r=Xr.current)?_u(r):null;if(!r)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=Bi(n.href),t=h(r).hoistableStyles,s=t.get(n),s||(s={type:"style",instance:null,count:0,state:null},t.set(n,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Bi(n.href);var o=h(r).hoistableStyles,u=o.get(e);if(!u&&(r=r.ownerDocument||r,u={type:"stylesheet",instance:null,count:0,state:{loading:ui,preload:null}},o.set(e,u),(o=r.querySelector(Cl(e)))&&!o._p&&(u.instance=o,u.state.loading=gc|cs),!us.has(e))){var m={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};us.set(e,m),o||BS(r,e,m,u.state)}if(t&&s===null)throw n=`
|
|
218
|
-
|
|
219
|
-
- `+Uu(t)+`
|
|
220
|
-
+ `+Uu(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return u}if(t&&s!==null)throw n=`
|
|
221
|
-
|
|
222
|
-
- `+Uu(t)+`
|
|
223
|
-
+ `+Uu(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Li(n),t=h(r).hoistableScripts,s=t.get(n),s||(s={type:"script",instance:null,count:0,state:null},t.set(n,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Uu(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):dr.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):dr.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):dr.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Bi(e){return'href="'+Zn(e)+'"'}function Cl(e){return'link[rel="stylesheet"]['+e+"]"}function Dv(e){return Fe({},e,{"data-precedence":e.precedence,precedence:null})}function BS(e,t,n,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=gc:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=gc}),t.addEventListener("error",function(){return s.loading|=nN}),Xt(t,"link",n),R(t),e.head.appendChild(t))}function Li(e){return'[src="'+Zn(e)+'"]'}function Rl(e){return"script[async]"+e}function Tv(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Zn(n.href)+'"]');if(s)return t.instance=s,R(s),s;var r=Fe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),R(s),Xt(s,"style",r),Cu(s,n.precedence,e),t.instance=s;case"stylesheet":r=Bi(n.href);var o=e.querySelector(Cl(r));if(o)return t.state.loading|=cs,t.instance=o,R(o),o;s=Dv(n),(r=us.get(r))&&Gf(s,r),o=(e.ownerDocument||e).createElement("link"),R(o);var u=o;return u._p=new Promise(function(m,b){u.onload=m,u.onerror=b}),Xt(o,"link",s),t.state.loading|=cs,Cu(o,n.precedence,e),t.instance=o;case"script":return o=Li(n.src),(r=e.querySelector(Rl(o)))?(t.instance=r,R(r),r):(s=n,(r=us.get(o))&&(s=Fe({},n),$f(s,r)),e=e.ownerDocument||e,r=e.createElement("script"),R(r),Xt(r,"link",s),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&cs)===ui&&(s=t.instance,t.state.loading|=cs,Cu(s,n.precedence,e));return t.instance}function Cu(e,t,n){for(var s=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=s.length?s[s.length-1]:null,o=r,u=0;u<s.length;u++){var m=s[u];if(m.dataset.precedence===t)o=m;else if(o!==r)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Gf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function $f(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function _v(e,t,n){if(Sd===null){var s=new Map,r=Sd=new Map;r.set(n,s)}else r=Sd,s=r.get(n),s||(s=new Map,r.set(n,s));if(s.has(e))return s;for(s.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var o=n[r];if(!(o[Ol]||o[tn]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==Ii){var u=o.getAttribute(t)||"";u=e+u;var m=s.get(u);m?m.push(o):s.set(u,[o])}}return s}function Uv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function LS(e,t,n){var s=!n.ancestorInfo.containerTagInScope;if(n.context===Ea||t.itemProp!=null)return!s||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){s&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var r=t.onError,o=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),o!=null&&n.push("`disabled`"),r=wS(n,"and"),r+=n.length===1?" prop":" props",o=n.length===1?"an "+r:"the "+r,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,o,r)}s&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&s&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){s&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":s&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Cv(e){return!(e.type==="stylesheet"&&(e.state.loading&sN)===ui)}function qS(){}function FS(e,t,n){if(xc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var s=xc;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&cs)===ui){if(t.instance===null){var r=Bi(n.href),o=e.querySelector(Cl(r));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(s.count++,s=Ru.bind(s),e.then(s,s)),t.state.loading|=cs,t.instance=o,R(o);return}o=e.ownerDocument||e,n=Dv(n),(r=us.get(r))&&Gf(n,r),o=o.createElement("link"),R(o);var u=o;u._p=new Promise(function(m,b){u.onload=m,u.onerror=b}),Xt(o,"link",n),t.instance=o}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&sN)===ui&&(s.count++,t=Ru.bind(s),e.addEventListener("load",t),e.addEventListener("error",t))}}function YS(){if(xc===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=xc;return e.stylesheets&&e.count===0&&If(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&If(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Ru(){if(this.count--,this.count===0){if(this.stylesheets)If(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function If(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ed=new Map,t.forEach(GS,e),Ed=null,Ru.call(e))}function GS(e,t){if(!(t.state.loading&cs)){var n=Ed.get(e);if(n)var s=n.get(yh);else{n=new Map,Ed.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var u=r[o];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(n.set(u.dataset.precedence,u),s=u)}s&&n.set(yh,s)}r=t.instance,u=r.getAttribute("data-precedence"),o=n.get(u)||s,o===s&&n.set(yh,r),n.set(u,r),this.count++,s=Ru.bind(this),r.addEventListener("load",s),r.addEventListener("error",s),o?o.parentNode.insertBefore(r,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=cs}}function $S(e,t,n,s,r,o,u,m){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ci,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pt(0),this.hiddenUpdates=Pt(null),this.identifierPrefix=s,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Rv(e,t,n,s,r,o,u,m,b,v,P,q){return e=new $S(e,t,n,u,m,b,v,q),t=cj,o===!0&&(t|=nn|gs),bs&&(t|=Kt),o=x(3,null,null,t),e.current=o,o.stateNode=e,t=wm(),Bo(t),e.pooledCache=t,Bo(t),o.memoizedState={element:s,isDehydrated:n,cache:t},Dm(o),e}function Av(e){return e?(e=Wr,e):Wr}function Qf(e,t,n,s,r,o){if(en&&typeof en.onScheduleFiberRoot=="function")try{en.onScheduleFiberRoot(Gi,s,n)}catch(u){Hs||(Hs=!0,console.error("React instrumentation encountered an error: %s",u))}fe!==null&&typeof fe.markRenderScheduled=="function"&&fe.markRenderScheduled(t),r=Av(r),s.context===null?s.context=r:s.pendingContext=r,Ls&&Gn!==null&&!lN&&(lN=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
224
|
-
|
|
225
|
-
Check the render method of %s.`,K(Gn)||"Unknown")),s=Hr(t),s.payload={element:n},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",o),s.callback=o),n=Br(e,s,t),n!==null&&(At(n,e,t),fl(n,e,t))}function Vv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xf(e,t){Vv(e,t),(e=e.alternate)&&Vv(e,t)}function Mv(e){if(e.tag===13){var t=wn(e,67108864);t!==null&&At(t,e,67108864),Xf(e,67108864)}}function IS(){return Gn}function QS(){for(var e=new Map,t=1,n=0;31>n;n++){var s=To(t);e.set(t,s),t*=2}return e}function XS(e,t,n,s){var r=L.T;L.T=null;var o=st.p;try{st.p=Wn,Zf(e,t,n,s)}finally{st.p=o,L.T=r}}function ZS(e,t,n,s){var r=L.T;L.T=null;var o=st.p;try{st.p=Bs,Zf(e,t,n,s)}finally{st.p=o,L.T=r}}function Zf(e,t,n,s){if(Dd){var r=Kf(s);if(r===null)Of(e,t,s,Td,n),Ov(e,s);else if(KS(r,e,t,n,s))s.stopPropagation();else if(Ov(e,s),t&4&&-1<Lj.indexOf(e)){for(;r!==null;){var o=vn(r);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=St(o.pendingLanes);if(u!==0){var m=o;for(m.pendingLanes|=2,m.entangledLanes|=2;u;){var b=1<<31-cn(u);m.entanglements[1]|=b,u&=~b}Ps(o),(rt&(pn|Ns))===$n&&(ud=zs()+B0,Tl(0))}}break;case 13:m=wn(o,2),m!==null&&At(m,o,2),Oi(),Xf(o,2)}if(o=Kf(s),o===null&&Of(e,t,s,Td,n),o===r)break;r=o}r!==null&&s.stopPropagation()}else Of(e,t,s,null,n)}}function Kf(e){return e=am(e),Jf(e)}function Jf(e){if(Td=null,e=kn(e),e!==null){var t=Q(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=xe(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Td=e,null}function Pv(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 Wn;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 Bs;case"message":switch(lE()){case cp:return Wn;case up:return Bs;case Yi:case cE:return mr;case dp:return Bu;default:return mr}default:return mr}}function Ov(e,t){switch(e){case"focusin":case"focusout":co=null;break;case"dragenter":case"dragleave":uo=null;break;case"mouseover":case"mouseout":mo=null;break;case"pointerover":case"pointerout":yc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nc.delete(t.pointerId)}}function Al(e,t,n,s,r,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:s,nativeEvent:o,targetContainers:[r]},t!==null&&(t=vn(t),t!==null&&Mv(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function KS(e,t,n,s,r){switch(t){case"focusin":return co=Al(co,e,t,n,s,r),!0;case"dragenter":return uo=Al(uo,e,t,n,s,r),!0;case"mouseover":return mo=Al(mo,e,t,n,s,r),!0;case"pointerover":var o=r.pointerId;return yc.set(o,Al(yc.get(o)||null,e,t,n,s,r)),!0;case"gotpointercapture":return o=r.pointerId,Nc.set(o,Al(Nc.get(o)||null,e,t,n,s,r)),!0}return!1}function kv(e){var t=kn(e.target);if(t!==null){var n=Q(t);if(n!==null){if(t=n.tag,t===13){if(t=xe(n),t!==null){e.blockedOn=t,On(e.priority,function(){if(n.tag===13){var s=Fn(n);s=Uo(s);var r=wn(n,s);r!==null&&At(r,n,s),Xf(n,s)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Au(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kf(e.nativeEvent);if(n===null){n=e.nativeEvent;var s=new n.constructor(n.type,n),r=s;zl!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),zl=r,n.target.dispatchEvent(s),zl===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),zl=null}else return t=vn(n),t!==null&&Mv(t),e.blockedOn=n,!1;t.shift()}return!0}function zv(e,t,n){Au(e)&&n.delete(t)}function JS(){Nh=!1,co!==null&&Au(co)&&(co=null),uo!==null&&Au(uo)&&(uo=null),mo!==null&&Au(mo)&&(mo=null),yc.forEach(zv),Nc.forEach(zv)}function Vu(e,t){e.blockedOn===t&&(e.blockedOn=null,Nh||(Nh=!0,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,JS)))}function Hv(e){_d!==e&&(_d=e,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,function(){_d===e&&(_d=null);for(var t=0;t<e.length;t+=3){var n=e[t],s=e[t+1],r=e[t+2];if(typeof s!="function"){if(Jf(s||n)===null)continue;break}var o=vn(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:s},Object.freeze(n),Km(o,n,s,r))}}))}function Vl(e){function t(b){return Vu(b,e)}co!==null&&Vu(co,e),uo!==null&&Vu(uo,e),mo!==null&&Vu(mo,e),yc.forEach(t),Nc.forEach(t);for(var n=0;n<fo.length;n++){var s=fo[n];s.blockedOn===e&&(s.blockedOn=null)}for(;0<fo.length&&(n=fo[0],n.blockedOn===null);)kv(n),n.blockedOn===null&&fo.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(s=0;s<n.length;s+=3){var r=n[s],o=n[s+1],u=r[jn]||null;if(typeof o=="function")u||Hv(n);else if(u){var m=null;if(o&&o.hasAttribute("formAction")){if(r=o,u=o[jn]||null)m=u.formAction;else if(Jf(r)!==null)continue}else m=u.action;typeof m=="function"?n[s+1]=m:(n.splice(s,3),s-=3),Hv(n)}}}function Wf(e){this._internalRoot=e}function Mu(e){this._internalRoot=e}function Bv(e){e[Kr]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ot=Qj(),ep=Mc(),WS=h1(),Fe=Object.assign,eE=Symbol.for("react.element"),Ir=Symbol.for("react.transitional.element"),qi=Symbol.for("react.portal"),Fi=Symbol.for("react.fragment"),Pu=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),tE=Symbol.for("react.provider"),np=Symbol.for("react.consumer"),ks=Symbol.for("react.context"),Ml=Symbol.for("react.forward_ref"),sp=Symbol.for("react.suspense"),rp=Symbol.for("react.suspense_list"),Ou=Symbol.for("react.memo"),Yn=Symbol.for("react.lazy"),op=Symbol.for("react.activity"),nE=Symbol.for("react.memo_cache_sentinel"),Lv=Symbol.iterator,sE=Symbol.for("react.client.reference"),Zt=Array.isArray,L=ep.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,st=WS.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,rE=Object.freeze({pending:!1,data:null,method:null,action:null}),ip=[],ap=[],ur=-1,Qr=ue(null),Pl=ue(null),Xr=ue(null),ku=ue(null),dr=Object.prototype.hasOwnProperty,lp=Ot.unstable_scheduleCallback,oE=Ot.unstable_cancelCallback,iE=Ot.unstable_shouldYield,aE=Ot.unstable_requestPaint,zs=Ot.unstable_now,lE=Ot.unstable_getCurrentPriorityLevel,cp=Ot.unstable_ImmediatePriority,up=Ot.unstable_UserBlockingPriority,Yi=Ot.unstable_NormalPriority,cE=Ot.unstable_LowPriority,dp=Ot.unstable_IdlePriority,uE=Ot.log,dE=Ot.unstable_setDisableYieldValue,Gi=null,en=null,fe=null,Hs=!1,bs=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",cn=Math.clz32?Math.clz32:Vr,mE=Math.log,fE=Math.LN2,zu=256,Hu=4194304,Wn=2,Bs=8,mr=32,Bu=268435456,Zr=Math.random().toString(36).slice(2),tn="__reactFiber$"+Zr,jn="__reactProps$"+Zr,Kr="__reactContainer$"+Zr,mp="__reactEvents$"+Zr,pE="__reactListeners$"+Zr,hE="__reactHandles$"+Zr,qv="__reactResources$"+Zr,Ol="__reactMarker$"+Zr,Fv=new Set,$o={},fp={},bE={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gE=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]*$"),Yv={},Gv={},kl=0,$v,Iv,Qv,Xv,Zv,Kv,Jv;Et.__reactDisabledLog=!0;var pp,Wv,hp=!1,bp=new(typeof WeakMap=="function"?WeakMap:Map),Gn=null,Ls=!1,xE=/[\n"\\]/g,ey=!1,ty=!1,ny=!1,sy=!1,ry=!1,oy=!1,iy=["value","defaultValue"],ay=!1,ly=/["'&<>\n\t]|^\s|\s$/,vE="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),cy="applet caption html table td th marquee object template foreignObject desc title".split(" "),yE=cy.concat(["button"]),NE="dd dt li option optgroup p rp rt".split(" "),uy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Lu={},gp={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},dy=/([A-Z])/g,my=/^ms-/,wE=/^(?:webkit|moz|o)[A-Z]/,SE=/^-ms-/,EE=/-(.)/g,fy=/;\s*$/,$i={},xp={},py=!1,hy=!1,by=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(" ")),qu="http://www.w3.org/1998/Math/MathML",Ii="http://www.w3.org/2000/svg",jE=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"]]),Fu={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gy={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Qi={},DE=RegExp("^(aria)-[: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]*$"),TE=RegExp("^(aria)[A-Z][: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]*$"),xy=!1,un={},vy=/^on./,_E=/^on[^A-Z]/,UE=RegExp("^(aria)-[: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]*$"),CE=RegExp("^(aria)[A-Z][: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]*$"),RE=/^[\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,zl=null,Xi=null,Zi=null,vp=!1,qs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yp=!1;if(qs)try{var Hl={};Object.defineProperty(Hl,"passive",{get:function(){yp=!0}}),window.addEventListener("test",Hl,Hl),window.removeEventListener("test",Hl,Hl)}catch{yp=!1}var Jr=null,Np=null,Yu=null,Io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gu=Nn(Io),Bl=Fe({},Io,{view:0,detail:0}),AE=Nn(Bl),wp,Sp,Ll,$u=Fe({},Bl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lm,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!==Ll&&(Ll&&e.type==="mousemove"?(wp=e.screenX-Ll.screenX,Sp=e.screenY-Ll.screenY):Sp=wp=0,Ll=e),wp)},movementY:function(e){return"movementY"in e?e.movementY:Sp}}),yy=Nn($u),VE=Fe({},$u,{dataTransfer:0}),ME=Nn(VE),PE=Fe({},Bl,{relatedTarget:0}),Ep=Nn(PE),OE=Fe({},Io,{animationName:0,elapsedTime:0,pseudoElement:0}),kE=Nn(OE),zE=Fe({},Io,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),HE=Nn(zE),BE=Fe({},Io,{data:0}),Ny=Nn(BE),LE=Ny,qE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},FE={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"},YE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},GE=Fe({},Bl,{key:function(e){if(e.key){var t=qE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?FE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lm,charCode:function(e){return e.type==="keypress"?Bc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),$E=Nn(GE),IE=Fe({},$u,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),wy=Nn(IE),QE=Fe({},Bl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lm}),XE=Nn(QE),ZE=Fe({},Io,{propertyName:0,elapsedTime:0,pseudoElement:0}),KE=Nn(ZE),JE=Fe({},$u,{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}),WE=Nn(JE),ej=Fe({},Io,{newState:0,oldState:0}),tj=Nn(ej),nj=[9,13,27,32],Sy=229,jp=qs&&"CompositionEvent"in window,ql=null;qs&&"documentMode"in document&&(ql=document.documentMode);var sj=qs&&"TextEvent"in window&&!ql,Ey=qs&&(!jp||ql&&8<ql&&11>=ql),jy=32,Dy=String.fromCharCode(jy),Ty=!1,Ki=!1,rj={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},Fl=null,Yl=null,_y=!1;qs&&(_y=Mw("input")&&(!document.documentMode||9<document.documentMode));var dn=typeof Object.is=="function"?Object.is:Bw,oj=qs&&"documentMode"in document&&11>=document.documentMode,Ji=null,Dp=null,Gl=null,Tp=!1,Wi={animationend:Ro("Animation","AnimationEnd"),animationiteration:Ro("Animation","AnimationIteration"),animationstart:Ro("Animation","AnimationStart"),transitionrun:Ro("Transition","TransitionRun"),transitionstart:Ro("Transition","TransitionStart"),transitioncancel:Ro("Transition","TransitionCancel"),transitionend:Ro("Transition","TransitionEnd")},_p={},Uy={};qs&&(Uy=document.createElement("div").style,"AnimationEvent"in window||(delete Wi.animationend.animation,delete Wi.animationiteration.animation,delete Wi.animationstart.animation),"TransitionEvent"in window||delete Wi.transitionend.transition);var Cy=Ao("animationend"),Ry=Ao("animationiteration"),Ay=Ao("animationstart"),ij=Ao("transitionrun"),aj=Ao("transitionstart"),lj=Ao("transitioncancel"),Vy=Ao("transitionend"),My=new Map,Up="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(" ");Up.push("scrollEnd");var Cp=new WeakMap,Iu=1,fr=2,es=[],ea=0,Rp=0,Wr={};Object.freeze(Wr);var ts=null,ta=null,ht=0,cj=1,Kt=2,nn=8,gs=16,Py=64,Oy=!1;try{var ky=Object.preventExtensions({})}catch{Oy=!0}var na=[],sa=0,Qu=null,Xu=0,ns=[],ss=0,Qo=null,pr=1,hr="",mn=null,Dt=null,tt=!1,br=!1,rs=null,Xo=null,Fs=!1,Ap=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),zy=0;if(typeof performance=="object"&&typeof performance.now=="function")var uj=performance,Hy=function(){return uj.now()};else{var dj=Date;Hy=function(){return dj.now()}}var Vp=ue(null),Mp=ue(null),By={},Zu=null,ra=null,oa=!1,mj=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},fj=Ot.unstable_scheduleCallback,pj=Ot.unstable_NormalPriority,Ht={$$typeof:ks,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ia=Ot.unstable_now,Ly=-0,Ku=-0,Dn=-1.1,Zo=-0,Ju=!1,Wu=!1,$l=null,Pp=0,Ko=0,aa=null,qy=L.S;L.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&qw(e,t),qy!==null&&qy(e,t)};var Jo=ue(null),xs={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Il=[],Ql=[],Xl=[],Zl=[],Kl=[],Jl=[],Wo=new Set;xs.recordUnsafeLifecycleWarnings=function(e,t){Wo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Il.push(e),e.mode&nn&&typeof t.UNSAFE_componentWillMount=="function"&&Ql.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Xl.push(e),e.mode&nn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Zl.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Kl.push(e),e.mode&nn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Jl.push(e))},xs.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Il.length&&(Il.forEach(function(m){e.add(K(m)||"Component"),Wo.add(m.type)}),Il=[]);var t=new Set;0<Ql.length&&(Ql.forEach(function(m){t.add(K(m)||"Component"),Wo.add(m.type)}),Ql=[]);var n=new Set;0<Xl.length&&(Xl.forEach(function(m){n.add(K(m)||"Component"),Wo.add(m.type)}),Xl=[]);var s=new Set;0<Zl.length&&(Zl.forEach(function(m){s.add(K(m)||"Component"),Wo.add(m.type)}),Zl=[]);var r=new Set;0<Kl.length&&(Kl.forEach(function(m){r.add(K(m)||"Component"),Wo.add(m.type)}),Kl=[]);var o=new Set;if(0<Jl.length&&(Jl.forEach(function(m){o.add(K(m)||"Component"),Wo.add(m.type)}),Jl=[]),0<t.size){var u=f(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
226
|
-
|
|
227
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
228
|
-
|
|
229
|
-
Please update the following components: %s`,u)}0<s.size&&(u=f(s),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
230
|
-
|
|
231
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
232
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
233
|
-
|
|
234
|
-
Please update the following components: %s`,u)),0<o.size&&(u=f(o),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
235
|
-
|
|
236
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
237
|
-
|
|
238
|
-
Please update the following components: %s`,u)),0<e.size&&(u=f(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
239
|
-
|
|
240
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
241
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
242
|
-
|
|
243
|
-
Please update the following components: %s`,u)),0<n.size&&(u=f(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
244
|
-
|
|
245
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
246
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
247
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
248
|
-
|
|
249
|
-
Please update the following components: %s`,u)),0<r.size&&(u=f(r),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
250
|
-
|
|
251
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
252
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
253
|
-
|
|
254
|
-
Please update the following components: %s`,u))};var ed=new Map,Fy=new Set;xs.recordLegacyContextWarning=function(e,t){for(var n=null,s=e;s!==null;)s.mode&nn&&(n=s),s=s.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Fy.has(e.type)&&(s=ed.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],ed.set(n,s)),s.push(e))},xs.flushLegacyContextWarning=function(){ed.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(r){n.add(K(r)||"Component"),Fy.add(r.type)});var s=f(n);Ue(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
255
|
-
|
|
256
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
257
|
-
|
|
258
|
-
Please update the following components: %s
|
|
259
|
-
|
|
260
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,s)})}})},xs.discardPendingWarnings=function(){Il=[],Ql=[],Xl=[],Zl=[],Kl=[],Jl=[],ed=new Map};var Wl=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Yy=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),td=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Op={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},ec=null,nd=!1,os=0,is=1,fn=2,Jt=4,Bt=8,Gy=0,$y=1,Iy=2,kp=3,eo=!1,Qy=!1,zp=null,Hp=!1,la=ue(null),sd=ue(0),ca,Xy=new Set,Zy=new Set,Bp=new Set,Ky=new Set,to=0,Ae=null,mt=null,kt=null,rd=!1,ua=!1,ei=!1,od=0,tc=0,gr=null,hj=0,bj=25,B=null,as=null,xr=-1,nc=!1,id={readContext:Nt,use:Lr,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt},Lp=null,Jy=null,qp=null,Wy=null,Ys=null,vs=null,ad=null;Lp={readContext:function(e){return Nt(e)},use:Lr,useCallback:function(e,t){return B="useCallback",Xe(),Ui(t),Im(e,t)},useContext:function(e){return B="useContext",Xe(),Nt(e)},useEffect:function(e,t){return B="useEffect",Xe(),Ui(t),iu(e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",Xe(),Ui(n),$m(e,t,n)},useInsertionEffect:function(e,t){B="useInsertionEffect",Xe(),Ui(t),qo(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",Xe(),Ui(t),Gm(e,t)},useMemo:function(e,t){B="useMemo",Xe(),Ui(t);var n=L.H;L.H=Ys;try{return Qm(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",Xe();var s=L.H;L.H=Ys;try{return km(e,t,n)}finally{L.H=s}},useRef:function(e){return B="useRef",Xe(),Ym(e)},useState:function(e){B="useState",Xe();var t=L.H;L.H=Ys;try{return Lm(e)}finally{L.H=t}},useDebugValue:function(){B="useDebugValue",Xe()},useDeferredValue:function(e,t){return B="useDeferredValue",Xe(),Xm(e,t)},useTransition:function(){return B="useTransition",Xe(),Jm()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",Xe(),Hm(e,t,n)},useId:function(){return B="useId",Xe(),Wm()},useFormState:function(e,t){return B="useFormState",Xe(),tu(),Ri(e,t)},useActionState:function(e,t){return B="useActionState",Xe(),Ri(e,t)},useOptimistic:function(e){return B="useOptimistic",Xe(),qm(e)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return B="useCacheRefresh",Xe(),ef()}},Jy={readContext:function(e){return Nt(e)},use:Lr,useCallback:function(e,t){return B="useCallback",ne(),Im(e,t)},useContext:function(e){return B="useContext",ne(),Nt(e)},useEffect:function(e,t){return B="useEffect",ne(),iu(e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",ne(),$m(e,t,n)},useInsertionEffect:function(e,t){B="useInsertionEffect",ne(),qo(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",ne(),Gm(e,t)},useMemo:function(e,t){B="useMemo",ne();var n=L.H;L.H=Ys;try{return Qm(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",ne();var s=L.H;L.H=Ys;try{return km(e,t,n)}finally{L.H=s}},useRef:function(e){return B="useRef",ne(),Ym(e)},useState:function(e){B="useState",ne();var t=L.H;L.H=Ys;try{return Lm(e)}finally{L.H=t}},useDebugValue:function(){B="useDebugValue",ne()},useDeferredValue:function(e,t){return B="useDeferredValue",ne(),Xm(e,t)},useTransition:function(){return B="useTransition",ne(),Jm()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",ne(),Hm(e,t,n)},useId:function(){return B="useId",ne(),Wm()},useActionState:function(e,t){return B="useActionState",ne(),Ri(e,t)},useFormState:function(e,t){return B="useFormState",ne(),tu(),Ri(e,t)},useOptimistic:function(e){return B="useOptimistic",ne(),qm(e)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return B="useCacheRefresh",ne(),ef()}},qp={readContext:function(e){return Nt(e)},use:Lr,useCallback:function(e,t){return B="useCallback",ne(),lu(e,t)},useContext:function(e){return B="useContext",ne(),Nt(e)},useEffect:function(e,t){B="useEffect",ne(),En(2048,Bt,e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",ne(),au(e,t,n)},useInsertionEffect:function(e,t){return B="useInsertionEffect",ne(),En(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",ne(),En(4,Jt,e,t)},useMemo:function(e,t){B="useMemo",ne();var n=L.H;L.H=vs;try{return cu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",ne();var s=L.H;L.H=vs;try{return Ci(e,t,n)}finally{L.H=s}},useRef:function(){return B="useRef",ne(),ct().memoizedState},useState:function(){B="useState",ne();var e=L.H;L.H=vs;try{return Ci(hs)}finally{L.H=e}},useDebugValue:function(){B="useDebugValue",ne()},useDeferredValue:function(e,t){return B="useDeferredValue",ne(),Cg(e,t)},useTransition:function(){return B="useTransition",ne(),Og()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",ne(),nu(e,t,n)},useId:function(){return B="useId",ne(),ct().memoizedState},useFormState:function(e){return B="useFormState",ne(),tu(),su(e)},useActionState:function(e){return B="useActionState",ne(),su(e)},useOptimistic:function(e,t){return B="useOptimistic",ne(),yg(e,t)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return B="useCacheRefresh",ne(),ct().memoizedState}},Wy={readContext:function(e){return Nt(e)},use:Lr,useCallback:function(e,t){return B="useCallback",ne(),lu(e,t)},useContext:function(e){return B="useContext",ne(),Nt(e)},useEffect:function(e,t){B="useEffect",ne(),En(2048,Bt,e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",ne(),au(e,t,n)},useInsertionEffect:function(e,t){return B="useInsertionEffect",ne(),En(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",ne(),En(4,Jt,e,t)},useMemo:function(e,t){B="useMemo",ne();var n=L.H;L.H=ad;try{return cu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",ne();var s=L.H;L.H=ad;try{return gl(e,t,n)}finally{L.H=s}},useRef:function(){return B="useRef",ne(),ct().memoizedState},useState:function(){B="useState",ne();var e=L.H;L.H=ad;try{return gl(hs)}finally{L.H=e}},useDebugValue:function(){B="useDebugValue",ne()},useDeferredValue:function(e,t){return B="useDeferredValue",ne(),Rg(e,t)},useTransition:function(){return B="useTransition",ne(),kg()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",ne(),nu(e,t,n)},useId:function(){return B="useId",ne(),ct().memoizedState},useFormState:function(e){return B="useFormState",ne(),tu(),ru(e)},useActionState:function(e){return B="useActionState",ne(),ru(e)},useOptimistic:function(e,t){return B="useOptimistic",ne(),wg(e,t)},useHostTransitionStatus:Fo,useMemoCache:Lo,useCacheRefresh:function(){return B="useCacheRefresh",ne(),ct().memoizedState}},Ys={readContext:function(e){return _(),Nt(e)},use:function(e){return y(),Lr(e)},useCallback:function(e,t){return B="useCallback",y(),Xe(),Im(e,t)},useContext:function(e){return B="useContext",y(),Xe(),Nt(e)},useEffect:function(e,t){return B="useEffect",y(),Xe(),iu(e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",y(),Xe(),$m(e,t,n)},useInsertionEffect:function(e,t){B="useInsertionEffect",y(),Xe(),qo(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",y(),Xe(),Gm(e,t)},useMemo:function(e,t){B="useMemo",y(),Xe();var n=L.H;L.H=Ys;try{return Qm(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",y(),Xe();var s=L.H;L.H=Ys;try{return km(e,t,n)}finally{L.H=s}},useRef:function(e){return B="useRef",y(),Xe(),Ym(e)},useState:function(e){B="useState",y(),Xe();var t=L.H;L.H=Ys;try{return Lm(e)}finally{L.H=t}},useDebugValue:function(){B="useDebugValue",y(),Xe()},useDeferredValue:function(e,t){return B="useDeferredValue",y(),Xe(),Xm(e,t)},useTransition:function(){return B="useTransition",y(),Xe(),Jm()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",y(),Xe(),Hm(e,t,n)},useId:function(){return B="useId",y(),Xe(),Wm()},useFormState:function(e,t){return B="useFormState",y(),Xe(),Ri(e,t)},useActionState:function(e,t){return B="useActionState",y(),Xe(),Ri(e,t)},useOptimistic:function(e){return B="useOptimistic",y(),Xe(),qm(e)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return B="useCacheRefresh",Xe(),ef()}},vs={readContext:function(e){return _(),Nt(e)},use:function(e){return y(),Lr(e)},useCallback:function(e,t){return B="useCallback",y(),ne(),lu(e,t)},useContext:function(e){return B="useContext",y(),ne(),Nt(e)},useEffect:function(e,t){B="useEffect",y(),ne(),En(2048,Bt,e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",y(),ne(),au(e,t,n)},useInsertionEffect:function(e,t){return B="useInsertionEffect",y(),ne(),En(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",y(),ne(),En(4,Jt,e,t)},useMemo:function(e,t){B="useMemo",y(),ne();var n=L.H;L.H=vs;try{return cu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",y(),ne();var s=L.H;L.H=vs;try{return Ci(e,t,n)}finally{L.H=s}},useRef:function(){return B="useRef",y(),ne(),ct().memoizedState},useState:function(){B="useState",y(),ne();var e=L.H;L.H=vs;try{return Ci(hs)}finally{L.H=e}},useDebugValue:function(){B="useDebugValue",y(),ne()},useDeferredValue:function(e,t){return B="useDeferredValue",y(),ne(),Cg(e,t)},useTransition:function(){return B="useTransition",y(),ne(),Og()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",y(),ne(),nu(e,t,n)},useId:function(){return B="useId",y(),ne(),ct().memoizedState},useFormState:function(e){return B="useFormState",y(),ne(),su(e)},useActionState:function(e){return B="useActionState",y(),ne(),su(e)},useOptimistic:function(e,t){return B="useOptimistic",y(),ne(),yg(e,t)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return B="useCacheRefresh",ne(),ct().memoizedState}},ad={readContext:function(e){return _(),Nt(e)},use:function(e){return y(),Lr(e)},useCallback:function(e,t){return B="useCallback",y(),ne(),lu(e,t)},useContext:function(e){return B="useContext",y(),ne(),Nt(e)},useEffect:function(e,t){B="useEffect",y(),ne(),En(2048,Bt,e,t)},useImperativeHandle:function(e,t,n){return B="useImperativeHandle",y(),ne(),au(e,t,n)},useInsertionEffect:function(e,t){return B="useInsertionEffect",y(),ne(),En(4,fn,e,t)},useLayoutEffect:function(e,t){return B="useLayoutEffect",y(),ne(),En(4,Jt,e,t)},useMemo:function(e,t){B="useMemo",y(),ne();var n=L.H;L.H=vs;try{return cu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){B="useReducer",y(),ne();var s=L.H;L.H=vs;try{return gl(e,t,n)}finally{L.H=s}},useRef:function(){return B="useRef",y(),ne(),ct().memoizedState},useState:function(){B="useState",y(),ne();var e=L.H;L.H=vs;try{return gl(hs)}finally{L.H=e}},useDebugValue:function(){B="useDebugValue",y(),ne()},useDeferredValue:function(e,t){return B="useDeferredValue",y(),ne(),Rg(e,t)},useTransition:function(){return B="useTransition",y(),ne(),kg()},useSyncExternalStore:function(e,t,n){return B="useSyncExternalStore",y(),ne(),nu(e,t,n)},useId:function(){return B="useId",y(),ne(),ct().memoizedState},useFormState:function(e){return B="useFormState",y(),ne(),ru(e)},useActionState:function(e){return B="useActionState",y(),ne(),ru(e)},useOptimistic:function(e,t){return B="useOptimistic",y(),ne(),wg(e,t)},useMemoCache:function(e){return y(),Lo(e)},useHostTransitionStatus:Fo,useCacheRefresh:function(){return B="useCacheRefresh",ne(),ct().memoizedState}};var e0={"react-stack-bottom-frame":function(e,t,n){var s=Ls;Ls=!0;try{return e(t,n)}finally{Ls=s}}},Fp=e0["react-stack-bottom-frame"].bind(e0),t0={"react-stack-bottom-frame":function(e){var t=Ls;Ls=!0;try{return e.render()}finally{Ls=t}}},n0=t0["react-stack-bottom-frame"].bind(t0),s0={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){ut(e,e.return,n)}}},Yp=s0["react-stack-bottom-frame"].bind(s0),r0={"react-stack-bottom-frame":function(e,t,n,s,r){try{t.componentDidUpdate(n,s,r)}catch(o){ut(e,e.return,o)}}},o0=r0["react-stack-bottom-frame"].bind(r0),i0={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},gj=i0["react-stack-bottom-frame"].bind(i0),a0={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(s){ut(e,t,s)}}},l0=a0["react-stack-bottom-frame"].bind(a0),c0={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},xj=c0["react-stack-bottom-frame"].bind(c0),u0={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(s){ut(e,t,s)}}},vj=u0["react-stack-bottom-frame"].bind(u0),d0={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},no=d0["react-stack-bottom-frame"].bind(d0),da=null,sc=0,qe=null,Gp,m0=Gp=!1,f0={},p0={},h0={};j=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var s=K(e),r=s||"null";if(!f0[r]){f0[r]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(r=K(e))&&(o=`
|
|
261
|
-
|
|
262
|
-
Check the render method of \``+r+"`."),o||s&&(o=`
|
|
263
|
-
|
|
264
|
-
Check the top-level render call using <`+s+">.");var u="";n!=null&&e!==n&&(s=null,typeof n.tag=="number"?s=K(n):typeof n.name=="string"&&(s=n.name),s&&(u=" It was passed a child from "+s+".")),Ue(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',o,u)})}}};var ma=Lg(!0),b0=Lg(!1),ls=ue(null),Gs=null,fa=1,rc=2,Lt=ue(0),g0={},x0=new Set,v0=new Set,y0=new Set,N0=new Set,w0=new Set,S0=new Set,E0=new Set,j0=new Set,D0=new Set,T0=new Set;Object.freeze(g0);var $p={enqueueSetState:function(e,t,n){e=e._reactInternals;var s=Fn(e),r=Hr(s);r.payload=t,n!=null&&(nf(n),r.callback=n),t=Br(e,r,s),t!==null&&(At(t,e,s),fl(t,e,s)),Vn(e,s)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var s=Fn(e),r=Hr(s);r.tag=$y,r.payload=t,n!=null&&(nf(n),r.callback=n),t=Br(e,r,s),t!==null&&(At(t,e,s),fl(t,e,s)),Vn(e,s)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Fn(e),s=Hr(n);s.tag=Iy,t!=null&&(nf(t),s.callback=t),t=Br(e,s,n),t!==null&&(At(t,e,n),fl(t,e,n)),fe!==null&&typeof fe.markForceUpdateScheduled=="function"&&fe.markForceUpdateScheduled(e,n)}},Ip=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)},pa=null,Qp=null,_0=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Gt=!1,U0={},C0={},R0={},A0={},ha=!1,V0={},Xp={},Zp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},M0=!1,P0=null;P0=new Set;var vr=!1,Vt=!1,Kp=!1,O0=typeof WeakSet=="function"?WeakSet:Set,$t=null,ba=null,ga=null,zt=null,Tn=!1,ys=null,oc=8192,yj={getCacheForType:function(e){var t=Nt(Ht),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return Gn}};if(typeof Symbol=="function"&&Symbol.for){var ic=Symbol.for;ic("selector.component"),ic("selector.has_pseudo_class"),ic("selector.role"),ic("selector.test_id"),ic("selector.text")}var Nj=[],wj=typeof WeakMap=="function"?WeakMap:Map,$n=0,pn=2,Ns=4,yr=0,ac=1,xa=2,Jp=3,ti=4,ld=6,k0=5,rt=$n,ft=null,$e=null,Ze=0,_n=0,lc=1,ni=2,cc=3,z0=4,Wp=5,va=6,uc=7,eh=8,si=9,at=_n,In=null,so=!1,ya=!1,th=!1,$s=0,Tt=yr,ro=0,oo=0,nh=0,Qn=0,ri=0,dc=null,hn=null,cd=!1,sh=0,H0=300,ud=1/0,B0=500,mc=null,io=null,Sj=0,Ej=1,jj=2,oi=0,L0=1,q0=2,F0=3,Dj=4,rh=5,Wt=0,ao=null,Na=null,lo=0,oh=0,ih=null,Y0=null,Tj=50,fc=0,ah=null,lh=!1,dd=!1,_j=50,ii=0,pc=null,wa=!1,md=null,G0=!1,$0=new Set,Uj={},fd=null,Sa=null,ch=!1,uh=!1,pd=!1,dh=!1,ai=0,mh={};(function(){for(var e=0;e<Up.length;e++){var t=Up[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ps(n,"on"+t)}ps(Cy,"onAnimationEnd"),ps(Ry,"onAnimationIteration"),ps(Ay,"onAnimationStart"),ps("dblclick","onDoubleClick"),ps("focusin","onFocus"),ps("focusout","onBlur"),ps(ij,"onTransitionRun"),ps(aj,"onTransitionStart"),ps(lj,"onTransitionCancel"),ps(Vy,"onTransitionEnd")})(),ce("onMouseEnter",["mouseout","mouseover"]),ce("onMouseLeave",["mouseout","mouseover"]),ce("onPointerEnter",["pointerout","pointerover"]),ce("onPointerLeave",["pointerout","pointerover"]),te("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),te("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),te("onBeforeInput",["compositionend","keypress","textInput","paste"]),te("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),te("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),te("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hc="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(" "),fh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hc)),hd="_reactListening"+Math.random().toString(36).slice(2),I0=!1,Q0=!1,bd=!1,X0=!1,gd=!1,xd=!1,Z0=!1,vd={},Cj=/\r\n?/g,Rj=/\u0000|\uFFFD/g,li="http://www.w3.org/1999/xlink",ph="http://www.w3.org/XML/1998/namespace",Aj="javascript:throw new Error('React form unexpectedly submitted.')",Vj="suppressHydrationWarning",yd="$",Nd="/$",Nr="$?",bc="$!",Mj=1,Pj=2,Oj=4,hh="F!",K0="F",J0="complete",kj="style",wr=0,Ea=1,wd=2,bh=null,gh=null,W0={dialog:!0,webview:!0},xh=null,eN=typeof setTimeout=="function"?setTimeout:void 0,zj=typeof clearTimeout=="function"?clearTimeout:void 0,ci=-1,tN=typeof Promise=="function"?Promise:void 0,Hj=typeof queueMicrotask=="function"?queueMicrotask:typeof tN<"u"?function(e){return tN.resolve(null).then(e).catch(ES)}:eN,vh=null,ui=0,gc=1,nN=2,sN=3,cs=4,us=new Map,rN=new Set,Sr=st.d;st.d={f:function(){var e=Sr.f(),t=Oi();return e||t},r:function(e){var t=vn(e);t!==null&&t.tag===5&&t.type==="form"?Pg(t):Sr.r(e)},D:function(e){Sr.D(e),Ev("dns-prefetch",e,null)},C:function(e,t){Sr.C(e,t),Ev("preconnect",e,t)},L:function(e,t,n){Sr.L(e,t,n);var s=ja;if(s&&e&&t){var r='link[rel="preload"][as="'+Zn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Zn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Zn(n.imageSizes)+'"]')):r+='[href="'+Zn(e)+'"]';var o=r;switch(t){case"style":o=Bi(e);break;case"script":o=Li(e)}us.has(o)||(e=Fe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),us.set(o,e),s.querySelector(r)!==null||t==="style"&&s.querySelector(Cl(o))||t==="script"&&s.querySelector(Rl(o))||(t=s.createElement("link"),Xt(t,"link",e),R(t),s.head.appendChild(t)))}},m:function(e,t){Sr.m(e,t);var n=ja;if(n&&e){var s=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Zn(s)+'"][href="'+Zn(e)+'"]',o=r;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Li(e)}if(!us.has(o)&&(e=Fe({rel:"modulepreload",href:e},t),us.set(o,e),n.querySelector(r)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Rl(o)))return}s=n.createElement("link"),Xt(s,"link",e),R(s),n.head.appendChild(s)}}},X:function(e,t){Sr.X(e,t);var n=ja;if(n&&e){var s=h(n).hoistableScripts,r=Li(e),o=s.get(r);o||(o=n.querySelector(Rl(r)),o||(e=Fe({src:e,async:!0},t),(t=us.get(r))&&$f(e,t),o=n.createElement("script"),R(o),Xt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(r,o))}},S:function(e,t,n){Sr.S(e,t,n);var s=ja;if(s&&e){var r=h(s).hoistableStyles,o=Bi(e);t=t||"default";var u=r.get(o);if(!u){var m={loading:ui,preload:null};if(u=s.querySelector(Cl(o)))m.loading=gc|cs;else{e=Fe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=us.get(o))&&Gf(e,n);var b=u=s.createElement("link");R(b),Xt(b,"link",e),b._p=new Promise(function(v,P){b.onload=v,b.onerror=P}),b.addEventListener("load",function(){m.loading|=gc}),b.addEventListener("error",function(){m.loading|=nN}),m.loading|=cs,Cu(u,t,s)}u={type:"stylesheet",instance:u,count:1,state:m},r.set(o,u)}}},M:function(e,t){Sr.M(e,t);var n=ja;if(n&&e){var s=h(n).hoistableScripts,r=Li(e),o=s.get(r);o||(o=n.querySelector(Rl(r)),o||(e=Fe({src:e,async:!0,type:"module"},t),(t=us.get(r))&&$f(e,t),o=n.createElement("script"),R(o),Xt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},s.set(r,o))}}};var ja=typeof document>"u"?null:document,Sd=null,xc=null,yh=null,Ed=null,di=rE,vc={$$typeof:ks,Provider:null,Consumer:null,_currentValue:di,_currentValue2:di,_threadCount:0},oN="%c%s%c ",iN="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",aN="",jd=" ",Bj=Function.prototype.bind,lN=!1,cN=null,uN=null,dN=null,mN=null,fN=null,pN=null,hN=null,bN=null,gN=null;cN=function(e,t,n,s){t=a(e,t),t!==null&&(n=i(t.memoizedState,n,0,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=wn(e,2),n!==null&&At(n,e,2))},uN=function(e,t,n){t=a(e,t),t!==null&&(n=p(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=wn(e,2),n!==null&&At(n,e,2))},dN=function(e,t,n,s){t=a(e,t),t!==null&&(n=c(t.memoizedState,n,s),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=wn(e,2),n!==null&&At(n,e,2))},mN=function(e,t,n){e.pendingProps=i(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&At(t,e,2)},fN=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&At(t,e,2)},pN=function(e,t,n){e.pendingProps=c(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=wn(e,2),t!==null&&At(t,e,2)},hN=function(e){var t=wn(e,2);t!==null&&At(t,e,2)},bN=function(e){N=e},gN=function(e){g=e};var Dd=!0,Td=null,Nh=!1,co=null,uo=null,mo=null,yc=new Map,Nc=new Map,fo=[],Lj="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(" "),_d=null;if(Mu.prototype.render=Wf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):O(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var s=t.current,r=Fn(s);Qf(s,r,n,t,null,null)},Mu.prototype.unmount=Wf.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(rt&(pn|Ns))!==$n&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Qf(e.current,2,null,e,null,null),Oi(),t[Kr]=null}},Mu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Pr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fo.length&&t!==0&&t<fo[n].priority;n++);fo.splice(n,0,e),n===0&&kv(e)}},function(){var e=ep.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
265
|
-
- react: `+(e+`
|
|
266
|
-
- react-dom: 19.1.0
|
|
267
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),st.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=pe(t),e=e!==null?re(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};return e.overrideHookState=cN,e.overrideHookStateDeletePath=uN,e.overrideHookStateRenamePath=dN,e.overrideProps=mN,e.overridePropsDeletePath=fN,e.overridePropsRenamePath=pN,e.scheduleUpdate=hN,e.setErrorHandler=bN,e.setSuspenseHandler=gN,e.scheduleRefresh=Y,e.scheduleRoot=C,e.setRefreshHandler=I,e.getCurrentFiber=IS,e.getLaneLabelMap=QS,e.injectProfilingHooks=Ge,Oe(e)}()&&qs&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var xN=window.location.protocol;/^(https?|file):$/.test(xN)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(xN==="file:"?`
|
|
268
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}wc.createRoot=function(e,t){if(!O(e))throw Error("Target container is not a DOM element.");Bv(e);var n=!1,s="",r=Gg,o=$g,u=Ig,m=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ir&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
269
|
-
|
|
270
|
-
let root = createRoot(domContainer);
|
|
271
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(m=t.unstable_transitionCallbacks)),t=Rv(e,1,!1,null,null,n,s,r,o,u,m,null),e[Kr]=t.current,Pf(e),new Wf(t)},wc.hydrateRoot=function(e,t,n){if(!O(e))throw Error("Target container is not a DOM element.");Bv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=!1,r="",o=Gg,u=$g,m=Ig,b=null,v=null;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks),n.formState!==void 0&&(v=n.formState)),t=Rv(e,1,!0,t,n??null,s,r,o,u,m,b,v),t.context=Av(null),n=t.current,s=Fn(n),s=Uo(s),r=Hr(s),r.callback=null,Br(n,r,s),n=s,t.current.lanes=n,ln(t,n),Ps(t),e[Kr]=t.current,Pf(e),new Mu(t)},wc.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),wc}var UN;function Kj(){return UN||(UN=1,jh.exports=Zj()),jh.exports}var Jj=Kj(),Ia=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(a){return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Si=typeof window>"u"||"Deno"in globalThis;function xn(){}function Wj(a,i){return typeof a=="function"?a(i):a}function Ph(a){return typeof a=="number"&&a>=0&&a!==1/0}function b1(a,i){return Math.max(a+(i||0)-Date.now(),0)}function Do(a,i){return typeof a=="function"?a(i):a}function Es(a,i){return typeof a=="function"?a(i):a}function CN(a,i){const{type:c="all",exact:d,fetchStatus:p,predicate:g,queryKey:N,stale:j}=a;if(N){if(d){if(i.queryHash!==sb(N,i.options))return!1}else if(!_c(i.queryKey,N))return!1}if(c!=="all"){const y=i.isActive();if(c==="active"&&!y||c==="inactive"&&y)return!1}return!(typeof j=="boolean"&&i.isStale()!==j||p&&p!==i.state.fetchStatus||g&&!g(i))}function RN(a,i){const{exact:c,status:d,predicate:p,mutationKey:g}=a;if(g){if(!i.options.mutationKey)return!1;if(c){if(Ei(i.options.mutationKey)!==Ei(g))return!1}else if(!_c(i.options.mutationKey,g))return!1}return!(d&&i.state.status!==d||p&&!p(i))}function sb(a,i){return((i==null?void 0:i.queryKeyHashFn)||Ei)(a)}function Ei(a){return JSON.stringify(a,(i,c)=>kh(c)?Object.keys(c).sort().reduce((d,p)=>(d[p]=c[p],d),{}):c)}function _c(a,i){return a===i?!0:typeof a!=typeof i?!1:a&&i&&typeof a=="object"&&typeof i=="object"?Object.keys(i).every(c=>_c(a[c],i[c])):!1}function Oh(a,i){if(a===i)return a;const c=AN(a)&&AN(i);if(c||kh(a)&&kh(i)){const d=c?a:Object.keys(a),p=d.length,g=c?i:Object.keys(i),N=g.length,j=c?[]:{},y=new Set(d);let _=0;for(let V=0;V<N;V++){const f=c?V:g[V];(!c&&y.has(f)||c)&&a[f]===void 0&&i[f]===void 0?(j[f]=void 0,_++):(j[f]=Oh(a[f],i[f]),j[f]===a[f]&&a[f]!==void 0&&_++)}return p===N&&_===p?a:j}return i}function Ld(a,i){if(!i||Object.keys(a).length!==Object.keys(i).length)return!1;for(const c in a)if(a[c]!==i[c])return!1;return!0}function AN(a){return Array.isArray(a)&&a.length===Object.keys(a).length}function kh(a){if(!VN(a))return!1;const i=a.constructor;if(i===void 0)return!0;const c=i.prototype;return!(!VN(c)||!c.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(a)!==Object.prototype)}function VN(a){return Object.prototype.toString.call(a)==="[object Object]"}function eD(a){return new Promise(i=>{setTimeout(i,a)})}function zh(a,i,c){if(typeof c.structuralSharing=="function")return c.structuralSharing(a,i);if(c.structuralSharing!==!1){try{return Oh(a,i)}catch(d){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${c.queryHash}]: ${d}`),d}return Oh(a,i)}return i}function tD(a,i,c=0){const d=[...a,i];return c&&d.length>c?d.slice(1):d}function nD(a,i,c=0){const d=[i,...a];return c&&d.length>c?d.slice(0,-1):d}var qd=Symbol();function g1(a,i){return a.queryFn===qd&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${a.queryHash}'`),!a.queryFn&&(i!=null&&i.initialPromise)?()=>i.initialPromise:!a.queryFn||a.queryFn===qd?()=>Promise.reject(new Error(`Missing queryFn: '${a.queryHash}'`)):a.queryFn}function x1(a,i){return typeof a=="function"?a(...i):!!a}var pi,bo,Va,s1,sD=(s1=class extends Ia{constructor(){super();Ce(this,pi);Ce(this,bo);Ce(this,Va);be(this,Va,i=>{if(!Si&&window.addEventListener){const c=()=>i();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}})}onSubscribe(){D(this,bo)||this.setEventListener(D(this,Va))}onUnsubscribe(){var i;this.hasListeners()||((i=D(this,bo))==null||i.call(this),be(this,bo,void 0))}setEventListener(i){var c;be(this,Va,i),(c=D(this,bo))==null||c.call(this),be(this,bo,i(d=>{typeof d=="boolean"?this.setFocused(d):this.onFocus()}))}setFocused(i){D(this,pi)!==i&&(be(this,pi,i),this.onFocus())}onFocus(){const i=this.isFocused();this.listeners.forEach(c=>{c(i)})}isFocused(){var i;return typeof D(this,pi)=="boolean"?D(this,pi):((i=globalThis.document)==null?void 0:i.visibilityState)!=="hidden"}},pi=new WeakMap,bo=new WeakMap,Va=new WeakMap,s1),rb=new sD,Ma,go,Pa,r1,rD=(r1=class extends Ia{constructor(){super();Ce(this,Ma,!0);Ce(this,go);Ce(this,Pa);be(this,Pa,i=>{if(!Si&&window.addEventListener){const c=()=>i(!0),d=()=>i(!1);return window.addEventListener("online",c,!1),window.addEventListener("offline",d,!1),()=>{window.removeEventListener("online",c),window.removeEventListener("offline",d)}}})}onSubscribe(){D(this,go)||this.setEventListener(D(this,Pa))}onUnsubscribe(){var i;this.hasListeners()||((i=D(this,go))==null||i.call(this),be(this,go,void 0))}setEventListener(i){var c;be(this,Pa,i),(c=D(this,go))==null||c.call(this),be(this,go,i(this.setOnline.bind(this)))}setOnline(i){D(this,Ma)!==i&&(be(this,Ma,i),this.listeners.forEach(d=>{d(i)}))}isOnline(){return D(this,Ma)}},Ma=new WeakMap,go=new WeakMap,Pa=new WeakMap,r1),Fd=new rD;function Hh(){let a,i;const c=new Promise((p,g)=>{a=p,i=g});c.status="pending",c.catch(()=>{});function d(p){Object.assign(c,p),delete c.resolve,delete c.reject}return c.resolve=p=>{d({status:"fulfilled",value:p}),a(p)},c.reject=p=>{d({status:"rejected",reason:p}),i(p)},c}function oD(a){return Math.min(1e3*2**a,3e4)}function v1(a){return(a??"online")==="online"?Fd.isOnline():!0}var y1=class extends Error{constructor(a){super("CancelledError"),this.revert=a==null?void 0:a.revert,this.silent=a==null?void 0:a.silent}};function Uh(a){return a instanceof y1}function N1(a){let i=!1,c=0,d=!1,p;const g=Hh(),N=I=>{var O;d||(x(new y1(I)),(O=a.abort)==null||O.call(a))},j=()=>{i=!0},y=()=>{i=!1},_=()=>rb.isFocused()&&(a.networkMode==="always"||Fd.isOnline())&&a.canRun(),V=()=>v1(a.networkMode)&&a.canRun(),f=I=>{var O;d||(d=!0,(O=a.onSuccess)==null||O.call(a,I),p==null||p(),g.resolve(I))},x=I=>{var O;d||(d=!0,(O=a.onError)==null||O.call(a,I),p==null||p(),g.reject(I))},C=()=>new Promise(I=>{var O;p=Q=>{(d||_())&&I(Q)},(O=a.onPause)==null||O.call(a)}).then(()=>{var I;p=void 0,d||(I=a.onContinue)==null||I.call(a)}),Y=()=>{if(d)return;let I;const O=c===0?a.initialPromise:void 0;try{I=O??a.fn()}catch(Q){I=Promise.reject(Q)}Promise.resolve(I).then(f).catch(Q=>{var de;if(d)return;const xe=a.retry??(Si?0:3),W=a.retryDelay??oD,pe=typeof W=="function"?W(c,Q):W,re=xe===!0||typeof xe=="number"&&c<xe||typeof xe=="function"&&xe(c,Q);if(i||!re){x(Q);return}c++,(de=a.onFail)==null||de.call(a,c,Q),eD(pe).then(()=>_()?void 0:C()).then(()=>{i?x(Q):Y()})})};return{promise:g,cancel:N,continue:()=>(p==null||p(),g),cancelRetry:j,continueRetry:y,canStart:V,start:()=>(V()?Y():C().then(Y),g)}}var iD=a=>setTimeout(a,0);function aD(){let a=[],i=0,c=j=>{j()},d=j=>{j()},p=iD;const g=j=>{i?a.push(j):p(()=>{c(j)})},N=()=>{const j=a;a=[],j.length&&p(()=>{d(()=>{j.forEach(y=>{c(y)})})})};return{batch:j=>{let y;i++;try{y=j()}finally{i--,i||N()}return y},batchCalls:j=>(...y)=>{g(()=>{j(...y)})},schedule:g,setNotifyFunction:j=>{c=j},setBatchNotifyFunction:j=>{d=j},setScheduler:j=>{p=j}}}var Ft=aD(),hi,o1,w1=(o1=class{constructor(){Ce(this,hi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ph(this.gcTime)&&be(this,hi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(a){this.gcTime=Math.max(this.gcTime||0,a??(Si?1/0:5*60*1e3))}clearGcTimeout(){D(this,hi)&&(clearTimeout(D(this,hi)),be(this,hi,void 0))}},hi=new WeakMap,o1),Oa,ka,ds,bi,rn,Cc,gi,ws,Dr,i1,lD=(i1=class extends w1{constructor(i){super();Ce(this,ws);Ce(this,Oa);Ce(this,ka);Ce(this,ds);Ce(this,bi);Ce(this,rn);Ce(this,Cc);Ce(this,gi);be(this,gi,!1),be(this,Cc,i.defaultOptions),this.setOptions(i.options),this.observers=[],be(this,bi,i.client),be(this,ds,D(this,bi).getQueryCache()),this.queryKey=i.queryKey,this.queryHash=i.queryHash,be(this,Oa,cD(this.options)),this.state=i.state??D(this,Oa),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var i;return(i=D(this,rn))==null?void 0:i.promise}setOptions(i){this.options={...D(this,Cc),...i},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,ds).remove(this)}setData(i,c){const d=zh(this.state.data,i,this.options);return Ye(this,ws,Dr).call(this,{data:d,type:"success",dataUpdatedAt:c==null?void 0:c.updatedAt,manual:c==null?void 0:c.manual}),d}setState(i,c){Ye(this,ws,Dr).call(this,{type:"setState",state:i,setStateOptions:c})}cancel(i){var d,p;const c=(d=D(this,rn))==null?void 0:d.promise;return(p=D(this,rn))==null||p.cancel(i),c?c.then(xn).catch(xn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(D(this,Oa))}isActive(){return this.observers.some(i=>Es(i.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(i=>Do(i.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(i=>i.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(i=0){return this.state.data===void 0?!0:i==="static"?!1:this.state.isInvalidated?!0:!b1(this.state.dataUpdatedAt,i)}onFocus(){var c;const i=this.observers.find(d=>d.shouldFetchOnWindowFocus());i==null||i.refetch({cancelRefetch:!1}),(c=D(this,rn))==null||c.continue()}onOnline(){var c;const i=this.observers.find(d=>d.shouldFetchOnReconnect());i==null||i.refetch({cancelRefetch:!1}),(c=D(this,rn))==null||c.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),D(this,ds).notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(c=>c!==i),this.observers.length||(D(this,rn)&&(D(this,gi)?D(this,rn).cancel({revert:!0}):D(this,rn).cancelRetry()),this.scheduleGc()),D(this,ds).notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ye(this,ws,Dr).call(this,{type:"invalidate"})}fetch(i,c){var _,V,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(c!=null&&c.cancelRefetch))this.cancel({silent:!0});else if(D(this,rn))return D(this,rn).continueRetry(),D(this,rn).promise}if(i&&this.setOptions(i),!this.options.queryFn){const x=this.observers.find(C=>C.options.queryFn);x&&this.setOptions(x.options)}Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const d=new AbortController,p=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(be(this,gi,!0),d.signal)})},g=()=>{const x=g1(this.options,c),Y=(()=>{const I={client:D(this,bi),queryKey:this.queryKey,meta:this.meta};return p(I),I})();return be(this,gi,!1),this.options.persister?this.options.persister(x,Y,this):x(Y)},j=(()=>{const x={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:D(this,bi),state:this.state,fetchFn:g};return p(x),x})();(_=this.options.behavior)==null||_.onFetch(j,this),be(this,ka,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((V=j.fetchOptions)==null?void 0:V.meta))&&Ye(this,ws,Dr).call(this,{type:"fetch",meta:(f=j.fetchOptions)==null?void 0:f.meta});const y=x=>{var C,Y,I,O;Uh(x)&&x.silent||Ye(this,ws,Dr).call(this,{type:"error",error:x}),Uh(x)||((Y=(C=D(this,ds).config).onError)==null||Y.call(C,x,this),(O=(I=D(this,ds).config).onSettled)==null||O.call(I,this.state.data,x,this)),this.scheduleGc()};return be(this,rn,N1({initialPromise:c==null?void 0:c.initialPromise,fn:j.fetchFn,abort:d.abort.bind(d),onSuccess:x=>{var C,Y,I,O;if(x===void 0){console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),y(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(Q){y(Q);return}(Y=(C=D(this,ds).config).onSuccess)==null||Y.call(C,x,this),(O=(I=D(this,ds).config).onSettled)==null||O.call(I,x,this.state.error,this),this.scheduleGc()},onError:y,onFail:(x,C)=>{Ye(this,ws,Dr).call(this,{type:"failed",failureCount:x,error:C})},onPause:()=>{Ye(this,ws,Dr).call(this,{type:"pause"})},onContinue:()=>{Ye(this,ws,Dr).call(this,{type:"continue"})},retry:j.options.retry,retryDelay:j.options.retryDelay,networkMode:j.options.networkMode,canRun:()=>!0})),D(this,rn).start()}},Oa=new WeakMap,ka=new WeakMap,ds=new WeakMap,bi=new WeakMap,rn=new WeakMap,Cc=new WeakMap,gi=new WeakMap,ws=new WeakSet,Dr=function(i){const c=d=>{switch(i.type){case"failed":return{...d,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...d,fetchStatus:"paused"};case"continue":return{...d,fetchStatus:"fetching"};case"fetch":return{...d,...S1(d.data,this.options),fetchMeta:i.meta??null};case"success":return{...d,data:i.data,dataUpdateCount:d.dataUpdateCount+1,dataUpdatedAt:i.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const p=i.error;return Uh(p)&&p.revert&&D(this,ka)?{...D(this,ka),fetchStatus:"idle"}:{...d,error:p,errorUpdateCount:d.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:d.fetchFailureCount+1,fetchFailureReason:p,fetchStatus:"idle",status:"error"};case"invalidate":return{...d,isInvalidated:!0};case"setState":return{...d,...i.state}}};this.state=c(this.state),Ft.batch(()=>{this.observers.forEach(d=>{d.onQueryUpdate()}),D(this,ds).notify({query:this,type:"updated",action:i})})},i1);function S1(a,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:v1(i.networkMode)?"fetching":"paused",...a===void 0&&{error:null,status:"pending"}}}function cD(a){const i=typeof a.initialData=="function"?a.initialData():a.initialData,c=i!==void 0,d=c?typeof a.initialDataUpdatedAt=="function"?a.initialDataUpdatedAt():a.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:c?d??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:c?"success":"pending",fetchStatus:"idle"}}var Qs,a1,uD=(a1=class extends Ia{constructor(i={}){super();Ce(this,Qs);this.config=i,be(this,Qs,new Map)}build(i,c,d){const p=c.queryKey,g=c.queryHash??sb(p,c);let N=this.get(g);return N||(N=new lD({client:i,queryKey:p,queryHash:g,options:i.defaultQueryOptions(c),state:d,defaultOptions:i.getQueryDefaults(p)}),this.add(N)),N}add(i){D(this,Qs).has(i.queryHash)||(D(this,Qs).set(i.queryHash,i),this.notify({type:"added",query:i}))}remove(i){const c=D(this,Qs).get(i.queryHash);c&&(i.destroy(),c===i&&D(this,Qs).delete(i.queryHash),this.notify({type:"removed",query:i}))}clear(){Ft.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}get(i){return D(this,Qs).get(i)}getAll(){return[...D(this,Qs).values()]}find(i){const c={exact:!0,...i};return this.getAll().find(d=>CN(c,d))}findAll(i={}){const c=this.getAll();return Object.keys(i).length>0?c.filter(d=>CN(i,d)):c}notify(i){Ft.batch(()=>{this.listeners.forEach(c=>{c(i)})})}onFocus(){Ft.batch(()=>{this.getAll().forEach(i=>{i.onFocus()})})}onOnline(){Ft.batch(()=>{this.getAll().forEach(i=>{i.onOnline()})})}},Qs=new WeakMap,a1),Xs,bn,xi,Zs,ho,l1,dD=(l1=class extends w1{constructor(i){super();Ce(this,Zs);Ce(this,Xs);Ce(this,bn);Ce(this,xi);this.mutationId=i.mutationId,be(this,bn,i.mutationCache),be(this,Xs,[]),this.state=i.state||E1(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options=i,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(i){D(this,Xs).includes(i)||(D(this,Xs).push(i),this.clearGcTimeout(),D(this,bn).notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){be(this,Xs,D(this,Xs).filter(c=>c!==i)),this.scheduleGc(),D(this,bn).notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){D(this,Xs).length||(this.state.status==="pending"?this.scheduleGc():D(this,bn).remove(this))}continue(){var i;return((i=D(this,xi))==null?void 0:i.continue())??this.execute(this.state.variables)}async execute(i){var g,N,j,y,_,V,f,x,C,Y,I,O,Q,xe,W,pe,re,de,ge,J;const c=()=>{Ye(this,Zs,ho).call(this,{type:"continue"})};be(this,xi,N1({fn:()=>this.options.mutationFn?this.options.mutationFn(i):Promise.reject(new Error("No mutationFn found")),onFail:(K,ue)=>{Ye(this,Zs,ho).call(this,{type:"failed",failureCount:K,error:ue})},onPause:()=>{Ye(this,Zs,ho).call(this,{type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,bn).canRun(this)}));const d=this.state.status==="pending",p=!D(this,xi).canStart();try{if(d)c();else{Ye(this,Zs,ho).call(this,{type:"pending",variables:i,isPaused:p}),await((N=(g=D(this,bn).config).onMutate)==null?void 0:N.call(g,i,this));const ue=await((y=(j=this.options).onMutate)==null?void 0:y.call(j,i));ue!==this.state.context&&Ye(this,Zs,ho).call(this,{type:"pending",context:ue,variables:i,isPaused:p})}const K=await D(this,xi).start();return await((V=(_=D(this,bn).config).onSuccess)==null?void 0:V.call(_,K,i,this.state.context,this)),await((x=(f=this.options).onSuccess)==null?void 0:x.call(f,K,i,this.state.context)),await((Y=(C=D(this,bn).config).onSettled)==null?void 0:Y.call(C,K,null,this.state.variables,this.state.context,this)),await((O=(I=this.options).onSettled)==null?void 0:O.call(I,K,null,i,this.state.context)),Ye(this,Zs,ho).call(this,{type:"success",data:K}),K}catch(K){try{throw await((xe=(Q=D(this,bn).config).onError)==null?void 0:xe.call(Q,K,i,this.state.context,this)),await((pe=(W=this.options).onError)==null?void 0:pe.call(W,K,i,this.state.context)),await((de=(re=D(this,bn).config).onSettled)==null?void 0:de.call(re,void 0,K,this.state.variables,this.state.context,this)),await((J=(ge=this.options).onSettled)==null?void 0:J.call(ge,void 0,K,i,this.state.context)),K}finally{Ye(this,Zs,ho).call(this,{type:"error",error:K})}}finally{D(this,bn).runNext(this)}}},Xs=new WeakMap,bn=new WeakMap,xi=new WeakMap,Zs=new WeakSet,ho=function(i){const c=d=>{switch(i.type){case"failed":return{...d,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...d,isPaused:!0};case"continue":return{...d,isPaused:!1};case"pending":return{...d,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:i.isPaused,status:"pending",variables:i.variables,submittedAt:Date.now()};case"success":return{...d,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...d,data:void 0,error:i.error,failureCount:d.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"}}};this.state=c(this.state),Ft.batch(()=>{D(this,Xs).forEach(d=>{d.onMutationUpdate(i)}),D(this,bn).notify({mutation:this,type:"updated",action:i})})},l1);function E1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Tr,Ss,Rc,c1,mD=(c1=class extends Ia{constructor(i={}){super();Ce(this,Tr);Ce(this,Ss);Ce(this,Rc);this.config=i,be(this,Tr,new Set),be(this,Ss,new Map),be(this,Rc,0)}build(i,c,d){const p=new dD({mutationCache:this,mutationId:++Ud(this,Rc)._,options:i.defaultMutationOptions(c),state:d});return this.add(p),p}add(i){D(this,Tr).add(i);const c=Rd(i);if(typeof c=="string"){const d=D(this,Ss).get(c);d?d.push(i):D(this,Ss).set(c,[i])}this.notify({type:"added",mutation:i})}remove(i){if(D(this,Tr).delete(i)){const c=Rd(i);if(typeof c=="string"){const d=D(this,Ss).get(c);if(d)if(d.length>1){const p=d.indexOf(i);p!==-1&&d.splice(p,1)}else d[0]===i&&D(this,Ss).delete(c)}}this.notify({type:"removed",mutation:i})}canRun(i){const c=Rd(i);if(typeof c=="string"){const d=D(this,Ss).get(c),p=d==null?void 0:d.find(g=>g.state.status==="pending");return!p||p===i}else return!0}runNext(i){var d;const c=Rd(i);if(typeof c=="string"){const p=(d=D(this,Ss).get(c))==null?void 0:d.find(g=>g!==i&&g.state.isPaused);return(p==null?void 0:p.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ft.batch(()=>{D(this,Tr).forEach(i=>{this.notify({type:"removed",mutation:i})}),D(this,Tr).clear(),D(this,Ss).clear()})}getAll(){return Array.from(D(this,Tr))}find(i){const c={exact:!0,...i};return this.getAll().find(d=>RN(c,d))}findAll(i={}){return this.getAll().filter(c=>RN(i,c))}notify(i){Ft.batch(()=>{this.listeners.forEach(c=>{c(i)})})}resumePausedMutations(){const i=this.getAll().filter(c=>c.state.isPaused);return Ft.batch(()=>Promise.all(i.map(c=>c.continue().catch(xn))))}},Tr=new WeakMap,Ss=new WeakMap,Rc=new WeakMap,c1);function Rd(a){var i;return(i=a.options.scope)==null?void 0:i.id}function MN(a){return{onFetch:(i,c)=>{var V,f,x,C,Y;const d=i.options,p=(x=(f=(V=i.fetchOptions)==null?void 0:V.meta)==null?void 0:f.fetchMore)==null?void 0:x.direction,g=((C=i.state.data)==null?void 0:C.pages)||[],N=((Y=i.state.data)==null?void 0:Y.pageParams)||[];let j={pages:[],pageParams:[]},y=0;const _=async()=>{let I=!1;const O=W=>{Object.defineProperty(W,"signal",{enumerable:!0,get:()=>(i.signal.aborted?I=!0:i.signal.addEventListener("abort",()=>{I=!0}),i.signal)})},Q=g1(i.options,i.fetchOptions),xe=async(W,pe,re)=>{if(I)return Promise.reject();if(pe==null&&W.pages.length)return Promise.resolve(W);const ge=(()=>{const se={client:i.client,queryKey:i.queryKey,pageParam:pe,direction:re?"backward":"forward",meta:i.options.meta};return O(se),se})(),J=await Q(ge),{maxPages:K}=i.options,ue=re?nD:tD;return{pages:ue(W.pages,J,K),pageParams:ue(W.pageParams,pe,K)}};if(p&&g.length){const W=p==="backward",pe=W?fD:PN,re={pages:g,pageParams:N},de=pe(d,re);j=await xe(re,de,W)}else{const W=a??g.length;do{const pe=y===0?N[0]??d.initialPageParam:PN(d,j);if(y>0&&pe==null)break;j=await xe(j,pe),y++}while(y<W)}return j};i.options.persister?i.fetchFn=()=>{var I,O;return(O=(I=i.options).persister)==null?void 0:O.call(I,_,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},c)}:i.fetchFn=_}}}function PN(a,{pages:i,pageParams:c}){const d=i.length-1;return i.length>0?a.getNextPageParam(i[d],i,c[d],c):void 0}function fD(a,{pages:i,pageParams:c}){var d;return i.length>0?(d=a.getPreviousPageParam)==null?void 0:d.call(a,i[0],i,c[0],c):void 0}var _t,xo,vo,za,Ha,yo,Ba,La,u1,j1=(u1=class{constructor(a={}){Ce(this,_t);Ce(this,xo);Ce(this,vo);Ce(this,za);Ce(this,Ha);Ce(this,yo);Ce(this,Ba);Ce(this,La);be(this,_t,a.queryCache||new uD),be(this,xo,a.mutationCache||new mD),be(this,vo,a.defaultOptions||{}),be(this,za,new Map),be(this,Ha,new Map),be(this,yo,0)}mount(){Ud(this,yo)._++,D(this,yo)===1&&(be(this,Ba,rb.subscribe(async a=>{a&&(await this.resumePausedMutations(),D(this,_t).onFocus())})),be(this,La,Fd.subscribe(async a=>{a&&(await this.resumePausedMutations(),D(this,_t).onOnline())})))}unmount(){var a,i;Ud(this,yo)._--,D(this,yo)===0&&((a=D(this,Ba))==null||a.call(this),be(this,Ba,void 0),(i=D(this,La))==null||i.call(this),be(this,La,void 0))}isFetching(a){return D(this,_t).findAll({...a,fetchStatus:"fetching"}).length}isMutating(a){return D(this,xo).findAll({...a,status:"pending"}).length}getQueryData(a){var c;const i=this.defaultQueryOptions({queryKey:a});return(c=D(this,_t).get(i.queryHash))==null?void 0:c.state.data}ensureQueryData(a){const i=this.defaultQueryOptions(a),c=D(this,_t).build(this,i),d=c.state.data;return d===void 0?this.fetchQuery(a):(a.revalidateIfStale&&c.isStaleByTime(Do(i.staleTime,c))&&this.prefetchQuery(i),Promise.resolve(d))}getQueriesData(a){return D(this,_t).findAll(a).map(({queryKey:i,state:c})=>{const d=c.data;return[i,d]})}setQueryData(a,i,c){const d=this.defaultQueryOptions({queryKey:a}),p=D(this,_t).get(d.queryHash),g=p==null?void 0:p.state.data,N=Wj(i,g);if(N!==void 0)return D(this,_t).build(this,d).setData(N,{...c,manual:!0})}setQueriesData(a,i,c){return Ft.batch(()=>D(this,_t).findAll(a).map(({queryKey:d})=>[d,this.setQueryData(d,i,c)]))}getQueryState(a){var c;const i=this.defaultQueryOptions({queryKey:a});return(c=D(this,_t).get(i.queryHash))==null?void 0:c.state}removeQueries(a){const i=D(this,_t);Ft.batch(()=>{i.findAll(a).forEach(c=>{i.remove(c)})})}resetQueries(a,i){const c=D(this,_t);return Ft.batch(()=>(c.findAll(a).forEach(d=>{d.reset()}),this.refetchQueries({type:"active",...a},i)))}cancelQueries(a,i={}){const c={revert:!0,...i},d=Ft.batch(()=>D(this,_t).findAll(a).map(p=>p.cancel(c)));return Promise.all(d).then(xn).catch(xn)}invalidateQueries(a,i={}){return Ft.batch(()=>(D(this,_t).findAll(a).forEach(c=>{c.invalidate()}),(a==null?void 0:a.refetchType)==="none"?Promise.resolve():this.refetchQueries({...a,type:(a==null?void 0:a.refetchType)??(a==null?void 0:a.type)??"active"},i)))}refetchQueries(a,i={}){const c={...i,cancelRefetch:i.cancelRefetch??!0},d=Ft.batch(()=>D(this,_t).findAll(a).filter(p=>!p.isDisabled()&&!p.isStatic()).map(p=>{let g=p.fetch(void 0,c);return c.throwOnError||(g=g.catch(xn)),p.state.fetchStatus==="paused"?Promise.resolve():g}));return Promise.all(d).then(xn)}fetchQuery(a){const i=this.defaultQueryOptions(a);i.retry===void 0&&(i.retry=!1);const c=D(this,_t).build(this,i);return c.isStaleByTime(Do(i.staleTime,c))?c.fetch(i):Promise.resolve(c.state.data)}prefetchQuery(a){return this.fetchQuery(a).then(xn).catch(xn)}fetchInfiniteQuery(a){return a.behavior=MN(a.pages),this.fetchQuery(a)}prefetchInfiniteQuery(a){return this.fetchInfiniteQuery(a).then(xn).catch(xn)}ensureInfiniteQueryData(a){return a.behavior=MN(a.pages),this.ensureQueryData(a)}resumePausedMutations(){return Fd.isOnline()?D(this,xo).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,_t)}getMutationCache(){return D(this,xo)}getDefaultOptions(){return D(this,vo)}setDefaultOptions(a){be(this,vo,a)}setQueryDefaults(a,i){D(this,za).set(Ei(a),{queryKey:a,defaultOptions:i})}getQueryDefaults(a){const i=[...D(this,za).values()],c={};return i.forEach(d=>{_c(a,d.queryKey)&&Object.assign(c,d.defaultOptions)}),c}setMutationDefaults(a,i){D(this,Ha).set(Ei(a),{mutationKey:a,defaultOptions:i})}getMutationDefaults(a){const i=[...D(this,Ha).values()],c={};return i.forEach(d=>{_c(a,d.mutationKey)&&Object.assign(c,d.defaultOptions)}),c}defaultQueryOptions(a){if(a._defaulted)return a;const i={...D(this,vo).queries,...this.getQueryDefaults(a.queryKey),...a,_defaulted:!0};return i.queryHash||(i.queryHash=sb(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===qd&&(i.enabled=!1),i}defaultMutationOptions(a){return a!=null&&a._defaulted?a:{...D(this,vo).mutations,...(a==null?void 0:a.mutationKey)&&this.getMutationDefaults(a.mutationKey),...a,_defaulted:!0}}clear(){D(this,_t).clear(),D(this,xo).clear()}},_t=new WeakMap,xo=new WeakMap,vo=new WeakMap,za=new WeakMap,Ha=new WeakMap,yo=new WeakMap,Ba=new WeakMap,La=new WeakMap,u1),Un,et,Ac,gn,vi,qa,No,wo,Vc,Fa,Ya,yi,Ni,So,Ga,lt,Tc,Bh,Lh,qh,Fh,Yh,Gh,$h,D1,d1,pD=(d1=class extends Ia{constructor(i,c){super();Ce(this,lt);Ce(this,Un);Ce(this,et);Ce(this,Ac);Ce(this,gn);Ce(this,vi);Ce(this,qa);Ce(this,No);Ce(this,wo);Ce(this,Vc);Ce(this,Fa);Ce(this,Ya);Ce(this,yi);Ce(this,Ni);Ce(this,So);Ce(this,Ga,new Set);this.options=c,be(this,Un,i),be(this,wo,null),be(this,No,Hh()),this.options.experimental_prefetchInRender||D(this,No).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(c)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,et).addObserver(this),ON(D(this,et),this.options)?Ye(this,lt,Tc).call(this):this.updateResult(),Ye(this,lt,Fh).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ih(D(this,et),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ih(D(this,et),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ye(this,lt,Yh).call(this),Ye(this,lt,Gh).call(this),D(this,et).removeObserver(this)}setOptions(i){const c=this.options,d=D(this,et);if(this.options=D(this,Un).defaultQueryOptions(i),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Es(this.options.enabled,D(this,et))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ye(this,lt,$h).call(this),D(this,et).setOptions(this.options),c._defaulted&&!Ld(this.options,c)&&D(this,Un).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,et),observer:this});const p=this.hasListeners();p&&kN(D(this,et),d,this.options,c)&&Ye(this,lt,Tc).call(this),this.updateResult(),p&&(D(this,et)!==d||Es(this.options.enabled,D(this,et))!==Es(c.enabled,D(this,et))||Do(this.options.staleTime,D(this,et))!==Do(c.staleTime,D(this,et)))&&Ye(this,lt,Bh).call(this);const g=Ye(this,lt,Lh).call(this);p&&(D(this,et)!==d||Es(this.options.enabled,D(this,et))!==Es(c.enabled,D(this,et))||g!==D(this,So))&&Ye(this,lt,qh).call(this,g)}getOptimisticResult(i){const c=D(this,Un).getQueryCache().build(D(this,Un),i),d=this.createResult(c,i);return bD(this,d)&&(be(this,gn,d),be(this,qa,this.options),be(this,vi,D(this,et).state)),d}getCurrentResult(){return D(this,gn)}trackResult(i,c){return new Proxy(i,{get:(d,p)=>(this.trackProp(p),c==null||c(p),Reflect.get(d,p))})}trackProp(i){D(this,Ga).add(i)}getCurrentQuery(){return D(this,et)}refetch({...i}={}){return this.fetch({...i})}fetchOptimistic(i){const c=D(this,Un).defaultQueryOptions(i),d=D(this,Un).getQueryCache().build(D(this,Un),c);return d.fetch().then(()=>this.createResult(d,c))}fetch(i){return Ye(this,lt,Tc).call(this,{...i,cancelRefetch:i.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,gn)))}createResult(i,c){var K;const d=D(this,et),p=this.options,g=D(this,gn),N=D(this,vi),j=D(this,qa),_=i!==d?i.state:D(this,Ac),{state:V}=i;let f={...V},x=!1,C;if(c._optimisticResults){const ue=this.hasListeners(),se=!ue&&ON(i,c),we=ue&&kN(i,d,c,p);(se||we)&&(f={...f,...S1(V.data,i.options)}),c._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:Y,errorUpdatedAt:I,status:O}=f;C=f.data;let Q=!1;if(c.placeholderData!==void 0&&C===void 0&&O==="pending"){let ue;g!=null&&g.isPlaceholderData&&c.placeholderData===(j==null?void 0:j.placeholderData)?(ue=g.data,Q=!0):ue=typeof c.placeholderData=="function"?c.placeholderData((K=D(this,Ya))==null?void 0:K.state.data,D(this,Ya)):c.placeholderData,ue!==void 0&&(O="success",C=zh(g==null?void 0:g.data,ue,c),x=!0)}if(c.select&&C!==void 0&&!Q)if(g&&C===(N==null?void 0:N.data)&&c.select===D(this,Vc))C=D(this,Fa);else try{be(this,Vc,c.select),C=c.select(C),C=zh(g==null?void 0:g.data,C,c),be(this,Fa,C),be(this,wo,null)}catch(ue){be(this,wo,ue)}D(this,wo)&&(Y=D(this,wo),C=D(this,Fa),I=Date.now(),O="error");const xe=f.fetchStatus==="fetching",W=O==="pending",pe=O==="error",re=W&&xe,de=C!==void 0,J={status:O,fetchStatus:f.fetchStatus,isPending:W,isSuccess:O==="success",isError:pe,isInitialLoading:re,isLoading:re,data:C,dataUpdatedAt:f.dataUpdatedAt,error:Y,errorUpdatedAt:I,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>_.dataUpdateCount||f.errorUpdateCount>_.errorUpdateCount,isFetching:xe,isRefetching:xe&&!W,isLoadingError:pe&&!de,isPaused:f.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:pe&&de,isStale:ob(i,c),refetch:this.refetch,promise:D(this,No)};if(this.options.experimental_prefetchInRender){const ue=X=>{J.status==="error"?X.reject(J.error):J.data!==void 0&&X.resolve(J.data)},se=()=>{const X=be(this,No,J.promise=Hh());ue(X)},we=D(this,No);switch(we.status){case"pending":i.queryHash===d.queryHash&&ue(we);break;case"fulfilled":(J.status==="error"||J.data!==we.value)&&se();break;case"rejected":(J.status!=="error"||J.error!==we.reason)&&se();break}}return J}updateResult(){const i=D(this,gn),c=this.createResult(D(this,et),this.options);if(be(this,vi,D(this,et).state),be(this,qa,this.options),D(this,vi).data!==void 0&&be(this,Ya,D(this,et)),Ld(c,i))return;be(this,gn,c);const d=()=>{if(!i)return!0;const{notifyOnChangeProps:p}=this.options,g=typeof p=="function"?p():p;if(g==="all"||!g&&!D(this,Ga).size)return!0;const N=new Set(g??D(this,Ga));return this.options.throwOnError&&N.add("error"),Object.keys(D(this,gn)).some(j=>{const y=j;return D(this,gn)[y]!==i[y]&&N.has(y)})};Ye(this,lt,D1).call(this,{listeners:d()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ye(this,lt,Fh).call(this)}},Un=new WeakMap,et=new WeakMap,Ac=new WeakMap,gn=new WeakMap,vi=new WeakMap,qa=new WeakMap,No=new WeakMap,wo=new WeakMap,Vc=new WeakMap,Fa=new WeakMap,Ya=new WeakMap,yi=new WeakMap,Ni=new WeakMap,So=new WeakMap,Ga=new WeakMap,lt=new WeakSet,Tc=function(i){Ye(this,lt,$h).call(this);let c=D(this,et).fetch(this.options,i);return i!=null&&i.throwOnError||(c=c.catch(xn)),c},Bh=function(){Ye(this,lt,Yh).call(this);const i=Do(this.options.staleTime,D(this,et));if(Si||D(this,gn).isStale||!Ph(i))return;const d=b1(D(this,gn).dataUpdatedAt,i)+1;be(this,yi,setTimeout(()=>{D(this,gn).isStale||this.updateResult()},d))},Lh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,et)):this.options.refetchInterval)??!1},qh=function(i){Ye(this,lt,Gh).call(this),be(this,So,i),!(Si||Es(this.options.enabled,D(this,et))===!1||!Ph(D(this,So))||D(this,So)===0)&&be(this,Ni,setInterval(()=>{(this.options.refetchIntervalInBackground||rb.isFocused())&&Ye(this,lt,Tc).call(this)},D(this,So)))},Fh=function(){Ye(this,lt,Bh).call(this),Ye(this,lt,qh).call(this,Ye(this,lt,Lh).call(this))},Yh=function(){D(this,yi)&&(clearTimeout(D(this,yi)),be(this,yi,void 0))},Gh=function(){D(this,Ni)&&(clearInterval(D(this,Ni)),be(this,Ni,void 0))},$h=function(){const i=D(this,Un).getQueryCache().build(D(this,Un),this.options);if(i===D(this,et))return;const c=D(this,et);be(this,et,i),be(this,Ac,i.state),this.hasListeners()&&(c==null||c.removeObserver(this),i.addObserver(this))},D1=function(i){Ft.batch(()=>{i.listeners&&this.listeners.forEach(c=>{c(D(this,gn))}),D(this,Un).getQueryCache().notify({query:D(this,et),type:"observerResultsUpdated"})})},d1);function hD(a,i){return Es(i.enabled,a)!==!1&&a.state.data===void 0&&!(a.state.status==="error"&&i.retryOnMount===!1)}function ON(a,i){return hD(a,i)||a.state.data!==void 0&&Ih(a,i,i.refetchOnMount)}function Ih(a,i,c){if(Es(i.enabled,a)!==!1&&Do(i.staleTime,a)!=="static"){const d=typeof c=="function"?c(a):c;return d==="always"||d!==!1&&ob(a,i)}return!1}function kN(a,i,c,d){return(a!==i||Es(d.enabled,a)===!1)&&(!c.suspense||a.state.status!=="error")&&ob(a,c)}function ob(a,i){return Es(i.enabled,a)!==!1&&a.isStaleByTime(Do(i.staleTime,a))}function bD(a,i){return!Ld(a.getCurrentResult(),i)}var Eo,jo,Cn,_r,Ar,kd,Qh,m1,gD=(m1=class extends Ia{constructor(c,d){super();Ce(this,Ar);Ce(this,Eo);Ce(this,jo);Ce(this,Cn);Ce(this,_r);be(this,Eo,c),this.setOptions(d),this.bindMethods(),Ye(this,Ar,kd).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(c){var p;const d=this.options;this.options=D(this,Eo).defaultMutationOptions(c),Ld(this.options,d)||D(this,Eo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:D(this,Cn),observer:this}),d!=null&&d.mutationKey&&this.options.mutationKey&&Ei(d.mutationKey)!==Ei(this.options.mutationKey)?this.reset():((p=D(this,Cn))==null?void 0:p.state.status)==="pending"&&D(this,Cn).setOptions(this.options)}onUnsubscribe(){var c;this.hasListeners()||(c=D(this,Cn))==null||c.removeObserver(this)}onMutationUpdate(c){Ye(this,Ar,kd).call(this),Ye(this,Ar,Qh).call(this,c)}getCurrentResult(){return D(this,jo)}reset(){var c;(c=D(this,Cn))==null||c.removeObserver(this),be(this,Cn,void 0),Ye(this,Ar,kd).call(this),Ye(this,Ar,Qh).call(this)}mutate(c,d){var p;return be(this,_r,d),(p=D(this,Cn))==null||p.removeObserver(this),be(this,Cn,D(this,Eo).getMutationCache().build(D(this,Eo),this.options)),D(this,Cn).addObserver(this),D(this,Cn).execute(c)}},Eo=new WeakMap,jo=new WeakMap,Cn=new WeakMap,_r=new WeakMap,Ar=new WeakSet,kd=function(){var d;const c=((d=D(this,Cn))==null?void 0:d.state)??E1();be(this,jo,{...c,isPending:c.status==="pending",isSuccess:c.status==="success",isError:c.status==="error",isIdle:c.status==="idle",mutate:this.mutate,reset:this.reset})},Qh=function(c){Ft.batch(()=>{var d,p,g,N,j,y,_,V;if(D(this,_r)&&this.hasListeners()){const f=D(this,jo).variables,x=D(this,jo).context;(c==null?void 0:c.type)==="success"?((p=(d=D(this,_r)).onSuccess)==null||p.call(d,c.data,f,x),(N=(g=D(this,_r)).onSettled)==null||N.call(g,c.data,null,f,x)):(c==null?void 0:c.type)==="error"&&((y=(j=D(this,_r)).onError)==null||y.call(j,c.error,f,x),(V=(_=D(this,_r)).onSettled)==null||V.call(_,void 0,c.error,f,x))}this.listeners.forEach(f=>{f(D(this,jo))})})},m1),Ch={exports:{}},Sc={},zN;function xD(){if(zN)return Sc;zN=1;/**
|
|
272
|
-
* @license React
|
|
273
|
-
* react-jsx-runtime.development.js
|
|
274
|
-
*
|
|
275
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
276
|
-
*
|
|
277
|
-
* This source code is licensed under the MIT license found in the
|
|
278
|
-
* LICENSE file in the root directory of this source tree.
|
|
279
|
-
*/return function(){function a(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ue?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case I:return"Fragment";case Q:return"Profiler";case O:return"StrictMode";case re:return"Suspense";case de:return"SuspenseList";case K:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case Y:return"Portal";case W:return(w.displayName||"Context")+".Provider";case xe:return(w._context.displayName||"Context")+".Consumer";case pe:var F=w.render;return w=w.displayName,w||(w=F.displayName||F.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case ge:return F=w.displayName||null,F!==null?F:a(w.type)||"Memo";case J:F=w._payload,w=w._init;try{return a(w(F))}catch{}}return null}function i(w){return""+w}function c(w){try{i(w);var F=!1}catch{F=!0}if(F){F=console;var Z=F.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return Z.call(F,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),i(w)}}function d(w){if(w===I)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===J)return"<...>";try{var F=a(w);return F?"<"+F+">":"<...>"}catch{return"<...>"}}function p(){var w=se.A;return w===null?null:w.getOwner()}function g(){return Error("react-stack-top-frame")}function N(w){if(we.call(w,"key")){var F=Object.getOwnPropertyDescriptor(w,"key").get;if(F&&F.isReactWarning)return!1}return w.key!==void 0}function j(w,F){function Z(){A||(A=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",F))}Z.isReactWarning=!0,Object.defineProperty(w,"key",{get:Z,configurable:!0})}function y(){var w=a(this.type);return T[w]||(T[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function _(w,F,Z,oe,De,Oe,ve,Ge){return Z=Oe.ref,w={$$typeof:C,type:w,key:F,props:Oe,_owner:De},(Z!==void 0?Z:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:y}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ve}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ge}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function V(w,F,Z,oe,De,Oe,ve,Ge){var he=F.children;if(he!==void 0)if(oe)if(X(he)){for(oe=0;oe<he.length;oe++)f(he[oe]);Object.freeze&&Object.freeze(he)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(he);if(we.call(F,"key")){he=a(w);var He=Object.keys(F).filter(function(Ut){return Ut!=="key"});oe=0<He.length?"{key: someKey, "+He.join(": ..., ")+": ...}":"{key: someKey}",ae[he+oe]||(He=0<He.length?"{"+He.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
280
|
-
let props = %s;
|
|
281
|
-
<%s {...props} />
|
|
282
|
-
React keys must be passed directly to JSX without using spread:
|
|
283
|
-
let props = %s;
|
|
284
|
-
<%s key={someKey} {...props} />`,oe,he,He,he),ae[he+oe]=!0)}if(he=null,Z!==void 0&&(c(Z),he=""+Z),N(F)&&(c(F.key),he=""+F.key),"key"in F){Z={};for(var Qe in F)Qe!=="key"&&(Z[Qe]=F[Qe])}else Z=F;return he&&j(Z,typeof w=="function"?w.displayName||w.name||"Unknown":w),_(w,he,Oe,De,p(),Z,ve,Ge)}function f(w){typeof w=="object"&&w!==null&&w.$$typeof===C&&w._store&&(w._store.validated=1)}var x=Mc(),C=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),W=Symbol.for("react.context"),pe=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),ue=Symbol.for("react.client.reference"),se=x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,we=Object.prototype.hasOwnProperty,X=Array.isArray,ee=console.createTask?console.createTask:function(){return null};x={"react-stack-bottom-frame":function(w){return w()}};var A,T={},k=x["react-stack-bottom-frame"].bind(x,g)(),z=ee(d(g)),ae={};Sc.Fragment=I,Sc.jsx=function(w,F,Z,oe,De){var Oe=1e4>se.recentlyCreatedOwnerStacks++;return V(w,F,Z,!1,oe,De,Oe?Error("react-stack-top-frame"):k,Oe?ee(d(w)):z)},Sc.jsxs=function(w,F,Z,oe,De){var Oe=1e4>se.recentlyCreatedOwnerStacks++;return V(w,F,Z,!0,oe,De,Oe?Error("react-stack-top-frame"):k,Oe?ee(d(w)):z)}}(),Sc}var HN;function vD(){return HN||(HN=1,Ch.exports=xD()),Ch.exports}var jt=vD(),T1=H.createContext(void 0),Qa=a=>{const i=H.useContext(T1);if(!i)throw new Error("No QueryClient set, use QueryClientProvider to set one");return i},Xh=({client:a,children:i})=>(H.useEffect(()=>(a.mount(),()=>{a.unmount()}),[a]),jt.jsx(T1.Provider,{value:a,children:i})),_1=H.createContext(!1),yD=()=>H.useContext(_1);_1.Provider;function ND(){let a=!1;return{clearReset:()=>{a=!1},reset:()=>{a=!0},isReset:()=>a}}var wD=H.createContext(ND()),SD=()=>H.useContext(wD),ED=(a,i)=>{(a.suspense||a.throwOnError||a.experimental_prefetchInRender)&&(i.isReset()||(a.retryOnMount=!1))},jD=a=>{H.useEffect(()=>{a.clearReset()},[a])},DD=({result:a,errorResetBoundary:i,throwOnError:c,query:d,suspense:p})=>a.isError&&!i.isReset()&&!a.isFetching&&d&&(p&&a.data===void 0||x1(c,[a.error,d])),TD=a=>{if(a.suspense){const i=d=>d==="static"?d:Math.max(d??1e3,1e3),c=a.staleTime;a.staleTime=typeof c=="function"?(...d)=>i(c(...d)):i(c),typeof a.gcTime=="number"&&(a.gcTime=Math.max(a.gcTime,1e3))}},_D=(a,i)=>a.isLoading&&a.isFetching&&!i,UD=(a,i)=>(a==null?void 0:a.suspense)&&i.isPending,BN=(a,i,c)=>i.fetchOptimistic(a).catch(()=>{c.clearReset()});function CD(a,i,c){var f,x,C,Y,I;if(typeof a!="object"||Array.isArray(a))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const d=yD(),p=SD(),g=Qa(),N=g.defaultQueryOptions(a);(x=(f=g.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||x.call(f,N),N.queryFn||console.error(`[${N.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),N._optimisticResults=d?"isRestoring":"optimistic",TD(N),ED(N,p),jD(p);const j=!g.getQueryCache().get(N.queryHash),[y]=H.useState(()=>new i(g,N)),_=y.getOptimisticResult(N),V=!d&&a.subscribed!==!1;if(H.useSyncExternalStore(H.useCallback(O=>{const Q=V?y.subscribe(Ft.batchCalls(O)):xn;return y.updateResult(),Q},[y,V]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),H.useEffect(()=>{y.setOptions(N)},[N,y]),UD(N,_))throw BN(N,y,p);if(DD({result:_,errorResetBoundary:p,throwOnError:N.throwOnError,query:g.getQueryCache().get(N.queryHash),suspense:N.suspense}))throw _.error;if((Y=(C=g.getDefaultOptions().queries)==null?void 0:C._experimental_afterQuery)==null||Y.call(C,N,_),N.experimental_prefetchInRender&&!Si&&_D(_,d)){const O=j?BN(N,y,p):(I=g.getQueryCache().get(N.queryHash))==null?void 0:I.promise;O==null||O.catch(xn).finally(()=>{y.updateResult()})}return N.notifyOnChangeProps?_:y.trackResult(_)}function js(a,i){return CD(a,pD)}function fi(a,i){const c=Qa(),[d]=H.useState(()=>new gD(c,a));H.useEffect(()=>{d.setOptions(a)},[d,a]);const p=H.useSyncExternalStore(H.useCallback(N=>d.subscribe(Ft.batchCalls(N)),[d]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),g=H.useCallback((N,j)=>{d.mutate(N,j).catch(xn)},[d]);if(p.error&&x1(d.options.throwOnError,[p.error]))throw p.error;return{...p,mutate:g,mutateAsync:p.mutate}}var RD=h1();const AD=f1(RD);function VD(a){if(typeof document>"u")return;let i=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",i.appendChild(c),c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a))}const MD=a=>{switch(a){case"success":return kD;case"info":return HD;case"warning":return zD;case"error":return BD;default:return null}},PD=Array(12).fill(0),OD=({visible:a,className:i})=>ie.createElement("div",{className:["sonner-loading-wrapper",i].filter(Boolean).join(" "),"data-visible":a},ie.createElement("div",{className:"sonner-spinner"},PD.map((c,d)=>ie.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${d}`})))),kD=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),zD=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),HD=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),BD=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ie.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),LD=ie.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ie.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ie.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),qD=()=>{const[a,i]=ie.useState(document.hidden);return ie.useEffect(()=>{const c=()=>{i(document.hidden)};return document.addEventListener("visibilitychange",c),()=>window.removeEventListener("visibilitychange",c)},[]),a};let Zh=1;class FD{constructor(){this.subscribe=i=>(this.subscribers.push(i),()=>{const c=this.subscribers.indexOf(i);this.subscribers.splice(c,1)}),this.publish=i=>{this.subscribers.forEach(c=>c(i))},this.addToast=i=>{this.publish(i),this.toasts=[...this.toasts,i]},this.create=i=>{var c;const{message:d,...p}=i,g=typeof(i==null?void 0:i.id)=="number"||((c=i.id)==null?void 0:c.length)>0?i.id:Zh++,N=this.toasts.find(y=>y.id===g),j=i.dismissible===void 0?!0:i.dismissible;return this.dismissedToasts.has(g)&&this.dismissedToasts.delete(g),N?this.toasts=this.toasts.map(y=>y.id===g?(this.publish({...y,...i,id:g,title:d}),{...y,...i,id:g,dismissible:j,title:d}):y):this.addToast({title:d,...p,dismissible:j,id:g}),g},this.dismiss=i=>(i?(this.dismissedToasts.add(i),requestAnimationFrame(()=>this.subscribers.forEach(c=>c({id:i,dismiss:!0})))):this.toasts.forEach(c=>{this.subscribers.forEach(d=>d({id:c.id,dismiss:!0}))}),i),this.message=(i,c)=>this.create({...c,message:i}),this.error=(i,c)=>this.create({...c,message:i,type:"error"}),this.success=(i,c)=>this.create({...c,type:"success",message:i}),this.info=(i,c)=>this.create({...c,type:"info",message:i}),this.warning=(i,c)=>this.create({...c,type:"warning",message:i}),this.loading=(i,c)=>this.create({...c,type:"loading",message:i}),this.promise=(i,c)=>{if(!c)return;let d;c.loading!==void 0&&(d=this.create({...c,promise:i,type:"loading",message:c.loading,description:typeof c.description!="function"?c.description:void 0}));const p=Promise.resolve(i instanceof Function?i():i);let g=d!==void 0,N;const j=p.then(async _=>{if(N=["resolve",_],ie.isValidElement(_))g=!1,this.create({id:d,type:"default",message:_});else if(GD(_)&&!_.ok){g=!1;const f=typeof c.error=="function"?await c.error(`HTTP error! status: ${_.status}`):c.error,x=typeof c.description=="function"?await c.description(`HTTP error! status: ${_.status}`):c.description,Y=typeof f=="object"&&!ie.isValidElement(f)?f:{message:f};this.create({id:d,type:"error",description:x,...Y})}else if(_ instanceof Error){g=!1;const f=typeof c.error=="function"?await c.error(_):c.error,x=typeof c.description=="function"?await c.description(_):c.description,Y=typeof f=="object"&&!ie.isValidElement(f)?f:{message:f};this.create({id:d,type:"error",description:x,...Y})}else if(c.success!==void 0){g=!1;const f=typeof c.success=="function"?await c.success(_):c.success,x=typeof c.description=="function"?await c.description(_):c.description,Y=typeof f=="object"&&!ie.isValidElement(f)?f:{message:f};this.create({id:d,type:"success",description:x,...Y})}}).catch(async _=>{if(N=["reject",_],c.error!==void 0){g=!1;const V=typeof c.error=="function"?await c.error(_):c.error,f=typeof c.description=="function"?await c.description(_):c.description,C=typeof V=="object"&&!ie.isValidElement(V)?V:{message:V};this.create({id:d,type:"error",description:f,...C})}}).finally(()=>{g&&(this.dismiss(d),d=void 0),c.finally==null||c.finally.call(c)}),y=()=>new Promise((_,V)=>j.then(()=>N[0]==="reject"?V(N[1]):_(N[1])).catch(V));return typeof d!="string"&&typeof d!="number"?{unwrap:y}:Object.assign(d,{unwrap:y})},this.custom=(i,c)=>{const d=(c==null?void 0:c.id)||Zh++;return this.create({jsx:i(d),id:d,...c}),d},this.getActiveToasts=()=>this.toasts.filter(i=>!this.dismissedToasts.has(i.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Rn=new FD,YD=(a,i)=>{const c=(i==null?void 0:i.id)||Zh++;return Rn.addToast({title:a,...i,id:c}),c},GD=a=>a&&typeof a=="object"&&"ok"in a&&typeof a.ok=="boolean"&&"status"in a&&typeof a.status=="number",$D=YD,ID=()=>Rn.toasts,QD=()=>Rn.getActiveToasts(),ot=Object.assign($D,{success:Rn.success,info:Rn.info,warning:Rn.warning,error:Rn.error,custom:Rn.custom,message:Rn.message,promise:Rn.promise,dismiss:Rn.dismiss,loading:Rn.loading},{getHistory:ID,getToasts:QD});VD("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Ad(a){return a.label!==void 0}const XD=3,ZD="24px",KD="16px",LN=4e3,JD=356,WD=14,eT=45,tT=200;function Is(...a){return a.filter(Boolean).join(" ")}function nT(a){const[i,c]=a.split("-"),d=[];return i&&d.push(i),c&&d.push(c),d}const sT=a=>{var i,c,d,p,g,N,j,y,_;const{invert:V,toast:f,unstyled:x,interacting:C,setHeights:Y,visibleToasts:I,heights:O,index:Q,toasts:xe,expanded:W,removeToast:pe,defaultRichColors:re,closeButton:de,style:ge,cancelButtonStyle:J,actionButtonStyle:K,className:ue="",descriptionClassName:se="",duration:we,position:X,gap:ee,expandByDefault:A,classNames:T,icons:k,closeButtonAriaLabel:z="Close toast"}=a,[ae,w]=ie.useState(null),[F,Z]=ie.useState(null),[oe,De]=ie.useState(!1),[Oe,ve]=ie.useState(!1),[Ge,he]=ie.useState(!1),[He,Qe]=ie.useState(!1),[Ut,on]=ie.useState(!1),[Vn,Vr]=ie.useState(0),[To,St]=ie.useState(0),an=ie.useRef(f.duration||we||LN),ms=ie.useRef(null),Mn=ie.useRef(null),Le=Q===0,Js=Q+1<=I,Pt=f.type,ln=f.dismissible!==!1,ji=f.className||"",_o=f.descriptionClassName||"",Ws=ie.useMemo(()=>O.findIndex(me=>me.toastId===f.id)||0,[O,f.id]),Uo=ie.useMemo(()=>{var me;return(me=f.closeButton)!=null?me:de},[f.closeButton,de]),Mr=ie.useMemo(()=>f.duration||we||LN,[f.duration,we]),er=ie.useRef(0),Pn=ie.useRef(0),Pr=ie.useRef(0),On=ie.useRef(null),[_s,kn]=X.split("-"),vn=ie.useMemo(()=>O.reduce((me,Te,We)=>We>=Ws?me:me+Te.height,0),[O,Ws]),fs=qD(),h=f.invert||V,R=Pt==="loading";Pn.current=ie.useMemo(()=>Ws*ee+vn,[Ws,vn]),ie.useEffect(()=>{an.current=Mr},[Mr]),ie.useEffect(()=>{De(!0)},[]),ie.useEffect(()=>{const me=Mn.current;if(me){const Te=me.getBoundingClientRect().height;return St(Te),Y(We=>[{toastId:f.id,height:Te,position:f.position},...We]),()=>Y(We=>We.filter(Et=>Et.toastId!==f.id))}},[Y,f.id]),ie.useLayoutEffect(()=>{if(!oe)return;const me=Mn.current,Te=me.style.height;me.style.height="auto";const We=me.getBoundingClientRect().height;me.style.height=Te,St(We),Y(Et=>Et.find(Ct=>Ct.toastId===f.id)?Et.map(Ct=>Ct.toastId===f.id?{...Ct,height:We}:Ct):[{toastId:f.id,height:We,position:f.position},...Et])},[oe,f.title,f.description,Y,f.id,f.jsx,f.action,f.cancel]);const te=ie.useCallback(()=>{ve(!0),Vr(Pn.current),Y(me=>me.filter(Te=>Te.toastId!==f.id)),setTimeout(()=>{pe(f)},tT)},[f,pe,Y,Pn]);ie.useEffect(()=>{if(f.promise&&Pt==="loading"||f.duration===1/0||f.type==="loading")return;let me;return W||C||fs?(()=>{if(Pr.current<er.current){const Et=new Date().getTime()-er.current;an.current=an.current-Et}Pr.current=new Date().getTime()})():(()=>{an.current!==1/0&&(er.current=new Date().getTime(),me=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),te()},an.current))})(),()=>clearTimeout(me)},[W,C,f,Pt,fs,te]),ie.useEffect(()=>{f.delete&&(te(),f.onDismiss==null||f.onDismiss.call(f,f))},[te,f.delete]);function ce(){var me;if(k!=null&&k.loading){var Te;return ie.createElement("div",{className:Is(T==null?void 0:T.loader,f==null||(Te=f.classNames)==null?void 0:Te.loader,"sonner-loader"),"data-visible":Pt==="loading"},k.loading)}return ie.createElement(OD,{className:Is(T==null?void 0:T.loader,f==null||(me=f.classNames)==null?void 0:me.loader),visible:Pt==="loading"})}const je=f.icon||(k==null?void 0:k[Pt])||MD(Pt);var ke,Ve;return ie.createElement("li",{tabIndex:0,ref:Mn,className:Is(ue,ji,T==null?void 0:T.toast,f==null||(i=f.classNames)==null?void 0:i.toast,T==null?void 0:T.default,T==null?void 0:T[Pt],f==null||(c=f.classNames)==null?void 0:c[Pt]),"data-sonner-toast":"","data-rich-colors":(ke=f.richColors)!=null?ke:re,"data-styled":!(f.jsx||f.unstyled||x),"data-mounted":oe,"data-promise":!!f.promise,"data-swiped":Ut,"data-removed":Oe,"data-visible":Js,"data-y-position":_s,"data-x-position":kn,"data-index":Q,"data-front":Le,"data-swiping":Ge,"data-dismissible":ln,"data-type":Pt,"data-invert":h,"data-swipe-out":He,"data-swipe-direction":F,"data-expanded":!!(W||A&&oe),style:{"--index":Q,"--toasts-before":Q,"--z-index":xe.length-Q,"--offset":`${Oe?Vn:Pn.current}px`,"--initial-height":A?"auto":`${To}px`,...ge,...f.style},onDragEnd:()=>{he(!1),w(null),On.current=null},onPointerDown:me=>{R||!ln||(ms.current=new Date,Vr(Pn.current),me.target.setPointerCapture(me.pointerId),me.target.tagName!=="BUTTON"&&(he(!0),On.current={x:me.clientX,y:me.clientY}))},onPointerUp:()=>{var me,Te,We;if(He||!ln)return;On.current=null;const Et=Number(((me=Mn.current)==null?void 0:me.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Or=Number(((Te=Mn.current)==null?void 0:Te.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ct=new Date().getTime()-((We=ms.current)==null?void 0:We.getTime()),xt=ae==="x"?Et:Or,kr=Math.abs(xt)/Ct;if(Math.abs(xt)>=eT||kr>.11){Vr(Pn.current),f.onDismiss==null||f.onDismiss.call(f,f),Z(ae==="x"?Et>0?"right":"left":Or>0?"down":"up"),te(),Qe(!0);return}else{var yn,zn;(yn=Mn.current)==null||yn.style.setProperty("--swipe-amount-x","0px"),(zn=Mn.current)==null||zn.style.setProperty("--swipe-amount-y","0px")}on(!1),he(!1),w(null)},onPointerMove:me=>{var Te,We,Et;if(!On.current||!ln||((Te=window.getSelection())==null?void 0:Te.toString().length)>0)return;const Ct=me.clientY-On.current.y,xt=me.clientX-On.current.x;var kr;const yn=(kr=a.swipeDirections)!=null?kr:nT(X);!ae&&(Math.abs(xt)>1||Math.abs(Ct)>1)&&w(Math.abs(xt)>Math.abs(Ct)?"x":"y");let zn={x:0,y:0};const Ja=Us=>1/(1.5+Math.abs(Us)/20);if(ae==="y"){if(yn.includes("top")||yn.includes("bottom"))if(yn.includes("top")&&Ct<0||yn.includes("bottom")&&Ct>0)zn.y=Ct;else{const Us=Ct*Ja(Ct);zn.y=Math.abs(Us)<Math.abs(Ct)?Us:Ct}}else if(ae==="x"&&(yn.includes("left")||yn.includes("right")))if(yn.includes("left")&&xt<0||yn.includes("right")&&xt>0)zn.x=xt;else{const Us=xt*Ja(xt);zn.x=Math.abs(Us)<Math.abs(xt)?Us:xt}(Math.abs(zn.x)>0||Math.abs(zn.y)>0)&&on(!0),(We=Mn.current)==null||We.style.setProperty("--swipe-amount-x",`${zn.x}px`),(Et=Mn.current)==null||Et.style.setProperty("--swipe-amount-y",`${zn.y}px`)}},Uo&&!f.jsx&&Pt!=="loading"?ie.createElement("button",{"aria-label":z,"data-disabled":R,"data-close-button":!0,onClick:R||!ln?()=>{}:()=>{te(),f.onDismiss==null||f.onDismiss.call(f,f)},className:Is(T==null?void 0:T.closeButton,f==null||(d=f.classNames)==null?void 0:d.closeButton)},(Ve=k==null?void 0:k.close)!=null?Ve:LD):null,(Pt||f.icon||f.promise)&&f.icon!==null&&((k==null?void 0:k[Pt])!==null||f.icon)?ie.createElement("div",{"data-icon":"",className:Is(T==null?void 0:T.icon,f==null||(p=f.classNames)==null?void 0:p.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||ce():null,f.type!=="loading"?je:null):null,ie.createElement("div",{"data-content":"",className:Is(T==null?void 0:T.content,f==null||(g=f.classNames)==null?void 0:g.content)},ie.createElement("div",{"data-title":"",className:Is(T==null?void 0:T.title,f==null||(N=f.classNames)==null?void 0:N.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?ie.createElement("div",{"data-description":"",className:Is(se,_o,T==null?void 0:T.description,f==null||(j=f.classNames)==null?void 0:j.description)},typeof f.description=="function"?f.description():f.description):null),ie.isValidElement(f.cancel)?f.cancel:f.cancel&&Ad(f.cancel)?ie.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||J,onClick:me=>{Ad(f.cancel)&&ln&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,me),te())},className:Is(T==null?void 0:T.cancelButton,f==null||(y=f.classNames)==null?void 0:y.cancelButton)},f.cancel.label):null,ie.isValidElement(f.action)?f.action:f.action&&Ad(f.action)?ie.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||K,onClick:me=>{Ad(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,me),!me.defaultPrevented&&te())},className:Is(T==null?void 0:T.actionButton,f==null||(_=f.classNames)==null?void 0:_.actionButton)},f.action.label):null)};function qN(){if(typeof window>"u"||typeof document>"u")return"ltr";const a=document.documentElement.getAttribute("dir");return a==="auto"||!a?window.getComputedStyle(document.documentElement).direction:a}function rT(a,i){const c={};return[a,i].forEach((d,p)=>{const g=p===1,N=g?"--mobile-offset":"--offset",j=g?KD:ZD;function y(_){["top","right","bottom","left"].forEach(V=>{c[`${N}-${V}`]=typeof _=="number"?`${_}px`:_})}typeof d=="number"||typeof d=="string"?y(d):typeof d=="object"?["top","right","bottom","left"].forEach(_=>{d[_]===void 0?c[`${N}-${_}`]=j:c[`${N}-${_}`]=typeof d[_]=="number"?`${d[_]}px`:d[_]}):y(j)}),c}const U1=ie.forwardRef(function(i,c){const{invert:d,position:p="bottom-right",hotkey:g=["altKey","KeyT"],expand:N,closeButton:j,className:y,offset:_,mobileOffset:V,theme:f="light",richColors:x,duration:C,style:Y,visibleToasts:I=XD,toastOptions:O,dir:Q=qN(),gap:xe=WD,icons:W,containerAriaLabel:pe="Notifications"}=i,[re,de]=ie.useState([]),ge=ie.useMemo(()=>Array.from(new Set([p].concat(re.filter(F=>F.position).map(F=>F.position)))),[re,p]),[J,K]=ie.useState([]),[ue,se]=ie.useState(!1),[we,X]=ie.useState(!1),[ee,A]=ie.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),T=ie.useRef(null),k=g.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=ie.useRef(null),ae=ie.useRef(!1),w=ie.useCallback(F=>{de(Z=>{var oe;return(oe=Z.find(De=>De.id===F.id))!=null&&oe.delete||Rn.dismiss(F.id),Z.filter(({id:De})=>De!==F.id)})},[]);return ie.useEffect(()=>Rn.subscribe(F=>{if(F.dismiss){requestAnimationFrame(()=>{de(Z=>Z.map(oe=>oe.id===F.id?{...oe,delete:!0}:oe))});return}setTimeout(()=>{AD.flushSync(()=>{de(Z=>{const oe=Z.findIndex(De=>De.id===F.id);return oe!==-1?[...Z.slice(0,oe),{...Z[oe],...F},...Z.slice(oe+1)]:[F,...Z]})})})}),[re]),ie.useEffect(()=>{if(f!=="system"){A(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?A("dark"):A("light")),typeof window>"u")return;const F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:Z})=>{A(Z?"dark":"light")})}catch{F.addListener(({matches:oe})=>{try{A(oe?"dark":"light")}catch(De){console.error(De)}})}},[f]),ie.useEffect(()=>{re.length<=1&&se(!1)},[re]),ie.useEffect(()=>{const F=Z=>{var oe;if(g.every(ve=>Z[ve]||Z.code===ve)){var Oe;se(!0),(Oe=T.current)==null||Oe.focus()}Z.code==="Escape"&&(document.activeElement===T.current||(oe=T.current)!=null&&oe.contains(document.activeElement))&&se(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[g]),ie.useEffect(()=>{if(T.current)return()=>{z.current&&(z.current.focus({preventScroll:!0}),z.current=null,ae.current=!1)}},[T.current]),ie.createElement("section",{ref:c,"aria-label":`${pe} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},ge.map((F,Z)=>{var oe;const[De,Oe]=F.split("-");return re.length?ie.createElement("ol",{key:F,dir:Q==="auto"?qN():Q,tabIndex:-1,ref:T,className:y,"data-sonner-toaster":!0,"data-sonner-theme":ee,"data-y-position":De,"data-x-position":Oe,style:{"--front-toast-height":`${((oe=J[0])==null?void 0:oe.height)||0}px`,"--width":`${JD}px`,"--gap":`${xe}px`,...Y,...rT(_,V)},onBlur:ve=>{ae.current&&!ve.currentTarget.contains(ve.relatedTarget)&&(ae.current=!1,z.current&&(z.current.focus({preventScroll:!0}),z.current=null))},onFocus:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||ae.current||(ae.current=!0,z.current=ve.relatedTarget)},onMouseEnter:()=>se(!0),onMouseMove:()=>se(!0),onMouseLeave:()=>{we||se(!1)},onDragEnd:()=>se(!1),onPointerDown:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||X(!0)},onPointerUp:()=>X(!1)},re.filter(ve=>!ve.position&&Z===0||ve.position===F).map((ve,Ge)=>{var he,He;return ie.createElement(sT,{key:ve.id,icons:W,index:Ge,toast:ve,defaultRichColors:x,duration:(he=O==null?void 0:O.duration)!=null?he:C,className:O==null?void 0:O.className,descriptionClassName:O==null?void 0:O.descriptionClassName,invert:d,visibleToasts:I,closeButton:(He=O==null?void 0:O.closeButton)!=null?He:j,interacting:we,position:F,style:O==null?void 0:O.style,unstyled:O==null?void 0:O.unstyled,classNames:O==null?void 0:O.classNames,cancelButtonStyle:O==null?void 0:O.cancelButtonStyle,actionButtonStyle:O==null?void 0:O.actionButtonStyle,closeButtonAriaLabel:O==null?void 0:O.closeButtonAriaLabel,removeToast:w,toasts:re.filter(Qe=>Qe.position==ve.position),heights:J.filter(Qe=>Qe.position==ve.position),setHeights:K,expandByDefault:N,gap:xe,expanded:ue,swipeDirections:i.swipeDirections})})):null}))});var oT=(a,i,c,d,p,g,N,j)=>{let y=document.documentElement,_=["light","dark"];function V(C){(Array.isArray(a)?a:[a]).forEach(Y=>{let I=Y==="class",O=I&&g?p.map(Q=>g[Q]||Q):p;I?(y.classList.remove(...O),y.classList.add(g&&g[C]?g[C]:C)):y.setAttribute(Y,C)}),f(C)}function f(C){j&&_.includes(C)&&(y.style.colorScheme=C)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(d)V(d);else try{let C=localStorage.getItem(i)||c,Y=N&&C==="system"?x():C;V(Y)}catch{}},FN=["light","dark"],C1="(prefers-color-scheme: dark)",iT=typeof window>"u",ib=H.createContext(void 0),aT={setTheme:a=>{},themes:[]},lT=()=>{var a;return(a=H.useContext(ib))!=null?a:aT},cT=a=>H.useContext(ib)?H.createElement(H.Fragment,null,a.children):H.createElement(dT,{...a}),uT=["light","dark"],dT=({forcedTheme:a,disableTransitionOnChange:i=!1,enableSystem:c=!0,enableColorScheme:d=!0,storageKey:p="theme",themes:g=uT,defaultTheme:N=c?"system":"light",attribute:j="data-theme",value:y,children:_,nonce:V,scriptProps:f})=>{let[x,C]=H.useState(()=>fT(p,N)),[Y,I]=H.useState(()=>x==="system"?Rh():x),O=y?Object.values(y):g,Q=H.useCallback(re=>{let de=re;if(!de)return;re==="system"&&c&&(de=Rh());let ge=y?y[de]:de,J=i?pT(V):null,K=document.documentElement,ue=se=>{se==="class"?(K.classList.remove(...O),ge&&K.classList.add(ge)):se.startsWith("data-")&&(ge?K.setAttribute(se,ge):K.removeAttribute(se))};if(Array.isArray(j)?j.forEach(ue):ue(j),d){let se=FN.includes(N)?N:null,we=FN.includes(de)?de:se;K.style.colorScheme=we}J==null||J()},[V]),xe=H.useCallback(re=>{let de=typeof re=="function"?re(x):re;C(de);try{localStorage.setItem(p,de)}catch{}},[x]),W=H.useCallback(re=>{let de=Rh(re);I(de),x==="system"&&c&&!a&&Q("system")},[x,a]);H.useEffect(()=>{let re=window.matchMedia(C1);return re.addListener(W),W(re),()=>re.removeListener(W)},[W]),H.useEffect(()=>{let re=de=>{de.key===p&&(de.newValue?C(de.newValue):xe(N))};return window.addEventListener("storage",re),()=>window.removeEventListener("storage",re)},[xe]),H.useEffect(()=>{Q(a??x)},[a,x]);let pe=H.useMemo(()=>({theme:x,setTheme:xe,forcedTheme:a,resolvedTheme:x==="system"?Y:x,themes:c?[...g,"system"]:g,systemTheme:c?Y:void 0}),[x,xe,a,Y,c,g]);return H.createElement(ib.Provider,{value:pe},H.createElement(mT,{forcedTheme:a,storageKey:p,attribute:j,enableSystem:c,enableColorScheme:d,defaultTheme:N,value:y,themes:g,nonce:V,scriptProps:f}),_)},mT=H.memo(({forcedTheme:a,storageKey:i,attribute:c,enableSystem:d,enableColorScheme:p,defaultTheme:g,value:N,themes:j,nonce:y,scriptProps:_})=>{let V=JSON.stringify([c,i,g,a,j,N,d,p]).slice(1,-1);return H.createElement("script",{..._,suppressHydrationWarning:!0,nonce:typeof window>"u"?y:"",dangerouslySetInnerHTML:{__html:`(${oT.toString()})(${V})`}})}),fT=(a,i)=>{if(iT)return;let c;try{c=localStorage.getItem(a)||void 0}catch{}return c||i},pT=a=>{let i=document.createElement("style");return a&&i.setAttribute("nonce",a),i.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(i),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(i)},1)}},Rh=a=>(a||(a=window.matchMedia(C1)),a.matches?"dark":"light");function hT({children:a,...i}){return l.jsxDEV(cT,{...i,children:a},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/theme-provider.tsx",lineNumber:13,columnNumber:10},this)}function R1(a){var i,c,d="";if(typeof a=="string"||typeof a=="number")d+=a;else if(typeof a=="object")if(Array.isArray(a)){var p=a.length;for(i=0;i<p;i++)a[i]&&(c=R1(a[i]))&&(d&&(d+=" "),d+=c)}else for(c in a)a[c]&&(d&&(d+=" "),d+=c);return d}function A1(){for(var a,i,c=0,d="",p=arguments.length;c<p;c++)(a=arguments[c])&&(i=R1(a))&&(d&&(d+=" "),d+=i);return d}const ab="-",bT=a=>{const i=xT(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:d}=a;return{getClassGroupId:N=>{const j=N.split(ab);return j[0]===""&&j.length!==1&&j.shift(),V1(j,i)||gT(N)},getConflictingClassGroupIds:(N,j)=>{const y=c[N]||[];return j&&d[N]?[...y,...d[N]]:y}}},V1=(a,i)=>{var N;if(a.length===0)return i.classGroupId;const c=a[0],d=i.nextPart.get(c),p=d?V1(a.slice(1),d):void 0;if(p)return p;if(i.validators.length===0)return;const g=a.join(ab);return(N=i.validators.find(({validator:j})=>j(g)))==null?void 0:N.classGroupId},YN=/^\[(.+)\]$/,gT=a=>{if(YN.test(a)){const i=YN.exec(a)[1],c=i==null?void 0:i.substring(0,i.indexOf(":"));if(c)return"arbitrary.."+c}},xT=a=>{const{theme:i,classGroups:c}=a,d={nextPart:new Map,validators:[]};for(const p in c)Kh(c[p],d,p,i);return d},Kh=(a,i,c,d)=>{a.forEach(p=>{if(typeof p=="string"){const g=p===""?i:GN(i,p);g.classGroupId=c;return}if(typeof p=="function"){if(vT(p)){Kh(p(d),i,c,d);return}i.validators.push({validator:p,classGroupId:c});return}Object.entries(p).forEach(([g,N])=>{Kh(N,GN(i,g),c,d)})})},GN=(a,i)=>{let c=a;return i.split(ab).forEach(d=>{c.nextPart.has(d)||c.nextPart.set(d,{nextPart:new Map,validators:[]}),c=c.nextPart.get(d)}),c},vT=a=>a.isThemeGetter,yT=a=>{if(a<1)return{get:()=>{},set:()=>{}};let i=0,c=new Map,d=new Map;const p=(g,N)=>{c.set(g,N),i++,i>a&&(i=0,d=c,c=new Map)};return{get(g){let N=c.get(g);if(N!==void 0)return N;if((N=d.get(g))!==void 0)return p(g,N),N},set(g,N){c.has(g)?c.set(g,N):p(g,N)}}},Jh="!",Wh=":",NT=Wh.length,wT=a=>{const{prefix:i,experimentalParseClassName:c}=a;let d=p=>{const g=[];let N=0,j=0,y=0,_;for(let Y=0;Y<p.length;Y++){let I=p[Y];if(N===0&&j===0){if(I===Wh){g.push(p.slice(y,Y)),y=Y+NT;continue}if(I==="/"){_=Y;continue}}I==="["?N++:I==="]"?N--:I==="("?j++:I===")"&&j--}const V=g.length===0?p:p.substring(y),f=ST(V),x=f!==V,C=_&&_>y?_-y:void 0;return{modifiers:g,hasImportantModifier:x,baseClassName:f,maybePostfixModifierPosition:C}};if(i){const p=i+Wh,g=d;d=N=>N.startsWith(p)?g(N.substring(p.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:N,maybePostfixModifierPosition:void 0}}if(c){const p=d;d=g=>c({className:g,parseClassName:p})}return d},ST=a=>a.endsWith(Jh)?a.substring(0,a.length-1):a.startsWith(Jh)?a.substring(1):a,ET=a=>{const i=Object.fromEntries(a.orderSensitiveModifiers.map(d=>[d,!0]));return d=>{if(d.length<=1)return d;const p=[];let g=[];return d.forEach(N=>{N[0]==="["||i[N]?(p.push(...g.sort(),N),g=[]):g.push(N)}),p.push(...g.sort()),p}},jT=a=>({cache:yT(a.cacheSize),parseClassName:wT(a),sortModifiers:ET(a),...bT(a)}),DT=/\s+/,TT=(a,i)=>{const{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:p,sortModifiers:g}=i,N=[],j=a.trim().split(DT);let y="";for(let _=j.length-1;_>=0;_-=1){const V=j[_],{isExternal:f,modifiers:x,hasImportantModifier:C,baseClassName:Y,maybePostfixModifierPosition:I}=c(V);if(f){y=V+(y.length>0?" "+y:y);continue}let O=!!I,Q=d(O?Y.substring(0,I):Y);if(!Q){if(!O){y=V+(y.length>0?" "+y:y);continue}if(Q=d(Y),!Q){y=V+(y.length>0?" "+y:y);continue}O=!1}const xe=g(x).join(":"),W=C?xe+Jh:xe,pe=W+Q;if(N.includes(pe))continue;N.push(pe);const re=p(Q,O);for(let de=0;de<re.length;++de){const ge=re[de];N.push(W+ge)}y=V+(y.length>0?" "+y:y)}return y};function _T(){let a=0,i,c,d="";for(;a<arguments.length;)(i=arguments[a++])&&(c=M1(i))&&(d&&(d+=" "),d+=c);return d}const M1=a=>{if(typeof a=="string")return a;let i,c="";for(let d=0;d<a.length;d++)a[d]&&(i=M1(a[d]))&&(c&&(c+=" "),c+=i);return c};function UT(a,...i){let c,d,p,g=N;function N(y){const _=i.reduce((V,f)=>f(V),a());return c=jT(_),d=c.cache.get,p=c.cache.set,g=j,j(y)}function j(y){const _=d(y);if(_)return _;const V=TT(y,c);return p(y,V),V}return function(){return g(_T.apply(null,arguments))}}const qt=a=>{const i=c=>c[a]||[];return i.isThemeGetter=!0,i},P1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,O1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,CT=/^\d+\/\d+$/,RT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AT=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,VT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,MT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,PT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Da=a=>CT.test(a),Ie=a=>!!a&&!Number.isNaN(Number(a)),po=a=>!!a&&Number.isInteger(Number(a)),Ah=a=>a.endsWith("%")&&Ie(a.slice(0,-1)),jr=a=>RT.test(a),OT=()=>!0,kT=a=>AT.test(a)&&!VT.test(a),k1=()=>!1,zT=a=>MT.test(a),HT=a=>PT.test(a),BT=a=>!Se(a)&&!Ee(a),LT=a=>Xa(a,B1,k1),Se=a=>P1.test(a),mi=a=>Xa(a,L1,kT),Vh=a=>Xa(a,$T,Ie),$N=a=>Xa(a,z1,k1),qT=a=>Xa(a,H1,HT),Vd=a=>Xa(a,q1,zT),Ee=a=>O1.test(a),Ec=a=>Za(a,L1),FT=a=>Za(a,IT),IN=a=>Za(a,z1),YT=a=>Za(a,B1),GT=a=>Za(a,H1),Md=a=>Za(a,q1,!0),Xa=(a,i,c)=>{const d=P1.exec(a);return d?d[1]?i(d[1]):c(d[2]):!1},Za=(a,i,c=!1)=>{const d=O1.exec(a);return d?d[1]?i(d[1]):c:!1},z1=a=>a==="position"||a==="percentage",H1=a=>a==="image"||a==="url",B1=a=>a==="length"||a==="size"||a==="bg-size",L1=a=>a==="length",$T=a=>a==="number",IT=a=>a==="family-name",q1=a=>a==="shadow",QT=()=>{const a=qt("color"),i=qt("font"),c=qt("text"),d=qt("font-weight"),p=qt("tracking"),g=qt("leading"),N=qt("breakpoint"),j=qt("container"),y=qt("spacing"),_=qt("radius"),V=qt("shadow"),f=qt("inset-shadow"),x=qt("text-shadow"),C=qt("drop-shadow"),Y=qt("blur"),I=qt("perspective"),O=qt("aspect"),Q=qt("ease"),xe=qt("animate"),W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],pe=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],re=()=>[...pe(),Ee,Se],de=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto","contain","none"],J=()=>[Ee,Se,y],K=()=>[Da,"full","auto",...J()],ue=()=>[po,"none","subgrid",Ee,Se],se=()=>["auto",{span:["full",po,Ee,Se]},po,Ee,Se],we=()=>[po,"auto",Ee,Se],X=()=>["auto","min","max","fr",Ee,Se],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],A=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...J()],k=()=>[Da,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...J()],z=()=>[a,Ee,Se],ae=()=>[...pe(),IN,$N,{position:[Ee,Se]}],w=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",YT,LT,{size:[Ee,Se]}],Z=()=>[Ah,Ec,mi],oe=()=>["","none","full",_,Ee,Se],De=()=>["",Ie,Ec,mi],Oe=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ge=()=>[Ie,Ah,IN,$N],he=()=>["","none",Y,Ee,Se],He=()=>["none",Ie,Ee,Se],Qe=()=>["none",Ie,Ee,Se],Ut=()=>[Ie,Ee,Se],on=()=>[Da,"full",...J()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jr],breakpoint:[jr],color:[OT],container:[jr],"drop-shadow":[jr],ease:["in","out","in-out"],font:[BT],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jr],shadow:[jr],spacing:["px",Ie],text:[jr],"text-shadow":[jr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Da,Se,Ee,O]}],container:["container"],columns:[{columns:[Ie,Se,Ee,j]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:re()}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ge()}],"overscroll-x":[{"overscroll-x":ge()}],"overscroll-y":[{"overscroll-y":ge()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{start:K()}],end:[{end:K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[po,"auto",Ee,Se]}],basis:[{basis:[Da,"full","auto",j,...J()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ie,Da,"auto","initial","none",Se]}],grow:[{grow:["",Ie,Ee,Se]}],shrink:[{shrink:["",Ie,Ee,Se]}],order:[{order:[po,"first","last","none",Ee,Se]}],"grid-cols":[{"grid-cols":ue()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":we()}],"col-end":[{"col-end":we()}],"grid-rows":[{"grid-rows":ue()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":we()}],"row-end":[{"row-end":we()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":X()}],"auto-rows":[{"auto-rows":X()}],gap:[{gap:J()}],"gap-x":[{"gap-x":J()}],"gap-y":[{"gap-y":J()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...A(),"normal"]}],"justify-self":[{"justify-self":["auto",...A()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...A(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...A(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...A(),"baseline"]}],"place-self":[{"place-self":["auto",...A()]}],p:[{p:J()}],px:[{px:J()}],py:[{py:J()}],ps:[{ps:J()}],pe:[{pe:J()}],pt:[{pt:J()}],pr:[{pr:J()}],pb:[{pb:J()}],pl:[{pl:J()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":J()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":J()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[j,"screen",...k()]}],"min-w":[{"min-w":[j,"screen","none",...k()]}],"max-w":[{"max-w":[j,"screen","none","prose",{screen:[N]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",c,Ec,mi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,Ee,Vh]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ah,Se]}],"font-family":[{font:[FT,Se,i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[p,Ee,Se]}],"line-clamp":[{"line-clamp":[Ie,"none",Ee,Vh]}],leading:[{leading:[g,...J()]}],"list-image":[{"list-image":["none",Ee,Se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ee,Se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:z()}],"text-color":[{text:z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Oe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ie,"from-font","auto",Ee,mi]}],"text-decoration-color":[{decoration:z()}],"underline-offset":[{"underline-offset":[Ie,"auto",Ee,Se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:J()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee,Se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ee,Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:w()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},po,Ee,Se],radial:["",Ee,Se],conic:[po,Ee,Se]},GT,qT]}],"bg-color":[{bg:z()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:z()}],"gradient-via":[{via:z()}],"gradient-to":[{to:z()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:De()}],"border-w-x":[{"border-x":De()}],"border-w-y":[{"border-y":De()}],"border-w-s":[{"border-s":De()}],"border-w-e":[{"border-e":De()}],"border-w-t":[{"border-t":De()}],"border-w-r":[{"border-r":De()}],"border-w-b":[{"border-b":De()}],"border-w-l":[{"border-l":De()}],"divide-x":[{"divide-x":De()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":De()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Oe(),"hidden","none"]}],"divide-style":[{divide:[...Oe(),"hidden","none"]}],"border-color":[{border:z()}],"border-color-x":[{"border-x":z()}],"border-color-y":[{"border-y":z()}],"border-color-s":[{"border-s":z()}],"border-color-e":[{"border-e":z()}],"border-color-t":[{"border-t":z()}],"border-color-r":[{"border-r":z()}],"border-color-b":[{"border-b":z()}],"border-color-l":[{"border-l":z()}],"divide-color":[{divide:z()}],"outline-style":[{outline:[...Oe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ie,Ee,Se]}],"outline-w":[{outline:["",Ie,Ec,mi]}],"outline-color":[{outline:z()}],shadow:[{shadow:["","none",V,Md,Vd]}],"shadow-color":[{shadow:z()}],"inset-shadow":[{"inset-shadow":["none",f,Md,Vd]}],"inset-shadow-color":[{"inset-shadow":z()}],"ring-w":[{ring:De()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:z()}],"ring-offset-w":[{"ring-offset":[Ie,mi]}],"ring-offset-color":[{"ring-offset":z()}],"inset-ring-w":[{"inset-ring":De()}],"inset-ring-color":[{"inset-ring":z()}],"text-shadow":[{"text-shadow":["none",x,Md,Vd]}],"text-shadow-color":[{"text-shadow":z()}],opacity:[{opacity:[Ie,Ee,Se]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ie]}],"mask-image-linear-from-pos":[{"mask-linear-from":Ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":Ge()}],"mask-image-linear-from-color":[{"mask-linear-from":z()}],"mask-image-linear-to-color":[{"mask-linear-to":z()}],"mask-image-t-from-pos":[{"mask-t-from":Ge()}],"mask-image-t-to-pos":[{"mask-t-to":Ge()}],"mask-image-t-from-color":[{"mask-t-from":z()}],"mask-image-t-to-color":[{"mask-t-to":z()}],"mask-image-r-from-pos":[{"mask-r-from":Ge()}],"mask-image-r-to-pos":[{"mask-r-to":Ge()}],"mask-image-r-from-color":[{"mask-r-from":z()}],"mask-image-r-to-color":[{"mask-r-to":z()}],"mask-image-b-from-pos":[{"mask-b-from":Ge()}],"mask-image-b-to-pos":[{"mask-b-to":Ge()}],"mask-image-b-from-color":[{"mask-b-from":z()}],"mask-image-b-to-color":[{"mask-b-to":z()}],"mask-image-l-from-pos":[{"mask-l-from":Ge()}],"mask-image-l-to-pos":[{"mask-l-to":Ge()}],"mask-image-l-from-color":[{"mask-l-from":z()}],"mask-image-l-to-color":[{"mask-l-to":z()}],"mask-image-x-from-pos":[{"mask-x-from":Ge()}],"mask-image-x-to-pos":[{"mask-x-to":Ge()}],"mask-image-x-from-color":[{"mask-x-from":z()}],"mask-image-x-to-color":[{"mask-x-to":z()}],"mask-image-y-from-pos":[{"mask-y-from":Ge()}],"mask-image-y-to-pos":[{"mask-y-to":Ge()}],"mask-image-y-from-color":[{"mask-y-from":z()}],"mask-image-y-to-color":[{"mask-y-to":z()}],"mask-image-radial":[{"mask-radial":[Ee,Se]}],"mask-image-radial-from-pos":[{"mask-radial-from":Ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":Ge()}],"mask-image-radial-from-color":[{"mask-radial-from":z()}],"mask-image-radial-to-color":[{"mask-radial-to":z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":pe()}],"mask-image-conic-pos":[{"mask-conic":[Ie]}],"mask-image-conic-from-pos":[{"mask-conic-from":Ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":Ge()}],"mask-image-conic-from-color":[{"mask-conic-from":z()}],"mask-image-conic-to-color":[{"mask-conic-to":z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:w()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ee,Se]}],filter:[{filter:["","none",Ee,Se]}],blur:[{blur:he()}],brightness:[{brightness:[Ie,Ee,Se]}],contrast:[{contrast:[Ie,Ee,Se]}],"drop-shadow":[{"drop-shadow":["","none",C,Md,Vd]}],"drop-shadow-color":[{"drop-shadow":z()}],grayscale:[{grayscale:["",Ie,Ee,Se]}],"hue-rotate":[{"hue-rotate":[Ie,Ee,Se]}],invert:[{invert:["",Ie,Ee,Se]}],saturate:[{saturate:[Ie,Ee,Se]}],sepia:[{sepia:["",Ie,Ee,Se]}],"backdrop-filter":[{"backdrop-filter":["","none",Ee,Se]}],"backdrop-blur":[{"backdrop-blur":he()}],"backdrop-brightness":[{"backdrop-brightness":[Ie,Ee,Se]}],"backdrop-contrast":[{"backdrop-contrast":[Ie,Ee,Se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ie,Ee,Se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ie,Ee,Se]}],"backdrop-invert":[{"backdrop-invert":["",Ie,Ee,Se]}],"backdrop-opacity":[{"backdrop-opacity":[Ie,Ee,Se]}],"backdrop-saturate":[{"backdrop-saturate":[Ie,Ee,Se]}],"backdrop-sepia":[{"backdrop-sepia":["",Ie,Ee,Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":J()}],"border-spacing-x":[{"border-spacing-x":J()}],"border-spacing-y":[{"border-spacing-y":J()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ee,Se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ie,"initial",Ee,Se]}],ease:[{ease:["linear","initial",Q,Ee,Se]}],delay:[{delay:[Ie,Ee,Se]}],animate:[{animate:["none",xe,Ee,Se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[I,Ee,Se]}],"perspective-origin":[{"perspective-origin":re()}],rotate:[{rotate:He()}],"rotate-x":[{"rotate-x":He()}],"rotate-y":[{"rotate-y":He()}],"rotate-z":[{"rotate-z":He()}],scale:[{scale:Qe()}],"scale-x":[{"scale-x":Qe()}],"scale-y":[{"scale-y":Qe()}],"scale-z":[{"scale-z":Qe()}],"scale-3d":["scale-3d"],skew:[{skew:Ut()}],"skew-x":[{"skew-x":Ut()}],"skew-y":[{"skew-y":Ut()}],transform:[{transform:[Ee,Se,"","none","gpu","cpu"]}],"transform-origin":[{origin:re()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:on()}],"translate-x":[{"translate-x":on()}],"translate-y":[{"translate-y":on()}],"translate-z":[{"translate-z":on()}],"translate-none":["translate-none"],accent:[{accent:z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ee,Se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":J()}],"scroll-mx":[{"scroll-mx":J()}],"scroll-my":[{"scroll-my":J()}],"scroll-ms":[{"scroll-ms":J()}],"scroll-me":[{"scroll-me":J()}],"scroll-mt":[{"scroll-mt":J()}],"scroll-mr":[{"scroll-mr":J()}],"scroll-mb":[{"scroll-mb":J()}],"scroll-ml":[{"scroll-ml":J()}],"scroll-p":[{"scroll-p":J()}],"scroll-px":[{"scroll-px":J()}],"scroll-py":[{"scroll-py":J()}],"scroll-ps":[{"scroll-ps":J()}],"scroll-pe":[{"scroll-pe":J()}],"scroll-pt":[{"scroll-pt":J()}],"scroll-pr":[{"scroll-pr":J()}],"scroll-pb":[{"scroll-pb":J()}],"scroll-pl":[{"scroll-pl":J()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ee,Se]}],fill:[{fill:["none",...z()]}],"stroke-w":[{stroke:[Ie,Ec,mi,Vh]}],stroke:[{stroke:["none",...z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},XT=UT(QT);function An(...a){return XT(A1(a))}function nt({className:a,...i}){return l.jsxDEV("div",{"data-slot":"card",className:An("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/card.tsx",lineNumber:7,columnNumber:5},this)}function vt({className:a,...i}){return l.jsxDEV("div",{"data-slot":"card-header",className:An("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/card.tsx",lineNumber:20,columnNumber:5},this)}function yt({className:a,...i}){return l.jsxDEV("div",{"data-slot":"card-title",className:An("leading-none font-semibold",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/card.tsx",lineNumber:33,columnNumber:5},this)}function it({className:a,...i}){return l.jsxDEV("div",{"data-slot":"card-content",className:An("px-6",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/card.tsx",lineNumber:66,columnNumber:5},this)}function QN(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function F1(...a){return i=>{let c=!1;const d=a.map(p=>{const g=QN(p,i);return!c&&typeof g=="function"&&(c=!0),g});if(c)return()=>{for(let p=0;p<d.length;p++){const g=d[p];typeof g=="function"?g():QN(a[p],null)}}}}function Yd(...a){return H.useCallback(F1(...a),a)}function Gd(a){const i=ZT(a),c=H.forwardRef((d,p)=>{const{children:g,...N}=d,j=H.Children.toArray(g),y=j.find(JT);if(y){const _=y.props.children,V=j.map(f=>f===y?H.Children.count(_)>1?H.Children.only(null):H.isValidElement(_)?_.props.children:null:f);return jt.jsx(i,{...N,ref:p,children:H.isValidElement(_)?H.cloneElement(_,void 0,V):null})}return jt.jsx(i,{...N,ref:p,children:g})});return c.displayName=`${a}.Slot`,c}var Y1=Gd("Slot");function ZT(a){const i=H.forwardRef((c,d)=>{const{children:p,...g}=c;if(H.isValidElement(p)){const N=e_(p),j=WT(g,p.props);return p.type!==H.Fragment&&(j.ref=d?F1(d,N):N),H.cloneElement(p,j)}return H.Children.count(p)>1?H.Children.only(null):null});return i.displayName=`${a}.SlotClone`,i}var KT=Symbol("radix.slottable");function JT(a){return H.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===KT}function WT(a,i){const c={...i};for(const d in i){const p=a[d],g=i[d];/^on[A-Z]/.test(d)?p&&g?c[d]=(...j)=>{const y=g(...j);return p(...j),y}:p&&(c[d]=p):d==="style"?c[d]={...p,...g}:d==="className"&&(c[d]=[p,g].filter(Boolean).join(" "))}return{...a,...c}}function e_(a){var d,p;let i=(d=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:d.get,c=i&&"isReactWarning"in i&&i.isReactWarning;return c?a.ref:(i=(p=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:p.get,c=i&&"isReactWarning"in i&&i.isReactWarning,c?a.props.ref:a.props.ref||a.ref)}const XN=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,ZN=A1,lb=(a,i)=>c=>{var d;if((i==null?void 0:i.variants)==null)return ZN(a,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:p,defaultVariants:g}=i,N=Object.keys(p).map(_=>{const V=c==null?void 0:c[_],f=g==null?void 0:g[_];if(V===null)return null;const x=XN(V)||XN(f);return p[_][x]}),j=c&&Object.entries(c).reduce((_,V)=>{let[f,x]=V;return x===void 0||(_[f]=x),_},{}),y=i==null||(d=i.compoundVariants)===null||d===void 0?void 0:d.reduce((_,V)=>{let{class:f,className:x,...C}=V;return Object.entries(C).every(Y=>{let[I,O]=Y;return Array.isArray(O)?O.includes({...g,...j}[I]):{...g,...j}[I]===O})?[..._,f,x]:_},[]);return ZN(a,N,y,c==null?void 0:c.class,c==null?void 0:c.className)},t_=lb("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function _e({className:a,variant:i,size:c,asChild:d=!1,...p}){const g=d?Y1:"button";return l.jsxDEV(g,{"data-slot":"button",className:An(t_({variant:i,size:c,className:a})),...p},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/button.tsx",lineNumber:51,columnNumber:5},this)}const n_=lb("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function gt({className:a,variant:i,asChild:c=!1,...d}){const p=c?Y1:"span";return l.jsxDEV(p,{"data-slot":"badge",className:An(n_({variant:i}),a),...d},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/badge.tsx",lineNumber:38,columnNumber:5},this)}/**
|
|
285
|
-
* @license lucide-react v0.513.0 - ISC
|
|
286
|
-
*
|
|
287
|
-
* This source code is licensed under the ISC license.
|
|
288
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
289
|
-
*/const s_=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r_=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,c,d)=>d?d.toUpperCase():c.toLowerCase()),KN=a=>{const i=r_(a);return i.charAt(0).toUpperCase()+i.slice(1)},G1=(...a)=>a.filter((i,c,d)=>!!i&&i.trim()!==""&&d.indexOf(i)===c).join(" ").trim(),o_=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
|
|
290
|
-
* @license lucide-react v0.513.0 - ISC
|
|
291
|
-
*
|
|
292
|
-
* This source code is licensed under the ISC license.
|
|
293
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
294
|
-
*/var i_={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"};/**
|
|
295
|
-
* @license lucide-react v0.513.0 - ISC
|
|
296
|
-
*
|
|
297
|
-
* This source code is licensed under the ISC license.
|
|
298
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
299
|
-
*/const a_=H.forwardRef(({color:a="currentColor",size:i=24,strokeWidth:c=2,absoluteStrokeWidth:d,className:p="",children:g,iconNode:N,...j},y)=>H.createElement("svg",{ref:y,...i_,width:i,height:i,stroke:a,strokeWidth:d?Number(c)*24/Number(i):c,className:G1("lucide",p),...!g&&!o_(j)&&{"aria-hidden":"true"},...j},[...N.map(([_,V])=>H.createElement(_,V)),...Array.isArray(g)?g:[g]]));/**
|
|
300
|
-
* @license lucide-react v0.513.0 - ISC
|
|
301
|
-
*
|
|
302
|
-
* This source code is licensed under the ISC license.
|
|
303
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
304
|
-
*/const Be=(a,i)=>{const c=H.forwardRef(({className:d,...p},g)=>H.createElement(a_,{ref:g,iconNode:i,className:G1(`lucide-${s_(KN(a))}`,`lucide-${a}`,d),...p}));return c.displayName=KN(a),c};/**
|
|
305
|
-
* @license lucide-react v0.513.0 - ISC
|
|
306
|
-
*
|
|
307
|
-
* This source code is licensed under the ISC license.
|
|
308
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
309
|
-
*/const l_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Pd=Be("arrow-right",l_);/**
|
|
310
|
-
* @license lucide-react v0.513.0 - ISC
|
|
311
|
-
*
|
|
312
|
-
* This source code is licensed under the ISC license.
|
|
313
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
314
|
-
*/const c_=[["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"}]],u_=Be("book-open",c_);/**
|
|
315
|
-
* @license lucide-react v0.513.0 - ISC
|
|
316
|
-
*
|
|
317
|
-
* This source code is licensed under the ISC license.
|
|
318
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
319
|
-
*/const d_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],$1=Be("chevron-down",d_);/**
|
|
320
|
-
* @license lucide-react v0.513.0 - ISC
|
|
321
|
-
*
|
|
322
|
-
* This source code is licensed under the ISC license.
|
|
323
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
324
|
-
*/const m_=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],I1=Be("chevron-right",m_);/**
|
|
325
|
-
* @license lucide-react v0.513.0 - ISC
|
|
326
|
-
*
|
|
327
|
-
* This source code is licensed under the ISC license.
|
|
328
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
329
|
-
*/const f_=[["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"}]],zd=Be("circle-alert",f_);/**
|
|
330
|
-
* @license lucide-react v0.513.0 - ISC
|
|
331
|
-
*
|
|
332
|
-
* This source code is licensed under the ISC license.
|
|
333
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
334
|
-
*/const p_=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Ks=Be("circle-check-big",p_);/**
|
|
335
|
-
* @license lucide-react v0.513.0 - ISC
|
|
336
|
-
*
|
|
337
|
-
* This source code is licensed under the ISC license.
|
|
338
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
339
|
-
*/const h_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],b_=Be("circle-check",h_);/**
|
|
340
|
-
* @license lucide-react v0.513.0 - ISC
|
|
341
|
-
*
|
|
342
|
-
* This source code is licensed under the ISC license.
|
|
343
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
344
|
-
*/const g_=[["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"}]],x_=Be("circle-help",g_);/**
|
|
345
|
-
* @license lucide-react v0.513.0 - ISC
|
|
346
|
-
*
|
|
347
|
-
* This source code is licensed under the ISC license.
|
|
348
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
349
|
-
*/const v_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Q1=Be("circle",v_);/**
|
|
350
|
-
* @license lucide-react v0.513.0 - ISC
|
|
351
|
-
*
|
|
352
|
-
* This source code is licensed under the ISC license.
|
|
353
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
354
|
-
*/const y_=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],N_=Be("code",y_);/**
|
|
355
|
-
* @license lucide-react v0.513.0 - ISC
|
|
356
|
-
*
|
|
357
|
-
* This source code is licensed under the ISC license.
|
|
358
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
359
|
-
*/const w_=[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]],S_=Be("command",w_);/**
|
|
360
|
-
* @license lucide-react v0.513.0 - ISC
|
|
361
|
-
*
|
|
362
|
-
* This source code is licensed under the ISC license.
|
|
363
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
364
|
-
*/const E_=[["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"}]],Uc=Be("copy",E_);/**
|
|
365
|
-
* @license lucide-react v0.513.0 - ISC
|
|
366
|
-
*
|
|
367
|
-
* This source code is licensed under the ISC license.
|
|
368
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
369
|
-
*/const j_=[["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"}]],$d=Be("download",j_);/**
|
|
370
|
-
* @license lucide-react v0.513.0 - ISC
|
|
371
|
-
*
|
|
372
|
-
* This source code is licensed under the ISC license.
|
|
373
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
374
|
-
*/const D_=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],T_=Be("external-link",D_);/**
|
|
375
|
-
* @license lucide-react v0.513.0 - ISC
|
|
376
|
-
*
|
|
377
|
-
* This source code is licensed under the ISC license.
|
|
378
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
379
|
-
*/const __=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],_a=Be("eye-off",__);/**
|
|
380
|
-
* @license lucide-react v0.513.0 - ISC
|
|
381
|
-
*
|
|
382
|
-
* This source code is licensed under the ISC license.
|
|
383
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
384
|
-
*/const U_=[["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"}]],Ua=Be("eye",U_);/**
|
|
385
|
-
* @license lucide-react v0.513.0 - ISC
|
|
386
|
-
*
|
|
387
|
-
* This source code is licensed under the ISC license.
|
|
388
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
389
|
-
*/const C_=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Ra=Be("file-text",C_);/**
|
|
390
|
-
* @license lucide-react v0.513.0 - ISC
|
|
391
|
-
*
|
|
392
|
-
* This source code is licensed under the ISC license.
|
|
393
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
394
|
-
*/const R_=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Ta=Be("file",R_);/**
|
|
395
|
-
* @license lucide-react v0.513.0 - ISC
|
|
396
|
-
*
|
|
397
|
-
* This source code is licensed under the ISC license.
|
|
398
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
399
|
-
*/const A_=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Hd=Be("folder-open",A_);/**
|
|
400
|
-
* @license lucide-react v0.513.0 - ISC
|
|
401
|
-
*
|
|
402
|
-
* This source code is licensed under the ISC license.
|
|
403
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
404
|
-
*/const V_=[["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"}]],X1=Be("folder",V_);/**
|
|
405
|
-
* @license lucide-react v0.513.0 - ISC
|
|
406
|
-
*
|
|
407
|
-
* This source code is licensed under the ISC license.
|
|
408
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
409
|
-
*/const M_=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],P_=Be("hash",M_);/**
|
|
410
|
-
* @license lucide-react v0.513.0 - ISC
|
|
411
|
-
*
|
|
412
|
-
* This source code is licensed under the ISC license.
|
|
413
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
414
|
-
*/const O_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],eb=Be("info",O_);/**
|
|
415
|
-
* @license lucide-react v0.513.0 - ISC
|
|
416
|
-
*
|
|
417
|
-
* This source code is licensed under the ISC license.
|
|
418
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
419
|
-
*/const k_=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],jc=Be("loader-circle",k_);/**
|
|
420
|
-
* @license lucide-react v0.513.0 - ISC
|
|
421
|
-
*
|
|
422
|
-
* This source code is licensed under the ISC license.
|
|
423
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
424
|
-
*/const z_=[["path",{d:"M5 12h14",key:"1ays0h"}]],H_=Be("minus",z_);/**
|
|
425
|
-
* @license lucide-react v0.513.0 - ISC
|
|
426
|
-
*
|
|
427
|
-
* This source code is licensed under the ISC license.
|
|
428
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
429
|
-
*/const B_=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],tb=Be("monitor",B_);/**
|
|
430
|
-
* @license lucide-react v0.513.0 - ISC
|
|
431
|
-
*
|
|
432
|
-
* This source code is licensed under the ISC license.
|
|
433
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
434
|
-
*/const L_=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],q_=Be("moon",L_);/**
|
|
435
|
-
* @license lucide-react v0.513.0 - ISC
|
|
436
|
-
*
|
|
437
|
-
* This source code is licensed under the ISC license.
|
|
438
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
439
|
-
*/const F_=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]],Y_=Be("pen-line",F_);/**
|
|
440
|
-
* @license lucide-react v0.513.0 - ISC
|
|
441
|
-
*
|
|
442
|
-
* This source code is licensed under the ISC license.
|
|
443
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
444
|
-
*/const G_=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],Z1=Be("play",G_);/**
|
|
445
|
-
* @license lucide-react v0.513.0 - ISC
|
|
446
|
-
*
|
|
447
|
-
* This source code is licensed under the ISC license.
|
|
448
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
449
|
-
*/const $_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Aa=Be("plus",$_);/**
|
|
450
|
-
* @license lucide-react v0.513.0 - ISC
|
|
451
|
-
*
|
|
452
|
-
* This source code is licensed under the ISC license.
|
|
453
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
454
|
-
*/const I_=[["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"}]],Id=Be("refresh-cw",I_);/**
|
|
455
|
-
* @license lucide-react v0.513.0 - ISC
|
|
456
|
-
*
|
|
457
|
-
* This source code is licensed under the ISC license.
|
|
458
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
459
|
-
*/const Q_=[["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"}]],X_=Be("rotate-ccw",Q_);/**
|
|
460
|
-
* @license lucide-react v0.513.0 - ISC
|
|
461
|
-
*
|
|
462
|
-
* This source code is licensed under the ISC license.
|
|
463
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
464
|
-
*/const Z_=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],JN=Be("save",Z_);/**
|
|
465
|
-
* @license lucide-react v0.513.0 - ISC
|
|
466
|
-
*
|
|
467
|
-
* This source code is licensed under the ISC license.
|
|
468
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
469
|
-
*/const K_=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],J_=Be("search",K_);/**
|
|
470
|
-
* @license lucide-react v0.513.0 - ISC
|
|
471
|
-
*
|
|
472
|
-
* This source code is licensed under the ISC license.
|
|
473
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
474
|
-
*/const W_=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],$a=Be("settings",W_);/**
|
|
475
|
-
* @license lucide-react v0.513.0 - ISC
|
|
476
|
-
*
|
|
477
|
-
* This source code is licensed under the ISC license.
|
|
478
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
479
|
-
*/const eU=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],wi=Be("sparkles",eU);/**
|
|
480
|
-
* @license lucide-react v0.513.0 - ISC
|
|
481
|
-
*
|
|
482
|
-
* This source code is licensed under the ISC license.
|
|
483
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
484
|
-
*/const tU=[["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"}]],nU=Be("sun",tU);/**
|
|
485
|
-
* @license lucide-react v0.513.0 - ISC
|
|
486
|
-
*
|
|
487
|
-
* This source code is licensed under the ISC license.
|
|
488
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
489
|
-
*/const sU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],K1=Be("terminal",sU);/**
|
|
490
|
-
* @license lucide-react v0.513.0 - ISC
|
|
491
|
-
*
|
|
492
|
-
* This source code is licensed under the ISC license.
|
|
493
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
494
|
-
*/const rU=[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]],oU=Be("test-tube",rU);/**
|
|
495
|
-
* @license lucide-react v0.513.0 - ISC
|
|
496
|
-
*
|
|
497
|
-
* This source code is licensed under the ISC license.
|
|
498
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
499
|
-
*/const iU=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],Bd=Be("trash-2",iU);/**
|
|
500
|
-
* @license lucide-react v0.513.0 - ISC
|
|
501
|
-
*
|
|
502
|
-
* This source code is licensed under the ISC license.
|
|
503
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
504
|
-
*/const aU=[["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"}]],Qd=Be("triangle-alert",aU);/**
|
|
505
|
-
* @license lucide-react v0.513.0 - ISC
|
|
506
|
-
*
|
|
507
|
-
* This source code is licensed under the ISC license.
|
|
508
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
509
|
-
*/const lU=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],J1=Be("x",lU);/**
|
|
510
|
-
* @license lucide-react v0.513.0 - ISC
|
|
511
|
-
*
|
|
512
|
-
* This source code is licensed under the ISC license.
|
|
513
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
514
|
-
*/const cU=[["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"}]],WN=Be("zap",cU),uU=async()=>{const a=await fetch("http://localhost:3333/api/bundles");if(!a.ok)throw new Error("Failed to fetch bundles");return a.json()},dU=async a=>{const i=await fetch(`http://localhost:3333/api/bundle-categories/${a}`);if(!i.ok)throw new Error("Failed to fetch bundle categories");return i.json()},mU=async()=>{const a=await fetch("http://localhost:3333/api/files");if(!a.ok)throw new Error("Failed to fetch files");return(await a.json()).map(c=>c.path)};function fU(){const a=Qa(),[i,c]=H.useState(new Set),[d,p]=H.useState({}),[g,N]=H.useState(new Set),[j,y]=H.useState([]),[_,V]=H.useState(new Set),[f,x]=H.useState(new Set),[C,Y]=H.useState(new Set),{data:I=[],isLoading:O,refetch:Q}=js({queryKey:["bundles"],queryFn:uU,refetchInterval:5e3,refetchOnWindowFocus:!0}),xe=async A=>{const T=new Set(i);if(T.has(A))T.delete(A);else if(T.add(A),!d[A])try{const k=await dU(A);p(z=>({...z,[A]:k}))}catch(k){console.error("Failed to fetch bundle categories:",k),ot.error("Failed to load file categories")}c(T)},W=A=>{switch(A){case"components":return l.jsxDEV(N_,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:90,columnNumber:33},this);case"hooks":return l.jsxDEV(P_,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:91,columnNumber:28},this);case"utilities":return l.jsxDEV($a,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:92,columnNumber:32},this);case"configuration":return l.jsxDEV($a,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:93,columnNumber:36},this);case"styles":return l.jsxDEV(X1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:94,columnNumber:29},this);case"types":return l.jsxDEV(Ra,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:95,columnNumber:28},this);case"tests":return l.jsxDEV(oU,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:96,columnNumber:28},this);case"documentation":return l.jsxDEV(u_,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:97,columnNumber:36},this);default:return l.jsxDEV(Ra,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:98,columnNumber:23},this)}},pe=A=>{switch(A){case"components":return"bg-blue-100 text-blue-800 border-blue-200";case"hooks":return"bg-purple-100 text-purple-800 border-purple-200";case"utilities":return"bg-green-100 text-green-800 border-green-200";case"configuration":return"bg-orange-100 text-orange-800 border-orange-200";case"styles":return"bg-pink-100 text-pink-800 border-pink-200";case"types":return"bg-indigo-100 text-indigo-800 border-indigo-200";case"tests":return"bg-yellow-100 text-yellow-800 border-yellow-200";case"documentation":return"bg-gray-100 text-gray-800 border-gray-200";default:return"bg-gray-100 text-gray-800 border-gray-200"}},re=async A=>{const T=new Set(g);if(T.has(A))T.delete(A);else if(T.add(A),j.length===0)try{const k=await mU();y(k)}catch(k){console.error("Failed to fetch files:",k),ot.error("Failed to load file list")}N(T)},de=(A,T)=>T.files.includes(A),ge=(A,T)=>!I||!Array.isArray(I)?[]:I.filter(k=>k.name!==T&&k.files.includes(A)).map(k=>k.name),J=async(A,T)=>{try{if(ue(`remove-${T}-${A}`,"loading"),console.log(`Removing ${A} from ${T}`),T==="master"){ue(`remove-${T}-${A}`,"error"),ot.error("Cannot modify master bundle files");return}const k=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:A,bundleName:T,forceHide:!0})});if(!k.ok){const ae=await k.text();throw console.error("API Error:",ae),new Error(`Failed to remove file: ${ae}`)}const z=await k.json();console.log("Remove API Response:",z),a.setQueryData(["bundles"],ae=>ae&&ae.map(w=>w.name===T?{...w,files:w.files.filter(F=>F!==A)}:w)),p(ae=>{if(!ae[T])return ae;const w={...ae},F=w[T];return Object.keys(F.filesByType).forEach(Z=>{F.filesByType[Z]=F.filesByType[Z].filter(oe=>oe!==A)}),F.entryPoints=F.entryPoints.filter(Z=>Z!==A),w}),a.invalidateQueries({queryKey:["bundles"]}),a.invalidateQueries({queryKey:["hidden-files"]}),ue(`remove-${T}-${A}`,"success"),ot.success(`Hidden ${A} from ${T} bundle`)}catch(k){console.error("Failed to remove file:",k),ue(`remove-${T}-${A}`,"error"),ot.error(`Failed to remove file: ${k instanceof Error?k.message:"Unknown error"}`)}},K=async(A,T)=>{try{if(ue(`add-${T}-${A}`,"loading"),console.log(`Adding ${A} to ${T}`),T==="master"){ue(`add-${T}-${A}`,"error"),ot.error("Cannot modify master bundle files");return}const k=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:A,bundleName:T,forceHide:!1})});if(!k.ok){const ae=await k.text();throw console.error("API Error:",ae),new Error(`Failed to add file: ${ae}`)}const z=await k.json();console.log("Add API Response:",z),a.invalidateQueries({queryKey:["bundles"]}),await Q(),ue(`add-${T}-${A}`,"success"),ot.success(`Added ${A}`)}catch(k){console.error("Failed to add file:",k),ue(`add-${T}-${A}`,"error"),ot.error(`Failed to add file: ${k instanceof Error?k.message:"Unknown error"}`)}},ue=(A,T)=>{V(k=>{const z=new Set(k);return T==="loading"?z.add(A):z.delete(A),z}),x(k=>{const z=new Set(k);return T==="success"?(z.add(A),setTimeout(()=>x(ae=>{const w=new Set(ae);return w.delete(A),w}),2e3)):z.delete(A),z}),Y(k=>{const z=new Set(k);return T==="error"?(z.add(A),setTimeout(()=>Y(ae=>{const w=new Set(ae);return w.delete(A),w}),3e3)):z.delete(A),z})},se=async A=>{const T=`copy-${A}`;ue(T,"loading");try{const k=await fetch(`http://localhost:3333/api/bundles/${A}`);if(!k.ok)throw new Error("Failed to fetch bundle content");const z=await k.text();await navigator.clipboard.writeText(z),ue(T,"success"),ot.success(`Bundle "${A}" copied to clipboard!`)}catch(k){ue(T,"error"),ot.error(`Failed to copy bundle: ${k instanceof Error?k.message:"Unknown error"}`)}},we=async A=>{const T=`download-${A}`;ue(T,"loading");try{const k=await fetch(`http://localhost:3333/api/bundles/${A}`);if(!k.ok)throw new Error("Failed to fetch bundle content");const z=await k.text(),ae=new Blob([z],{type:"application/xml"}),w=URL.createObjectURL(ae),F=document.createElement("a");F.href=w,F.download=`${A}-bundle.xml`,F.click(),URL.revokeObjectURL(w),ue(T,"success"),ot.success(`Bundle "${A}" downloaded!`)}catch(k){ue(T,"error"),ot.error(`Failed to download bundle: ${k instanceof Error?k.message:"Unknown error"}`)}},X=async A=>{const T=`regen-${A}`;ue(T,"loading");try{if(!(await fetch(`http://localhost:3333/api/regenerate/${A}`,{method:"POST"})).ok)throw new Error("Failed to regenerate bundle");await Q(),ue(T,"success"),ot.success(`Bundle "${A}" regenerated successfully!`)}catch(k){ue(T,"error"),ot.error(`Failed to regenerate bundle: ${k instanceof Error?k.message:"Unknown error"}`)}};if(O)return l.jsxDEV("div",{children:"Loading bundles..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:379,columnNumber:25},this);if(!I)return l.jsxDEV("div",{children:"No bundles found"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:380,columnNumber:24},this);const ee=async()=>{console.log("Manual refresh triggered"),a.removeQueries({queryKey:["bundles"]});const A=await Q();console.log("Fresh bundles data:",A.data)};return l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("h2",{className:"text-lg font-semibold",children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:392,columnNumber:9},this),l.jsxDEV(_e,{onClick:ee,variant:"outline",size:"sm",children:[l.jsxDEV(Id,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:394,columnNumber:11},this),"Force Refresh"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:393,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:391,columnNumber:7},this),I&&Array.isArray(I)?I.map(A=>{const T=`copy-${A.name}`,k=`download-${A.name}`,z=`regen-${A.name}`,ae=_.has(T),w=_.has(k),F=_.has(z),Z=f.has(T),oe=f.has(k),De=f.has(z),Oe=C.has(T),ve=C.has(k),Ge=C.has(z);return l.jsxDEV(nt,{className:A.changed?"border-yellow-500":"",children:[l.jsxDEV(vt,{children:l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV(yt,{className:"flex items-center gap-2",children:[A.name,l.jsxDEV(gt,{variant:A.changed?"destructive":"secondary",children:A.changed?"CHANGED":"SYNCED"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:418,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:416,columnNumber:17},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>re(A.name),disabled:A.name==="master",className:g.has(A.name)?"bg-blue-50 border-blue-200 text-blue-700":"",children:[g.has(A.name)?l.jsxDEV(J1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:431,columnNumber:23},this):l.jsxDEV(Y_,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:433,columnNumber:23},this),A.name==="master"?"Read Only":g.has(A.name)?"Cancel":"Edit Files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:423,columnNumber:19},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>X(A.name),disabled:F,className:`transition-all duration-200 ${De?"border-green-500 bg-green-50 text-green-700":Ge?"border-red-500 bg-red-50 text-red-700":F?"opacity-75":""}`,children:[F?l.jsxDEV(jc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:448,columnNumber:23},this):De?l.jsxDEV(Ks,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:450,columnNumber:23},this):Ge?l.jsxDEV(zd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:452,columnNumber:23},this):l.jsxDEV(Id,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:454,columnNumber:23},this),"Regenerate"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:437,columnNumber:19},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>se(A.name),disabled:ae,className:`transition-all duration-200 ${Z?"border-green-500 bg-green-50 text-green-700":Oe?"border-red-500 bg-red-50 text-red-700":ae?"opacity-75":""}`,children:[ae?l.jsxDEV(jc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:469,columnNumber:23},this):Z?l.jsxDEV(Ks,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:471,columnNumber:23},this):Oe?l.jsxDEV(zd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:473,columnNumber:23},this):l.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:475,columnNumber:23},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:458,columnNumber:19},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>we(A.name),disabled:w,className:`transition-all duration-200 ${oe?"border-green-500 bg-green-50 text-green-700":ve?"border-red-500 bg-red-50 text-red-700":w?"opacity-75":""}`,children:[w?l.jsxDEV(jc,{className:"w-4 h-4 animate-spin mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:490,columnNumber:23},this):oe?l.jsxDEV(Ks,{className:"w-4 h-4 mr-1 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:492,columnNumber:23},this):ve?l.jsxDEV(zd,{className:"w-4 h-4 mr-1 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:494,columnNumber:23},this):l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:496,columnNumber:23},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:479,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:422,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:415,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:414,columnNumber:13},this),l.jsxDEV(it,{children:[l.jsxDEV("div",{className:"text-sm text-muted-foreground mb-3",children:[A.fileCount," files • ",(A.size/1024).toFixed(1),"kb",A.lastGenerated&&` • Generated ${new Date(A.lastGenerated).toLocaleTimeString()}`]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:504,columnNumber:15},this),l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:()=>xe(A.name),className:"p-0 h-auto",children:[i.has(A.name)?l.jsxDEV($1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:519,columnNumber:21},this):l.jsxDEV(I1,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:521,columnNumber:21},this),"View Files (",A.files.length,")"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:512,columnNumber:17},this),i.has(A.name)&&l.jsxDEV("div",{className:"ml-5 space-y-3",children:d[A.name]?l.jsxDEV(l.Fragment,{children:[l.jsxDEV("div",{className:"text-sm text-muted-foreground italic",children:d[A.name].purpose},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:531,columnNumber:25},this),d[A.name].entryPoints.length>0&&l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(gt,{variant:"outline",className:"bg-red-50 text-red-700 border-red-200",children:[l.jsxDEV(Ra,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:540,columnNumber:33},this),"Entry Points"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:539,columnNumber:31},this),l.jsxDEV("span",{className:"text-xs text-muted-foreground",children:["(",d[A.name].entryPoints.length,")"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:543,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:538,columnNumber:29},this),l.jsxDEV("div",{className:"pl-4 space-y-1",children:d[A.name].entryPoints.map(he=>l.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:he},he,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:549,columnNumber:33},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:547,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:537,columnNumber:27},this),Object.entries(d[A.name].filesByType).map(([he,He])=>l.jsxDEV("div",{className:"space-y-2",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(gt,{variant:"outline",className:pe(he),children:[W(he),l.jsxDEV("span",{className:"ml-1 capitalize",children:he},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:563,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:561,columnNumber:31},this),l.jsxDEV("span",{className:"text-xs text-muted-foreground",children:["(",He.length," files)"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:565,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:560,columnNumber:29},this),l.jsxDEV("div",{className:"pl-4 space-y-1 max-h-32 overflow-y-auto",children:g.has(A.name)?He.map(Qe=>{const Ut=ge(Qe,A.name),on=`remove-${A.name}-${Qe}`,Vn=_.has(on);return l.jsxDEV("div",{className:"flex items-center gap-2 text-sm",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>J(Qe,A.name),disabled:Vn,className:"h-6 w-6 p-0 border-red-200 hover:bg-red-50 hover:border-red-300",children:Vn?l.jsxDEV(jc,{className:"w-3 h-3 animate-spin"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:586,columnNumber:43},this):l.jsxDEV(H_,{className:"w-3 h-3 text-red-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:588,columnNumber:43},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:578,columnNumber:39},this),l.jsxDEV("span",{className:"font-mono flex-1 text-foreground",children:Qe},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:591,columnNumber:39},this),Ut.length>0&&l.jsxDEV(gt,{variant:"outline",className:"text-xs bg-yellow-50 text-yellow-700",children:["Also in: ",Ut.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:595,columnNumber:41},this)]},Qe,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:577,columnNumber:37},this)}):He.map(Qe=>l.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:Qe},Qe,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:605,columnNumber:35},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:569,columnNumber:29},this)]},he,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:559,columnNumber:27},this)),g.has(A.name)&&l.jsxDEV("div",{className:"space-y-2 mt-6 pt-4 border-t border-gray-200",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(gt,{variant:"outline",className:"bg-gray-50 text-gray-700 border-gray-300",children:[l.jsxDEV(Aa,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:619,columnNumber:33},this),"Available Files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:618,columnNumber:31},this),l.jsxDEV("span",{className:"text-xs text-muted-foreground",children:"(Click + to add to bundle)"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:622,columnNumber:31},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:617,columnNumber:29},this),l.jsxDEV("div",{className:"pl-4 space-y-1 max-h-40 overflow-y-auto",children:j.filter(he=>!de(he,A)).map(he=>{const He=ge(he,A.name),Qe=`add-${A.name}-${he}`,Ut=_.has(Qe);return l.jsxDEV("div",{className:"flex items-center gap-2 text-sm",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>K(he,A.name),disabled:Ut,className:"h-6 w-6 p-0 border-green-200 hover:bg-green-50 hover:border-green-300",children:Ut?l.jsxDEV(jc,{className:"w-3 h-3 animate-spin"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:643,columnNumber:43},this):l.jsxDEV(Aa,{className:"w-3 h-3 text-green-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:645,columnNumber:43},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:635,columnNumber:39},this),l.jsxDEV("span",{className:"font-mono flex-1 text-muted-foreground",children:he},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:648,columnNumber:39},this),He.length>0&&l.jsxDEV(gt,{variant:"outline",className:"text-xs bg-yellow-50 text-yellow-700",children:["In: ",He.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:652,columnNumber:41},this)]},he,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:634,columnNumber:37},this)})},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:626,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:616,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:529,columnNumber:23},this):l.jsxDEV("div",{className:"space-y-1 max-h-40 overflow-y-auto",children:A.files.map(he=>l.jsxDEV("div",{className:"text-sm font-mono text-muted-foreground",children:he},he,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:668,columnNumber:27},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:666,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:527,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:511,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:503,columnNumber:13},this)]},A.name,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:413,columnNumber:11},this)}):l.jsxDEV("div",{children:"No bundles available"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:680,columnNumber:12},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/BundleList.tsx",lineNumber:390,columnNumber:5},this)}const pU=async()=>{const a=await fetch("http://localhost:3333/api/bundles");if(!a.ok)throw new Error("Failed to fetch bundles");return a.json()},e1=a=>{const i={name:"",path:"",type:"directory",children:[]},c=new Set,d=new Map;a.forEach(g=>{g.files.forEach(N=>{c.add(N),d.has(N)||d.set(N,[]),d.get(N).push(g.name)})}),c.forEach(g=>{const N=g.split("/");let j=i;N.forEach((y,_)=>{const V=_===N.length-1,f=N.slice(0,_+1).join("/");j.children||(j.children=[]);let x=j.children.find(C=>C.name===y);x||(x={name:y,path:f,type:V?"file":"directory",children:V?void 0:[],bundles:V?d.get(g):void 0},j.children.push(x)),V||(j=x)})});const p=g=>{g.children&&(g.children.sort((N,j)=>N.type!==j.type?N.type==="directory"?-1:1:N.name.localeCompare(j.name)),g.children.forEach(p))};return p(i),i},hU=a=>{if(a===0)return"0 B";const i=1024,c=["B","KB","MB","GB"],d=Math.floor(Math.log(a)/Math.log(i));return parseFloat((a/Math.pow(i,d)).toFixed(1))+" "+c[d]};function W1({node:a,level:i,expandedDirs:c,onToggleDir:d}){const p=c.has(a.path),g=i*16;if(a.type==="directory")return l.jsxDEV("div",{children:[l.jsxDEV("div",{className:"flex items-center gap-2 py-1 px-2 hover:bg-muted/50 rounded cursor-pointer",style:{paddingLeft:`${g+8}px`},onClick:()=>d(a.path),children:[p?l.jsxDEV($1,{className:"w-4 h-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:119,columnNumber:13},this):l.jsxDEV(I1,{className:"w-4 h-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:121,columnNumber:13},this),p?l.jsxDEV(Hd,{className:"w-4 h-4 text-blue-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:124,columnNumber:13},this):l.jsxDEV(X1,{className:"w-4 h-4 text-blue-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:126,columnNumber:13},this),l.jsxDEV("span",{className:"text-sm font-medium",children:a.name},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:128,columnNumber:11},this),a.children&&l.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:[a.children.length," items"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:130,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:113,columnNumber:9},this),p&&a.children&&l.jsxDEV("div",{children:a.children.map(j=>l.jsxDEV(W1,{node:j,level:i+1,expandedDirs:c,onToggleDir:d},j.path,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:139,columnNumber:15},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:137,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:112,columnNumber:7},this);const N=j=>{var V;const y=(V=j.split(".").pop())==null?void 0:V.toLowerCase(),_="w-4 h-4";switch(y){case"js":case"ts":case"jsx":case"tsx":return l.jsxDEV(Ta,{className:`${_} text-yellow-500`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:163,columnNumber:16},this);case"json":return l.jsxDEV(Ta,{className:`${_} text-green-500`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:165,columnNumber:16},this);case"md":return l.jsxDEV(Ta,{className:`${_} text-blue-400`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:167,columnNumber:16},this);case"css":case"scss":return l.jsxDEV(Ta,{className:`${_} text-pink-500`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:170,columnNumber:16},this);case"html":return l.jsxDEV(Ta,{className:`${_} text-orange-500`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:172,columnNumber:16},this);default:return l.jsxDEV(Ta,{className:`${_} text-muted-foreground`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:174,columnNumber:16},this)}};return l.jsxDEV("div",{className:"flex items-center gap-2 py-1 px-2 hover:bg-muted/50 rounded",style:{paddingLeft:`${g+24}px`},children:[N(a.name),l.jsxDEV("span",{className:"text-sm font-mono",children:a.name},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:184,columnNumber:7},this),a.bundles&&a.bundles.length>0&&l.jsxDEV("div",{className:"flex gap-1 ml-2",children:a.bundles.map(j=>l.jsxDEV(gt,{variant:"outline",className:"text-xs px-1 py-0",children:j},j,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:189,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:187,columnNumber:9},this),a.size&&l.jsxDEV("span",{className:"text-xs text-muted-foreground ml-auto",children:hU(a.size)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:201,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:179,columnNumber:5},this)}function bU(){const[a,i]=H.useState(new Set([""])),{data:c,isLoading:d}=js({queryKey:["bundles"],queryFn:pU,refetchInterval:5e3}),p=_=>{const V=new Set(a);V.has(_)?V.delete(_):V.add(_),i(V)},g=()=>{if(!c)return;const _=e1(c),V=new Set,f=x=>{var C;x.type==="directory"&&(V.add(x.path),(C=x.children)==null||C.forEach(f))};f(_),i(V)},N=()=>{i(new Set([""]))};if(d)return l.jsxDEV("div",{children:"Loading file tree..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:250,columnNumber:25},this);if(!c)return l.jsxDEV("div",{children:"No bundles found"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:251,columnNumber:24},this);const j=e1(c),y=c.reduce((_,V)=>_+V.files.length,0);return l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:g,children:"Expand All"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:261,columnNumber:11},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:N,children:"Collapse All"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:264,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:260,columnNumber:9},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:[y," files tracked"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:269,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:259,columnNumber:7},this),l.jsxDEV(nt,{className:"p-4",children:l.jsxDEV("div",{className:"space-y-1 max-h-96 overflow-y-auto",children:j.children&&j.children.length>0?j.children.map(_=>l.jsxDEV(W1,{node:_,level:0,expandedDirs:a,onToggleDir:p},_.path,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:279,columnNumber:15},this)):l.jsxDEV("div",{className:"text-center text-muted-foreground py-8",children:"No files found"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:288,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:276,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:275,columnNumber:7},this),l.jsxDEV(nt,{className:"p-4",children:[l.jsxDEV("h3",{className:"text-sm font-medium mb-2",children:"Bundle Legend"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:297,columnNumber:9},this),l.jsxDEV("div",{className:"flex flex-wrap gap-2",children:c.map(_=>l.jsxDEV(gt,{variant:"outline",children:[_.name," (",_.files.length,")"]},_.name,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:300,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:298,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:296,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/FileTree.tsx",lineNumber:257,columnNumber:5},this)}function Ca({className:a,type:i,...c}){return l.jsxDEV("input",{type:i,"data-slot":"input",className:An("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...c},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/input.tsx",lineNumber:7,columnNumber:5},this)}function Rr(a,i,{checkForDefaultPrevented:c=!0}={}){return function(p){if(a==null||a(p),c===!1||!p.defaultPrevented)return i==null?void 0:i(p)}}function cb(a,i=[]){let c=[];function d(g,N){const j=H.createContext(N),y=c.length;c=[...c,N];const _=f=>{var Q;const{scope:x,children:C,...Y}=f,I=((Q=x==null?void 0:x[a])==null?void 0:Q[y])||j,O=H.useMemo(()=>Y,Object.values(Y));return jt.jsx(I.Provider,{value:O,children:C})};_.displayName=g+"Provider";function V(f,x){var I;const C=((I=x==null?void 0:x[a])==null?void 0:I[y])||j,Y=H.useContext(C);if(Y)return Y;if(N!==void 0)return N;throw new Error(`\`${f}\` must be used within \`${g}\``)}return[_,V]}const p=()=>{const g=c.map(N=>H.createContext(N));return function(j){const y=(j==null?void 0:j[a])||g;return H.useMemo(()=>({[`__scope${a}`]:{...j,[a]:y}}),[j,y])}};return p.scopeName=a,[d,gU(p,...i)]}function gU(...a){const i=a[0];if(a.length===1)return i;const c=()=>{const d=a.map(p=>({useScope:p(),scopeName:p.scopeName}));return function(g){const N=d.reduce((j,{useScope:y,scopeName:_})=>{const f=y(g)[`__scope${_}`];return{...j,...f}},{});return H.useMemo(()=>({[`__scope${i.scopeName}`]:N}),[N])}};return c.scopeName=i.scopeName,c}function xU(a){const i=a+"CollectionProvider",[c,d]=cb(i),[p,g]=c(i,{collectionRef:{current:null},itemMap:new Map}),N=I=>{const{scope:O,children:Q}=I,xe=ie.useRef(null),W=ie.useRef(new Map).current;return jt.jsx(p,{scope:O,itemMap:W,collectionRef:xe,children:Q})};N.displayName=i;const j=a+"CollectionSlot",y=Gd(j),_=ie.forwardRef((I,O)=>{const{scope:Q,children:xe}=I,W=g(j,Q),pe=Yd(O,W.collectionRef);return jt.jsx(y,{ref:pe,children:xe})});_.displayName=j;const V=a+"CollectionItemSlot",f="data-radix-collection-item",x=Gd(V),C=ie.forwardRef((I,O)=>{const{scope:Q,children:xe,...W}=I,pe=ie.useRef(null),re=Yd(O,pe),de=g(V,Q);return ie.useEffect(()=>(de.itemMap.set(pe,{ref:pe,...W}),()=>void de.itemMap.delete(pe))),jt.jsx(x,{[f]:"",ref:re,children:xe})});C.displayName=V;function Y(I){const O=g(a+"CollectionConsumer",I);return ie.useCallback(()=>{const xe=O.collectionRef.current;if(!xe)return[];const W=Array.from(xe.querySelectorAll(`[${f}]`));return Array.from(O.itemMap.values()).sort((de,ge)=>W.indexOf(de.ref.current)-W.indexOf(ge.ref.current))},[O.collectionRef,O.itemMap])}return[{Provider:N,Slot:_,ItemSlot:C},Y,d]}var Xd=globalThis!=null&&globalThis.document?H.useLayoutEffect:()=>{},vU=p1[" useId ".trim().toString()]||(()=>{}),yU=0;function ew(a){const[i,c]=H.useState(vU());return Xd(()=>{c(d=>d??String(yU++))},[a]),a||(i?`radix-${i}`:"")}var NU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ka=NU.reduce((a,i)=>{const c=Gd(`Primitive.${i}`),d=H.forwardRef((p,g)=>{const{asChild:N,...j}=p,y=N?c:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jt.jsx(y,{...j,ref:g})});return d.displayName=`Primitive.${i}`,{...a,[i]:d}},{});function wU(a){const i=H.useRef(a);return H.useEffect(()=>{i.current=a}),H.useMemo(()=>(...c)=>{var d;return(d=i.current)==null?void 0:d.call(i,...c)},[])}var SU=p1[" useInsertionEffect ".trim().toString()]||Xd;function tw({prop:a,defaultProp:i,onChange:c=()=>{},caller:d}){const[p,g,N]=EU({defaultProp:i,onChange:c}),j=a!==void 0,y=j?a:p;{const V=H.useRef(a!==void 0);H.useEffect(()=>{const f=V.current;f!==j&&console.warn(`${d} is changing from ${f?"controlled":"uncontrolled"} to ${j?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),V.current=j},[j,d])}const _=H.useCallback(V=>{var f;if(j){const x=jU(V)?V(a):V;x!==a&&((f=N.current)==null||f.call(N,x))}else g(V)},[j,a,g,N]);return[y,_]}function EU({defaultProp:a,onChange:i}){const[c,d]=H.useState(a),p=H.useRef(c),g=H.useRef(i);return SU(()=>{g.current=i},[i]),H.useEffect(()=>{var N;p.current!==c&&((N=g.current)==null||N.call(g,c),p.current=c)},[c,p]),[c,d,g]}function jU(a){return typeof a=="function"}var DU=H.createContext(void 0);function nw(a){const i=H.useContext(DU);return a||i||"ltr"}var Mh="rovingFocusGroup.onEntryFocus",TU={bubbles:!1,cancelable:!0},Pc="RovingFocusGroup",[nb,sw,_U]=xU(Pc),[UU,rw]=cb(Pc,[_U]),[CU,RU]=UU(Pc),ow=H.forwardRef((a,i)=>jt.jsx(nb.Provider,{scope:a.__scopeRovingFocusGroup,children:jt.jsx(nb.Slot,{scope:a.__scopeRovingFocusGroup,children:jt.jsx(AU,{...a,ref:i})})}));ow.displayName=Pc;var AU=H.forwardRef((a,i)=>{const{__scopeRovingFocusGroup:c,orientation:d,loop:p=!1,dir:g,currentTabStopId:N,defaultCurrentTabStopId:j,onCurrentTabStopIdChange:y,onEntryFocus:_,preventScrollOnEntryFocus:V=!1,...f}=a,x=H.useRef(null),C=Yd(i,x),Y=nw(g),[I,O]=tw({prop:N,defaultProp:j??null,onChange:y,caller:Pc}),[Q,xe]=H.useState(!1),W=wU(_),pe=sw(c),re=H.useRef(!1),[de,ge]=H.useState(0);return H.useEffect(()=>{const J=x.current;if(J)return J.addEventListener(Mh,W),()=>J.removeEventListener(Mh,W)},[W]),jt.jsx(CU,{scope:c,orientation:d,dir:Y,loop:p,currentTabStopId:I,onItemFocus:H.useCallback(J=>O(J),[O]),onItemShiftTab:H.useCallback(()=>xe(!0),[]),onFocusableItemAdd:H.useCallback(()=>ge(J=>J+1),[]),onFocusableItemRemove:H.useCallback(()=>ge(J=>J-1),[]),children:jt.jsx(Ka.div,{tabIndex:Q||de===0?-1:0,"data-orientation":d,...f,ref:C,style:{outline:"none",...a.style},onMouseDown:Rr(a.onMouseDown,()=>{re.current=!0}),onFocus:Rr(a.onFocus,J=>{const K=!re.current;if(J.target===J.currentTarget&&K&&!Q){const ue=new CustomEvent(Mh,TU);if(J.currentTarget.dispatchEvent(ue),!ue.defaultPrevented){const se=pe().filter(T=>T.focusable),we=se.find(T=>T.active),X=se.find(T=>T.id===I),A=[we,X,...se].filter(Boolean).map(T=>T.ref.current);lw(A,V)}}re.current=!1}),onBlur:Rr(a.onBlur,()=>xe(!1))})})}),iw="RovingFocusGroupItem",aw=H.forwardRef((a,i)=>{const{__scopeRovingFocusGroup:c,focusable:d=!0,active:p=!1,tabStopId:g,children:N,...j}=a,y=ew(),_=g||y,V=RU(iw,c),f=V.currentTabStopId===_,x=sw(c),{onFocusableItemAdd:C,onFocusableItemRemove:Y,currentTabStopId:I}=V;return H.useEffect(()=>{if(d)return C(),()=>Y()},[d,C,Y]),jt.jsx(nb.ItemSlot,{scope:c,id:_,focusable:d,active:p,children:jt.jsx(Ka.span,{tabIndex:f?0:-1,"data-orientation":V.orientation,...j,ref:i,onMouseDown:Rr(a.onMouseDown,O=>{d?V.onItemFocus(_):O.preventDefault()}),onFocus:Rr(a.onFocus,()=>V.onItemFocus(_)),onKeyDown:Rr(a.onKeyDown,O=>{if(O.key==="Tab"&&O.shiftKey){V.onItemShiftTab();return}if(O.target!==O.currentTarget)return;const Q=PU(O,V.orientation,V.dir);if(Q!==void 0){if(O.metaKey||O.ctrlKey||O.altKey||O.shiftKey)return;O.preventDefault();let W=x().filter(pe=>pe.focusable).map(pe=>pe.ref.current);if(Q==="last")W.reverse();else if(Q==="prev"||Q==="next"){Q==="prev"&&W.reverse();const pe=W.indexOf(O.currentTarget);W=V.loop?OU(W,pe+1):W.slice(pe+1)}setTimeout(()=>lw(W))}}),children:typeof N=="function"?N({isCurrentTabStop:f,hasTabStop:I!=null}):N})})});aw.displayName=iw;var VU={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function MU(a,i){return i!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function PU(a,i,c){const d=MU(a.key,c);if(!(i==="vertical"&&["ArrowLeft","ArrowRight"].includes(d))&&!(i==="horizontal"&&["ArrowUp","ArrowDown"].includes(d)))return VU[d]}function lw(a,i=!1){const c=document.activeElement;for(const d of a)if(d===c||(d.focus({preventScroll:i}),document.activeElement!==c))return}function OU(a,i){return a.map((c,d)=>a[(i+d)%a.length])}var kU=ow,zU=aw;function HU(a,i){return H.useReducer((c,d)=>i[c][d]??c,a)}var cw=a=>{const{present:i,children:c}=a,d=BU(i),p=typeof c=="function"?c({present:d.isPresent}):H.Children.only(c),g=Yd(d.ref,LU(p));return typeof c=="function"||d.isPresent?H.cloneElement(p,{ref:g}):null};cw.displayName="Presence";function BU(a){const[i,c]=H.useState(),d=H.useRef(null),p=H.useRef(a),g=H.useRef("none"),N=a?"mounted":"unmounted",[j,y]=HU(N,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const _=Od(d.current);g.current=j==="mounted"?_:"none"},[j]),Xd(()=>{const _=d.current,V=p.current;if(V!==a){const x=g.current,C=Od(_);a?y("MOUNT"):C==="none"||(_==null?void 0:_.display)==="none"?y("UNMOUNT"):y(V&&x!==C?"ANIMATION_OUT":"UNMOUNT"),p.current=a}},[a,y]),Xd(()=>{if(i){let _;const V=i.ownerDocument.defaultView??window,f=C=>{const I=Od(d.current).includes(C.animationName);if(C.target===i&&I&&(y("ANIMATION_END"),!p.current)){const O=i.style.animationFillMode;i.style.animationFillMode="forwards",_=V.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=O)})}},x=C=>{C.target===i&&(g.current=Od(d.current))};return i.addEventListener("animationstart",x),i.addEventListener("animationcancel",f),i.addEventListener("animationend",f),()=>{V.clearTimeout(_),i.removeEventListener("animationstart",x),i.removeEventListener("animationcancel",f),i.removeEventListener("animationend",f)}}else y("ANIMATION_END")},[i,y]),{isPresent:["mounted","unmountSuspended"].includes(j),ref:H.useCallback(_=>{d.current=_?getComputedStyle(_):null,c(_)},[])}}function Od(a){return(a==null?void 0:a.animationName)||"none"}function LU(a){var d,p;let i=(d=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:d.get,c=i&&"isReactWarning"in i&&i.isReactWarning;return c?a.ref:(i=(p=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:p.get,c=i&&"isReactWarning"in i&&i.isReactWarning,c?a.props.ref:a.props.ref||a.ref)}var Zd="Tabs",[qU,E3]=cb(Zd,[rw]),uw=rw(),[FU,ub]=qU(Zd),dw=H.forwardRef((a,i)=>{const{__scopeTabs:c,value:d,onValueChange:p,defaultValue:g,orientation:N="horizontal",dir:j,activationMode:y="automatic",..._}=a,V=nw(j),[f,x]=tw({prop:d,onChange:p,defaultProp:g??"",caller:Zd});return jt.jsx(FU,{scope:c,baseId:ew(),value:f,onValueChange:x,orientation:N,dir:V,activationMode:y,children:jt.jsx(Ka.div,{dir:V,"data-orientation":N,..._,ref:i})})});dw.displayName=Zd;var mw="TabsList",fw=H.forwardRef((a,i)=>{const{__scopeTabs:c,loop:d=!0,...p}=a,g=ub(mw,c),N=uw(c);return jt.jsx(kU,{asChild:!0,...N,orientation:g.orientation,dir:g.dir,loop:d,children:jt.jsx(Ka.div,{role:"tablist","aria-orientation":g.orientation,...p,ref:i})})});fw.displayName=mw;var pw="TabsTrigger",hw=H.forwardRef((a,i)=>{const{__scopeTabs:c,value:d,disabled:p=!1,...g}=a,N=ub(pw,c),j=uw(c),y=xw(N.baseId,d),_=vw(N.baseId,d),V=d===N.value;return jt.jsx(zU,{asChild:!0,...j,focusable:!p,active:V,children:jt.jsx(Ka.button,{type:"button",role:"tab","aria-selected":V,"aria-controls":_,"data-state":V?"active":"inactive","data-disabled":p?"":void 0,disabled:p,id:y,...g,ref:i,onMouseDown:Rr(a.onMouseDown,f=>{!p&&f.button===0&&f.ctrlKey===!1?N.onValueChange(d):f.preventDefault()}),onKeyDown:Rr(a.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&N.onValueChange(d)}),onFocus:Rr(a.onFocus,()=>{const f=N.activationMode!=="manual";!V&&!p&&f&&N.onValueChange(d)})})})});hw.displayName=pw;var bw="TabsContent",gw=H.forwardRef((a,i)=>{const{__scopeTabs:c,value:d,forceMount:p,children:g,...N}=a,j=ub(bw,c),y=xw(j.baseId,d),_=vw(j.baseId,d),V=d===j.value,f=H.useRef(V);return H.useEffect(()=>{const x=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(x)},[]),jt.jsx(cw,{present:p||V,children:({present:x})=>jt.jsx(Ka.div,{"data-state":V?"active":"inactive","data-orientation":j.orientation,role:"tabpanel","aria-labelledby":y,hidden:!x,id:_,tabIndex:0,...N,ref:i,style:{...a.style,animationDuration:f.current?"0s":void 0},children:x&&g})})});gw.displayName=bw;function xw(a,i){return`${a}-trigger-${i}`}function vw(a,i){return`${a}-content-${i}`}var YU=dw,GU=fw,$U=hw,IU=gw;function Kd({className:a,...i}){return l.jsxDEV(YU,{"data-slot":"tabs",className:An("flex flex-col gap-2",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/tabs.tsx",lineNumber:11,columnNumber:5},this)}function Jd({className:a,...i}){return l.jsxDEV(GU,{"data-slot":"tabs-list",className:An("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/tabs.tsx",lineNumber:24,columnNumber:5},this)}function Ds({className:a,...i}){return l.jsxDEV($U,{"data-slot":"tabs-trigger",className:An("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/tabs.tsx",lineNumber:40,columnNumber:5},this)}function Ts({className:a,...i}){return l.jsxDEV(IU,{"data-slot":"tabs-content",className:An("flex-1 outline-none",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/tabs.tsx",lineNumber:56,columnNumber:5},this)}const QU=async()=>{const a=await fetch("http://localhost:3333/api/config");if(!a.ok)throw new Error("Failed to fetch config");return a.json()},XU=async a=>{if(!(await fetch("http://localhost:3333/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok)throw new Error("Failed to save config")},ZU=async()=>{const a=await fetch("http://localhost:3333/api/files");if(!a.ok)throw new Error("Failed to fetch files");return a.json()},KU=async a=>{const i=await fetch("http://localhost:3333/api/test-pattern",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pattern:a})});if(!i.ok)throw new Error("Failed to test pattern");return i.json()};function JU(){const a=Qa(),[i,c]=H.useState(null),[d,p]=H.useState(!1),[g,N]=H.useState("name"),[j,y]=H.useState(""),[_,V]=H.useState(new Set),[f,x]=H.useState([]),[C,Y]=H.useState(-1),[I,O]=H.useState(""),[Q,xe]=H.useState([]),{data:W,isLoading:pe}=js({queryKey:["config"],queryFn:QU}),{data:re,isLoading:de}=js({queryKey:["project-files"],queryFn:ZU}),ge=fi({mutationFn:XU,onSuccess:()=>{a.invalidateQueries({queryKey:["config"]}),a.invalidateQueries({queryKey:["bundles"]}),c(null),p(!1),y(""),V(new Set),x([]),N("name"),ot.success("Bundle configuration saved!")},onError:ee=>{ot.error(`Failed to save: ${ee.message}`)}}),J=ee=>{const A=[],T=new Set;return ee.forEach(k=>{const z=k.split("/").slice(0,-1).join("/");z&&T.add(z)}),T.forEach(k=>{ee.filter(ae=>ae.startsWith(k+"/")).length>1&&A.push(`${k}/**/*`)}),ee.forEach(k=>{A.some(ae=>new RegExp(ae.replace(/\*\*/g,".*").replace(/\*/g,"[^/]*")).test(k))||A.push(k)}),A.length>0?A:ee},K=()=>{if(!W||!j.trim())return;const ee=f.length>0?f:Array.from(_),A={...W,bundles:{...W.bundles,[j]:ee}};ge.mutate(A)},ue=ee=>{if(!W)return;const{[ee]:A,...T}=W.bundles,k={...W,bundles:T};ge.mutate(k)},se=(ee,A)=>{if(!W)return;const T={...W,bundles:{...W.bundles,[ee]:A}};ge.mutate(T)},we=async()=>{if(I.trim())try{const ee=await KU(I);xe(ee)}catch{ot.error("Failed to test pattern")}},X=(ee,A,T)=>{const k=new Set(_);if(T!=null&&T.shiftKey&&C>=0&&re){const z=Math.min(C,A),ae=Math.max(C,A);for(let w=z;w<=ae;w++)re[w]&&k.add(re[w].path)}else k.has(ee)?k.delete(ee):k.add(ee);if(V(k),Y(A),k.size>0){const z=J(Array.from(k));x(z)}else x([])};return pe||de?l.jsxDEV("div",{className:"p-4",children:"Loading..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:216,columnNumber:12},this):l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center justify-between",children:["Bundle Configuration",l.jsxDEV(_e,{onClick:()=>p(!0),size:"sm",children:[l.jsxDEV(Aa,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:228,columnNumber:13},this),"Create Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:224,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:222,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:221,columnNumber:7},this),l.jsxDEV(it,{className:"space-y-6",children:[d&&l.jsxDEV(nt,{className:"border-2 border-blue-200 bg-blue-50/50",children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"text-lg",children:"Create New Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:238,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:237,columnNumber:13},this),l.jsxDEV(it,{children:l.jsxDEV(Kd,{value:g,onValueChange:ee=>N(ee),children:[l.jsxDEV(Jd,{className:"grid w-full grid-cols-3",children:[l.jsxDEV(Ds,{value:"name",children:"1. Name"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:243,columnNumber:19},this),l.jsxDEV(Ds,{value:"files",disabled:!j.trim(),children:"2. Select Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:244,columnNumber:19},this),l.jsxDEV(Ds,{value:"patterns",disabled:_.size===0,children:"3. Review"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:245,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:242,columnNumber:17},this),l.jsxDEV(Ts,{value:"name",className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("label",{className:"text-sm font-medium",children:"Bundle Name"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:250,columnNumber:21},this),l.jsxDEV(Ca,{placeholder:"e.g., frontend, api, components",value:j,onChange:ee=>y(ee.target.value)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:251,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:249,columnNumber:19},this),l.jsxDEV(_e,{onClick:()=>N("files"),disabled:!j.trim(),children:"Next: Select Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:257,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:248,columnNumber:17},this),l.jsxDEV(Ts,{value:"files",className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[l.jsxDEV("label",{className:"text-sm font-medium",children:['Select Files for "',j,'"']},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:268,columnNumber:23},this),l.jsxDEV(gt,{variant:"outline",children:[_.size," selected"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:269,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:267,columnNumber:21},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground mb-2",children:"Click to select files. Hold Shift and click to select ranges."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:272,columnNumber:21},this),l.jsxDEV("div",{className:"max-h-64 overflow-y-auto border rounded-lg p-3 space-y-1",children:re==null?void 0:re.map((ee,A)=>l.jsxDEV("div",{className:"flex items-center gap-2 p-2 hover:bg-gray-50 rounded cursor-pointer select-none",onClick:T=>X(ee.path,A,T),children:[_.has(ee.path)?l.jsxDEV(b_,{className:"w-4 h-4 text-blue-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:284,columnNumber:29},this):l.jsxDEV(Q1,{className:"w-4 h-4 text-gray-400"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:286,columnNumber:29},this),l.jsxDEV("span",{className:"text-sm font-mono flex-1",children:ee.path},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:288,columnNumber:27},this),l.jsxDEV(gt,{variant:"outline",className:"text-xs",children:ee.type},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:289,columnNumber:27},this)]},ee.path,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:278,columnNumber:25},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:276,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:266,columnNumber:19},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>N("name"),children:"Back"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:296,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>N("patterns"),disabled:_.size===0,children:"Next: Review Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:299,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:295,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:265,columnNumber:17},this),l.jsxDEV(Ts,{value:"patterns",className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("label",{className:"text-sm font-medium",children:"Generated Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:310,columnNumber:21},this),l.jsxDEV("div",{className:"space-y-2 mt-2",children:[f.map((ee,A)=>l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Ca,{value:ee,onChange:T=>{const k=[...f];k[A]=T.target.value,x(k)},className:"font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:314,columnNumber:27},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>{const T=f.filter((k,z)=>z!==A);x(T)},children:l.jsxDEV(Bd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:331,columnNumber:29},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:323,columnNumber:27},this)]},A,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:313,columnNumber:25},this)),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>x([...f,"**/*"]),children:[l.jsxDEV(Aa,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:340,columnNumber:25},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:335,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:311,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:309,columnNumber:19},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>N("files"),children:"Back"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:347,columnNumber:21},this),l.jsxDEV(_e,{variant:"outline",onClick:()=>p(!1),children:"Cancel"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:350,columnNumber:21},this),l.jsxDEV(_e,{onClick:K,disabled:ge.isPending,children:"Create Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:353,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:346,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:308,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:241,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:240,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:236,columnNumber:11},this),l.jsxDEV("div",{className:"space-y-4",children:W&&Object.entries(W.bundles).map(([ee,A])=>l.jsxDEV("div",{className:"border rounded-lg p-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[l.jsxDEV("h3",{className:"font-medium",children:ee},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:368,columnNumber:17},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>c(i===ee?null:ee),children:i===ee?"Done":"Edit"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:370,columnNumber:19},this),ee!=="master"&&l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>ue(ee),children:l.jsxDEV(Bd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:383,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:378,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:369,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:367,columnNumber:15},this),i===ee?l.jsxDEV("div",{className:"space-y-2",children:[A.map((T,k)=>l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Ca,{value:T,onChange:z=>{const ae=[...A];ae[k]=z.target.value,se(ee,ae)},placeholder:"e.g., src/**/*.ts",className:"font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:393,columnNumber:23},this),A.length>1&&l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>{const z=A.filter((ae,w)=>w!==k);se(ee,z)},children:l.jsxDEV(Bd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:412,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:404,columnNumber:25},this)]},k,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:392,columnNumber:21},this)),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>se(ee,[...A,"**/*"]),children:[l.jsxDEV(Aa,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:422,columnNumber:21},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:417,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:390,columnNumber:17},this):l.jsxDEV("div",{className:"flex flex-wrap gap-1",children:A.map((T,k)=>l.jsxDEV(gt,{variant:"secondary",className:"font-mono text-xs",children:T},k,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:429,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:427,columnNumber:17},this)]},ee,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:366,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:364,columnNumber:9},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Test a Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:442,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:441,columnNumber:11},this),l.jsxDEV(it,{className:"space-y-3",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Ca,{placeholder:"e.g., src/**/*.ts",value:I,onChange:ee=>O(ee.target.value),className:"font-mono"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:446,columnNumber:15},this),l.jsxDEV(_e,{onClick:we,children:[l.jsxDEV(Ua,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:453,columnNumber:17},this),"Test"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:452,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:445,columnNumber:13},this),Q.length>0&&l.jsxDEV("div",{className:"mt-3",children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground mb-2",children:["Found ",Q.length," files:"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:460,columnNumber:17},this),l.jsxDEV("div",{className:"max-h-32 overflow-y-auto text-xs space-y-1 bg-muted/50 p-2 rounded font-mono",children:[Q.slice(0,20).map((ee,A)=>l.jsxDEV("div",{children:ee},A,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:465,columnNumber:21},this)),Q.length>20&&l.jsxDEV("div",{className:"text-muted-foreground",children:["... and ",Q.length-20," more files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:468,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:463,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:459,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:444,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:440,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:233,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/EnhancedBundleConfig.tsx",lineNumber:220,columnNumber:5},this)}function t1({className:a,...i}){return l.jsxDEV("textarea",{"data-slot":"textarea",className:An("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/textarea.tsx",lineNumber:7,columnNumber:5},this)}const WU=lb("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function Ur({className:a,variant:i,...c}){return l.jsxDEV("div",{"data-slot":"alert",role:"alert",className:An(WU({variant:i}),a),...c},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/alert.tsx",lineNumber:28,columnNumber:5},this)}function Cr({className:a,...i}){return l.jsxDEV("div",{"data-slot":"alert-description",className:An("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",a),...i},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/ui/alert.tsx",lineNumber:55,columnNumber:5},this)}const e3=async()=>{const a=await fetch("http://localhost:3333/api/cursor-rules");if(!a.ok)throw new Error("Failed to fetch cursor rules");return a.text()},t3=async a=>{if(!(await fetch("http://localhost:3333/api/cursor-rules",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:a})})).ok)throw new Error("Failed to save cursor rules")},n3=async()=>{const a=await fetch("http://localhost:3333/api/claude-md");if(!a.ok)throw new Error("Failed to fetch CLAUDE.md");return a.text()},s3=async a=>{if(!(await fetch("http://localhost:3333/api/claude-md",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:a})})).ok)throw new Error("Failed to save CLAUDE.md")};function r3(){const a=Qa(),[i,c]=H.useState(""),[d,p]=H.useState(""),[g,N]=H.useState("cursor"),{data:j,isLoading:y}=js({queryKey:["cursor-rules"],queryFn:e3}),_=fi({mutationFn:t3,onSuccess:()=>{a.invalidateQueries({queryKey:["cursor-rules"]}),ot.success(".cursorrules saved successfully!")},onError:Q=>{ot.error(`Failed to save .cursorrules: ${Q.message}`)}}),{data:V,isLoading:f}=js({queryKey:["claude-md"],queryFn:n3}),x=fi({mutationFn:s3,onSuccess:()=>{a.invalidateQueries({queryKey:["claude-md"]}),ot.success("CLAUDE.md saved successfully!")},onError:Q=>{ot.error(`Failed to save CLAUDE.md: ${Q.message}`)}});H.useEffect(()=>{j&&!i&&c(j)},[j]),H.useEffect(()=>{V&&!d&&p(V)},[V]);const C=()=>{_.mutate(i)},Y=()=>{x.mutate(d)},I=(Q,xe)=>{navigator.clipboard.writeText(Q),ot.success(`${xe} copied to clipboard!`)},O=(Q,xe)=>{const W=new Blob([Q],{type:"text/plain"}),pe=URL.createObjectURL(W),re=document.createElement("a");re.href=pe,re.download=xe,document.body.appendChild(re),re.click(),document.body.removeChild(re),URL.revokeObjectURL(pe),ot.success(`${xe} downloaded!`)};return l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(wi,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:126,columnNumber:11},this),"AI Rules & Context"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:125,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:124,columnNumber:7},this),l.jsxDEV(it,{children:[l.jsxDEV(Ur,{className:"mb-4",children:[l.jsxDEV(eb,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:132,columnNumber:11},this),l.jsxDEV(Cr,{children:["Configure AI context files for better assistance. ",l.jsxDEV("strong",{children:".cursorrules"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:134,columnNumber:63},this)," works with Cursor, while ",l.jsxDEV("strong",{children:"CLAUDE.md"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:135,columnNumber:19},this)," provides project context for Claude."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:133,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:131,columnNumber:9},this),l.jsxDEV(Kd,{value:g,onValueChange:Q=>N(Q),className:"space-y-4",children:[l.jsxDEV(Jd,{className:"grid w-full grid-cols-2",children:[l.jsxDEV(Ds,{value:"cursor",className:"flex items-center gap-2",children:[l.jsxDEV(Ra,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:142,columnNumber:15},this),".cursorrules"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:141,columnNumber:13},this),l.jsxDEV(Ds,{value:"claude",className:"flex items-center gap-2",children:[l.jsxDEV(wi,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:146,columnNumber:15},this),"CLAUDE.md"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:145,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:140,columnNumber:11},this),l.jsxDEV(Ts,{value:"cursor",className:"space-y-4",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{children:[l.jsxDEV("h3",{className:"font-medium",children:"Cursor AI Assistant Rules"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:154,columnNumber:17},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Configure how Cursor's AI understands your project"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:155,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:153,columnNumber:15},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>I(i,".cursorrules"),children:[l.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:165,columnNumber:19},this),"Copy"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:160,columnNumber:17},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>O(i,".cursorrules"),children:[l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:173,columnNumber:19},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:168,columnNumber:17},this),l.jsxDEV(_e,{onClick:C,disabled:_.isPending,size:"sm",children:[l.jsxDEV(JN,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:181,columnNumber:19},this),"Save"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:176,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:159,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:152,columnNumber:13},this),y?l.jsxDEV("div",{className:"flex items-center justify-center p-8",children:[l.jsxDEV(Id,{className:"w-6 h-6 animate-spin mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:189,columnNumber:17},this),"Loading..."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:188,columnNumber:15},this):l.jsxDEV(t1,{value:i,onChange:Q=>c(Q.target.value),placeholder:"Enter your Cursor AI rules here...",className:"min-h-[300px] font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:193,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:151,columnNumber:11},this),l.jsxDEV(Ts,{value:"claude",className:"space-y-4",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{children:[l.jsxDEV("h3",{className:"font-medium",children:"Claude Project Context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:205,columnNumber:17},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Markdown file explaining your project structure and guidelines"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:206,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:204,columnNumber:15},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>I(d,"CLAUDE.md"),children:[l.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:216,columnNumber:19},this),"Copy"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:211,columnNumber:17},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>O(d,"CLAUDE.md"),children:[l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:224,columnNumber:19},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:219,columnNumber:17},this),l.jsxDEV(_e,{onClick:Y,disabled:x.isPending,size:"sm",children:[l.jsxDEV(JN,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:232,columnNumber:19},this),"Save"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:227,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:210,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:203,columnNumber:13},this),f?l.jsxDEV("div",{className:"flex items-center justify-center p-8",children:[l.jsxDEV(Id,{className:"w-6 h-6 animate-spin mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:240,columnNumber:17},this),"Loading..."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:239,columnNumber:15},this):l.jsxDEV(t1,{value:d,onChange:Q=>p(Q.target.value),placeholder:"Enter your Claude project context here...",className:"min-h-[300px] font-mono text-sm"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:244,columnNumber:15},this),l.jsxDEV(Ur,{children:[l.jsxDEV(eb,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:253,columnNumber:15},this),l.jsxDEV(Cr,{children:"This file helps Claude understand your project. Include project structure, coding conventions, key concepts, and any important context."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:254,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:252,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:202,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:139,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:130,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/AIRulesManager.tsx",lineNumber:123,columnNumber:5},this)}const o3=async(a=null)=>{const i=a?`http://localhost:3333/api/files-with-visibility?bundle=${a}`:"http://localhost:3333/api/files-with-visibility",c=await fetch(i);if(!c.ok)throw new Error("Failed to fetch files");return c.json()},i3=async()=>{const a=await fetch("http://localhost:3333/api/ignore-patterns");if(!a.ok)throw new Error("Failed to fetch ignore patterns");return a.json()},a3=async()=>{const a=await fetch("http://localhost:3333/api/bundle-visibility-stats");if(!a.ok)throw new Error("Failed to fetch bundle stats");return a.json()},l3=async({filePath:a,bundleName:i=null,forceHide:c=null})=>{const d=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"toggle",filePath:a,bundleName:i,forceHide:c})});if(!d.ok)throw new Error("Failed to toggle file visibility");return d.json()},c3=async({filePaths:a,bundleName:i=null,forceHide:c})=>{const d=await fetch("http://localhost:3333/api/hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"bulk-toggle",filePaths:a,bundleName:i,forceHide:c})});if(!d.ok)throw new Error("Failed to bulk toggle visibility");return d.json()},u3=async({action:a,pattern:i})=>{const c=await fetch("http://localhost:3333/api/ignore-patterns",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:a,pattern:i})});if(!c.ok)throw new Error("Failed to manage ignore pattern");return c.json()},d3=async({scope:a,bundleName:i=null})=>{const c=await fetch("http://localhost:3333/api/reset-hidden-files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({scope:a,bundleName:i})});if(!c.ok)throw new Error("Failed to reset hidden files");return c.json()};function m3(){const a=Qa(),[i,c]=H.useState(null),[d,p]=H.useState(""),[g,N]=H.useState(!1),[j,y]=H.useState("all"),[_,V]=H.useState(""),[f,x]=H.useState([]),{data:C=[],isLoading:Y}=js({queryKey:["files-with-visibility",i],queryFn:()=>o3(i),refetchInterval:5e3}),{data:I={system:[],user:[],file:[]},isLoading:O}=js({queryKey:["ignore-patterns"],queryFn:i3,refetchInterval:1e4}),{data:Q={},isLoading:xe}=js({queryKey:["bundle-visibility-stats"],queryFn:a3,refetchInterval:5e3}),W=fi({mutationFn:l3,onSuccess:()=>{a.invalidateQueries({queryKey:["files-with-visibility"]}),a.invalidateQueries({queryKey:["bundle-visibility-stats"]}),a.invalidateQueries({queryKey:["bundles"]}),ot.success("File visibility updated")},onError:X=>ot.error(`Failed to update file visibility: ${X.message}`)}),pe=fi({mutationFn:c3,onSuccess:()=>{a.invalidateQueries({queryKey:["files-with-visibility"]}),a.invalidateQueries({queryKey:["bundle-visibility-stats"]}),a.invalidateQueries({queryKey:["bundles"]}),x([]),ot.success("Bulk visibility update completed")},onError:X=>ot.error(`Failed to bulk update visibility: ${X.message}`)}),re=fi({mutationFn:u3,onSuccess:()=>{a.invalidateQueries({queryKey:["ignore-patterns"]}),a.invalidateQueries({queryKey:["files-with-visibility"]}),a.invalidateQueries({queryKey:["bundles"]}),ot.success("Ignore pattern updated")},onError:X=>ot.error(`Failed to update ignore pattern: ${X.message}`)}),de=fi({mutationFn:d3,onSuccess:()=>{a.invalidateQueries({queryKey:["files-with-visibility"]}),a.invalidateQueries({queryKey:["bundle-visibility-stats"]}),a.invalidateQueries({queryKey:["bundles"]}),ot.success("Hidden files reset successfully")},onError:X=>ot.error(`Failed to reset hidden files: ${X.message}`)}),ge=C.filter(X=>{const ee=X.path.toLowerCase().includes(d.toLowerCase()),A=j==="all"||j==="hidden"&&!X.visible||j==="visible"&&X.visible,T=g||X.visible;return ee&&A&&T}),J=X=>{W.mutate({filePath:X,bundleName:i})},K=X=>{pe.mutate({filePaths:f,bundleName:i,forceHide:X})},ue=()=>{_.trim()&&(re.mutate({action:"add",pattern:_.trim()}),V(""))},se=(X,ee=!1)=>{const A=ee?"toggle-system":"remove";re.mutate({action:A,pattern:X})},we=[...(I.system||[]).map(X=>({...X,source:"system"})),...(I.user||[]).map(X=>({...X,source:"user"})),...(I.file||[]).map(X=>({...X,source:"file"}))];return l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV("div",{children:[l.jsxDEV("h2",{className:"text-lg font-semibold",children:"File Visibility & Ignore Management"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:259,columnNumber:11},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Control which files appear in bundles and manage ignore patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:260,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:258,columnNumber:9},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(gt,{variant:"outline",className:"flex items-center gap-1",children:[l.jsxDEV(Ua,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:266,columnNumber:13},this),ge.filter(X=>X.visible).length," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:265,columnNumber:11},this),l.jsxDEV(gt,{variant:"outline",className:"flex items-center gap-1",children:[l.jsxDEV(_a,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:270,columnNumber:13},this),ge.filter(X=>!X.visible).length," hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:269,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:264,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:257,columnNumber:7},this),l.jsxDEV(Kd,{defaultValue:"files",className:"space-y-6",children:[l.jsxDEV(Jd,{children:[l.jsxDEV(Ds,{value:"files",children:"File Visibility"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:278,columnNumber:11},this),l.jsxDEV(Ds,{value:"patterns",children:"Ignore Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:279,columnNumber:11},this),l.jsxDEV(Ds,{value:"bundles",children:"Bundle Overview"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:280,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:277,columnNumber:9},this),l.jsxDEV(Ts,{value:"files",className:"space-y-4",children:[l.jsxDEV(nt,{children:l.jsxDEV(it,{className:"pt-6",children:[l.jsxDEV("div",{className:"flex items-center gap-4 mb-4",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("label",{className:"text-sm font-medium",children:"Bundle:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:290,columnNumber:19},this),l.jsxDEV("select",{value:i||"",onChange:X=>c(X.target.value||null),className:"px-3 py-2 border rounded-md text-sm",children:[l.jsxDEV("option",{value:"",children:"All Bundles (Global)"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:296,columnNumber:21},this),Object.keys(Q).map(X=>l.jsxDEV("option",{value:X,children:X},X,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:298,columnNumber:23},this))]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:291,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:289,columnNumber:17},this),i&&l.jsxDEV(gt,{variant:"secondary",children:["Bundle-specific visibility for ",i]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:304,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:288,columnNumber:15},this),l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV("div",{className:"flex-1",children:l.jsxDEV("div",{className:"relative",children:[l.jsxDEV(J_,{className:"absolute left-2 top-2.5 h-4 w-4 text-muted-foreground"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:313,columnNumber:21},this),l.jsxDEV(Ca,{placeholder:"Search files...",value:d,onChange:X=>p(X.target.value),className:"pl-8"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:314,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:312,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:311,columnNumber:17},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>N(!g),className:g?"bg-blue-50 border-blue-200":"",children:[g?l.jsxDEV(Ua,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:330,columnNumber:35},this):l.jsxDEV(_a,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:330,columnNumber:65},this),g?"Hide Hidden":"Show Hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:324,columnNumber:19},this),l.jsxDEV("select",{value:j,onChange:X=>y(X.target.value),className:"px-3 py-2 border rounded-md text-sm",children:[l.jsxDEV("option",{value:"all",children:"All Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:339,columnNumber:21},this),l.jsxDEV("option",{value:"visible",children:"Visible Only"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:340,columnNumber:21},this),l.jsxDEV("option",{value:"hidden",children:"Hidden Only"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:341,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:334,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:323,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:310,columnNumber:15},this),f.length>0&&l.jsxDEV("div",{className:"flex items-center gap-2 p-3 bg-blue-50 rounded-md border border-blue-200 mt-4",children:[l.jsxDEV(eb,{className:"w-4 h-4 text-blue-600"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:349,columnNumber:19},this),l.jsxDEV("span",{className:"text-sm text-blue-800",children:[f.length," files selected"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:350,columnNumber:19},this),l.jsxDEV("div",{className:"flex gap-2 ml-auto",children:[l.jsxDEV(_e,{size:"sm",onClick:()=>K(!1),children:[l.jsxDEV(Ua,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:355,columnNumber:23},this),"Show All"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:354,columnNumber:21},this),l.jsxDEV(_e,{size:"sm",variant:"outline",onClick:()=>K(!0),children:[l.jsxDEV(_a,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:359,columnNumber:23},this),"Hide All"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:358,columnNumber:21},this),l.jsxDEV(_e,{size:"sm",variant:"ghost",onClick:()=>x([]),children:"Cancel"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:362,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:353,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:348,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:287,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:286,columnNumber:11},this),l.jsxDEV(nt,{children:l.jsxDEV(it,{className:"pt-6",children:[Y?l.jsxDEV("div",{className:"text-center py-8",children:"Loading files..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:379,columnNumber:17},this):l.jsxDEV("div",{className:"space-y-2 max-h-96 overflow-y-auto",children:ge.map(X=>l.jsxDEV("div",{className:`flex items-center gap-3 p-2 rounded-md border transition-colors ${X.visible?"hover:bg-gray-50":"opacity-60 bg-gray-50"}`,children:[l.jsxDEV("input",{type:"checkbox",checked:f.includes(X.path),onChange:ee=>{ee.target.checked?x([...f,X.path]):x(f.filter(A=>A!==X.path))},className:"rounded"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:388,columnNumber:23},this),l.jsxDEV(Ra,{className:"w-4 h-4 text-muted-foreground flex-shrink-0"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:401,columnNumber:23},this),l.jsxDEV("div",{className:"flex-1 min-w-0",children:[l.jsxDEV("div",{className:"font-mono text-sm truncate",children:X.path},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:404,columnNumber:25},this),l.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[X.inBundles.map(ee=>l.jsxDEV(gt,{variant:"outline",className:"text-xs",children:ee},ee,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:407,columnNumber:29},this)),X.globallyHidden&&l.jsxDEV(gt,{variant:"destructive",className:"text-xs",children:"Globally Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:412,columnNumber:29},this),X.bundleHidden&&i&&l.jsxDEV(gt,{variant:"secondary",className:"text-xs",children:["Hidden in ",i]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:417,columnNumber:29},this),X.matchesIgnorePattern&&l.jsxDEV(gt,{variant:"outline",className:"text-xs text-gray-500",children:"Ignored"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:422,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:405,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:403,columnNumber:23},this),l.jsxDEV("div",{className:"text-xs text-muted-foreground",children:[(X.size/1024).toFixed(1),"kb"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:429,columnNumber:23},this),l.jsxDEV(_e,{size:"sm",variant:"ghost",onClick:()=>J(X.path),disabled:W.isPending,className:"flex-shrink-0",children:X.visible?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(_a,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:442,columnNumber:29},this),"Hide"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:441,columnNumber:27},this):l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ua,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:447,columnNumber:29},this),"Show"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:446,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:433,columnNumber:23},this)]},X.path,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:383,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:381,columnNumber:17},this),ge.length===0&&!Y&&l.jsxDEV("div",{className:"text-center py-8 text-muted-foreground",children:"No files match your current filters"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:458,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:377,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:376,columnNumber:11},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(X_,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:469,columnNumber:17},this),"Reset Options"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:468,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:467,columnNumber:13},this),l.jsxDEV(it,{className:"space-y-3",children:l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>de.mutate({scope:"global"}),disabled:de.isPending,children:"Reset Global Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:475,columnNumber:17},this),i&&l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>de.mutate({scope:"bundle",bundleName:i}),disabled:de.isPending,children:["Reset ",i," Bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:485,columnNumber:19},this),l.jsxDEV(_e,{variant:"outline",size:"sm",onClick:()=>de.mutate({scope:"all"}),disabled:de.isPending,className:"text-red-600 border-red-200 hover:bg-red-50",children:"Reset All Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:495,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:474,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:473,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:466,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:284,columnNumber:9},this),l.jsxDEV(Ts,{value:"patterns",className:"space-y-4",children:[l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Add Ignore Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:514,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:513,columnNumber:13},this),l.jsxDEV(it,{className:"space-y-4",children:[l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(Ca,{placeholder:"Enter glob pattern (e.g., *.log, src/debug/**)",value:_,onChange:X=>V(X.target.value),className:"flex-1",onKeyDown:X=>X.key==="Enter"&&ue()},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:518,columnNumber:17},this),l.jsxDEV(_e,{onClick:ue,disabled:!_.trim()||re.isPending,children:[l.jsxDEV(Aa,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:529,columnNumber:19},this),"Add Pattern"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:525,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:517,columnNumber:15},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:["Examples: ",l.jsxDEV("code",{children:"*.log"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:27},this),", ",l.jsxDEV("code",{children:"node_modules/**"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:47},this),", ",l.jsxDEV("code",{children:"src/debug.ts"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:77},this),", ",l.jsxDEV("code",{children:"**/*.test.*"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:535,columnNumber:104},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:534,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:516,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:512,columnNumber:11},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Current Ignore Patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:543,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:542,columnNumber:13},this),l.jsxDEV(it,{children:O?l.jsxDEV("div",{className:"text-center py-4",children:"Loading patterns..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:547,columnNumber:17},this):l.jsxDEV("div",{className:"space-y-3",children:we.map((X,ee)=>l.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-md border ${X.active?"":"opacity-60 bg-gray-50"}`,children:[l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"font-mono text-sm",children:X.pattern},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:557,columnNumber:25},this),l.jsxDEV("div",{className:"flex items-center gap-2 mt-1",children:[l.jsxDEV(gt,{variant:X.source==="system"?"secondary":X.source==="user"?"default":"outline",className:"text-xs",children:X.source==="system"?"System Default":X.source==="user"?"User Added":"File Pattern"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:559,columnNumber:27},this),X.active?l.jsxDEV(gt,{variant:"outline",className:"text-xs text-green-700",children:[l.jsxDEV(Ks,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:569,columnNumber:31},this),"Active"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:568,columnNumber:29},this):l.jsxDEV(gt,{variant:"outline",className:"text-xs text-gray-500",children:[l.jsxDEV(zd,{className:"w-3 h-3 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:574,columnNumber:31},this),"Disabled"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:573,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:558,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:556,columnNumber:23},this),l.jsxDEV("div",{className:"flex gap-2",children:X.source==="system"?l.jsxDEV(_e,{size:"sm",variant:"ghost",onClick:()=>se(X.pattern,!0),disabled:re.isPending,children:X.active?"Disable":"Enable"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:583,columnNumber:27},this):l.jsxDEV(_e,{size:"sm",variant:"ghost",onClick:()=>se(X.pattern,!1),disabled:re.isPending,children:l.jsxDEV(Bd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:598,columnNumber:29},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:592,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:581,columnNumber:23},this)]},ee,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:551,columnNumber:21},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:549,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:545,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:541,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:510,columnNumber:9},this),l.jsxDEV(Ts,{value:"bundles",className:"space-y-4",children:xe?l.jsxDEV("div",{className:"text-center py-8",children:"Loading bundle statistics..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:613,columnNumber:13},this):l.jsxDEV("div",{className:"grid gap-4",children:Object.entries(Q).map(([X,ee])=>l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV("div",{className:"flex justify-between items-center",children:[l.jsxDEV(yt,{children:X},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:620,columnNumber:23},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV(gt,{variant:"outline",children:[ee.visible," / ",ee.total," visible"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:622,columnNumber:25},this),ee.hidden>0&&l.jsxDEV(gt,{variant:"secondary",children:[ee.hidden," hidden"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:626,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:621,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:619,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:618,columnNumber:19},this),l.jsxDEV(it,{children:l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:l.jsxDEV("div",{className:"bg-blue-600 h-2 rounded-full",style:{width:`${ee.total>0?ee.visible/ee.total*100:0}%`}},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:637,columnNumber:27},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:636,columnNumber:25},this),l.jsxDEV(_e,{size:"sm",variant:"outline",onClick:()=>c(X),children:[l.jsxDEV($a,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:649,columnNumber:27},this),"Manage Files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:644,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:635,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:l.jsxDEV("div",{children:["Patterns: ",ee.patterns.join(", ")]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:655,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:654,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:634,columnNumber:21},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:633,columnNumber:19},this)]},X,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:617,columnNumber:17},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:615,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:611,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:276,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/HiddenFilesManager.tsx",lineNumber:255,columnNumber:5},this)}const yw=async()=>{try{const[a,i,c]=await Promise.all([fetch("http://localhost:3333/api/config"),fetch("http://localhost:3333/api/bundles"),fetch("http://localhost:3333/api/cursor-rules")]),d=a.ok,p=i.ok?await i.json():[],g=c.ok;return{hasConfig:d,hasIgnoreFile:!0,bundleCount:p.length||0,hasCursorRules:g,isFirstTime:!d||p.length===0}}catch{return{hasConfig:!1,hasIgnoreFile:!1,bundleCount:0,hasCursorRules:!1,isFirstTime:!0}}};function f3({onStartSetup:a}){const{data:i,isLoading:c}=js({queryKey:["setup-status"],queryFn:yw,refetchInterval:5e3});return c||!(i!=null&&i.isFirstTime)?null:l.jsxDEV(Ur,{className:"mb-6 border-blue-200 bg-blue-50",children:[l.jsxDEV($a,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:64,columnNumber:7},this),l.jsxDEV(Cr,{className:"flex items-center justify-between",children:[l.jsxDEV("div",{children:[l.jsxDEV("strong",{children:"Welcome to cntx-ui!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:67,columnNumber:11},this)," This looks like your first time. The web interface is already running - let's help you get set up properly."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:66,columnNumber:9},this),l.jsxDEV(_e,{onClick:a,size:"sm",children:"Start Setup Guide"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:70,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:65,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:63,columnNumber:5},this)}function p3({onOpenFullSetup:a}){const{data:i,isLoading:c}=js({queryKey:["setup-status"],queryFn:yw,refetchInterval:1e4});if(c)return l.jsxDEV("div",{children:"Checking setup status..."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:90,columnNumber:12},this);const d=[{label:"Configuration file exists",passed:(i==null?void 0:i.hasConfig)||!1,description:".cntx/config.json with bundle definitions"},{label:"Ignore patterns configured",passed:(i==null?void 0:i.hasIgnoreFile)||!1,description:".cntxignore file to exclude unnecessary files"},{label:"Bundles generated",passed:((i==null?void 0:i.bundleCount)||0)>0,description:`${(i==null?void 0:i.bundleCount)||0} bundles currently configured`},{label:"Cursor rules created",passed:(i==null?void 0:i.hasCursorRules)||!1,description:".cursorrules file for AI assistant context"}],p=d.every(g=>g.passed);return l.jsxDEV(nt,{className:p?"":"border-yellow-200",children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV($a,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:122,columnNumber:11},this),"Setup Status",p?l.jsxDEV(Ks,{className:"w-5 h-5 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:125,columnNumber:13},this):l.jsxDEV(Qd,{className:"w-5 h-5 text-yellow-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:127,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:121,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:120,columnNumber:7},this),l.jsxDEV(it,{children:[l.jsxDEV("div",{className:"space-y-3",children:d.map((g,N)=>l.jsxDEV("div",{className:"flex items-start gap-3",children:[l.jsxDEV("div",{className:"flex-shrink-0 mt-0.5",children:g.passed?l.jsxDEV(Ks,{className:"w-4 h-4 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:137,columnNumber:19},this):l.jsxDEV(Qd,{className:"w-4 h-4 text-yellow-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:139,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:135,columnNumber:15},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:`font-medium ${g.passed?"text-green-700":"text-yellow-700"}`,children:g.label},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:143,columnNumber:17},this),l.jsxDEV("div",{className:"text-sm text-gray-600",children:g.description},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:146,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:142,columnNumber:15},this)]},N,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:134,columnNumber:13},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:132,columnNumber:9},this),!p&&l.jsxDEV("div",{className:"mt-4 pt-4 border-t",children:l.jsxDEV(_e,{onClick:a,variant:"outline",className:"w-full",children:[l.jsxDEV(Z1,{className:"w-4 h-4 mr-2"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:155,columnNumber:15},this),"Complete Setup Guide"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:154,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:153,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:131,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:119,columnNumber:5},this)}function h3(){return l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(tb,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:171,columnNumber:11},this),"How to Use cntx-ui"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:170,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:169,columnNumber:7},this),l.jsxDEV(it,{className:"space-y-4",children:[l.jsxDEV(Ur,{className:"border-blue-200 bg-blue-50",children:[l.jsxDEV(K1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:177,columnNumber:11},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"You're already running!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:179,columnNumber:13},this)," The web interface provides full functionality. CLI commands are available for automation and advanced workflows."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:178,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:176,columnNumber:9},this),l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[l.jsxDEV(tb,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:187,columnNumber:15},this),"Web Interface (Recommended)"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:186,columnNumber:13},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[l.jsxDEV("p",{children:"Perfect for interactive use and project management:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:191,columnNumber:15},this),l.jsxDEV("div",{className:"ml-4 space-y-1",children:[l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Bundle Management:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:193,columnNumber:24},this)," View, create, and manage bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:193,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Configuration:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:194,columnNumber:24},this)," Edit bundle patterns visually"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:194,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Hidden Files:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:195,columnNumber:24},this)," Control file visibility per bundle"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:195,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Cursor Rules:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:196,columnNumber:24},this)," Manage AI assistant context"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:196,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Real-time Updates:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:197,columnNumber:24},this)," See changes immediately"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:197,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:192,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:190,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:185,columnNumber:11},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2 flex items-center gap-2",children:[l.jsxDEV(S_,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:204,columnNumber:15},this),"Command Line Interface"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:203,columnNumber:13},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-2",children:[l.jsxDEV("p",{children:"Great for automation, scripts, and CI/CD:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:208,columnNumber:15},this),l.jsxDEV("div",{className:"ml-4 space-y-1",children:[l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Quick bundle generation:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:24},this)," ",l.jsxDEV("code",{className:"bg-gray-100 px-1 rounded",children:"cntx-ui bundle master"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:66},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:210,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Status checking:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:24},this)," ",l.jsxDEV("code",{className:"bg-gray-100 px-1 rounded",children:"cntx-ui status"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:58},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:211,columnNumber:17},this),l.jsxDEV("div",{children:["• ",l.jsxDEV("strong",{children:"Scripting workflows:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:212,columnNumber:24},this)," Integrate with build processes"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:212,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:209,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:207,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:202,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:184,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:175,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:168,columnNumber:5},this)}function b3(){return l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(K1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:228,columnNumber:11},this),"CLI Reference"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:227,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:226,columnNumber:7},this),l.jsxDEV(it,{children:l.jsxDEV("div",{className:"space-y-3 text-sm font-mono",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui watch"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:235,columnNumber:13},this),l.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Start server (already running)"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:236,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:234,columnNumber:11},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui status"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:239,columnNumber:13},this),l.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Check configuration status"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:240,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:238,columnNumber:11},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("code",{className:"bg-gray-100 px-2 py-1 rounded text-xs",children:"cntx-ui bundle [name]"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:243,columnNumber:13},this),l.jsxDEV("span",{className:"text-gray-600 text-xs",children:"Generate specific bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:244,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:242,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:233,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:232,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:225,columnNumber:5},this)}function g3(){return l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(Ra,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:258,columnNumber:11},this),"Common Workflows"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:257,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:256,columnNumber:7},this),l.jsxDEV(it,{className:"space-y-4",children:[l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"🎯 For AI Development"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:264,columnNumber:11},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxDEV("div",{children:"1. Create focused bundles (api, ui, core)"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:266,columnNumber:13},this),l.jsxDEV("div",{children:"2. Hide debug/temp files from bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:267,columnNumber:13},this),l.jsxDEV("div",{children:"3. Copy bundle XML for AI context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:268,columnNumber:13},this),l.jsxDEV("div",{children:"4. Use Cursor Rules for project context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:269,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:265,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:263,columnNumber:9},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"📁 For Project Organization"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:274,columnNumber:11},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxDEV("div",{children:"1. Configure ignore patterns for unwanted files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:276,columnNumber:13},this),l.jsxDEV("div",{children:"2. Create bundles by feature or responsibility"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:277,columnNumber:13},this),l.jsxDEV("div",{children:"3. Use hidden files to trim bundle scope"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:278,columnNumber:13},this),l.jsxDEV("div",{children:"4. Monitor bundle sizes and file counts"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:279,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:275,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:273,columnNumber:9},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"🤖 For CI/CD Integration"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:284,columnNumber:11},this),l.jsxDEV("div",{className:"text-sm text-gray-600 space-y-1",children:[l.jsxDEV("div",{children:"1. Use CLI commands in build scripts"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:286,columnNumber:13},this),l.jsxDEV("div",{children:"2. Generate bundles for automated testing"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:287,columnNumber:13},this),l.jsxDEV("div",{children:"3. Export project context for deployment"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:288,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:285,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:283,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:262,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupComponents.tsx",lineNumber:255,columnNumber:5},this)}function x3(){const[a,i]=H.useState(0),[c,d]=H.useState([{id:"welcome",title:"Welcome to cntx-ui",description:"Organize your code into focused bundles for AI assistance",completed:!1,required:!0},{id:"bundles",title:"Create Your First Bundles",description:"Set up focused file collections and learn the basics",completed:!1,required:!0},{id:"ai-analysis",title:"AI Bundle Analysis (Optional)",description:"Let AI analyze your code and suggest optimal bundles",completed:!1,required:!1},{id:"mcp-integration",title:"MCP Integration (Enhanced)",description:"Set up seamless AI integration with Claude Desktop",completed:!1,required:!1},{id:"workflows",title:"Choose Your Workflow",description:"Manual copy/paste or seamless MCP integration",completed:!1,required:!1}]),[p,g]=H.useState(!1),[N,j]=H.useState(!1),y=async()=>{const C=`Analyze this codebase bundle and suggest an optimal bundle configuration for cntx-ui.
|
|
515
|
-
|
|
516
|
-
Based on the file structure and content, recommend 3-6 meaningful bundles with glob patterns that group related files logically.
|
|
517
|
-
|
|
518
|
-
Consider these common bundle types:
|
|
519
|
-
- Frontend/UI components and pages
|
|
520
|
-
- Backend API routes and controllers
|
|
521
|
-
- Configuration files
|
|
522
|
-
- Documentation
|
|
523
|
-
- Tests
|
|
524
|
-
- Utilities/helpers
|
|
525
|
-
- Styles/assets
|
|
526
|
-
|
|
527
|
-
Return ONLY a JSON configuration in this exact format:
|
|
528
|
-
{
|
|
529
|
-
"bundles": {
|
|
530
|
-
"master": ["**/*"],
|
|
531
|
-
"frontend": ["src/components/**/*", "src/pages/**/*", "src/hooks/**/*"],
|
|
532
|
-
"api": ["src/api/**/*", "routes/**/*", "controllers/**/*"],
|
|
533
|
-
"config": ["*.config.*", "package.json", "tsconfig.json"],
|
|
534
|
-
"docs": ["README.md", "docs/**/*", "*.md"],
|
|
535
|
-
"tests": ["**/*.test.*", "**/*.spec.*", "__tests__/**/*"]
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
Please analyze the following master bundle and suggest appropriate bundles:
|
|
540
|
-
|
|
541
|
-
[PASTE YOUR MASTER BUNDLE XML CONTENT HERE]`;try{await navigator.clipboard.writeText(C),g(!0),setTimeout(()=>g(!1),3e3)}catch(Y){console.error("Failed to copy AI prompt:",Y)}},_=async()=>{try{const C=await fetch("http://localhost:3333/api/bundles/master");if(!C.ok)throw new Error("Failed to fetch master bundle");const Y=await C.text();await navigator.clipboard.writeText(Y),j(!0),setTimeout(()=>j(!1),3e3)}catch(C){console.error("Failed to copy master bundle:",C)}},V=async()=>{try{const C=await fetch("http://localhost:3333/api/bundles/master");if(!C.ok)throw new Error("Failed to fetch master bundle");const Y=await C.text(),I=new Blob([Y],{type:"application/xml"}),O=URL.createObjectURL(I),Q=document.createElement("a");Q.href=O,Q.download="master-bundle.xml",Q.click(),URL.revokeObjectURL(O)}catch(C){console.error("Failed to download master bundle:",C)}},f=C=>{d(Y=>Y.map(I=>I.id===C?{...I,completed:!0}:I))},x=({step:C,isActive:Y})=>l.jsxDEV("div",{className:`flex items-center gap-3 p-3 rounded-lg transition-colors ${Y?"bg-accent border border-border":"hover:bg-muted/50"}`,children:[l.jsxDEV("div",{className:"flex-shrink-0",children:C.completed?l.jsxDEV(Ks,{className:"w-6 h-6 text-green-500"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:141,columnNumber:11},this):l.jsxDEV(Q1,{className:`w-6 h-6 ${Y?"text-primary":"text-muted-foreground"}`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:143,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:139,columnNumber:7},this),l.jsxDEV("div",{className:"flex-1",children:[l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("h3",{className:"font-medium text-foreground",children:C.title},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:148,columnNumber:11},this),C.required&&l.jsxDEV(gt,{variant:"outline",className:"text-xs",children:"Required"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:152,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:147,columnNumber:9},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:C.description},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:155,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:146,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:137,columnNumber:5},this);return l.jsxDEV("div",{className:"min-h-screen bg-gradient-to-br from-background to-muted/20",children:l.jsxDEV("div",{className:"container mx-auto px-4 py-8",children:[l.jsxDEV("div",{className:"text-center mb-8",children:[l.jsxDEV("h1",{className:"text-4xl font-thin text-foreground mb-2",children:"Welcome to cntx-ui"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:165,columnNumber:11},this),l.jsxDEV("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"You're already up and running! Let's explore what you can do with the web interface."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:166,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:164,columnNumber:9},this),l.jsxDEV("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:[l.jsxDEV("div",{className:"lg:col-span-1",children:l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV($a,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:177,columnNumber:19},this),"Quick Tour"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:176,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:175,columnNumber:15},this),l.jsxDEV(it,{className:"space-y-2",children:c.map((C,Y)=>l.jsxDEV("div",{onClick:()=>i(Y),className:"cursor-pointer",children:l.jsxDEV(x,{step:C,isActive:a===Y},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:188,columnNumber:21},this)},C.id,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:183,columnNumber:19},this))},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:181,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:174,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:173,columnNumber:11},this),l.jsxDEV("div",{className:"lg:col-span-2 space-y-6",children:[a===0&&l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(wi,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:202,columnNumber:21},this),"Welcome to cntx-ui"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:201,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:200,columnNumber:17},this),l.jsxDEV(it,{className:"space-y-6",children:[l.jsxDEV(Ur,{className:"border-green-200 bg-green-50",children:[l.jsxDEV(Ks,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:208,columnNumber:21},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"You're all set!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:210,columnNumber:23},this)," cntx-ui is running and ready to organize your code for AI assistance. Start with basic bundle management, then optionally enhance with seamless AI integration."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:209,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:207,columnNumber:19},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"What is cntx-ui?"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:216,columnNumber:21},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground mb-3",children:"cntx-ui organizes your codebase into focused bundles for AI development. Create meaningful file collections, copy them to AI tools, or use advanced MCP integration for seamless workflows."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:217,columnNumber:21},this),l.jsxDEV("div",{className:"grid grid-cols-2 gap-2 text-sm text-muted-foreground",children:[l.jsxDEV("div",{children:"• Bundle files by purpose or feature"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:222,columnNumber:23},this),l.jsxDEV("div",{children:"• Hide irrelevant files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:223,columnNumber:23},this),l.jsxDEV("div",{children:"• Copy bundles to any AI tool"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:224,columnNumber:23},this),l.jsxDEV("div",{children:"• Optional seamless AI integration"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:225,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:221,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:215,columnNumber:19},this),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV(nt,{className:"border-border",children:l.jsxDEV(it,{className:"pt-6",children:[l.jsxDEV(tb,{className:"w-8 h-8 text-primary mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:232,columnNumber:25},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Core Experience"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:233,columnNumber:25},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Organize bundles in the web interface, copy XML to Claude, ChatGPT, or any AI tool."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:234,columnNumber:25},this),l.jsxDEV(gt,{variant:"outline",className:"mt-2",children:"Works everywhere"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:237,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:231,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:230,columnNumber:21},this),l.jsxDEV(nt,{className:"border-border",children:l.jsxDEV(it,{className:"pt-6",children:[l.jsxDEV(WN,{className:"w-8 h-8 text-primary mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:243,columnNumber:25},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Enhanced Experience"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:244,columnNumber:25},this),l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Optional MCP server integration for seamless access in Claude Desktop and other MCP clients."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:245,columnNumber:25},this),l.jsxDEV(gt,{variant:"outline",className:"mt-2",children:"Progressive enhancement"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:248,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:242,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:241,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:229,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(_e,{variant:"outline",disabled:!0,children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:254,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>{f("welcome"),i(1)},children:["Create Your First Bundles ",l.jsxDEV(Pd,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:256,columnNumber:49},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:255,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:253,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:206,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:199,columnNumber:15},this),a===1&&l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(Hd,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:268,columnNumber:21},this),"Create Your First Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:267,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:266,columnNumber:17},this),l.jsxDEV(it,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.jsxDEV("p",{className:"text-muted-foreground mb-4",children:`cntx-ui starts with a "master" bundle containing all your files. Let's explore the basics and learn how to create focused bundles for better AI assistance.`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:274,columnNumber:21},this),l.jsxDEV(Ur,{className:"border-border bg-accent/50",children:[l.jsxDEV(Hd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:280,columnNumber:23},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"✅ You're ready to go!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:282,columnNumber:25},this)," cntx-ui has already created a master bundle with all your project files. Now let's organize them into meaningful collections."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:281,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:279,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:273,columnNumber:19},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-3",children:"Here's the workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:289,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-muted-foreground space-y-2 list-decimal list-inside",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy the AI analysis prompt"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:291,columnNumber:27},this)," (button below)"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:291,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Bundles tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:27},this),' → Copy the "master" bundle XML']},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:292,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Open Claude/ChatGPT"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:27},this)," → Paste the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:293,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Paste your master bundle XML"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:27},this)," after the prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:294,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"AI returns perfect bundle JSON"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:27},this)," tailored to your code!"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:295,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:296,columnNumber:27},this)," → Paste the JSON → Apply!"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:296,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:290,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:288,columnNumber:19},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"Step 1: Copy AI Prompt & Master Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:301,columnNumber:21},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("div",{className:"bg-card border rounded-lg p-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[l.jsxDEV("span",{className:"text-primary text-sm",children:"🤖 Smart Bundle Analysis Prompt"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:305,columnNumber:27},this),l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:y,className:"text-muted-foreground hover:text-foreground",children:p?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ks,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:314,columnNumber:33},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:313,columnNumber:31},this):l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:319,columnNumber:33},this),"Copy Prompt"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:318,columnNumber:31},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:306,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:304,columnNumber:25},this),l.jsxDEV("div",{className:"text-muted-foreground text-sm",children:"Intelligent prompt that guides AI to analyze your code structure"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:325,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:303,columnNumber:23},this),l.jsxDEV("div",{className:"bg-card border rounded-lg p-4",children:[l.jsxDEV("div",{className:"flex items-center justify-between mb-2",children:[l.jsxDEV("span",{className:"text-primary text-sm",children:"📦 Master Bundle XML"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:332,columnNumber:27},this),l.jsxDEV("div",{className:"flex gap-2",children:[l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:_,className:"text-muted-foreground hover:text-foreground",children:N?l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Ks,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:342,columnNumber:35},this),"Copied!"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:341,columnNumber:33},this):l.jsxDEV(l.Fragment,{children:[l.jsxDEV(Uc,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:347,columnNumber:35},this),"Copy XML"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:346,columnNumber:33},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:334,columnNumber:29},this),l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:V,className:"text-muted-foreground hover:text-foreground",children:[l.jsxDEV($d,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:358,columnNumber:31},this),"Download"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:352,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:333,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:331,columnNumber:25},this),l.jsxDEV("div",{className:"text-muted-foreground text-sm",children:"Your complete codebase bundle for AI analysis"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:363,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:330,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:302,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:300,columnNumber:19},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"🚀 Complete AI Workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:371,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-muted-foreground space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy the prompt above"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:373,columnNumber:27},this)," → Paste into Claude/ChatGPT"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:373,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Copy/download master bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:27},this)," → Add to your AI conversation"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:374,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"AI analyzes your code"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:27},this)," → Returns perfect bundle configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:375,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Go to Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:27},this)," → Paste AI's JSON → Apply configuration"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:376,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"🎉 Optimized bundles ready!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:377,columnNumber:27},this)," → Tailored to your project structure"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:377,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:372,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:370,columnNumber:19},this),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium",children:"What AI Analyzes:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:383,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm space-y-1 text-muted-foreground",children:[l.jsxDEV("div",{children:["🗂️ ",l.jsxDEV("strong",{children:"File organization patterns"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:385,columnNumber:34},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:385,columnNumber:25},this),l.jsxDEV("div",{children:["🔗 ",l.jsxDEV("strong",{children:"Import/dependency relationships"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:386,columnNumber:25},this),l.jsxDEV("div",{children:["⚙️ ",l.jsxDEV("strong",{children:"Technology stack detection"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:387,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:387,columnNumber:25},this),l.jsxDEV("div",{children:["📁 ",l.jsxDEV("strong",{children:"Logical grouping opportunities"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:388,columnNumber:33},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:388,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:384,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:382,columnNumber:21},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium",children:"AI Suggests Bundles Like:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:393,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm space-y-1 text-muted-foreground",children:[l.jsxDEV("div",{children:["🎨 ",l.jsxDEV("strong",{children:"frontend"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:395,columnNumber:33},this)," - Components, pages, styles"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:395,columnNumber:25},this),l.jsxDEV("div",{children:["🔌 ",l.jsxDEV("strong",{children:"api"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:33},this)," - Routes, controllers, models"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:396,columnNumber:25},this),l.jsxDEV("div",{children:["🧪 ",l.jsxDEV("strong",{children:"tests"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:33},this)," - All test files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:397,columnNumber:25},this),l.jsxDEV("div",{children:["⚙️ ",l.jsxDEV("strong",{children:"config"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:398,columnNumber:33},this)," - Configuration files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:398,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:394,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:392,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:381,columnNumber:19},this),l.jsxDEV(Ur,{children:[l.jsxDEV(Qd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:404,columnNumber:21},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"Why this works so well:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:406,columnNumber:23},this)," AI understands code patterns and can see relationships between files that aren't obvious. It creates bundles that actually make sense for your specific project."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:405,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:403,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>i(0),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:412,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>{f("ai-analysis"),i(2)},children:["Continue to Bundle Management ",l.jsxDEV(Pd,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:414,columnNumber:53},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:413,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:411,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:272,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:265,columnNumber:15},this),a===2&&l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(Hd,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:426,columnNumber:21},this),"Create & Manage Your Bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:425,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:424,columnNumber:17},this),l.jsxDEV(it,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"Whether you used AI suggestions or want to create bundles manually, here's how to manage your bundle collection."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:432,columnNumber:21},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border mb-4",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"If you used AI analysis:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:438,columnNumber:23},this),l.jsxDEV("ol",{className:"text-sm text-muted-foreground space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to the ",l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:440,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:440,columnNumber:25},this),l.jsxDEV("li",{children:["Scroll to ",l.jsxDEV("strong",{children:'"Paste Bundle Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:441,columnNumber:39},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:441,columnNumber:25},this),l.jsxDEV("li",{children:"Paste the AI-generated JSON"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:442,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Apply Configuration"'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:443,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:443,columnNumber:25},this),l.jsxDEV("li",{children:"🎉 Your optimized bundles are ready!"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:444,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:439,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:437,columnNumber:21},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border mb-4",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"To create bundles manually:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:449,columnNumber:23},this),l.jsxDEV("ol",{className:"text-sm text-muted-foreground space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to the ",l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:451,columnNumber:39},this)," tab above"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:451,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Add New Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:452,columnNumber:35},this)," at the bottom"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:452,columnNumber:25},this),l.jsxDEV("li",{children:'Name it something meaningful (e.g., "frontend", "api", "core")'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:453,columnNumber:25},this),l.jsxDEV("li",{children:["Add patterns like ",l.jsxDEV("code",{className:"bg-muted px-1 rounded",children:"src/components/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:454,columnNumber:47},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:454,columnNumber:25},this),l.jsxDEV("li",{children:["Click ",l.jsxDEV("strong",{children:'"Create Bundle"'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:455,columnNumber:35},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:455,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:450,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:448,columnNumber:21},this),l.jsxDEV(Ur,{children:[l.jsxDEV(wi,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:460,columnNumber:23},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"Pro tip:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:462,columnNumber:25},this),' You can test patterns before adding them! Use the "Pattern Tester" in the Config tab to see which files match.']},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:461,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:459,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:431,columnNumber:19},this),l.jsxDEV("div",{className:"space-y-3",children:[l.jsxDEV("h4",{className:"font-medium",children:"Popular Manual Bundle Examples:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:469,columnNumber:21},this),l.jsxDEV("div",{className:"grid gap-3",children:[l.jsxDEV("div",{className:"bg-muted/50 p-3 rounded-md border",children:[l.jsxDEV("div",{className:"font-medium text-sm",children:"Frontend Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:472,columnNumber:25},this),l.jsxDEV("code",{className:"text-xs text-muted-foreground",children:"src/components/**/* • src/pages/**/* • *.css"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:473,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:471,columnNumber:23},this),l.jsxDEV("div",{className:"bg-muted/50 p-3 rounded-md border",children:[l.jsxDEV("div",{className:"font-medium text-sm",children:"API Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:476,columnNumber:25},this),l.jsxDEV("code",{className:"text-xs text-muted-foreground",children:"src/api/**/* • src/routes/**/* • src/models/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:477,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:475,columnNumber:23},this),l.jsxDEV("div",{className:"bg-muted/50 p-3 rounded-md border",children:[l.jsxDEV("div",{className:"font-medium text-sm",children:"Tests Bundle"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:480,columnNumber:25},this),l.jsxDEV("code",{className:"text-xs text-muted-foreground",children:"**/*.test.* • **/*.spec.* • __tests__/**/*"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:481,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:479,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:470,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:468,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>i(1),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:487,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>{f("bundles"),i(3)},children:["Continue to Optimization ",l.jsxDEV(Pd,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:489,columnNumber:48},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:488,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:486,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:430,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:423,columnNumber:15},this),a===3&&l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(WN,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:501,columnNumber:21},this),"Optimize for AI Development"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:500,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:499,columnNumber:17},this),l.jsxDEV(it,{className:"space-y-6",children:[l.jsxDEV("div",{children:[l.jsxDEV("p",{className:"text-muted-foreground mb-4",children:"Now let's make your bundles perfect for AI assistants by controlling what they see."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:507,columnNumber:21},this),l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxDEV(nt,{className:"border-border",children:l.jsxDEV(it,{className:"pt-6",children:[l.jsxDEV(Ua,{className:"w-8 h-8 text-primary mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:514,columnNumber:27},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Hidden Files Tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:515,columnNumber:27},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"• Hide debug files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:517,columnNumber:29},this),l.jsxDEV("div",{children:"• Remove temp/generated files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:518,columnNumber:29},this),l.jsxDEV("div",{children:"• Create clean, focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:519,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:516,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:513,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:512,columnNumber:23},this),l.jsxDEV(nt,{className:"border-border",children:l.jsxDEV(it,{className:"pt-6",children:[l.jsxDEV(wi,{className:"w-8 h-8 text-primary mb-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:526,columnNumber:27},this),l.jsxDEV("h3",{className:"font-medium mb-2",children:"Cursor Rules Tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:527,columnNumber:27},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"• Set coding standards"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:529,columnNumber:29},this),l.jsxDEV("div",{children:"• Define project context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:530,columnNumber:29},this),l.jsxDEV("div",{children:"• Guide AI assistant behavior"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:531,columnNumber:29},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:528,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:525,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:524,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:511,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:506,columnNumber:19},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"Try this workflow:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:539,columnNumber:21},this),l.jsxDEV("ol",{className:"text-sm text-muted-foreground space-y-1 list-decimal list-inside",children:[l.jsxDEV("li",{children:["Go to ",l.jsxDEV("strong",{children:"Hidden Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:541,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:541,columnNumber:23},this),l.jsxDEV("li",{children:'Search for "debug" or "test" files'},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:542,columnNumber:23},this),l.jsxDEV("li",{children:"Hide them from your main bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:543,columnNumber:23},this),l.jsxDEV("li",{children:["Go to ",l.jsxDEV("strong",{children:"Cursor Rules"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:544,columnNumber:33},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:544,columnNumber:23},this),l.jsxDEV("li",{children:"Choose a template that matches your project"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:545,columnNumber:23},this),l.jsxDEV("li",{children:"Customize the rules for your team's preferences"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:546,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:540,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:538,columnNumber:19},this),l.jsxDEV(Ur,{children:[l.jsxDEV(Qd,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:551,columnNumber:21},this),l.jsxDEV(Cr,{children:[l.jsxDEV("strong",{children:"Why this matters:"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:553,columnNumber:23},this)," Clean bundles = better AI responses. Removing noise helps AI focus on what's actually important in your code."]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:552,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:550,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>i(2),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:559,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>{f("optimization"),i(4)},children:["Continue ",l.jsxDEV(Pd,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:561,columnNumber:32},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:560,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:558,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:505,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:498,columnNumber:15},this),a===4&&l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(Z1,{className:"w-5 h-5"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:573,columnNumber:21},this),"Common Workflows & Next Steps"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:572,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:571,columnNumber:17},this),l.jsxDEV(it,{className:"space-y-6",children:[l.jsxDEV("div",{className:"grid gap-4",children:[l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"🤖 Using with AI Assistants"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:580,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"1. Create a focused bundle for your current task"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:582,columnNumber:25},this),l.jsxDEV("div",{children:["2. Copy the XML from the ",l.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:583,columnNumber:55},this)," tab"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:583,columnNumber:25},this),l.jsxDEV("div",{children:"3. Paste into Claude, ChatGPT, or other AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:584,columnNumber:25},this),l.jsxDEV("div",{children:"4. Get more accurate, context-aware responses"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:585,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:581,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:579,columnNumber:21},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"📁 Organizing Large Projects"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:590,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"1. Create bundles by feature or team responsibility"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:592,columnNumber:25},this),l.jsxDEV("div",{children:"2. Use hidden files to exclude work-in-progress code"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:593,columnNumber:25},this),l.jsxDEV("div",{children:"3. Monitor bundle sizes in the web interface"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:594,columnNumber:25},this),l.jsxDEV("div",{children:"4. Share specific bundles with team members"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:595,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:591,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:589,columnNumber:21},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"⚡ Advanced Tips"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:600,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"• Bundle-specific hiding: Hide files from specific bundles only"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:602,columnNumber:25},this),l.jsxDEV("div",{children:"• Pattern testing: Use the pattern tester in Config tab"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:603,columnNumber:25},this),l.jsxDEV("div",{children:"• Real-time updates: Changes appear immediately"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:604,columnNumber:25},this),l.jsxDEV("div",{children:"• CLI integration: Use commands for automation"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:605,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:601,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:599,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:578,columnNumber:19},this),l.jsxDEV("div",{className:"bg-accent/50 p-4 rounded-lg border",children:[l.jsxDEV("h4",{className:"font-medium text-foreground mb-2",children:"🎯 Quick Start Checklist"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:611,columnNumber:21},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground space-y-1",children:[l.jsxDEV("div",{children:"✅ Create 2-3 focused bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:613,columnNumber:23},this),l.jsxDEV("div",{children:"✅ Hide debug/temp files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:614,columnNumber:23},this),l.jsxDEV("div",{children:"✅ Set up cursor rules"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:615,columnNumber:23},this),l.jsxDEV("div",{children:"✅ Copy a bundle and try it with an AI assistant"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:616,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:612,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:610,columnNumber:19},this),l.jsxDEV("div",{className:"flex justify-between",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>i(3),children:"Previous"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:621,columnNumber:21},this),l.jsxDEV(_e,{onClick:()=>f("workflows"),className:"bg-primary hover:bg-primary/90",children:["Get Started! ",l.jsxDEV(T_,{className:"w-4 h-4 ml-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:623,columnNumber:36},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:622,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:620,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:577,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:570,columnNumber:15},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Quick Reference"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:633,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:632,columnNumber:15},this),l.jsxDEV(it,{children:l.jsxDEV("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"Web Interface Tabs"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:638,columnNumber:21},this),l.jsxDEV("ul",{className:"space-y-1 text-muted-foreground",children:[l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:640,columnNumber:27},this)," - View and copy bundle content"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:640,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:27},this)," - Browse your project files"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:641,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Config"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:27},this)," - Create and edit bundles"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:642,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Hidden"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:27},this)," - Control file visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:643,columnNumber:23},this),l.jsxDEV("li",{children:[l.jsxDEV("strong",{children:"Cursor"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:644,columnNumber:27},this)," - Manage AI assistant rules"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:644,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:639,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:637,columnNumber:19},this),l.jsxDEV("div",{children:[l.jsxDEV("h4",{className:"font-medium mb-2",children:"Key Features"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:648,columnNumber:21},this),l.jsxDEV("ul",{className:"space-y-1 text-muted-foreground",children:[l.jsxDEV("li",{children:"Real-time file watching and updates"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:650,columnNumber:23},this),l.jsxDEV("li",{children:"Bundle-specific file hiding"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:651,columnNumber:23},this),l.jsxDEV("li",{children:"Pattern testing and validation"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:652,columnNumber:23},this),l.jsxDEV("li",{children:"AI assistant context management"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:653,columnNumber:23},this),l.jsxDEV("li",{children:"XML export for AI tools"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:654,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:649,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:647,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:636,columnNumber:17},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:635,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:631,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:196,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:171,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:162,columnNumber:7},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/SetupScreen.tsx",lineNumber:161,columnNumber:5},this)}function v3(){const{theme:a,setTheme:i}=lT();return l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:()=>i(a==="light"?"dark":"light"),className:"h-8 w-8 p-0",children:[l.jsxDEV(nU,{className:"h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/theme-toggle.tsx",lineNumber:19,columnNumber:7},this),l.jsxDEV(q_,{className:"absolute h-4 w-4 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/theme-toggle.tsx",lineNumber:20,columnNumber:7},this),l.jsxDEV("span",{className:"sr-only",children:"Toggle theme"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/theme-toggle.tsx",lineNumber:21,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/components/theme-toggle.tsx",lineNumber:13,columnNumber:5},this)}const n1=new j1;function y3(){const[a,i]=H.useState("connecting"),[c,d]=H.useState(!1),[p,g]=H.useState(!1);return H.useEffect(()=>{const N=new WebSocket("ws://localhost:3333");return N.onopen=()=>i("connected"),N.onclose=()=>i("disconnected"),()=>N.close()},[]),c?l.jsxDEV(Xh,{client:n1,children:l.jsxDEV("div",{className:"relative",children:[l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:()=>d(!1),className:"absolute top-4 right-4 z-10",children:l.jsxDEV(J1,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:46,columnNumber:13},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:40,columnNumber:11},this),l.jsxDEV(x3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:48,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:39,columnNumber:9},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:38,columnNumber:7},this):l.jsxDEV(Xh,{client:n1,children:l.jsxDEV("div",{className:"min-h-screen bg-background text-foreground",children:[l.jsxDEV("header",{className:"border-b",children:l.jsxDEV("div",{className:"container mx-auto px-4 py-4 flex justify-between items-center",children:[l.jsxDEV("h1",{className:"text-lg font-thin",children:"cntx-ui"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:59,columnNumber:13},this),l.jsxDEV(v3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:60,columnNumber:13},this),l.jsxDEV("div",{className:"flex items-center gap-4",children:[l.jsxDEV(_e,{variant:"ghost",size:"sm",onClick:()=>g(!p),children:[l.jsxDEV(x_,{className:"w-4 h-4 mr-1"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:67,columnNumber:17},this),"Help"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:62,columnNumber:15},this),l.jsxDEV("div",{className:"flex items-center gap-2",children:[l.jsxDEV("div",{className:`w-2 h-2 rounded-full ${a==="connected"?"bg-green-500":a==="connecting"?"bg-yellow-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:71,columnNumber:17},this),l.jsxDEV("span",{className:"text-sm text-muted-foreground",children:a==="connected"?"Connected • Watching files":a==="connecting"?"Connecting...":"Disconnected"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:74,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:70,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:61,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:58,columnNumber:11},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:57,columnNumber:9},this),l.jsxDEV("main",{className:"container mx-auto px-4 py-6",children:[l.jsxDEV(f3,{onStartSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:85,columnNumber:11},this),l.jsxDEV("div",{className:"flex flex-col lg:flex-row gap-6",children:[l.jsxDEV(U1,{position:"top-right"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:89,columnNumber:13},this),l.jsxDEV("div",{className:"flex-1 min-w-0",children:l.jsxDEV(Kd,{defaultValue:"bundles",className:"space-y-6",children:[l.jsxDEV(Jd,{className:"grid w-full grid-cols-3",children:[l.jsxDEV(Ds,{value:"bundles",children:"Bundles & Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:95,columnNumber:19},this),l.jsxDEV(Ds,{value:"settings",className:"flex items-center gap-1",children:[l.jsxDEV(_a,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:97,columnNumber:21},this),l.jsxDEV("span",{children:"Settings"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:98,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:96,columnNumber:19},this),l.jsxDEV(Ds,{value:"cursor",className:"flex items-center gap-1",children:[l.jsxDEV(wi,{className:"w-3 h-3"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:101,columnNumber:21},this),l.jsxDEV("span",{children:"AI Rules"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:102,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:100,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:94,columnNumber:17},this),l.jsxDEV(Ts,{value:"bundles",children:l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Bundle Management"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:110,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:109,columnNumber:23},this),l.jsxDEV(it,{children:l.jsxDEV(fU,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:113,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:112,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:108,columnNumber:21},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Project Files"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:119,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:118,columnNumber:23},this),l.jsxDEV(it,{children:l.jsxDEV(bU,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:122,columnNumber:25},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:121,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:117,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:107,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:106,columnNumber:17},this),l.jsxDEV(Ts,{value:"settings",children:l.jsxDEV("div",{className:"space-y-6",children:[l.jsxDEV(m3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:130,columnNumber:21},this),l.jsxDEV(JU,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:131,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:129,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:128,columnNumber:17},this),l.jsxDEV(Ts,{value:"cursor",children:l.jsxDEV(r3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:136,columnNumber:19},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:135,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:93,columnNumber:15},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:92,columnNumber:13},this),l.jsxDEV("div",{className:"w-full lg:w-80 xl:w-96 flex-shrink-0 space-y-6",children:[l.jsxDEV(p3,{onOpenFullSetup:()=>d(!0)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:144,columnNumber:15},this),p&&l.jsxDEV("div",{className:"space-y-4",children:[l.jsxDEV(h3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:149,columnNumber:19},this),l.jsxDEV(g3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:150,columnNumber:19},this),l.jsxDEV(b3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:151,columnNumber:19},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(_a,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:157,columnNumber:25},this),"File Visibility"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:156,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:155,columnNumber:21},this),l.jsxDEV(it,{className:"space-y-2",children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Control which files appear in your bundles without changing ignore patterns."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:162,columnNumber:23},this),l.jsxDEV("div",{className:"text-xs space-y-1",children:[l.jsxDEV("div",{children:"• Hide debug/temp files from AI context"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:166,columnNumber:25},this),l.jsxDEV("div",{children:"• Create focused bundles for specific tasks"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:167,columnNumber:25},this),l.jsxDEV("div",{children:"• Bundle-specific or global hiding"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:168,columnNumber:25},this),l.jsxDEV("div",{children:"• Easy restore when needed"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:169,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:165,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:161,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:154,columnNumber:19},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{className:"flex items-center gap-2",children:[l.jsxDEV(wi,{className:"w-4 h-4"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:178,columnNumber:25},this),"AI Assistant"]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:177,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:176,columnNumber:21},this),l.jsxDEV(it,{className:"space-y-2",children:[l.jsxDEV("p",{className:"text-sm text-muted-foreground",children:"Cursor rules help AI assistants understand your project context and coding preferences."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:183,columnNumber:23},this),l.jsxDEV("div",{className:"text-xs space-y-1",children:[l.jsxDEV("div",{children:"• Project structure & bundles"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:187,columnNumber:25},this),l.jsxDEV("div",{children:"• Coding standards & style"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:188,columnNumber:25},this),l.jsxDEV("div",{children:"• Framework preferences"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:189,columnNumber:25},this),l.jsxDEV("div",{children:"• Team conventions"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:190,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:186,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:182,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:175,columnNumber:19},this),l.jsxDEV(nt,{children:[l.jsxDEV(vt,{children:l.jsxDEV(yt,{children:"Need More Help?"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:197,columnNumber:23},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:196,columnNumber:21},this),l.jsxDEV(it,{className:"space-y-3",children:[l.jsxDEV(_e,{variant:"outline",onClick:()=>d(!0),className:"w-full",children:"Open Setup Guide"},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:200,columnNumber:23},this),l.jsxDEV("div",{className:"text-sm text-muted-foreground",children:"For detailed setup instructions and troubleshooting."},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:207,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:199,columnNumber:21},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:195,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:148,columnNumber:17},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:142,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:83,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:56,columnNumber:7},this)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/App.tsx",lineNumber:55,columnNumber:5},this)}const N3=new j1;Jj.createRoot(document.getElementById("root")).render(l.jsxDEV(H.StrictMode,{children:l.jsxDEV(Xh,{client:N3,children:l.jsxDEV(hT,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,children:[l.jsxDEV(y3,{},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/main.tsx",lineNumber:21,columnNumber:9},void 0),l.jsxDEV(U1,{richColors:!0},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/main.tsx",lineNumber:22,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/main.tsx",lineNumber:15,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/main.tsx",lineNumber:14,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/pro/Projects/_in-progress/cntx-ui/web/src/main.tsx",lineNumber:13,columnNumber:3},void 0));
|